/* ===================================================================
   TIANE CAMARGO COLOPROCTOLOGIA — Design System
   Paleta: Teal + Dourado | Tipografia: Playfair + Inter
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* ── Tokens ────────────────────────────────────────────────────────── */
:root {
  --primary: #0D7377;
  --primary-dark: #095456;
  --primary-light: #14A3A8;
  --primary-bg: #E8F8F8;
  --accent: #C9A96E;
  --accent-light: #E8D5A8;
  --accent-bg: #FDF8EE;
  --text: #1A2332;
  --text-light: #5A6B7D;
  --text-muted: #8A97A8;
  --bg: #FFFFFF;
  --bg-alt: #F7F9FC;
  --bg-dark: #1A2332;
  --surface: #FFFFFF;
  --surface-elevated: #FFFFFF;
  --border: #E2E8F0;
  --header-bg: rgba(255,255,255,0.92);
  --header-border: rgba(226,232,240,0.9);
  --overlay: rgba(15,23,34,0.42);
  --success: #25D366;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-card: 0 2px 8px rgba(13,115,119,0.06);
  --shadow-drawer: 0 24px 60px rgba(15,23,34,0.18);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 50%;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
  --header-height: 80px;
}

html[data-theme="dark"] {
  --primary: #34B7BC;
  --primary-dark: #1A8F94;
  --primary-light: #66D9DD;
  --primary-bg: #123337;
  --accent: #D5B57B;
  --accent-light: #8C7750;
  --accent-bg: #2C2418;
  --text: #E7EEF6;
  --text-light: #C0CAD8;
  --text-muted: #94A3B8;
  --bg: #0F1722;
  --bg-alt: #16202D;
  --bg-dark: #08101A;
  --surface: #111C29;
  --surface-elevated: #182434;
  --border: #2B3A4B;
  --header-bg: rgba(10,18,29,0.86);
  --header-border: rgba(43,58,75,0.85);
  --overlay: rgba(4,10,18,0.62);
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.35);
  --shadow-md: 0 10px 24px rgba(0,0,0,0.28);
  --shadow-lg: 0 18px 48px rgba(0,0,0,0.34);
  --shadow-card: 0 8px 24px rgba(0,0,0,0.18);
  --shadow-drawer: 0 28px 70px rgba(0,0,0,0.42);
}

/* ── Reset ─────────────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Typography ────────────────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; line-height: 1.25; color: var(--text); }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }
p { margin-bottom: 1rem; color: var(--text-light); }

.section-label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.section-title { margin-bottom: 1rem; }
.section-subtitle { font-size: 1.1rem; color: var(--text-light); max-width: 600px; margin-bottom: 2.5rem; }

/* ── Layout ────────────────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section--alt { background: var(--bg-alt); }
.section--teal { background: var(--primary); color: #fff; }
.section--teal h2, .section--teal h3, .section--teal p { color: #fff; }
.section--dark { background: var(--bg-dark); color: #fff; }

.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.flex { display: flex; gap: 1.5rem; }
.flex--center { align-items: center; justify-content: center; }
.flex--between { align-items: center; justify-content: space-between; }

.text-center { text-align: center; }

/* ── Header / Navigation ──────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--header-border);
  height: var(--header-height);
  overflow: visible;
  isolation: isolate;
  transition: var(--transition);
}
.header.scrolled { box-shadow: 0 12px 30px rgba(15,23,34,0.08); }
.header__inner { display: flex; align-items: center; justify-content: flex-start; gap: 1rem; height: 100%; }
.header__logo { display: flex; align-items: center; gap: 0.5rem; }
.header__logo img,
.header__logo-mark {
  width: clamp(220px, 20vw, 280px);
  height: auto;
  display: block;
  flex: 0 0 auto;
}
.header__logo-mark svg { display: block; width: 100%; height: auto; }
.header__logo-text { font-family: 'Playfair Display', serif; font-size: 1.35rem; font-weight: 700; color: var(--primary); }
.header__logo-sub { font-size: 0.7rem; color: var(--text-muted); letter-spacing: 1px; text-transform: uppercase; display: block; margin-top: -2px; }
.header__nav { margin-left: auto; position: relative; }
.header__controls { display: flex; align-items: center; gap: 0.75rem; margin-left: 1rem; position: relative; z-index: 3; }
.header__cta { margin-left: 0 !important; }
.nav__list { display: flex; align-items: center; gap: 2rem; }
.nav__link { font-size: 0.9rem; font-weight: 500; color: var(--text-light); position: relative; padding: 0.25rem 0; }
.nav__link:hover, .nav__link--active { color: var(--primary); }
.nav__link::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: var(--primary); transition: var(--transition); }
.nav__link:hover::after, .nav__link--active::after { width: 100%; }
.nav__link:focus-visible,
.btn:focus-visible,
.faq-question:focus-visible,
.carousel-btn:focus-visible,
.whatsapp-float:focus-visible,
.nav__toggle:focus-visible,
.nav__dropdown-toggle:focus-visible,
.theme-toggle:focus-visible {
  outline: 3px solid rgba(13,115,119,0.25);
  outline-offset: 3px;
}

.theme-toggle {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-elevated);
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.theme-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.theme-toggle svg { width: 18px; height: 18px; stroke: currentColor; }

/* Dropdown */
.nav__dropdown { position: relative; }
.nav__dropdown-toggle { cursor: pointer; display: flex; align-items: center; gap: 4px; }
.nav__dropdown-toggle::after { content: '▾'; font-size: 0.65rem; transition: var(--transition); }
.nav__dropdown.is-open .nav__dropdown-toggle::after { transform: rotate(180deg); }
.nav__dropdown-menu {
  position: absolute; top: calc(100% + 12px); left: -1rem;
  background: var(--surface-elevated); border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  padding: 0.75rem 0; min-width: 220px; opacity: 0; visibility: hidden;
  transform: translateY(-8px); transition: var(--transition);
  border: 1px solid var(--border);
}
.nav__dropdown:hover .nav__dropdown-menu,
.nav__dropdown:focus-within .nav__dropdown-menu,
.nav__dropdown.is-open .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__dropdown-menu a { display: block; padding: 0.5rem 1.25rem; font-size: 0.85rem; color: var(--text-light); }
.nav__dropdown-menu a:hover { background: var(--primary-bg); color: var(--primary); }

/* Mobile menu */
.nav__toggle { display: none; position: relative; flex-direction: column; justify-content: center; gap: 5px; width: 28px; cursor: pointer; }
.nav__toggle span { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }
.nav__toggle.is-active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__toggle.is-active span:nth-child(2) { opacity: 0; }
.nav__toggle.is-active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.nav__overlay {
  position: fixed;
  inset: 0;
  background: var(--overlay);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 1900;
}
.nav__overlay.active {
  opacity: 1;
  visibility: visible;
}
.nav__mobile-header,
.nav__mobile-utility { display: none; }

/* ── Buttons ───────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.75rem; border-radius: var(--radius-sm);
  font-size: 0.9rem; font-weight: 600; letter-spacing: 0.3px;
  transition: var(--transition); white-space: nowrap;
}
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--secondary { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn--secondary:hover { background: var(--primary); color: #fff; }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: #b8963e; transform: translateY(-2px); }
.btn--whatsapp { background: var(--success); color: #fff; font-weight: 700; }
.btn--whatsapp:hover { background: #1db954; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(37,211,102,0.35); }
.btn--ghost { background: rgba(255,255,255,0.15); color: #fff; border: 1px solid rgba(255,255,255,0.3); }
.btn--ghost:hover { background: rgba(255,255,255,0.25); }
.btn--sm { padding: 0.6rem 1.25rem; font-size: 0.8rem; }
.btn--lg { padding: 1rem 2.25rem; font-size: 1rem; }

/* ── Hero ──────────────────────────────────────────────────────────── */
.hero {
  min-height: calc(100vh - var(--header-height));
  padding-top: calc(var(--header-height) + 3rem);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--bg) 55%, var(--primary-bg) 100%);
}
.hero__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.hero__content { position: relative; z-index: 2; }
.hero__label { display: inline-block; background: var(--accent-bg); color: var(--accent); font-size: 0.8rem; font-weight: 600; padding: 0.4rem 1rem; border-radius: 50px; margin-bottom: 1.25rem; border: 1px solid var(--accent-light); }
.hero__title { margin-bottom: 1.25rem; }
.hero__title span { color: var(--primary); }
.hero__subtitle { font-size: 1.15rem; color: var(--text-light); margin-bottom: 2rem; max-width: 500px; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__image { position: relative; }
.hero__image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.hero__image-badge {
  position: absolute; bottom: 2rem; left: -2rem;
  background: var(--surface-elevated); padding: 1rem 1.5rem; border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 0.75rem;
}
.hero__image-badge .stars { color: #F59E0B; font-size: 0.9rem; }
.hero__image-badge .text { font-size: 0.8rem; color: var(--text-light); }

/* ── Cards ─────────────────────────────────────────────────────────── */
.card {
  background: var(--bg); border-radius: var(--radius-md);
  padding: 2rem; border: 1px solid var(--border);
  transition: var(--transition); position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary-bg); }
.card__icon {
  width: 56px; height: 56px; border-radius: var(--radius-md);
  background: var(--primary-bg); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1.25rem;
}
.card__icon--accent { background: var(--accent-bg); color: var(--accent); }
.card__title { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 1.05rem; margin-bottom: 0.5rem; color: var(--text); }
.card__text { font-size: 0.9rem; color: var(--text-light); line-height: 1.6; }
.card__link { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--primary); font-size: 0.85rem; font-weight: 600; margin-top: 1rem; }
.card__link:hover { gap: 0.6rem; }
.card__link::after { content: '→'; transition: var(--transition); }

/* Disease mini-card */
.disease-card {
  display: flex; align-items: center; gap: 1rem;
  background: var(--bg); border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem; border: 1px solid var(--border);
  transition: var(--transition); cursor: pointer;
}
.disease-card:hover { border-color: var(--primary); box-shadow: var(--shadow-card); transform: translateY(-2px); }
.disease-card__icon { width: 44px; height: 44px; border-radius: var(--radius-sm); background: var(--primary-bg); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.disease-card__title { font-weight: 600; font-size: 0.95rem; }

/* ── Differentials ─────────────────────────────────────────────────── */
.differential {
  text-align: center; padding: 2.5rem 2rem;
  border-radius: var(--radius-md); background: var(--bg);
  border: 1px solid var(--border); transition: var(--transition);
}
.differential:hover { border-color: var(--accent-light); box-shadow: var(--shadow-card); }
.differential__icon {
  width: 64px; height: 64px; border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--accent-bg), var(--accent-light));
  color: var(--accent); display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin: 0 auto 1.25rem;
}
.differential__title { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 1rem; margin-bottom: 0.5rem; }
.differential__text { font-size: 0.85rem; color: var(--text-light); }

/* ── Testimonials ──────────────────────────────────────────────────── */
.testimonial {
  background: var(--bg); border-radius: var(--radius-md);
  padding: 2rem; border: 1px solid var(--border);
  position: relative;
}
.testimonial__stars { color: #F59E0B; margin-bottom: 1rem; font-size: 1rem; letter-spacing: 2px; }
.testimonial__text { font-size: 0.95rem; font-style: italic; color: var(--text-light); margin-bottom: 1.25rem; line-height: 1.7; }
.testimonial__author { font-weight: 600; font-size: 0.85rem; color: var(--text); }
.testimonial__source { font-size: 0.75rem; color: var(--text-muted); }

/* ── Location ──────────────────────────────────────────────────────── */
.location__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: stretch; }
.location__map { border-radius: var(--radius-md); overflow: hidden; min-height: 350px; }
.location__map iframe { width: 100%; height: 100%; border: 0; }
.location__info { display: flex; flex-direction: column; justify-content: center; gap: 1.5rem; }
.location__item { display: flex; gap: 1rem; align-items: flex-start; }
.location__icon { width: 44px; height: 44px; border-radius: var(--radius-sm); background: var(--primary-bg); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.location__label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); font-weight: 600; }
.location__value { font-weight: 600; color: var(--text); font-size: 0.95rem; }

/* ── CTA Section ───────────────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  text-align: center; padding: 4rem 0;
}
.cta-section h2 { color: #fff; margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,0.8); max-width: 500px; margin: 0 auto 2rem; }
.cta-section .btn-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Footer ────────────────────────────────────────────────────────── */
.footer { background: var(--bg-dark); color: rgba(255,255,255,0.7); padding: 4rem 0 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer__brand-logo { margin-bottom: 1rem; }
.footer__brand-text { font-size: 0.85rem; margin-top: 1rem; line-height: 1.6; color: rgba(255,255,255,0.5); }
.footer__heading { color: #fff; font-family: 'Inter', sans-serif; font-weight: 700; font-size: 0.9rem; margin-bottom: 1.25rem; text-transform: uppercase; letter-spacing: 1px; }
.footer__links li { margin-bottom: 0.6rem; }
.footer__links a { font-size: 0.85rem; color: rgba(255,255,255,0.6); }
.footer__links a:hover { color: var(--primary-light); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.footer__socials { display: flex; gap: 1rem; }
.footer__socials a { width: 36px; height: 36px; border-radius: var(--radius-full); background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.6); font-size: 0.9rem; transition: var(--transition); }
.footer__socials a:hover { background: var(--primary); color: #fff; }

/* ── WhatsApp Float ────────────────────────────────────────────────── */
.whatsapp-float {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 999;
  width: 60px; height: 60px; border-radius: var(--radius-full);
  background: var(--success); color: #fff; font-size: 1.75rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: var(--transition);
  animation: pulse-whatsapp 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 25px rgba(37,211,102,0.5); }
@keyframes pulse-whatsapp {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 30px rgba(37,211,102,0.6); }
}

/* ── Breadcrumb ────────────────────────────────────────────────────── */
.breadcrumb { font-size: 0.85rem; margin-bottom: 1.5rem; }
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: rgba(255,255,255,0.5); margin: 0 0.5rem; }
.breadcrumb .current { color: #fff; font-weight: 500; }

/* ── Page Hero (disease/procedure pages) ──────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: calc(var(--header-height) + 3rem) 0 3rem;
  color: #fff;
}
.page-hero h1 { color: #fff; margin-bottom: 0.75rem; }
.page-hero p { color: rgba(255,255,255,0.85); font-size: 1.1rem; max-width: 600px; }

/* ── Content Layout (article pages) ───────────────────────────────── */
.content-layout { display: grid; grid-template-columns: 1fr 320px; gap: 3rem; }
.content-layout--single { grid-template-columns: 1fr; }
.content-main { min-width: 0; } /* Prevent grid blowout from carousels */
.content-main h2 { margin: 2.5rem 0 1rem; font-size: 1.5rem; }
.content-main h3 { margin: 2rem 0 0.75rem; font-size: 1.2rem; }
.content-main p { font-size: 1rem; line-height: 1.8; margin-bottom: 1.25rem; }
.content-main ul, .content-main ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.content-main li { margin-bottom: 0.5rem; color: var(--text-light); font-size: 0.95rem; list-style: disc; }

/* ── About Page ─────────────────────────────────────────────────────── */
.about-page__main {
  max-width: 900px;
  margin: 0 auto;
}

.about-page__intro {
  align-items: center;
  gap: 4rem;
}

.about-page__credentials {
  margin-bottom: 1.5rem;
  color: var(--primary);
  font-weight: 600;
}

.about-page__section {
  margin-top: 4rem;
}

.about-page__section-heading {
  margin-bottom: 2rem !important;
}

.about-page__lead {
  max-width: 700px;
  margin: 0 auto 2rem !important;
}

.about-page__pillar {
  text-align: center;
}

.about-page__pillar-icon {
  margin-inline: auto;
  font-size: 2rem;
}

.about-page__list {
  margin-top: 1rem !important;
}

.about-page__instagram {
  margin-top: 4rem;
  text-align: center;
}

.about-page__instagram-title {
  margin-bottom: 1rem !important;
}

.about-page__instagram-copy {
  margin-bottom: 2rem !important;
  color: var(--text-muted);
}

.about-page__instagram-link {
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.about-page__instagram-stats {
  margin-top: -1rem;
  margin-bottom: 2rem !important;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Video Float */
.video-float {
  float: right;
  width: 280px;
  margin: 0 0 2rem 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* Sidebar */
.sidebar { position: sticky; top: calc(var(--header-height) + 2rem); }
.sidebar__card { background: var(--bg-alt); border-radius: var(--radius-md); padding: 1.5rem; margin-bottom: 1.5rem; border: 1px solid var(--border); }
.sidebar__card h4 { margin-bottom: 1rem; font-size: 1rem; }
.sidebar__card a { display: block; padding: 0.5rem 0; font-size: 0.9rem; color: var(--text-light); border-bottom: 1px solid var(--border); }
.sidebar__card a:last-child { border: none; }
.sidebar__card a:hover { color: var(--primary); }
.sidebar__cta { background: var(--primary); color: #fff; border-radius: var(--radius-md); padding: 2rem; text-align: center; }
.sidebar__cta h4 { color: #fff; margin-bottom: 0.75rem; }
.sidebar__cta p { color: rgba(255,255,255,0.8); font-size: 0.85rem; margin-bottom: 1rem; }

/* ── Symptom List ──────────────────────────────────────────────────── */
.symptom-list { margin: 1.5rem 0; }
.symptom-item { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 0; border-bottom: 1px solid var(--border); }
.symptom-item:last-child { border: none; }
.symptom-check { width: 28px; height: 28px; border-radius: var(--radius-full); background: var(--primary-bg); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 0.8rem; flex-shrink: 0; }
.symptom-text { font-weight: 500; font-size: 0.95rem; }

/* ── FAQ Accordion ─────────────────────────────────────────────────── */
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-md); margin-bottom: 0.75rem; overflow: hidden; }
.faq-question {
  width: 100%; padding: 1.25rem 1.5rem; display: flex; justify-content: space-between; align-items: center;
  font-weight: 600; font-size: 0.95rem; color: var(--text); text-align: left;
  background: var(--bg); cursor: pointer; transition: var(--transition);
}
.faq-question:hover { background: var(--bg-alt); }
.faq-question .icon { color: var(--primary); font-size: 1.2rem; transition: var(--transition); }
.faq-item.active .faq-question .icon { transform: rotate(180deg); }
.faq-answer { padding: 0 1.5rem 1.25rem; font-size: 0.9rem; color: var(--text-light); line-height: 1.7; display: none; }
.faq-item.active .faq-answer { display: block; }

/* ── Highlight Box ─────────────────────────────────────────────────── */
.highlight-box {
  background: var(--accent-bg); border: 2px solid var(--accent-light);
  border-radius: var(--radius-md); padding: 2rem; margin: 2rem 0;
  text-align: center;
}
.highlight-box h3 { color: var(--accent); font-size: 1.75rem; margin-bottom: 0.5rem; }
.highlight-box p { color: var(--text-light); }

/* ── Empathy Card ──────────────────────────────────────────────────── */
.empathy-card {
  margin-top: 4rem;
  padding: 3rem;
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid rgba(13, 115, 119, 0.16);
  background: linear-gradient(155deg, #f3fbfb 0%, #eaf6f6 54%, #f9fcfc 100%);
  box-shadow: var(--shadow-card);
}
.empathy-card h2 {
  color: #0b6e73;
  margin-bottom: 1.5rem;
}
.empathy-card__content {
  max-width: 650px;
  margin: 0 auto;
  text-align: left;
}
.empathy-card__content p {
  color: #294348;
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 1.35rem;
}
.empathy-card__content p:last-child { margin-bottom: 0; }
.empathy-card__content strong { color: #10262b; }
.empathy-card .btn { margin-top: 2rem; }

html[data-theme="dark"] .empathy-card {
  border-color: rgba(104, 214, 218, 0.22);
  background: linear-gradient(160deg, #112b2f 0%, #16363a 52%, #1b4044 100%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
}
html[data-theme="dark"] .empathy-card h2 { color: #87eef0; }
html[data-theme="dark"] .empathy-card__content p,
html[data-theme="dark"] .empathy-card__content strong { color: #f7fbff; }

/* ── About Video ────────────────────────────────────────────────────── */
.about-video {
  display: flex;
  justify-content: center;
}

.video-thumbnail-container {
  width: 100%;
  max-width: 350px;
  aspect-ratio: 9 / 16;
  margin: 0 auto;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: #000;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-thumbnail-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.88;
  transition: opacity 0.3s ease;
}

.video-thumbnail-container:hover,
.video-thumbnail-container:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.18);
}

.video-thumbnail-container:hover video,
.video-thumbnail-container:focus-visible video {
  opacity: 1;
}

.play-btn-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 72px;
  height: 72px;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  transition: transform 0.3s ease, background 0.3s ease;
}

.play-btn-overlay svg {
  width: 32px;
  height: 32px;
  margin-left: 4px;
}

.video-thumbnail-container:hover .play-btn-overlay,
.video-thumbnail-container:focus-visible .play-btn-overlay {
  transform: translate(-50%, -50%) scale(1.08);
  background: rgba(255, 255, 255, 0.3);
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.video-modal.active {
  opacity: 1;
  visibility: visible;
}

.video-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(3, 8, 12, 0.84);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.video-modal__content {
  position: relative;
  z-index: 1;
  width: min(100%, 460px);
  max-height: 90vh;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #000;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.48);
  transform: scale(0.96);
  transition: transform 0.35s ease;
}

.video-modal.active .video-modal__content {
  transform: scale(1);
}

.video-modal__content video {
  width: 100%;
  max-height: 90vh;
  display: block;
  object-fit: contain;
}

.video-modal__player {
  position: relative;
}

/* Brand signature shown only at the opening of the presentation video. */
.video-logo-overlay {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  width: min(44%, 180px);
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 16, 22, 0.46);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  pointer-events: none;
  opacity: 0;
  transform: translateY(8px) scale(0.96);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.video-logo-overlay.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.video-logo-overlay img {
  display: block;
  width: 100%;
  height: auto;
}

.video-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
}

.video-modal__close:hover,
.video-modal__close:focus-visible {
  background: var(--primary);
  transform: rotate(90deg);
}

body.video-modal-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .video-logo-overlay {
    top: 14px;
    left: 14px;
    width: min(52%, 160px);
    padding: 10px 12px;
    border-radius: 16px;
  }
}

/* ── Instagram Carousel ────────────────────────────────────────────── */
.ig-carousel-wrapper {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.ig-carousel-wrapper::-webkit-scrollbar { display: none; }
.ig-post {
  flex: 0 0 auto;
  width: 200px;
  height: 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  scroll-snap-align: start;
  box-shadow: var(--shadow-sm);
  background: var(--surface);
}
.ig-post img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ig-post__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem 0.9rem 0.85rem;
  background: linear-gradient(180deg, rgba(7,16,24,0.04) 0%, rgba(7,16,24,0.82) 100%);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: left;
  text-shadow: 0 2px 8px rgba(0,0,0,0.35);
}
.ig-post:hover .ig-post__caption,
.ig-post:focus-visible .ig-post__caption {
  background: linear-gradient(180deg, rgba(7,16,24,0.08) 0%, rgba(7,16,24,0.9) 100%);
}

/* ── Animations ────────────────────────────────────────────────────── */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── Video Carousel ────────────────────────────────────────────────── */
.video-carousel-wrapper {
  position: relative; margin: 3rem 0; background: var(--bg-alt);
  padding: 3rem 1.5rem; border-radius: var(--radius-lg); border: 1px solid var(--border);
}
.video-carousel-header { text-align: center; margin-bottom: 2rem; }
.video-carousel-header h3 { color: var(--primary-dark); font-size: 1.5rem; margin-bottom: 0.5rem; }
.video-carousel-container {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1.5rem;
  padding-bottom: 1.5rem; scrollbar-width: none; -ms-overflow-style: none;
}
.video-carousel-container::-webkit-scrollbar { display: none; }
.video-card {
  flex: 0 0 280px; scroll-snap-align: start; background: var(--bg);
  border: 1px solid var(--border); border-radius: var(--radius-md);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.video-card video { width: 100%; display: block; border-bottom: 1px solid rgba(0,0,0,0.05); }
.video-card-info { padding: 1.25rem; text-align: center; flex-grow: 1; display: flex; flex-direction: column; justify-content: center; }
.video-card-info h4 { font-size: 0.95rem; margin-bottom: 0.5rem; color: var(--text); }
.video-card-info a { font-size: 0.8rem; color: var(--primary); font-weight: 600; }
.carousel-controls { display: flex; justify-content: center; gap: 1rem; margin-top: 1rem; }
.carousel-btn { width: 40px; height: 40px; border-radius: 50%; background: var(--surface-elevated); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--primary); box-shadow: var(--shadow-sm); transition: var(--transition); }
.carousel-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ── Responsive ────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__subtitle { margin: 0 auto 2rem; }
  .hero__actions { justify-content: center; }
  .hero__image { order: -1; max-width: 400px; margin: 0 auto; }
  .content-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .location__inner { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  :root { --header-height: 74px; }
  .section { padding: 3.5rem 0; }
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: 1fr; }
  body.nav-open { overflow: hidden; }
  body.nav-open .header {
    background: var(--surface);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .header {
    z-index: 2000;
    backdrop-filter: blur(18px);
  }
  .header__inner { gap: 0.75rem; }
  .header__logo img,
  .header__logo-mark { width: 182px; }
  .header__nav {
    margin-left: 0;
    position: static;
  }
  .header__controls { margin-left: auto; gap: 0.625rem; }
  .header__cta { display: none; }
  .theme-toggle,
  .nav__toggle {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface-elevated);
    box-shadow: var(--shadow-sm);
  }
  .nav__toggle { display: inline-flex; align-items: center; justify-content: center; padding: 0; }
  .nav__list {
    position: fixed;
    top: calc(var(--header-height) + 0.5rem);
    right: max(0.75rem, env(safe-area-inset-right));
    width: min(88vw, 360px);
    max-height: calc(100dvh - var(--header-height) - 1.25rem);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow-drawer);
    display: flex;
    flex-direction: column;
    padding: 1.1rem 1.25rem 1.25rem;
    gap: 0;
    z-index: 4;
    overflow-y: auto;
    opacity: 0;
    transform: translateX(calc(100% + 1rem));
    visibility: hidden;
    pointer-events: none;
    isolation: isolate;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease, visibility 0.35s ease;
  }
  .nav__list.active {
    opacity: 1;
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }
  .nav__mobile-header,
  .nav__mobile-utility { display: block; }
  .nav__mobile-header {
    padding-bottom: 1rem;
    margin-bottom: 0.25rem;
    border-bottom: 1px solid var(--border);
  }
  .nav__mobile-eyebrow {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.45rem;
  }
  .nav__mobile-header strong {
    display: block;
    color: var(--text);
    font-size: 1.05rem;
    line-height: 1.3;
  }
  .nav__mobile-header span:last-child {
    display: block;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 0.3rem;
  }
  .nav__link,
  .nav__dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--border);
  }
  .nav__link::after { display: none; }
  .nav__dropdown-menu {
    position: static;
    min-width: 0;
    background: transparent;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    padding: 0 0 0 0.9rem;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
  }
  .nav__dropdown.is-open .nav__dropdown-menu {
    max-height: 420px;
    padding: 0 0 0.75rem 0.9rem;
  }
  .nav__dropdown-menu a {
    padding: 0.72rem 0;
    font-size: 0.92rem;
    border-bottom: 1px solid var(--border);
  }
  .nav__mobile-utility {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
  }
  .nav__mobile-utility .btn { width: 100%; justify-content: center; }
  .nav__mobile-note {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0.85rem 0 0;
  }
  .nav__mobile-inline {
    display: inline-flex;
    align-items: center;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary);
    margin-top: 0.75rem;
  }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .hero { min-height: auto; padding-bottom: 3rem; }
  .hero__image-badge { display: none; }
  .btn--lg { padding: 0.85rem 1.75rem; font-size: 0.9rem; }
  .video-float { float: none; width: 100%; max-width: 400px; margin: 0 auto 2rem auto; }
}
