/* ==========================================================================
   PERFECTOO PROTECTOR — SITE FOOTER
   The deepest teal on the page: a dark screen switched off. Brand and promise
   on the left, two quiet link columns, and one oversized faint wordmark
   across the bottom as the single memorable detail.
   ========================================================================== */

/* ---------- 1. Tokens (same as other sections; move to :root later) ---------- */
.site-footer {
  --bg:#F2F6F9; --bg-tint:#E4EEF4; --surface:#FFFFFF;
  --ink:#10202C; --line:#D5E1EA;
  --accent:#0A6B78; --accent-soft:#D8EEF0; --signal:#E8A33D;
  --deep:#06323A; --deep-2:#0A5560; --deep-3:#04222A;
  --font-display:"Bricolage Grotesque","Segoe UI",system-ui,sans-serif;
  --font-body:"Instrument Sans","Segoe UI",system-ui,sans-serif;
  --ease:cubic-bezier(.2,.7,.2,1);
}

/* ---------- 2. Shell ---------- */
.site-footer {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(56px, 7vw, 104px) clamp(20px, 5vw, 80px) 0;
  color: #fff;
  background:
    radial-gradient(45% 55% at 100% 0%, rgba(120,220,230,.16) 0%, transparent 60%),
    linear-gradient(180deg, var(--deep) 0%, var(--deep-3) 100%);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}
.site-footer *, .site-footer *::before, .site-footer *::after { box-sizing: border-box; }
.site-footer::before { /* glass reflection */
  content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,.05) 0%, rgba(255,255,255,.05) 36%, transparent 36.2%);
}
.site-footer .footer-inner { max-width: 1360px; margin: 0 auto; }

/* ---------- 3. Main grid ---------- */
.site-footer .footer-main {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 88px);
}

/* Brand */
.site-footer .footer-brand-name {
  display: inline-block; color: #fff; text-decoration: none;
  font: 800 clamp(1.8rem, 2.8vw, 2.5rem)/1 var(--font-display); letter-spacing: -.04em;
}
.site-footer .footer-brand-dot { color: var(--signal); }
.site-footer .footer-brand p {
  margin: 20px 0 0; max-width: 42ch;
  font-size: 1rem; line-height: 1.7; color: rgba(255,255,255,.72); text-wrap: pretty;
}
.site-footer .footer-brand-tag {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 28px;
  padding: 8px 16px 8px 14px; border-radius: 999px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  font-size: .8125rem; font-weight: 600; color: rgba(255,255,255,.9);
}
.site-footer .footer-tag-line { width: 18px; height: 3px; border-radius: 3px; background: var(--signal); }

/* Column label */
.site-footer .footer-column-label {
  display: block; margin-bottom: 20px;
  font-size: .875rem; font-weight: 600; color: var(--signal);
}

/* Explore links */
.site-footer .footer-links { display: flex; flex-direction: column; }
.site-footer .footer-links a {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.14);
  font-size: 1rem; font-weight: 500; color: rgba(255,255,255,.85); text-decoration: none;
  transition: color .25s var(--ease), padding .3s var(--ease);
}
.site-footer .footer-links a:first-child { padding-top: 0; }
.site-footer .footer-links a span {
  display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,.08); font-size: .85rem;
  transition: background-color .25s var(--ease), color .25s var(--ease), transform .3s var(--ease);
}
.site-footer .footer-links a:hover { color: #fff; }
.site-footer .footer-links a:hover span { background: var(--signal); color: var(--deep); transform: translate(2px, -2px); }

/* Contact */
.site-footer .footer-contact { display: flex; flex-direction: column; gap: 10px; }
.site-footer .footer-contact .footer-column-label { margin-bottom: 10px; }
.site-footer .footer-contact-item {
  display: flex; align-items: center; gap: 14px; min-width: 0;
  padding: 8px 18px 8px 8px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  font-size: .9375rem; font-weight: 500; color: rgba(255,255,255,.88); text-decoration: none;
  transition: background-color .25s var(--ease), border-color .25s var(--ease);
}
.site-footer .footer-contact-item > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.site-footer .footer-contact-icon {
  display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%;
  background: #fff; color: var(--accent); font-size: .95rem;
  transition: background-color .25s var(--ease), transform .3s var(--ease);
}
.site-footer a.footer-contact-item:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); }
.site-footer a.footer-contact-item:hover .footer-contact-icon { background: var(--signal); transform: translate(2px, -2px); }
.site-footer .footer-location { border-radius: 26px; }

.site-footer a:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }

/* ---------- 4. Bottom bar ---------- */
.site-footer .footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px;
  margin-top: clamp(40px, 5vw, 72px); padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,.16);
  font-size: .875rem; font-weight: 500; color: rgba(255,255,255,.66);
}
.site-footer .footer-bottom-left { display: inline-flex; align-items: center; gap: 14px; }
.site-footer .footer-bottom-mark {
  display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; border-radius: 999px;
  background: rgba(255,255,255,.1); color: #fff; font: 800 .9rem/1 var(--font-display);
}
.site-footer .footer-bottom-mark span { color: var(--signal); }
.site-footer .footer-bottom-right { display: inline-flex; align-items: center; gap: 14px; }
.site-footer .footer-bottom-line { width: 36px; height: 3px; border-radius: 3px; background: var(--signal); }

/* ---------- 5. Wordmark ---------- */
.site-footer .footer-watermark {
  max-width: 1360px; margin: 0 auto; padding-bottom: .04em;
  font: 800 clamp(3rem, 11.5vw, 11rem)/.85 var(--font-display); letter-spacing: -.06em;
  white-space: nowrap; overflow: hidden; text-overflow: clip;
  color: transparent; user-select: none; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.2) 0%, rgba(255,255,255,0) 85%);
  -webkit-background-clip: text; background-clip: text;
  transform: translateY(.1em);
}

/* ---------- 6. Responsive ---------- */
@media (max-width: 1000px) {
  .site-footer .footer-main { grid-template-columns: 1fr 1fr; }
  .site-footer .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .site-footer .footer-main { grid-template-columns: 1fr; }
  .site-footer .footer-bottom { flex-direction: column; align-items: flex-start; }
  .site-footer .footer-bottom-right { display: none; }
}

/* ---------- 7. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .site-footer .footer-links a, .site-footer .footer-links a span,
  .site-footer .footer-contact-item, .site-footer .footer-contact-icon { transition: none; }
  .site-footer .footer-links a:hover span, .site-footer a.footer-contact-item:hover .footer-contact-icon { transform: none; }
}