/* ============================================================
   СТОМАТОЛОГИЧЕСКАЯ КЛИНИКА ИНТАН — PREMIUM CSS v2.0
   Dental Luxury · Osh, Kyrgyzstan
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,700;1,400;1,500&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* ── TOKENS ── */
:root {
  --c-bg:          #f8fafc;
  --c-bg-alt:      #eef4fb;
  --c-surface:     #ffffff;
  --c-surface-2:   rgba(255,255,255,0.7);
  --c-border:      rgba(14,165,233,0.12);
  --c-border-2:    rgba(14,165,233,0.22);

  --c-text:        #0f2137;
  --c-text-2:      #3d5875;
  --c-text-3:      #6e8ba6;

  --c-primary:     #0369a1;
  --c-primary-2:   #0ea5e9;
  --c-accent:      #06b6d4;
  --c-accent-2:    #22d3ee;

  --grad-main:     linear-gradient(135deg, #0369a1 0%, #0ea5e9 55%, #06b6d4 100%);
  --grad-soft:     linear-gradient(135deg, rgba(3,105,161,.08) 0%, rgba(6,182,212,.06) 100%);
  --grad-glass:    linear-gradient(135deg, rgba(255,255,255,0.65) 0%, rgba(255,255,255,0.3) 100%);

  --shadow-sm:     0 2px 12px rgba(3,105,161,.08);
  --shadow-md:     0 8px 32px rgba(3,105,161,.12);
  --shadow-lg:     0 20px 60px rgba(3,105,161,.16);
  --shadow-xl:     0 32px 80px rgba(3,105,161,.22);

  --radius-sm:     10px;
  --radius-md:     18px;
  --radius-lg:     28px;
  --radius-xl:     40px;
  --radius-full:   9999px;

  --font-display:  'Playfair Display', Georgia, serif;
  --font-body:     'Plus Jakarta Sans', sans-serif;

  --ease-out:      cubic-bezier(.22,1,.36,1);
  --ease-spring:   cubic-bezier(.34,1.56,.64,1);

  --header-h:      72px;
}

[data-theme="dark"] {
  --c-bg:          #060f1a;
  --c-bg-alt:      #0c1d2e;
  --c-surface:     #0f2137;
  --c-surface-2:   rgba(15,33,55,0.75);
  --c-border:      rgba(14,165,233,0.15);
  --c-border-2:    rgba(14,165,233,0.28);
  --c-text:        #e8f4fd;
  --c-text-2:      #8bb8d4;
  --c-text-3:      #5a8aaa;
  --grad-soft:     linear-gradient(135deg, rgba(3,105,161,.15) 0%, rgba(6,182,212,.10) 100%);
  --grad-glass:    linear-gradient(135deg, rgba(15,33,55,0.7) 0%, rgba(6,18,30,0.5) 100%);
  --shadow-sm:     0 2px 12px rgba(0,0,0,.25);
  --shadow-md:     0 8px 32px rgba(0,0,0,.35);
  --shadow-lg:     0 20px 60px rgba(0,0,0,.45);
  --shadow-xl:     0 32px 80px rgba(0,0,0,.55);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); font-size: 16px; }
body { font-family: var(--font-body); background: var(--c-bg); color: var(--c-text); line-height: 1.65; overflow-x: hidden; -webkit-font-smoothing: antialiased; transition: background .4s ease, color .4s ease; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; color: inherit; }
ul { list-style: none; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--c-bg); }
::-webkit-scrollbar-thumb { background: var(--c-primary-2); border-radius: 3px; }

/* ── CURSOR GLOW ── */
.cursor-glow {
  position: fixed;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14,165,233,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: opacity .3s;
}

/* ── PARTICLES ── */
.particles-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* ── CONTAINER ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── SECTION BASICS ── */
.section { padding: 96px 0; position: relative; }
.section-head { text-align: center; margin-bottom: 64px; }
.section-tag { display: inline-block; background: var(--grad-soft); border: 1px solid var(--c-border-2); color: var(--c-primary); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: 6px 18px; border-radius: var(--radius-full); margin-bottom: 20px; }
.section-title { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; line-height: 1.2; color: var(--c-text); margin-bottom: 16px; }
.section-title em { font-style: italic; background: var(--grad-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-sub { font-size: 1.05rem; color: var(--c-text-2); max-width: 560px; margin: 0 auto; }

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: var(--radius-full); font-weight: 600; font-size: .95rem; transition: all .3s var(--ease-out); cursor: pointer; position: relative; overflow: hidden; white-space: nowrap; }
.btn--primary { background: var(--grad-main); color: #fff; box-shadow: 0 4px 20px rgba(3,105,161,.3); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(3,105,161,.45); }
.btn--outline { border: 1.5px solid var(--c-border-2); color: var(--c-primary); background: transparent; }
.btn--outline:hover { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.btn--glass { background: var(--grad-glass); backdrop-filter: blur(12px); border: 1px solid var(--c-border-2); color: var(--c-primary); }
.btn--glass:hover { background: rgba(255,255,255,0.9); transform: translateY(-2px); }
.btn--lg { padding: 16px 32px; font-size: 1rem; }
.btn--sm { padding: 8px 18px; font-size: .875rem; }
.btn--full { width: 100%; justify-content: center; }

/* ── SHINE EFFECT ── */
.btn--shine::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left .6s ease;
}
.btn--shine:hover::before { left: 150%; }

/* ── HEADER ── */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: var(--header-h); display: flex; align-items: center; transition: all .4s var(--ease-out); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; }
.header.scrolled { background: var(--c-surface); box-shadow: var(--shadow-md); backdrop-filter: blur(20px); }

/* ── LOGO ── */
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; }
.logo__icon-wrap { position: relative; display: flex; align-items: center; justify-content: center; }
.logo__icon { width: 34px; height: 34px; object-fit: contain; display: block; transition: transform .4s var(--ease-spring); }
.logo:hover .logo__icon { transform: scale(1.08); }
[data-theme="dark"] .logo__icon { filter: invert(1) brightness(1.5); }
/* Full wordmark logo (main logo) */
.logo__full { height: 58px; width: auto; max-width: 220px; object-fit: contain; display: block; transition: transform .4s var(--ease-spring); }
.logo:hover .logo__full { transform: scale(1.04); }
[data-theme="dark"] .logo__full { filter: invert(1) brightness(1.7); }
.footer .logo__full { height: 60px; max-width: 240px; }
.nav__mobile-head .logo__full { height: 44px; max-width: 170px; }
@media (max-width: 560px) { .logo__full { height: 42px; max-width: 150px; } }
.logo__pulse { position: absolute; inset: -6px; border-radius: 50%; background: radial-gradient(circle, rgba(14,165,233,0.3), transparent); animation: pulse 2s ease-in-out infinite; z-index: -1; }
.logo__text { background: var(--grad-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
@keyframes pulse {
  0%,100% { transform: scale(1); opacity: .6; }
  50% { transform: scale(1.4); opacity: 0; }
}

/* ── NAV ── */
.nav { display: flex; align-items: center; gap: 8px; }
.nav__link { font-size: .9rem; font-weight: 500; color: var(--c-text-2); padding: 6px 12px; border-radius: var(--radius-full); transition: all .25s; position: relative; }
.nav__link:hover, .nav__link.active { color: var(--c-primary); background: var(--grad-soft); }
.nav__mobile-head { display: none; }
.nav__close { display: none; }
.nav__mobile-cta { display: none; }
.nav-backdrop { display: none; }
.mobile-nav { display: none; }

/* ── THEME TOGGLE ── */
.theme-toggle { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1.5px solid var(--c-border-2); transition: all .3s; font-size: 18px; }
.theme-toggle:hover { background: var(--c-bg-alt); transform: rotate(20deg); }
[data-theme="light"] .theme-toggle__sun { display: none; }
[data-theme="dark"] .theme-toggle__moon { display: none; }

/* ── LANGUAGE SWITCH ── */
.lang-switch { display: inline-flex; align-items: center; border: 1.5px solid var(--c-border-2); border-radius: var(--radius-full); overflow: hidden; height: 38px; flex-shrink: 0; }
.lang-switch__btn { padding: 0 11px; height: 100%; font-size: .78rem; font-weight: 700; letter-spacing: .02em; color: var(--c-text-2); background: transparent; border: 0; cursor: pointer; transition: background .25s, color .25s; }
.lang-switch__btn:hover { color: var(--c-primary); }
.lang-switch__btn.is-active { background: var(--grad-main); color: #fff; }
@media (max-width: 400px) { .lang-switch__btn { padding: 0 8px; font-size: .72rem; } .header__actions { gap: 6px; } }

/* ── BURGER ── */
.burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--c-text); border-radius: 2px; transition: all .3s; }
.burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── HERO ── */
.hero { min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; padding-top: var(--header-h); }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__mesh { position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(14,165,233,.08) 0%, transparent 70%); }
.hero__orb { position: absolute; border-radius: 50%; filter: blur(80px); animation: orbFloat 8s ease-in-out infinite; }
.hero__orb--1 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(3,105,161,.15), transparent); top: -100px; right: -100px; animation-delay: 0s; }
.hero__orb--2 { width: 350px; height: 350px; background: radial-gradient(circle, rgba(6,182,212,.12), transparent); bottom: 0; left: 10%; animation-delay: -3s; }
.hero__orb--3 { width: 250px; height: 250px; background: radial-gradient(circle, rgba(14,165,233,.1), transparent); top: 50%; right: 30%; animation-delay: -6s; }
@keyframes orbFloat { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(30px,-20px) scale(1.05); } 66% { transform: translate(-20px,15px) scale(.95); } }

/* ── FLOATING TEETH ── */
.hero__floating-teeth { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.ft { position: absolute; font-size: 24px; opacity: 0.12; animation: ftFloat linear infinite; }
.ft--1 { left: 5%; top: 20%; font-size: 32px; animation-duration: 12s; animation-delay: 0s; }
.ft--2 { left: 15%; top: 70%; font-size: 20px; animation-duration: 15s; animation-delay: -3s; }
.ft--3 { right: 8%; top: 30%; font-size: 28px; animation-duration: 10s; animation-delay: -5s; }
.ft--4 { right: 20%; top: 75%; font-size: 18px; animation-duration: 18s; animation-delay: -8s; }
.ft--5 { left: 45%; top: 10%; font-size: 22px; animation-duration: 14s; animation-delay: -2s; }
.ft--6 { left: 70%; top: 60%; font-size: 16px; animation-duration: 16s; animation-delay: -10s; }
@keyframes ftFloat {
  0% { transform: translateY(0) rotate(0deg); opacity: 0.08; }
  25% { opacity: 0.16; }
  50% { transform: translateY(-40px) rotate(180deg); opacity: 0.08; }
  75% { opacity: 0.14; }
  100% { transform: translateY(0) rotate(360deg); opacity: 0.08; }
}

.hero__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 60px 0; }
.hero__badge { display: inline-flex; align-items: center; gap: 8px; background: var(--grad-soft); border: 1px solid var(--c-border-2); padding: 8px 20px; border-radius: var(--radius-full); font-size: .875rem; font-weight: 600; color: var(--c-primary); margin-bottom: 24px; }
.badge__dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; animation: badgePulse 2s ease-in-out infinite; }
@keyframes badgePulse { 0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,.4); } 50% { box-shadow: 0 0 0 6px rgba(34,197,94,0); } }

.hero__title { font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 3.8rem); font-weight: 700; line-height: 1.15; margin-bottom: 24px; }
.hero__title em { font-style: italic; background: var(--grad-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero__subtitle { font-size: 1.1rem; color: var(--c-text-2); margin-bottom: 40px; max-width: 500px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 48px; }

/* ── HERO STATS ── */
.hero__stats { display: flex; align-items: center; gap: 0; }
.hero__stat { text-align: center; }
.hero__stat-num { font-family: var(--font-display); font-size: 2rem; font-weight: 700; background: var(--grad-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.plus { font-size: 1.4rem; font-weight: 700; color: var(--c-primary); }
.hero__stat-label { font-size: .8rem; color: var(--c-text-3); display: block; margin-top: 2px; }
.hero__stat-divider { width: 1px; height: 48px; background: var(--c-border-2); margin: 0 32px; }

/* ── HERO VISUAL ── */
.hero__visual { display: flex; align-items: center; justify-content: center; position: relative; height: 500px; }

/* 3D TOOTH */
.tooth-3d { position: relative; z-index: 2; }
.tooth-3d__glow {
  position: absolute;
  inset: -40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14,165,233,.2) 0%, transparent 70%);
  animation: toothGlowAnim 3s ease-in-out infinite;
}
@keyframes toothGlowAnim { 0%,100% { transform: scale(1); opacity: .7; } 50% { transform: scale(1.2); opacity: 1; } }

.tooth-3d__inner {
  position: relative;
  animation: toothBob 4s ease-in-out infinite;
}
@keyframes toothBob { 0%,100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-20px) rotate(3deg); } }

.tooth-3d__svg { width: 200px; height: 220px; object-fit: contain; filter: drop-shadow(0 20px 40px rgba(3,105,161,.3)); }
[data-theme="dark"] .tooth-3d__svg { filter: invert(1) brightness(1.5) drop-shadow(0 20px 40px rgba(3,105,161,.4)); }

.tooth-3d__sparkles { position: absolute; inset: 0; pointer-events: none; }
.sparkle {
  position: absolute;
  color: var(--c-accent-2);
  font-size: 18px;
  animation: sparklePop 2s ease-in-out infinite;
}
.s1 { top: 5%; right: -10%; animation-delay: 0s; }
.s2 { top: 40%; left: -15%; animation-delay: .5s; }
.s3 { bottom: 15%; right: -15%; animation-delay: 1s; }
.s4 { bottom: 35%; left: -5%; animation-delay: 1.5s; }
@keyframes sparklePop { 0%,100% { transform: scale(0) rotate(0deg); opacity: 0; } 50% { transform: scale(1) rotate(180deg); opacity: 1; } }

/* ── HERO CARDS ── */
.hero__card { position: absolute; background: var(--grad-glass); backdrop-filter: blur(16px); border: 1px solid var(--c-border-2); border-radius: var(--radius-md); padding: 14px 18px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow-md); white-space: nowrap; animation: cardFloat 6s ease-in-out infinite; }
.hero__card-icon { font-size: 24px; }
.hero__card-text strong { display: block; font-size: .9rem; font-weight: 600; }
.hero__card-text span { font-size: .78rem; color: var(--c-text-2); }
.hero__card--float-1 { top: 60px; right: -30px; animation-delay: -2s; }
.hero__card--float-2 { bottom: 100px; right: -20px; animation-delay: -4s; }
.hero__card--float-3 { top: 180px; left: -40px; animation-delay: -1s; }
@keyframes cardFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ── HERO SCROLL ── */
.hero__scroll { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; opacity: .5; animation: scrollBounce 2s ease-in-out infinite; }
.hero__scroll-inner { width: 2px; height: 40px; background: linear-gradient(to bottom, var(--c-primary-2), transparent); }
@keyframes scrollBounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

/* ── ADVANTAGES ── */
.advantages__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.advantage-card { display: flex; flex-direction: column; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 36px 28px; transition: all .4s var(--ease-out); position: relative; overflow: hidden; cursor: pointer; }
.advantage-card::before { content: ''; position: absolute; inset: 0; background: var(--grad-soft); opacity: 0; transition: opacity .4s; }
.advantage-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--c-border-2); }
.advantage-card:hover::before { opacity: 1; }
.advantage-card__icon-wrap { width: 64px; height: 64px; border-radius: var(--radius-md); background: var(--grad-soft); border: 1px solid var(--c-border-2); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; transition: transform .4s var(--ease-spring); }
.advantage-card:hover .advantage-card__icon-wrap { transform: scale(1.1) rotate(5deg); }
.advantage-card__icon { width: 30px; height: 30px; color: var(--c-primary); display: flex; align-items: center; justify-content: center; }
.advantage-card__icon svg { width: 100%; height: 100%; transition: stroke-width .3s var(--ease-out); }
.advantage-card:hover .advantage-card__icon { color: var(--c-accent); }
.advantage-card h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; position: relative; }
.advantage-card p { font-size: .9rem; color: var(--c-text-2); position: relative; margin-bottom: 18px; }
.advantage-card__go { position: relative; margin-top: auto; font-size: .82rem; font-weight: 700; color: var(--c-primary); display: inline-flex; align-items: center; gap: 4px; transition: gap .3s, color .3s; }
.advantage-card:hover .advantage-card__go { gap: 8px; color: var(--c-accent); }

/* ── SERVICES ── */
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-lg); transition: all .4s var(--ease-out); position: relative; overflow: hidden; display: flex; flex-direction: column; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--c-border-2); }
.service-card__photo { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.service-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.service-card:hover .service-card__photo img { transform: scale(1.08); }
.service-card__photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(3,17,32,.35), transparent 55%); }
.service-card__badge { position: absolute; top: 14px; left: 14px; z-index: 2; font-size: .7rem; font-weight: 700; padding: 5px 12px; border-radius: var(--radius-full); background: rgba(255,255,255,.92); color: var(--c-primary); box-shadow: var(--shadow-sm); }
.service-card__badge--premium { background: var(--grad-main); color: #fff; }
.service-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.service-card p { font-size: .875rem; color: var(--c-text-2); flex: 1; margin-bottom: 16px; }
.service-card__link { font-size: .875rem; font-weight: 600; color: var(--c-primary); transition: gap .3s; display: inline-flex; align-items: center; gap: 4px; margin-top: auto; }
.service-card__link:hover { gap: 8px; }

/* Hidden "extra" services, revealed via "Show all" button */
.service-card--extra { display: none; }
.service-card--extra.is-visible { display: flex; }
.services__more-wrap { display: flex; justify-content: center; margin-top: 36px; }
.services__more-btn { display: inline-flex; align-items: center; gap: 10px; }
.services__more-btn svg { transition: transform .35s var(--ease-out); }
.services__more-btn.is-open svg { transform: rotate(180deg); }

/* ═══════════════════════════════════════════
   PRICES SECTION — NEW
   ═══════════════════════════════════════════ */
.prices { background: var(--c-bg-alt); }

.prices__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}
.prices__tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--c-border-2);
  font-size: .9rem;
  font-weight: 600;
  color: var(--c-text-2);
  background: var(--c-surface);
  transition: all .3s var(--ease-out);
  cursor: pointer;
}
.prices__tab-icon { flex-shrink: 0; }
.prices__tab:hover { border-color: var(--c-primary); color: var(--c-primary); }
.prices__tab.active {
  background: var(--grad-main);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(3,105,161,.3);
}

.prices__panel { display: none; }
.prices__panel.active { display: block; }

.price-table {
  background: var(--c-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  border-bottom: 1px solid var(--c-border);
  gap: 16px;
  transition: background .2s;
}
.price-row:last-child { border-bottom: none; }
.price-row:not(.price-row--head):hover { background: var(--grad-soft); }
.price-row--head {
  background: var(--grad-main);
  color: #fff;
  font-weight: 700;
  font-size: .875rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 14px 28px;
}
.price-row span:first-child { flex: 1; font-size: .9rem; color: var(--c-text); }
.price-row--head span { color: #fff !important; }
.price-val { font-weight: 700; color: var(--c-primary); white-space: nowrap; font-size: .95rem; }
.price-val em { font-style: normal; color: #16a34a; }

.prices__note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--grad-soft);
  border: 1px solid var(--c-border-2);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-size: .875rem;
  color: var(--c-text-2);
  margin-top: 28px;
}
.prices__note svg { flex-shrink: 0; color: var(--c-primary); margin-top: 2px; }

/* ── DOCTORS ── */
.doctors__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.doctor-card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-lg); overflow: hidden; transition: all .4s var(--ease-out); }
.doctor-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); border-color: var(--c-border-2); }
.doctor-card__photo { position: relative; padding: 32px; background: var(--grad-soft); display: flex; align-items: center; justify-content: center; }
.doctor-card__avatar { width: 100px; height: 100px; border-radius: 50%; overflow: hidden; border: 3px solid var(--c-border-2); box-shadow: 0 8px 24px rgba(3,105,161,.15); transition: transform .4s var(--ease-spring); }
.doctor-card:hover .doctor-card__avatar { transform: scale(1.08); }
.doctor-card__exp { position: absolute; bottom: 16px; right: 16px; background: var(--grad-main); color: #fff; font-size: .75rem; font-weight: 600; padding: 4px 12px; border-radius: var(--radius-full); }
.doctor-card__info { padding: 24px; }
.doctor-card__info h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
.doctor-card__spec { font-size: .8rem; color: var(--c-primary); font-weight: 600; display: block; margin-bottom: 10px; }
.doctor-card__info p { font-size: .85rem; color: var(--c-text-2); margin-bottom: 16px; }
.doctor-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.doctor-card__tags span { font-size: .75rem; padding: 4px 10px; background: var(--grad-soft); border: 1px solid var(--c-border-2); border-radius: var(--radius-full); color: var(--c-text-2); }

/* ── SPECIALTIES ── */
.specialties { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--c-border); text-align: center; }
.specialties__title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; margin-bottom: 16px; }
.specialties__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.specialties__list span { font-size: .82rem; font-weight: 600; padding: 8px 16px; background: var(--c-surface); border: 1px solid var(--c-border-2); border-radius: var(--radius-full); color: var(--c-text-2); transition: all .3s var(--ease-out); }
.specialties__list span:hover { border-color: var(--c-primary); color: var(--c-primary); }

/* ── APPOINTMENT ── */
.appointment { background: var(--c-bg-alt); }
.appointment__inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center; }
.appointment__info .section-tag { margin-bottom: 16px; }
.appointment__info .section-title { text-align: left; }
.appointment__info > p { color: var(--c-text-2); margin-bottom: 36px; font-size: 1.05rem; }
.appointment__features { display: flex; flex-direction: column; gap: 16px; }
.appoint-feat { display: flex; align-items: center; gap: 14px; }
.appoint-feat__icon { font-size: 22px; width: 42px; flex-shrink: 0; }
.appoint-feat span { font-size: .95rem; color: var(--c-text-2); }

/* ── FORM ── */
.appointment__form-wrap { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-xl); padding: 44px; box-shadow: var(--shadow-lg); }
.form__group { margin-bottom: 20px; }
.form__label { display: block; font-size: .875rem; font-weight: 600; color: var(--c-text-2); margin-bottom: 8px; }
.form__input { width: 100%; padding: 14px 18px; background: var(--c-bg); border: 1.5px solid var(--c-border-2); border-radius: var(--radius-md); font-size: .95rem; transition: all .3s; outline: none; color: var(--c-text); }
.form__input:focus { border-color: var(--c-primary-2); box-shadow: 0 0 0 3px rgba(14,165,233,.15); background: var(--c-surface); }
.form__input.invalid { border-color: #ef4444; }
.form__checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: .82rem; color: var(--c-text-2); margin: 4px 0 18px; cursor: pointer; line-height: 1.4; }
.form__checkbox input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--c-primary); flex-shrink: 0; }
.form__checkbox.invalid { color: #ef4444; }
.form__checkbox.invalid input { outline: 2px solid #ef4444; outline-offset: 2px; border-radius: 3px; }
.form__checkbox-link { color: var(--c-primary); text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }
.form__checkbox-link:hover { color: var(--c-accent); }
.form__select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236e8ba6' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.form__textarea { resize: vertical; min-height: 90px; }
.form__note { text-align: center; font-size: .775rem; color: var(--c-text-3); margin-top: 12px; }

/* ── REVIEWS ── */
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 28px; transition: all .4s var(--ease-out); }
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--c-border-2); }
.review-card__header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.review-card__avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--grad-main); color: #fff; font-weight: 700; font-size: .85rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.review-card__meta { flex: 1; }
.review-card__meta strong { display: block; font-weight: 600; font-size: .9rem; }
.review-card__meta span { font-size: .78rem; color: var(--c-text-3); }
.review-card__rating { font-size: .9rem; }
.review-card p { font-size: .875rem; color: var(--c-text-2); line-height: 1.6; }

/* ── LEAVE A REVIEW ── */
/* ── WRITE A REVIEW CTA ── */
.reviews__leave { margin-top: 40px; display: flex; justify-content: center; }
.btn-write-review {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 18px 48px;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, #5ee7c4 0%, #8ee65a 100%);
  color: #0f3d1f;
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: 0 12px 30px rgba(94, 231, 196, .35);
  transition: transform .3s var(--ease-spring), box-shadow .3s;
}
.btn-write-review:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 16px 36px rgba(94, 231, 196, .45); }
.reviews__star.active { color: #f5b700; }
.reviews__star:hover { transform: scale(1.15); }

/* ── GALLERY ── */
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery__item { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; background: var(--c-surface); border: 1px solid var(--c-border); transition: all .4s var(--ease-out); cursor: pointer; }
.gallery__item:hover { transform: scale(1.02); box-shadow: var(--shadow-lg); }
.gallery__placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: var(--grad-soft); }
.gallery__icon { font-size: 40px; }
.gallery__placeholder strong { font-size: .95rem; font-weight: 600; }
.gallery__badge { font-size: .75rem; background: var(--grad-main); color: #fff; padding: 4px 12px; border-radius: var(--radius-full); }

/* ── CONTACTS ── */
.contacts__layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 32px; align-items: stretch; }
.contacts__info { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 30px 30px; display: flex; flex-direction: column; gap: 22px; }
.contacts__row { display: flex; flex-direction: column; gap: 4px; }
.contacts__row-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; color: var(--c-text-3); margin-bottom: 6px; }
.contacts__row p { color: var(--c-text-2); font-size: .92rem; line-height: 1.5; }
.contacts__addr-line { display: flex; align-items: center; gap: 8px; }
.contacts__mini-pin { width: 18px; height: 23px; object-fit: contain; flex-shrink: 0; }
.contacts__link { color: var(--c-primary); font-weight: 600; transition: color .2s; font-size: .95rem; }
.contacts__link:hover { color: var(--c-accent); }
.contacts__route-btn { margin-top: auto; }

.contacts__map { position: relative; min-height: 460px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--c-border); }
#yandexMap { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; }
.contacts__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 2; }
.contacts__map-grid {
  position: absolute; inset: 0; z-index: 1;
  background-color: var(--c-bg-alt);
  background-image:
    linear-gradient(var(--c-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--c-border) 1px, transparent 1px);
  background-size: 32px 32px;
  transition: opacity .3s;
}
.contacts__map.is-active .contacts__map-grid { opacity: 0; pointer-events: none; }
.contacts__map-overlay {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 6;
  display: flex; align-items: center; justify-content: center;
  padding: 16px 32px; max-width: 80%;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, .55);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(3, 105, 161, .28); cursor: pointer;
  box-shadow: 0 10px 30px rgba(3, 17, 32, .12);
  transition: opacity .4s var(--ease-out), visibility .4s, transform .3s var(--ease-spring), background .3s;
  color: var(--c-primary); font-weight: 700; font-size: .98rem; text-align: center; line-height: 1.35;
}
.contacts__map-overlay:hover { transform: translate(-50%, -50%) scale(1.03); background: rgba(255, 255, 255, .75); }
.contacts__map-overlay.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
[data-theme="dark"] .contacts__map-overlay { background: rgba(15, 30, 48, .5); border-color: rgba(56, 189, 248, .4); color: #7dd3fc; }
[data-theme="dark"] .contacts__map-overlay:hover { background: rgba(15, 30, 48, .7); }

/* ── FOOTER ── */
.footer { position: relative; background: var(--c-bg-alt); border-top: 1px solid var(--c-border); padding: 72px 0 28px; overflow: hidden; }
[data-theme="dark"] .footer { background: #050c16; }
.footer__glow { position: absolute; top: -180px; left: 50%; transform: translateX(-50%); width: 700px; height: 360px; background: radial-gradient(ellipse, rgba(14,165,233,.18), transparent 70%); pointer-events: none; }
.footer__top { position: relative; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; margin-bottom: 48px; }
.footer__brand p { font-size: .875rem; color: var(--c-text-2); margin-top: 16px; max-width: 300px; }
.footer__social { display: flex; gap: 12px; margin-top: 20px; }
.footer__social-link { width: 38px; height: 38px; border-radius: 50%; background: var(--c-surface); border: 1px solid var(--c-border); display: flex; align-items: center; justify-content: center; color: var(--c-text-2); transition: all .3s; }
.footer__social-link:hover { background: var(--grad-main); color: #fff; border-color: transparent; transform: translateY(-2px); }
.footer__links h4 { font-weight: 700; font-size: .875rem; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .08em; color: var(--c-text-3); }
.footer__links ul { display: flex; flex-direction: column; gap: 10px; }
.footer__links a { font-size: .875rem; color: var(--c-text-2); transition: color .2s; }
.footer__links a:hover { color: var(--c-primary); }
.footer__contact-card { background: var(--c-surface); border: 1px solid var(--c-border-2); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.footer__contact-card h4 { font-weight: 700; font-size: .875rem; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .08em; color: var(--c-text-3); }
.footer__contact-row { display: flex; align-items: flex-start; gap: 10px; font-size: .85rem; color: var(--c-text-2); margin-bottom: 12px; }
.footer__contact-row a { color: var(--c-text-2); transition: color .2s; }
.footer__contact-row a:hover { color: var(--c-primary); }
.footer__contact-icon { flex-shrink: 0; }
.footer__contact-cta { width: 100%; justify-content: center; margin-top: 6px; }
.footer__bottom { position: relative; border-top: 1px solid var(--c-border); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.footer__bottom p { font-size: .8rem; color: var(--c-text-3); }
.footer__admin-link { font-size: .75rem; color: var(--c-text-3); opacity: .5; transition: opacity .2s; }
.footer__admin-link:hover { opacity: 1; }

/* ── FLOATING BUTTONS ── */
.floating-btns { position: fixed; bottom: 24px; right: 24px; z-index: 500; display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.scroll-top { width: 48px; height: 48px; border-radius: 50%; background: var(--c-surface); border: 1.5px solid var(--c-border-2); color: var(--c-primary); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transform: scale(.7); transition: all .4s var(--ease-spring); box-shadow: var(--shadow-md); }
.scroll-top.visible { opacity: 1; visibility: visible; transform: scale(1); }
.scroll-top:hover { background: var(--grad-main); color: #fff; border-color: transparent; transform: scale(1.08) translateY(-2px); }

/* ── HEADER ACTIONS ── */
.header__actions { display: flex; align-items: center; gap: 10px; }

/* ── COOKIE CONSENT BANNER ── */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 3000;
  max-width: 980px; margin: 0 auto;
  background: var(--c-surface); border: 1px solid var(--c-border-2);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-xl);
  padding: 16px 22px;
  transform: translateY(160%); opacity: 0;
  transition: transform .55s var(--ease-spring), opacity .4s var(--ease-out);
}
.cookie-banner.is-visible { transform: translateY(0); opacity: 1; }
.cookie-banner__inner { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.cookie-banner__icon { font-size: 30px; flex-shrink: 0; line-height: 1; }
.cookie-banner__text { flex: 1; min-width: 240px; font-size: .86rem; color: var(--c-text-2); line-height: 1.5; margin: 0; }
.cookie-banner__text a { color: var(--c-primary); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner__actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.cookie-banner__link { font-size: .82rem; color: var(--c-text-3); font-weight: 600; white-space: nowrap; }
.cookie-banner__link:hover { color: var(--c-primary); }
@media (max-width: 560px) {
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; padding: 14px 16px; }
  .cookie-banner__actions { width: 100%; justify-content: space-between; }
  .cookie-banner__text { min-width: 0; }
}

/* ── TOAST ── */
.toast { position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%) translateY(calc(100% + 60px)); opacity: 0; visibility: hidden; pointer-events: none; background: var(--c-surface); border: 1px solid var(--c-border-2); border-radius: var(--radius-lg); padding: 16px 28px; display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow-xl); z-index: 2000; transition: transform .5s var(--ease-spring), opacity .4s var(--ease-out), visibility .4s; min-width: 320px; max-width: calc(100vw - 32px); }
.toast.visible { transform: translateX(-50%) translateY(0); opacity: 1; visibility: visible; pointer-events: auto; }
.toast__icon { font-size: 28px; animation: toastIconBounce .6s var(--ease-spring); }
.toast__text { font-weight: 600; font-size: .9rem; }
@keyframes toastIconBounce { 0% { transform: scale(0); } 60% { transform: scale(1.3); } 100% { transform: scale(1); } }

/* ── COUNTER ── */
.counter { font-family: var(--font-display); }

/* ── LOADING BTN STATE ── */
.btn:disabled { opacity: .7; cursor: not-allowed; }

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 1100px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .doctors__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero__actions { justify-content: center; }
  .hero__stats { justify-content: center; }
  .hero__visual { height: 360px; }
  .hero__card--float-1 { right: 10px; top: 20px; }
  .hero__card--float-2 { right: 10px; bottom: 40px; }
  .hero__card--float-3 { left: 0; top: 120px; }
  .advantages__grid { grid-template-columns: repeat(2, 1fr); }
  .appointment__inner { grid-template-columns: 1fr; }
  .appointment__info .section-title { text-align: center; }
  .contacts__layout { grid-template-columns: 1fr; }
  .contacts__map { min-height: 380px; order: -1; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .reviews__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .hero__visual { display: none; }
}

@media (max-width: 700px) {
  .nav { display: none; }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1090;
    background: rgba(4, 14, 26, .55);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s var(--ease-out), visibility .35s;
  }
  .nav-backdrop.open { opacity: 1; visibility: visible; }

  .mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(84vw, 360px);
    height: 100%;
    padding: 22px 22px 32px;
    z-index: 1100;
    background: var(--c-surface);
    background-image:
      radial-gradient(circle at 100% 0%, rgba(14,165,233,.16), transparent 55%),
      linear-gradient(180deg, var(--c-surface) 0%, var(--c-bg-alt) 100%);
    box-shadow: -20px 0 60px rgba(3,17,32,.35);
    border-left: 1px solid var(--c-border-2);
    transform: translateX(100%);
    transition: transform .45s var(--ease-out);
    overflow-y: auto;
  }
  .mobile-nav.open { transform: translateX(0); }

  .mobile-nav .nav__mobile-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 18px; margin-bottom: 10px; border-bottom: 1px solid var(--c-border); }
  .mobile-nav .nav__close { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--c-border-2); color: var(--c-text-2); font-size: 15px; transition: all .3s; }
  .mobile-nav .nav__close:hover { background: var(--grad-main); color: #fff; border-color: transparent; transform: rotate(90deg); }

  .mobile-nav .nav__link { padding: 14px 16px; font-size: 1.05rem; font-weight: 600; border-radius: var(--radius-md); }
  .mobile-nav .nav__link span { position: relative; }
  .mobile-nav .nav__link:hover, .mobile-nav .nav__link.active { background: var(--grad-main); color: #fff; }
  .mobile-nav .nav__mobile-cta { display: flex; justify-content: center; margin-top: 18px; }

  .burger { display: flex; z-index: 60; }
  .btn--outline.btn--sm { display: none; }
  .services__grid { grid-template-columns: 1fr; }
  .advantages__grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .reviews__grid { grid-template-columns: 1fr; }
  .doctors__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .footer__brand, .footer__contact-card { grid-column: 1 / -1; }
  .footer__links ul { align-items: center; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .hero__card { display: none; }
  .prices__tabs { gap: 8px; }
  .prices__tab { padding: 8px 14px; font-size: .8rem; }
  .price-row { padding: 14px 18px; }
  .appointment__form-wrap { padding: 28px 20px; }
  .section { padding: 64px 0; }
  .footer { padding: 56px 0 24px; text-align: center; }
  .footer__brand p { margin-left: auto; margin-right: auto; }
  .footer__social { justify-content: center; }
  .footer__contact-row { justify-content: center; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .btn-write-review { padding: 15px 32px; font-size: .95rem; width: 100%; text-align: center; }
  .contacts__info { padding: 24px 22px; }
  .contacts__map-overlay { padding: 14px 24px; font-size: .88rem; max-width: 86%; }
}
