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

/* ==========================================================================
   DESIGN TOKENS
   ========================================================================== */
:root {
  /* Palette */
  --clr-bone:       #EDE7DF;
  --clr-bone-dark:  #E0D8CE;
  --clr-sand:       #C8B9AB;
  --clr-taupe:      #8B7463;
  --clr-gold:       #A26C33;
  --clr-gold-dark:  #87581F;
  --clr-brown:      #554537;
  --clr-dark:       #2C2219;
  --clr-white:      #FFFFFF;

  /* Semantic */
  --bg-page:        var(--clr-bone);
  --bg-alt:         var(--clr-bone-dark);
  --bg-card:        #FAF7F4;
  --text-primary:   var(--clr-dark);
  --text-muted:     var(--clr-taupe);
  --accent:         var(--clr-gold);
  --accent-hover:   var(--clr-gold-dark);
  --border:         rgba(139, 116, 99, 0.18);

  /* Typography */
  --font-sans:      'Montserrat', sans-serif;
  --font-serif:     'Playfair Display', serif;
  --font-body:      'Outfit', sans-serif;

  /* Type scale */
  --text-xs:   0.75rem;    /* 12px */
  --text-sm:   0.875rem;   /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-md:   1.125rem;   /* 18px */
  --text-lg:   1.375rem;   /* 22px */
  --text-xl:   1.75rem;    /* 28px */
  --text-2xl:  2.25rem;    /* 36px */
  --text-3xl:  2.875rem;   /* 46px */
  --text-4xl:  3.75rem;    /* 60px */

  /* Spacing */
  --sp-2:   0.5rem;
  --sp-3:   0.75rem;
  --sp-4:   1rem;
  --sp-5:   1.25rem;
  --sp-6:   1.5rem;
  --sp-8:   2rem;
  --sp-10:  2.5rem;
  --sp-12:  3rem;
  --sp-16:  4rem;
  --sp-20:  5rem;
  --sp-24:  6rem;

  /* Layout */
  --container-w:   1200px;
  --container-px:  clamp(1.25rem, 4vw, 2.5rem);
  --header-h:      72px;

  /* Radius */
  --r-sm:  6px;
  --r-md:  12px;
  --r-lg:  20px;
  --r-xl:  32px;
  --r-full: 999px;

  /* Shadows */
  --shadow-xs: 0 1px 3px rgba(44, 34, 25, 0.06);
  --shadow-sm: 0 4px 12px rgba(44, 34, 25, 0.08);
  --shadow-md: 0 8px 24px rgba(44, 34, 25, 0.10);
  --shadow-lg: 0 16px 48px rgba(44, 34, 25, 0.12);
  --shadow-gold: 0 6px 20px rgba(162, 108, 51, 0.25);

  /* Transitions */
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast:    180ms;
  --dur-base:    280ms;
  --dur-slow:    480ms;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--text-primary);
  background-color: var(--bg-page);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul, ol { list-style: none; }
address { font-style: normal; }

::selection { background: rgba(162,108,51,0.2); }

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: var(--clr-sand); border-radius: var(--r-full); border: 2px solid var(--bg-alt); }
::-webkit-scrollbar-thumb:hover { background: var(--clr-taupe); }

/* ==========================================================================
   UTILITIES
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: var(--container-px);
}

.section-padding { padding-block: var(--sp-20); }
.bg-soft { background-color: var(--bg-alt); }

/* All main sections must create stacking contexts to prevent z-index bleed */
section, footer {
  position: relative;
  z-index: 1;
}

/* Typography helpers */
.serif-accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}

.section-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-3);
}

.section-header {
  text-align: center;
  margin-bottom: var(--sp-12);
}

.section-header h2 {
  font-family: var(--font-sans);
  font-size: clamp(var(--text-xl), 3vw, var(--text-2xl));
  font-weight: 600;
  color: var(--clr-brown);
  margin-bottom: var(--sp-3);
}

.section-sub {
  font-family: var(--font-serif);
  font-size: var(--text-md);
  color: var(--text-muted);
  max-width: 560px;
  margin-inline: auto;
  font-style: italic;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.875rem 1.75rem;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--r-sm);
  transition: background var(--dur-base) var(--ease-out),
              color var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-spring),
              box-shadow var(--dur-base) var(--ease-out);
  white-space: nowrap;
  line-height: 1;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--clr-white);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(162,108,51,0.35);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--clr-brown);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--clr-bone);
  border: 1.5px solid rgba(232,225,217,0.4);
}
.btn-outline:hover {
  background: rgba(232,225,217,0.1);
  border-color: rgba(232,225,217,0.7);
  transform: translateY(-2px);
}

.btn-sm  { padding: 0.625rem 1.25rem; font-size: var(--text-xs); }
.btn-lg  { padding: 1.125rem 2.25rem; font-size: var(--text-base); }

/* ==========================================================================
   HEADER
   ========================================================================== */
#header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 900;
  height: var(--header-h);
  background: rgba(237, 231, 223, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background var(--dur-fast), box-shadow var(--dur-fast);
}
#header.scrolled { background: var(--bg-page); box-shadow: var(--shadow-sm); }

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
}

.logo-link { flex-shrink: 0; }
.logo-img  { height: 36px; width: auto; }

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}

.nav-links a {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clr-brown);
  padding-bottom: 2px;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1.5px;
  background: var(--accent);
  transition: width var(--dur-base) var(--ease-out);
}
.nav-links a:hover,
.nav-links a.active-nav { color: var(--accent); }
.nav-links a:hover::after,
.nav-links a.active-nav::after { width: 100%; }

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-shrink: 0;
}

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px; height: 16px;
  padding: 0;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--clr-brown);
  border-radius: 2px;
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-fast);
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--header-h) + var(--sp-16));
  padding-bottom: var(--sp-20);
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-page);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  align-items: center;
  gap: clamp(var(--sp-10), 6vw, var(--sp-20));
}

.hero-content { padding-right: var(--sp-8); }

.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-4);
}

.hero-content h1 {
  font-family: var(--font-sans);
  font-size: clamp(var(--text-2xl), 4.5vw, var(--text-4xl));
  font-weight: 700;
  color: var(--clr-brown);
  line-height: 1.12;
  margin-bottom: var(--sp-6);
}

.hero-lead {
  font-size: var(--text-md);
  color: var(--text-primary);
  max-width: 500px;
  line-height: 1.7;
  margin-bottom: var(--sp-8);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
}

/* Hero visual */
.hero-visual { position: relative; }

.hero-photo-frame {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 2/3;
}
.hero-photo-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: scale var(--dur-slow) var(--ease-out);
}
.hero-visual:hover .hero-photo-frame img { scale: 1.03; }

/* Decorative border offset */
.hero-photo-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(162,108,51,0.15);
  pointer-events: none;
}

.hero-visual::before {
  content: '';
  position: absolute;
  top: 16px; left: -16px;
  width: 100%; height: 100%;
  border: 1.5px solid rgba(162,108,51,0.3);
  border-radius: var(--r-lg);
  transition: transform var(--dur-slow) var(--ease-out);
  pointer-events: none;
}
.hero-visual:hover::before { transform: translate(-4px, 4px); }

.hero-photo-frame { z-index: 1; }
.hero-floating-card { z-index: 2; }

/* Floating card */
.hero-floating-card {
  position: absolute;
  bottom: var(--sp-8);
  right: var(--sp-4);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  background: var(--clr-white);
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  max-width: 210px;
  z-index: 2;
}
.floating-card-icon {
  font-size: 1.5rem;
  color: var(--accent);
  flex-shrink: 0;
}
.hero-floating-card strong {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--clr-brown);
  line-height: 1.2;
}
.hero-floating-card p {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: 2px;
}

/* ==========================================================================
   DIFFERENTIALS
   ========================================================================== */
.differentials {
  padding-block: var(--sp-8);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.differentials-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  flex-wrap: wrap;
}

.diff-item {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex: 1;
  min-width: 160px;
}

.diff-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(162,108,51,0.08);
  color: var(--accent);
  flex-shrink: 0;
  transition: background var(--dur-base), color var(--dur-base);
}
.diff-item:hover .diff-icon { background: var(--accent); color: var(--clr-white); }

.diff-item strong {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--clr-brown);
}
.diff-item > div > span {
  font-size: var(--text-xs);
  color: var(--text-muted);
  display: block;
  margin-top: 1px;
}

.diff-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  flex-shrink: 0;
}

/* ==========================================================================
   PATIENTS / GALLERY
   ========================================================================== */
.patients { background: var(--bg-page); }

.patients-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--sp-10), 6vw, var(--sp-20));
  align-items: center;
}

.patients-text h2 {
  font-family: var(--font-sans);
  font-size: clamp(var(--text-xl), 3vw, var(--text-2xl));
  font-weight: 700;
  color: var(--clr-brown);
  line-height: 1.2;
  margin-bottom: var(--sp-5);
}
.patients-text p {
  color: var(--text-muted);
  font-size: var(--text-md);
  margin-bottom: var(--sp-8);
  line-height: 1.7;
}

.patients-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.patients-photo {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.patients-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: scale var(--dur-slow) var(--ease-out);
}
.patients-card:hover .patients-photo img { scale: 1.03; }

.patients-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(44,34,25,0.8) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: var(--sp-5);
}
.overlay-info h4 {
  font-family: var(--font-sans);
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--clr-white);
  margin-bottom: 2px;
}
.overlay-info p {
  font-size: var(--text-xs);
  color: rgba(232,225,217,0.8);
}
.ethics-pill {
  background: rgba(162,108,51,0.85);
  backdrop-filter: blur(6px);
  color: var(--clr-white);
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.85rem;
  border-radius: var(--r-full);
  align-self: flex-start;
}

.ethics-note {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5);
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}
.ethics-note svg { flex-shrink: 0; margin-top: 3px; color: var(--text-muted); }
.ethics-note em {
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   SPECIALTIES
   ========================================================================== */
.specialties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}

.specialty-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--sp-8) var(--sp-6);
  position: relative;
  overflow: hidden;
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              border-color var(--dur-base);
}
.specialty-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-base) var(--ease-out);
}
.specialty-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(162,108,51,0.2);
}
.specialty-card:hover::before { transform: scaleX(1); }

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(162,108,51,0.07);
  color: var(--accent);
  margin-bottom: var(--sp-5);
  transition: background var(--dur-base), color var(--dur-base);
}
.specialty-card:hover .card-icon { background: var(--accent); color: var(--clr-white); }

.specialty-card h3 {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--clr-brown);
  margin-bottom: var(--sp-3);
}
.specialty-card p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   EXPERIENCE / CLINICAL SPACE
   ========================================================================== */
.experience { background: var(--bg-page); }

.experience-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--sp-10), 6vw, var(--sp-20));
  align-items: center;
}

.experience-content h2 {
  font-family: var(--font-sans);
  font-size: clamp(var(--text-xl), 3vw, var(--text-2xl));
  font-weight: 700;
  color: var(--clr-brown);
  line-height: 1.2;
  margin-bottom: var(--sp-5);
}
.experience-content p {
  color: var(--text-muted);
  font-size: var(--text-md);
  margin-bottom: var(--sp-8);
  line-height: 1.7;
}

/* Gallery layout: two columns of stacked vertical and horizontal images */
.experience-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
  align-items: start;
}

.gallery-col {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.gallery-item {
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.gallery-item--vertical {
  aspect-ratio: 2/3;
}

.gallery-item--horizontal {
  aspect-ratio: 3/2;
}

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: scale var(--dur-slow) var(--ease-out);
}
.gallery-item:hover img { scale: 1.04; }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about { background: var(--bg-alt); }

.about-inner {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: clamp(var(--sp-10), 6vw, var(--sp-20));
  align-items: start;
}

/* Photo */
.about-visual { position: relative; }

.about-photo-frame {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 2/3;
}
.about-photo-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}

.about-credential {
  position: absolute;
  bottom: var(--sp-6);
  right: var(--sp-4);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  background: var(--clr-brown);
  color: var(--clr-bone);
  padding: var(--sp-4);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
}
.about-credential strong {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 700;
  display: block;
  line-height: 1;
  margin-bottom: 2px;
}
.about-credential span {
  font-size: var(--text-xs);
  color: var(--clr-sand);
}

/* Content */
.about-content { padding-top: var(--sp-4); }

.about-content h2 {
  font-family: var(--font-sans);
  font-size: clamp(var(--text-xl), 3vw, var(--text-2xl));
  font-weight: 700;
  color: var(--clr-brown);
  line-height: 1.2;
  margin-bottom: var(--sp-3);
}
.about-cro {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-6);
  display: block;
}
.about-paragraphs p {
  font-size: var(--text-base);
  color: var(--text-primary);
  line-height: 1.72;
  margin-bottom: var(--sp-4);
}

blockquote.about-quote {
  margin-top: var(--sp-8);
  padding-left: var(--sp-5);
  border-left: 3px solid var(--accent);
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--clr-brown);
  line-height: 1.5;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { background: var(--bg-page); }

.faq-list {
  max-width: 760px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.faq-item:hover { border-color: rgba(162,108,51,0.3); }
.faq-item.active { border-color: rgba(162,108,51,0.3); box-shadow: var(--shadow-xs); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-6);
  text-align: left;
  transition: background var(--dur-fast);
}
.faq-question:hover { background: rgba(162,108,51,0.03); }

.faq-question > span:first-child {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--clr-brown);
  line-height: 1.4;
}

.faq-chevron {
  color: var(--accent);
  flex-shrink: 0;
  transition: transform var(--dur-base) var(--ease-out);
}
.faq-item.active .faq-chevron { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur-slow) var(--ease-out);
}
.faq-answer-inner {
  padding: 0 var(--sp-6) var(--sp-5);
  border-top: 1px solid var(--border);
}
.faq-answer-inner p {
  padding-top: var(--sp-4);
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-cta {
  margin-top: var(--sp-12);
  text-align: center;
}
.faq-cta p {
  font-family: var(--font-serif);
  font-size: var(--text-md);
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: var(--sp-5);
}

/* ==========================================================================
   CTA FINAL
   ========================================================================== */
.cta-final {
  background-color: var(--clr-brown);
  padding-block: var(--sp-24);
  text-align: center;
  position: relative;
  overflow: hidden;
}
/* Decorative dot grid */
.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(162,108,51,0.25) 1.5px, transparent 1.5px);
  background-size: 30px 30px;
  pointer-events: none;
}
.cta-final-inner { position: relative; max-width: 680px; margin-inline: auto; }

.cta-monogram { margin: 0 auto var(--sp-6); opacity: 0.7; filter: brightness(0) invert(1) sepia(1) saturate(2) hue-rotate(10deg); }

.cta-final h2 {
  font-family: var(--font-sans);
  font-size: clamp(var(--text-xl), 4vw, var(--text-3xl));
  font-weight: 700;
  color: var(--clr-bone);
  line-height: 1.18;
  margin-bottom: var(--sp-5);
}
.cta-final p {
  font-size: var(--text-md);
  color: rgba(225, 218, 209, 0.75);
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: var(--sp-10);
  line-height: 1.65;
}

.cta-final-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--sp-4);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  background-color: var(--clr-dark);
  color: var(--clr-sand);
  padding-top: var(--sp-16);
  padding-bottom: var(--sp-8);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.1fr;
  gap: var(--sp-16);
  padding-bottom: var(--sp-12);
  border-bottom: 1px solid rgba(139,116,99,0.12);
  margin-bottom: var(--sp-8);
}

.footer-logo { height: 34px; width: auto; margin-bottom: var(--sp-5); }

.footer-brand p {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: rgba(200,185,171,0.7);
  margin-bottom: var(--sp-4);
  max-width: 280px;
}
.footer-cro {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.footer-nav h4,
.footer-contact h4 {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-bone);
  margin-bottom: var(--sp-5);
}

.footer-nav ul { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer-nav a {
  font-size: var(--text-sm);
  color: rgba(200,185,171,0.7);
  transition: color var(--dur-fast);
}
.footer-nav a:hover { color: var(--clr-bone); }

.footer-contact ul { display: flex; flex-direction: column; gap: var(--sp-4); }
.footer-contact li { display: flex; flex-direction: column; gap: 2px; }
.contact-label {
  font-size: var(--text-xs);
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(139,116,99,0.8);
}
.footer-contact a, .footer-contact span:not(.contact-label) {
  font-size: var(--text-sm);
  color: rgba(200,185,171,0.8);
  transition: color var(--dur-fast);
}
.footer-contact a:hover { color: var(--clr-bone); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-3);
}
.footer-bottom p {
  font-size: var(--text-xs);
  color: rgba(139,116,99,0.6);
}
.footer-bottom a {
  color: var(--accent);
  font-weight: 600;
  transition: color var(--dur-fast);
}
.footer-bottom a:hover { color: rgba(162,108,51,0.8); }

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
}
.reveal.visible { opacity: 1; transform: none; }

.delay-1 { transition-delay: 0.10s; }
.delay-2 { transition-delay: 0.20s; }
.delay-3 { transition-delay: 0.30s; }

/* ==========================================================================
   RESPONSIVE — TABLET (≤ 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr 340px;
    gap: var(--sp-10);
  }
  .hero-content { padding-right: 0; }

  .about-inner { grid-template-columns: 300px 1fr; }

  .specialties-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: var(--sp-10); }
  .footer-brand { grid-column: 1 / -1; }
}

/* ==========================================================================
   RESPONSIVE — MOBILE (≤ 768px)
   ========================================================================== */
@media (max-width: 768px) {
  :root { --header-h: 64px; }

  /* HEADER */
  #main-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--bg-page);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-110%);
    transition: transform var(--dur-slow) var(--ease-out);
    z-index: 800;
    border-top: 1px solid var(--border);
  }
  #main-nav.active { transform: none; }

  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: var(--sp-8);
  }
  .nav-links a {
    font-size: var(--text-lg);
    letter-spacing: 0.04em;
  }

  .header-actions .btn-sm { display: none; }
  .menu-toggle { display: flex; }

  body.nav-open { overflow: hidden; }

  /* HERO */
  .hero {
    padding-top: calc(var(--header-h) + var(--sp-10));
    padding-bottom: var(--sp-16);
    min-height: auto;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content { order: 2; }
  .hero-visual  { order: 1; max-width: 300px; margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-lead    { margin-inline: auto; }

  .hero-floating-card {
    right: var(--sp-2);
    bottom: var(--sp-4);
    font-size: 0.82em;
    max-width: 180px;
    padding: var(--sp-3) var(--sp-4);
  }

  /* DIFFERENTIALS */
  .differentials-list { flex-direction: column; align-items: flex-start; gap: var(--sp-4); }
  .diff-divider { width: 40px; height: 1px; }

  /* PATIENTS */
  .patients-inner { grid-template-columns: 1fr; gap: var(--sp-10); }
  .patients-text h2, .experience-content h2,
  .about-content h2 { font-size: var(--text-xl); }

  /* SPECIALTIES */
  .specialties-grid { grid-template-columns: 1fr; }

  /* EXPERIENCE */
  .experience-inner { grid-template-columns: 1fr; }
  .experience-gallery { grid-template-columns: 1fr 1fr; }

  /* ABOUT */
  .about-inner {
    grid-template-columns: 1fr;
  }
  .about-visual { max-width: 320px; margin-inline: auto; }
  .about-credential { right: 0; }

  /* FAQ */
  .faq-question > span:first-child { font-size: var(--text-sm); }

  /* CTA */
  .cta-final h2 { font-size: var(--text-xl); }

  /* FOOTER */
  .footer-inner { grid-template-columns: 1fr; gap: var(--sp-8); }
  .footer-brand { grid-column: 1; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ==========================================================================
   RESPONSIVE — SMALL MOBILE (≤ 480px)
   ========================================================================== */
@media (max-width: 480px) {
  .hero-content h1 { font-size: var(--text-xl); }

  .btn-lg { padding: 1rem 1.5rem; font-size: var(--text-sm); }

  .section-padding { padding-block: var(--sp-16); }

  .experience-gallery { grid-template-columns: 1fr; }
}

/* ==========================================================================
   WHATSAPP FLOATING BUTTON
   ========================================================================== */
.wa-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 950;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  border-radius: var(--r-full);
  padding: 14px 22px 14px 18px;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  box-shadow:
    0 6px 24px rgba(37, 211, 102, 0.38),
    0 2px 8px rgba(0,0,0,0.14);
  transition:
    transform var(--dur-base) var(--ease-spring),
    box-shadow var(--dur-base) var(--ease-out);
}

.wa-fab:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow:
    0 10px 32px rgba(37, 211, 102, 0.50),
    0 4px 12px rgba(0,0,0,0.18);
}

.wa-fab:active { transform: scale(0.97); }

.wa-fab svg { flex-shrink: 0; display: block; }

/* Pulse ring */
.wa-fab::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  animation: wa-pulse 2.4s ease-out infinite;
}

@keyframes wa-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,0.45); }
  70%  { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* Icon-only on very small screens */
@media (max-width: 480px) {
  .wa-fab {
    bottom: 20px;
    right: 16px;
    width: 56px;
    height: 56px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
  .wa-fab-label { display: none; }
}

