/* ============================================
   FREEDOM SCOOPERS — DESIGN SYSTEM
   Bento Box Modular UI
   ============================================ */

:root {
  /* Colors */
  --bg: #F7F7F5;
  --bg-card: #FFFFFF;
  --forest: #1E4FA0;
  --forest-light: #3567C2;
  --gold: #E0303F;
  --gold-light: #FBDADD;
  --rust: #B8202E;
  --accent-yellow: #FFD23F;
  --charcoal: #1C1C1C;
  --gray: #6B6B6B;
  --border: rgba(30, 79, 160, 0.08);

  /* Type scale */
  --font-display: 'Fraunces', 'FrauncesFallback', Georgia, serif;
  --font-body: 'Inter', 'InterFallback', -apple-system, sans-serif;

  --fs-hero: clamp(2.4rem, 6vw, 4.5rem);
  --fs-h2: clamp(1.8rem, 4vw, 2.8rem);
  --fs-h3: clamp(1.2rem, 2.5vw, 1.6rem);
  --fs-body: clamp(1rem, 1.2vw, 1.125rem);
  --fs-small: 0.875rem;

  /* Spacing */
  --gap: clamp(0.75rem, 1.5vw, 1.25rem);
  --section-pad: clamp(2.5rem, 6vw, 5rem);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --radius-pill: 999px;

  /* Shadow */
  --shadow: 0 4px 24px rgba(30, 79, 160, 0.06);
  --shadow-hover: 0 12px 32px rgba(30, 79, 160, 0.12);
}

/* ============================================
   RESET
   ============================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--charcoal);
  line-height: 1.6;
  font-size: var(--fs-body);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--forest);
  contain: layout;
}

/* Font fallback overrides to minimize CLS */
@font-face {
  font-family: 'FrauncesFallback';
  src: local('Georgia'), local('Times New Roman');
  ascent-override: 95%;
  descent-override: 27%;
  size-adjust: 108%;
}

@font-face {
  font-family: 'InterFallback';
  src: local('Helvetica Neue'), local('Arial');
  ascent-override: 90%;
  descent-override: 22%;
  size-adjust: 100%;
}

/* ============================================
   SKIP LINK
   ============================================ */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--forest);
  color: #fff;
  padding: 0.75rem 1.5rem;
  z-index: 1000;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus {
  left: 0;
}

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* ============================================
   CONTAINER
   ============================================ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(247, 245, 240, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem clamp(1rem, 4vw, 2.5rem);
  max-width: 1280px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--forest);
}

.nav-logo img { width: 52px; height: 52px; flex-shrink: 0; border-radius: 50%; }

.nav-links {
  display: flex;
  gap: clamp(1rem, 2vw, 2rem);
  align-items: center;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--forest);
  padding: 0.4rem 0;
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  width: 100%;
}

.nav-cta {
  background: var(--forest);
  color: #fff !important;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease;
}
.nav-cta:hover { background: var(--forest-light); transform: translateY(-1px); }
.nav-cta::after { display: none; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--forest);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem clamp(1rem, 4vw, 2.5rem) 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  }
  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav-cta { width: 100%; text-align: center; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ============================================
   AREA CHIPS BAR
   ============================================ */
.chips-bar {
  background: var(--forest);
  overflow: hidden;
  padding: 0.6rem 0;
}
.chips-track {
  display: flex;
  gap: 0.6rem;
  white-space: nowrap;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  overflow-x: auto;
  scrollbar-width: none;
}
.chips-track::-webkit-scrollbar { display: none; }
.chip {
  flex-shrink: 0;
  font-size: var(--fs-small);
  font-weight: 600;
  color: #fff;
  background: rgba(255,255,255,0.12);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.02em;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 var(--gap);
}

.hero-bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: auto;
  gap: var(--gap);
}

.hero-main {
  grid-column: span 4;
  grid-row: span 2;
  background: var(--forest);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-main::before {
  content: '';
  position: absolute;
  right: -60px; top: -60px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,49,58,0.14), transparent 70%);
}

.hero-mascot {
  position: absolute;
  top: clamp(16px, 2vw, 24px);
  right: clamp(16px, 2vw, 24px);
  width: clamp(80px, 9vw, 120px);
  height: clamp(80px, 9vw, 120px);
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  object-fit: cover;
  z-index: 2;
}
@media (max-width: 600px) {
  .hero-mascot { width: 64px; height: 64px; top: 14px; right: 14px; }
  .hero-main .hero-eyebrow { max-width: calc(100% - 80px); }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-yellow);
  font-weight: 700;
  font-size: var(--fs-small);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero-main h1 {
  font-size: var(--fs-hero);
  color: #fff;
  margin-bottom: 1rem;
  max-width: 14ch;
}

.hero-main h1 span { color: var(--accent-yellow); }

.hero-main p {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: rgba(255,255,255,0.82);
  max-width: 38ch;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn-gold {
  background: var(--gold);
  color: #fff;
}
.btn-gold:hover { transform: translateY(-2px); background: var(--rust); }

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}
.btn-outline:hover { border-color: #fff; transform: translateY(-2px); }

.btn-forest {
  background: var(--forest);
  color: #fff;
}
.btn-forest:hover { background: var(--forest-light); transform: translateY(-2px); }

/* Hero side bento cells */
.hero-cell {
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  box-shadow: var(--shadow);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-cell--rate {
  grid-column: span 2;
  background: var(--gold);
  color: #fff;
  justify-content: center;
  align-items: flex-start;
}
.hero-cell--rate .rate-figure {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1;
}
.hero-cell--rate .rate-label {
  font-weight: 700;
  font-size: var(--fs-small);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.4rem;
}

.hero-cell--noc {
  grid-column: span 2;
}
.hero-cell--noc .icon-badge { margin-bottom: 0.75rem; }
.hero-cell--noc h3 { font-size: var(--fs-h3); margin-bottom: 0.25rem; }
.hero-cell--noc p { color: var(--gray); font-size: var(--fs-small); }

.hero-cell--reviews {
  grid-column: span 4;
  flex-direction: row;
  align-items: center;
  gap: 1.25rem;
  background: var(--bg-card);
}
.stars { color: var(--gold); font-size: 1.4rem; letter-spacing: 2px; }
.hero-cell--reviews .review-text strong { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; font-family: var(--font-display); font-size: 1.15rem; color: var(--forest); }
.hero-cell--reviews .review-text span { font-size: var(--fs-small); color: var(--gray); }

@media (max-width: 980px) {
  .hero-bento { grid-template-columns: repeat(2, 1fr); }
  .hero-main { grid-column: span 2; grid-row: auto; }
  .hero-cell--rate, .hero-cell--noc, .hero-cell--reviews { grid-column: span 1; }
  .hero-cell--reviews { grid-column: span 2; }
}
@media (max-width: 600px) {
  .hero-bento { grid-template-columns: 1fr; }
  .hero-cell--rate, .hero-cell--noc, .hero-cell--reviews, .hero-main { grid-column: span 1; }
}

/* Icon badge */
.icon-badge {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon-badge svg { width: 24px; height: 24px; color: var(--forest); }
.hero-cell--rate .icon-badge { background: rgba(255,255,255,0.35); }
.hero-cell--rate .icon-badge svg { color: var(--forest); }
.hero-cell--reviews .icon-badge { background: rgba(30,79,160,0.06); }

/* ============================================
   SECTION HEADER
   ============================================ */
.section { padding: var(--section-pad) 0; }
#calculator { scroll-margin-top: 90px; }
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
}
.section-eyebrow {
  display: inline-block;
  color: var(--rust);
  font-weight: 700;
  font-size: var(--fs-small);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.6rem;
}
.section-head h2 { font-size: var(--fs-h2); margin-bottom: 0.75rem; }
.section-head p { color: var(--gray); }

/* ============================================
   GENERIC BENTO GRID
   ============================================ */
.bento-grid {
  display: grid;
  gap: var(--gap);
}

.bento-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.bento-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}
.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--forest);
  background: rgba(31,77,138,0.08);
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  margin-bottom: 0.6rem;
}
.bento-card--forest .feature-tag,
.bento-card--gold .feature-tag {
  color: #fff;
  background: rgba(255,255,255,0.16);
}

/* ============================================
   SERVICES BENTO (Why Choose Us)
   ============================================ */
.services-grid {
  grid-template-columns: repeat(6, 1fr);
}
.services-grid .bento-card { display: flex; flex-direction: column; }
.services-grid .bento-card h3 { font-size: var(--fs-h3); margin: 0.9rem 0 0.5rem; }
.services-grid .bento-card p { color: var(--gray); font-size: 0.95rem; }

.span-3 { grid-column: span 3; }
.span-2 { grid-column: span 2; }
.span-4 { grid-column: span 4; }
.span-6 { grid-column: span 6; }

.bento-card--forest {
  background: var(--forest);
  color: #fff;
}
.services-grid .bento-card--forest h3 { color: #fff; }
.services-grid .bento-card--forest p { color: rgba(255,255,255,0.78); }
.bento-card--forest .icon-badge { background: rgba(255,255,255,0.1); }
.services-grid .bento-card--forest .icon-badge svg { color: var(--accent-yellow); }

.bento-card--gold {
  background: var(--gold);
}
.services-grid .bento-card--gold h3 { color: #fff; }
.services-grid .bento-card--gold p { color: rgba(255,255,255,0.88); }
.bento-card--gold .icon-badge { background: rgba(255,255,255,0.15); }
.bento-card--gold .icon-badge svg { color: var(--accent-yellow); }

@media (max-width: 860px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid .span-3,
  .services-grid .span-4,
  .services-grid .span-2,
  .services-grid .span-6 { grid-column: span 2; }
}
@media (max-width: 540px) {
  .services-grid { grid-template-columns: 1fr; }
  .services-grid [class*="span-"] { grid-column: span 1; }
}

/* ============================================
   BEFORE / AFTER SIGNATURE CARD
   ============================================ */
.showcase-card {
  grid-column: span 6;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  text-align: center;
}
.showcase-card .section-head { max-width: 640px; margin-left: auto; margin-right: auto; }
.showcase-card img {
  border-radius: var(--radius-md);
  width: 100%;
  height: auto;
  display: block;
}


@media (max-width: 860px) {
  .showcase-card { grid-column: span 2; }
}
@media (max-width: 540px) {
  .showcase-card { grid-column: span 1; }
}

/* ============================================
   PRICING BENTO
   ============================================ */
.pricing-grid {
  grid-template-columns: repeat(3, 1fr);
}
.price-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  position: relative;
  border: 2px solid transparent;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.price-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.price-card--featured {
  border-color: var(--gold);
}
.price-badge {
  position: absolute;
  top: -12px; right: 24px;
  background: var(--gold);
  color: #fff;
  font-size: var(--fs-small);
  font-weight: 700;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-pill);
}
.price-card h3 { font-size: var(--fs-h3); margin-bottom: 0.5rem; }
.price-card .price-amount {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--forest);
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.price-amount sup { font-size: 1rem; font-weight: 600; color: var(--gray); }
.price-amount .per { font-size: 1rem; font-weight: 600; color: var(--gray); font-family: var(--font-body); }
.price-card .price-note { color: var(--gray); font-size: var(--fs-small); margin-bottom: 1.25rem; }
.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}
.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.95rem;
}
.price-features svg { flex-shrink: 0; width: 18px; height: 18px; color: var(--gold); margin-top: 2px; }

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ============================================
   HOW IT WORKS — STEP CARDS
   ============================================ */
.steps-grid {
  grid-template-columns: repeat(4, 1fr);
}
.step-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(1.5rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.step-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.step-card h3 { font-size: 1.1rem; }
.step-card p { color: var(--gray); font-size: 0.95rem; }

@media (max-width: 980px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .steps-grid { grid-template-columns: 1fr; }
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonial-grid {
  grid-template-columns: repeat(3, 1fr);
}
.testimonial-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(1.5rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.testimonial-card .stars { font-size: 1.1rem; }
.testimonial-card p { color: var(--charcoal); }
.testimonial-meta { display: flex; align-items: center; gap: 0.75rem; margin-top: auto; }
.avatar-circle {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  flex-shrink: 0;
}
.testimonial-meta strong { display: block; font-size: 0.9rem; }
.testimonial-meta span { font-size: 0.8rem; color: var(--gray); }

@media (max-width: 900px) {
  .testimonial-grid { grid-template-columns: 1fr; }
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.1rem 1.5rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--forest);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
}
.faq-question .faq-icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  position: relative;
}
.faq-question .faq-icon::before,
.faq-question .faq-icon::after {
  content: '';
  position: absolute;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 0.25s ease;
}
.faq-question .faq-icon::before { width: 100%; height: 3px; top: 50%; left: 0; transform: translateY(-50%); }
.faq-question .faq-icon::after { width: 3px; height: 100%; left: 50%; top: 0; transform: translateX(-50%); }
.faq-item.open .faq-icon::after { transform: translateX(-50%) scaleY(0); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  color: var(--gray);
}
.faq-item.open .faq-answer { max-height: 400px; }

/* ============================================
   FINAL CTA BAND
   ============================================ */
.cta-band {
  background: var(--forest);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 6vw, 4rem);
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  left: -80px; bottom: -80px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,49,58,0.12), transparent 70%);
}
.cta-band h2 { color: #fff; font-size: var(--fs-h2); margin-bottom: 0.75rem; }
.cta-band p { color: rgba(255,255,255,0.8); max-width: 480px; margin: 0 auto 1.75rem; }
.cta-band .hero-actions { justify-content: center; }

/* ============================================
   MAP CARD
   ============================================ */
.map-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.map-card iframe {
  width: 100%;
  aspect-ratio: 16 / 6;
  border: 0;
  display: block;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-grid {
  grid-template-columns: 1fr 1fr;
}
.contact-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(1.75rem, 3vw, 2.5rem);
}
.contact-card h3 { font-size: var(--fs-h3); margin-bottom: 1.25rem; }

.form-row { margin-bottom: 1rem; }
.form-row label {
  display: block;
  font-weight: 700;
  font-size: var(--fs-small);
  margin-bottom: 0.4rem;
  color: var(--forest);
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--bg);
  color: var(--charcoal);
  transition: border-color 0.2s ease;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--gold);
  outline: none;
}
.form-row textarea { resize: vertical; min-height: 110px; }

.radio-row {
  display: flex;
  gap: 1rem 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}
.radio-row label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--charcoal);
  margin-bottom: 0;
}
.radio-row input { width: auto; }

.form-status {
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.95rem;
  display: none;
}
.form-status.visible { display: block; }
.form-status.success { color: var(--forest); }
.form-status.error { color: var(--rust); }

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}
.contact-info-item .icon-badge { background: var(--bg); }
.contact-info-item h4 { font-size: 1rem; margin-bottom: 0.15rem; color: var(--forest); }
.contact-info-item p, .contact-info-item a { color: var(--gray); font-size: 0.95rem; }
.contact-info-item a:hover { color: var(--forest); }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--forest);
  color: rgba(255,255,255,0.85);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: var(--gap);
  margin-bottom: 2rem;
}
.footer-logo {
  margin-bottom: 0.9rem;
}
.footer-logo img { height: 96px; width: auto; border-radius: 50%; }
.footer p { color: rgba(255,255,255,0.65); font-size: 0.95rem; }
.footer h4 {
  color: var(--gold);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.9rem;
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer a { color: rgba(255,255,255,0.75); font-size: 0.95rem; transition: color 0.2s ease; }
.footer a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}
.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-bottom a:hover { color: var(--gold); }
.partner-link { display: flex; align-items: center; gap: 0.4rem; }
.partner-link a {
  color: var(--accent-yellow);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(255, 209, 102, 0.4);
  text-underline-offset: 2px;
}
.partner-link a:hover {
  color: #fff;
  text-decoration-color: currentColor;
}

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   PAGE HEADER (sub-pages)
   ============================================ */
.page-header {
  padding: clamp(2.5rem, 6vw, 4rem) 0 var(--gap);
}
.page-header-card {
  background: var(--forest);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  color: #fff;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
}
.page-header-text { flex: 1.2; min-width: 0; position: relative; z-index: 2; }
.page-header-img {
  flex: 1;
  min-width: 0;
  border-radius: var(--radius-sm);
  width: 100%;
  height: clamp(220px, 28vw, 360px);
  object-fit: cover;
  position: relative;
  z-index: 2;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
@media (max-width: 800px) {
  .page-header-card { flex-direction: column; }
  .page-header-img { height: 220px; order: -1; }
}
.page-header-card::before {
  content: '';
  position: absolute;
  right: -60px; top: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,49,58,0.14), transparent 70%);
}
.page-header-card h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.2rem); max-width: 18ch; }
.page-header-card p { color: rgba(255,255,255,0.8); max-width: 44ch; margin-top: 0.75rem; }

/* Two-column content layout */
.content-grid {
  grid-template-columns: 1.4fr 1fr;
  align-items: start;
}
@media (max-width: 860px) {
  .content-grid { grid-template-columns: 1fr; }
}

/* Utility */
.text-center { text-align: center; }
.mt-2 { margin-top: 1.5rem; }

/* ============================================
   FREEDOM PLAN CALCULATOR
   ============================================ */
.calc-card {
  background: var(--forest);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.calc-card::before {
  content: '';
  position: absolute;
  right: -70px; top: -70px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,49,58,0.18), transparent 70%);
}
.calc-card::after {
  content: '';
  position: absolute;
  left: -90px; bottom: -90px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(248,213,46,0.12), transparent 70%);
}
.calc-head {
  position: relative;
  z-index: 1;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}
.calc-head h2 { color: #fff; }
.calc-head p { color: rgba(255,255,255,0.78); margin-top: 0.5rem; max-width: 56ch; }

.calc-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: stretch;
}
@media (max-width: 860px) {
  .calc-grid { grid-template-columns: 1fr; }
}

.calc-group { margin-bottom: 1.5rem; }
.calc-group:last-child { margin-bottom: 0; }
.calc-label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--accent-yellow);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}
.calc-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 0.6rem;
}
.calc-option {
  background: rgba(255,255,255,0.06);
  border: 2px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.5rem;
  text-align: center;
  cursor: pointer;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.calc-option:hover { background: rgba(255,255,255,0.1); transform: translateY(-1px); }
.calc-option.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}
.calc-option .calc-option-sub {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.75;
  margin-top: 0.15rem;
  text-transform: none;
  letter-spacing: 0;
}

.calc-stepper {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255,255,255,0.06);
  border: 2px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-pill);
  padding: 0.5rem 0.5rem;
}
.calc-stepper button {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: none;
  background: var(--gold);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.2s ease, transform 0.15s ease;
}
.calc-stepper button:hover { background: #E0454D; transform: scale(1.05); }
.calc-stepper button:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }
.calc-stepper-value {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  min-width: 2.5ch;
  text-align: center;
}

.calc-result {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
.calc-result-label {
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-yellow);
  margin-bottom: 0.5rem;
}
.calc-result-amount {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 3.6rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.calc-result-amount span {
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  font-family: var(--font-body);
}
.calc-result-note {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  margin-top: 0.75rem;
  min-height: 2.5em;
}
.calc-result .btn {
  margin-top: 1.25rem;
}
.calc-disclaimer {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  margin-top: 1rem;
  text-align: center;
}
