/* =========================================================================
   SAVI Coaching — shared site styles
   Brand tokens + Newsletter signup bar + Footer
   (SAVI 2026 brand kit: black/white base, gold primary, teal/coral accents)
   ========================================================================= */

:root {
  /* Base */
  --savi-black: #0B0B0C;
  --savi-ink:   #141417;
  --savi-white: #FFFFFF;
  --savi-muted: #9A9AA2;
  --savi-line:  rgba(255, 255, 255, 0.12);

  /* Accents */
  --savi-gold:      #F4A850;
  --savi-gold-600:  #E4952F;
  --savi-teal:      #4FC7C0;
  --savi-coral:     #F55B73;

  /* Type — matches live savicoach.com (Montserrat display / Inter body) */
  --font-display: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1200px;
}

/* ------------------------------------------------------------------ *
 * FIESTA ACCENT BAR (tri-color brand stripe at the very top)
 * ------------------------------------------------------------------ */
.savi-fiesta-bar {
  height: 4px;
  background: linear-gradient(90deg,
    var(--savi-teal) 0%, var(--savi-teal) 20%,
    var(--savi-coral) 40%, var(--savi-coral) 60%,
    var(--savi-gold) 80%, var(--savi-gold) 100%);
}

/* ------------------------------------------------------------------ *
 * NEWSLETTER SIGNUP BAR (site-wide, sits above the header)
 * ------------------------------------------------------------------ */
.savi-newsbar {
  background: var(--savi-black);
  color: var(--savi-white);
  font-family: var(--font-body);
  border-bottom: 1px solid var(--savi-line);
}
.savi-newsbar[hidden] { display: none; }

.savi-newsbar__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
}

.savi-newsbar__msg {
  font-size: 14px;
  line-height: 1.3;
  margin: 0;
}
.savi-newsbar__msg strong { color: var(--savi-gold); font-weight: 600; }

.savi-newsbar__form {
  display: flex;
  gap: 8px;
  align-items: center;
  flex: 0 1 auto;
}

.savi-field {
  appearance: none;
  border: 1px solid var(--savi-line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--savi-white);
  font: inherit;
  font-size: 14px;
  padding: 9px 14px;
  border-radius: 8px;
  min-width: 220px;
  transition: border-color .15s ease, background .15s ease;
}
.savi-field::placeholder { color: var(--savi-muted); }
.savi-field:focus {
  outline: none;
  border-color: var(--savi-gold);
  background: rgba(255, 255, 255, 0.10);
}

.savi-btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .01em;
  padding: 9px 20px;
  border-radius: 8px;
  background: var(--savi-gold);
  color: #1A1206;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, transform .05s ease;
}
.savi-btn:hover { background: var(--savi-gold-600); }
.savi-btn:active { transform: translateY(1px); }
.savi-btn[disabled] { opacity: .6; cursor: default; }

.savi-newsbar__dismiss {
  background: none;
  border: 0;
  color: var(--savi-muted);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 6px;
  margin-left: 4px;
}
.savi-newsbar__dismiss:hover { color: var(--savi-white); }

/* Shared success/error message (used by bar + footer) */
.savi-form-note { font-size: 13px; margin: 0; }
.savi-form-note.is-ok  { color: var(--savi-teal); }
.savi-form-note.is-err { color: var(--savi-coral); }

@media (max-width: 720px) {
  .savi-newsbar__inner { flex-direction: column; gap: 10px; text-align: center; }
  .savi-newsbar__form { width: 100%; }
  .savi-field { flex: 1; min-width: 0; }
  .savi-newsbar__dismiss { position: absolute; top: 6px; right: 10px; }
  .savi-newsbar { position: relative; }
}

/* ==================================================================== *
 * PAGE FOUNDATION + REUSABLE SECTION COMPONENTS
 * (used by Home and every other page)
 * ==================================================================== */
* { box-sizing: border-box; }
body.savi-page {
  margin: 0;
  background: var(--savi-black);
  color: var(--savi-white);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}
.savi-page a:not(.savi-btn) { color: inherit; }
img { max-width: 100%; }

.savi-container { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.savi-section { padding: 88px 0; }
.savi-section--tight { padding: 64px 0; }
.savi-section--alt { background: #101014; }
.savi-section--light { background: #FFFFFF; color: #16161A; }
.savi-section--light .savi-h2 { color: #16161A; }
.savi-section--light .savi-lead { color: #5A5A62; }
.savi-section--light .savi-course-grid img { border-color: #E7E7E7; }

.savi-eyebrow {
  font-family: var(--font-display);
  font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--savi-gold); margin: 0 0 14px;
}
.savi-h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px); font-weight: 700; line-height: 1.08;
  margin: 0 0 16px; letter-spacing: -.01em;
}
.savi-lead { font-size: 18px; line-height: 1.6; color: #C9C9CF; margin: 0 auto; max-width: 640px; }
.savi-center { text-align: center; }

.savi-btn--light { background: var(--savi-white); color: #111; }
.savi-btn--light:hover { background: #EDEDED; }
.savi-btn--lg { padding: 14px 30px; font-size: 16px; border-radius: 10px; }
.savi-btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.savi-btn-row.savi-center { justify-content: center; }

/* ---- Pill badge + hero screenshot (membership etc.) ---- */
.savi-pill {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(244,168,80,.12); color: var(--savi-gold);
  border: 1px solid rgba(244,168,80,.35);
  font-family: var(--font-display); font-weight: 600; font-size: 12.5px;
  letter-spacing: .08em; text-transform: uppercase; padding: 7px 16px; border-radius: 999px; margin-bottom: 20px;
}
.savi-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--savi-coral); }
.savi-hero-shot { max-width: 1000px; width: 100%; margin: 42px auto 0; border-radius: 16px; display: block; }

/* ---- HERO (video background) ---- */
.savi-hero { position: relative; min-height: 82vh; display: flex; align-items: center; overflow: hidden; }
.savi-hero__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.savi-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.06) 42%, rgba(0,0,0,.28) 100%);
}
.savi-hero__inner { position: relative; z-index: 2; width: 100%; text-align: center; padding: 60px 20px; }
.savi-hero__logo { width: 190px; height: auto; margin: 0 auto 22px; display: block; }
.savi-hero h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(34px, 6vw, 68px); line-height: 1.03; letter-spacing: -.02em;
  margin: 0 0 30px; text-shadow: 0 2px 24px rgba(0,0,0,.4);
}

/* ---- TABS (SAVI method culture/systems + membership) ---- */
.savi-tabs__nav { display: inline-flex; gap: 6px; padding: 6px; border: 1px solid var(--savi-line); border-radius: 999px; margin: 0 auto 34px; }
.savi-tab {
  appearance: none; border: 0; cursor: pointer; background: transparent; color: #C9C9CF;
  font-family: var(--font-display); font-weight: 600; font-size: 14px; padding: 9px 22px; border-radius: 999px;
  transition: background .15s, color .15s;
}
.savi-tab.is-active { background: var(--savi-gold); color: #1A1206; }
.savi-tabpanel { display: none; }
.savi-tabpanel.is-active { display: block; animation: saviFade .25s ease; }
@keyframes saviFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---- LENS grid (S A V I) ---- */
.savi-lens-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.savi-lens {
  background: #131317; border: 1px solid var(--savi-line); border-radius: 16px; padding: 26px;
  text-align: left;
}
.savi-lens { border-left-width: 3px; }
.savi-lens.l-teal  { border-left-color: var(--savi-teal); }
.savi-lens.l-coral { border-left-color: var(--savi-coral); }
.savi-lens.l-gold  { border-left-color: var(--savi-gold); }
.savi-lens__letter { font-family: var(--font-display); font-weight: 700; font-size: 40px; color: var(--savi-gold); line-height: 1; }

/* SAVI Method explainer video */
.savi-method-video {
  max-width: 840px; margin: 34px auto 30px;
  border-radius: 16px; overflow: hidden;
  border: 1px solid var(--savi-line); background: #000;
}
.savi-method-video video { width: 100%; display: block; }
.savi-lens__title { font-family: var(--font-display); font-weight: 600; font-size: 17px; margin: 10px 0 10px; }
.savi-lens__body { color: #B7B7BE; font-size: 14.5px; line-height: 1.55; margin: 0; }
.savi-quote {
  font-family: var(--font-display); font-size: clamp(20px, 2.6vw, 28px); font-weight: 600; font-style: italic;
  text-align: center; margin: 40px auto 0; max-width: 760px; color: #fff;
}
.savi-quote span { color: var(--savi-gold); }

/* ---- COURSE marquee + grid ---- */
.savi-course-banner { width: 100%; border-radius: 14px; display: block; margin: 0 0 26px; }
.savi-course-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.savi-course-grid img { border-radius: 10px; border: 1px solid var(--savi-line); display: block; width: 100%; }

/* ---- TEAM ---- */
.savi-team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.savi-team-card { background: #131317; border: 1px solid var(--savi-line); border-radius: 16px; overflow: hidden; text-align: center; }
.savi-team-card img { width: 100%; height: 240px; object-fit: cover; object-position: top center; background: #1c1c22; display: block; }
.savi-team-card__body { padding: 18px 16px 22px; }
.savi-team-card__name { font-family: var(--font-display); font-weight: 600; font-size: 18px; margin: 0 0 4px; }
.savi-team-card__role { color: var(--savi-gold); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; margin: 0; }

/* ---- TESTIMONIALS ---- */
.savi-testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.savi-testi { background: #131317; border: 1px solid var(--savi-line); border-radius: 16px; padding: 26px; }
.savi-testi__quote { font-size: 15.5px; line-height: 1.6; color: #E4E4EA; margin: 0 0 18px; }
.savi-testi__name { font-family: var(--font-display); font-weight: 600; font-size: 15px; margin: 0; }
.savi-testi__role { color: #9A9AA2; font-size: 13px; margin: 2px 0 0; }

/* ---- FAQ accordion ---- */
.savi-faq { max-width: 780px; margin: 0 auto; }
.savi-faq__item { border-bottom: 1px solid var(--savi-line); }
.savi-faq__q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer; color: #fff;
  font-family: var(--font-display); font-weight: 600; font-size: 17px; padding: 22px 40px 22px 0; position: relative;
}
.savi-faq__q::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); color: var(--savi-gold); font-size: 24px; }
.savi-faq__item.is-open .savi-faq__q::after { content: "\2013"; }
.savi-faq__a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.savi-faq__a-inner { padding: 0 0 22px; color: #B7B7BE; font-size: 15px; line-height: 1.6; }

/* ---- Feature grid (membership "what's inside") ---- */
.savi-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: left; }
.savi-feature { background: #131317; border: 1px solid var(--savi-line); border-radius: 16px; padding: 26px; }
.savi-feature__icon {
  width: 40px; height: 40px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(244,168,80,.14); color: var(--savi-gold); font-size: 20px; margin-bottom: 14px;
}
.savi-feature__title { font-family: var(--font-display); font-weight: 600; font-size: 17px; margin: 0 0 8px; }
.savi-feature__body { color: #B7B7BE; font-size: 14.5px; line-height: 1.55; margin: 0; }

/* ---- Pricing ---- */
.savi-pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; text-align: left; }
.savi-plan { background: #131317; border: 1px solid var(--savi-line); border-radius: 18px; padding: 30px 26px; position: relative; }
.savi-plan--featured { border: 2px solid var(--savi-gold); }
.savi-plan__badge {
  position: absolute; top: -13px; left: 26px; background: var(--savi-gold); color: #1A1206;
  font-family: var(--font-display); font-weight: 600; font-size: 12px; letter-spacing: .04em;
  padding: 5px 14px; border-radius: 999px;
}
.savi-plan__name { font-family: var(--font-display); font-weight: 600; font-size: 20px; margin: 0 0 10px; }
.savi-plan__price { font-family: var(--font-display); font-weight: 700; font-size: 40px; line-height: 1; }
.savi-plan__price small { font-size: 16px; font-weight: 500; color: var(--savi-muted); }
.savi-plan__note { color: var(--savi-muted); font-size: 13px; margin: 6px 0 22px; }
.savi-plan__list { list-style: none; margin: 0 0 26px; padding: 0; }
.savi-plan__list li { position: relative; padding: 8px 0 8px 28px; font-size: 14.5px; color: #D6D6DC; line-height: 1.45; border-top: 1px solid rgba(255,255,255,.06); }
.savi-plan__list li:first-child { border-top: 0; }
.savi-plan__list li::before { content: "✓"; position: absolute; left: 4px; top: 8px; color: var(--savi-teal); font-weight: 700; }
.savi-plan__list li.head { color: var(--savi-muted); font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; padding-left: 0; }
.savi-plan__list li.head::before { content: ""; }
.savi-plan .savi-btn { width: 100%; }
.savi-pricing-note { text-align: center; color: var(--savi-muted); font-size: 14px; margin: 26px auto 0; }
.savi-pricing-note a { color: var(--savi-gold); text-decoration: underline; }

@media (max-width: 900px) {
  .savi-feature-grid { grid-template-columns: repeat(2, 1fr); }
  .savi-pricing { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .savi-feature-grid { grid-template-columns: 1fr; } }

/* ---- Product grid (Courses page) ---- */
.savi-product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.savi-product { background: #131317; border: 1px solid var(--savi-line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.savi-product img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; background: #1c1c22; }
.savi-product__body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.savi-product__name { font-family: var(--font-display); font-weight: 600; font-size: 15.5px; margin: 0; }
.savi-product__price { font-family: var(--font-display); font-weight: 700; font-size: 18px; margin: 0 0 4px; }
.savi-product__price s { color: var(--savi-muted); font-weight: 500; font-size: 14px; margin-left: 6px; }
.savi-product .savi-btn { margin-top: auto; }

/* ---- Numbered layer list (LockLeft / RDS) ---- */
.savi-layers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; list-style: none; margin: 0; padding: 0; }
.savi-layers li { display: flex; align-items: center; gap: 14px; background: #131317; border: 1px solid var(--savi-line); border-radius: 12px; padding: 14px 18px; font-size: 15px; }
.savi-layers li .n { font-family: var(--font-display); font-weight: 700; color: var(--savi-gold); font-size: 18px; min-width: 30px; }

/* ---- Simple table (events) ---- */
.savi-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.savi-table th { text-align: left; font-family: var(--font-display); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--savi-muted); padding: 0 16px 12px; }
.savi-table td { padding: 16px; border-top: 1px solid var(--savi-line); }
.savi-table tr td:last-child { text-align: right; font-weight: 600; }

/* ---- Two-column split (problem / who it's for) ---- */
.savi-split { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; text-align: left; }
.savi-split__col { background: #131317; border: 1px solid var(--savi-line); border-radius: 16px; padding: 26px 28px; }
.savi-split__col h3 { font-family: var(--font-display); font-size: 18px; margin: 0 0 14px; }
.savi-split__col ul { margin: 0; padding-left: 20px; color: #B7B7BE; line-height: 1.7; font-size: 15px; }

@media (max-width: 900px) {
  .savi-product-grid { grid-template-columns: repeat(2, 1fr); }
  .savi-layers, .savi-split { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .savi-product-grid { grid-template-columns: 1fr; } }

/* ---- Media placeholder (for videos/graphics still to come from GHL) ---- */
.savi-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: #131317; border: 2px dashed rgba(255,255,255,.18); border-radius: 16px;
  padding: 48px 24px; color: var(--savi-muted); text-align: center;
}
.savi-placeholder--video { aspect-ratio: 16 / 9; max-width: 840px; margin: 0 auto; }
.savi-placeholder .lbl { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: #C9C9CF; }
.savi-placeholder .sub { font-size: 13px; max-width: 380px; }
.savi-placeholder .ico { font-size: 30px; color: var(--savi-gold); }
.savi-section--light .savi-placeholder { background: #F3F3F5; border-color: #D8D8DC; color: #8A8A90; }
.savi-section--light .savi-placeholder .lbl { color: #444; }

/* ---- CTA band ---- */
.savi-cta-band { text-align: center; }
.savi-cta-band .savi-h2 { margin-bottom: 22px; }

@media (max-width: 900px) {
  .savi-lens-grid { grid-template-columns: repeat(2, 1fr); }
  .savi-course-grid { grid-template-columns: repeat(3, 1fr); }
  .savi-team-grid { grid-template-columns: repeat(2, 1fr); }
  .savi-testi-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .savi-section { padding: 60px 0; }
  .savi-lens-grid { grid-template-columns: 1fr; }
  .savi-course-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ------------------------------------------------------------------ *
 * HEADER / TOP TOOLBAR (sticky)
 * ------------------------------------------------------------------ */
.savi-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--savi-white);
  border-bottom: 1px solid #ECECEC;
  font-family: var(--font-body);
}
.savi-header__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.savi-logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.savi-logo img { height: 52px; width: auto; display: block; }

.savi-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1 1 auto;
}
.savi-nav > li { position: relative; }
.savi-nav > li > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #1B1B1F;
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  padding: 10px 12px;
  border-radius: 8px;
  transition: color .15s ease, background .15s ease;
}
.savi-nav > li > a:hover { color: var(--savi-gold-600); }
.savi-nav .caret { width: 8px; height: 8px; opacity: .7; }

/* Dropdowns (hover on desktop) */
.savi-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 230px;
  background: var(--savi-white);
  border: 1px solid #ECECEC;
  border-radius: 12px;
  padding: 8px;
  list-style: none;
  margin: 0;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.savi-nav > li.has-dropdown:hover > .savi-dropdown,
.savi-nav > li.has-dropdown:focus-within > .savi-dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.savi-dropdown a {
  display: block;
  color: #1B1B1F;
  text-decoration: none;
  font-size: 14px;
  padding: 9px 12px;
  border-radius: 8px;
}
.savi-dropdown a:hover { background: #F5F5F5; color: var(--savi-gold-600); }

/* Header CTAs */
.savi-header__cta { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.savi-btn--sm { padding: 8px 15px; font-size: 13.5px; }
.savi-btn--ghost {
  background: transparent;
  color: var(--savi-white);
  border: 1px solid var(--savi-line);
}
.savi-btn--ghost:hover { background: rgba(255,255,255,.06); border-color: var(--savi-gold); color: var(--savi-gold); }

/* Mobile menu toggle */
.savi-nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  color: var(--savi-white);
}
.savi-nav-toggle svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; }
.savi-nav-toggle { color: #1B1B1F; }

@media (max-width: 960px) {
  .savi-nav-toggle { display: inline-flex; }
  .savi-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 82vw);
    background: var(--savi-white);
    border-left: 1px solid #ECECEC;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 84px 16px 24px;
    transform: translateX(100%);
    transition: transform .22s ease;
    overflow-y: auto;
  }
  .savi-header.is-open .savi-nav { transform: translateX(0); }
  .savi-nav > li > a { padding: 12px 12px; font-size: 16px; }
  .savi-dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; background: transparent; padding: 0 0 0 12px;
  }
  .savi-header__cta { display: none; }
  .savi-nav .savi-mobile-cta { display: block; margin-top: 12px; }
}
.savi-nav .savi-mobile-cta { display: none; } /* CTAs shown inline only on mobile */

/* Header link colors — override the global `a { color: inherit }` rule */
.savi-header .savi-nav > li > a,
.savi-header .savi-dropdown a { color: #1B1B1F; }
.savi-header .savi-nav > li > a:hover,
.savi-header .savi-dropdown a:hover { color: var(--savi-gold-600); }

/* ------------------------------------------------------------------ *
 * FOOTER
 * ------------------------------------------------------------------ */
.savi-footer {
  background: var(--savi-black);
  color: var(--savi-white);
  font-family: var(--font-body);
}

.savi-footer__top {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 56px 20px 40px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}

/* Brand + footer signup */
.savi-footer__brand { max-width: 340px; }
.savi-wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: .06em;
  color: var(--savi-white);
  margin: 0 0 4px;
}
.savi-wordmark span { color: var(--savi-gold); }
.savi-footer__tag {
  color: var(--savi-muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 18px;
}

.savi-footer__signup { display: flex; gap: 8px; max-width: 340px; }
.savi-footer__signup .savi-field { flex: 1; }

/* Link columns */
.savi-footer__col h4 {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--savi-muted);
  margin: 0 0 16px;
}
.savi-footer__col ul { list-style: none; margin: 0; padding: 0; }
.savi-footer__col li { margin: 0 0 11px; }
.savi-footer__col a {
  color: var(--savi-white);
  text-decoration: none;
  font-size: 14.5px;
  transition: color .15s ease;
}
.savi-footer__col a:hover { color: var(--savi-gold); }

/* Bottom bar */
.savi-footer__bottom {
  border-top: 1px solid var(--savi-line);
}
.savi-footer__bottom-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 22px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.savi-footer__copy { color: var(--savi-muted); font-size: 13px; margin: 0; }

.savi-social { display: flex; gap: 10px; align-items: center; }
.savi-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--savi-line);
  color: var(--savi-white);
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.savi-social a:hover { background: var(--savi-gold); border-color: var(--savi-gold); color: #1A1206; }
.savi-social svg { width: 17px; height: 17px; fill: currentColor; }

@media (max-width: 900px) {
  .savi-footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .savi-footer__brand { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 560px) {
  .savi-footer__top { grid-template-columns: 1fr; }
  .savi-footer__bottom-inner { flex-direction: column; align-items: flex-start; }
}
