/* ===================================================================
   NovaDent — Premium Dental Clinic
   Design Tokens, Bento Grid, Carousels, bottom sheets and clean UI
   =================================================================== */

:root {
  /* Colors */
  --color-navy-950: #050e18;
  --color-navy-900: #0b1a2a;
  --color-navy-800: #12283e;
  --color-navy-700: #1c3c5b;
  --color-teal-600: #007c70;
  --color-teal-500: #009688;
  --color-teal-400: #00b0a0;
  --color-teal-300: #33c0b3;
  --color-mint-100: #e0f2f1;
  --color-mint-50: #f0f9f8;
  --color-slate-900: #172433;
  --color-slate-700: #46586b;
  --color-slate-500: #70859a;
  --color-slate-200: #e5edf4;
  --color-line: rgba(11, 26, 42, 0.08);
  --color-gold: #ffb300;
  --color-ivory: #f8fafb;
  --color-white: #ffffff;

  /* Spacings & Layouts */
  --radius-premium: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
  --shadow-premium: 0 30px 70px rgba(5, 14, 24, 0.05);
  --shadow-card: 0 16px 40px rgba(5, 14, 24, 0.03);
  --shadow-active: 0 20px 50px rgba(0, 150, 136, 0.12);
  --container-width: 1200px;
  --header-height: 84px;
  --banner-height: 36px;
  
  /* Fonts */
  --font-headings: 'Outfit', 'Manrope', sans-serif;
  --font-body: 'Manrope', 'Segoe UI', Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + var(--banner-height) + 30px);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--color-slate-900);
  background: var(--color-ivory);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--color-teal-400);
  outline-offset: 4px;
}

::selection {
  color: var(--color-white);
  background: var(--color-teal-600);
}

/* ===== SKIP LINK ===== */

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  color: var(--color-white);
  background: var(--color-navy-950);
  border-radius: 8px;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* ===== CONTAINER ===== */

.container {
  width: min(calc(100% - 40px), var(--container-width));
  margin-inline: auto;
}

/* ===== SECTION BASE ===== */

.section {
  padding: 110px 0;
  border-top: 1px solid var(--color-line);
}

.section-number {
  display: block;
  margin-bottom: 12px;
  color: var(--color-slate-500);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.section-kicker {
  margin: 0 0 12px;
  color: var(--color-teal-600);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.section-kicker-light {
  color: var(--color-teal-300);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.7fr);
  align-items: end;
  gap: 50px;
  margin-bottom: 54px;
}

.section-heading h2,
.about-intro h2,
.booking-aside-info h2 {
  margin: 0;
  color: var(--color-navy-900);
  font-family: var(--font-headings);
  font-size: clamp(2.3rem, 4.4vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.section-heading > p {
  margin: 0 0 6px;
  color: var(--color-slate-700);
  font-size: 1.1rem;
  line-height: 1.5;
}

/* ===== BUTTON ===== */

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 28px;
  color: var(--color-white);
  background: var(--color-teal-600);
  border: 1px solid var(--color-teal-600);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0, 124, 112, 0.15);
  font-family: var(--font-headings);
  font-weight: 600;
  line-height: 1.2;
  transition:
    transform 200ms ease,
    background 200ms ease,
    border-color 200ms ease,
    box-shadow 200ms ease;
}

.button:hover {
  background: var(--color-teal-500);
  border-color: var(--color-teal-500);
  box-shadow: var(--shadow-active);
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.button-small {
  min-height: 48px;
  padding: 10px 20px;
  font-size: 0.88rem;
  border-radius: 10px;
}

.button-large {
  min-height: 58px;
  padding: 16px 32px;
  font-size: 1.05rem;
}

.button-secondary-light {
  color: var(--color-navy-950);
  background: var(--color-white);
  border-color: var(--color-white);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
}

.button-secondary-light:hover {
  background: var(--color-mint-50);
  border-color: var(--color-mint-50);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

/* ===== DEMO BANNER ===== */

.demo-banner {
  position: fixed;
  z-index: 110;
  inset: 0 0 auto;
  height: var(--banner-height);
  display: flex;
  align-items: center;
  color: var(--color-white);
  background: var(--color-navy-950);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.03em;
}

.demo-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.demo-banner-link {
  padding: 2px 9px;
  color: var(--color-teal-300);
  border: 1px solid rgba(51, 192, 179, 0.35);
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 150ms ease;
}

.demo-banner-link:hover {
  background: rgba(51, 192, 179, 0.12);
}

/* ===== HEADER ===== */

.site-header {
  position: fixed;
  z-index: 100;
  inset: var(--banner-height) 0 auto;
  height: var(--header-height);
  color: var(--color-navy-900);
  background: rgba(248, 250, 251, 0.85);
  border-bottom: 1px solid var(--color-line);
  backdrop-filter: blur(20px);
  transition:
    box-shadow 200ms ease,
    background 200ms ease;
}

.scroll-sentinel {
  position: absolute;
  top: 12px;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.site-header.is-scrolled {
  background: rgba(248, 250, 251, 0.96);
  box-shadow: 0 10px 30px rgba(5, 14, 24, 0.04);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

/* ===== BRAND ===== */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--color-teal-600);
  background: var(--color-mint-100);
  border-radius: 50%;
}

.brand-mark svg {
  width: 26px;
  height: 26px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-copy strong {
  font-family: var(--font-headings);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--color-navy-900);
}

.brand-copy small {
  margin-top: 4px;
  color: var(--color-slate-500);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.demo-badge {
  margin-left: 6px;
  padding: 3px 7px;
  color: var(--color-teal-600);
  background: var(--color-mint-100);
  border: 1px solid rgba(0, 150, 136, 0.15);
  border-radius: 6px;
  font-size: 0.54rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1;
}

/* ===== DESKTOP NAV ===== */

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.2vw, 32px);
}

.desktop-nav a {
  position: relative;
  padding: 29px 0 27px;
  color: var(--color-slate-700);
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color 150ms ease;
}

.desktop-nav a:hover {
  color: var(--color-navy-950);
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 19px;
  height: 2px;
  background: var(--color-teal-600);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 200ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.menu-toggle,
.mobile-nav {
  display: none;
}

/* ===== HERO ===== */

.hero {
  position: relative;
  min-height: auto;
  padding-top: calc(var(--header-height) + var(--banner-height) + 20px);
  padding-bottom: 40px;
  background: var(--color-ivory);
}

.hero-container-box {
  position: relative;
  width: min(calc(100% - 40px), var(--container-width));
  margin-inline: auto;
  border-radius: var(--radius-premium);
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  background: var(--color-navy-950);
  min-height: min(720px, 85svh);
  display: flex;
  align-items: center;
}

.hero-image-bg {
  position: absolute;
  inset: 0;
  background-image: url("assets/clinic-hero.webp");
  background-position: center 30%;
  background-size: cover;
  transform: scale(1.005);
}

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 14, 24, 0.94) 0%, rgba(5, 14, 24, 0.85) 45%, rgba(5, 14, 24, 0.2) 80%),
    linear-gradient(0deg, rgba(5, 14, 24, 0.6) 0%, transparent 60%);
}

.hero-inner-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 80px 60px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
}

.hero-copy {
  color: var(--color-white);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 8px 14px;
  color: var(--color-teal-300);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background: var(--color-teal-300);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(51, 192, 179, 0.2);
}

.hero h1 {
  margin: 0;
  color: var(--color-white);
  font-family: var(--font-headings);
  font-size: clamp(2.8rem, 5.2vw, 5rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.hero-lead {
  max-width: 480px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
}

.hero-floating-cards {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

.floating-ui-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(16px);
  width: 270px;
  transition: transform 300ms ease;
}

.floating-ui-card:hover {
  transform: translateY(-3px);
}

.card-icon-circle {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-white);
  flex-shrink: 0;
}

.card-icon-circle.accent {
  background: rgba(255, 179, 0, 0.15);
  color: var(--color-gold);
}

.card-icon-circle svg {
  width: 18px;
  height: 18px;
}

.floating-card-label {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.55);
}

.floating-card-value {
  display: block;
  font-size: 0.92rem;
  color: var(--color-white);
  font-weight: 700;
  margin-top: 2px;
}

/* ===== ADVANTAGES STRIP ===== */

.advantages-strip {
  position: relative;
  z-index: 4;
  color: var(--color-navy-950);
  background: var(--color-ivory);
  border-top: 1px solid var(--color-line);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 44px 0;
}

.advantage-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.adv-num {
  font-family: var(--font-headings);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-teal-600);
  line-height: 1.2;
}

.adv-content h2 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 750;
  color: var(--color-navy-900);
  line-height: 1.35;
}

.adv-content p {
  margin: 6px 0 0;
  font-size: 0.84rem;
  color: var(--color-slate-700);
  line-height: 1.5;
}

/* ===== ABOUT ===== */

.section-about {
  background: var(--color-ivory);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr; /* Image occupies ~51% width */
  align-items: center;
  gap: clamp(40px, 5vw, 70px);
}

.about-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about-lead {
  font-size: 1.15rem;
  font-weight: 650;
  color: var(--color-navy-900);
  line-height: 1.55;
  margin: 14px 0 16px;
}

.about-copy > p:not(.about-lead) {
  margin: 0 0 20px;
  color: var(--color-slate-700);
  font-size: 0.98rem;
}

.about-features {
  margin: 10px 0 28px;
  padding: 0;
  list-style: none;
  width: 100%;
}

.about-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  color: var(--color-navy-800);
  font-weight: 650;
  font-size: 0.94rem;
  border-bottom: 1px solid var(--color-line);
}

.about-features li:last-child {
  border-bottom: 0;
}

.about-features svg {
  width: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--color-teal-600);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.about-visual {
  position: relative;
  min-height: 520px;
  margin: 0;
  overflow: hidden;
  background: var(--color-navy-900);
  border-radius: 32px 12px 32px 32px; /* asymmetric radius */
  box-shadow: var(--shadow-card);
  outline: 1px solid var(--color-line);
  outline-offset: -1px;
}

.about-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(5, 14, 24, 0.6) 0%, rgba(5, 14, 24, 0.1) 55%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% center;
  transition: transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.about-visual:hover img {
  transform: scale(1.02);
}

.about-floating-card {
  position: absolute;
  bottom: 24px;
  left: 24px;
  z-index: 10;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--color-line);
  border-radius: 16px;
  padding: 14px 20px;
  box-shadow: 0 10px 30px rgba(5, 14, 24, 0.05);
  max-width: 280px;
  transition: transform 300ms ease;
}

.about-visual:hover .about-floating-card {
  transform: translateY(-4px);
}

.about-floating-card strong {
  display: block;
  font-family: var(--font-headings);
  font-size: 0.92rem;
  color: var(--color-navy-950);
  font-weight: 800;
}

.about-floating-card span {
  display: block;
  font-size: 0.78rem;
  color: var(--color-slate-700);
  margin-top: 2px;
}

.arrow-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--color-teal-600);
  font-family: var(--font-headings);
  font-weight: 700;
}

.arrow-link svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
  transition: transform 200ms ease;
}

.arrow-link:hover svg {
  transform: translateX(5px);
}

/* ===== SERVICES — BENTO GRID & TABS ===== */

.services-section {
  position: relative;
  overflow: hidden;
  color: var(--color-slate-900);
  background: var(--color-white);
}

.services-heading h2 {
  color: var(--color-navy-900);
}

/* Category Tabs (shadcn style) */
.services-tabs-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 44px;
  overflow-x: auto;
  scrollbar-width: none; /* Hide scrollbar Firefox */
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  padding: 4px;
  width: 100%;
}

.services-tabs-wrap::-webkit-scrollbar {
  display: none; /* Hide scrollbar Chrome/Safari */
}

.services-tabs {
  position: relative;
  display: inline-flex;
  background: var(--color-ivory);
  border: 1px solid var(--color-line);
  padding: 6px;
  border-radius: 16px;
  gap: 6px;
  scroll-snap-align: center;
}

.tab-btn {
  position: relative;
  z-index: 2;
  min-height: 44px; /* Touch target 44px */
  padding: 10px 24px;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-slate-700);
  transition: all 200ms ease;
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--color-navy-950);
}

.tab-btn.is-active {
  color: var(--color-white);
  background: var(--color-teal-600);
  box-shadow: 0 4px 12px rgba(0, 124, 112, 0.15);
}

/* Bento Services Grid */
.services-bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}

/* Base Service Card */
.service-card {
  display: flex;
  flex-direction: column;
  background: var(--color-ivory);
  border: 1px solid var(--color-line);
  border-radius: 24px;
  padding: 32px 28px;
  position: relative;
  transition:
    transform 250ms ease,
    background 250ms ease,
    border-color 250ms ease,
    box-shadow 250ms ease;
}

.service-card:hover {
  background: var(--color-white);
  border-color: var(--color-teal-100);
  transform: translateY(-4px);
  box-shadow: var(--shadow-premium);
}

.service-card.is-hidden {
  display: none !important;
}

.service-card-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  color: var(--color-teal-600);
  background: var(--color-mint-100);
  border-radius: 50%;
  flex-shrink: 0;
}

.service-card-icon svg {
  width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.service-card h3 {
  margin: 0;
  color: var(--color-navy-900);
  font-family: var(--font-headings);
  font-size: 1.25rem; /* Larger font size */
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.service-card p {
  margin: 12px 0 0;
  color: var(--color-slate-700);
  font-size: 0.92rem; /* Larger copy */
  line-height: 1.55;  /* More line height */
}

.service-duration {
  display: inline-flex;
  align-items: center;
  margin-top: 16px;
  padding: 4px 12px;
  color: var(--color-teal-600);
  background: var(--color-mint-100);
  border-radius: 999px;
  font-size: 0.8rem; /* Larger badge */
  font-weight: 750;
  width: fit-content;
}

.service-card .card-link {
  margin-top: auto;
  padding-top: 24px;
  color: var(--color-teal-600);
  font-size: 0.94rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  width: fit-content;
  min-height: 40px; /* touch target helper */
}

.service-card .card-link svg {
  width: 18px;
  stroke: currentColor;
  stroke-width: 2.5;
  transition: transform 200ms ease;
}

.service-card:hover .card-link svg {
  transform: translateX(4px);
}

/* Featured Bento Card Style (Dark Premium) */
.service-card.featured {
  grid-column: span 2;
  grid-row: span 1;
  background: linear-gradient(135deg, var(--color-navy-900) 0%, var(--color-navy-950) 100%);
  border-color: var(--color-navy-800);
  color: var(--color-white);
  padding: 38px 34px;
}

.service-card.featured:hover {
  background: linear-gradient(135deg, var(--color-navy-900) 0%, var(--color-navy-950) 100%);
  border-color: var(--color-teal-600);
}

.service-card.featured h3 {
  color: var(--color-white);
  font-size: 1.5rem;
}

.service-card.featured p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.96rem;
  line-height: 1.6;
}

.service-featured-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 5px 12px;
  background: var(--color-teal-600);
  color: var(--color-white);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 6px;
  width: fit-content;
  margin-bottom: 16px;
}

.service-cat-num {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-teal-300);
  font-weight: 800;
  margin-bottom: 22px;
  display: block;
}

.service-card.featured .service-duration {
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 0;
}

.service-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.service-card-footer {
  margin-top: auto;
  padding-top: 24px;
}

.services-toggle-wrap {
  display: none;
}

/* ===== DOCTORS — EDITORIAL & CAROUSEL ===== */

.doctors-section {
  background: var(--color-ivory);
}

.doctors-slider-container {
  position: relative;
  overflow: hidden;
  padding-bottom: 30px;
}

.doctors-slider-track {
  display: flex;
  transition: transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
  gap: 30px;
}

.doctor-card {
  flex: 0 0 calc((100% - 30px) / 2);
  width: calc((100% - 30px) / 2);
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-premium);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition:
    opacity 300ms ease,
    transform 300ms ease;
}

.doctor-card-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 380px;
}

.doctor-photo-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--color-slate-200);
}

.doctor-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transition: transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.doctor-card:hover .doctor-photo-wrap img {
  transform: scale(1.025);
}

.doctor-details {
  display: flex;
  flex-direction: column;
  padding: 36px 32px;
}

.doctor-meta-num {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-teal-600);
  font-weight: 800;
  display: block;
  margin-bottom: 12px;
}

.doctor-card h3 {
  margin: 0;
  color: var(--color-navy-900);
  font-family: var(--font-headings);
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.doctor-role {
  margin: 4px 0 0;
  color: var(--color-slate-700);
  font-size: 0.92rem;
  font-weight: 700;
}

.doctor-exp {
  margin: 2px 0 0;
  color: var(--color-slate-500);
  font-size: 0.84rem;
  font-weight: 600;
}

.doctor-desc {
  margin: 16px 0 0;
  color: var(--color-slate-700);
  font-size: 0.88rem;
  line-height: 1.5;
}

.doctor-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 18px 0 auto;
  padding: 0;
  list-style: none;
}

.doctor-tags li {
  padding: 5px 12px;
  color: var(--color-navy-800);
  background: var(--color-ivory);
  border: 1px solid var(--color-line);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}

.doctor-card .button {
  width: 100%;
  margin-top: 24px;
}

/* Slider Controls */

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 44px;
}

.slider-nav-btn {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--color-navy-950);
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(5, 14, 24, 0.02);
  transition:
    background 200ms ease,
    border-color 200ms ease,
    color 200ms ease,
    transform 200ms ease;
}

.slider-nav-btn:hover {
  background: var(--color-navy-900);
  border-color: var(--color-navy-900);
  color: var(--color-white);
  transform: scale(1.05);
}

.slider-nav-btn:active {
  transform: scale(0.95);
}

.slider-nav-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
}

.slider-dots {
  display: flex;
  gap: 6px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-slate-200);
  transition: background 250ms ease, transform 250ms ease;
  cursor: pointer;
}

.slider-dot.is-active {
  background: var(--color-teal-600);
  transform: scale(1.3);
}

/* ===== WHY SECTION ===== */

.why-section {
  background:
    radial-gradient(circle at 90% 80%, rgba(0, 150, 136, 0.08), transparent 30%),
    var(--color-navy-900);
  color: var(--color-white);
}

.why-title {
  max-width: 650px;
  margin: 0 0 52px;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  position: relative;
  padding: 36px 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-premium);
  transition: background 250ms ease, border-color 250ms ease;
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(0, 176, 160, 0.3);
}

.why-number {
  display: block;
  margin-bottom: 18px;
  color: var(--color-teal-300);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.why-card h3 {
  margin: 0;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  font-family: var(--font-headings);
}

.why-card p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* ===== HOW SECTION ===== */

.how-section {
  background: var(--color-white);
}

.how-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}

.how-copy h2 {
  margin: 0;
  color: var(--color-navy-900);
  font-family: var(--font-headings);
  font-size: clamp(2.2rem, 3.8vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.how-steps {
  margin: 36px 0 32px;
}

.how-step {
  display: flex;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--color-line);
}

.how-step:last-child {
  border-bottom: 0;
}

.how-step-num {
  flex: 0 0 auto;
  color: var(--color-teal-600);
  font-family: var(--font-headings);
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.2;
}

.how-step h3 {
  margin: 0;
  color: var(--color-navy-900);
  font-size: 1.08rem;
  letter-spacing: -0.01em;
  font-weight: 750;
}

.how-step p {
  margin: 6px 0 0;
  color: var(--color-slate-700);
  font-size: 0.92rem;
}

/* Calendar Mockup */

.how-mockup {
  display: flex;
  justify-content: center;
}

.mockup-card {
  width: min(340px, 100%);
  padding: 28px;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-premium);
  box-shadow: var(--shadow-premium);
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: var(--color-navy-900);
  font-weight: 750;
}

.mockup-header svg {
  width: 22px;
  fill: none;
  stroke: var(--color-teal-600);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.mockup-slots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mockup-slot {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  color: var(--color-navy-900);
  background: var(--color-ivory);
  border: 1px solid var(--color-line);
  border-radius: 10px;
  font-weight: 700;
  cursor: default;
  transition: border-color 150ms ease;
}

.mockup-slot.is-selected {
  color: var(--color-white);
  background: var(--color-teal-600);
  border-color: var(--color-teal-600);
}

/* ===== REVIEWS — DARK TESTIMONIAL BOX ===== */

.reviews-section {
  background: var(--color-navy-950);
  color: var(--color-white);
}

.reviews-section-heading h2 {
  color: var(--color-white);
}

.reviews-section-heading p {
  color: var(--color-slate-400);
}

.testimonial-slider-box {
  position: relative;
  max-width: 900px;
  margin-inline: auto;
  overflow: hidden;
  padding-bottom: 20px;
}

.testimonial-slider-track {
  display: flex;
  transition: transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.testimonial-slide {
  flex: 0 0 100%;
  width: 100%;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
  opacity: 0;
  transition: opacity 300ms ease;
}

.testimonial-slide.active {
  opacity: 1;
}

.testimonial-portrait {
  width: 100%;
  aspect-ratio: 1 / 1.1;
  border-radius: var(--radius-premium);
  overflow: hidden;
  background: var(--color-navy-900);
  border: 1px solid var(--color-navy-800);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.testimonial-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-text-side {
  display: flex;
  flex-direction: column;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  color: var(--color-gold);
  margin-bottom: 18px;
}

.testimonial-stars svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.testimonial-text-side blockquote {
  margin: 0;
  font-family: var(--font-headings);
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
  line-height: 1.45;
  font-weight: 500;
  color: var(--color-white);
  letter-spacing: -0.01em;
}

.testimonial-text-side cite {
  display: block;
  margin-top: 24px;
  font-style: normal;
  font-size: 0.94rem;
  color: var(--color-slate-400);
  font-weight: 700;
}

.review-tag {
  display: inline-block;
  margin-left: 10px;
  padding: 2px 8px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  font-weight: 500;
}

.slider-controls.light .slider-nav-btn {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
}

.slider-controls.light .slider-nav-btn:hover {
  background: var(--color-white);
  color: var(--color-navy-950);
}

.slider-controls.light .slider-dot {
  background: rgba(255, 255, 255, 0.16);
}

.slider-controls.light .slider-dot.is-active {
  background: var(--color-teal-400);
}

/* ===== CTA ===== */

.cta-section {
  color: var(--color-white);
  background:
    radial-gradient(circle at 50% 0, rgba(0, 150, 136, 0.14), transparent 40%),
    var(--color-navy-950);
}

.cta-inner {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
}

.cta-inner h2 {
  margin: 0;
  font-family: var(--font-headings);
  font-size: clamp(2.3rem, 4.4vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.cta-inner > p {
  margin: 18px 0 0;
  color: var(--color-slate-400);
  font-size: 1.08rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
}

.cta-warning {
  margin: 28px 0 0;
  color: var(--color-slate-500);
  font-size: 0.78rem;
}

/* ===== BOOKING SECTION (INTERACTIVE MOCKUP) ===== */

.booking-section {
  background:
    linear-gradient(90deg, rgba(11, 26, 42, 0.98), rgba(11, 26, 42, 0.93)),
    url("assets/clinic-hero.webp") center / cover;
}

.booking-shell-modern {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(50px, 6vw, 100px);
}

.booking-aside-info {
  color: var(--color-white);
  text-align: left;
}

.booking-aside-info h2 {
  color: var(--color-white);
}

.booking-aside-info > p {
  margin: 18px 0 0;
  color: var(--color-slate-400);
  font-size: 1.05rem;
  line-height: 1.6;
}

.booking-trust-strip {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  font-size: 0.94rem;
  color: var(--color-white);
}

.trust-pill svg {
  width: 18px;
  height: 18px;
  stroke: var(--color-teal-300);
  fill: none;
  stroke-width: 2.5;
}

.booking-demo-note {
  margin-top: 28px;
  padding: 12px 16px;
  color: var(--color-slate-400);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  font-size: 0.8rem;
  line-height: 1.5;
}

.booking-cta-wrap {
  margin-top: 32px;
}

.booking-contact-row {
  margin-top: 28px;
  display: flex;
  gap: 20px;
}

/* Interactive Mockup Container */

.booking-interactive-mockup {
  display: flex;
  justify-content: flex-end;
}

.mockup-frame {
  width: 100%;
  max-width: 440px;
  background: var(--color-white);
  border-radius: var(--radius-premium);
  box-shadow: 0 40px 90px rgba(5, 14, 24, 0.35);
  border: 1px solid var(--color-line);
  overflow: hidden;
}

.mockup-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: var(--color-navy-950);
  color: var(--color-white);
}

.mockup-logo {
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.mockup-badge {
  font-size: 0.6rem;
  font-weight: 850;
  background: var(--color-teal-600);
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.08em;
}

.mockup-body-preview {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mockup-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mockup-group label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-slate-500);
}

.mockup-fake-input {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 10px 16px;
  background: var(--color-ivory);
  border: 1px solid var(--color-line);
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 650;
  color: var(--color-navy-900);
}

.submit-mockup-btn {
  width: 100%;
  margin-top: 10px;
}

/* ===== PREMIUM MULTI-STEP BOOKING MODAL ===== */

.booking-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(5, 14, 24, 0.6);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 250ms ease;
}

.booking-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.booking-modal-premium {
  width: min(940px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: var(--color-white);
  border-radius: var(--radius-premium);
  box-shadow: 0 40px 100px rgba(5, 14, 24, 0.35);
  position: relative;
  display: grid;
  grid-template-columns: 280px 1fr;
  animation: modal-slide-up 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes modal-slide-up {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Left Sidebar Summary (shadcn style) */
.booking-modal-sidebar {
  background: var(--color-navy-950);
  color: var(--color-white);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
}

.sidebar-logo {
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  color: var(--color-white);
  margin-bottom: 36px;
}

.booking-summary-steps h3 {
  margin: 0 0 20px;
  font-size: 0.95rem;
  font-weight: 750;
  color: var(--color-teal-300);
}

.summary-check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.summary-step-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  opacity: 0.5;
  transition: opacity 250ms ease;
}

.summary-step-item.is-filled {
  opacity: 1;
}

.step-indicator-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  flex-shrink: 0;
  transition: all 250ms ease;
}

.summary-step-item.is-filled .step-indicator-check {
  background: var(--color-teal-600);
  border-color: var(--color-teal-600);
}

.summary-step-item.is-filled .step-indicator-check::after {
  content: "";
  width: 8px;
  height: 5px;
  border-left: 2px solid var(--color-white);
  border-bottom: 2px solid var(--color-white);
  transform: rotate(-45deg) translate(1px, -1px);
}

.summary-step-item label {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.5);
}

.step-value-text {
  display: block;
  font-size: 0.88rem;
  color: var(--color-white);
  font-weight: 650;
  margin-top: 2px;
  word-break: break-word;
}

.sidebar-demo-warning {
  margin-top: auto;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.4;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Right Main Content */
.booking-modal-main {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.booking-modal-header-modern {
  padding: 32px 36px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.booking-modal-header-modern h2 {
  margin: 0;
  color: var(--color-navy-900);
  font-family: var(--font-headings);
  font-size: 1.55rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.booking-modal-header-modern p {
  margin: 4px 0 0;
  color: var(--color-slate-500);
  font-size: 0.86rem;
}

.booking-close-modern {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--color-ivory);
  border: 1px solid var(--color-line);
  border-radius: 10px;
  color: var(--color-slate-700);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 150ms ease, color 150ms ease;
}

.booking-close-modern:hover {
  background: var(--color-slate-200);
  color: var(--color-navy-950);
}

.booking-close-modern svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
}

.booking-modal-content {
  padding: 24px 36px 32px;
  flex: 1;
}

.booking-progress-modern {
  width: 100%;
  height: 3px;
  background: var(--color-ivory);
  border-radius: 2px;
  margin-bottom: 24px;
  overflow: hidden;
  position: relative;
}

.progress-bar-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 20%;
  background: var(--color-teal-600);
  transition: width 300ms ease;
}

.booking-step {
  display: none;
}

.booking-step.is-active {
  display: block;
}

.booking-step-title {
  margin: 0 0 16px;
  color: var(--color-navy-900);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* Branch and Category Card Options */
.booking-options-modern {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.booking-option {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 18px;
  background: var(--color-ivory);
  border: 1px solid var(--color-line);
  border-radius: 12px;
  cursor: pointer;
  transition: all 180ms ease;
  text-align: left;
}

.booking-option:hover {
  border-color: var(--color-teal-400);
  background: var(--color-mint-50);
}

.booking-option.is-selected {
  border-color: var(--color-teal-600);
  background: var(--color-mint-50);
  box-shadow: 0 4px 14px rgba(0, 150, 136, 0.06);
}

.booking-option strong {
  color: var(--color-navy-900);
  font-size: 0.94rem;
  font-weight: 750;
}

.booking-option span {
  color: var(--color-slate-500);
  font-size: 0.8rem;
}

/* Fields */
.booking-field-modern {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.booking-field-modern label {
  color: var(--color-navy-900);
  font-size: 0.76rem;
  font-weight: 800;
}

.booking-input-field,
.booking-select-field,
.booking-textarea-field,
.booking-date-field {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  color: var(--color-slate-900);
  background: var(--color-ivory);
  border: 1px solid #ccd8dd;
  border-radius: 8px;
  outline: 0;
  transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.select-field-wrap {
  position: relative;
  width: 100%;
}

.booking-select-field {
  appearance: none;
  padding-right: 44px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--color-navy-700) 50%),
    linear-gradient(135deg, var(--color-navy-700) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 52%,
    calc(100% - 15px) 52%;
  background-repeat: no-repeat;
  background-size: 5px 5px;
}

.booking-input-field:focus,
.booking-select-field:focus,
.booking-textarea-field:focus,
.booking-date-field:focus {
  background-color: var(--color-white);
  border-color: var(--color-teal-600);
  box-shadow: 0 0 0 4px rgba(0, 150, 136, 0.1);
}

.booking-input-field[aria-invalid="true"] {
  border-color: #b42318;
}

.booking-textarea-field {
  min-height: 70px;
  resize: vertical;
}

/* Time Grid */

.booking-time-grid-modern {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.booking-time-slot {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background: var(--color-ivory);
  border: 1px solid var(--color-line);
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--color-navy-900);
  cursor: pointer;
  transition: all 150ms ease;
}

.booking-time-slot:hover {
  border-color: var(--color-teal-400);
}

.booking-time-slot.is-selected {
  border-color: var(--color-teal-600);
  background: var(--color-mint-50);
  color: var(--color-teal-600);
  box-shadow: 0 2px 8px rgba(0, 150, 136, 0.05);
}

/* Modal Footer Buttons */

.booking-modal-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 0 36px 32px;
  background: var(--color-white);
}

.booking-modal-footer .button {
  flex: 1;
}

.booking-back-btn {
  background: transparent;
  border: 1px solid var(--color-line);
  color: var(--color-navy-900);
  box-shadow: none;
}

.booking-back-btn:hover {
  background: var(--color-ivory);
  border-color: var(--color-navy-700);
  box-shadow: none;
  transform: none;
}

/* Success Receipt */

.booking-success-modern {
  text-align: center;
  padding: 16px 0;
}

.booking-success-icon-modern {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  color: var(--color-teal-600);
  background: var(--color-mint-50);
  border-radius: 50%;
  animation: success-in 400ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.booking-success-icon-modern svg {
  width: 44px;
}

.booking-success-modern h3 {
  margin: 0;
  color: var(--color-navy-900);
  font-family: var(--font-headings);
  font-size: 1.6rem;
  letter-spacing: -0.03em;
}

.booking-success-modern p {
  margin: 10px 0 0;
  color: var(--color-slate-700);
  font-size: 0.94rem;
}

.booking-receipt-summary {
  margin: 20px auto 0;
  max-width: 420px;
  text-align: left;
  padding: 20px;
  background: var(--color-ivory);
  border: 1px solid var(--color-line);
  border-radius: 14px;
  font-size: 0.86rem;
}

.booking-receipt-summary dl {
  margin: 0;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 10px 14px;
}

.booking-receipt-summary dt {
  font-weight: 800;
  color: var(--color-navy-900);
}

.booking-receipt-summary dd {
  margin: 0;
  color: var(--color-slate-700);
}

.booking-success-actions-modern {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.booking-success-actions-modern .button {
  width: 100%;
  max-width: 320px;
}

.text-button {
  min-height: 48px;
  padding: 8px 14px;
  color: var(--color-teal-600);
  background: transparent;
  border: 0;
  font-weight: 800;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ===== CONTACTS & MAP — INTEGRATED ===== */

.contacts-section {
  background: var(--color-white);
}

.contacts-grid-modern {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}

.contacts-info h2 {
  margin: 0;
  color: var(--color-navy-900);
  font-family: var(--font-headings);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.contacts-branches-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 28px;
}

.branch-card-modern {
  padding: 20px;
  background: var(--color-ivory);
  border: 1px solid var(--color-line);
  border-radius: 14px;
  cursor: pointer;
  transition: all 200ms ease;
}

.branch-card-modern:hover {
  border-color: var(--color-teal-400);
  transform: translateY(-2px);
}

.branch-card-modern.is-active {
  border-color: var(--color-teal-600);
  background: var(--color-mint-50);
  box-shadow: var(--shadow-card);
}

.branch-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.branch-card-modern h3 {
  margin: 0;
  color: var(--color-navy-900);
  font-family: var(--font-headings);
  font-size: 1.05rem;
  font-weight: 800;
}

.branch-status {
  font-size: 0.65rem;
  font-weight: 850;
  color: var(--color-teal-600);
  background: var(--color-mint-100);
  padding: 2px 7px;
  border-radius: 4px;
}

.branch-card-modern p {
  margin: 6px 0 0;
  color: var(--color-slate-700);
  font-size: 0.88rem;
}

.demo-address-label {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 10px;
  color: var(--color-slate-500);
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
}

.contacts-meta-address {
  margin-top: 24px;
  font-style: normal;
}

.contacts-phone {
  color: var(--color-navy-900);
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 0 4px;
}

.contacts-email {
  color: var(--color-slate-700);
  font-size: 0.94rem;
  margin: 0;
}

.contacts-schedule {
  margin: 24px 0 0;
  padding: 0;
}

.contacts-schedule div {
  display: flex;
  justify-content: space-between;
  max-width: 260px;
  padding: 8px 0;
  border-bottom: 1px solid var(--color-line);
  font-size: 0.92rem;
}

.contacts-schedule div:last-child {
  border-bottom: 0;
}

.contacts-schedule dt {
  margin: 0;
  color: var(--color-slate-700);
  font-weight: 650;
}

.contacts-schedule dd {
  margin: 0;
  color: var(--color-navy-900);
  font-weight: 700;
}

.map-wrap-modern {
  position: relative;
  width: 100%;
  height: 480px;
  border-radius: var(--radius-premium);
  overflow: hidden;
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-premium);
}

.map-wrap-modern iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.4) contrast(0.95);
  transition: filter 300ms ease;
}

.map-wrap-modern iframe:hover {
  filter: saturate(0.75) contrast(1);
}

/* ===== DEMO PROJECT ===== */

.demo-project-section {
  padding: 56px 0;
  background: var(--color-ivory);
  border-top: 1px solid var(--color-line);
}

.demo-project-inner {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
}

.demo-project-inner h2 {
  margin: 0;
  color: var(--color-navy-900);
  font-family: var(--font-headings);
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.demo-project-inner > p {
  margin: 14px 0 0;
  color: var(--color-slate-700);
  font-size: 0.92rem;
}

.demo-project-credit {
  margin: 18px 0 0 !important;
  color: var(--color-slate-500) !important;
  font-size: 0.82rem !important;
  font-weight: 650;
}

.demo-project-credit a {
  color: var(--color-teal-600);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===== FOOTER ===== */

.site-footer {
  color: var(--color-white);
  background: var(--color-navy-950);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1fr 0.7fr;
  gap: 65px;
  padding-top: 78px;
  padding-bottom: 68px;
}

.brand-light {
  color: var(--color-white);
}

.brand-light .brand-mark {
  background: rgba(0, 150, 136, 0.15);
}

.brand-light .brand-copy small {
  color: var(--color-slate-400);
}

.footer-brand > p {
  max-width: 330px;
  margin: 23px 0 0;
  color: var(--color-slate-400);
  font-size: 0.9rem;
}

.footer-column h2 {
  margin: 4px 0 21px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-column address {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--color-slate-400);
  font-style: normal;
  font-size: 0.88rem;
}

.footer-column address p {
  margin: 0;
}

.footer-demo-label {
  display: inline-block;
  margin-top: 4px;
  padding: 3px 8px;
  color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  font-size: 0.68rem;
  font-weight: 700;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.88rem;
}

.footer-nav a {
  min-height: 30px;
  color: var(--color-slate-200);
  transition: color 150ms ease;
}

.footer-nav a:hover {
  color: var(--color-teal-300);
}

.hours-list {
  margin: 0;
}

.hours-list div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 7px 0;
  color: var(--color-slate-400);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.84rem;
}

.hours-list dt,
.hours-list dd {
  margin: 0;
}

.hours-list dd {
  color: var(--color-slate-200);
}

.footer-bottom {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-block: 24px;
  color: var(--color-slate-500);
  font-size: 0.76rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
  margin: 0;
}

.footer-credit a {
  color: var(--color-teal-300);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===== REVEAL ANIMATION ===== */

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 600ms ease,
    transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== KEYFRAMES & TEXT EFFECT ===== */

.animate-blur-text {
  opacity: 1;
  transform: none;
}

.animate-blur-text.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes success-in {
  from {
    opacity: 0;
    transform: scale(0.85);
  }
}

@keyframes type-cursor {
  to {
    opacity: 0;
  }
}

/* ===== PRICE DISPLAY IN BENTO CARDS ===== */
.service-price-block {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.service-price-block .price-label {
  font-size: 0.72rem;
  color: var(--color-slate-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 750;
}
.service-price-block .price-value {
  font-size: 1.35rem;
  color: var(--color-teal-600);
  font-weight: 800;
  font-family: var(--font-headings);
}

/* Featured Price Block */
.service-card.featured .service-price-block .price-label {
  color: rgba(255, 255, 255, 0.55);
}
.service-card.featured .service-price-block .price-value {
  color: var(--color-white);
  font-size: 1.5rem;
}

/* ===== PRICES SECTION ===== */
.section-prices {
  background: var(--color-white);
  border-top: 1px solid var(--color-line);
}

.prices-grid-container {
  display: grid;
  grid-template-columns: 0.38fr 0.62fr; /* ~38% / 62% */
  gap: clamp(40px, 5vw, 64px);
  align-items: start;
}

.prices-aside-content {
  position: sticky;
  top: 100px;
}

.prices-subtitle {
  font-size: 1.1rem;
  color: var(--color-slate-700);
  line-height: 1.5;
  margin: 14px 0 24px;
}

.prices-demo-warning {
  background: var(--color-ivory);
  border: 1px dashed var(--color-teal-600);
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 24px;
}

.prices-demo-warning .warning-badge {
  display: inline-flex;
  padding: 4px 8px;
  background: var(--color-teal-600);
  color: var(--color-white);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  border-radius: 4px;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.prices-demo-warning p {
  font-size: 0.82rem;
  color: var(--color-slate-700);
  line-height: 1.45;
  margin: 0;
}

.prices-cta-card {
  background: var(--color-navy-950);
  border-radius: 20px;
  padding: 24px 28px;
  color: var(--color-white);
  box-shadow: var(--shadow-card);
}

.prices-cta-card h3 {
  font-family: var(--font-headings);
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 10px;
}

.prices-cta-card p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  margin: 0 0 20px;
}

/* Accordion Styling */
.prices-accordion-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.accordion-item {
  background: var(--color-ivory);
  border: 1px solid var(--color-line);
  border-radius: 20px;
  overflow: hidden;
  transition: all 250ms ease;
}

.accordion-item.is-open {
  background: var(--color-white);
  border-color: var(--color-teal-100);
  box-shadow: var(--shadow-card);
}

.accordion-item.has-focus {
  border-color: var(--color-teal-600);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 28px;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  color: var(--color-navy-900);
  transition: color 200ms ease;
  font-family: var(--font-headings);
}

.accordion-trigger:hover {
  color: var(--color-teal-600);
}

.accordion-num {
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--color-teal-600);
}

.accordion-title-text {
  font-size: 1.15rem;
  font-weight: 800;
  flex: 1;
}

.accordion-badge {
  font-size: 0.72rem;
  padding: 4px 10px;
  background: var(--color-line);
  color: var(--color-slate-700);
  border-radius: 8px;
  font-weight: 700;
}

.accordion-arrow {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: var(--color-slate-500);
  transition: transform 250ms ease;
}

.accordion-arrow svg {
  width: 18px;
  height: 18px;
}

.accordion-item.is-open .accordion-arrow {
  transform: rotate(180deg);
  color: var(--color-teal-600);
}

/* Accordion Panel Content */
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 350ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.accordion-panel-inner {
  padding: 0 28px 24px;
  display: flex;
  flex-direction: column;
}

/* Price Row Inside Accordion */
.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-line);
  transition: all 200ms ease;
}

.price-row:last-child {
  border-bottom: 0;
  padding-bottom: 4px;
}

.price-row-info {
  flex: 1;
}

.price-row-info h4 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 750;
  color: var(--color-navy-900);
  transition: color 200ms ease;
}

.price-row-info p {
  margin: 6px 0 0;
  font-size: 0.84rem;
  color: var(--color-slate-700);
  line-height: 1.45;
}

.price-row-value-action {
  display: flex;
  align-items: center;
  gap: 24px;
}

.price-val {
  font-family: var(--font-headings);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-teal-600);
  white-space: nowrap;
}

.price-row-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-teal-600);
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
  transition: all 200ms ease;
  min-height: 38px;
  padding: 4px 12px;
  border-radius: 8px;
  border: 1px solid transparent;
}

.price-row-btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 3;
  transition: transform 200ms ease;
}

/* Hover Rows */
.price-row:hover {
  padding-left: 6px;
}

.price-row:hover h4 {
  color: var(--color-teal-600);
}

.price-row-btn:hover {
  background: var(--color-mint-50);
  border-color: var(--color-teal-100);
}

.price-row-btn:hover svg {
  transform: translateX(3px);
}

/* ===== CALLBACK BUTTONS & MODAL ===== */
.header-callback-btn {
  background: transparent;
  border: 1.5px solid var(--color-line);
  color: var(--color-navy-900);
  box-shadow: none;
}
.header-callback-btn:hover {
  border-color: var(--color-teal-600);
  background: var(--color-mint-50);
  color: var(--color-teal-600);
  transform: translateY(-1px);
}

.callback-overlay {
  position: fixed;
  inset: 0;
  z-index: 250;
  background: rgba(9, 29, 46, 0.6);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 250ms ease;
}
.callback-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}
.callback-modal-card {
  width: min(540px, 100%);
  background: var(--color-white);
  border-radius: 24px;
  box-shadow: 0 40px 100px rgba(9, 29, 46, 0.25);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-line);
}
.callback-modal-header {
  padding: 28px 32px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.callback-modal-header h2 {
  margin: 0;
  color: var(--color-navy-900);
  font-size: 1.5rem;
  font-family: var(--font-headings);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.callback-modal-header p {
  margin: 6px 0 0;
  color: var(--color-slate-700);
  font-size: 0.88rem;
  line-height: 1.45;
}
.callback-close-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--color-ivory);
  border: 1px solid var(--color-line);
  border-radius: 10px;
  color: var(--color-slate-700);
  cursor: pointer;
  flex-shrink: 0;
  transition: all 150ms ease;
}
.callback-close-btn:hover {
  background: var(--color-line);
  color: var(--color-navy-950);
}
.callback-close-btn svg {
  width: 18px;
  height: 18px;
}
.callback-modal-body {
  padding: 24px 32px 32px;
}
.callback-demo-warning {
  margin-top: 16px;
  padding: 12px 16px;
  background: var(--color-mint-50);
  border: 1px solid rgba(0, 127, 116, 0.15);
  border-radius: 10px;
  color: var(--color-slate-700);
  font-size: 0.8rem;
  line-height: 1.5;
}
.callback-success-state {
  text-align: center;
  padding: 20px 10px;
}
.callback-success-state h3 {
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--color-navy-900);
  margin: 16px 0 8px;
}
.callback-success-state p {
  font-size: 0.92rem;
  color: var(--color-slate-700);
  line-height: 1.5;
}

/* ===== AI SHOWCASE SECTION ===== */
.section-ai-showcase {
  background: linear-gradient(135deg, var(--color-navy-950) 0%, #061421 100%);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.section-ai-showcase::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 168, 150, 0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}
.ai-showcase-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  position: relative;
  z-index: 2;
}
.ai-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--color-teal-600);
  background: rgba(0, 168, 150, 0.12);
  padding: 6px 12px;
  border-radius: 6px;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.ai-showcase-desc {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.55;
  margin: 18px 0 28px;
}
.ai-benefits-list {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ai-benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}
.benefit-icon {
  color: var(--color-teal-600);
  font-weight: bold;
  font-size: 1.1rem;
  line-height: 1;
  margin-top: 2px;
}
.ai-showcase-cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}
.ai-showcase-cta .text-link:hover {
  color: var(--color-white) !important;
  text-decoration: underline !important;
}

/* AI Mockup Dialogue Card */
.ai-showcase-content,
.ai-showcase-mockup {
  min-width: 0;
}

.ai-showcase-mockup {
  display: flex;
  justify-content: flex-end;
}
.ai-mockup-frame {
  width: min(100%, 440px);
  background: #091d2e;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
}
.ai-mockup-header {
  padding: 16px 20px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.ai-mockup-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.ai-avatar-glow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 168, 150, 0.4) 0%, rgba(9, 29, 46, 0.8) 100%);
  border: 1.5px solid var(--color-teal-600);
  position: relative;
}
.online-indicator {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  background: #2ec4b6;
  border-radius: 50%;
  border: 2px solid #091d2e;
}
.ai-mockup-header h3 {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 750;
  color: var(--color-white);
}
.ai-status {
  font-size: 0.72rem;
  color: #2ec4b6;
  display: block;
  margin-top: 1px;
}
.ai-demo-badge {
  font-size: 0.65rem;
  padding: 3px 6px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.5);
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.ai-mockup-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: rgba(0,0,0,0.15);
  min-height: 280px;
}
.ai-mockup-msg {
  display: flex;
  flex-direction: column;
  max-width: 85%;
}
.ai-mockup-msg.ai {
  align-self: flex-start;
}
.ai-mockup-msg.patient {
  align-self: flex-end;
}
.ai-mockup-msg .msg-content {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.84rem;
  line-height: 1.45;
}
.ai-mockup-msg.ai .msg-content {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  border-bottom-left-radius: 2px;
  border: 1px solid rgba(255,255,255,0.04);
}
.ai-mockup-msg.patient .msg-content {
  background: var(--color-teal-600);
  color: var(--color-white);
  border-bottom-right-radius: 2px;
}
.msg-time {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.3);
  margin-top: 4px;
  align-self: flex-end;
}
.ai-mockup-msg.ai .msg-time {
  align-self: flex-start;
}

/* Slots Inside Chat Mockup */
.ai-mockup-slots-area {
  background: rgba(0, 168, 150, 0.06);
  border: 1px solid rgba(0, 168, 150, 0.15);
  border-radius: 14px;
  padding: 12px 14px;
  margin-top: 4px;
}
.slots-label {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.65);
  font-weight: 700;
  display: block;
  margin-bottom: 6px;
}
.ai-mockup-slots-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.ai-slot-btn {
  background: rgba(255,255,255,0.05);
  border: 1.5px solid rgba(255,255,255,0.1);
  color: var(--color-white);
  padding: 8px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 750;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease;
}
.ai-slot-btn:hover {
  background: rgba(0, 168, 150, 0.15);
  border-color: var(--color-teal-600);
}
.ai-slot-btn.is-selected {
  background: var(--color-teal-600);
  border-color: var(--color-teal-600);
  color: var(--color-white);
  box-shadow: 0 4px 12px rgba(0, 168, 150, 0.3);
}

/* Action Card */
.ai-mockup-action-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 12px;
  font-size: 0.8rem;
  margin-top: 4px;
}
.ai-mockup-action-card p {
  margin: 0;
  color: rgba(255,255,255,0.85);
}

/* Simulated Footer */
.ai-mockup-footer {
  padding: 12px 16px 16px;
  background: rgba(0,0,0,0.2);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.mockup-quick-actions {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 10px;
  scrollbar-width: none;
}
.mockup-quick-actions::-webkit-scrollbar {
  display: none;
}
.quick-action-tag {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.65);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  white-space: nowrap;
  cursor: pointer;
  transition: all 150ms ease;
}
.quick-action-tag:hover {
  background: rgba(255,255,255,0.08);
  color: var(--color-white);
}
.ai-mockup-input-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0,0,0,0.15);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 8px 12px;
}
.fake-input-placeholder {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}
.fake-send-icon {
  color: rgba(255,255,255,0.3);
  cursor: pointer;
}

/* ===== FLOATING AI CHAT TRIGGER BUTTON ===== */
.floating-ai-btn {
  position: fixed;
  right: 32px;
  bottom: 32px;
  z-index: 220;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: var(--color-navy-950);
  color: var(--color-white);
  border: 1.5px solid rgba(255,255,255,0.08);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 16px 40px rgba(9, 29, 46, 0.35);
  transition: all 250ms cubic-bezier(0.2, 0.8, 0.2, 1);
  font-family: var(--font-headings);
}
.floating-ai-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 48px rgba(9, 29, 46, 0.45);
  border-color: var(--color-teal-600);
}
.floating-ai-btn:active {
  transform: scale(0.98);
}
.ai-online-dot {
  position: absolute;
  top: 12px;
  left: 32px;
  width: 8px;
  height: 8px;
  background: #2ec4b6;
  border-radius: 50%;
  border: 1px solid var(--color-navy-950);
}
.ai-btn-glow {
  position: absolute;
  inset: -2px;
  border-radius: 50px;
  background: linear-gradient(135deg, rgba(0, 168, 150, 0.3), rgba(0, 0, 0, 0));
  z-index: -1;
  opacity: 0.6;
}

/* AI Chat Panel / Widget Window */
.ai-chat-panel {
  position: fixed;
  right: 32px;
  bottom: 100px;
  z-index: 230;
  width: min(390px, calc(100vw - 32px));
  max-height: min(640px, calc(100vh - 160px));
  background: #091d2e;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  box-shadow: 0 24px 64px rgba(9,29,46,0.35);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(0.95);
  transition: all 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
  color: var(--color-white);
}
.ai-chat-panel.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.ai-chat-header {
  padding: 16px 20px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ai-chat-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ai-avatar-glow-small {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 168, 150, 0.4) 0%, rgba(9,29,46,0.8) 100%);
  border: 1.5px solid var(--color-teal-600);
  position: relative;
}
.ai-chat-status {
  font-size: 0.72rem;
  color: #2ec4b6;
  display: block;
}
.ai-chat-close-btn {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  color: rgba(255,255,255,0.65);
  cursor: pointer;
  transition: all 150ms ease;
}
.ai-chat-close-btn:hover {
  background: rgba(255,255,255,0.1);
  color: var(--color-white);
}
.ai-chat-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: rgba(0,0,0,0.1);
}
.ai-chat-msg {
  display: flex;
  flex-direction: column;
  max-width: 85%;
}
.ai-chat-msg.system {
  align-self: flex-start;
}
.ai-chat-msg.patient {
  align-self: flex-end;
}
.ai-chat-msg .msg-bubble {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.82rem;
  line-height: 1.45;
}
.ai-chat-msg.system .msg-bubble {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  border-bottom-left-radius: 2px;
  border: 1px solid rgba(255,255,255,0.04);
}
.ai-chat-msg.patient .msg-bubble {
  background: var(--color-teal-600);
  color: var(--color-white);
  border-bottom-right-radius: 2px;
}
.ai-chat-msg.system.typing-indicator .msg-bubble {
  font-style: italic;
  color: rgba(255,255,255,0.5);
}
.ai-chat-msg.error .msg-bubble {
  background: rgba(217, 83, 79, 0.1);
  border-color: rgba(217, 83, 79, 0.2);
  color: #ff6b6b;
}
.msg-timestamp {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.3);
  margin-top: 4px;
  align-self: flex-end;
}
.ai-chat-msg.system .msg-timestamp {
  align-self: flex-start;
}

.ai-chat-response-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.ai-chat-response-actions .quick-tag {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  font-size: 0.69rem;
  font-weight: 700;
  padding: 5px 10px;
}

.ai-chat-response-actions .quick-tag:hover {
  background: rgba(0, 168, 150, 0.15);
  border-color: var(--color-teal-600);
  color: var(--color-white);
}

/* Slots Inside Widget */
.ai-chat-slots-area {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ai-chat-slot-btn {
  background: var(--color-white);
  border: 1.5px solid var(--color-line);
  color: var(--color-navy-900);
  padding: 8px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 750;
  cursor: pointer;
  transition: all 150ms ease;
  text-align: center;
}
.ai-chat-slot-btn:hover {
  border-color: var(--color-teal-600);
  color: var(--color-teal-600);
  background: var(--color-mint-50);
}

.ai-chat-footer {
  padding: 12px 16px 16px;
  background: rgba(255,255,255,0.02);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.ai-chat-quick-actions {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 8px;
  scrollbar-width: none;
}
.ai-chat-quick-actions::-webkit-scrollbar {
  display: none;
}
.ai-chat-quick-actions .quick-tag {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.7rem;
  white-space: nowrap;
  cursor: pointer;
  transition: all 150ms ease;
  font-weight: 700;
}
.ai-chat-quick-actions .quick-tag:hover {
  background: rgba(0, 168, 150, 0.15);
  border-color: var(--color-teal-600);
  color: var(--color-white);
}
.ai-chat-input-row {
  display: flex;
  gap: 8px;
}
.ai-chat-input-row input {
  flex: 1;
  background: rgba(0,0,0,0.15);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 0.8rem;
  color: var(--color-white);
  outline: none;
  transition: all 150ms ease;
}
.ai-chat-input-row input:focus {
  border-color: var(--color-teal-600);
  background: rgba(0,0,0,0.25);
}
.ai-send-btn {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--color-teal-600);
  border: 0;
  border-radius: 12px;
  color: var(--color-white);
  cursor: pointer;
  transition: all 150ms ease;
  flex-shrink: 0;
}
.ai-send-btn:hover {
  background: #00c4b2;
  transform: scale(1.02);
}
.ai-chat-demo-disclaimer {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.3);
  text-align: center;
  margin-top: 8px;
}

/* ===== MOBILE STICKY ACTION BAR ===== */
.mobile-sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 150;
  background: var(--color-white);
  border-top: 1px solid var(--color-line);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  display: none;
  grid-template-columns: 1.4fr 1fr;
  gap: 12px;
  box-shadow: 0 -8px 24px rgba(9, 29, 46, 0.08);
}
.mobile-sticky-bar .button {
  width: 100%;
  justify-content: center;
}
.mobile-sticky-bar .mobile-sticky-secondary {
  background: transparent;
  border: 1.5px solid var(--color-line);
  color: var(--color-navy-900);
  box-shadow: none;
}

/* Hide sticky bar when modals/chat are open */
body.has-modal-open .mobile-sticky-bar {
  display: none !important;
}

@keyframes slideUpBar {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* --- ≤1120px --- */

@media (max-width: 1120px) {
  .desktop-nav {
    display: none;
  }

  .header-callback-btn {
    display: none !important;
  }

  .menu-toggle {
    width: 48px;
    height: 48px;
    display: grid;
    place-content: center;
    gap: 5px;
    padding: 0;
    color: var(--color-navy-900);
    background: var(--color-ivory);
    border: 1px solid var(--color-line);
    border-radius: 8px;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 21px;
    height: 2px;
    background: currentColor;
    border-radius: 3px;
    transition:
      transform 180ms ease,
      opacity 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }

  .mobile-nav {
    position: fixed;
    top: calc(var(--header-height) + var(--banner-height));
    right: 0;
    left: 0;
    max-height: calc(100svh - var(--header-height) - var(--banner-height));
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow-y: auto;
    padding: 18px 20px 26px;
    background: var(--color-white);
    border-top: 1px solid var(--color-line);
    box-shadow: 0 30px 45px rgba(5, 14, 24, 0.12);
  }

  .mobile-nav[hidden] {
    display: none;
  }

  .mobile-nav > a:not(.button) {
    min-height: 52px;
    display: flex;
    align-items: center;
    padding: 7px 10px;
    color: var(--color-navy-900);
    border-bottom: 1px solid var(--color-line);
    font-weight: 750;
  }

  .mobile-nav .button {
    margin-top: 12px;
  }

  .hero-floating-cards {
    display: none;
  }

  .hero-inner-content {
    grid-template-columns: 1fr;
    padding: 60px 40px;
  }

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

  .doctor-card {
    flex: 0 0 100%;
    width: 100%;
  }

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

  .footer-top {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .footer-column:last-child {
    display: none;
  }

  /* Booking modal sidebar is hidden or layout changes */
  .booking-modal-premium {
    grid-template-columns: 1fr;
  }

  .booking-modal-sidebar {
    display: none;
  }
}

/* --- ≤860px --- */

@media (max-width: 860px) {
  :root {
    --header-height: 74px;
  }

  /* AI Showcase & Chat Responsive <=860px */
  .ai-showcase-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .ai-showcase-mockup {
    justify-content: center;
  }
  .ai-chat-panel {
    right: 16px;
    left: 16px;
    width: auto;
    bottom: 96px;
    max-height: calc(100vh - 120px);
  }

  .section {
    padding: 80px 0;
  }

  .desktop-cta {
    display: none;
  }

  .hero-inner-content {
    padding: 50px 30px;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
  }

  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 30px 0;
  }

  .section-heading {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 16px;
    margin-bottom: 38px;
  }

  .about-grid {
    display: flex;
    flex-direction: column-reverse; /* Text first, then image on mobile */
    gap: 32px;
  }

  .about-copy {
    padding-top: 0;
  }

  .about-visual {
    min-height: auto;
    aspect-ratio: 4 / 3;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
  }

  .about-floating-card {
    position: static;
    margin: 16px auto 0;
    width: calc(100% - 32px);
    max-width: none;
    background: var(--color-white);
    text-align: center;
    box-shadow: none;
    border: 1px solid var(--color-line);
    border-radius: 12px;
    padding: 12px 16px;
  }

  .services-tabs {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    border-radius: 16px;
  }

  .tab-btn {
    padding: 8px 16px;
    font-size: 0.86rem;
  }

  .services-bento-grid {
    grid-template-columns: 1fr;
  }

  .service-card.featured {
    grid-column: auto;
    padding: 32px 28px;
  }

  .services-toggle-wrap {
    display: flex;
    justify-content: center;
    margin-top: 24px;
  }

  .services-toggle-btn {
    background: var(--color-ivory);
    border-color: var(--color-line);
    color: var(--color-navy-950);
  }

  .services-toggle-btn:hover {
    background: var(--color-mint-50);
  }

  .doctor-card-inner {
    grid-template-columns: 1fr;
  }

  .doctor-photo-wrap {
    aspect-ratio: 1 / 1;
  }

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

  .how-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .testimonial-slide {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .testimonial-portrait {
    max-width: 320px;
    margin-inline: auto;
    aspect-ratio: 1 / 1;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .button {
    width: 100%;
    max-width: 380px;
  }

  .booking-shell-modern {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .booking-interactive-mockup {
    justify-content: center;
  }

  .contacts-grid-modern {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .map-wrap-modern {
    height: 380px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  /* Prices Responsive <=860px */
  .prices-grid-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .prices-aside-content {
    position: static;
  }

  .prices-demo-warning {
    margin-bottom: 16px;
  }

  .price-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .price-row-value-action {
    width: 100%;
    justify-content: space-between;
    border-top: 1px dashed var(--color-line);
    padding-top: 12px;
    gap: 12px;
  }
}

/* --- ≤640px --- */

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--container-width));
  }

  /* Mobile Sticky Bar show & safe area padding offset */
  .mobile-sticky-bar {
    display: grid;
  }
  
  body {
    padding-bottom: 76px;
  }

  .floating-ai-btn {
    right: 20px;
    bottom: 96px; /* Offset to sit nicely above mobile sticky bar */
    padding: 12px;
  }
  
  .floating-ai-btn .ai-btn-text {
    display: none;
  }
  
  .floating-ai-btn .ai-online-dot {
    left: 28px;
    top: 10px;
  }

  /* Chat Panel Drawer style on Mobile */
  .ai-chat-panel {
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    max-height: 85vh;
    border-radius: 24px 24px 0 0;
    transform: translateY(100%);
    box-shadow: 0 -10px 40px rgba(9, 29, 46, 0.25);
  }
  .ai-chat-panel.is-open {
    transform: translateY(0);
  }

  /* Callback Drawer style on Mobile */
  .callback-overlay {
    align-items: flex-end;
    padding: 0;
  }
  .callback-modal-card {
    width: 100%;
    border-radius: 24px 24px 0 0;
    max-height: 90vh;
    transform: translateY(100%);
    transition: transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .callback-overlay.is-open .callback-modal-card {
    transform: translateY(0);
  }
  .callback-modal-header {
    padding: 24px 24px 0;
  }
  .callback-modal-body {
    padding: 18px 24px 32px;
  }

  .section {
    padding: 60px 0;
  }

  .demo-banner {
    font-size: 0.66rem;
  }

  .demo-banner-inner {
    gap: 10px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-copy strong {
    font-size: 1.05rem;
  }

  .brand-copy small,
  .demo-badge {
    display: none;
  }

  .hero-container-box {
    border-radius: 16px;
    min-height: auto;
  }

  .hero-inner-content {
    padding: 40px 20px;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 10vw, 3rem);
  }

  .hero-lead {
    margin-top: 18px;
    font-size: 0.94rem;
  }

  .hero-buttons {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
  }

  .hero-buttons .button {
    width: 100%;
  }

  .advantages-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .advantage-item {
    border-bottom: 1px solid var(--color-line);
    padding-bottom: 16px;
  }

  .advantage-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .about-visual {
    min-height: auto;
    aspect-ratio: 4 / 3;
    border-radius: 16px;
  }

  .section-heading h2,
  .about-intro h2,
  .booking-aside-info h2 {
    font-size: clamp(2rem, 9vw, 2.7rem);
  }

  .why-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    margin-bottom: 30px;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .how-copy h2 {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .how-mockup {
    display: none;
  }

  .testimonial-slide {
    padding: 0 10px;
  }

  .testimonial-text-side blockquote {
    font-size: 1.15rem;
  }

  .contacts-branches-layout {
    grid-template-columns: 1fr;
  }

  .map-wrap-modern {
    height: 300px;
    border-radius: 16px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 50px;
    padding-bottom: 40px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-column:last-child {
    display: block;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    padding-block: 20px 88px;
  }

  /* PREMIUM BOOKING MODAL — MOBILE BOTTOM SHEET DRAWER STYLE */
  .booking-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .booking-modal-premium {
    width: 100%;
    border-radius: 20px 20px 0 0;
    max-height: 92svh;
  }

  .booking-modal-header-modern {
    padding: 20px 20px 0;
  }

  .booking-modal-content {
    padding: 16px 20px 20px;
  }

  .booking-modal-footer {
    padding: 0 20px 20px;
  }

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

  .booking-receipt-summary dl {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .booking-receipt-summary dt {
    margin-top: 6px;
  }

  .booking-receipt-summary dt:first-child {
    margin-top: 0;
  }
}

/* ===== REDUCED MOTION ===== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .animate-blur-text {
    filter: none;
    opacity: 1;
    transform: none;
  }
}

/* ===================================================================
   2026 RESPONSIVE & THEME AUDIT
   =================================================================== */

:root {
  --surface-base: var(--color-ivory);
  --surface-card: var(--color-white);
  --surface-soft: var(--color-mint-50);
  --text-strong: var(--color-navy-900);
  --text-muted: var(--color-slate-700);
  --mobile-action-height: 80px;
}

html,
body {
  overflow-x: clip;
}

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

body,
.site-header,
.mobile-nav,
.mobile-sticky-bar,
.service-card,
.doctor-card,
.why-card,
.accordion-item,
.prices-cta-card,
.about-floating-card,
.callback-modal-card,
.booking-modal-premium,
.booking-option,
.booking-input-field,
.booking-select-field,
.booking-textarea-field,
.booking-date-field {
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.container,
.section-heading,
.about-grid,
.services-bento-grid,
.prices-grid-container,
.contacts-grid-modern,
.footer-top,
.hero-inner-content,
.booking-shell-modern,
.ai-showcase-container,
.doctor-card-inner,
.testimonial-slide,
.booking-modal-main,
.booking-modal-content,
.callback-modal-body {
  min-width: 0;
}

.section-heading > *,
.hero-copy,
.doctor-details,
.footer-column,
.callback-modal-header > div {
  min-width: 0;
  overflow-wrap: anywhere;
}

.theme-toggle {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 44px;
  color: var(--color-navy-900);
  background: var(--color-ivory);
  border: 1px solid var(--color-line);
  border-radius: 10px;
}

.theme-toggle svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.theme-icon-moon { display: none; }
html[data-theme="dark"] .theme-icon-sun { display: none; }
html[data-theme="dark"] .theme-icon-moon { display: block; }

.mobile-callback-button {
  width: 100%;
  justify-content: center;
}

/* Make the booking flow a stable app-like sheet on compact viewports. */
.booking-modal-premium {
  overflow: hidden;
}

.booking-modal-main {
  min-height: 0;
}

.booking-modal-content {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.booking-modal-header-modern,
.booking-modal-footer {
  flex: 0 0 auto;
}

/* Callback is intentionally brief: no internal scroll and only two inputs. */
.callback-modal-card {
  width: min(480px, 100%);
  max-height: min(560px, calc(100dvh - 40px));
  overflow: hidden;
}

.callback-modal-body {
  padding-top: 20px;
}

.callback-demo-warning {
  margin-top: 14px;
}

/* A calm charcoal-and-sage night theme with readable text on every surface. */
html[data-theme="dark"] {
  color-scheme: dark;
  --dark-background: #0D0D0D;
  --dark-surface: #151515;
  --dark-card: #1D1D1D;
  --dark-card-hover: #242424;
  --dark-border: #343434;
  --dark-text: #F7F4ED;
  --dark-text-secondary: #A8A6A0;
  --dark-text-muted: #787772;
  --dark-primary: #F7F4ED;
  --dark-primary-hover: #DDD8CE;
  --dark-primary-foreground: #111111;
  --dark-accent: #D8D3C7;
  --dark-accent-soft: #292825;
  --dark-focus-ring: #E7E1D6;
  --dark-stars: #C9AA68;
  --surface-base: var(--dark-background);
  --surface-card: var(--dark-card);
  --surface-soft: var(--dark-accent-soft);
  --text-strong: var(--dark-text);
  --text-muted: var(--dark-text-secondary);
  --color-white: var(--dark-text);
  --color-navy-950: var(--dark-background);
  --color-navy-900: var(--dark-text);
  --color-navy-800: var(--dark-text-secondary);
  --color-navy-700: var(--dark-text-secondary);
  --color-teal-600: var(--dark-primary);
  --color-teal-500: var(--dark-primary-hover);
  --color-teal-400: var(--dark-accent);
  --color-teal-300: var(--dark-accent);
  --color-teal-100: var(--dark-accent-soft);
  --color-gold: var(--dark-stars);
  --color-ivory: var(--dark-background);
  --color-mint-50: var(--dark-accent-soft);
  --color-mint-100: var(--dark-accent-soft);
  --color-slate-900: var(--dark-text);
  --color-slate-700: var(--dark-text-secondary);
  --color-slate-500: var(--dark-text-muted);
  --color-slate-200: var(--dark-border);
  --color-line: var(--dark-border);
  --shadow-premium: 0 24px 60px rgba(0, 0, 0, 0.2);
  --shadow-card: 0 14px 38px rgba(0, 0, 0, 0.14);
}

html[data-theme="dark"] body {
  color: var(--text-muted);
  background: var(--surface-base);
}

html[data-theme="dark"] .site-header,
html[data-theme="dark"] .mobile-nav,
html[data-theme="dark"] .mobile-sticky-bar,
html[data-theme="dark"] .about-floating-card,
html[data-theme="dark"] .service-card,
html[data-theme="dark"] .doctor-card,
html[data-theme="dark"] .why-card,
html[data-theme="dark"] .accordion-item,
html[data-theme="dark"] .prices-cta-card,
html[data-theme="dark"] .callback-modal-card,
html[data-theme="dark"] .booking-modal-premium,
html[data-theme="dark"] .booking-option,
html[data-theme="dark"] .booking-modal-footer,
html[data-theme="dark"] .booking-modal-header-modern,
html[data-theme="dark"] .map-wrap-modern {
  background: var(--surface-card);
  border-color: var(--color-line);
}

html[data-theme="dark"] .site-header,
html[data-theme="dark"] .site-header.is-scrolled {
  background: rgba(21, 21, 21, 0.94);
}

html[data-theme="dark"] .section,
html[data-theme="dark"] .advantages-strip,
html[data-theme="dark"] .section-about,
html[data-theme="dark"] .section-prices,
html[data-theme="dark"] .how-section,
html[data-theme="dark"] .contacts-section,
html[data-theme="dark"] .demo-project-section {
  background-color: var(--surface-base);
  border-color: var(--color-line);
}

html[data-theme="dark"] .section-heading h2,
html[data-theme="dark"] .about-intro h2,
html[data-theme="dark"] .booking-aside-info h2,
html[data-theme="dark"] .prices-aside-content h2,
html[data-theme="dark"] .how-copy h2,
html[data-theme="dark"] .contacts-info h2,
html[data-theme="dark"] .service-card h3,
html[data-theme="dark"] .doctor-details h3,
html[data-theme="dark"] .why-card h3,
html[data-theme="dark"] .accordion-title-text,
html[data-theme="dark"] .price-row h4,
html[data-theme="dark"] .callback-modal-header h2,
html[data-theme="dark"] .callback-success-state h3,
html[data-theme="dark"] .booking-modal-header-modern h2,
html[data-theme="dark"] .booking-step-title,
html[data-theme="dark"] .booking-option strong,
html[data-theme="dark"] .booking-field-modern label,
html[data-theme="dark"] .brand,
html[data-theme="dark"] .mobile-nav > a:not(.button),
html[data-theme="dark"] .mobile-sticky-secondary {
  color: var(--text-strong);
}

html[data-theme="dark"] .brand-copy strong,
html[data-theme="dark"] .desktop-nav a,
html[data-theme="dark"] .header-callback-btn,
html[data-theme="dark"] .contacts-phone,
html[data-theme="dark"] .contacts-email,
html[data-theme="dark"] .footer-column h2 {
  color: var(--text-strong);
}

html[data-theme="dark"] .brand-copy small,
html[data-theme="dark"] .footer-column address,
html[data-theme="dark"] .footer-brand > p,
html[data-theme="dark"] .footer-bottom,
html[data-theme="dark"] .footer-nav a {
  color: var(--text-muted);
}

html[data-theme="dark"] .section-heading > p,
html[data-theme="dark"] .prices-subtitle,
html[data-theme="dark"] .contacts-info > p,
html[data-theme="dark"] .booking-aside-info > p,
html[data-theme="dark"] .callback-modal-header p,
html[data-theme="dark"] .callback-success-state p,
html[data-theme="dark"] .booking-modal-header-modern p,
html[data-theme="dark"] .booking-option span,
html[data-theme="dark"] .adv-content p,
html[data-theme="dark"] .doctor-role,
html[data-theme="dark"] .doctor-exp,
html[data-theme="dark"] .doctor-desc,
html[data-theme="dark"] .price-row p {
  color: var(--text-muted);
}

html[data-theme="dark"] .adv-content h3,
html[data-theme="dark"] .about-lead,
html[data-theme="dark"] .about-features li,
html[data-theme="dark"] .how-step h3,
html[data-theme="dark"] .how-step p,
html[data-theme="dark"] .contacts-schedule,
html[data-theme="dark"] .prices-demo-warning,
html[data-theme="dark"] .accordion-badge,
html[data-theme="dark"] .price-row-value,
html[data-theme="dark"] .demo-project-inner p {
  color: var(--text-muted);
}

html[data-theme="dark"] .booking-input-field,
html[data-theme="dark"] .booking-select-field,
html[data-theme="dark"] .booking-textarea-field,
html[data-theme="dark"] .booking-date-field,
html[data-theme="dark"] .booking-time-slot,
html[data-theme="dark"] .ai-chat-slot-btn,
html[data-theme="dark"] .mobile-sticky-secondary,
html[data-theme="dark"] .theme-toggle,
html[data-theme="dark"] .menu-toggle {
  color: var(--text-strong);
  background-color: var(--surface-soft);
  border-color: var(--color-line);
}

html[data-theme="dark"] .booking-input-field:focus,
html[data-theme="dark"] .booking-select-field:focus,
html[data-theme="dark"] .booking-textarea-field:focus,
html[data-theme="dark"] .booking-date-field:focus {
  background-color: var(--dark-card-hover);
}

html[data-theme="dark"] .booking-time-slot.is-selected,
html[data-theme="dark"] .booking-option.is-selected {
  background: var(--dark-accent-soft);
}

html[data-theme="dark"] .about-floating-card,
html[data-theme="dark"] .prices-demo-warning,
html[data-theme="dark"] .callback-demo-warning,
html[data-theme="dark"] .booking-final-warning-note,
html[data-theme="dark"] .demo-banner {
  color: var(--text-muted);
  background-color: var(--surface-soft);
  border-color: var(--color-line);
}

html[data-theme="dark"] .site-footer,
html[data-theme="dark"] .booking-modal-sidebar {
  background: var(--dark-background);
}

html[data-theme="dark"] .hero-gradient-overlay {
  background:
    linear-gradient(90deg, rgba(13, 13, 13, 0.96) 0%, rgba(13, 13, 13, 0.88) 46%, rgba(13, 13, 13, 0.32) 82%),
    linear-gradient(0deg, rgba(13, 13, 13, 0.72) 0%, transparent 62%);
}

html[data-theme="dark"] .adv-content h3,
html[data-theme="dark"] .how-step h3,
html[data-theme="dark"] .price-row-value {
  color: var(--text-strong);
}

/* Monochrome controls: cream primary actions, transparent secondary actions. */
html[data-theme="dark"] .button {
  color: var(--dark-primary-foreground);
  background: var(--dark-primary);
  border-color: var(--dark-primary);
}

html[data-theme="dark"] .button:hover {
  color: var(--dark-primary-foreground);
  background: var(--dark-primary-hover);
  border-color: var(--dark-primary-hover);
}

html[data-theme="dark"] .service-featured-badge {
  color: var(--dark-primary-foreground);
  background: var(--dark-primary);
}

html[data-theme="dark"] .prices-demo-warning .warning-badge,
html[data-theme="dark"] .mockup-badge,
html[data-theme="dark"] .mockup-slot.is-selected {
  color: var(--dark-primary-foreground);
  background-color: var(--dark-primary);
  border-color: var(--dark-primary);
}

html[data-theme="dark"] .mockup-card {
  background: var(--dark-card);
  border-color: var(--dark-border);
}

html[data-theme="dark"] .mockup-header,
html[data-theme="dark"] .mockup-slot {
  color: var(--dark-text);
}

html[data-theme="dark"] .mockup-slot {
  background: var(--dark-background);
  border-color: var(--dark-border);
}

html[data-theme="dark"] .button-secondary,
html[data-theme="dark"] .button-secondary-light,
html[data-theme="dark"] .header-callback-btn,
html[data-theme="dark"] .mobile-sticky-secondary,
html[data-theme="dark"] .booking-back-btn {
  color: var(--dark-text);
  background: transparent;
  border-color: var(--dark-border);
  box-shadow: none;
}

html[data-theme="dark"] .button-secondary:hover,
html[data-theme="dark"] .button-secondary-light:hover,
html[data-theme="dark"] .header-callback-btn:hover,
html[data-theme="dark"] .mobile-sticky-secondary:hover,
html[data-theme="dark"] .booking-back-btn:hover {
  color: var(--dark-text);
  background: var(--dark-card-hover);
  border-color: var(--dark-border);
}

html[data-theme="dark"] :focus-visible {
  outline-color: var(--dark-focus-ring);
}

html[data-theme="dark"] .service-card:hover,
html[data-theme="dark"] .doctor-card:hover,
html[data-theme="dark"] .why-card:hover,
html[data-theme="dark"] .booking-option:hover,
html[data-theme="dark"] .accordion-trigger:hover {
  background-color: var(--dark-card-hover);
}

html[data-theme="dark"] .ai-online-dot,
html[data-theme="dark"] .online-indicator,
html[data-theme="dark"] .ai-chat-status,
html[data-theme="dark"] .ai-send-btn:hover {
  color: var(--dark-accent);
  background-color: var(--dark-accent);
}

html[data-theme="dark"] .ai-chat-status {
  background-color: transparent;
}

html[data-theme="dark"] .ai-online-dot,
html[data-theme="dark"] .online-indicator {
  border-color: var(--dark-surface);
}

html[data-theme="dark"] .testimonial-stars svg,
html[data-theme="dark"] .review-stars svg {
  color: var(--dark-stars);
  fill: var(--dark-stars);
}

/* Keep the photo-backed booking and AI areas in the same graphite palette. */
html[data-theme="dark"] .booking-section {
  background:
    linear-gradient(90deg, rgba(13, 13, 13, 0.98), rgba(13, 13, 13, 0.93)),
    url("assets/clinic-hero.webp") center / cover;
}

html[data-theme="dark"] .section-ai-showcase {
  background: linear-gradient(135deg, var(--dark-background) 0%, var(--dark-surface) 100%);
  border-color: var(--dark-border);
}

html[data-theme="dark"] .section-ai-showcase::before {
  background: radial-gradient(circle, rgba(216, 211, 199, 0.08) 0%, transparent 70%);
}

html[data-theme="dark"] .ai-mockup-frame,
html[data-theme="dark"] .ai-chat-panel {
  background: var(--dark-card);
  border-color: var(--dark-border);
  box-shadow: 0 24px 64px rgba(13, 13, 13, 0.42);
}

html[data-theme="dark"] .ai-mockup-header,
html[data-theme="dark"] .ai-chat-header,
html[data-theme="dark"] .ai-chat-footer,
html[data-theme="dark"] .ai-chat-messages {
  background-color: var(--dark-surface);
  border-color: var(--dark-border);
}

html[data-theme="dark"] .ai-mockup-msg.ai .msg-content,
html[data-theme="dark"] .ai-chat-msg.system .msg-bubble,
html[data-theme="dark"] .ai-chat-msg.patient .msg-bubble,
html[data-theme="dark"] .ai-chat-slots-area,
html[data-theme="dark"] .ai-chat-quick-actions .quick-tag,
html[data-theme="dark"] .ai-chat-response-actions .quick-tag,
html[data-theme="dark"] .ai-chat-input-row input {
  color: var(--dark-text);
  background-color: var(--dark-accent-soft);
  border-color: var(--dark-border);
}

html[data-theme="dark"] .ai-mockup-msg.patient .msg-content,
html[data-theme="dark"] .ai-slot-btn.is-selected {
  color: var(--dark-primary-foreground);
  background-color: var(--dark-primary);
  border-color: var(--dark-primary);
}

html[data-theme="dark"] .ai-demo-badge {
  color: var(--dark-text-secondary);
  background-color: var(--dark-card-hover);
  border-color: var(--dark-border);
}

html[data-theme="dark"] .msg-time {
  color: var(--dark-text-muted);
}

html[data-theme="dark"] .slots-label {
  color: var(--dark-text-secondary);
}

html[data-theme="dark"] .map-wrap-modern {
  box-shadow: none;
}

html[data-theme="dark"] .map-wrap-modern iframe {
  border-color: var(--color-line);
}

@media (max-width: 1120px) {
  .mobile-nav {
    padding-bottom: calc(26px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 640px) {
  :root {
    --mobile-action-height: 88px;
    --banner-height: 56px;
  }

  .demo-banner {
    font-size: 0.75rem;
    line-height: 1.35;
  }

  .demo-banner-inner {
    justify-content: space-between;
    gap: 12px;
  }

  .demo-banner-inner > span {
    min-width: 0;
  }

  .demo-banner-link {
    flex: 0 0 auto;
    padding: 5px 12px;
    font-size: 0.68rem;
    line-height: 1.2;
  }

  body {
    padding-bottom: calc(var(--mobile-action-height) + env(safe-area-inset-bottom));
  }

  .site-header .header-inner {
    position: relative;
    gap: 4px;
  }

  .header-actions {
    gap: 6px;
    position: absolute;
    right: 0;
    flex: 0 0 auto;
  }

  .brand {
    min-width: 0;
    max-width: calc(100% - 94px);
    gap: 8px;
  }

  .theme-toggle { width: 40px; height: 40px; flex-basis: 40px; }
  .menu-toggle { width: 44px; height: 44px; }

  .mobile-sticky-bar {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  }

  .mobile-sticky-bar .button,
  .hero-buttons .button,
  .callback-modal-card .button {
    min-height: 48px;
  }

  .floating-ai-btn {
    right: 16px;
    bottom: calc(var(--mobile-action-height) + env(safe-area-inset-bottom) + 14px);
  }

  .ai-chat-panel {
    max-height: min(86dvh, calc(100dvh - env(safe-area-inset-top) - 12px));
    padding-bottom: env(safe-area-inset-bottom);
  }

  .ai-mockup-header {
    align-items: flex-start;
  }

  .ai-mockup-header h3 {
    font-size: 0.84rem;
    line-height: 1.25;
  }

  .ai-demo-badge {
    flex: 0 0 96px;
    max-width: 96px;
    line-height: 1.25;
  }

  .callback-modal-card {
    max-height: min(70dvh, calc(100dvh - env(safe-area-inset-top)));
    padding-bottom: env(safe-area-inset-bottom);
  }

  .callback-modal-header {
    padding: 22px 20px 0;
  }

  .callback-modal-body {
    padding: 18px 20px 22px;
  }

  .booking-modal-premium {
    max-height: 100dvh;
  }

  .booking-modal-header-modern {
    padding: 18px 20px 0;
  }

  .booking-modal-content {
    padding: 16px 20px;
  }

  .booking-modal-footer {
    padding: 12px 20px calc(16px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--color-line);
  }

  .booking-input-field,
  .booking-select-field,
  .booking-textarea-field,
  .booking-date-field,
  .ai-chat-input-row input {
    font-size: 16px;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 10.2vw, 2.9rem);
    line-height: 1.04;
    text-wrap: initial;
    max-inline-size: 10ch;
  }

  .hero-lead { max-inline-size: 34ch; }

  .hero-inner-content {
    padding: clamp(32px, 9vw, 44px) clamp(18px, 5vw, 24px);
  }

  .hero-lead {
    font-size: 1rem;
  }

  .services-tabs-wrap {
    margin-inline: -14px;
    padding-inline: 14px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
  }

  .services-tabs {
    width: max-content;
  }

  .service-card.featured {
    padding: 26px 22px;
  }

  .service-card.featured .service-card-header {
    align-items: center;
    gap: 12px;
  }

  .service-card.featured h3 {
    min-width: 0;
    flex: 1 1 auto;
  }

  .service-card.featured .service-duration {
    flex: 0 0 88px;
    justify-content: center;
    min-height: 48px;
    padding: 6px 10px;
    text-align: center;
    white-space: nowrap;
  }

  .map-wrap-modern {
    aspect-ratio: 4 / 3;
    height: auto;
  }
}
