/* MoneyTreeLab Main Stylesheet - Shared across all pages */

/* ══════════════════════════════════════════════════════════════════
   BASE RESET & VARIABLES
   ══════════════════════════════════════════════════════════════════ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

:root {
  /* Primary Colors */
  --ink: #0d1b2a;
  --ink2: #1e3045;
  --paper: #f4f1eb;
  --cream: #eae6de;
  --card: #fffdf8;

  /* Accent Colors */
  --gold: #c8973a;
  --gold-lt: #e8c070;
  --sage: #3d6b52;
  --sage-lt: #5a9470;
  --rust: #b84c2e;

  /* Semantic Colors */
  --border: #d8d2c4;
  --muted: #7a7265;

  /* Spacing */
  --radius: 14px;
  --radius-s: 8px;
  --shadow: 0 4px 20px rgba(13,27,42,.10);

  /* Safe area (notched phones) */
  --sab: env(safe-area-inset-bottom,0px);
  --sal: env(safe-area-inset-left,0px);
  --sar: env(safe-area-inset-right,0px);
}

body {
  font-family: 'Nunito', sans-serif;
  background: var(--paper);
  color: var(--ink);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ══════════════════════════════════════════════════════════════════
   ACCESSIBILITY
   ══════════════════════════════════════════════════════════════════ */

.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  z-index: 1001;
  background: var(--gold);
  color: var(--ink);
  padding: 8px 16px;
  font-weight: 700;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  top: 0;
}

/* ══════════════════════════════════════════════════════════════════
   HEADER
   ══════════════════════════════════════════════════════════════════ */

header {
  background: var(--ink);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding-left: max(12px,var(--sal));
  padding-right: max(12px,var(--sar));
  box-shadow: 0 2px 12px rgba(0,0,0,.35);
}

.header-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 54px;
  gap: 12px;
}

.logo {
  text-decoration: none;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.logo-img {
  height: 38px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

/* ── Nav main container ── */
.nav-main {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 1;
  min-width: 0;
}

/* ── Home link (plain pill) ── */
.nav-main > a {
  white-space: nowrap;
  color: #8a8070;
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 20px;
  transition: all .2s;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.nav-main > a.active,
.nav-main > a:hover {
  background: rgba(200,151,58,.18);
  color: var(--gold-lt);
}

/* ── Dropdown group wrapper ── */
.nav-group {
  position: relative;
  flex-shrink: 0;
}

/* ── Group button (looks like a pill) ── */
.nav-group-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  color: #8a8070;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: 'Nunito', sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 20px;
  transition: all .2s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.nav-group-btn:hover,
.nav-group.has-active .nav-group-btn {
  background: rgba(200,151,58,.18);
  color: var(--gold-lt);
}

.nav-group-btn .caret {
  font-size: 0.6rem;
  transition: transform .2s;
  display: inline-block;
}

.nav-group.open .nav-group-btn .caret {
  transform: rotate(180deg);
}

/* ── Dropdown panel ── */
.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink2);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 6px;
  min-width: 200px;
  box-shadow: 0 8px 24px rgba(0,0,0,.45);
  z-index: 100;
}

.nav-group.open .nav-dropdown {
  display: block;
}

.nav-dropdown a {
  display: block;
  color: #c0b89a;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 7px;
  transition: all .15s;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

.nav-dropdown a:hover,
.nav-dropdown a[aria-current="page"] {
  background: rgba(200,151,58,.2);
  color: var(--gold-lt);
}

/* ── Hamburger button: hidden on desktop ── */
#nav-hamburger {
  display: none;
}

/* ── Mobile: hamburger menu ── */
@media (max-width: 700px) {
  html {
    scroll-padding-top: 54px;
  }

  body {
    padding-top: 54px;
  }

  header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
  }

  .header-inner {
    height: 54px;
  }

  /* Hamburger button */
  #nav-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 10px;
    min-width: 44px;
    min-height: 44px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    flex-shrink: 0;
  }

  #nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #9a9080;
    border-radius: 2px;
    transition: transform .25s ease, opacity .2s ease;
    transform-origin: center;
  }

  #nav-hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background: var(--gold-lt);
  }

  #nav-hamburger.open span:nth-child(2) {
    opacity: 0;
  }

  #nav-hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background: var(--gold-lt);
  }

  /* Backdrop — tap to close */
  #nav-drawer::before {
    content: '';
    display: none;
  }

  /* Nav drawer */
  #nav-drawer {
    display: none;
    position: fixed;
    top: 54px;
    left: 0;
    right: 0;
    background: var(--ink);
    border-top: 2px solid var(--gold);
    box-shadow: 0 12px 40px rgba(0,0,0,.6);
    z-index: 999;
    padding: 12px 16px 20px;
    flex-direction: column;
    gap: 0;
    /* No overflow, no max-height — content always fits */
  }

  #nav-drawer.open {
    display: flex;
  }

  /* Home link */
  #nav-drawer > a {
    color: #8a8070;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    padding: 12px 4px;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,.07);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  #nav-drawer > a.active,
  #nav-drawer > a:active {
    color: var(--gold-lt);
  }

  /* Category row */
  .nav-group {
    position: static;
    border-bottom: 1px solid rgba(255,255,255,.07);
  }

  .nav-group:last-child {
    border-bottom: none;
  }

  .nav-group-btn {
    width: 100%;
    justify-content: space-between;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: #8a8070;
    padding: 13px 4px;
    border-radius: 0;
    background: transparent;
  }

  .nav-group.has-active .nav-group-btn {
    color: var(--gold-lt);
    background: transparent;
  }

  .nav-group.open .nav-group-btn {
    color: var(--gold-lt);
  }

  /* Sub-link panel */
  .nav-dropdown {
    position: static;
    display: none;
    transform: none;
    box-shadow: none;
    background: transparent;
    border: none;
    border-left: 2px solid rgba(200,151,58,.35);
    border-radius: 0;
    padding: 2px 0 10px 16px;
    min-width: 0;
    margin: 0;
  }

  .nav-group.open .nav-dropdown {
    display: block;
  }

  .nav-dropdown a {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: #a09880;
    padding: 9px 8px;
    white-space: normal;
    border-radius: 6px;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  .nav-dropdown a:active,
  .nav-dropdown a[aria-current="page"] {
    color: var(--gold-lt);
    background: rgba(200,151,58,.12);
  }
}

/* ══════════════════════════════════════════════════════════════════
   AD SLOTS
   ══════════════════════════════════════════════════════════════════ */

.ad-slot {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}

.ad-slot::before {
  position: absolute;
  top: 3px;
  left: 50%;
  transform: translateX(-50%);
  font-size: .58rem;
  color: #bbb;
  letter-spacing: .12em;
  font-weight: 400;
}

.ad-slot--leader {
  height: 90px;
}

.ad-slot--inline {
  height: 90px;
  border-radius: var(--radius-s);
  border: 1px dashed var(--border);
  margin: 16px 0 4px;
}

.ad-slot--rect {
  min-height: 250px;
  max-width: 336px;
  width: 100%;
  margin: 16px auto 4px;
  border-radius: var(--radius-s);
  border: 1px dashed var(--border);
}

/* ══════════════════════════════════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════════════════════════════════ */

.hero {
  background: linear-gradient(155deg,var(--ink) 0%,var(--ink2) 100%);
  color: #fff;
  padding: 32px 16px 56px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 30px;
  background: var(--paper);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(200,151,58,.18);
  color: var(--gold-lt);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid rgba(200,151,58,.28);
  margin-bottom: 14px;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.65rem,5.5vw,2.9rem);
  line-height: 1.15;
  margin-bottom: 10px;
}

.hero h1 em {
  color: var(--gold);
  font-style: italic;
}

.hero-sub {
  color: #9a9585;
  font-size: clamp(.87rem,2.4vw,.98rem);
  line-height: 1.65;
  max-width: 480px;
  margin: 0 auto;
}

/* Homepage hero variant */
.hero--home {
  padding: 56px 16px 76px;
}

.hero--home::after {
  height: 40px;
}

.hero--home .hero-inner {
  max-width: 720px;
}

.hero--home h1 {
  font-size: clamp(2rem,6vw,3.4rem);
  margin-bottom: 14px;
}

.hero--home .hero-sub {
  font-size: clamp(.95rem,2.6vw,1.15rem);
  max-width: 560px;
}

/* ══════════════════════════════════════════════════════════════════
   PAGE LAYOUT
   ══════════════════════════════════════════════════════════════════ */

.page-wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 max(12px,var(--sal)) max(48px,var(--sab));
}

.page-wrap--calculator {
  padding-bottom: calc(100px + var(--sab));
}

/* ══════════════════════════════════════════════════════════════════
   BREADCRUMB NAVIGATION
   ══════════════════════════════════════════════════════════════════ */

.breadcrumb {
  font-size: .73rem;
  color: var(--muted);
  padding: 10px 0 32px;
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--gold);
}

.breadcrumb span {
  opacity: .45;
}

/* ══════════════════════════════════════════════════════════════════
   GRID SYSTEMS
   ══════════════════════════════════════════════════════════════════ */

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: -24px;
}

@media (max-width:700px) {
  .calc-grid {
    grid-template-columns: 1fr;
    margin-top: -16px;
  }
}

.full-col {
  grid-column: 1/-1;
}

@media (max-width:700px) {
  .full-col {
    grid-column: 1;
  }
}

/* ══════════════════════════════════════════════════════════════════
   CARD COMPONENTS
   ══════════════════════════════════════════════════════════════════ */

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(16px,4vw,28px);
  animation: fadeUp .45s ease both;
}

.card:nth-child(2) {
  animation-delay: .08s;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.card-icon {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: var(--ink);
  display: grid;
  place-items: center;
  font-size: .8rem;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════════════
   FORM FIELDS
   ══════════════════════════════════════════════════════════════════ */

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
}

.input-wrap {
  position: relative;
}

.pfx,
.sfx {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 700;
  font-size: .95rem;
  color: var(--muted);
  pointer-events: none;
  z-index: 1;
}

.pfx {
  left: 13px;
}

.sfx {
  right: 13px;
}

.field input[type="number"],
.field select {
  width: 100%;
  min-height: 48px;
  padding: 11px 40px 11px 34px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: var(--paper);
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}

.field input[type="number"]::-webkit-inner-spin-button,
.field input[type="number"]::-webkit-outer-spin-button {
  display: none;
}

.field input:focus,
.field select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,151,58,.17);
}

.field select {
  padding-left: 13px;
  cursor: pointer;
}

.no-pfx input {
  padding-left: 13px;
}

.field input.has-sfx {
  padding-right: 40px;
  padding-left: 13px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width:380px) {
  .field-row {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════════════════════════ */

.pill-toggle {
  display: flex;
  /* background: var(--cream); */
  border-radius: var(--radius-s);
  padding: 3px;
  gap: 3px;
  margin-bottom: 7px;
}

.pill-toggle button {
  flex: 1;
  border: none;
  background: transparent;
  min-height: 40px;
  border-radius: 6px;
  font-family: 'Nunito', sans-serif;
  font-size: .82rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: all .2s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.pill-toggle button.active {
  background: var(--ink);
  color: var(--gold);
}

.btn-calc {
  width: 100%;
  min-height: 52px;
  background: var(--ink);
  color: var(--gold);
  border: none;
  border-radius: 12px;
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all .2s;
  margin-top: 8px;
  letter-spacing: .02em;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.btn-calc:active {
  background: var(--gold);
  color: var(--ink);
  transform: scale(.98);
}

/* ══════════════════════════════════════════════════════════════════
   TOGGLES & ACCORDIONS
   ══════════════════════════════════════════════════════════════════ */

details > summary {
  list-style: none;
  cursor: pointer;
  min-height: 40px;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  -webkit-tap-highlight-color: transparent;
}

details > summary::marker,
details > summary::-webkit-details-marker {
  display: none;
}

.arr {
  transition: transform .2s;
  display: inline-block;
}

details[open] .arr {
  transform: rotate(90deg);
}

.toggle-switch {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-track {
  position: absolute;
  inset: 0;
  background: var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: background .25s;
}

.toggle-track::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform .25s;
}

.toggle-switch input:checked + .toggle-track {
  background: var(--sage);
}

.toggle-switch input:checked + .toggle-track::before {
  transform: translateX(20px);
}

/* ══════════════════════════════════════════════════════════════════
   EMPTY STATES
   ══════════════════════════════════════════════════════════════════ */

.empty-state {
  text-align: center;
  padding: 36px 16px;
  color: var(--muted);
}

.empty-icon {
  font-size: 2.6rem;
  margin-bottom: 10px;
  opacity: .35;
}

.empty-state p {
  font-size: .87rem;
  line-height: 1.65;
}

/* ══════════════════════════════════════════════════════════════════
   RESULTS DISPLAY
   ══════════════════════════════════════════════════════════════════ */

.results-inner {
  display: none;
}

.result-hero {
  text-align: center;
  padding: 18px 0 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 18px;
}

.result-eyebrow {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}

.result-amount {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem,9vw,3.4rem);
  line-height: 1;
  color: var(--ink);
  transition: all .3s ease;
}

.result-note {
  font-size: .77rem;
  color: var(--muted);
  margin-top: 4px;
}

/* ══════════════════════════════════════════════════════════════════
   AFFILIATE CARDS
   ══════════════════════════════════════════════════════════════════ */

.aff-card {
  display: none;
  grid-column: 1/-1;
  background: linear-gradient(135deg,var(--ink) 0%,var(--ink2) 100%);
  border-radius: var(--radius);
  padding: 22px;
}

@media (max-width:700px) {
  .aff-card {
    grid-column: 1;
  }
}

.aff-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: .97rem;
  color: #fff;
  margin-bottom: 4px;
}

.aff-card p {
  font-size: .8rem;
  color: #7a7060;
  margin-bottom: 14px;
}

.aff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(140px,1fr));
  gap: 9px;
}

.aff-btn {
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 10px;
  padding: 11px 13px;
  text-decoration: none;
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  transition: all .2s;
  min-height: 56px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.aff-btn:active {
  background: rgba(200,151,58,.22);
  border-color: rgba(200,151,58,.4);
  color: var(--gold-lt);
}

.aff-name {
  font-size: .88rem;
}

.aff-tag {
  font-size: .63rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ══════════════════════════════════════════════════════════════════
   SEO CONTENT SECTIONS
   ══════════════════════════════════════════════════════════════════ */

.seo-section {
  margin-top: 28px;
}

.seo-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  margin-bottom: 16px;
  color: var(--ink);
}

.seo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(250px,1fr));
  gap: 14px;
}

.seo-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-s);
  padding: 18px;
}

.seo-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: .92rem;
  margin-bottom: 8px;
  color: var(--ink);
}

.seo-card p {
  font-size: .81rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ══════════════════════════════════════════════════════════════════
   FAQ SECTION
   ══════════════════════════════════════════════════════════════════ */

.faq-section {
  margin-top: 28px;
}

.faq-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  margin-bottom: 14px;
  color: var(--ink);
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-s);
  margin-bottom: 7px;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  background: var(--card);
  border: none;
  padding: 13px 15px;
  text-align: left;
  cursor: pointer;
  font-family: 'Nunito', sans-serif;
  font-size: .88rem;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 50px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.faq-icon {
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: transform .22s;
}

.faq-q.open .faq-icon {
  transform: rotate(45deg);
}

.faq-a {
  display: none;
  padding: 0 15px 13px;
  font-size: .83rem;
  color: var(--muted);
  line-height: 1.7;
  background: var(--card);
}

.faq-a.open {
  display: block;
}

/* ══════════════════════════════════════════════════════════════════
   STICKY MOBILE BAR
   ══════════════════════════════════════════════════════════════════ */

#stickyBar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1002;
  padding: 10px 16px;
  padding-bottom: calc(10px + var(--sab));
  background: var(--ink);
  border-top: 2px solid var(--gold);
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 -4px 20px rgba(0,0,0,.35);
}

.sr-label {
  font-size: .66rem;
  color: #6a6050;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.sr-amount {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  color: var(--gold);
}

.sr-btn {
  background: var(--gold);
  color: var(--ink);
  border: none;
  border-radius: 8px;
  padding: 9px 15px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: .8rem;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

@media (max-width:700px) {
  #stickyBar {
    display: flex;
  }
  body {
    padding-bottom: calc(76px + var(--sab));
  }
}

/* ══════════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════════ */

footer {
  background: var(--ink);
  color: #5a5445;
  text-align: center;
  padding: 28px 16px calc(28px + var(--sab));
  font-size: .76rem;
  line-height: 1.8;
}

footer a {
  color: var(--gold);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
  margin-bottom: 12px;
}

.footer-links a {
  color: #6a6050;
}

.footer-disclaimer {
  color: #413c33;
  font-size: .7rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ══════════════════════════════════════════════════════════════════
   UTILITY CLASSES
   ══════════════════════════════════════════════════════════════════ */

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 16px 0;
}

.mt-3 {
  margin-top: 12px;
}

.mt-5 {
  margin-top: 20px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 9px;
}
