/* ============================================
   IGNOVA — Telehealth Clinic Website
   Brand-Guided Stylesheet
   ============================================
   Colors from brand guide:
   — Deep Forest Green: #022E13
   — Mint:             #E2F0CD
   — Banana Yellow:     #FFE135
   — Black:             #000000
   Fonts: Sora (headings) + Source Sans Pro (body)
   Icons: Feather-style outline, 2px stroke, rounded terminals
   ============================================ */

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --forest: #022E13;
  --forest-light: #0a4a23;
  --forest-dark: #011d0b;
  --mint: #E2F0CD;
  --mint-light: #effbe0;
  --mint-dark: #c5dab0;
  --banana: #FFE135;
  --banana-dark: #e6c800;
  --black: #000000;
  --white: #ffffff;
  --off-white: #f7f9f3;
  --grey-50: #f8faf5;
  --grey-100: #eef2e8;
  --grey-200: #dde5d3;
  --grey-300: #c0ccad;
  --grey-500: #8a9b7a;
  --grey-700: #5a6b4d;
  --grey-900: #2d3a28;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 1px 3px rgba(2, 46, 19, 0.08);
  --shadow-md: 0 4px 16px rgba(2, 46, 19, 0.10);
  --shadow-lg: 0 12px 40px rgba(2, 46, 19, 0.15);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1280px;
  --header-h: 72px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Source Sans 3', 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: var(--grey-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--forest);
  letter-spacing: -0.04em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 400; }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 400; }
h3 { font-size: clamp(1.35rem, 3vw, 1.75rem); font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em; }

p { color: var(--grey-700); line-height: 1.7; }
a { color: var(--forest); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--forest-light); }

img { max-width: 100%; height: auto; }

/* ===== UTILITY BAR ===== */
.utility-bar {
  background: var(--forest);
  color: var(--mint);
  font-size: 0.82rem;
  padding: 8px 0;
  overflow: hidden;
}
.utility-bar__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.utility-bar__item {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.utility-bar__item svg { width: 16px; height: 16px; stroke: var(--mint); }

/* ===== HEADER / NAV ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--grey-100);
  height: var(--header-h);
  display: flex;
  align-items: center;
}
.header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: 'Sora', sans-serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--forest);
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 2px;
  text-decoration: none;
}
.logo__img {
  height: 40px;
  width: auto;
  display: block;
}
.logo__g {
  position: relative;
  display: inline-block;
}
.logo__g::after {
  content: '';
  position: absolute;
  bottom: 4px;
  right: -8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--forest);
}
.logo__mark {
  display: none;
}
.logo__mark svg {
  display: none;
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__link {
  font-family: 'Sora', sans-serif;
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--grey-900);
  position: relative;
}
.nav__link:hover { color: var(--forest); }
.nav__link--active { color: var(--forest); font-weight: 600; }
.nav__link--active::after {
  content: '';
  position: absolute;
  bottom: -24px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--banana);
  border-radius: 3px 3px 0 0;
}
.nav__dropdown { position: relative; }
.nav__dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 16px;
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 50;
}
.nav__dropdown:hover .nav__dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__dropdown-content a {
  display: block;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--grey-700);
}
.nav__dropdown-content a:hover { background: var(--mint-light); color: var(--forest); }

.nav__right { display: flex; align-items: center; gap: 16px; }

/* ===== BUTTONS ===== */
.btn {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  white-space: nowrap;
}
.btn--primary {
  background: var(--forest);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--forest-light);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--secondary {
  background: transparent;
  color: var(--forest);
  border: 1.5px solid var(--forest);
}
.btn--secondary:hover {
  background: var(--forest);
  color: var(--white);
}
.btn--accent {
  background: var(--banana);
  color: var(--forest);
}
.btn--accent:hover {
  background: var(--banana-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--mint {
  background: var(--mint);
  color: var(--forest);
}
.btn--mint:hover { background: var(--mint-dark); }
.btn--ghost {
  background: transparent;
  color: var(--forest);
  padding: 8px 16px;
}
.btn--ghost:hover { background: var(--mint-light); }
.btn--lg { padding: 16px 36px; font-size: 1.05rem; }
.btn--sm { padding: 8px 20px; font-size: 0.85rem; }

/* ===== LAYOUT ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 800px; }
.section { padding: 80px 0; }
.section--forest { background: var(--forest); color: var(--mint); }
.section--forest h1, .section--forest h2, .section--forest h3, .section--forest h4 { color: var(--white); }
.section--forest p { color: var(--mint); opacity: 0.85; }
.section--mint { background: var(--mint); }
.section--mint h1, .section--mint h2, .section--mint h3, .section--mint h4 { color: var(--forest); }
.section--mint p { color: var(--forest); opacity: 0.8; }
.section--banana { background: var(--banana); }
.section--grey { background: var(--grey-50); }
.section--dark { background: var(--forest-dark); color: var(--mint); }

/* ===== HERO ===== */
.hero {
  background: var(--forest);
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, rgba(226,240,205,0.05), transparent);
  border-radius: 0 0 0 400px;
}
.hero__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero__content { color: var(--mint); }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(226,240,205,0.12);
  border: 1px solid rgba(226,240,205,0.25);
  color: var(--mint);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 24px;
  font-family: 'Sora', sans-serif;
}
.hero__badge svg { width: 16px; height: 16px; stroke: var(--mint); }
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero p {
  color: var(--mint);
  font-size: 1.2rem;
  margin-bottom: 32px;
  max-width: 520px;
  opacity: 0.9;
}
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(226,240,205,0.15);
}
.hero__stat { }
.hero__stat-num { font-family: 'Sora', sans-serif; font-size: 2rem; font-weight: 600; color: var(--white); }
.hero__stat-label { color: var(--mint); font-size: 0.85rem; opacity: 0.8; }
.hero__image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 480px;
  background: linear-gradient(135deg, var(--forest-light), var(--forest));
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__image-pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%23E2F0CD' stroke-opacity='0.08' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M20 50 Q30 20 50 50 T80 50'/%3E%3Cpath d='M10 30 Q30 60 50 30 T80 30'/%3E%3Cpath d='M15 70 Q30 40 50 70 T85 70'/%3E%3Ccircle cx='50' cy='50' r='3' fill='%23E2F0CD' fill-opacity='0.1' stroke='none'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 200px;
}
.hero__image-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px;
}
.hero__image-content svg { width: 120px; height: 120px; margin-bottom: 24px; }
.hero__image-content h3 { color: var(--white); margin-bottom: 12px; }
.hero__image-content p { color: var(--mint); margin: 0; }
.hero__image-illustration {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  display: block;
}

/* ===== TREATMENT CARD IMAGES ===== */
.treatment-card__image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  display: block;
}

/* ===== MEDICAL TEAM GRID ===== */
.medical-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.doctor-card {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.doctor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.doctor-card__avatar {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--mint);
}
.doctor-card__avatar img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  display: block;
}
.doctor-card__name {
  font-family: 'Sora', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--forest);
  margin: 0 0 4px;
}
.doctor-card__role {
  font-size: 0.85rem;
  color: var(--forest);
  opacity: 0.6;
  margin: 0 0 12px;
  font-weight: 600;
}
.doctor-card__bio {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.5;
  margin: 0;
}

/* ===== TREATMENT CARDS GRID ===== */
.treatment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  justify-content: center;
}

/* ===== FEATURED TREATMENTS ===== */
.featured-treatments {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.treatment-card--featured {
  border: 2px solid var(--banana) !important;
  border-radius: 20px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  position: relative;
}
.treatment-card--featured:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}
.treatment-card__image--featured {
  height: 200px;
  overflow: hidden;
}
.treatment-card__image--featured img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.treatment-card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--banana);
  color: var(--forest);
  font-family: 'Sora', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 100px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  z-index: 2;
}
.treatment-card {
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.treatment-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--mint-dark);
}
.treatment-card__image {
  height: 180px;
  background: var(--mint);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.treatment-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
}
.treatment-card__image--forest { background: var(--forest); }
.treatment-card__image--banana { background: var(--banana); }
.treatment-card__image svg { width: 56px; height: 56px; stroke: var(--forest); stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.treatment-card__image--forest svg { stroke: var(--mint); }
.treatment-card__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.treatment-card__title { font-size: 1.2rem; margin-bottom: 8px; }
.treatment-card__desc { font-size: 0.92rem; margin-bottom: 16px; flex: 1; }
.treatment-card__price {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  color: var(--forest);
  font-size: 1.1rem;
  margin-bottom: 16px;
}
.treatment-card__price small { font-weight: 400; font-size: 0.8rem; color: var(--grey-500); }
.treatment-card__features { list-style: none; margin-bottom: 20px; }
.treatment-card__features li {
  font-size: 0.88rem;
  color: var(--grey-700);
  padding: 4px 0 4px 28px;
  position: relative;
}
.treatment-card__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--mint);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23022E13' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}
.treatment-card__cta { margin-top: auto; }

/* ===== HOW IT WORKS ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 48px;
}
.step-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey-100);
  position: relative;
  transition: var(--transition);
}
.step-card:hover { box-shadow: var(--shadow-md); }
.step-card__num {
  font-family: 'Sora', sans-serif;
  font-size: 3rem;
  font-weight: 400;
  color: var(--mint-dark);
  line-height: 1;
  margin-bottom: 16px;
}
.step-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--mint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.step-card__icon svg { width: 28px; height: 28px; stroke: var(--forest); stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.step-card h4 { margin-bottom: 8px; }
.step-card p { font-size: 0.9rem; }

/* ===== SECTION HEADERS ===== */
.section-header { text-align: center; max-width: 640px; margin: 0 auto; }
.section-header--left { text-align: left; margin: 0; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { font-size: 1.05rem; }
.section-header__eyebrow {
  display: inline-block;
  font-family: 'Sora', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--forest);
  background: var(--mint);
  padding: 4px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}

/* ===== TESTIMONIALS ===== */
.testimonials { position: relative; }
.testimonial-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 16px 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.testimonial-track::-webkit-scrollbar { display: none; }
.testimonial-card {
  flex: 0 0 380px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey-100);
  scroll-snap-align: start;
}
.testimonial-card__stars { color: var(--banana); font-size: 1.2rem; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-card__text { font-size: 1.05rem; color: var(--grey-900); margin-bottom: 20px; line-height: 1.6; }
.testimonial-card__author { display: flex; align-items: center; gap: 12px; }
.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--mint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  color: var(--forest);
}
.testimonial-card__name { font-weight: 600; color: var(--forest); font-family: 'Sora', sans-serif; }
.testimonial-card__location { font-size: 0.85rem; color: var(--grey-500); }

/* ===== TEAM ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
  justify-content: center;
}
.team-card {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-card__photo {
  height: 240px;
  background: var(--mint);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}
.team-card__photo svg { width: 100%; height: 100%; stroke: var(--forest); stroke-width: 1; fill: none; }
.team-card__body { padding: 20px; }
.team-card__name { font-size: 1.1rem; margin-bottom: 4px; }
.team-card__role { font-size: 0.88rem; color: var(--grey-500); }

/* ===== STATS BANNER ===== */
.stats-banner {
  background: var(--forest);
  border-radius: var(--radius-xl);
  padding: 48px;
  margin: 0 auto;
  max-width: 1100px;
}
.stats-banner__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stats-banner__num { font-family: 'Sora', sans-serif; font-size: 2.5rem; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.stats-banner__label { color: var(--mint); font-size: 0.88rem; }

/* ===== FAQ ===== */
.faq-list { max-width: 760px; margin: 48px auto 0; }
.faq-item {
  border-bottom: 1px solid var(--grey-200);
  padding: 4px 0;
}
.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  cursor: pointer;
  font-family: 'Sora', sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--forest);
  transition: var(--transition);
}
.faq-item__question:hover { color: var(--forest-light); }
.faq-item__icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--mint);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}
.faq-item__icon svg { width: 16px; height: 16px; stroke: var(--forest); stroke-width: 2; }
.faq-item--open .faq-item__icon { background: var(--forest); }
.faq-item--open .faq-item__icon svg { stroke: var(--white); transform: rotate(45deg); }
.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--grey-700);
  font-size: 0.95rem;
  line-height: 1.7;
}
.faq-item--open .faq-item__answer { max-height: 300px; padding: 0 0 20px; }

/* ===== FOOTER ===== */
.footer {
  background: var(--forest-dark);
  color: var(--mint);
  padding: 64px 0 32px;
}
.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(226,240,205,0.12);
}
.footer__brand h3 { color: var(--white); margin-bottom: 12px; }
.footer__brand p { color: var(--mint); opacity: 0.7; font-size: 0.9rem; max-width: 300px; }
.footer__col h5 { color: var(--white); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; font-family: 'Sora', sans-serif; }
.footer__col a { display: block; color: var(--mint); opacity: 0.7; padding: 4px 0; font-size: 0.9rem; }
.footer__col a:hover { opacity: 1; color: var(--white); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  flex-wrap: wrap;
  gap: 16px;
}
.footer__bottom p { color: var(--mint); opacity: 0.6; font-size: 0.82rem; }
.footer__social { display: flex; gap: 12px; }
.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(226,240,205,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.footer__social a:hover { background: var(--mint); }
.footer__social a:hover svg { stroke: var(--forest); }
.footer__social svg { width: 18px; height: 18px; stroke: var(--mint); stroke-width: 1.5; fill: none; }

/* ===== PAGE HEADER ===== */
.page-header {
  background: var(--forest);
  padding: 80px 0 60px;
  text-align: center;
}
.page-header h1 { color: var(--white); margin-bottom: 16px; }
.page-header p { color: var(--mint); font-size: 1.1rem; max-width: 560px; margin: 0 auto; }

/* ===== TWO COLUMN ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.two-col--reverse { direction: rtl; }
.two-col--reverse > * { direction: ltr; }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--banana);
  border-radius: var(--radius-xl);
  padding: 56px;
  text-align: center;
  margin: 0 auto;
  max-width: 1000px;
}
.cta-banner h2 { margin-bottom: 12px; }
.cta-banner p { color: var(--forest); opacity: 0.8; margin-bottom: 28px; font-size: 1.1rem; }

/* ===== QUESTIONNAIRE/QUIZ ===== */
.quiz-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  max-width: 640px;
  margin: 0 auto;
  overflow: hidden;
}
.quiz-card__header {
  background: var(--forest);
  color: var(--mint);
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.quiz-card__progress {
  height: 6px;
  background: rgba(226,240,205,0.2);
  border-radius: 3px;
  overflow: hidden;
  margin: 0 32px;
}
.quiz-card__progress-bar {
  height: 100%;
  background: var(--banana);
  border-radius: 3px;
  transition: width 0.4s ease;
}
.quiz-card__body { padding: 40px 32px; }
.quiz-card__question { font-size: 1.3rem; margin-bottom: 8px; }
.quiz-card__hint { font-size: 0.88rem; color: var(--grey-500); margin-bottom: 24px; }
.quiz-options { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.quiz-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border: 2px solid var(--grey-200);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
  color: var(--grey-900);
}
.quiz-option:hover { border-color: var(--forest); background: var(--mint-light); }
.quiz-option--selected { border-color: var(--forest); background: var(--mint); }
.quiz-option__radio {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--grey-300);
  flex-shrink: 0;
  position: relative;
  transition: var(--transition);
}
.quiz-option--selected .quiz-option__radio {
  border-color: var(--forest);
  background: var(--forest);
}
.quiz-option--selected .quiz-option__radio::after {
  content: '';
  position: absolute;
  top: 5px; left: 5px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--mint);
}
.quiz-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 32px;
  background: var(--grey-50);
  border-top: 1px solid var(--grey-100);
}

/* ===== FORMS ===== */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-family: 'Sora', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--forest);
  margin-bottom: 6px;
}
.form-label small { color: var(--grey-500); font-weight: 400; }
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: 'Source Sans 3', sans-serif;
  color: var(--grey-900);
  background: var(--white);
  transition: var(--transition);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(2, 46, 19, 0.08);
}
.form-textarea { min-height: 120px; resize: vertical; }

/* ===== MOBILE NAV ===== */
.mobile-nav-toggle { display: none; }

/* ===== RESPONSIVE ===== */

/* Tablet and below */
@media (max-width: 1024px) {
  /* Show hamburger, hide desktop nav */
  .mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--mint);
    border: none;
    cursor: pointer;
    flex-shrink: 0;
  }
  .mobile-nav-toggle svg { width: 24px; height: 24px; stroke: var(--forest); stroke-width: 2; }
  .mobile-nav-toggle--active svg { display: none; }
  .mobile-nav-toggle--active::after {
    content: '✕';
    font-size: 1.2rem;
    color: var(--forest);
    font-weight: 300;
  }

  /* Mobile nav drawer */
  .nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    width: 280px;
    max-width: 85vw;
    height: calc(100vh - var(--header-h));
    background: var(--white);
    box-shadow: -4px 0 24px rgba(0,0,0,0.12);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 0;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    z-index: 99;
    display: flex;
  }
  .nav.nav--open {
    transform: translateX(0);
  }
  .nav__dropdown {
    position: relative;
  }
  .nav__dropdown-content {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding: 0 0 0 20px;
    min-width: 0;
    display: none;
  }
  .nav__dropdown--expanded .nav__dropdown-content {
    display: block;
  }
  .nav__link {
    display: block;
    padding: 14px 24px;
    border-bottom: 1px solid var(--grey-100);
    font-size: 1rem;
  }
  .nav__dropdown-content a {
    padding: 10px 24px 10px 40px;
    border-bottom: 1px solid var(--grey-50);
    font-size: 0.9rem;
  }
  .nav__right {
    gap: 10px;
  }
  .nav__right .btn--sm {
    padding: 10px 18px;
    font-size: 0.85rem;
  }

  /* Hero */
  .hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .hero__image { min-height: 280px; }
  .hero h1 { font-size: clamp(1.75rem, 5vw, 2.5rem); }

  /* Mobile nav backdrop */
  .nav-backdrop {
    position: fixed;
    top: var(--header-h);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-h));
    background: rgba(0,0,0,0.4);
    z-index: 98;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
  }
  .nav-backdrop--active {
    opacity: 1;
    visibility: visible;
  }

  /* Medical team */
  .medical-team-grid { grid-template-columns: 1fr; gap: 24px; }

  /* Steps */
  .steps { grid-template-columns: repeat(2, 1fr); }

  /* Footer */
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats-banner__grid { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
}

/* Mobile phones */
@media (max-width: 640px) {
  :root {
    --header-h: 60px;
  }

  /* Layout */
  .section { padding: 40px 0; }
  .container { padding: 0 16px; }
  .header__inner { padding: 0 16px; padding-right: max(16px, env(safe-area-inset-right)); padding-left: max(16px, env(safe-area-inset-left)); }

  /* Logo */
  .logo__img { height: 32px; }

  /* Hero */
  .hero { padding: 40px 0 48px; }
  .hero__inner { gap: 24px; }
  .hero__image { min-height: 220px; }
  .hero h1 { font-size: 1.7rem; }
  .hero p { font-size: 1rem; }
  .hero__actions { flex-direction: column; gap: 12px; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .hero__stats { flex-direction: row; flex-wrap: wrap; gap: 16px; justify-content: center; }
  .hero__stats .stat { text-align: center; }

  /* Utility bar */
  .utility-bar { padding: 6px 0; }
  .utility-bar__inner { gap: 12px; font-size: 0.7rem; flex-direction: row; justify-content: center; }
  .utility-bar__item { font-size: 0.7rem; }

  /* Section headings */
  .section h2 { font-size: 1.5rem; }
  .section h3 { font-size: 1.2rem; }

  /* Treatment cards */
  .treatment-grid { grid-template-columns: 1fr; gap: 16px; }
  .featured-treatments { grid-template-columns: 1fr; gap: 16px; }
  .treatment-card__image { height: 160px; }
  .treatment-card__image--featured { height: 180px; }
  .treatment-card__image--featured img,
  .treatment-card__image img { height: 100%; object-fit: cover; }
  .treatment-card__body { padding: 16px; }
  .treatment-card__title { font-size: 1.15rem; }
  .treatment-card__features { font-size: 0.85rem; }
  .treatment-card__features li { margin-bottom: 4px; }
  .treatment-card__badge {
    font-size: 0.65rem;
    padding: 3px 10px;
    top: 10px;
    right: 10px;
  }

  /* Steps */
  .steps { grid-template-columns: 1fr; gap: 16px; }
  .step { padding: 20px 16px; }
  .step__number { width: 36px; height: 36px; font-size: 1rem; }

  /* Stats banner */
  .stats-banner__grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .stats-banner__stat { padding: 16px 8px; }
  .stats-banner__number { font-size: 1.5rem; }
  .stats-banner__label { font-size: 0.75rem; }

  /* Medical team */
  .medical-team-grid { grid-template-columns: 1fr; gap: 20px; }
  .doctor-card__image { height: 220px; }
  .doctor-card__body { padding: 16px; }

  /* Values */
  .values-grid { grid-template-columns: 1fr; gap: 16px; }

  /* FAQ */
  .faq-item__question { padding: 14px 16px; font-size: 0.95rem; }
  .faq-item__answer { padding: 0 16px 14px; font-size: 0.9rem; }

  /* CTA banner */
  .cta-banner { padding: 28px 20px; }
  .cta-banner h2 { font-size: 1.4rem; }

  /* Page header */
  .page-header { padding: 48px 0 40px; }
  .page-header h1 { font-size: 1.7rem; }
  .page-header p { font-size: 0.95rem; }

  /* Footer */
  .footer__top { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer__social { justify-content: center; }
  .footer__col a { font-size: 0.9rem; }

  /* Buttons */
  .btn { padding: 10px 22px; font-size: 0.9rem; }
  .btn--sm { padding: 8px 16px; font-size: 0.82rem; }

  /* Quiz/Questionnaire */
  .quiz-card { padding: 20px 16px; }
  .quiz-card h3 { font-size: 1.1rem; }
  .quiz-option { padding: 14px 16px; font-size: 0.95rem; min-height: 48px; }
  .quiz-option__radio { width: 20px; height: 20px; flex-shrink: 0; }
  .quiz-progress { flex-direction: column; gap: 8px; align-items: flex-start; }
  .quiz-progress-bar { width: 100%; }
  .form-input, .form-select, .form-textarea { font-size: 16px; }

  /* Booking calendar */
  #booking-days { grid-template-columns: repeat(3, 1fr) !important; gap: 8px !important; }
  #booking-slots { grid-template-columns: repeat(3, 1fr) !important; gap: 8px !important; }
  #booking-days button { padding: 10px 4px !important; }
  #booking-days button span { font-size: 0.7rem !important; }
  #booking-slots button { padding: 8px 4px !important; font-size: 0.8rem !important; }
  #booking-confirm > div { padding: 16px !important; }
  #booking-confirm input { font-size: 16px !important; }

  /* Legal documents */
  .legal-document { padding: 20px 16px; }
  .legal-document h2 { font-size: 1.15rem; }
  .legal-document h3 { font-size: 1rem; }

  /* Two column */
  .two-col { grid-template-columns: 1fr; gap: 32px; }

  /* Privacy notice on start page */
  .privacy-notice { padding: 16px; font-size: 0.85rem; }
  .privacy-notice h3 { font-size: 1rem; }
}

/* Very small phones */
@media (max-width: 380px) {
  .hero h1 { font-size: 1.5rem; }
  .section h2 { font-size: 1.3rem; }
  .treatment-card__badge { font-size: 0.6rem; padding: 2px 8px; }
  #booking-days { grid-template-columns: repeat(2, 1fr) !important; }
  #booking-slots { grid-template-columns: repeat(2, 1fr) !important; }
  .logo__img { height: 28px; }
  .btn { padding: 10px 18px; font-size: 0.85rem; }
  .utility-bar__inner { gap: 8px; }
  .utility-bar__item svg { width: 12px; height: 12px; }
}

/* ===== LEGAL DOCUMENT STYLES ===== */
.legal-document {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  line-height: 1.7;
  color: var(--grey-700);
}
.legal-document h2 {
  font-family: 'Sora', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--forest);
  margin-top: 32px;
  margin-bottom: 12px;
}
.legal-document h3 {
  font-family: 'Sora', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--forest);
  margin-top: 20px;
  margin-bottom: 8px;
}
.legal-document p { margin-bottom: 12px; }
.legal-document ul, .legal-document ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
.legal-document li { margin-bottom: 6px; }
.legal-document a { color: var(--forest); text-decoration: underline; }
.legal-document strong { color: var(--forest); }
.legal-document hr { margin: 32px 0; border: none; border-top: 1px solid var(--grey-200); }
