/* УЛЬТРАЛАБ — дизайн-система v3 */
:root {
  --brand: #0a9cc4;
  --brand-600: #087fa3;
  --brand-700: #066a88;
  --brand-50: #eaf7fb;
  --brand-100: #d3eff7;
  --ink: #0f2a3f;
  --ink-2: #29445a;
  --muted: #5b7185;
  --soft: #8a9cab;
  --line: #e2eaf0;
  --bg: #f5f9fb;
  --surface: #ffffff;
  --navy: #0e2a40;
  --rose: #e8608c;
  --rose-50: #fdeef3;
  --mint: #17a884;
  --mint-50: #e5f6f0;
  --amber: #f5b82e;
  --amber-50: #fff5dc;
  --violet: #7a6be0;
  --violet-50: #f0eefd;
  --display: Manrope, "Segoe UI", Arial, sans-serif;
  --body: Onest, "Segoe UI", Arial, sans-serif;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(15,42,63,.05), 0 4px 14px rgba(15,42,63,.05);
  --shadow: 0 2px 6px rgba(15,42,63,.04), 0 18px 44px rgba(15,42,63,.09);
  --shadow-brand: 0 10px 24px rgba(10,156,196,.26);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); background: var(--bg); font-family: var(--body); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body, a, button { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); text-wrap: balance; }
em { font-style: normal; color: var(--brand); }
:focus-visible { outline: 3px solid rgba(10,156,196,.45); outline-offset: 2px; border-radius: 6px; }
.wrap { width: min(1240px, calc(100% - 32px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 1em; height: 1em; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.14em; }

/* ---------- Utility bar & header ---------- */
.utility-bar { background: var(--navy); color: #c6d6e2; font-size: 13px; }
.utility-inner { display: flex; justify-content: space-between; align-items: center; gap: 18px; min-height: 38px; }
.utility-left, .utility-right { display: flex; align-items: center; gap: 18px; }
.utility-right a { display: none; }
.utility-right a:last-child { display: inline; color: #fff; font-weight: 600; }
.utility-right a:hover, .city-button:hover { color: #fff; }
.city-button { border: 0; background: none; color: #93b0c4; padding: 0; font-size: 13px; }
.city-button span { color: #6fd6ee; margin-left: 2px; }
.utility-visit { display: none; align-items: center; gap: 6px; color: #9fe6f5; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; background: #4fd39c; box-shadow: 0 0 0 4px rgba(79,211,156,.18); }

.main-header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.9); border-bottom: 1px solid rgba(226,234,240,.9); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); }
.header-main { min-height: 68px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 16px; font-weight: 800; letter-spacing: .08em; white-space: nowrap; color: var(--ink); }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px 12px 12px 4px; background: linear-gradient(140deg, #19b6dc, var(--brand-600)); color: #fff; letter-spacing: 0; font-size: 19px; box-shadow: 0 6px 14px rgba(10,156,196,.3); }
.brand > span:last-child > span { color: var(--brand); font-weight: 600; }
.main-nav { display: none; align-items: center; gap: 4px; margin-left: 12px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.main-nav a { padding: 8px 14px; border-radius: 999px; transition: background .2s, color .2s; }
.main-nav a:hover { background: var(--brand-50); color: var(--brand-700); }
.main-nav a.active { background: var(--brand-50); color: var(--brand-700); font-weight: 600; }
.header-tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.search-trigger, .result-link, .login-button, .cart-link { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 14px; border-radius: 12px; font-size: 14px; font-weight: 600; transition: background .2s, border-color .2s, color .2s, transform .2s; }
.search-trigger { width: 44px; padding: 0; color: var(--ink-2); border: 1px solid var(--line); background: #fff; }
.search-trigger > span:last-child { display: none; }
.search-trigger:hover { border-color: var(--brand); color: var(--brand-700); }
.search-trigger .icon { font-size: 19px; }
.result-link { display: none; color: var(--ink-2); }
.result-link:hover { color: var(--brand-700); }
.cart-link { position: relative; color: var(--ink-2); border: 1px solid var(--line); background: #fff; }
.cart-link:hover, .cart-link.active { border-color: var(--brand); color: var(--brand-700); }
.cart-link .icon { font-size: 19px; }
.cart-link .cart-label { display: none; }
.cart-link [data-cart-count] { display: inline-grid; min-width: 20px; height: 20px; padding: 0 5px; place-items: center; border-radius: 10px; background: var(--brand-50); color: var(--brand-700); font-size: 11px; font-weight: 700; }
.cart-link [data-cart-count].has-items { background: var(--rose); color: #fff; }
.login-button { display: none; background: var(--brand); color: #fff; box-shadow: var(--shadow-brand); }
.login-button:hover { background: var(--brand-600); }
.mobile-menu-button { width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.mobile-menu-button span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s; }
.mobile-menu-button[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.mobile-menu-button[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-nav { display: grid; gap: 4px; padding: 10px 16px 20px; border-top: 1px solid var(--line); background: #fff; box-shadow: 0 18px 30px rgba(15,42,63,.08); }
.mobile-nav[aria-hidden="true"] { display: none; }
.mobile-nav a { display: flex; align-items: center; gap: 12px; padding: 13px 10px; border-radius: 12px; font-size: 16px; font-weight: 600; }
.mobile-nav a:hover { background: var(--brand-50); }
.mobile-nav a .icon { font-size: 20px; color: var(--brand); }
.mobile-nav .button { justify-content: center; margin-top: 8px; color: #fff; }
.mobile-nav .button .icon { color: #fff; }

/* ---------- Buttons ---------- */
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid transparent; border-radius: 14px; padding: 0 22px; font-size: 15px; font-weight: 600; line-height: 1.2; transition: transform .2s ease, background .2s ease, box-shadow .2s ease, border-color .2s; }
.button:hover { transform: translateY(-1px); }
.button .icon { font-size: 18px; }
.button-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-brand); }
.button-primary:hover { background: var(--brand-600); }
.button-rose { background: var(--rose); color: #fff; box-shadow: 0 10px 24px rgba(232,96,140,.28); }
.button-rose:hover { background: #d84f7c; }
.button-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.button-ghost:hover { border-color: var(--brand); color: var(--brand-700); }
.button-outline-light { border-color: rgba(255,255,255,.45); color: #fff; }
.button-outline-light:hover { background: rgba(255,255,255,.1); }
.button-white { background: #fff; color: var(--ink); }
.button-white:hover { background: var(--brand-50); }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 6px 12px; border-radius: 999px; background: var(--brand-50); color: var(--brand-700); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.eyebrow.rose { background: var(--rose-50); color: #c2416d; }
.eyebrow.on-dark { background: rgba(255,255,255,.1); color: #9fe6f5; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(1100px 520px at 85% -10%, #d7f1f9 0%, transparent 60%), radial-gradient(700px 400px at -10% 110%, #fde9f0 0%, transparent 60%), linear-gradient(180deg, #f8fcfd, #f1f8fb); }
.hero-grid { display: grid; gap: 36px; padding: 40px 0 56px; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 { margin: 0; font-size: clamp(40px, 9.5vw, 72px); font-weight: 800; letter-spacing: -.045em; line-height: 1.02; }
.hero h1 strong { display: block; font-weight: 600; color: var(--brand); }
.hero-copy > p { max-width: 520px; margin: 20px 0 26px; color: var(--muted); font-size: 18px; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-actions .button { flex: 1 1 auto; }
.hero-trust { display: flex; align-items: center; gap: 12px; margin-top: 26px; font-size: 14px; }
.hero-trust b, .hero-trust small { display: block; }
.hero-trust small { color: var(--muted); font-size: 13px; }
.trust-avatars { display: flex; }
.trust-avatars i { width: 34px; height: 34px; display: grid; place-items: center; margin-left: -8px; border: 3px solid #fff; border-radius: 50%; background: var(--brand-50); color: var(--brand-700); font-style: normal; }
.trust-avatars i:first-child { margin-left: 0; background: var(--rose-50); color: var(--rose); }
.trust-avatars i:nth-child(2) { background: var(--mint-50); color: var(--mint); }
.trust-avatars .icon { font-size: 16px; }
.hero-visit-chip { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; padding: 6px 14px 6px 6px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm); font-size: 14px; font-weight: 600; color: var(--ink-2); }
.hero-visit-chip b { display: inline-grid; place-items: center; height: 28px; padding: 0 10px; border-radius: 999px; background: var(--rose); color: #fff; font-size: 12px; letter-spacing: .02em; }
.hero-visit-chip:hover { color: var(--brand-700); }
.hero-art { position: relative; min-height: 340px; }
.hero-photo { position: absolute; inset: 0 0 0 0; overflow: hidden; border-radius: 32px 32px 32px 120px; background: linear-gradient(145deg, #bdeef5, #4cc4dd 55%, #1488b4); box-shadow: var(--shadow); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.hero-floating { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: rgba(255,255,255,.96); color: var(--ink); border-radius: 16px; box-shadow: 0 18px 40px rgba(15,42,63,.16); backdrop-filter: blur(6px); animation: float 6s ease-in-out infinite; }
.float-icon { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 12px; background: var(--amber-50); color: #c98a00; font-size: 20px; }
.hero-floating b { display: block; font-size: 14px; line-height: 1.2; }
.hero-floating small { display: block; color: var(--muted); font-size: 12px; line-height: 1.3; }
.float-top { top: 16px; left: -6px; }
.float-bottom { right: -6px; bottom: 18px; animation-delay: -2.5s; }
.float-bottom b { color: var(--brand-700); font-size: 20px; }
.float-visit { left: -6px; bottom: 26%; animation-delay: -4s; display: none; }
.float-visit .float-icon { background: var(--rose-50); color: var(--rose); }

/* stats strip */
.stats-strip { position: relative; z-index: 3; margin-top: -26px; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; overflow: hidden; border-radius: var(--r-lg); background: var(--line); box-shadow: var(--shadow); }
.stat { display: flex; align-items: center; gap: 12px; padding: 18px 16px; background: #fff; }
.stat-icon { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 13px; background: var(--brand-50); color: var(--brand); font-size: 21px; }
.stat:nth-child(2) .stat-icon { background: var(--violet-50); color: var(--violet); }
.stat:nth-child(3) .stat-icon { background: var(--mint-50); color: var(--mint); }
.stat:nth-child(4) .stat-icon { background: var(--rose-50); color: var(--rose); }
.stat b { display: block; font-family: var(--display); font-size: 22px; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.stat small { display: block; color: var(--muted); font-size: 13px; line-height: 1.3; }

/* ---------- Search panel ---------- */
.search-panel { padding: 56px 0 8px; }
.search-card { display: grid; grid-template-columns: minmax(0,1fr); gap: 18px; padding: 24px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.search-kicker { color: var(--brand-700); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.search-copy h2 { margin: 4px 0 2px; font-size: 28px; letter-spacing: -.03em; line-height: 1.15; }
.search-copy p { margin: 0; color: var(--muted); font-size: 15px; }
.big-search { min-height: 60px; display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 18px; border: 1.5px solid var(--line); border-radius: 16px; background: var(--bg); transition: border-color .2s, box-shadow .2s, background .2s; }
.big-search:focus-within, .big-search:hover { border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(10,156,196,.12); }
.big-search-icon { color: var(--brand); font-size: 22px; display: grid; }
.big-search input { flex: 1; min-width: 0; height: 46px; border: 0; outline: 0; background: transparent; font-size: 16px; }
.big-search input::placeholder { color: var(--soft); }
.big-search button { display: inline-flex; align-items: center; gap: 6px; height: 48px; padding: 0 18px; border: 0; border-radius: 12px; background: var(--brand); color: #fff; font-weight: 600; white-space: nowrap; }
.big-search button:hover { background: var(--brand-600); }
.search-shortcuts { display: flex; flex-wrap: wrap; gap: 8px; }
.search-shortcuts a, .chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink-2); font-size: 14px; font-weight: 500; transition: border-color .2s, background .2s, color .2s; }
.search-shortcuts a:hover, .chip:hover { border-color: var(--brand); color: var(--brand-700); background: var(--brand-50); }
.search-shortcuts a span { color: var(--brand); }
.chip .icon { font-size: 17px; color: var(--brand); }
.chip.active { border-color: var(--brand); background: var(--brand); color: #fff; }
.chip.active .icon { color: #fff; }

/* ---------- Quick navigation tiles ---------- */
.quick-nav { padding: 8px 0 0; }
.quick-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.quick-head h2, .quick-head h3 { margin: 0; font-size: 22px; letter-spacing: -.02em; }
.quick-head p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.quick-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.quick-tile { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-height: 132px; padding: 16px; border: 1.5px solid transparent; border-radius: 20px; background: #fff; box-shadow: var(--shadow-sm); text-align: left; transition: transform .2s, box-shadow .2s, border-color .2s; }
.quick-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.quick-tile.active { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(10,156,196,.12), var(--shadow-sm); }
.quick-tile .qt-icon { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 8px; border-radius: 14px; background: var(--tint, var(--brand-50)); color: var(--tone, var(--brand)); font-size: 24px; transition: transform .2s; }
.quick-tile:hover .qt-icon { transform: scale(1.06) rotate(-3deg); }
.quick-tile b { font-size: 15px; font-weight: 600; line-height: 1.25; color: var(--ink); }
.quick-tile small { color: var(--muted); font-size: 12.5px; line-height: 1.3; }
.quick-tile .qt-price { margin-top: auto; padding-top: 6px; color: var(--brand-700); font-size: 13px; font-weight: 700; }
.quick-tile .qt-count { position: absolute; top: 14px; right: 14px; min-width: 28px; height: 24px; display: grid; place-items: center; padding: 0 8px; border-radius: 999px; background: var(--bg); color: var(--muted); font-size: 12px; font-weight: 600; }
.t-cyan { --tint: #e3f5fb; --tone: #0a93b9; }
.t-rose { --tint: #fdebf1; --tone: #d94d7c; }
.t-mint { --tint: #e2f5ee; --tone: #129a78; }
.t-amber { --tint: #fff3d6; --tone: #c48700; }
.t-violet { --tint: #efedfd; --tone: #6b5bd6; }
.t-blue { --tint: #e6eefc; --tone: #3a6fd8; }
.t-coral { --tint: #ffece6; --tone: #e0623d; }
.t-teal { --tint: #ddf4f3; --tone: #138f8a; }
.t-slate { --tint: #edf1f5; --tone: #4d6578; }
.goal-chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; margin: 0 -2px; scrollbar-width: none; }
.goal-chips::-webkit-scrollbar { display: none; }
.goal-chips .chip { flex: 0 0 auto; }

/* ---------- Sections ---------- */
.section-v2 { padding: 72px 0; }
.section-heading { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 30px; margin-bottom: 30px; }
.section-heading h2 { margin: 0; font-size: clamp(30px, 6vw, 48px); font-weight: 800; letter-spacing: -.04em; line-height: 1.06; }
.section-heading h2 em { font-weight: 600; }
.arrow-link { display: inline-flex; align-items: center; gap: 6px; color: var(--brand-700); font-size: 15px; font-weight: 600; white-space: nowrap; }
.arrow-link span, .arrow-link .icon { transition: transform .2s; }
.arrow-link:hover span, .arrow-link:hover .icon { transform: translate(2px,-2px); }
.heading-note { max-width: 380px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }

/* service tiles */
.service-tiles { display: grid; gap: 14px; }
.service-tile { min-height: 260px; position: relative; display: flex; flex-direction: column; overflow: hidden; padding: 26px; border-radius: var(--r-lg); transition: transform .25s ease, box-shadow .25s ease; isolation: isolate; }
.service-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tile-blue { background: linear-gradient(150deg, #10aed6, #0a87b3); color: #fff; }
.tile-coral { background: #fdebf1; color: var(--ink); }
.tile-yellow { background: #fff3d6; color: var(--ink); }
.tile-number { position: absolute; top: 24px; right: 26px; opacity: .5; font-size: 13px; font-weight: 700; }
.tile-symbol { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; background: #fff; color: var(--brand); font-size: 28px; box-shadow: var(--shadow-sm); }
.tile-coral .tile-symbol { color: var(--rose); }
.tile-yellow .tile-symbol { color: #c48700; }
.tile-blue .tile-symbol { background: rgba(255,255,255,.18); color: #fff; box-shadow: none; }
.service-tile h3 { margin: 40px 0 10px; color: inherit; font-size: 26px; letter-spacing: -.03em; line-height: 1.1; }
.service-tile p { max-width: 280px; margin: 0 0 22px; opacity: .8; font-size: 15px; line-height: 1.55; }
.tile-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; }
.tile-link b { transition: transform .2s; }
.service-tile:hover .tile-link b { transform: translateX(4px); }
.tile-deco { position: absolute; z-index: -1; right: -40px; bottom: -40px; width: 200px; height: 200px; border-radius: 50%; border: 28px solid rgba(255,255,255,.14); }
.tile-coral .tile-deco { border-color: rgba(232,96,140,.08); }
.tile-yellow .tile-deco { border-color: rgba(245,184,46,.14); }

/* category cards (home) */
.category-section { padding-top: 24px; }
.category-price-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.category-price-card { position: relative; min-height: 168px; display: flex; flex-direction: column; align-items: flex-start; padding: 18px; border-radius: 20px; background: #fff; box-shadow: var(--shadow-sm); color: var(--ink); transition: transform .2s, box-shadow .2s; }
.category-price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.category-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 16px; border-radius: 15px; background: var(--tint, var(--brand-50)); color: var(--tone, var(--brand)); font-size: 25px; }
.category-price-card b { font-size: 16px; font-weight: 600; line-height: 1.25; }
.category-price-card small { margin-top: 4px; color: var(--muted); font-size: 13px; }
.category-price-card strong { margin-top: auto; padding-top: 12px; color: var(--brand-700); font-size: 15px; }
.more-cats { margin-top: 18px; }
.more-cats .chip { min-height: 44px; }

/* home visit */
.visit-section { position: relative; overflow: hidden; padding: 72px 0; background: linear-gradient(160deg, #0f2d44 0%, #0b3c58 55%, #0a5a7a 100%); color: #e6f1f7; isolation: isolate; }
.visit-section::before { content: ""; position: absolute; z-index: -1; right: -180px; top: -180px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(232,96,140,.28), transparent 65%); }
.visit-section::after { content: ""; position: absolute; z-index: -1; left: -160px; bottom: -220px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(10,156,196,.35), transparent 65%); }
.visit-grid { display: grid; gap: 36px; }
.visit-copy h2 { margin: 0; color: #fff; font-size: clamp(32px, 7vw, 52px); font-weight: 800; letter-spacing: -.04em; line-height: 1.05; }
.visit-copy h2 em { color: #ff9dbd; }
.visit-copy > p { max-width: 520px; margin: 18px 0 24px; color: #b9cfdd; font-size: 17px; line-height: 1.6; }
.visit-perks { display: grid; gap: 10px; margin: 0 0 26px; padding: 0; list-style: none; }
.visit-perks li { display: flex; align-items: flex-start; gap: 12px; color: #dce9f1; font-size: 15px; }
.visit-perks .icon { flex: 0 0 auto; margin-top: 2px; padding: 4px; width: 26px; height: 26px; border-radius: 50%; background: rgba(79,211,156,.16); color: #5fe0aa; }
.visit-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.visit-actions .button { flex: 1 1 auto; }
.visit-note { margin: 14px 0 0; color: #8fb0c4; font-size: 13px; }
.visit-flow { position: relative; display: grid; gap: 12px; }
.visit-step { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; padding: 18px; border: 1px solid rgba(255,255,255,.1); border-radius: 20px; background: rgba(255,255,255,.06); backdrop-filter: blur(6px); }
.visit-step-icon { position: relative; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: #fff; color: var(--brand); font-size: 26px; }
.visit-step:nth-child(2) .visit-step-icon { color: var(--violet); }
.visit-step:nth-child(3) .visit-step-icon { color: var(--rose); }
.visit-step:nth-child(4) .visit-step-icon { color: var(--mint); }
.visit-step-icon i { position: absolute; top: -7px; right: -7px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--rose); color: #fff; font-size: 11px; font-weight: 700; font-style: normal; }
.visit-step h3 { margin: 2px 0 4px; color: #fff; font-size: 17px; letter-spacing: -.01em; }
.visit-step p { margin: 0; color: #a9c2d2; font-size: 14px; line-height: 1.5; }
.visit-step:not(:last-child)::after { content: ""; position: absolute; left: 43px; bottom: -13px; width: 2px; height: 14px; background: rgba(255,255,255,.25); }
.visit-audience { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; margin-top: 36px; }
.aud-card { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 18px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.08); }
.aud-card .icon { font-size: 26px; color: #9fe6f5; }
.aud-card b { color: #fff; font-size: 15px; line-height: 1.25; }
.aud-card small { color: #a9c2d2; font-size: 13px; line-height: 1.4; }

/* promo */
.promo-section { overflow: hidden; padding: 72px 0; }
.promo-controls { display: flex; gap: 8px; }
.promo-controls button { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); font-size: 18px; transition: .2s; }
.promo-controls button:hover { border-color: var(--brand); color: var(--brand); }
.promo-track { display: flex; gap: 14px; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.promo-card { min-width: 100%; min-height: 290px; display: flex; justify-content: space-between; overflow: hidden; position: relative; padding: 28px; border-radius: var(--r-lg); color: var(--ink); }
.promo-cyan { background: linear-gradient(140deg, #dff4fa, #bfe9f5); }
.promo-pink { background: linear-gradient(140deg, #fdeef3, #f9d4e1); }
.promo-yellow { background: linear-gradient(140deg, #fff6df, #ffe7a8); }
.promo-card > div:first-child { position: relative; z-index: 2; max-width: 68%; }
.promo-label { display: inline-block; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.75); font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.promo-card h3 { max-width: 320px; margin: 30px 0 10px; font-size: 28px; letter-spacing: -.03em; line-height: 1.08; }
.promo-card p { max-width: 300px; margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.promo-card a { display: inline-flex; align-items: center; gap: 6px; margin-top: 24px; padding: 10px 16px; border-radius: 12px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 600; box-shadow: var(--shadow-sm); }
.promo-card a:hover { color: var(--brand-700); }
.promo-art { position: absolute; right: -10px; bottom: -10px; width: 190px; height: 190px; display: grid; place-items: center; opacity: .95; }
.promo-art .icon { width: 150px; height: 150px; stroke-width: 1.2; }
.promo-cyan .promo-art { color: #0a93b9; }
.promo-pink .promo-art { color: #d94d7c; }
.promo-yellow .promo-art { color: #c48700; }
.promo-art::before { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: rgba(255,255,255,.55); z-index: -1; }
.promo-art { isolation: isolate; }

/* process infographic */
.process-section { padding-top: 24px; }
.process-grid { display: grid; gap: 12px; position: relative; counter-reset: step; }
.process-step { position: relative; display: flex; flex-direction: column; padding: 22px; border-radius: 20px; background: #fff; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.process-step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.process-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.process-number { color: var(--soft); font-family: var(--display); font-size: 32px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.process-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: var(--tint); color: var(--tone); font-size: 26px; }
.process-step h3 { margin: 0 0 6px; font-size: 19px; letter-spacing: -.02em; }
.process-step p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.process-step a { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 16px; color: var(--brand-700); font-size: 14px; font-weight: 600; }
.process-bar { display: none; }

/* patient services */
.patient-grid-v2 { display: grid; gap: 12px; }
.patient-big { position: relative; display: flex; align-items: flex-start; gap: 16px; min-height: 150px; padding: 22px 52px 22px 22px; border-radius: 20px; transition: transform .2s, box-shadow .2s; }
.patient-big:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.patient-results { background: var(--mint-50); }
.patient-tax { background: var(--rose-50); }
.patient-phone { background: var(--brand-50); }
.patient-icon { width: 50px; height: 50px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 15px; background: #fff; color: var(--brand); font-size: 24px; box-shadow: var(--shadow-sm); }
.patient-results .patient-icon { color: var(--mint); }
.patient-tax .patient-icon { color: var(--rose); }
.patient-big h3 { margin: 2px 0 6px; font-size: 19px; letter-spacing: -.02em; line-height: 1.2; }
.patient-big p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.card-arrow { position: absolute; right: 18px; top: 20px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.8); color: var(--ink-2); font-size: 16px; transition: transform .2s, background .2s; }
.patient-big:hover .card-arrow { background: #fff; transform: translate(2px,-2px); color: var(--brand); }

/* steps */
.steps-section { padding: 64px 0; background: linear-gradient(140deg, #0fb0d6, #0a86b2); color: #fff; }
.steps-section .section-heading h2 { color: #fff; }
.steps-section .section-heading h2 em { color: #d5f6ff; }
.steps-section .eyebrow { background: rgba(255,255,255,.16); color: #fff; }
.steps-row { display: grid; gap: 12px; }
.step { display: flex; gap: 16px; padding: 20px; border-radius: 20px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); }
.step > span { width: 44px; height: 44px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 14px; background: #fff; color: var(--brand-700); font-family: var(--display); font-size: 15px; font-weight: 800; }
.step h3 { margin: 2px 0 4px; color: #fff; font-size: 18px; letter-spacing: -.01em; }
.step p { margin: 0; color: rgba(255,255,255,.82); font-size: 14px; }

/* contact preview */
.contact-preview { display: grid; gap: 30px; align-items: center; }
.contact-preview-copy h2 { margin: 0; font-size: clamp(30px, 6vw, 46px); font-weight: 800; letter-spacing: -.04em; line-height: 1.06; }
.contact-preview-copy > p { max-width: 440px; margin: 18px 0 24px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.contact-photo { position: relative; min-height: 300px; overflow: hidden; border-radius: var(--r-lg); background: linear-gradient(140deg, #dff4fa, #a9dcea); }
.contact-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-fallback { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(10,147,185,.55); }
.photo-fallback .icon { width: 120px; height: 120px; stroke-width: 1.1; }
.contact-badge { position: absolute; z-index: 2; left: 16px; bottom: 16px; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; background: #fff; box-shadow: var(--shadow); font-size: 14px; }
.contact-badge b, .contact-badge small { display: block; line-height: 1.25; }
.contact-badge small { color: var(--muted); font-size: 12px; }

/* footer */
.footer-v2 { margin-top: 0; background: var(--navy); color: #b3c6d4; padding: 52px 0 96px; }
.footer-grid { display: grid; gap: 28px; padding-bottom: 32px; }
.brand-light { color: #fff; }
.brand-light > span:last-child > span { color: #6fd6ee; }
.footer-grid p { max-width: 300px; margin: 14px 0 0; color: #8faabd; font-size: 14px; line-height: 1.6; }
.footer-grid > div:not(:first-child) { display: grid; align-content: start; gap: 10px; }
.footer-grid b { color: #fff; font-size: 14px; }
.footer-grid a, .footer-grid span { font-size: 14px; }
.footer-grid a:hover { color: #6fd6ee; }
.footer-bottom { display: flex; flex-direction: column; gap: 8px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); color: #7f98a9; font-size: 12px; }
.footer-bottom a { text-decoration: underline; }

/* mobile tab bar */
.mobile-tabbar { position: fixed; z-index: 40; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 6px; border-radius: 20px; background: rgba(255,255,255,.96); box-shadow: 0 12px 34px rgba(15,42,63,.2); border: 1px solid var(--line); backdrop-filter: blur(14px); }
.mobile-tabbar a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px; border-radius: 14px; color: var(--muted); font-size: 11px; font-weight: 600; }
.mobile-tabbar a .icon { font-size: 22px; }
.mobile-tabbar a.active { color: var(--brand-700); background: var(--brand-50); }
.mobile-tabbar a.tab-call { background: var(--brand); color: #fff; }
.mobile-tabbar [data-cart-count] { position: absolute; top: 4px; left: calc(50% + 6px); min-width: 18px; height: 18px; display: grid; place-items: center; padding: 0 5px; border-radius: 9px; background: var(--line); color: var(--muted); font-size: 10px; font-weight: 700; }
.mobile-tabbar [data-cart-count].has-items { background: var(--rose); color: #fff; }
.mobile-call { display: none; }

/* ---------- Inner pages ---------- */
.page-hero { position: relative; overflow: hidden; padding: 36px 0 40px; background: radial-gradient(900px 400px at 100% 0%, #d9f2f9 0%, transparent 60%), linear-gradient(180deg, #f8fcfd, #f1f8fb); border-bottom: 1px solid var(--line); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; color: var(--soft); font-size: 13px; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--brand-700); }
.page-hero h1 { max-width: 760px; margin: 0; font-size: clamp(36px, 8vw, 60px); font-weight: 800; letter-spacing: -.045em; line-height: 1.04; }
.page-hero h1 em { font-weight: 600; }
.page-hero p { max-width: 620px; margin: 16px 0 0; color: var(--muted); font-size: 17px; line-height: 1.6; }
.page-hero-search { max-width: 640px; margin-top: 22px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm); color: var(--ink-2); font-size: 13px; font-weight: 500; }
.hero-badge .icon { color: var(--brand); font-size: 16px; }
.inner-section { padding: 48px 0 80px; }
.quick-section { padding: 32px 0 8px; }

/* catalog */
.catalog-layout { display: grid; gap: 20px; }
.catalog-sidebar { position: sticky; top: 68px; z-index: 5; display: flex; gap: 8px; overflow-x: auto; margin: 0 -16px; padding: 10px 16px; background: rgba(245,249,251,.92); backdrop-filter: blur(10px); scrollbar-width: none; }
.catalog-sidebar::-webkit-scrollbar { display: none; }
.catalog-sidebar button { min-height: 42px; flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink-2); font-size: 14px; font-weight: 500; transition: .2s; }
.catalog-sidebar button .icon { font-size: 17px; color: var(--tone, var(--brand)); }
.catalog-sidebar button .cnt { color: var(--soft); font-size: 12px; font-weight: 600; }
.catalog-sidebar button:hover { border-color: var(--brand); color: var(--brand-700); }
.catalog-sidebar button.active { border-color: var(--brand); background: var(--brand); color: #fff; }
.catalog-sidebar button.active .icon, .catalog-sidebar button.active .cnt { color: #fff; }
.catalog-main .catalog-toolbar { position: relative; display: flex; gap: 10px; margin-bottom: 12px; }
.catalog-toolbar .icon-search { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--brand); font-size: 20px; pointer-events: none; }
.catalog-input { min-height: 56px; width: 100%; padding: 0 16px 0 48px; border: 1.5px solid var(--line); border-radius: 16px; outline: 0; background: #fff; color: var(--ink); font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.catalog-input::placeholder { color: var(--soft); }
.catalog-input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(10,156,196,.12); }
.catalog-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; margin: 0 0 14px; color: var(--muted); font-size: 13px; }
.catalog-meta span:last-child { color: var(--soft); }
.result-count { color: var(--ink-2); font-weight: 600; }
.active-filter { display: none; align-items: center; gap: 8px; margin: 0 0 12px; padding: 8px 8px 8px 14px; border-radius: 12px; background: var(--brand-50); color: var(--brand-700); font-size: 14px; font-weight: 500; }
.active-filter.show { display: inline-flex; }
.active-filter button { width: 28px; height: 28px; display: grid; place-items: center; border: 0; border-radius: 8px; background: #fff; color: var(--ink-2); }
.full-price-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.full-price-card { position: relative; min-width: 0; display: flex; flex-direction: column; gap: 10px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: #fff; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.full-price-card:hover { transform: translateY(-2px); border-color: rgba(10,156,196,.35); box-shadow: var(--shadow); }
.card-top { display: flex; align-items: center; gap: 10px; }
.card-cat-icon { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 11px; background: var(--tint, var(--brand-50)); color: var(--tone, var(--brand)); font-size: 18px; }
.price-category { display: block; min-width: 0; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.full-price-card h3 { margin: 0; font-family: var(--body); font-size: 16px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.card-helper { margin: -4px 0 0; color: var(--soft); font-size: 12px; line-height: 1.35; }
.price-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 4px; }
.price-line span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--bg); color: var(--muted); font-size: 12.5px; font-weight: 500; }
.price-line span .icon { color: var(--mint); }
.price-line strong { color: var(--ink); font-family: var(--display); font-size: 19px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.card-actions { display: grid; grid-template-columns: 1fr 1.25fr; gap: 8px; }
.details-button, .cart-add-button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 12px; border-radius: 12px; font-size: 14px; font-weight: 600; transition: .2s ease; }
.details-button { border: 1px solid var(--line); background: #fff; color: var(--ink-2); }
.details-button:hover { border-color: var(--brand); color: var(--brand-700); }
.cart-add-button { border: 1px solid var(--brand); background: var(--brand); color: #fff; }
.cart-add-button:hover { background: var(--brand-600); border-color: var(--brand-600); }
.cart-add-button.added { background: var(--mint-50); border-color: var(--mint-50); color: #0f7d61; }
.load-more { display: flex; justify-content: center; margin-top: 18px; }
.load-more[hidden] { display: none; }
.empty-state { padding: 36px 20px; border: 1.5px dashed #c6d6df; border-radius: 18px; background: #fff; color: var(--muted); text-align: center; }
.empty-state[hidden] { display: none; }
.empty-state a { color: var(--brand-700); font-weight: 600; }
.info-panel { display: grid; gap: 14px; padding: 26px; border-radius: var(--r-lg); background: linear-gradient(140deg, var(--navy), #0b4563); color: #fff; }
.info-panel h3 { margin: 0; color: #fff; font-size: 22px; }
.info-panel p { margin: 0; color: #b7ccda; font-size: 15px; line-height: 1.6; }
.info-panel .button { justify-self: start; }

/* floating cart bar */
.cart-float { position: fixed; z-index: 35; left: 50%; bottom: calc(86px + env(safe-area-inset-bottom)); width: min(560px, calc(100% - 20px)); display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 16px; border-radius: 18px; background: var(--ink); color: #fff; box-shadow: 0 18px 40px rgba(15,42,63,.3); transform: translate(-50%, 140%); opacity: 0; transition: transform .35s cubic-bezier(.2,.7,.2,1), opacity .35s; }
.cart-float.show { transform: translate(-50%, 0); opacity: 1; }
.cart-float .cf-icon { width: 40px; height: 40px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 12px; background: rgba(255,255,255,.1); font-size: 20px; }
.cart-float div { min-width: 0; flex: 1; line-height: 1.25; }
.cart-float b { display: block; font-size: 15px; }
.cart-float small { color: #a7bccb; font-size: 12.5px; }
.cart-float a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: 12px; background: var(--brand); color: #fff; font-size: 14px; font-weight: 600; white-space: nowrap; }
.toast { position: fixed; z-index: 60; left: 50%; top: 84px; padding: 12px 18px; border-radius: 14px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 500; box-shadow: var(--shadow); transform: translate(-50%, -20px); opacity: 0; pointer-events: none; transition: .3s; display: flex; align-items: center; gap: 8px; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast .icon { color: #5fe0aa; }

/* FAQ */
.faq-grid { display: grid; gap: 10px; }
.faq-grid details { border: 1px solid var(--line); border-radius: 18px; background: #fff; transition: box-shadow .2s, border-color .2s; }
.faq-grid details[open] { border-color: rgba(10,156,196,.35); box-shadow: var(--shadow-sm); }
.faq-grid summary { list-style: none; display: flex; align-items: center; gap: 14px; padding: 18px 20px; cursor: pointer; font-size: 16px; font-weight: 600; }
.faq-grid summary::-webkit-details-marker { display: none; }
.faq-grid summary .faq-num { width: 36px; height: 36px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 11px; background: var(--brand-50); color: var(--brand-700); font-size: 13px; font-weight: 700; }
.faq-grid summary .faq-plus { margin-left: auto; width: 30px; height: 30px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: var(--bg); color: var(--brand-700); font-size: 18px; transition: transform .25s; }
.faq-grid details[open] .faq-plus { transform: rotate(45deg); }
.faq-grid details p { margin: 0; padding: 0 20px 20px; color: var(--muted); font-size: 15px; line-height: 1.65; }

/* clinics */
.clinic-grid { display: grid; gap: 14px; }
.clinic-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.clinic-photo-fallback { position: relative; min-height: 190px; display: flex; align-items: flex-end; padding: 22px; overflow: hidden; background: linear-gradient(140deg, #10aed6, #0b4563); color: #fff; }
.clinic-photo-fallback::before { content: ""; position: absolute; width: 260px; height: 260px; top: -110px; right: -60px; border: 32px solid rgba(255,255,255,.12); border-radius: 50%; }
.clinic-photo-fallback span { position: relative; font-family: var(--display); font-size: 28px; line-height: .95; font-weight: 800; letter-spacing: .04em; }
.clinic-photo-fallback .icon { position: absolute; right: 22px; bottom: 18px; width: 64px; height: 64px; opacity: .6; stroke-width: 1.4; }
.map-card { position: relative; min-height: 190px; overflow: hidden; background: #e8f3f6; background-image: linear-gradient(#d7e8ee 1px, transparent 1px), linear-gradient(90deg, #d7e8ee 1px, transparent 1px); background-size: 28px 28px; }
.map-card::before { content: ""; position: absolute; left: -10%; top: 55%; width: 120%; height: 18px; background: #fff; transform: rotate(-12deg); box-shadow: 0 -60px 0 -4px #fff; }
.map-pin { position: absolute; left: 50%; top: 42%; transform: translate(-50%,-50%); width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50% 50% 50% 6px; rotate: -45deg; background: var(--rose); color: #fff; box-shadow: 0 10px 24px rgba(232,96,140,.4); }
.map-pin .icon { rotate: 45deg; font-size: 24px; }
.map-label { position: absolute; left: 16px; bottom: 16px; display: grid; padding: 10px 14px; border-radius: 12px; background: #fff; box-shadow: var(--shadow-sm); font-size: 13px; }
.map-label span { color: var(--muted); }
.map-note { position: absolute; right: 14px; top: 14px; padding: 6px 10px; border-radius: 999px; background: #fff; color: var(--muted); font-size: 12px; }
.clinic-card-body { padding: 22px; }
.clinic-card h3 { margin: 0 0 8px; font-size: 20px; }
.clinic-card p { margin: 0 0 18px; color: var(--muted); font-size: 15px; }
.tint-section { background: var(--brand-50); }

/* results */
.result-panel { max-width: 640px; margin: 0 auto; padding: 28px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow); }
.result-panel h2 { margin: 0 0 8px; font-size: 28px; letter-spacing: -.03em; }
.result-panel > p { margin: 0 0 22px; color: var(--muted); font-size: 15px; }
.result-form { display: grid; gap: 8px; }
.result-form label { margin-top: 6px; color: var(--ink-2); font-size: 14px; font-weight: 600; }
.result-form input { min-height: 54px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 14px; outline: 0; background: var(--bg); font-size: 16px; transition: .2s; }
.result-form input:focus { border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(10,156,196,.12); }
.result-form .button { margin-top: 12px; }
.notice { display: none; padding: 14px 16px; border-radius: 14px; background: var(--mint-50); color: #146b54; font-size: 14px; }
.notice.show { display: block; }
.notice.warn { background: var(--amber-50); color: #8a5d00; }

/* modal */
.details-modal[hidden] { display: none; }
.details-modal { position: fixed; z-index: 70; inset: 0; display: grid; align-items: end; justify-items: center; }
.details-backdrop { position: absolute; inset: 0; background: rgba(15,42,63,.5); backdrop-filter: blur(4px); animation: fadeIn .2s ease; }
.details-dialog { position: relative; width: min(640px, 100%); max-height: 88vh; overflow: auto; padding: 28px 22px calc(22px + env(safe-area-inset-bottom)); border-radius: 26px 26px 0 0; background: #fff; box-shadow: 0 -20px 60px rgba(15,42,63,.25); animation: sheetUp .3s cubic-bezier(.2,.7,.2,1); }
.details-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--bg); color: var(--ink); font-size: 24px; }
.details-dialog h2 { max-width: 540px; margin: 12px 44px 12px 0; font-size: clamp(22px, 4vw, 30px); line-height: 1.15; letter-spacing: -.03em; }
.details-dialog .price-category { white-space: normal; display: inline-block; padding: 5px 11px; border-radius: 999px; background: var(--brand-50); color: var(--brand-700); }
.details-description { color: var(--muted); font-size: 15px; line-height: 1.65; }
.details-facts { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; margin: 20px 0; }
.details-facts span { display: grid; gap: 4px; padding: 14px; border-radius: 14px; background: var(--bg); color: var(--muted); font-size: 12px; }
.details-facts b { color: var(--ink); font-size: 16px; }
.details-note { display: grid; gap: 4px; margin: 0 0 18px; padding: 14px 16px; border-left: 3px solid var(--brand); border-radius: 12px; background: var(--brand-50); color: var(--ink); font-size: 14px; line-height: 1.5; }
.details-note span { color: var(--muted); }
.details-dialog .button { width: 100%; }

/* cart */
.cart-layout { display: grid; gap: 22px; }
.cart-col { display: grid; gap: 12px; align-content: start; }
.cart-summary { display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.cart-summary.show { display: flex; }
.cart-summary span { color: var(--muted); font-size: 14px; }
.cart-summary b { display: block; color: var(--ink); font-family: var(--display); font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.cart-summary small { color: var(--soft); font-size: 12px; }
.cart-items { display: grid; gap: 10px; align-content: start; }
.cart-item { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 18px 52px 18px 18px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.cart-item h3 { margin: 8px 0 4px; font-family: var(--body); font-size: 16px; font-weight: 600; line-height: 1.4; }
.cart-item p { margin: 0; color: var(--muted); font-size: 13px; }
.cart-item strong { align-self: end; font-family: var(--display); font-size: 18px; white-space: nowrap; }
.cart-remove { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--bg); color: var(--muted); font-size: 20px; }
.cart-remove:hover { background: #ffe9ee; color: #c2416d; }
.cart-empty { padding: 44px 24px; border: 1.5px dashed #c6d6df; border-radius: var(--r-lg); background: #fff; text-align: center; }
.cart-empty[hidden] { display: none; }
.empty-visual { display: grid; width: 72px; height: 72px; margin: 0 auto 16px; place-items: center; border-radius: 22px; background: var(--brand-50); color: var(--brand); font-size: 34px; }
.cart-empty h2 { margin: 0 0 8px; font-size: 24px; }
.cart-empty p { max-width: 380px; margin: 0 auto 20px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.cart-request { align-self: start; padding: 24px; border-radius: var(--r-lg); background: linear-gradient(160deg, var(--navy), #0b4563); color: #fff; }
.cart-request .eyebrow { background: rgba(255,255,255,.1); color: #9fe6f5; }
.cart-request h2 { margin: 4px 0 8px; color: #fff; font-size: 26px; }
.cart-request > p { margin: 0 0 20px; color: #b7ccda; font-size: 14px; line-height: 1.6; }
.cart-request form { display: grid; gap: 12px; }
.cart-request label { display: grid; gap: 6px; color: #d4e2e9; font-size: 13px; font-weight: 500; }
.cart-request input, .cart-request textarea { width: 100%; padding: 14px; border: 1px solid rgba(255,255,255,.18); border-radius: 12px; outline: 0; background: rgba(255,255,255,.08); color: #fff; font-size: 16px; }
.cart-request input::placeholder, .cart-request textarea::placeholder { color: #8fa9b8; }
.cart-request input:focus, .cart-request textarea:focus { border-color: #6fd6ee; background: rgba(255,255,255,.12); }
.place-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px; border-radius: 14px; background: rgba(255,255,255,.08); }
.place-switch label { position: relative; display: block; }
.place-switch input { position: absolute; opacity: 0; pointer-events: none; }
.place-switch span { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 8px; border-radius: 10px; color: #c6d6e2; font-size: 14px; font-weight: 600; cursor: pointer; transition: .2s; text-align: center; }
.place-switch input:checked + span { background: #fff; color: var(--ink); }
.place-switch input:focus-visible + span { outline: 2px solid #6fd6ee; }
.address-field[hidden] { display: none; }
.cart-request .button { width: 100%; margin-top: 4px; }
.cart-request .button-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.25); }
.cart-request .button-ghost:hover { border-color: #fff; color: #fff; }
.cart-request .notice { margin-top: 12px; }
.form-legal { margin: 2px 0 0; color: #7f9cb0; font-size: 12px; line-height: 1.45; }

/* animations */
.reveal { opacity: 0; transform: translateY(16px); animation: reveal .7s cubic-bezier(.2,.7,.2,1) forwards; animation-play-state: paused; }
.delay-1 { animation-delay: .08s; } .delay-2 { animation-delay: .16s; } .delay-3 { animation-delay: .24s; }
@keyframes reveal { to { opacity: 1; transform: none; } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes sheetUp { from { transform: translateY(40px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; } }

/* ---------- ≥ 480 ---------- */
@media (min-width: 480px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
/* ---------- ≥ 700 ---------- */
@media (min-width: 700px) {
  .wrap { width: min(1240px, calc(100% - 56px)); }
  .utility-right a { display: inline; }
  .utility-right a:last-child { color: #fff; }
  .utility-visit { display: inline-flex; }
  .mobile-tabbar, .mobile-menu-button, .mobile-nav { display: none !important; }
  .main-nav { display: flex; }
  .login-button { display: inline-flex; }
  .cart-link .cart-label { display: inline; }
  .footer-v2 { padding-bottom: 28px; }
  .cart-float { bottom: 24px; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 44px; padding: 64px 0 84px; }
  .hero-actions .button { flex: 0 0 auto; }
  .hero-art { min-height: 480px; }
  .float-visit { display: flex; }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .stat { padding: 22px 20px; }
  .search-card { grid-template-columns: minmax(0,.8fr) minmax(0,1.4fr); align-items: center; gap: 22px 32px; padding: 28px 32px; }
  .search-card .search-shortcuts { grid-column: 1 / -1; }
  .service-tiles { grid-template-columns: repeat(3, 1fr); }
  .service-tile { min-height: 330px; padding: 30px; }
  .service-tile h3 { margin-top: 56px; font-size: 28px; }
  .category-price-grid { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
  .category-price-card { min-height: 210px; padding: 24px; }
  .promo-card { min-width: calc(66.666% - 7px); min-height: 320px; padding: 34px; }
  .promo-card h3 { font-size: 32px; }
  .promo-art { width: 230px; height: 230px; right: 10px; bottom: 10px; }
  .promo-art .icon { width: 170px; height: 170px; }
  .process-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .process-bar { display: block; position: absolute; left: 22px; right: 22px; top: -18px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, #0a93b9 0 25%, #c48700 25% 50%, #129a78 50% 75%, #d94d7c 75%); opacity: .7; }
  .patient-grid-v2 { grid-template-columns: repeat(3, 1fr); }
  .patient-big { display: flex; flex-direction: column; min-height: 230px; padding: 26px; }
  .patient-big h3 { margin-top: 26px; }
  .steps-row { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .contact-preview { grid-template-columns: .9fr 1.1fr; gap: 64px; }
  .contact-photo { min-height: 420px; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
  .visit-audience { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .visit-actions .button { flex: 0 0 auto; }
  .page-hero { padding: 48px 0 56px; }
  .catalog-layout { grid-template-columns: 250px minmax(0,1fr); align-items: start; gap: 28px; }
  .catalog-sidebar { top: 88px; flex-direction: column; overflow: visible; margin: 0; padding: 14px; border-radius: 20px; background: #fff; border: 1px solid var(--line); max-height: calc(100vh - 110px); overflow-y: auto; }
  .catalog-sidebar button { justify-content: flex-start; border: 0; border-radius: 12px; min-height: 42px; text-align: left; background: transparent; }
  .catalog-sidebar button .cnt { margin-left: auto; }
  .catalog-sidebar button:hover { background: var(--brand-50); }
  .full-price-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
  .clinic-grid { grid-template-columns: repeat(2, 1fr); }
  .cart-layout { grid-template-columns: minmax(0, 1.4fr) minmax(320px, .8fr); }
  .details-modal { align-items: center; padding: 18px; }
  .details-dialog { padding: 32px; border-radius: 26px; }
  .quick-grid { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
  .quick-tile { min-height: 150px; padding: 18px; }
}
/* ---------- ≥ 1024 ---------- */
@media (min-width: 1024px) {
  .wrap { width: min(1240px, calc(100% - 80px)); }
  .result-link { display: inline-flex; }
  .search-trigger { width: auto; padding: 0 14px; }
  .search-trigger > span:last-child { display: inline; }
  .hero-grid { gap: 72px; padding: 72px 0 96px; }
  .hero-art { min-height: 540px; }
  .float-top { left: -28px; } .float-visit { left: -40px; } .float-bottom { right: -20px; }
  .section-v2 { padding: 96px 0; }
  .promo-section, .visit-section { padding: 96px 0; }
  .visit-grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
  .full-price-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .clinic-grid { grid-template-columns: repeat(3, 1fr); }
  .quick-grid.cols-6 { grid-template-columns: repeat(6, minmax(0,1fr)); }
  .quick-grid.cols-5 { grid-template-columns: repeat(5, minmax(0,1fr)); }
}
@media (max-width: 699px) {
  .card-actions .details-button, .card-actions .cart-add-button { min-height: 46px; }
  .details-facts { grid-template-columns: 1fr; }
  .details-facts span { display: flex; justify-content: space-between; align-items: center; }
  .section-heading { margin-bottom: 22px; }
}
@media (max-width: 380px) {
  .hero h1 { font-size: 36px; }
  .quick-tile { padding: 14px; min-height: 124px; }
  .quick-tile .qt-count { display: none; }
}
.main-nav a.nav-extra { display: none; }
@media (min-width: 700px) and (max-width: 1099px) { .main-nav { margin-left: 4px; font-size: 14px; } .main-nav a { padding: 8px 10px; } .header-main { gap: 12px; } .login-button { padding: 0 12px; } .login-button .icon + * {} }
@media (min-width: 700px) and (max-width: 899px) { .main-nav a[href$="preparation.html"], .main-nav a[href$="clinics.html"] { display: none; } .login-button { width: 44px; padding: 0; font-size: 0; } .login-button .icon { font-size: 19px; } }
@media (min-width: 1240px) { .main-nav a.nav-extra { display: inline-block; } }
.main-nav a, .search-trigger, .result-link, .login-button, .cart-link, .button, .chip { white-space: nowrap; }
.visit-copy > p.visit-note { margin: 14px 0 0; color: #8fb0c4; font-size: 13px; }
@media (min-width: 1024px) and (max-width: 1339px) { .search-trigger { width: 44px; padding: 0; } .search-trigger > span:last-child { display: none; } .result-link { display: none; } }
.utility-right a:last-child { white-space: nowrap; }
@media (max-width: 699px) {
  .utility-left .city-button { display: none; }
  .search-card .search-shortcuts { flex-wrap: nowrap; overflow-x: auto; margin: 0 -24px; padding: 2px 24px 6px; scrollbar-width: none; }
  .search-card .search-shortcuts::-webkit-scrollbar { display: none; }
  .search-card .search-shortcuts > * { flex: 0 0 auto; }
  .more-cats { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 2px 16px 6px; scrollbar-width: none; }
  .more-cats > * { flex: 0 0 auto; }
  .hero-art { min-height: 300px; }
  .process-step { padding: 18px; }
  .process-top { margin-bottom: 10px; }
}
@media (min-width: 1240px) { .main-nav a.nav-extra { display: none; } }
@media (min-width: 1024px) and (max-width: 1499px) { .search-trigger { width: 44px; padding: 0; } .search-trigger > span:last-child { display: none; } .result-link { display: none; } }
.header-main > * { flex-shrink: 0; }
.main-nav { flex-shrink: 1; min-width: 0; }
@media (max-width: 479px) {
  .quick-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
  .quick-tile { min-height: 0; align-items: center; text-align: center; padding: 14px 6px 12px; gap: 2px; border-radius: 16px; }
  .quick-tile .qt-icon { width: 44px; height: 44px; margin-bottom: 6px; }
  .quick-tile b { font-size: 12.5px; line-height: 1.2; overflow-wrap: anywhere; }
  .quick-tile small { display: none; }
  .quick-tile .qt-price { padding-top: 4px; font-size: 11.5px; font-weight: 600; }
  .quick-tile .qt-count { top: 6px; right: 6px; min-width: 22px; height: 18px; padding: 0 5px; font-size: 10px; display: grid; }
}

/* ===== Правовые страницы, согласие, cookie ===== */
.legal-doc { max-width: 860px; color: var(--ink-2); font-size: 15px; line-height: 1.7; }
.legal-doc h2 { margin: 34px 0 12px; font-family: var(--display); font-size: clamp(18px, 4.6vw, 22px); line-height: 1.3; color: var(--ink); }
.legal-doc h2:first-child { margin-top: 0; }
.legal-doc p { margin: 0 0 12px; overflow-wrap: anywhere; }
.legal-doc ul { margin: 0 0 12px; padding-left: 22px; }
.legal-doc li { margin-bottom: 6px; }
.legal-doc a { color: var(--brand-600); text-decoration: underline; text-underline-offset: 2px; }
.legal-doc code { padding: 2px 6px; border-radius: 6px; background: var(--brand-50); font-size: 13px; overflow-wrap: anywhere; }
.legal-table { overflow-x: auto; margin: 0 0 16px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); -webkit-overflow-scrolling: touch; }
.legal-table table { width: 100%; border-collapse: collapse; font-size: 14px; }
.legal-table th, .legal-table td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.legal-table tr:last-child th, .legal-table tr:last-child td { border-bottom: 0; }
.legal-table tbody th { width: 34%; background: var(--bg); color: var(--ink); font-weight: 600; }
.legal-table thead th { background: var(--bg); color: var(--ink); white-space: nowrap; }
.legal-todo { margin: 0 0 16px; padding: 16px 18px; border: 1px dashed #d99a00; border-radius: var(--r-sm); background: var(--amber-50); color: #5c4400; font-size: 14px; }
@media (max-width: 560px) {
  .legal-table tbody tr { display: block; border-bottom: 1px solid var(--line); }
  .legal-table tbody tr:last-child { border-bottom: 0; }
  .legal-table tbody th, .legal-table tbody td { display: block; width: auto; border-bottom: 0; padding: 8px 14px; }
  .legal-table tbody th { padding-bottom: 0; background: transparent; color: var(--muted); font-size: 12px; font-weight: 500; }
}

.footer-legal { display: grid; gap: 14px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: 12px; line-height: 1.6; color: #9db3c3; }
.footer-legal p { margin: 0; overflow-wrap: anywhere; }
.footer-legal a { color: #cfe0ec; }
.footer-docs { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-docs a { text-decoration: underline; text-underline-offset: 2px; }
@media (min-width: 1024px) { .footer-legal { grid-template-columns: 1fr auto; align-items: start; gap: 40px; } .footer-docs { max-width: 520px; justify-content: flex-end; } }

.consent-check { display: flex !important; align-items: flex-start; gap: 10px; margin: 4px 0 6px; font-size: 12px; line-height: 1.5; color: #9fb5c6; cursor: pointer; }
.consent-check input { flex: 0 0 auto; width: 20px; height: 20px; min-height: 0; margin: 0; padding: 0; accent-color: var(--brand); }
.consent-check a { color: #7fdcf2; text-decoration: underline; }
.result-form .consent-check, .result-panel .consent-check { color: var(--muted); }
.result-form .consent-check a, .result-panel .consent-check a { color: var(--brand-600); }
.field-hint { display: block; margin-top: 5px; font-size: 11px; line-height: 1.4; color: #9fb5c6; font-weight: 400; }
.form-legal a { color: inherit; text-decoration: underline; }

.cookie-banner { position: fixed; z-index: 70; right: 10px; left: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); max-width: 560px; display: grid; gap: 12px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); font-size: 13px; line-height: 1.55; color: var(--ink-2); }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; }
.cookie-banner a { color: var(--brand-600); text-decoration: underline; }
.cookie-banner .button { justify-self: start; }
@media (min-width: 700px) { .cookie-banner { left: 20px; right: auto; bottom: 20px; } .legal-doc { font-size: 16px; } }
