/* ============================================================
   css/modern.css — ZEN CLINIC Bârlad — Premium Redesign 2026
   Aesthetic: Clinical Luxury — deep navy + warm gold + off-white
   Fonts: Cormorant Garamond (display) + DM Sans (body/UI)
   ============================================================

   TABLE OF CONTENTS
   01. Google Fonts Import
   02. CSS Custom Properties (Light + Dark)
   03. Reset & Base
   04. Typography
   05. Layout Utilities & Buttons
   06. Top Info Bar
   07. Navigation
   08. Mobile Drawer & Theme Toggle
   09. Hero Slider
   10. Page Hero (Inner Pages)
   11. Section Titles
   12. About / Feature Cards
   13. Specialties Auto-Scroll Strip
   14. Service Cards
   15. Doctor Grid & Cards
   16. Doctor Modal
   17. Testimonials
   18. Pricing Page
   19. Contact Page
   20. Footer
   21. Stats Counter Section
   22. Mobile Floating Action Bar
   23. Scroll-Reveal Animations
   24. Responsive — Tablet (â‰¤900px)
   25. Responsive — Mobile (â‰¤768px)
   26. Responsive — Small Mobile (â‰¤480px)
   ============================================================ */


/* ── 01. Google Fonts ──────────────────────────────────────── */
/* Fonts loaded asynchronously via <link> in HTML — no @import here */


/* ── 02. CSS Custom Properties ────────────────────────────── */
:root {
  /* ─ Brand ─ */
  --navy:           #0E2847;
  --navy-mid:       #1B4F72;
  --navy-light:     #2E7BAA;
  --gold:           #C09A5B;
  --gold-light:     #D4B896;
  --gold-dark:      #9A7A3C;
  --sage:           #3D8B7A;
  --sage-light:     #EAF4F2;

  /* ─ Aliases (used in components) ─ */
  --primary:        var(--navy);
  --primary-light:  var(--navy-mid);
  --primary-dark:   #071E35;
  --accent:         var(--gold);
  --accent-light:   var(--gold-light);

  /* ─ Gradients ─ */
  --gradient-primary:  linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  --gradient-gold:     linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%);
  --gradient-brand:    linear-gradient(135deg, var(--navy) 0%, var(--gold) 100%);
  --gradient-hero:     linear-gradient(160deg,
                         rgba(7,30,53,.92) 0%,
                         rgba(14,40,71,.78) 45%,
                         rgba(14,40,71,.45) 100%);

  /* ─ Neutral text ─ */
  --text:           #1A1A2E;
  --text-mid:       #4A4A6A;
  --text-light:     #8A8AAA;

  /* ─ Surfaces ─ */
  --surface:        #FFFFFF;
  --surface-warm:   #F9F7F4;
  --surface-2:      #F4F1EC;
  --surface-3:      #EDE9E0;
  --border:         #E5E0D8;
  --border-light:   #F0ECE5;

  /* ─ Shadows ─ */
  --shadow-sm:  0 1px 4px rgba(26,26,46,.06), 0 1px 2px rgba(26,26,46,.04);
  --shadow:     0 4px 14px rgba(26,26,46,.08), 0 2px 6px rgba(26,26,46,.05);
  --shadow-md:  0 12px 32px rgba(26,26,46,.10), 0 4px 10px rgba(26,26,46,.06);
  --shadow-lg:  0 24px 56px rgba(26,26,46,.14), 0 8px 18px rgba(26,26,46,.08);
  --shadow-navy: 0 6px 20px rgba(14,40,71,.22), 0 2px 8px rgba(14,40,71,.14);
  --shadow-gold: 0 6px 20px rgba(192,154,91,.28), 0 2px 8px rgba(192,154,91,.16);

  /* ─ Shape ─ */
  --radius-xs:  4px;
  --radius-sm:  8px;
  --radius:     14px;
  --radius-lg:  24px;
  --radius-xl:  40px;

  /* ─ Typography ─ */
  --font-display: 'Cormorant Garamond', 'Garamond', 'Times New Roman', serif;
  --font-sans:    'DM Sans', system-ui, -apple-system, sans-serif;

  /* ─ Layout ─ */
  --container:  1240px;
  --nav-h:      80px;
  --topbar-h:   44px;
  --fab-h:      0px;

  /* ─ Motion ─ */
  --ease:      cubic-bezier(.4, 0, .2, 1);
  --ease-out:  cubic-bezier(0, 0, .2, 1);
  --ease-in:   cubic-bezier(.4, 0, 1, 1);
  --dur:       240ms;
  --dur-lg:    420ms;
}

/* ─ Dark mode ─ */
[data-theme="dark"] {
  --navy:           #5BA4CF;
  --navy-mid:       #7CC2E8;
  --navy-light:     #A8D8F0;
  --gold:           #D4B896;
  --gold-light:     #E8D5BB;
  --gold-dark:      #B89460;

  --primary:        var(--navy);
  --primary-light:  var(--navy-mid);
  --primary-dark:   #3A88BE;
  --accent:         var(--gold);
  --accent-light:   var(--gold-light);

  --gradient-primary: linear-gradient(135deg, #1A3D5C 0%, #2E5F8A 100%);
  --gradient-gold:    linear-gradient(135deg, #9A7A3C 0%, #C09A5B 100%);
  --gradient-brand:   linear-gradient(135deg, #1A3D5C 0%, #9A7A3C 100%);
  --gradient-hero:    linear-gradient(160deg,
                        rgba(4,12,24,.94) 0%,
                        rgba(10,24,44,.82) 45%,
                        rgba(10,24,44,.55) 100%);

  --text:       #EDE9E0;
  --text-mid:   #B8B4AA;
  --text-light: #6A665E;

  --surface:      #0F1E32;
  --surface-warm: #0C1928;
  --surface-2:    #0A1623;
  --surface-3:    #142130;
  --border:       #1E3348;
  --border-light: #182A3E;

  --shadow-sm:  0 1px 4px rgba(0,0,0,.35);
  --shadow:     0 4px 14px rgba(0,0,0,.30);
  --shadow-md:  0 12px 32px rgba(0,0,0,.38);
  --shadow-lg:  0 24px 56px rgba(0,0,0,.48);
  --shadow-navy: 0 6px 20px rgba(0,0,0,.40);
  --shadow-gold: 0 6px 20px rgba(192,154,91,.20);
}


/* ── 02b. Skip to Main Content ───────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  background: var(--navy);
  color: #fff !important;
  padding: .7rem 1.4rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-family: var(--font-sans);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none;
  transition: top .18s var(--ease-out), box-shadow .18s var(--ease);
  box-shadow: none;
}
.skip-link:focus {
  top: 0;
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  box-shadow: var(--shadow-navy);
}


/* ── 03. Reset & Base ─────────────────────────────────────── */
*, *::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-sans);
  color: var(--text);
  background: var(--surface-warm);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background var(--dur-lg) var(--ease), color var(--dur-lg) var(--ease);
  padding-bottom: var(--fab-h);
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}
a:hover { color: var(--gold-dark); }

ul { list-style: none; }

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, select, textarea { font-size: 16px; } /* prevent iOS zoom */


/* ── 04. Typography ───────────────────────────────────────── */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.18;
  color: var(--text);
  letter-spacing: -.01em;
}

h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}

h1 { font-size: clamp(2rem, 5.5vw, 3.75rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.65rem); }
h4 { font-size: 1.05rem; }

p { color: var(--text-mid); line-height: 1.72; }

/* Section tag — refined caps label */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-sans);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: .6rem;
}
.section-tag::before,
.section-tag::after {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--gold);
  opacity: .7;
}


/* ── 05. Layout Utilities & Buttons ──────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.75rem;
}

.section {
  padding: 5.5rem 0;
  background: var(--surface);
}

.section--alt {
  background: var(--surface-warm);
}

.section__head {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section__head p {
  max-width: 580px;
  margin: .85rem auto 0;
  font-size: 1.02rem;
}

/* ─ Buttons ─ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .85rem 2rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: .875rem;
  letter-spacing: .03em;
  white-space: nowrap;
  cursor: pointer;
  border: none;
  transition: all var(--dur) var(--ease);
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow-navy);
}
.btn--primary:hover {
  color: #fff;
  background: var(--navy-mid);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(14,40,71,.28), 0 4px 10px rgba(14,40,71,.18);
}
.btn--primary:active { transform: translateY(0); }

.btn--outline {
  border: 1.5px solid var(--navy);
  color: var(--navy);
  background: transparent;
}
.btn--outline:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-navy);
}

.btn--white {
  background: rgba(255,255,255,.14);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  letter-spacing: .04em;
}
.btn--white:hover {
  background: rgba(255,255,255,.96);
  color: var(--navy);
  border-color: rgba(255,255,255,.96);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,.2);
}

/* Gold accent button */
.btn--gold {
  background: var(--gradient-gold);
  color: #fff;
  box-shadow: var(--shadow-gold);
  letter-spacing: .04em;
}
.btn--gold:hover {
  color: #fff;
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(192,154,91,.38);
}


/* ── 06. Top Info Bar ─────────────────────────────────────── */
.topbar {
  background: var(--navy);
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

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

.topbar__contacts {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.topbar__contacts a {
  color: rgba(255,255,255,.72);
  font-size: .78rem;
  font-family: var(--font-sans);
  display: flex;
  align-items: center;
  gap: .4rem;
  letter-spacing: .01em;
  transition: color var(--dur) var(--ease);
  min-height: 30px;
}
.topbar__contacts a:hover { color: var(--gold-light); }
.topbar__contacts a i { color: var(--gold); font-size: .72rem; }

.topbar__social {
  display: flex;
  align-items: center;
  gap: .45rem;
}

.topbar__social a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.65);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  transition: all var(--dur) var(--ease);
}
.topbar__social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
  transform: translateY(-1px);
}


/* ── 07. Navigation ───────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(249,247,244,.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow var(--dur) var(--ease),
              background var(--dur-lg) var(--ease);
}

[data-theme="dark"] .site-header {
  background: rgba(12,25,40,.97);
  border-bottom-color: var(--border);
}

.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(26,26,46,.10);
}

.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__brand img {
  height: 52px;
  width: auto;
  transition: opacity var(--dur) var(--ease);
}
.nav__brand:hover img { opacity: .85; }

.nav__menu {
  display: flex;
  align-items: center;
  gap: .15rem;
  margin-inline-start: auto;
}

.nav__link {
  padding: .5rem .95rem;
  border-radius: var(--radius-xs);
  font-family: var(--font-sans);
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-mid);
  letter-spacing: .01em;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
  min-height: 44px;
  display: flex;
  align-items: center;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: .95rem;
  right: .95rem;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}

.nav__link:hover {
  color: var(--navy);
  background: transparent;
}
.nav__link:hover::after { transform: scaleX(1); }

.nav__link.active {
  color: var(--navy);
  font-weight: 600;
}
.nav__link.active::after { transform: scaleX(1); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-inline-start: .75rem;
}


/* ── 08. Mobile Drawer & Theme Toggle ─────────────────────── */
.btn-theme {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-xs);
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  transition: all var(--dur) var(--ease);
}
.btn-theme:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
  background: color-mix(in srgb, var(--gold) 8%, transparent);
}

.btn-hamburger {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: var(--radius-xs);
  border: 1.5px solid var(--border);
  background: transparent;
}

.btn-hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.btn-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.btn-hamburger.open span:nth-child(2) { opacity: 0; }
.btn-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile drawer */
.nav__drawer {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--surface);
  z-index: 999;
  flex-direction: column;
  padding: calc(var(--topbar-h) + var(--nav-h) + 1.5rem) 1.75rem 3rem;
  gap: .25rem;
  transform: translateX(100%);
  transition: transform var(--dur-lg) var(--ease-out);
  overflow-y: auto;
  box-shadow: -8px 0 40px rgba(26,26,46,.12);
}

.nav__drawer.open {
  display: flex;
  transform: translateX(0);
}

.nav__drawer .nav__link {
  font-size: 1.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  padding: .85rem 0;
  border-radius: 0;
  border-bottom: 1px solid var(--border-light);
  letter-spacing: -.01em;
  min-height: 60px;
  color: var(--text);
}
.nav__drawer .nav__link::after { display: none; }
.nav__drawer .nav__link:hover { color: var(--gold-dark); background: transparent; }
.nav__drawer .nav__link.active { color: var(--navy); }

/* Contact info in drawer */
.drawer-contacts {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.drawer-contacts a {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .85rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  color: var(--text);
  font-size: .92rem;
  font-weight: 500;
  min-height: 52px;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.drawer-contacts a:hover {
  background: var(--surface-3);
  color: var(--navy);
}

.drawer-contacts a i {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-xs);
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .82rem;
  flex-shrink: 0;
}


/* ── 09. Hero Slider ──────────────────────────────────────── */
.hero {
  position: relative;
  height: 100svh;
  min-height: 580px;
  overflow: hidden;
}

.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s var(--ease);
}
.hero__slide.active { opacity: 1; }

.hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
}

/* Subtle grain texture overlay */
.hero__overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: .4;
  pointer-events: none;
}

.hero__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.75rem;
  color: #fff;
}

.hero__tag {
  font-family: var(--font-sans);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  background: rgba(192,154,91,.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(192,154,91,.4);
  padding: .5rem 1.25rem;
  border-radius: 100px;
  margin-bottom: 1.75rem;
  color: var(--gold-light);
  animation: fadeDown .9s var(--ease-out) both;
}

.hero__content h1 {
  color: #fff;
  font-size: clamp(2rem, 6vw, 4.5rem);
  font-weight: 600;
  max-width: 860px;
  text-shadow: 0 2px 32px rgba(0,0,0,.3);
  margin-bottom: 2rem;
  letter-spacing: -.02em;
  animation: fadeUp 1s .15s var(--ease-out) both;
  line-height: 1.15;
}

.hero__content .btn {
  animation: fadeUp .9s .3s var(--ease-out) both;
}

.hero__dots {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .5rem;
  align-items: center;
}

.hero__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: none;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}
.hero__dot.active {
  background: var(--gold);
  width: 22px;
  border-radius: 3px;
}

@keyframes fadeUp   { from { opacity:0; transform:translateY(22px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeDown { from { opacity:0; transform:translateY(-16px); } to { opacity:1; transform:translateY(0); } }


/* ── 10. Page Hero (Inner Pages) ──────────────────────────── */
.page-hero {
  position: relative;
  height: 280px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding-bottom: 2.75rem;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(7,30,53,.90) 0%,
    rgba(14,40,71,.65) 50%,
    rgba(14,40,71,.2) 100%
  );
}

.page-hero .container { position: relative; z-index: 1; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: .65rem;
}
.breadcrumb a, .breadcrumb span {
  color: rgba(255,255,255,.65);
  font-size: .78rem;
  font-family: var(--font-sans);
  letter-spacing: .02em;
}
.breadcrumb a:hover { color: var(--gold-light); }

.page-hero h1,
.page-hero__title {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 2.85rem);
  text-shadow: 0 2px 16px rgba(0,0,0,.2);
}

.page-hero__sub {
  color: rgba(255,255,255,.7);
  font-family: var(--font-sans);
  font-size: .97rem;
  margin-top: .5rem;
  line-height: 1.55;
}


/* ── 11. Section Titles ───────────────────────────────────── */
.section__title {
  display: inline-block;
  padding-bottom: .85rem;
  position: relative;
}

.section__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--gradient-gold);
  border-radius: 1px;
}

.section__head .section__title::after {
  left: 50%;
  transform: translateX(-50%);
}


/* ── 12. About / Feature Cards ────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  position: relative;
}
.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.about-img:hover img { transform: scale(1.04); }

.about-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 1.35rem 1.4rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--dur) var(--ease);
}
.feature-card:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in srgb, var(--gold) 30%, var(--border-light));
}

.feature-card__icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 1.25rem;
}

.feature-card__body h4 {
  margin-bottom: .3rem;
  font-family: var(--font-sans);
  font-size: .95rem;
}
.feature-card__body p { font-size: .875rem; line-height: 1.65; }


/* ── 13. Specialties Auto-Scroll Strip ────────────────────── */
.specialties {
  overflow: hidden;
  background: var(--navy);
  padding: 3.5rem 0;
  position: relative;
}

.specialties::before, .specialties::after {
  content: '';
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.specialties::before { left: 0; background: linear-gradient(to right, var(--navy), transparent); }
.specialties::after  { right: 0; background: linear-gradient(to left, var(--navy), transparent); }

/* Section head inside specialties */
.specialties .section__head .section-tag { color: var(--gold-light); }
.specialties .section__head .section-tag::before,
.specialties .section__head .section-tag::after { background: var(--gold); }
.specialties .section__head .section__title { color: #fff; }
.specialties .section__head .section__title::after { background: var(--gradient-gold); }

.specialties__track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: scrollTrack 42s linear infinite;
}
.specialties__track:hover { animation-play-state: paused; }

@keyframes scrollTrack {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.specialty-card {
  flex-shrink: 0;
  width: 230px;
  background: rgba(255,255,255,.06);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.10);
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: all var(--dur) var(--ease);
  backdrop-filter: blur(8px);
}
.specialty-card:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(192,154,91,.4);
  transform: translateY(-4px);
}

.specialty-card__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto .9rem;
  border-radius: 50%;
  background: rgba(192,154,91,.15);
  border: 1px solid rgba(192,154,91,.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 1.35rem;
}

.specialty-card h3 {
  font-family: var(--font-sans);
  font-size: .92rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: .4rem;
  letter-spacing: 0;
}
.specialty-card p { font-size: .78rem; color: rgba(255,255,255,.55); line-height: 1.55; }

.specialties__more { text-align: center; margin-top: 2.25rem; }


/* ── 14. Service Cards ─────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.25rem;
}

.service-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  border-color: color-mix(in srgb, var(--gold) 35%, var(--border-light));
  transform: translateY(-2px);
}
.service-card.open {
  box-shadow: var(--shadow-md);
  border-color: color-mix(in srgb, var(--gold) 50%, var(--border-light));
}

.service-card__head {
  display: flex;
  align-items: center;
  gap: .9rem;
}

.service-card__head i:first-child {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--navy);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.service-card__head h3 {
  font-family: var(--font-sans);
  font-size: .95rem;
  font-weight: 600;
  color: var(--text);
  flex: 1;
  letter-spacing: 0;
}

.service-card__toggle {
  color: var(--text-light);
  font-size: .8rem;
  transition: transform var(--dur) var(--ease), color var(--dur) var(--ease);
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--surface-2);
}
.service-card.open .service-card__toggle {
  transform: rotate(180deg);
  color: var(--gold-dark);
  background: color-mix(in srgb, var(--gold) 12%, transparent);
}

.service-card__prices {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur-lg) var(--ease), padding var(--dur-lg) var(--ease);
}
.service-card.open .service-card__prices {
  max-height: 600px;
  padding-top: 1.1rem;
}

.service-card__prices ul {
  border-top: 1px solid var(--border-light);
  padding-top: .8rem;
}
.service-card__prices li {
  font-size: .875rem;
  color: var(--text-mid);
  padding: .48rem 0;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  line-height: 1.5;
}
.service-card__prices li::before {
  content: '–';
  color: var(--gold);
  flex-shrink: 0;
  font-weight: 600;
  margin-top: .05em;
}
.service-card__prices li:last-child { border-bottom: none; }


/* ── 15. Doctor Grid & Cards ─────────────────────────────── */
.team-section { padding: 4.5rem 0; }
.team-section + .team-section { padding-top: 2rem; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.doctor-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  padding: 1.75rem 1.25rem 1.4rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}
.doctor-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in srgb, var(--gold) 40%, var(--border-light));
}
.doctor-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.doctor-card img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.1rem;
  border: 2.5px solid transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    var(--gradient-gold) border-box;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.doctor-card:hover img {
  transform: scale(1.05);
  box-shadow: var(--shadow-gold);
}

.doctor-card h3 {
  font-family: var(--font-sans);
  font-size: .875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .3rem;
}
.doctor-card p {
  font-size: .78rem;
  color: var(--gold-dark);
  font-weight: 500;
  letter-spacing: .01em;
}

.doctor-card--static { cursor: default; }
.doctor-card--static:hover { transform: none; box-shadow: var(--shadow-sm); border-color: var(--border-light); }
.doctor-card--static:hover img { transform: none; box-shadow: none; }

/* Centered variant — pentru secțiunile cu puține carduri (asistente) */
.team-grid--centered {
  grid-template-columns: repeat(auto-fit, minmax(165px, 200px));
  justify-content: center;
}


/* ── 16. Doctor Modal ─────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7,30,53,.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur) var(--ease);
}
.modal-overlay.active { opacity: 1; pointer-events: auto; }

.modal {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem;
  max-width: 480px;
  width: 100%;
  position: relative;
  transform: translateY(24px) scale(.97);
  transition: transform var(--dur-lg) var(--ease-out), opacity var(--dur-lg) var(--ease-out);
  opacity: 0;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-overlay.active .modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.modal__close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--text-mid);
  font-size: .9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--dur) var(--ease);
}
.modal__close:hover { background: var(--navy); color: #fff; transform: rotate(90deg); }

.modal h2 { font-size: 1.5rem; margin-bottom: .25rem; padding-right: 2.5rem; }

.modal__specialty {
  display: block;
  font-family: var(--font-sans);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 1.1rem;
}
.modal p { font-size: .95rem; line-height: 1.7; }


/* ── 17. Testimonials ────────────────────────────────────── */
.testimonials {
  background: var(--surface-warm);
  padding: 5.5rem 0;
}

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

.testimonial-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  transition: all var(--dur) var(--ease);
}
.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--gold) 30%, var(--border-light));
}

.testimonial-card__quote {
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: .8;
  color: var(--gold);
  opacity: .55;
}

.testimonial-card__text {
  font-size: .95rem;
  color: var(--text-mid);
  line-height: 1.72;
  flex: 1;
  font-style: italic;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid transparent;
  background: linear-gradient(var(--surface), var(--surface)) padding-box,
              var(--gradient-gold) border-box;
}

.testimonial-card__name {
  font-weight: 600;
  font-size: .875rem;
  font-family: var(--font-sans);
  color: var(--text);
}


/* ── 18. Pricing Page ────────────────────────────────────── */
.pricing-table {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 1.5rem;
  transition: box-shadow var(--dur) var(--ease);
}
.pricing-table:hover { box-shadow: var(--shadow-md); }

.pricing-table__header {
  background: var(--navy);
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: center;
  gap: .85rem;
}
.pricing-table__header i {
  font-size: 1.1rem;
  color: var(--gold-light);
}
.pricing-table__header h2 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
  letter-spacing: .02em;
}

.pricing-table__body { padding: .25rem 0; }

.pricing-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .95rem 1.75rem;
  border-bottom: 1px solid var(--border-light);
  gap: 1.25rem;
  transition: background var(--dur) var(--ease);
}
.pricing-row:last-child { border-bottom: none; }
.pricing-row:hover { background: var(--surface-warm); }

.pricing-row__service {
  font-family: var(--font-sans);
  font-size: .92rem;
  color: var(--text);
  flex: 1;
}

.pricing-row__price {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: .875rem;
  color: var(--gold-dark);
  white-space: nowrap;
  background: color-mix(in srgb, var(--gold) 10%, transparent);
  padding: .25rem .7rem;
  border-radius: var(--radius-xs);
  border: 1px solid color-mix(in srgb, var(--gold) 25%, transparent);
}


/* ── 19. Contact Page ────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: start;
}

.contact-form-wrap {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
  padding: 2.75rem;
}
.contact-form-wrap h2 { font-size: 1.6rem; margin-bottom: 1.85rem; }

.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: .5rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .85rem 1.1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-warm);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
  outline: none;
  min-height: 50px;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--navy-mid);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(14,40,71,.08);
}
.form-group textarea { min-height: 130px; resize: vertical; }

/* Field-level error & success states */
.form-group--error input,
.form-group--error textarea {
  border-color: #e53e3e;
  background: #fff5f5;
}

[data-theme="dark"] .form-group--error input,
[data-theme="dark"] .form-group--error textarea {
  background: rgba(229,62,62,.08);
  border-color: #fc8181;
}

.form-group--success input,
.form-group--success textarea {
  border-color: #38a169;
}

.field-error {
  display: block;
  font-size: .76rem;
  font-weight: 600;
  color: #e53e3e;
  margin-top: .3rem;
  min-height: 1.1em;
  letter-spacing: .01em;
}

[data-theme="dark"] .field-error { color: #fc8181; }

/* Honeypot — always hidden */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  tab-index: -1;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.contact-info-box {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  color: #fff;
  position: sticky;
  top: calc(var(--topbar-h) + var(--nav-h) + 1rem);
  box-shadow: var(--shadow-navy);
}
.contact-info-box h3 { color: #fff; font-size: 1.4rem; margin-bottom: 1.6rem; }

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  margin-bottom: 1.2rem;
}
.contact-info-item i {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-xs);
  background: rgba(192,154,91,.2);
  border: 1px solid rgba(192,154,91,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: .88rem;
  flex-shrink: 0;
}
.contact-info-item p { font-size: .78rem; color: rgba(255,255,255,.55); margin: 0; letter-spacing: .04em; text-transform: uppercase; font-weight: 600; }
.contact-info-item a { color: #fff; font-weight: 500; display: block; margin-top: .2rem; font-size: .92rem; }
.contact-info-item a:hover { color: var(--gold-light); }

.map-container {
  height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
  margin-top: 2rem;
}
#map { height: 100%; }


/* ── 20. Footer ──────────────────────────────────────────── */
.site-footer {
  background: #071222;
  color: rgba(255,255,255,.6);
  padding: 4.5rem 0 2.5rem;
  border-top: 1px solid rgba(192,154,91,.15);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 3rem;
}

.footer-brand img {
  height: 72px;
  width: auto;
  margin-bottom: 1.4rem;
  opacity: .92;
  filter: drop-shadow(0 2px 12px rgba(192,154,91,.18));
}

.footer-brand p {
  font-size: .875rem;
  color: rgba(255,255,255,.45);
  max-width: 300px;
  line-height: 1.78;
}

.footer__heading {
  font-family: var(--font-sans);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.footer__links { display: flex; flex-direction: column; gap: .55rem; }
.footer__links a {
  color: rgba(255,255,255,.5);
  font-size: .875rem;
  transition: color var(--dur) var(--ease), padding-left var(--dur) var(--ease);
}
.footer__links a:hover { color: #fff; padding-left: .4rem; }
.footer__links li {
  color: rgba(255,255,255,.5);
  font-size: .875rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.footer__links li i { color: var(--gold); font-size: .75rem; }

.footer-social { display: flex; gap: .55rem; margin-top: 1rem; }
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.55);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  transition: all var(--dur) var(--ease);
}
.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
  transform: translateY(-2px);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.06);
  text-align: center;
  font-size: .8rem;
  color: rgba(255,255,255,.28);
}


/* ── 21. Stats Counter Section ───────────────────────────── */
.stats {
  background: var(--surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.stat-card {
  padding: 3rem 2.5rem;
  text-align: center;
  position: relative;
  transition: background var(--dur) var(--ease);
}
.stat-card + .stat-card { border-left: 1px solid var(--border-light); }
.stat-card:hover { background: var(--surface-warm); }

.stat-card__icon {
  display: block;
  font-size: 1.35rem;
  color: var(--gold);
  margin-bottom: .85rem;
  opacity: .8;
}

.stat-card__number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1;
  color: var(--navy);
  margin-bottom: .55rem;
  letter-spacing: -.02em;
}

[data-theme="dark"] .stat-card__number { color: var(--text); }

.stat-card__label {
  display: block;
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-light);
}


/* ── 22. Mobile Floating Action Bar ──────────────────────── */
.mobile-fab {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 24px rgba(26,26,46,.12);
  padding: .75rem 1rem;
  padding-bottom: calc(.75rem + env(safe-area-inset-bottom));
  gap: .75rem;
}

.mobile-fab__btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .9rem 1rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: .875rem;
  letter-spacing: .02em;
  transition: all var(--dur) var(--ease);
  min-height: 52px;
}

.mobile-fab__btn--call {
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow-navy);
}
.mobile-fab__btn--call:hover, .mobile-fab__btn--call:active {
  background: var(--navy-mid);
  color: #fff;
}

.mobile-fab__btn--appt {
  background: color-mix(in srgb, var(--gold) 10%, transparent);
  color: var(--gold-dark);
  border: 1.5px solid color-mix(in srgb, var(--gold) 30%, transparent);
}
.mobile-fab__btn--appt:hover, .mobile-fab__btn--appt:active {
  background: color-mix(in srgb, var(--gold) 18%, transparent);
}

[data-theme="dark"] .mobile-fab {
  background: var(--surface);
  border-top-color: var(--border);
}


/* ── 22b. Contact Info Social Links ──────────────────────── */
.contact-info-social {
  display: flex;
  gap: .75rem;
  margin-top: 1.5rem;
}

.contact-info-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  font-size: 1rem;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.contact-info-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
  transform: translateY(-2px);
}


/* ── 22c. Hero Actions (two-button row) ───────────────────── */
.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp .9s .3s var(--ease-out) both;
}

.hero__actions .btn { animation: none; }


/* ── 27. CTA Band ─────────────────────────────────────────── */
.cta-band {
  background: var(--gradient-primary);
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}

/* Subtle diagonal pattern */
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(255,255,255,.02) 0px,
    rgba(255,255,255,.02) 1px,
    transparent 1px,
    transparent 28px
  );
  pointer-events: none;
}

/* Gold accent line top */
.cta-band::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-gold);
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
  position: relative;
}

.cta-band__content h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: .5rem;
  text-shadow: 0 2px 16px rgba(0,0,0,.2);
}

.cta-band__content p {
  color: rgba(255,255,255,.65);
  font-size: 1rem;
  max-width: 480px;
}

.cta-band__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .cta-band { padding: 3rem 0; }
  .cta-band__inner { flex-direction: column; text-align: center; }
  .cta-band__content p { margin-inline: auto; }
  .cta-band__actions { justify-content: center; }
}


/* ── 28. Scroll-to-Top Button ─────────────────────────────── */
.scroll-top {
  position: fixed;
  right: 1.5rem;
  bottom: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  cursor: pointer;
  z-index: 800;
  box-shadow: var(--shadow-navy);
  opacity: 0;
  transform: translateY(14px) scale(.9);
  pointer-events: none;
  transition: opacity var(--dur) var(--ease),
              transform var(--dur) var(--ease),
              background var(--dur) var(--ease);
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.scroll-top:hover {
  background: var(--navy-mid);
  transform: translateY(-3px) scale(1);
}

@media (max-width: 768px) {
  .scroll-top { bottom: calc(var(--fab-h) + .75rem); right: 1rem; }
}


/* ── 29. Cookie Consent Banner ────────────────────────────── */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(4, 12, 24, .97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(192,154,91,.22);
  z-index: 1900;
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform .45s var(--ease-out);
}

.cookie-consent.visible { transform: translateY(0); }

.cookie-consent__text {
  color: rgba(255,255,255,.7);
  font-size: .875rem;
  flex: 1;
  min-width: 220px;
  line-height: 1.6;
}

.cookie-consent__text a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-consent__text a:hover { color: #fff; }

.cookie-consent__actions {
  display: flex;
  gap: .65rem;
  flex-shrink: 0;
}

.cookie-btn {
  padding: .6rem 1.25rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: .84rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--dur) var(--ease);
}

.cookie-btn--accept {
  background: var(--gradient-gold);
  color: #fff;
  box-shadow: var(--shadow-gold);
}
.cookie-btn--accept:hover { filter: brightness(1.1); transform: translateY(-1px); }

.cookie-btn--reject {
  background: transparent;
  color: rgba(255,255,255,.5);
  border: 1px solid rgba(255,255,255,.15);
}
.cookie-btn--reject:hover { color: #fff; border-color: rgba(255,255,255,.35); }

@media (max-width: 600px) {
  .cookie-consent { flex-direction: column; }
  .cookie-consent__actions { width: 100%; justify-content: flex-end; }
}


/* ── 30. Contact Form Feedback ────────────────────────────── */
.form-feedback {
  padding: 0;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 500;
  margin-top: .75rem;
  transition: all var(--dur) var(--ease);
  display: flex;
  align-items: center;
  gap: .6rem;
  min-height: 0;
  overflow: hidden;
}

.form-feedback:empty { display: none; }

.form-feedback--success {
  background: #edfaf4;
  color: #1a6b42;
  border: 1px solid #a3e4c4;
  padding: .85rem 1.1rem;
}

.form-feedback--error {
  background: #fef2f2;
  color: #9b1c1c;
  border: 1px solid #fca5a5;
  padding: .85rem 1.1rem;
}

[data-theme="dark"] .form-feedback--success {
  background: rgba(16,185,129,.12);
  color: #6ee7b7;
  border-color: rgba(16,185,129,.25);
}

[data-theme="dark"] .form-feedback--error {
  background: rgba(239,68,68,.12);
  color: #fca5a5;
  border-color: rgba(239,68,68,.25);
}


/* ── 31. Hero Scroll Indicator ────────────────────────────── */
.hero__scroll {
  position: absolute;
  bottom: 2.75rem;
  left: 2.5rem;
  display: flex;
  align-items: center;
  gap: .55rem;
  color: rgba(255,255,255,.42);
  font-family: var(--font-sans);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  user-select: none;
}

.hero__scroll i {
  font-size: .9rem;
  animation: scrollBounce 2.2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(7px); }
}

@media (max-width: 480px) {
  .hero__scroll { display: none; }
}


/* ── 32. Testimonial Stars ─────────────────────────────────── */
.testimonial-card__stars {
  display: flex;
  gap: .2rem;
  color: var(--gold);
  font-size: .9rem;
  margin-bottom: .1rem;
}


/* ── 23. Scroll-Reveal Animations ────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal--delay-1 { transition-delay: .1s; }
.reveal--delay-2 { transition-delay: .22s; }
.reveal--delay-3 { transition-delay: .34s; }
.reveal--delay-4 { transition-delay: .46s; }


/* ── 24. Responsive — Tablet (â‰¤900px) ────────────────────── */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-img  { aspect-ratio: 16/7; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-info-box { position: static; }
}


/* ── 25. Responsive — Mobile (â‰¤768px) ────────────────────── */
@media (max-width: 768px) {
  :root { --fab-h: 82px; }

  .btn-hamburger  { display: flex; }
  .nav__menu, .nav__actions { display: none; }

  .topbar__contacts a span { display: none; }
  .topbar__contacts { gap: .65rem; }

  .testimonials-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }

  .mobile-fab { display: flex; }

  .map-container { height: 320px; }

  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .stat-card { padding: 2rem 1.25rem; }
}


/* ── 26b. Reduced Motion ─────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .specialties__track { animation: none; }
  .hero__slide { transition: none; }
}


/* ── 26. Responsive — Small Mobile (â‰¤480px) ──────────────── */
@media (max-width: 480px) {
  :root { --topbar-h: 0px; --fab-h: 84px; }

  .topbar { display: none; }
  .section { padding: 3.5rem 0; }
  .page-hero { height: 240px; }
  .hero { height: 92svh; min-height: 520px; }

  .stats-grid { grid-template-columns: 1fr; }
  .stat-card + .stat-card { border-left: none; border-top: 1px solid var(--border-light); }

  .services-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-brand { grid-column: auto; }

  .pricing-row { flex-direction: column; align-items: flex-start; gap: .35rem; padding: 1rem 1.25rem; }
  .modal { padding: 1.75rem 1.5rem; }

  .mobile-fab { padding: .65rem .75rem; padding-bottom: calc(.65rem + env(safe-area-inset-bottom)); }
  .mobile-fab__btn { font-size: .84rem; padding: .8rem .75rem; }

  .contact-form-wrap { padding: 1.75rem; }
}


/* ── 33. Print Styles ─────────────────────────────────────── */
@media print {
  .topbar,
  .site-header,
  .nav__drawer,
  .hero__dots,
  .hero__scroll,
  .specialties,
  .cta-band,
  .mobile-fab,
  .scroll-top,
  .cookie-consent,
  .skip-link,
  .btn-theme,
  .btn-hamburger,
  .footer-social { display: none !important; }

  body {
    background: #fff !important;
    color: #000 !important;
    font-size: 12pt;
  }

  .hero {
    height: 200px;
    min-height: 0;
  }

  .hero__content h1 { font-size: 24pt; }

  .site-footer {
    background: #fff !important;
    color: #000 !important;
    border-top: 1px solid #ccc;
    padding: 1rem 0;
  }

  .footer__links a,
  .footer__heading,
  .footer-bottom p { color: #333 !important; }

  a { color: #000 !important; }

  .page-hero { height: 120px; }

  .section { padding: 1.5rem 0; }

  .doctor-card,
  .service-card,
  .testimonial-card,
  .pricing-table { box-shadow: none !important; border: 1px solid #ccc !important; }

  .gallery__item img { transform: none !important; }
}


/* ── 34. Photo Gallery ─────────────────────────────────────── */
/* Why Zen Clinic */
.why-zen {
  padding: var(--section-pad) 0;
  background: var(--surface);
}

.why-zen__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .9rem;
}

.why-zen__item {
  min-height: 100%;
  padding: 1.35rem 1.1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--surface-warm);
  box-shadow: var(--shadow-sm);
}

.why-zen__item i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--gold) 16%, transparent);
  color: var(--gold-dark);
  font-size: 1rem;
}

.why-zen__item h3 {
  margin-bottom: .45rem;
  font-family: var(--font-sans);
  font-size: .98rem;
}

.why-zen__item p {
  margin: 0;
  font-size: .9rem;
  line-height: 1.62;
}

.why-zen__item--accent {
  background: var(--navy);
  border-color: transparent;
}

.why-zen__item--accent h3,
.why-zen__item--accent p { color: #fff; }

.why-zen__item--accent i {
  background: rgba(255,255,255,.14);
  color: var(--gold-light);
}

@media (max-width: 1024px) {
  .why-zen__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .why-zen__grid { grid-template-columns: 1fr; }
  .why-zen__item { padding: 1.15rem 1rem; }
}

.gallery {
  padding: var(--section-pad) 0;
  background: var(--surface-warm);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: row;
  gap: 1rem;
  margin-top: 2.5rem;
  align-items: stretch;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  background: var(--border-light);
  cursor: pointer;
}

.gallery__item--tall { aspect-ratio: 4 / 3; }

@media (min-width: 1024px) {
  .gallery__item:nth-child(10n + 1),
  .gallery__item:nth-child(10n + 7) {
    grid-column: auto;
    aspect-ratio: 4 / 3;
  }

  .gallery__item:nth-child(10n + 4) {
    grid-column: auto;
    aspect-ratio: 4 / 3;
  }
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .55s var(--ease-out);
}

.gallery__item:hover img,
.gallery__item:focus-within img { transform: scale(1.06); }

/* Lightbox overlay */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}

.gallery-lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.gallery-lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0,0,0,.6);
}

.gallery-lightbox__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255,255,255,.12);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}

.gallery-lightbox__close:hover { background: rgba(255,255,255,.25); }

[data-theme="dark"] .gallery { background: var(--surface); }

@media (max-width: 768px) {
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__item--tall { aspect-ratio: 4/3; }
  .gallery-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }
  .gallery-filters::-webkit-scrollbar { display: none; }
  .gallery-filter {
    flex: 0 0 auto;
    scroll-snap-align: start;
    padding: .5rem .9rem;
  }
}

@media (max-width: 480px) {
  .gallery__grid { grid-template-columns: 1fr; }
}


/* ── 34b. Gallery Filter Buttons ──────────────────────────── */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 2rem;
  margin-bottom: .5rem;
}

.gallery-filter {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .55rem 1.2rem;
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text-mid);
  font-family: var(--font-sans);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .02em;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
}

.gallery-filter i { font-size: .75rem; }

.gallery-filter:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
  background: var(--surface-warm);
}

.gallery-filter.active,
.gallery-filter[aria-pressed="true"] {
  background: var(--gradient-gold);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-gold);
}

[data-theme="dark"] .gallery-filter {
  background: var(--surface-2);
  border-color: var(--border);
  color: var(--text-mid);
}

[data-theme="dark"] .gallery-filter.active {
  background: var(--gradient-gold);
  color: #fff;
}

@media (max-width: 768px) {
  .gallery-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .gallery-filters::-webkit-scrollbar { display: none; }

  .gallery-filter {
    flex: 0 0 auto;
    scroll-snap-align: start;
    padding: .5rem .9rem;
  }
}

/* ── 34c. Gallery Item Caption ─────────────────────────────── */
.gallery__item { isolation: isolate; }

.gallery__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.75rem 1rem .9rem;
  background: linear-gradient(to top, rgba(7,30,53,.82) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: .2rem;
  transform: translateY(100%);
  transition: transform .35s var(--ease-out);
  pointer-events: none;
}

.gallery__item:hover .gallery__caption,
.gallery__item:focus-within .gallery__caption {
  transform: translateY(0);
}

.gallery__caption-tag {
  display: inline-block;
  background: var(--gradient-gold);
  color: #fff;
  font-family: var(--font-sans);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: .18rem .55rem;
  border-radius: var(--radius-xs);
  width: fit-content;
}

.gallery__caption-text {
  color: rgba(255,255,255,.9);
  font-family: var(--font-sans);
  font-size: .85rem;
  font-weight: 500;
}

/* ── 34d. Gallery Empty State ──────────────────────────────── */
.gallery-empty {
  text-align: center;
  padding: 4rem 1.5rem;
  color: var(--text-mid);
}

.gallery-empty i {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--border);
}

.gallery-empty p {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

/* ── 34e. Gallery Item hide/show animation ─────────────────── */
.gallery__item {
  transition: opacity .3s var(--ease), transform .35s var(--ease-out);
}

.gallery__item.is-hidden {
  display: none;
}

.gallery__grid > .gallery__item {
  grid-column: auto;
  grid-row: auto;
}

/* ── 34f. Lightbox Navigation (prev/next) ──────────────────── */
.gallery-lightbox__prev,
.gallery-lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.12);
  border: none;
  color: #fff;
  font-size: 1.15rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  z-index: 10;
}

.gallery-lightbox__prev { left: 1.25rem; }
.gallery-lightbox__next { right: 1.25rem; }

.gallery-lightbox__prev:hover,
.gallery-lightbox__next:hover { background: rgba(255,255,255,.25); }

.gallery-lightbox__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .9rem;
  max-width: 90vw;
  touch-action: pan-y;
}

.gallery-lightbox__info {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.gallery-lightbox__caption {
  color: rgba(255,255,255,.8);
  font-family: var(--font-sans);
  font-size: .9rem;
  margin: 0;
}

.gallery-lightbox__counter {
  color: rgba(255,255,255,.4);
  font-family: var(--font-sans);
  font-size: .78rem;
}

@media (max-width: 600px) {
  .gallery-lightbox__prev { left: .5rem; }
  .gallery-lightbox__next { right: .5rem; }
  .gallery-lightbox__prev,
  .gallery-lightbox__next { width: 2.25rem; height: 2.25rem; font-size: 1rem; }
}

/* ── 34g. Section subtitle ─────────────────────────────────── */
.section__sub {
  max-width: 600px;
  margin: .75rem auto 0;
  color: var(--text-mid);
  font-size: .97rem;
  text-align: center;
  line-height: 1.65;
}

/* ── 35. FAQ Accordion ─────────────────────────────────────── */
.faq { padding: var(--section-pad) 0; }

.faq__list {
  max-width: 780px;
  margin: 2.5rem auto 0;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.faq__item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  transition: box-shadow .25s, border-color .25s;
}

.faq__item.open {
  box-shadow: var(--shadow-md);
  border-color: var(--gold-light);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: .97rem;
  font-weight: 600;
  color: var(--navy);
  transition: background .2s;
}

.faq__question:hover { background: var(--surface-warm); }

.faq__question .faq__chevron {
  margin-left: auto;
  flex-shrink: 0;
  color: var(--gold);
  font-size: .85rem;
  transition: transform .3s var(--ease-out);
}

.faq__item.open .faq__chevron { transform: rotate(180deg); }

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--ease-out), padding .35s;
}

.faq__item.open .faq__answer { max-height: 240px; }

.faq__answer p {
  padding: .25rem 1.5rem 1.25rem;
  font-size: .94rem;
  color: var(--text-mid);
  line-height: 1.72;
  margin: 0;
}

[data-theme="dark"] .faq__question { color: var(--text); }
[data-theme="dark"] .faq__question:hover { background: rgba(255,255,255,.04); }


/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   36. MOBILE-FIRST POLISH — comprehensive responsive fixes
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* ── 36a. Tablet / Large Phone (â‰¤900px) ─────────────────── */
@media (max-width: 900px) {
  /* Services grid — 2 cols on tablet */
  .services-grid { grid-template-columns: repeat(2, 1fr); }

  /* Section spacing */
  .section { padding: 4.5rem 0; }
  .testimonials { padding: 4.5rem 0; }

  /* Team grid tighter */
  .team-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }

  /* Pricing row — allow wrap */
  .pricing-row { gap: .65rem; }

  /* Gallery section head */
  .gallery { padding: 4.5rem 0; }
}


/* ── 36b. Tablet Portrait / Phone Landscape (â‰¤768px) ────── */
@media (max-width: 768px) {
  /* Tighter container */
  .container { padding-inline: 1.25rem; }

  /* Navigation — reduce height */
  :root { --nav-h: 68px; }
  .nav__brand img { height: 46px; }

  /* Hero — stack buttons, full-width */
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 340px;
    margin-inline: auto;
  }
  .hero__actions .btn {
    justify-content: center;
    width: 100%;
  }

  /* Gallery filters — horizontal scroll strip */
  .gallery-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: .5rem;
    gap: .45rem;
    /* extend to container edges for a native feel */
    margin-inline: -1.25rem;
    padding-inline: 1.25rem;
  }
  .gallery-filters::-webkit-scrollbar { display: none; }
  .gallery-filter { flex-shrink: 0; }

  /* Section head margin */
  .section__head { margin-bottom: 2.5rem; }

  /* Feature card — no side slide on touch */
  .feature-card:hover { transform: none; }
  .feature-card:active {
    transform: none;
    box-shadow: var(--shadow-md);
    border-color: color-mix(in srgb, var(--gold) 30%, var(--border-light));
  }

  /* CTA band buttons stretch */
  .cta-band__actions {
    width: 100%;
    justify-content: center;
  }
  .cta-band__actions .btn {
    flex: 1;
    min-width: 130px;
    max-width: 220px;
    justify-content: center;
  }

  /* Doctor cards — hover lift too strong on touch */
  .doctor-card:hover { transform: none; }
  .doctor-card:active { transform: translateY(-2px); }

  /* Page hero — subtitle size */
  .page-hero__sub {
    font-size: .9rem;
    margin-top: .4rem;
  }

  /* Service cards */
  .service-card:hover { transform: none; }
}


/* ── 36c. Stats / Footer mid breakpoint (â‰¤600px) ───────── */
@media (max-width: 600px) {
  /* Stats — single column below 600px (3-col is too cramped) */
  .stats-grid { grid-template-columns: 1fr; }
  .stat-card + .stat-card {
    border-left: none;
    border-top: 1px solid var(--border-light);
  }
  .stat-card { padding: 1.75rem 1.5rem; }

  /* Footer single column early */
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-brand { grid-column: auto; }

  /* Testimonials — 1 col */
  .testimonials-grid { grid-template-columns: 1fr; }

  /* Services grid — 1 col */
  .services-grid { grid-template-columns: 1fr; }

  /* About image ratio */
  .about-img { aspect-ratio: 16/9; }

  /* Form row — 1 col below 600px */
  .form-row { grid-template-columns: 1fr; }

  /* Section padding */
  .section { padding: 3.5rem 0; }
  .testimonials { padding: 3.5rem 0; }
  .gallery { padding: 3.5rem 0; }
}


/* ── 36d. Small Phone (â‰¤480px) ─────────────────────────── */
@media (max-width: 480px) {
  /* Container tighter */
  .container { padding-inline: 1rem; }

  /* Nav smaller */
  :root { --nav-h: 62px; }
  .nav__brand img { height: 42px; }
  .nav { gap: .75rem; }

  /* Hero */
  .hero { min-height: 480px; }
  .hero__content { padding: 1.5rem 1rem; }
  .hero__content h1 { margin-bottom: 1.5rem; }
  .hero__actions .btn { font-size: .84rem; padding: .85rem 1.25rem; }

  /* Page hero */
  .page-hero { height: 210px; padding-bottom: 1.75rem; }

  /* Section */
  .section { padding: 3rem 0; }
  .section__head { margin-bottom: 1.75rem; }
  .testimonials { padding: 3rem 0; }
  .gallery { padding: 3rem 0; }

  /* About grid */
  .about-grid { gap: 1.5rem; }

  /* Team grid — always 2 cols on small phone */
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: .85rem; }
  .team-grid--centered { grid-template-columns: repeat(2, 1fr); justify-content: unset; }
  .doctor-card { padding: 1.25rem .9rem 1rem; }
  .doctor-card img { width: 72px; height: 72px; }
  .doctor-card h3 { font-size: .8rem; }
  .doctor-card p { font-size: .72rem; }

  /* Pricing table */
  .pricing-table__header { padding: 1rem 1.1rem; gap: .65rem; }
  .pricing-row { padding: .85rem 1.1rem; }

  /* Contact form */
  .contact-form-wrap { padding: 1.5rem 1.1rem; }
  .contact-form-wrap h2 { font-size: 1.4rem; }
  .contact-info-box { padding: 1.75rem 1.25rem; }

  /* Gallery grid tighter */
  .gallery__grid { gap: .6rem; margin-top: 1.5rem; }

  /* Gallery filters */
  .gallery-filters {
    margin-inline: -1rem;
    padding-inline: 1rem;
  }

  /* Lightbox */
  .gallery-lightbox { padding: .75rem .25rem; }
  .gallery-lightbox img { max-width: 98vw; }

  /* CTA band */
  .cta-band { padding: 2.5rem 0; }

  /* Footer */
  .site-footer { padding: 3.5rem 0 2rem; }
  .footer-inner { gap: 1.75rem; }

  /* Modal */
  .modal { max-height: 95vh; }

  /* Specialties strip less padding */
  .specialties { padding: 2.5rem 0; }
}


/* ── 36e. Very Small Phone (â‰¤380px) ────────────────────── */
@media (max-width: 380px) {
  .container { padding-inline: .85rem; }

  /* Nav */
  :root { --nav-h: 58px; }
  .nav__brand img { height: 38px; }

  /* Hide hero tag pill — too cramped */
  .hero__tag { display: none; }

  /* Hero title */
  .hero__content h1 { font-size: clamp(1.65rem, 9vw, 2.25rem); margin-bottom: 1.25rem; }

  /* Gallery filter pills — shorter */
  .gallery-filters {
    margin-inline: -.85rem;
    padding-inline: .85rem;
  }
  .gallery-filter { padding: .45rem .85rem; font-size: .76rem; }
  .gallery-filter i { display: none; }

  /* Stats */
  .stat-card__number { font-size: 2.5rem; }
  .stat-card { padding: 1.5rem 1rem; }

  /* Team grid — 2 cols but tighter */
  .team-grid { gap: .65rem; }
  .doctor-card { padding: 1rem .75rem .85rem; }
  .doctor-card img { width: 64px; height: 64px; }

  /* Buttons narrower */
  .hero__actions .btn { padding: .8rem 1rem; }

  /* Section head */
  .section__head { margin-bottom: 1.5rem; }

  /* Gallery grid single column on tiny phones */
  .gallery__grid { grid-template-columns: 1fr; }
  .gallery__item--tall { aspect-ratio: 4/3; }

  /* Pricing */
  .pricing-row { padding: .75rem .85rem; }

  /* Contact form */
  .contact-form-wrap { padding: 1.25rem .85rem; }
  .contact-info-box { padding: 1.5rem 1rem; }

  /* CTA band */
  .cta-band { padding: 2rem 0; }
  .cta-band__actions .btn { flex: unset; width: 100%; max-width: none; }
  .cta-band__actions { flex-direction: column; gap: .65rem; width: 100%; }

  /* Footer */
  .footer-inner { gap: 1.5rem; }
}
