﻿/* Kilostop Junior — main stylesheet
   Palette rebrand Jul 10 2026: logo-derived red+green + pink/orange accents.
   Legacy token names (--sage-*, --peach-*) kept and re-valued to new colors
   so 300+ existing var() references continue to resolve correctly. */

:root {
  /* NEW BRAND — logo palette */
  --red:        #df1e3d;
  --red-deep:   #b8172f;
  --red-tint:   #ffe6ea;
  --green:      #5bb146;
  --green-deep: #468a37;
  --green-tint: #e8f5e4;
  --pink:       #ff587b;
  --orange:     #ff531b;
  --charcoal:   #1a1a1a;

  /* LEGACY TOKENS — remapped to new brand semantics */
  --sage:       var(--green);        /* eyebrow labels, role text -> green */
  --sage-dark:  var(--red);          /* primary CTA bg, brand accent -> red */
  --sage-deep:  var(--charcoal);     /* footer, dark bands -> charcoal */
  --sage-light: var(--cream-warm);   /* pill backgrounds -> neutral cream-warm */
  --peach:      var(--pink);         /* decorative accent -> pink */
  --peach-deep: var(--orange);       /* stronger accent -> orange */

  /* SURFACES — kept */
  --cream:      #faf6f0;
  --cream-warm: #f5ede0;
  --white:      #ffffff;
  --border:     #e2dcce;

  /* TEXT — darker per rebrand brief (max contrast on cream) */
  --ink:        #0a0a0a;
  --ink-soft:   #2a2a2a;
  --ink-mute:   #666666;

  --discount:   var(--red);
  --radius:     18px;
  --radius-sm:  12px;
  --radius-lg:  28px;
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.06);
  --shadow:     0 8px 28px rgba(0,0,0,0.10);
  --shadow-lg:  0 20px 50px rgba(0,0,0,0.14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', -apple-system, sans-serif;
  background: var(--cream); color: var(--ink);
  line-height: 1.55; font-size: 16px;
  padding-bottom: 80px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500; color: var(--ink);
  line-height: 1.15; letter-spacing: -0.02em;
}
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 600; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
p { color: var(--ink-soft); }
a { color: var(--sage-dark); text-decoration: none; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* HEADER */
header.topnav {
  position: sticky; top: 0;
  background: rgba(250, 246, 240, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 50;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; max-width: 1180px; margin: 0 auto;
}
.logo { display: flex; align-items: center; gap: 10px; cursor: pointer; text-decoration: none; }
.brand-logo { height: 44px; width: auto; display: block; }
.brand-logo.on-deep { filter: brightness(0) saturate(100%) invert(91%) sepia(13%) saturate(540%) hue-rotate(330deg) brightness(98%) contrast(94%); }
@media (max-width: 560px) { .brand-logo { height: 38px; } }

/* Legacy logo-mark / logo-text — kept as fallback for any unmigrated reference */
.logo-mark {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--sage); display: flex; align-items: center; justify-content: center;
  color: var(--cream); font-family: 'Fraunces', serif;
  font-weight: 600; font-size: 18px; letter-spacing: -0.04em;
}
.logo-text { font-family: 'Fraunces', serif; font-weight: 600; font-size: 19px; color: var(--sage-deep); letter-spacing: -0.02em; line-height: 1; }
.logo-text small { display: block; font-family: 'DM Sans', sans-serif; font-weight: 400; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sage); margin-top: 2px; }
nav.main-nav ul { display: flex; list-style: none; gap: 28px; align-items: center; }
nav.main-nav a { font-size: 14px; font-weight: 500; color: var(--ink-soft); padding: 6px 2px; border-bottom: 2px solid transparent; transition: all 0.2s; cursor: pointer; text-decoration: none; }
nav.main-nav a:hover, nav.main-nav a.active { color: var(--sage-dark); border-bottom-color: var(--sage); }
.nav-cta { background: var(--red); color: var(--cream) !important; padding: 10px 18px !important; border-radius: 100px; border-bottom: none !important; }
.nav-cta:hover { background: var(--red-deep); transform: translateY(-1px); }
.burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--charcoal); margin: 5px 0; }
@media (max-width: 880px) {
  nav.main-nav ul { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--cream); flex-direction: column; padding: 20px 24px; gap: 18px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
  nav.main-nav.open ul { display: flex; }
  .burger { display: block; }
}

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 100px; font-weight: 600; font-size: 15px; border: none; cursor: pointer; transition: all 0.25s; text-decoration: none; font-family: inherit; }
.btn-primary { background: var(--red); color: var(--cream); }
.btn-primary:hover { background: var(--red-deep); transform: translateY(-2px); box-shadow: var(--shadow); color: var(--cream); }
.btn-secondary { background: transparent; color: var(--sage-dark); border: 1.5px solid var(--sage-dark); }
.btn-secondary:hover { background: var(--sage-dark); color: var(--cream); }
.btn-peach { background: var(--peach-deep); color: var(--sage-deep); }
.btn-peach:hover { background: var(--peach); transform: translateY(-2px); color: var(--sage-deep); }
.btn-sm { padding: 9px 18px; font-size: 13px; }

/* HERO */
.hero { padding: 70px 0 50px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -140px; right: -180px; width: 460px; height: 460px; background: radial-gradient(circle, var(--peach) 0%, transparent 65%); opacity: 0.20; border-radius: 50%; pointer-events: none; z-index: 0; }
.hero::after { content: ''; position: absolute; bottom: -160px; left: -200px; width: 420px; height: 420px; background: radial-gradient(circle, var(--sage-light) 0%, transparent 65%); opacity: 0.50; border-radius: 50%; pointer-events: none; z-index: 0; }
.hero > .container { position: relative; z-index: 2; }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: var(--sage-light); color: var(--sage-deep); padding: 7px 14px; border-radius: 100px; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 22px; }
.hero-eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--sage); }
.hero h1 span.accent { font-style: italic; color: var(--sage); font-weight: 400; }
.hero-lead { font-size: 1.1rem; margin: 22px 0 32px; color: var(--ink-soft); max-width: 520px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: linear-gradient(135deg, var(--sage-light), var(--peach)); }
.hero-visual-img { width: 100%; height: auto; display: block; }
.hero-badges { position: absolute; bottom: 16px; left: 16px; right: 16px; }
.hero-visual-placeholder { text-align: center; color: var(--sage-deep); font-family: 'Fraunces', serif; font-style: italic; opacity: 0.4; font-size: 14px; }
.hero-badges { position: absolute; bottom: 24px; left: 24px; right: 24px; display: flex; gap: 12px; justify-content: space-between; }
.hero-badge { background: rgba(250, 246, 240, 0.95); backdrop-filter: blur(8px); padding: 12px 16px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 500; color: var(--sage-deep); box-shadow: var(--shadow-sm); }
.hero-badge strong { display: block; font-family: 'Fraunces', serif; font-size: 20px; color: var(--sage-dark); margin-bottom: 2px; }
@media (max-width: 880px) { .hero-inner { grid-template-columns: 1fr; gap: 36px; } .hero { padding: 40px 0; } }

/* SECTIONS */
.section { padding: 80px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 50px; }
.section-eyebrow { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sage); margin-bottom: 10px; }
.section-head p { margin-top: 14px; font-size: 1.05rem; }

/* PATH CARDS */
.path-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.path-card { background: var(--white); border-radius: var(--radius-lg); padding: 40px 36px; border: 1px solid var(--border); transition: all 0.3s; cursor: pointer; position: relative; overflow: hidden; text-decoration: none; color: var(--ink); display: block; }
.path-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--sage); transform: scaleX(0); transform-origin: left; transition: transform 0.3s; }
.path-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.path-card:hover::before { transform: scaleX(1); }
.path-card-icon { width: 56px; height: 56px; background: var(--sage-light); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; font-size: 26px; }
.path-card h3 { margin-bottom: 10px; }
.path-card p { font-size: 0.95rem; margin-bottom: 16px; }
.path-card .path-specialties { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.path-card .path-specialty-chip { background: var(--sage-light); color: var(--sage-dark); padding: 4px 10px; border-radius: 100px; font-size: 11px; font-weight: 600; }
.path-card .path-price { font-family: 'Fraunces', serif; font-size: 14px; color: var(--ink-mute); margin-bottom: 18px; }
.path-card .path-price strong { color: var(--sage-dark); font-size: 18px; }
.path-card-link { display: inline-flex; align-items: center; gap: 6px; color: var(--sage-dark); font-weight: 600; font-size: 14px; }
.path-card-link::after { content: '→'; transition: transform 0.2s; }
.path-card:hover .path-card-link::after { transform: translateX(4px); }
@media (max-width: 720px) { .path-grid { grid-template-columns: 1fr; } }

/* DOCTORS */
.doctors-wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
.doctor-featured { background: linear-gradient(135deg, var(--cream-warm) 0%, var(--cream) 100%); color: var(--ink); border-radius: var(--radius-lg); padding: 40px; position: relative; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); }
.doctor-featured::before { content: ''; position: absolute; top: -60px; right: -60px; width: 240px; height: 240px; background: radial-gradient(circle, rgba(255, 88, 123, 0.18) 0%, transparent 70%); border-radius: 50%; pointer-events: none; }
.doctor-featured .featured-eyebrow { display: inline-block; background: var(--red); color: var(--cream); padding: 5px 12px; border-radius: 100px; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 24px; position: relative; }
.doctor-featured h3 { color: var(--ink); font-size: 1.8rem; margin-bottom: 8px; position: relative; }
.doctor-featured .doc-title { color: var(--red); font-size: 0.9rem; margin-bottom: 18px; font-weight: 500; position: relative; }
.doctor-featured p { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 24px; position: relative; }
.doctor-featured .doc-price { font-family: 'Fraunces', serif; font-size: 1.1rem; color: var(--ink); margin-bottom: 20px; position: relative; }
.doctor-featured .doc-price strong { color: var(--red); font-weight: 700; }
.doctor-photo { width: 90px; height: 90px; border-radius: 50%; background: linear-gradient(135deg, var(--peach), var(--peach-deep)); margin-bottom: 20px; display: flex; align-items: center; justify-content: center; font-family: 'Fraunces', serif; font-size: 32px; color: var(--sage-deep); font-weight: 500; overflow: hidden; }
.doctor-photo img, .doc-avatar img, .team-avatar img, .blog-author-avatar img, .post-meta .avatar img, .author-bio-card .big-avatar img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block;
  object-position: center 20%; /* anchor headshots near the top so foreheads stay in frame */
}
.doc-avatar { overflow: hidden; }
.doctors-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.doctor-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; text-align: center; }
.doctor-card .doc-avatar { width: 60px; height: 60px; border-radius: 50%; background: var(--sage-light); margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; color: var(--sage-dark); font-family: 'Fraunces', serif; font-size: 22px; font-weight: 500; }
.doctor-card h4 { font-size: 0.95rem; margin-bottom: 4px; font-family: 'DM Sans', sans-serif; font-weight: 600; color: var(--sage-dark); }
.doctor-card small { color: var(--ink-mute); font-size: 0.78rem; }
@media (max-width: 880px) { .doctors-wrap { grid-template-columns: 1fr; } }

/* PROGRAM PAGE — age toggle prompt */
.age-prompt-wrap {
  background: var(--white);
  border: 2px solid var(--sage);
  border-radius: var(--radius);
  padding: 32px 32px 36px;
  margin: 0 auto;
  max-width: 640px;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
}
.age-prompt-step {
  display: inline-block;
  background: var(--peach);
  color: var(--sage-deep);
  padding: 5px 14px;
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.age-prompt-wrap h3 {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
  margin-bottom: 8px;
  color: var(--sage-dark);
  font-weight: 600;
}
.age-prompt-wrap > p {
  font-size: 0.92rem;
  color: var(--ink-mute);
  margin-bottom: 22px;
  max-width: 36em;
  margin-inline: auto;
}
.age-toggle-wrap {
  background: var(--cream);
  border: 2px solid var(--sage);
  border-radius: var(--radius);
  padding: 8px;
  display: inline-flex;
  gap: 8px;
  animation: age-toggle-pulse 2s ease-in-out infinite;
}
.age-prompt-wrap.age-selected .age-toggle-wrap { animation: none; }
.age-toggle-btn {
  background: transparent;
  border: none;
  padding: 14px 24px 12px;
  border-radius: 12px;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 150px;
}
.age-toggle-btn:hover { background: rgba(45, 74, 56, 0.06); transform: translateY(-1px); }
.age-toggle-btn.active { background: var(--red); color: var(--cream); transform: translateY(0); }
.age-toggle-btn.active:hover { background: var(--red-deep); }
.age-toggle-icon {
  font-size: 28px;
  line-height: 1;
  margin-bottom: 2px;
  filter: grayscale(0.3);
}
.age-toggle-btn.active .age-toggle-icon { filter: grayscale(0); }
.age-toggle-label {
  font-weight: 700;
  font-size: 15px;
  color: var(--sage-dark);
  letter-spacing: 0.01em;
}
.age-toggle-btn.active .age-toggle-label { color: var(--cream); }
.age-toggle-sub {
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.age-toggle-btn.active .age-toggle-sub { color: rgba(250, 246, 240, 0.85); }

@keyframes age-toggle-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(90, 138, 107, 0.55), 0 4px 14px rgba(45, 74, 56, 0.10); }
  50%      { box-shadow: 0 0 0 10px rgba(90, 138, 107, 0), 0 4px 14px rgba(45, 74, 56, 0.10); }
}

@media (prefers-reduced-motion: reduce) {
  .age-toggle-wrap { animation: none; }
}

@media (max-width: 480px) {
  .age-toggle-wrap { flex-direction: column; gap: 6px; width: 100%; }
  .age-toggle-btn { min-width: 0; width: 100%; padding: 12px 16px; }
}

.program-hero { padding: 50px 0 40px; }
.program-hero.age-selected .age-prompt-wrap { max-width: none; background: transparent; border: none; padding: 0; box-shadow: none; margin-bottom: 30px; }
.program-hero.age-selected .age-prompt-wrap h3 { display: none; }
.program-hero.age-selected .age-prompt-wrap p { display: none; }
.program-hero .program-content { display: none; }
.program-hero.age-selected .program-content { display: block; }

.price-callout { display: inline-flex; align-items: baseline; gap: 14px; background: var(--white); border: 2px solid var(--sage); padding: 18px 28px; border-radius: var(--radius); margin: 24px 0 14px; box-shadow: var(--shadow-sm); flex-wrap: wrap; }
.price-old { font-family: 'Fraunces', serif; color: var(--discount); text-decoration: line-through; font-size: 1.1rem; }
.price-new { font-family: 'Fraunces', serif; font-size: 2rem; font-weight: 600; color: var(--sage-dark); letter-spacing: -0.02em; }
.price-label { font-size: 0.85rem; color: var(--ink-mute); margin-left: 6px; }
.discount-badge { background: var(--discount); color: var(--cream); padding: 4px 10px; border-radius: 100px; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; margin-left: 8px; }
.price-disclaimer { font-size: 0.88rem; color: var(--ink-mute); margin-bottom: 18px; max-width: 460px; }
.price-disclaimer strong { color: var(--sage-dark); }

/* PRICE ACCORDION */
.price-accordion { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); margin: 8px 0 28px; overflow: hidden; max-width: 520px; }
.price-accordion-header { width: 100%; background: transparent; border: none; padding: 16px 22px; text-align: left; cursor: pointer; font-family: inherit; display: flex; justify-content: space-between; align-items: center; color: var(--sage-dark); font-weight: 600; font-size: 0.92rem; transition: background 0.2s; }
.price-accordion-header:hover { background: var(--sage-light); }
.price-accordion-header .chev { transition: transform 0.25s; font-size: 14px; color: var(--ink-mute); }
.price-accordion.open .price-accordion-header .chev { transform: rotate(180deg); }
.price-accordion-body { display: none; padding: 0 22px 22px; border-top: 1px solid var(--border); }
.price-accordion.open .price-accordion-body { display: block; }
.price-accordion-body p.intro { font-size: 0.82rem; color: var(--ink-mute); padding: 14px 0 10px; font-style: italic; }
.price-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.price-table thead th { text-align: left; font-family: 'DM Sans', sans-serif; font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-mute); padding: 8px 6px; border-bottom: 1px solid var(--border); font-weight: 700; }
.price-table thead th:not(:first-child) { text-align: right; }
.price-table tbody tr { border-bottom: 1px solid var(--border); }
.price-table tbody tr:last-child { border-bottom: none; }
.price-table tbody td { padding: 11px 6px; color: var(--ink); font-size: 0.82rem; }
.price-table tbody td:first-child { font-weight: 600; color: var(--sage-dark); }
.price-table tbody td:not(:first-child) { text-align: right; font-family: 'Fraunces', serif; font-size: 0.92rem; color: var(--sage-dark); }
.price-table-note { margin-top: 12px; padding: 11px 13px; background: var(--cream-warm); border-radius: var(--radius-sm); font-size: 0.78rem; color: var(--ink-soft); line-height: 1.55; }
.price-table-note strong { color: var(--sage-dark); }

/* BONUSES */
.bonus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.bonus-card { background: var(--cream-warm); border-radius: var(--radius); padding: 28px 24px; border: 1px solid var(--border); }
.bonus-card .bonus-num { font-family: 'Fraunces', serif; font-size: 14px; color: var(--sage); font-weight: 600; margin-bottom: 10px; letter-spacing: 0.08em; text-transform: uppercase; }
.bonus-card h4 { font-family: 'Fraunces', serif; font-size: 1.1rem; color: var(--sage-dark); margin-bottom: 8px; font-weight: 500; }
.bonus-card p { font-size: 0.9rem; }
@media (max-width: 720px) { .bonus-grid { grid-template-columns: 1fr; } }

/* FEATURES */
.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feature-item { display: flex; gap: 14px; padding: 18px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.feature-check { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--sage-light); color: var(--sage-dark); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.feature-item p { font-size: 0.92rem; color: var(--ink); line-height: 1.5; }
@media (max-width: 720px) { .features-grid { grid-template-columns: 1fr; } }

/* SERVICES */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 24px; transition: all 0.25s; display: flex; flex-direction: column; position: relative; }
.audience-badge { display: inline-block; align-self: flex-start; background: var(--peach); color: var(--sage-deep); padding: 4px 10px; border-radius: 100px; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 10px; }
.audience-badge.both { background: var(--sage-light); color: var(--sage-dark); }
.service-card:hover { border-color: var(--sage); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.service-card h4 { font-family: 'Fraunces', serif; font-size: 1.35rem; color: var(--sage-deep); margin-bottom: 10px; font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
.service-card p { font-size: 0.88rem; margin-bottom: 16px; color: var(--ink-soft); line-height: 1.5; flex-grow: 1; }
.service-price { font-family: 'Fraunces', serif; font-size: 1.1rem; color: var(--sage-dark); font-weight: 600; padding-top: 14px; border-top: 1px solid var(--border); margin-bottom: 14px; }
.service-price small { display: block; font-family: 'DM Sans', sans-serif; font-weight: 400; font-size: 0.75rem; color: var(--ink-mute); margin-top: 2px; }
.service-card .service-cta-row { margin-top: auto; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.service-card .service-cta-row .btn { flex: 1; min-width: 0; }
.service-card .service-link { display: inline-flex; align-items: center; gap: 4px; font-size: 0.85rem; font-weight: 500; color: var(--sage-dark); text-decoration: none; padding: 8px 0; border-bottom: 1px solid transparent; transition: border-color 0.15s; }
.service-card .service-link:hover { border-bottom-color: var(--sage-dark); }
.service-card .service-cta { margin-top: auto; }
@media (max-width: 880px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } }

/* DOCTOR STRIP */
.doctor-strip { display: flex; gap: 18px; overflow-x: auto; padding: 8px 4px 14px; margin: 0 -4px; scrollbar-width: thin; }
.doctor-strip-card { flex: 0 0 auto; min-width: 180px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; display: flex; gap: 12px; align-items: center; }
.doctor-strip-card .doc-avatar { width: 46px; height: 46px; flex-shrink: 0; border-radius: 50%; background: var(--sage-light); display: flex; align-items: center; justify-content: center; color: var(--sage-dark); font-family: 'Fraunces', serif; font-size: 17px; font-weight: 500; }
.doctor-strip-card h5 { font-family: 'DM Sans', sans-serif; font-size: 0.85rem; color: var(--sage-dark); margin-bottom: 2px; font-weight: 600; }
.doctor-strip-card small { color: var(--ink-mute); font-size: 0.75rem; }

/* ROUTING HINT */
.routing-hint { background: var(--cream-warm); border-left: 3px solid var(--peach-deep); border-radius: var(--radius-sm); padding: 18px 22px; margin: 30px auto; max-width: 620px; display: flex; gap: 14px; align-items: flex-start; }
.routing-hint-icon { font-size: 24px; flex-shrink: 0; }
.routing-hint h5 { font-family: 'DM Sans', sans-serif; font-size: 0.95rem; color: var(--sage-dark); margin-bottom: 4px; font-weight: 600; }
.routing-hint p { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.5; }
.routing-hint a.routing-link { color: var(--sage-dark); text-decoration: underline; font-weight: 600; cursor: pointer; }
.routing-hint a.routing-link:hover { color: var(--sage); }

/* TESTIMONIALS */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial { background: var(--cream-warm); border-radius: var(--radius); padding: 28px; position: relative; }
.testimonial::before { content: '"'; position: absolute; top: 0; left: 20px; font-family: 'Fraunces', serif; font-size: 80px; line-height: 1; color: var(--sage); opacity: 0.3; }
.testimonial p { position: relative; z-index: 1; font-size: 0.9rem; line-height: 1.6; color: var(--ink); margin-bottom: 16px; font-style: italic; }
.testimonial cite { font-style: normal; font-weight: 600; color: var(--sage-dark); font-size: 0.85rem; }
@media (max-width: 880px) { .testimonials { grid-template-columns: 1fr; } }

/* FORM SECTION wrapper */
.form-section { background: linear-gradient(180deg, var(--cream-warm) 0%, var(--cream) 60%); padding: 80px 0; color: var(--ink); scroll-margin-top: 80px; }
.form-section h2 { color: var(--ink); }
.form-section .section-eyebrow { color: var(--green); }
.form-section p { color: var(--ink-soft); }
.form-section .section-head { margin-bottom: 40px; }

/* Simple smart-form (used on services + contact pages) */
.smart-form { background: var(--cream); border-radius: var(--radius-lg); max-width: 620px; margin: 0 auto; color: var(--ink); box-shadow: var(--shadow-lg); overflow: hidden; }
.form-header-banner { background: var(--sage-light); border-bottom: 1px solid var(--sage); padding: 18px 28px; display: flex; align-items: center; gap: 14px; }
.form-header-icon { width: 42px; height: 42px; background: var(--sage-dark); color: var(--cream); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.form-header-banner .fhb-label { font-family: 'DM Sans', sans-serif; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sage); font-weight: 700; display: block; margin-bottom: 1px; }
.form-header-banner .fhb-title { font-family: 'Fraunces', serif; font-size: 1.05rem; color: var(--sage-dark); font-weight: 600; line-height: 1.25; }
.smart-form-body { padding: 32px 40px 36px; }
@media (max-width: 560px) { .smart-form-body { padding: 24px 22px; } .form-header-banner { padding: 14px 20px; } }
.form-fields { display: grid; gap: 14px; margin-bottom: 20px; }
.form-field label { display: block; font-size: 13px; font-weight: 600; color: var(--sage-dark); margin-bottom: 6px; }
.form-field input, .form-field textarea, .form-field select { width: 100%; background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 12px 14px; font-family: inherit; font-size: 15px; color: var(--ink); transition: border-color 0.2s; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: none; border-color: var(--sage); }
.form-field textarea { min-height: 80px; resize: vertical; }
.form-field select { cursor: pointer; }

/* THANK YOU */
.thankyou { max-width: 600px; margin: 0 auto; text-align: center; padding: 60px 24px; }
.thankyou-icon { width: 88px; height: 88px; background: var(--sage); color: var(--cream); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 40px; margin: 0 auto 28px; }
.thankyou h1 { margin-bottom: 16px; }
.thankyou-details { background: var(--white); border-radius: var(--radius); padding: 28px; margin: 28px 0; text-align: left; border: 1px solid var(--border); }
.thankyou-details h4 { font-family: 'DM Sans', sans-serif; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 12px; font-weight: 700; }
.thankyou-details p { font-size: 0.95rem; margin-bottom: 8px; }

/* EASO BAND */
.easo-band { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px 36px; display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; max-width: 880px; margin: 0 auto; }
.easo-logo { width: 88px; height: 88px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.easo-logo img { max-width: 100%; max-height: 100%; height: auto; display: block; }
/* Fallback if no <img> child: render as text badge */
.easo-logo:empty::before, .easo-logo:not(:has(img))::before { content: 'EASO\ACoM'; white-space: pre; background: var(--sage-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Fraunces', serif; font-weight: 600; color: var(--sage-dark); font-size: 13px; text-align: center; line-height: 1.1; width: 100%; height: 100%; }
.easo-band h4 { font-family: 'Fraunces', serif; font-size: 1.1rem; color: var(--sage-dark); margin-bottom: 4px; font-weight: 500; }
.easo-band p { font-size: 0.88rem; line-height: 1.5; }
@media (max-width: 560px) { .easo-band { grid-template-columns: 1fr; text-align: center; } }

/* FOOTER */
footer { background: var(--sage-deep); color: var(--cream); padding: 50px 0 30px; margin-top: 60px; }
footer .container { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
footer h5 { font-family: 'DM Sans', sans-serif; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--peach); margin-bottom: 14px; font-weight: 700; }
footer p, footer a { color: rgba(250,246,240,0.75); font-size: 0.9rem; text-decoration: none; display: block; margin-bottom: 8px; }
footer a:hover { color: var(--peach); }
.footer-bottom { max-width: 1180px; margin: 40px auto 0; padding: 20px 24px 0; border-top: 1px solid rgba(244,200,159,0.2); font-size: 0.8rem; color: rgba(250,246,240,0.5); text-align: center; }
.footer-bottom button { background: none; border: none; color: inherit; cursor: pointer; font: inherit; }
.footer-bottom button:hover { color: var(--peach); }
@media (max-width: 880px) { footer .container { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { footer .container { grid-template-columns: 1fr; } }

/* Legal compliance badges (ANPC + SOL) — required for RO e-commerce */
.footer-legal { max-width: 1180px; margin: 40px auto 0; padding: 0 24px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; justify-content: center; }
.footer-legal a { display: inline-flex; align-items: center; text-decoration: none; transition: opacity 0.2s; }
.footer-legal a:hover { opacity: 0.75; }
.footer-legal .legal-badge { display: inline-flex; flex-direction: column; padding: 8px 16px; background: rgba(250,246,240,0.08); border: 1px solid rgba(250,246,240,0.18); border-radius: 8px; color: rgba(250,246,240,0.85); font-size: 0.72rem; line-height: 1.3; letter-spacing: 0.02em; text-align: left; margin-bottom: 0; }
.footer-legal .legal-badge strong { color: var(--cream); font-size: 0.82rem; letter-spacing: 0.08em; margin-bottom: 2px; }
.footer-legal img { height: 42px; width: auto; display: block; }

/* STICKY CALL/WA BAR */
.sticky-bar { position: fixed; bottom: 0; left: 0; right: 0; background: var(--cream); border-top: 1px solid var(--border); box-shadow: 0 -4px 20px rgba(45,74,56,0.08); padding: 10px 16px; display: flex; gap: 10px; z-index: 100; }
.sticky-btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; border-radius: 100px; font-weight: 700; font-size: 14px; text-decoration: none; transition: all 0.2s; }
.sticky-btn.call { background: var(--sage-dark); color: var(--cream); }
.sticky-btn.wa { background: #25D366; color: white; }
.sticky-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.sticky-btn svg { width: 18px; height: 18px; }
@media (min-width: 880px) { .sticky-bar { display: none; } body { padding-bottom: 0; } }

/* UTILITY */
.text-center { text-align: center; }
.mt-lg { margin-top: 40px; }
.mt-xl { margin-top: 60px; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* Breadcrumbs (simple) */
.breadcrumbs { padding: 16px 0 0; font-size: 13px; color: var(--ink-mute); }
.breadcrumbs .container { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.breadcrumbs a { color: var(--sage-dark); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

/* --- Shared bottom CTA section (used by blog posts + doctor pages) --- */
.post-bottom-cta { background: var(--sage-deep); color: var(--cream); padding: 70px 0; }
.post-bottom-cta h2 { color: var(--cream); font-family: 'Fraunces', serif; font-weight: 500; text-align: center; margin-bottom: 36px; font-size: clamp(1.5rem, 3vw, 2rem); }
.cta-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 720px) { .cta-cards { grid-template-columns: 1fr; } }
.cta-card { display: flex; flex-direction: column; padding: 28px; background: rgba(250,246,240,0.06); border: 1px solid rgba(250,246,240,0.18); border-radius: var(--radius); text-decoration: none; transition: all 0.2s; }
.cta-card:hover { background: rgba(250,246,240,0.12); border-color: var(--peach); transform: translateY(-2px); }
.cta-card h3 { color: var(--cream); font-family: 'Fraunces', serif; font-weight: 500; margin-bottom: 10px; font-size: 1.25rem; }
.cta-card p { color: rgba(250,246,240,0.78); font-size: 0.95rem; line-height: 1.55; margin-bottom: 18px; flex-grow: 1; }
.cta-card .cta-arrow { color: var(--peach); font-weight: 600; font-size: 0.92rem; letter-spacing: 0.02em; }
.cta-card--primary { background: var(--peach); border-color: var(--peach); color: var(--sage-deep); }
.cta-card--primary h3 { color: var(--sage-deep); }
.cta-card--primary p { color: rgba(26, 26, 26, 0.9); }
.cta-card--primary:hover { background: var(--peach-deep); border-color: var(--peach-deep); }
.cta-card--primary .cta-arrow { color: var(--sage-deep); }
/* --- Sticky CTA bar: conversion pages only, scroll-triggered, mobile-first --- */
.sticky-bar { display: none !important; }
@media (max-width: 768px) {
  body.conversion-page.scrolled-past .sticky-bar { display: flex !important; animation: stickyIn 0.3s ease-out; }
}
@keyframes stickyIn {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
/* --- Newsletter signup section (shared across home, blog landing) --- */
.newsletter-section { background: linear-gradient(135deg, var(--cream-warm), var(--sage-light)); padding: 60px 0; }
.newsletter-section .nl-inner { max-width: 640px; margin: 0 auto; text-align: center; padding: 0 20px; }
.newsletter-section h2 { font-family: 'Fraunces', serif; font-weight: 500; color: var(--sage-deep); margin-bottom: 10px; font-size: clamp(1.4rem, 2.8vw, 1.85rem); }
.newsletter-section p { color: var(--ink-soft); margin-bottom: 22px; font-size: 0.98rem; }
.newsletter-form { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; flex-wrap: wrap; }
.newsletter-form input[type="email"] { flex: 1 1 240px; padding: 13px 18px; border: 1px solid var(--border); border-radius: 100px; font-family: inherit; font-size: 0.95rem; background: var(--white); color: var(--ink); }
.newsletter-form input[type="email"]:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px rgba(90,138,107,0.16); }
.newsletter-form button { padding: 13px 26px; border-radius: 100px; background: var(--red); color: var(--cream); border: none; font-family: inherit; font-weight: 600; font-size: 0.95rem; cursor: pointer; transition: all 0.2s; }
.newsletter-form button:hover { background: var(--red-deep); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.newsletter-form button:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.newsletter-consent { font-size: 0.78rem; color: var(--ink-mute); margin-top: 14px; line-height: 1.5; }
.newsletter-consent a { color: var(--sage-dark); text-decoration: underline; text-underline-offset: 3px; }
.newsletter-success { display: none; padding: 16px 22px; background: rgba(74,128,86,0.12); color: var(--sage-deep); border-radius: 12px; font-size: 0.95rem; margin-top: 14px; max-width: 480px; margin-left: auto; margin-right: auto; }
.newsletter-success.visible { display: block; }
/* ===== 2-step consent component ===== */
.form-consent { margin: 18px 0; display: flex; flex-direction: column; gap: 12px; }
.form-consent-row { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 0.86rem; line-height: 1.5; color: var(--ink-soft); }
.form-consent-row input[type="checkbox"] { flex-shrink: 0; margin-top: 3px; width: 16px; height: 16px; accent-color: var(--sage-dark); cursor: pointer; }
.form-consent-row span { flex: 1; }
.form-consent-row a { color: var(--sage-dark); text-decoration: underline; text-underline-offset: 2px; }
.form-consent-row a:hover { color: var(--sage-deep); }
.form-consent-row small { display: block; color: var(--ink-mute); font-size: 0.82rem; margin-top: 2px; font-style: italic; }
.req-mark { color: var(--discount); font-weight: 700; }
/* ===== FAQ section (AI-readable, text always visible) ===== */
.faq-section { padding: 60px 0; background: var(--cream-warm); }
.faq-section .section-head { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-top: 1px solid var(--border); padding: 24px 4px; }
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-item h3 { font-family: 'Fraunces', serif; font-size: 1.15rem; color: var(--sage-deep); margin-bottom: 10px; font-weight: 500; line-height: 1.35; }
.faq-item p { font-size: 0.96rem; color: var(--ink-soft); margin: 0; line-height: 1.65; }
.faq-item p a { color: var(--sage-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
/* ===== Before/After side-scroller (Program slabit) ===== */
.ba-section { padding: 60px 0; background: var(--cream); }
.ba-section .section-head { text-align: center; max-width: 680px; margin: 0 auto 30px; }
.ba-wrap { position: relative; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.ba-scroller { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 4px 24px; scrollbar-width: thin; scrollbar-color: var(--sage-light) transparent; }
.ba-scroller::-webkit-scrollbar { height: 6px; }
.ba-scroller::-webkit-scrollbar-track { background: transparent; }
.ba-scroller::-webkit-scrollbar-thumb { background: var(--sage-light); border-radius: 3px; }
.ba-card { flex: 0 0 320px; scroll-snap-align: start; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 22px; display: flex; flex-direction: column; gap: 14px; }
.ba-card-head { display: flex; justify-content: space-between; align-items: baseline; }
.ba-card-name { font-family: 'Fraunces', serif; font-weight: 500; color: var(--sage-deep); font-size: 1.1rem; }
.ba-card-age { font-size: 0.78rem; color: var(--sage); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.ba-card-stat { background: var(--sage-light); border-radius: var(--radius-sm); padding: 18px 16px; text-align: center; }
.ba-card-stat-big { font-family: 'Fraunces', serif; font-size: 2.2rem; font-weight: 600; color: var(--sage-deep); line-height: 1; }
.ba-card-stat-sub { font-size: 0.84rem; color: var(--ink-mute); margin-top: 4px; }
.ba-card-quote { font-family: 'Fraunces', serif; font-style: italic; font-size: 0.94rem; color: var(--ink-soft); line-height: 1.55; }
.ba-card-doctor { font-size: 0.78rem; color: var(--ink-mute); border-top: 1px solid var(--border); padding-top: 12px; margin-top: auto; }
.ba-arrows { display: flex; gap: 8px; justify-content: center; margin-top: 8px; }
.ba-arrow { background: var(--white); border: 1px solid var(--border); border-radius: 50%; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s; font-size: 16px; color: var(--sage-dark); }
.ba-arrow:hover { background: var(--sage-light); border-color: var(--sage); }
.ba-empty { text-align: center; padding: 36px 24px; color: var(--ink-mute); }
.ba-empty-icon { width: 56px; height: 56px; margin: 0 auto 14px; background: var(--sage-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.ba-disclaimer { font-size: 0.78rem; color: var(--ink-mute); text-align: center; margin-top: 14px; font-style: italic; max-width: 560px; margin-left: auto; margin-right: auto; line-height: 1.5; }
/* Photo variant of BA card - show real before/after image */
.ba-card--photo { padding: 0; overflow: hidden; }
.ba-card--photo .ba-card-photo { width: 100%; aspect-ratio: 1 / 1; overflow: hidden; background: var(--cream-warm); }
.ba-card--photo .ba-card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ba-card--photo .ba-card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 10px; }
.ba-card--photo .ba-card-head { display: flex; justify-content: space-between; align-items: baseline; margin: 0; }
.ba-card--photo .ba-card-stat-inline { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.ba-card--photo .ba-card-stat-inline strong { font-family: 'Fraunces', serif; font-size: 1.4rem; font-weight: 600; color: var(--sage-deep); line-height: 1; }
.ba-card--photo .ba-card-stat-inline span { font-size: 0.82rem; color: var(--ink-mute); }
.ba-card--photo .ba-card-quote { font-family: 'Fraunces', serif; font-style: italic; font-size: 0.9rem; color: var(--ink-soft); line-height: 1.5; margin: 0; }
.ba-card--photo .ba-card-doctor { font-size: 0.76rem; color: var(--ink-mute); border-top: 1px solid var(--border); padding-top: 10px; margin: 4px 0 0; }

/* ── Consent banner ─────────────────────────────
   Moved here from shared.css, which is not loaded by any page. Without
   these rules the banner renders unstyled in normal document flow at the
   very bottom of the page, where a visitor cannot realistically accept it. */
.consent {
  position: fixed;
  bottom: 88px;
  left: 12px;
  right: 12px;
  background: #FFFFFF;
  border: 1px solid #C9BFA8;
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.4rem;
  box-shadow: 0 8px 16px rgba(45, 74, 56, 0.12), 0 32px 80px rgba(45, 74, 56, 0.20);
  z-index: 300;
  max-width: 560px;
  margin-inline: auto;
}

@media (min-width: 900px) {
  .consent {
    bottom: 18px;
    left: auto;
    right: 18px;
    max-width: 440px;
  }
}

.consent h4 {
  font-size: 1rem;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 700;
  color: #2D4A38;
  margin-bottom: 0.5rem;
}

.consent p {
  font-size: 0.85rem;
  line-height: 1.55;
  color: #4A4A4A;
  margin-bottom: 1rem;
}

.consent p a {
  color: #2D4A38;
  text-decoration: underline;
  font-weight: 600;
}

.consent-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.consent-btn {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 280ms cubic-bezier(0.4, 0, 0.2, 1);
}

.consent-btn-primary {
  background: #2D4A38;
  color: #FAF6F0;
}
.consent-btn-primary:hover { background: #1F3428; }

.consent-btn-ghost {
  background: transparent;
  color: #2D4A38;
  border-color: #C9BFA8;
}
.consent-btn-ghost:hover {
  background: #E4EDE6;
  border-color: #2D4A38;
}

.consent-btn-link {
  background: transparent;
  color: #7A7A7A;
  padding: 10px 6px;
  font-size: 0.82rem;
  border: none;
}
.consent-btn-link:hover { color: #2D4A38; }

.consent-prefs h5 {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: #2D4A38;
  margin-bottom: 0.75rem;
}

.consent-pref {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}

.consent-pref:last-of-type { border-bottom: none; margin-bottom: 0.75rem; }

.consent-pref input { margin-top: 4px; flex-shrink: 0; accent-color: #5A8A6B; }

.consent-pref strong {
  display: block;
  font-size: 0.88rem;
  color: #2D4A38;
  margin-bottom: 2px;
}

.consent-pref span {
  display: block;
  font-size: 0.78rem;
  color: #7A7A7A;
  line-height: 1.5;
}
