/* ============================================================
   Atlanta Medical Clinic – UFE Specialty Website
   Brand: Blue (#1296D8) + Charcoal (#2F2F2F) + Rose Pink (#db2777)
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  /* Brand Blue (from logo) */
  --primary:       #1296D8;   /* Atlanta Medical Clinic signature blue */
  --primary-dark:  #0a72a8;
  --primary-light: #e0f4fd;

  /* Rose / Pink – women's health warmth (KEPT as accent) */
  --accent:        #db2777;
  --accent-light:  #fce7f3;

  /* Charcoal – matches logo "Atlanta" text */
  --charcoal:      #2F2F2F;
  --charcoal-light:#4a4a4a;

  /* Teal – success / positive indicators */
  --teal:          #0d9488;
  --teal-light:    #ccfbf1;

  --text:          #2F2F2F;   /* matches logo charcoal */
  --text-muted:    #6b7280;
  --bg:            #ffffff;
  --bg-soft:       #f0f8fd;   /* very light blue tint, on-brand */
  --bg-gray:       #f9fafb;
  --border:        #e0eef6;   /* blue-tinted border */
  --radius:        12px;
  --radius-lg:     20px;
  --shadow:        0 4px 24px rgba(18,150,216,.10);
  --shadow-lg:     0 12px 48px rgba(18,150,216,.16);
  --font:          'Inter', sans-serif;
  --transition:    .25s ease;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font); }

/* ---------- Typography ---------- */
h1,h2,h3,h4,h5,h6 { font-weight: 700; line-height: 1.25; color: var(--text); }
h1 { font-size: clamp(2rem,5vw,3.25rem); }
h2 { font-size: clamp(1.6rem,4vw,2.4rem); }
h3 { font-size: clamp(1.2rem,3vw,1.6rem); }
h4 { font-size: 1.15rem; }
p  { margin-bottom: 1rem; }
.lead { font-size: 1.15rem; color: var(--text-muted); line-height: 1.8; }
.text-accent { color: var(--accent); }
.text-primary { color: var(--primary); }
.text-teal { color: var(--teal); }
.text-center { text-align: center; }
.text-white { color: #fff; }

/* ---------- Containers ---------- */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-sm { max-width: 780px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 52px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap; /* overridden to normal on small screens */
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-accent {
  background: var(--accent);
  color: #fff;
}
.btn-accent:hover { background: #be185d; color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-teal {
  background: var(--teal);
  color: #fff;
}
.btn-teal:hover { background: #0f766e; color: #fff; transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.7);
}
.btn-outline-white:hover { background: rgba(255,255,255,.15); color: #fff; }

.btn-lg { padding: 18px 36px; font-size: 1.1rem; }
.btn-sm { padding: 10px 20px; font-size: .9rem; }
.btn-full { width: 100%; justify-content: center; }

/* ---------- Navigation ---------- */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 16px rgba(0,0,0,.08);
}
.header-top {
  /* Deep brand-blue bar at top */
  background: #062a40;
  color: #fff;
  text-align: center;
  padding: 8px 24px;
  font-size: .88rem;
}
.header-top a { color: #f9a8d4; font-weight: 600; }   /* pink phone link in top bar */
.header-top a:hover { color: #fff; }

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  max-width: 1140px;
  margin: 0 auto;
  height: 72px;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}
/* .logo img is the real Atlanta Medical Clinic logo */
.logo img {
  height: 52px;
  width: auto;
  display: block;
  /* Subtle drop shadow to make logo pop on white header */
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.08));
  transition: opacity var(--transition);
}
.logo img:hover { opacity: .85; }
/* Legacy fallback classes (not used with real logo) */
.logo-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.4rem;
}
.logo-text { line-height: 1.2; }
.logo-text strong { display: block; color: var(--primary); font-size: 1.05rem; }
.logo-text span { font-size: .8rem; color: var(--text-muted); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  color: var(--text);
  font-size: .9rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--primary); background: var(--primary-light); }

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.phone-link {
  display: flex; align-items: center; gap: 6px;
  color: var(--accent); font-weight: 700; font-size: 1rem;
}
.phone-link:hover { color: var(--primary); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  border-radius: 8px;
}
.hamburger span {
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile Nav Drawer */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 16px 24px 24px;
  gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: var(--text);
  font-weight: 500;
  padding: 12px 16px;
  border-radius: 10px;
  display: block;
}
.mobile-nav a:hover { background: var(--primary-light); color: var(--primary); }
.mobile-nav .btn { margin-top: 12px; }

/* ---------- Hero Call Button (primary standalone CTA) ---------- */
.btn-hero-call {
  background: #fff;
  color: var(--primary);
  border: 2px solid #fff;
  font-weight: 700;
  letter-spacing: .02em;
  box-shadow: 0 4px 24px rgba(0,0,0,.22);
  transition: background .2s, color .2s, transform .15s, box-shadow .2s;
}
.btn-hero-call:hover {
  background: transparent;
  color: #fff;
  box-shadow: 0 6px 32px rgba(0,0,0,.32);
  transform: translateY(-2px);
}
.btn-hero-call i {
  color: var(--accent);
  transition: color .2s;
}
.btn-hero-call:hover i {
  color: #fff;
}

/* ---------- Floating CTA (Mobile) ---------- */
.float-cta {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 900;
  display: none;
  box-shadow: var(--shadow-lg);
  border-radius: 50px;
  min-width: 260px;
  justify-content: center;
}

/* ---------- Hero Sections ---------- */
.hero {
  /* Atlanta brand blue → deep navy → rose/pink accent */
  background: linear-gradient(135deg, #062a40 0%, #0a72a8 45%, #9d174d 100%);
  color: #fff;
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}

/* Photo hero override — full-bleed background image */
.hero.hero-photo {
  background: #062a40;   /* fallback */
  padding: 0;
  min-height: 640px;
  display: flex;
  align-items: stretch;
}
.hero-photo-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-photo-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
.hero-photo-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Left-heavy dark overlay — keeps text readable, reveals photo on right */
  background: linear-gradient(
    100deg,
    rgba(6,42,64,.92) 0%,
    rgba(6,42,64,.82) 40%,
    rgba(6,42,64,.55) 65%,
    rgba(6,42,64,.20) 100%
  );
}
.hero-split {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: center;
  padding: 96px 0 72px;
}
.hero-copy { /* inherits hero white text */ }
.hero-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
.hero-check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  color: var(--text);
  cursor: pointer;
  padding: 6px 0;
}
.hero-check-item input[type="checkbox"] {
  accent-color: var(--accent);
  width: 17px; height: 17px; flex-shrink: 0;
}

/* Photo-section utility — right-side image in 2-col layouts */
.photo-col {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.photo-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.photo-rounded {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.photo-rounded img {
  width: 100%;
  display: block;
  object-fit: cover;
}
.hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -120px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(219,39,119,.30) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(18,150,216,.35) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.30);
  color: #fce7f3;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 span { color: #f9a8d4; }   /* keep pink highlight */
.hero-sub { font-size: 1.15rem; color: rgba(255,255,255,.88); margin-bottom: 36px; max-width: 600px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 48px; }
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.18);
}
.hero-stat { text-align: center; }
.hero-stat strong { display: block; font-size: 2rem; color: #f9a8d4; }  /* pink stats */
.hero-stat span { font-size: .85rem; color: rgba(255,255,255,.78); }

.page-hero {
  /* Brand blue gradient for all inner pages */
  background: linear-gradient(135deg, #062a40 0%, #0a72a8 55%, #1296D8 100%);
  color: #fff;
  padding: 72px 0 60px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(219,39,119,.25) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,.85); font-size: 1.1rem; max-width: 640px; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: .85rem; color: rgba(255,255,255,.65);
  margin-bottom: 16px;
}
.breadcrumb a { color: rgba(255,255,255,.8); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: rgba(255,255,255,.4); }

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 32px;
  transition: all var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.card-icon.purple { background: var(--primary-light); }  /* now brand blue-light */
.card-icon.rose   { background: var(--accent-light); }
.card-icon.teal   { background: var(--teal-light); }
.card-icon.amber  { background: #fef3c7; }

/* ---------- Section Headers ---------- */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .eyebrow {
  display: inline-block;
  color: var(--accent);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p { color: var(--text-muted); max-width: 600px; margin: 0 auto; font-size: 1.05rem; }

/* ---------- Grids ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }

/* ---------- Symptom Cards ---------- */
.symptom-chip {
  background: var(--bg-soft);
  border: 1.5px solid var(--primary-light);
  border-radius: var(--radius);
  padding: 20px;
  display: flex; align-items: flex-start; gap: 14px;
  transition: all var(--transition);
}
.symptom-chip:hover { border-color: var(--accent); background: var(--accent-light); }
.symptom-chip .icon { font-size: 1.6rem; flex-shrink: 0; }
.symptom-chip h4 { font-size: 1rem; margin-bottom: 4px; }
.symptom-chip p  { font-size: .9rem; color: var(--text-muted); margin: 0; }

/* ---------- Checklist ---------- */
.checklist { display: flex; flex-direction: column; gap: 12px; }
.checklist li {
  display: flex; align-items: flex-start; gap: 12px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: .95rem;
  cursor: pointer;
  transition: all var(--transition);
  user-select: none;
}
.checklist li:hover { border-color: var(--primary); background: var(--primary-light); }
.checklist li.checked { border-color: var(--teal); background: var(--teal-light); }
.checklist li input[type="checkbox"] { margin-top: 2px; accent-color: var(--teal); width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- Comparison Table ---------- */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.compare-table th {
  padding: 18px 24px;
  font-size: 1rem;
  text-align: center;
}
.compare-table th:first-child { text-align: left; }
.compare-table th:nth-child(2) {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
}
.compare-table th:nth-child(3) { background: #f3f4f6; }
.compare-table th:nth-child(4) { background: #f3f4f6; }
.compare-table td {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  font-size: .93rem;
  text-align: center;
  vertical-align: middle;
}
.compare-table td:first-child { text-align: left; font-weight: 600; }
.compare-table td:nth-child(2) { background: rgba(124,58,237,.04); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: var(--bg-soft); }
.compare-table tr:hover td:nth-child(2) { background: var(--primary-light); }
.check-yes { color: var(--teal); font-weight: 700; font-size: 1.1rem; }
.check-no  { color: #ef4444; font-weight: 700; font-size: 1.1rem; }
.check-partial { color: #f59e0b; font-weight: 700; }

/* ---------- FAQ Accordion ---------- */
.faq-item {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item.open { border-color: var(--primary); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  background: #fff;
  font-weight: 600;
  font-size: 1rem;
  gap: 16px;
  transition: background var(--transition);
}
.faq-question:hover { background: var(--bg-soft); }
.faq-item.open .faq-question { background: var(--primary-light); color: var(--primary); }
.faq-icon {
  width: 28px; height: 28px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  transition: transform var(--transition);
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--primary); color: #fff; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s ease;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.8;
}
.faq-item.open .faq-answer { max-height: 400px; padding: 0 24px 24px; }

/* ---------- Quiz ---------- */
.quiz-container {
  background: linear-gradient(135deg, var(--bg-soft), #fce7f3);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1.5px solid var(--primary-light);
}
.quiz-progress {
  height: 6px;
  background: var(--border);
  border-radius: 10px;
  margin-bottom: 28px;
  overflow: hidden;
}
.quiz-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 10px;
  transition: width .5s ease;
}
.quiz-step { display: none; }
.quiz-step.active { display: block; animation: fadeIn .3s ease; }
.quiz-question { font-size: 1.15rem; font-weight: 700; margin-bottom: 20px; color: var(--text); }
.quiz-options { display: flex; flex-direction: column; gap: 10px; }
.quiz-option {
  display: flex; align-items: center; gap: 14px;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 20px;
  cursor: pointer;
  transition: all var(--transition);
  font-size: .95rem;
}
.quiz-option:hover { border-color: var(--primary); background: var(--primary-light); }
.quiz-option.selected { border-color: var(--primary); background: var(--primary-light); }
.quiz-option input { display: none; }
.quiz-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; }
.quiz-result { display: none; animation: fadeIn .4s ease; }
.quiz-result.show { display: block; }
.result-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal-light);
  color: var(--teal);
  border: 1.5px solid var(--teal);
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 700;
  margin-bottom: 16px;
}

/* ---------- Forms ---------- */
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--text); }
.form-control {
  width: 100%;
  padding: 13px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: .95rem;
  color: var(--text);
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(124,58,237,.12); }
.form-control::placeholder { color: #9ca3af; }
textarea.form-control { resize: vertical; min-height: 100px; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }

/* ---------- Testimonials ---------- */
.testimonial {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--accent);
  position: relative;
}
.testimonial::before {
  content: '\201C';
  position: absolute;
  top: 16px; right: 24px;
  font-size: 4rem;
  color: var(--accent-light);
  line-height: 1;
  font-family: Georgia, serif;
}
.testimonial-text { font-style: italic; color: var(--text-muted); margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 1.1rem;
  flex-shrink: 0;
}
.author-name { font-weight: 700; font-size: .95rem; }
.author-meta { font-size: .82rem; color: var(--text-muted); }
.stars { color: #f59e0b; font-size: .95rem; margin-bottom: 4px; display: flex; gap: 2px; align-items: center; }
.stars i { font-size: 1rem; }

/* ---------- Trust Bar ---------- */
.trust-bar {
  background: var(--bg-gray);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.trust-items { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px 40px; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 600; color: var(--text-muted); }
.trust-item .icon { font-size: 1.4rem; }

/* ---------- CTA Banners ---------- */
.cta-banner {
  /* Blue primary + pink radial overlay — brand + warmth */
  background: linear-gradient(135deg, #062a40 0%, var(--primary) 60%, #0a72a8 100%);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 0%, rgba(219,39,119,.35) 0%, transparent 60%);
  pointer-events: none;
}
.cta-banner h2 { color: #fff; margin-bottom: 12px; }
.cta-banner p  { color: rgba(255,255,255,.85); margin-bottom: 28px; }
.cta-banner .btn-group { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.cta-accent-banner {
  background: linear-gradient(135deg, var(--accent), #9d174d);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  text-align: center;
  color: #fff;
}
.cta-accent-banner h2 { color: #fff; margin-bottom: 12px; }
.cta-accent-banner p  { color: rgba(255,255,255,.85); margin-bottom: 28px; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: flex; flex-direction: column; gap: 0; }
.step {
  display: flex; gap: 24px; align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.step:last-child { border-bottom: none; }
.step-num {
  width: 48px; height: 48px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; font-weight: 700; font-size: 1.1rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  counter-increment: step;
}
.step-body h4 { margin-bottom: 6px; }
.step-body p  { color: var(--text-muted); margin: 0; font-size: .95rem; }

/* ---------- Badges / Tags ---------- */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.badge-primary { background: var(--primary-light); color: var(--primary); }
.badge-accent  { background: var(--accent-light); color: var(--accent); }
.badge-teal    { background: var(--teal-light); color: var(--teal); }
.badge-amber   { background: #fef3c7; color: #92400e; }

/* ---------- Benefit Pills ---------- */
.benefit-list { display: flex; flex-direction: column; gap: 12px; }
.benefit-item { display: flex; align-items: flex-start; gap: 12px; }
.benefit-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.benefit-text strong { display: block; }
.benefit-text span { font-size: .9rem; color: var(--text-muted); }

/* ---------- Doctor Card ---------- */
.doctor-photo-wrap {
  width: 220px; height: 220px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem;
  flex-shrink: 0;
}
.credential-list { display: flex; flex-direction: column; gap: 8px; }
.credential-item { display: flex; align-items: center; gap: 10px; font-size: .93rem; }
.credential-item .icon { color: var(--primary); font-size: 1.1rem; }

/* ---------- Before / After Comparison ---------- */
.before-after-col {
  display: flex;
  flex-direction: column;
}
.before-after-col > div:last-child {
  flex: 1; /* content area stretches to fill remaining height */
}

/* ---------- Alert Boxes ---------- */
.alert {
  padding: 16px 20px;
  border-radius: var(--radius);
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .93rem;
}
.alert-primary { background: var(--primary-light); border-left: 4px solid var(--primary); color: var(--primary-dark); }
.alert-teal    { background: var(--teal-light); border-left: 4px solid var(--teal); color: #0f766e; }
.alert-rose    { background: var(--accent-light); border-left: 4px solid var(--accent); color: #9d174d; }
.alert-amber   { background: #fef3c7; border-left: 4px solid #f59e0b; color: #92400e; }
.alert .icon   { font-size: 1.2rem; flex-shrink: 0; }

/* ---------- Footer ---------- */
#site-footer {
  /* Deep navy — complements brand blue, darker than logo */
  background: #041d2e;
  color: rgba(255,255,255,.8);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand .logo-text strong { color: #a8daff; }
.footer-brand .logo-text span   { color: rgba(255,255,255,.5); }
.footer-brand p { color: rgba(255,255,255,.6); font-size: .9rem; margin-top: 16px; line-height: 1.7; }
.footer-col h5 { color: #fff; font-size: .95rem; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { color: rgba(255,255,255,.65); font-size: .88rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: #a8daff; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: .88rem; }
.footer-contact-item .icon { color: var(--accent); font-size: 1rem; flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: rgba(255,255,255,.8); }
.disclaimer {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: .8rem;
  color: rgba(255,255,255,.45);
  margin-bottom: 24px;
}

/* ---------- Animations ---------- */
@keyframes fadeIn { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:none; } }
@keyframes fadeInUp { from { opacity:0; transform:translateY(30px); } to { opacity:1; transform:none; } }
@keyframes pulse { 0%,100% { transform:scale(1); } 50% { transform:scale(1.04); } }
.animate-fade-in { animation: fadeIn .6s ease both; }
.animate-fade-up { animation: fadeInUp .7s ease both; }
.pulse { animation: pulse 2.5s infinite; }

/* ---------- Utility ---------- */
.mt-4  { margin-top: 1rem; }
.mt-6  { margin-top: 1.5rem; }
.mt-8  { margin-top: 2rem; }
.mb-4  { margin-bottom: 1rem; }
.mb-6  { margin-bottom: 1.5rem; }
.mb-8  { margin-bottom: 2rem; }
.pt-0  { padding-top: 0; }
.pb-0  { padding-bottom: 0; }
.rounded-full { border-radius: 50%; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }
.bg-soft { background: var(--bg-soft); }
.bg-gray { background: var(--bg-gray); }
.divider { height: 1px; background: var(--border); margin: 32px 0; }
.two-col-text { columns: 2; column-gap: 40px; }
.highlight-box {
  background: var(--primary-light);
  border: 1.5px solid rgba(18,150,216,.2);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
}
.highlight-box.teal {
  background: var(--teal-light);
  border-color: rgba(13,148,136,.2);
}
.highlight-box.rose {
  background: var(--accent-light);
  border-color: rgba(219,39,119,.2);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .hero-split { grid-template-columns: 1fr 320px; gap: 28px; }
}

@media (max-width: 768px) {
  /* Nav */
  .nav-links, .header-cta .btn { display: none; }
  .hamburger { display: flex; }
  .float-cta { display: flex; }

  /* Header top bar — hide on mobile (phone number in sticky bar) */
  .header-top { display: none; }

  /* Grids → single column */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .symptoms-intro { grid-template-columns: 1fr !important; gap: 32px !important; }
  .symptoms-intro-photo { max-height: 320px !important; aspect-ratio: 4/3 !important; }
  .symptoms-photo-banner { height: 280px !important; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }

  /* Hero */
  .hero { padding: 48px 0 40px; }
  .hero-split { grid-template-columns: 1fr; padding: 48px 0 40px; }
  .hero-card { display: none; }
  .hero.hero-photo { min-height: auto; }
  .hero-photo-overlay {
    background: linear-gradient(180deg, rgba(6,42,64,.92) 0%, rgba(6,42,64,.82) 100%);
  }
  .hero-sub { font-size: 1rem; }

  /* Hero stats — stack vertically, centered */
  .hero-stats {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    padding-top: 24px;
  }
  .hero-stat { display: flex; align-items: center; gap: 12px; text-align: left; }
  .hero-stat strong { font-size: 1.4rem; display: inline; }

  /* Hero CTA — full width */
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }

  /* Sections */
  .section { padding: 48px 0; }
  .section-header { margin-bottom: 36px; }
  .section-sm { padding: 36px 0; }

  /* Cards */
  .card { padding: 24px 20px; }
  .cta-banner, .cta-accent-banner { padding: 32px 20px; }
  .cta-banner .btn-group { flex-direction: column; align-items: stretch; }
  .cta-banner .btn-group .btn { justify-content: center; }

  /* Trust bar — tighter */
  .trust-items { gap: 20px; justify-content: flex-start; }

  /* Before/After card — reduce photo height and content padding on mobile */
  .before-after-col > div:first-child { height: 200px !important; }
  .before-after-col > div:last-child  { padding: 20px 20px 28px !important; }

  /* Insurance strip — stack vertically */
  .insurance-strip { flex-direction: column !important; text-align: center; }
  .insurance-strip > div:last-child { width: 100%; }
  .insurance-strip > div:last-child .btn { width: 100%; justify-content: center; }

  /* Credibility strip — hide dividers, tighter gap */
  .cred-divider { display: none !important; }

  /* Doctor badge — prevent overflow */
  .doctor-badge-pin { right: 0 !important; bottom: -12px !important; font-size: .72rem !important; padding: 8px 12px !important; }

  /* Misc */
  .compare-table { display: block; overflow-x: auto; }
  .quiz-container { padding: 24px; }
  .two-col-text { columns: 1; }
  .doctor-photo-wrap { width: 160px; height: 160px; font-size: 3.5rem; }
  .highlight-box { padding: 20px; }
}

@media (max-width: 480px) {
  /* Containers — tighter padding on very small screens */
  .container, .container-sm { padding: 0 16px; }

  /* Buttons */
  .btn { white-space: normal; text-align: center; }
  .btn-lg { padding: 15px 20px; font-size: .97rem; }

  /* Typography */
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.4rem; }
  .lead { font-size: 1rem; }

  /* Page hero */
  .page-hero { padding: 48px 0 40px; }
  .page-hero p { font-size: 1rem; }

  /* Symptom photo banner — shorter on phones */
  .symptoms-photo-banner { height: 240px !important; }

  /* Credibility strip — 2-col wrap */
  .cred-strip-inner { flex-direction: column !important; align-items: flex-start !important; gap: 16px !important; }

  /* Section headers */
  .section-header { margin-bottom: 28px; }

  /* Cards full padding reduction */
  .card { padding: 20px 16px; }

  /* Trust bar — single column */
  .trust-items { flex-direction: column; gap: 14px; }
  .trust-item { font-size: .88rem; }
}

/* ---------- Sticky Mobile Call Bar ---------- */
#mobile-call-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  border-top: 2px solid var(--border);
  box-shadow: 0 -4px 24px rgba(0,0,0,.12);
  padding: 0;
  height: 64px;
}
#mobile-call-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 50%;
  height: 100%;
  font-weight: 700;
  font-size: .93rem;
  text-decoration: none;
  transition: opacity .15s;
  flex-direction: row;
}
#mobile-call-bar a:active { opacity: .8; }
#mobile-call-link {
  background: var(--accent);
  color: #fff;
  border-right: 1px solid rgba(255,255,255,.25);
}
#mobile-call-link i { font-size: 1rem; }
#mobile-book-link {
  background: var(--primary);
  color: #fff;
}
#mobile-book-link i { font-size: 1rem; }
@media (max-width: 768px) {
  #mobile-call-bar { display: flex; }
  body { padding-bottom: 64px; }
}

/* ---------- Image Performance & Lazy-Load Fade-In ---------- */
/* All images: hardware-accelerated rendering */
img {
  max-width: 100%;
  height: auto;
  display: block;
  /* Smooth sub-pixel rendering */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* Lazy-load fade-in: images start invisible and fade in once loaded */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.4s ease;
}
img[loading="lazy"].loaded,
img[loading="lazy"][data-loaded] {
  opacity: 1;
}

/* Native lazy-load polyfill via Intersection Observer (triggered in main.js) */
/* Fallback: ensure images are visible if JS is disabled */
@media (prefers-reduced-motion: reduce) {
  img[loading="lazy"] { opacity: 1; transition: none; }
}

/* Hero images: always fully visible — no fade-in delay */
.hero-photo-bg img,
.hero-photo img {
  opacity: 1 !important;
  transition: none !important;
}

/* Aspect-ratio placeholders to prevent layout shift (CLS) */
.img-ratio-16-9 { aspect-ratio: 16/9; }
.img-ratio-4-3  { aspect-ratio: 4/3; }
.img-ratio-1-1  { aspect-ratio: 1/1; }
.img-ratio-3-2  { aspect-ratio: 3/2; }

/* Skeleton shimmer for image containers while loading */
@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}
.img-skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
  background-size: 800px 100%;
  animation: shimmer 1.4s infinite linear;
}

/* ============================================================
   FIBROID ANATOMY VISUALIZER
   ============================================================ */

/* ── Pulse rings on fibroid nodes ── */
@keyframes fibroidPulse {
  0%   { r: 12; opacity: .7; }
  70%  { r: 22; opacity: 0;  }
  100% { r: 12; opacity: 0;  }
}
@keyframes fibroidPulse2 {
  0%   { r: 18; opacity: .4; }
  70%  { r: 32; opacity: 0;  }
  100% { r: 18; opacity: 0;  }
}

.fibroid-node .pulse-ring {
  animation: fibroidPulse 2.2s ease-out infinite;
}
.fibroid-node .pulse-ring-2 {
  animation: fibroidPulse2 2.2s ease-out infinite;
  animation-delay: .4s;
}

/* Stagger delays per node */
#node-subserosal   .pulse-ring  { animation-delay: 0s;    }
#node-subserosal   .pulse-ring-2{ animation-delay: .4s;   }
#node-intramural   .pulse-ring  { animation-delay: .6s;   }
#node-intramural   .pulse-ring-2{ animation-delay: 1s;    }
#node-intramural-r .pulse-ring  { animation-delay: 1.1s;  }
#node-intramural-r .pulse-ring-2{ animation-delay: 1.5s;  }
#node-submucosal   .pulse-ring  { animation-delay: .3s;   }
#node-submucosal   .pulse-ring-2{ animation-delay: .7s;   }
#node-bladder      .pulse-ring  { animation-delay: 1.4s;  }

/* ── Area glow breathe ── */
@keyframes areaGlowBreath {
  0%,100% { opacity: .5; rx: 65; ry: 50; }
  50%     { opacity: .85; rx: 70; ry: 55; }
}
.anat-area-glow {
  animation: areaGlowBreath 3s ease-in-out infinite;
}

/* ── Bladder pressure pulse ── */
@keyframes bladderPulse {
  0%,100% { opacity: .5; }
  50%     { opacity: .9; }
}
.anat-bladder-pulse {
  animation: bladderPulse 2.8s ease-in-out infinite;
}

/* ── Dashed pain lines marching ── */
@keyframes dashMarch {
  to { stroke-dashoffset: -24; }
}
.pain-dash {
  stroke-dasharray: 4 4;
  stroke-dashoffset: 0;
  animation: dashMarch 1.2s linear infinite;
}

/* ── Callout cards ── */
.anatomy-callout {
  opacity: 0;
  transform: translateX(-18px);
  transition: opacity .5s ease, transform .5s ease;
}
.anatomy-callout.right {
  transform: translateX(18px);
}
.anatomy-callout.visible {
  opacity: 1;
  transform: none;
}

.callout-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.callout-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 4px;
  box-shadow: 0 0 8px currentColor;
}
.callout-title {
  font-size: .92rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  line-height: 1.3;
}
.callout-desc {
  font-size: .8rem;
  color: rgba(255,255,255,.62);
  line-height: 1.55;
}

/* Connector lines */
.callout-line {
  height: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,.15), rgba(255,255,255,.04));
  margin: 8px 0 6px;
  border-radius: 2px;
}
.callout-line.right {
  background: linear-gradient(270deg, rgba(255,255,255,.15), rgba(255,255,255,.04));
}

/* ── Hover: highlight fibroid node ── */
.fibroid-node:hover circle:last-of-type {
  filter: url(#glowStrong);
  transform: scale(1.25);
  transform-origin: center;
  transition: transform .2s ease;
}

/* ── Fibroid key ── */
.fibroid-key {
  padding-top: 16px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .anatomy-wrap {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }
  .anatomy-callouts {
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 12px !important;
    padding: 0 !important;
    justify-content: center;
    width: 100%;
  }
  .anatomy-callout {
    flex: 1;
    min-width: 140px;
    max-width: 200px;
    background: rgba(255,255,255,.05);
    border-radius: 10px;
    padding: 12px;
  }
  .anatomy-callout.left  { transform: translateY(12px); }
  .anatomy-callout.right { transform: translateY(12px); }
  .callout-line { display: none; }
  .anatomy-svg-wrap { width: 260px !important; }
  #fibroid-anatomy { padding: 56px 0; }
  .fibroid-key { flex-wrap: wrap; gap: 10px !important; }
}

/* ---------- Print optimizations ---------- */
@media print {
  img[loading="lazy"] { opacity: 1 !important; }
  #mobile-call-bar, .float-cta, .hamburger { display: none !important; }
}
