/* components/footer.css
   Site footer + trust ecosystem + mobile accordion.
   NOTE: only the homepage build had a footer implemented. Extracted here as the
   single shared component and wired into every page in this rebuild. */

.footer{background:var(--ink-900);padding:96px 40px 0}

.footer__in{max-width:var(--max);margin:0 auto}

.footer__grid{display:grid;grid-template-columns:1.7fr 1fr 1fr 1fr 1fr;gap:40px;padding-bottom:56px;border-bottom:1px solid rgba(255,255,255,.08)}

.footer__col{min-width:0}

.footer__brand{display:flex;flex-direction:column}

.footer__logo{height:38px;width:auto;margin-bottom:24px}

.footer__tag{font-family:var(--fd);font-size:18px;font-weight:300;color:var(--white);margin-bottom:10px;letter-spacing:-.005em}

.footer__desc{font-family:var(--fb);font-size:13px;line-height:1.65;color:rgba(255,255,255,.5);max-width:250px;margin-top:18px}

.footer__contact{display:flex;flex-direction:column;gap:8px;list-style:none;margin-top:18px}

.footer__contact a{font-family:var(--fb);font-size:13px;color:rgba(250,250,248,.62);transition:color var(--fast)}

.footer__contact a:hover{color:var(--white)}

.footer__col-title{font-family:var(--fm);font-size:10px;letter-spacing:.16em;text-transform:uppercase;color:var(--ink-300);margin-bottom:22px}

.footer__links{display:flex;flex-direction:column;gap:13px;list-style:none}

.footer__links a{font-family:var(--fb);font-size:14px;font-weight:400;color:rgba(250,250,248,.62);transition:color var(--fast)}

.footer__links a:hover{color:var(--white)}

.footer__news-desc{font-family:var(--fb);font-size:13px;line-height:1.55;color:var(--ink-500);margin-bottom:20px;max-width:240px}

.footer__news-form{display:flex;flex-direction:column;gap:10px}

.footer__news-input{height:46px;padding:0 16px;border-radius:var(--r-sm);border:1px solid rgba(250,250,248,.14);background:rgba(250,250,248,.04);color:var(--white);font-family:var(--fb);font-size:13px;width:100%;transition:border-color var(--fast),background var(--fast)}

.footer__news-input::placeholder{color:var(--ink-500)}

.footer__news-input:focus{border-color:rgba(200,135,58,.55);background:rgba(250,250,248,.06);outline:none}

.footer__news-btn{height:46px;padding:0 20px;border-radius:var(--r-sm);background:var(--amber);color:var(--white);font-family:var(--fb);font-size:11px;font-weight:600;letter-spacing:.10em;text-transform:uppercase;display:flex;align-items:center;justify-content:center;transition:background var(--fast)}

.footer__news-btn:hover{background:var(--amber-h)}

.footer__news-note{font-family:var(--fb);font-size:11px;color:var(--ink-500);margin-top:12px}

.footer__trust{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:40px;padding:40px 0;border-bottom:1px solid rgba(250,250,248,.08)}

.footer__trust-item{display:flex;align-items:center;gap:9px;font-family:var(--fb);font-size:12px;font-weight:500;letter-spacing:.04em;color:rgba(250,250,248,.55)}

.footer__trust-item svg{width:14px;height:14px;color:var(--amber);flex-shrink:0}

.footer__bottom{padding:28px 0 40px;display:flex;align-items:flex-start;justify-content:space-between;gap:40px}

.footer__copy{font-family:var(--fm);font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-300);white-space:nowrap}

.footer__disclaimer-group{display:flex;flex-direction:column;gap:6px;max-width:560px}

.footer__disclaimer{font-family:var(--fb);font-size:11px;line-height:1.6;color:var(--ink-500);text-align:right}

/* Mobile accordion */
.footer__accordion{display:none}

.facc{border-bottom:1px solid rgba(250,250,248,.08)}

.facc__trigger{width:100%;display:flex;align-items:center;justify-content:space-between;padding:22px 0;background:none;border:none;cursor:pointer;text-align:left}

.facc__trigger-label{font-family:var(--fm);font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-300)}

.facc__icon{width:16px;height:16px;color:var(--ink-500);transition:transform 250ms var(--ease)}

.facc.open .facc__icon{transform:rotate(45deg)}

.facc__panel{max-height:0;overflow:hidden;transition:max-height 350ms var(--smooth)}

.facc.open .facc__panel{max-height:600px}

.facc__panel-in{padding-bottom:20px;display:flex;flex-direction:column;gap:14px}

.facc__panel-in a{font-family:var(--fb);font-size:14px;color:rgba(250,250,248,.62)}

.facc__panel-in a:hover{color:var(--white)}

/* RESPONSIVE — consolidated here from home.css, the only file that
   previously had these rules at all (every other page loaded footer.html
   with no mobile accordion behavior whatsoever — see
   docs/decisions/adr-003-mobile-nav-footer-fix.md). Values unchanged; this
   is a relocation, not a redesign. */
@media(max-width:1023px){
  .footer{padding:80px 24px 0}
  .footer__grid{grid-template-columns:1fr 1fr;gap:40px 32px}
  .footer__brand{grid-column:1/-1;margin-bottom:8px}
  .footer__trust{gap:28px;justify-content:flex-start}
  .footer__bottom{flex-direction:column;gap:16px}
  .footer__disclaimer{text-align:left;max-width:100%}
}

@media(max-width:639px){
  .footer{padding:64px 20px 0}
  .footer__grid{display:none}
  .footer__accordion{display:block}
  .footer__brand-m{padding-bottom:32px;border-bottom:1px solid rgba(250,250,248,.08);margin-bottom:8px}
  .footer__trust{justify-content:flex-start;gap:20px 28px;padding:32px 0}
  .footer__bottom{padding:28px 0 36px}
  .footer__copy{white-space:normal}
}
