/* МедЭкс · site.css — единый стиль всех страниц */
@view-transition { navigation: auto; }

:root {
  color-scheme: light;
  --bg: #fbfbfd;
  --surface: #ffffff;
  --surface-2: #f5f5f7;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(0, 0, 0, .09);
  --brand: #b51a5c;
  --brand-2: #e0337c;
  --brand-ink: #8f1349;
  --teal: #3cb7b0;
  --navy-1: #0a0f1f;
  --navy-2: #1a2747;
  --ok: #1f9d55;
  --danger: #d92d20;
  --nav-bg: rgba(251, 251, 253, .72);
  --shadow-s: 0 1px 2px rgba(0, 0, 0, .04), 0 8px 24px rgba(0, 0, 0, .06);
  --shadow-l: 0 2px 6px rgba(0, 0, 0, .05), 0 24px 60px rgba(0, 0, 0, .12);
  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI Variable Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; font-family: var(--font); background: var(--bg); color: var(--text);
  line-height: 1.47; letter-spacing: -.011em; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 55%, transparent); outline-offset: 3px; border-radius: 10px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Навигация ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; height: 56px;
  background: var(--nav-bg); backdrop-filter: saturate(180%) blur(22px); -webkit-backdrop-filter: saturate(180%) blur(22px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: -.02em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.nav-links { display: flex; gap: 4px; margin-left: 8px; }
.nav-links a { padding: 8px 14px; border-radius: 980px; font-size: 14px; color: var(--muted); transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.nav-links a[aria-current="page"] { color: var(--text); background: var(--surface-2); font-weight: 600; }
.nav-spacer { flex: 1; }
.nav-phone { font-size: 14px; font-weight: 600; white-space: nowrap; color: var(--text); }
.cart-pill {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border: 0; border-radius: 980px;
  background: var(--surface-2); font-size: 14px; font-weight: 600; cursor: pointer; transition: background .2s, transform .2s var(--ease);
}
.cart-pill:hover { background: color-mix(in srgb, var(--brand) 12%, var(--surface-2)); }
.cart-pill:active { transform: scale(.96); }
.cart-pill .cnt { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--brand); color: #fff; font-size: 12px; display: grid; place-items: center; }
.cart-pill .cnt[data-zero="1"] { background: var(--muted); }
.burger { display: none; width: 40px; height: 40px; border: 0; background: transparent; border-radius: 12px; cursor: pointer; }
.burger span { display: block; width: 18px; height: 2px; background: var(--text); margin: 5px auto; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Типографика секций ---------- */
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin: 0 0 14px; }
h1, h2, h3 { margin: 0; letter-spacing: -.03em; line-height: 1.06; }
h1 { font-size: clamp(40px, 7.2vw, 88px); font-weight: 700; letter-spacing: -.04em; }
h2 { font-size: clamp(30px, 4.6vw, 54px); font-weight: 700; }
h3 { font-size: clamp(20px, 2.2vw, 26px); font-weight: 650; letter-spacing: -.02em; line-height: 1.15; }
.lead { font-size: clamp(18px, 2.2vw, 24px); color: var(--muted); line-height: 1.35; max-width: 34em; margin: 22px 0 0; letter-spacing: -.015em; }
.grad { background: linear-gradient(100deg, var(--brand) 10%, #ff6a3d 55%, var(--brand-2) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
section { padding-block: clamp(56px, 9vw, 112px); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 26px; border: 0; border-radius: 980px;
  background: var(--brand); color: #fff; font-size: 17px; font-weight: 600; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s, background .2s;
  box-shadow: 0 6px 18px color-mix(in srgb, var(--brand) 32%, transparent);
}
.btn:hover { background: var(--brand-ink); transform: translateY(-1px); }
.btn:active { transform: scale(.97); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn.ghost { background: var(--surface-2); color: var(--text); box-shadow: none; }
.btn.ghost:hover { background: color-mix(in srgb, var(--text) 10%, var(--surface-2)); }
.btn.block { width: 100%; }
.link-arrow { color: var(--brand); font-weight: 600; font-size: 17px; display: inline-flex; gap: 6px; align-items: center; }
.link-arrow::after { content: "›"; font-size: 1.3em; line-height: 1; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Hero и две главные кнопки ---------- */
.hero { padding-top: clamp(28px, 4vw, 56px); padding-bottom: clamp(32px, 5vw, 64px); text-align: center; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0 -10% auto; height: 90%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 46% at 18% 55%, color-mix(in srgb, var(--brand-2) 20%, transparent), transparent 70%),
    radial-gradient(36% 44% at 82% 50%, color-mix(in srgb, var(--teal) 20%, transparent), transparent 70%);
  filter: blur(30px);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 35%); mask-image: linear-gradient(180deg, transparent 0, #000 35%);
}
.hero .lead { margin-inline: auto; }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: clamp(36px, 6vw, 72px); text-align: left; }
.tile {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: clamp(340px, 44vw, 480px);
  padding: clamp(26px, 3.4vw, 44px); border-radius: var(--r-xl); overflow: hidden; color: #fff; isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease); box-shadow: var(--shadow-l);
}
.tile:hover { transform: translateY(-6px) scale(1.008); }
.tile:active { transform: scale(.985); }
.tile.a { background: linear-gradient(150deg, #d82b73 0%, #b51a5c 45%, #6f0f3b 100%); }
.tile.b { background: linear-gradient(150deg, #243a69 0%, #131d3a 55%, #070b18 100%); }
.tile .art { position: absolute; z-index: -1; right: 3%; bottom: 2%; width: 46%; max-width: 280px; opacity: .9; transition: transform .8s var(--ease); }
.tile .art { overflow: visible; }
.tile > div:first-child { max-width: 68%; }
.tile:hover .art { transform: scale(1.06) rotate(-2deg); }
.tile .kicker { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.tile h2 { color: #fff; font-size: clamp(30px, 4vw, 46px); margin-top: 12px; max-width: 9em; }
.tile p { margin: 14px 0 0; max-width: 21em; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.35; opacity: .88; }
.tile .go {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; height: 48px; padding: 0 24px; border-radius: 980px;
  background: #fff; color: #1d1d1f; font-weight: 600; font-size: 17px; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); transition: gap .3s var(--ease);
}
.tile:hover .go { gap: 16px; }
.tile .go svg { width: 18px; height: 18px; }

/* ---------- Карточки ---------- */
.grid { display: grid; gap: 20px; }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--surface); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow-s); }
.card .ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px; background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand); }
.card .ico svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 10px; }
.card p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.45; }
.band { background: var(--surface-2); }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split.wide { grid-template-columns: 1.15fr .85fr; }
.panel-art { aspect-ratio: 5/4; border-radius: var(--r-xl); display: grid; place-items: center; background: linear-gradient(150deg, color-mix(in srgb, var(--teal) 28%, var(--surface)), color-mix(in srgb, var(--brand-2) 22%, var(--surface))); overflow: hidden; }
.panel-art svg { width: 62%; }
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.step { position: relative; padding: 28px; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-s); }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--text); color: var(--bg); font-weight: 700; margin-bottom: 18px; }
.step h3 { font-size: 21px; margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }
.promo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.promo .card { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.promo .tag { font-size: 13px; font-weight: 700; color: var(--brand); background: color-mix(in srgb, var(--brand) 12%, transparent); padding: 4px 12px; border-radius: 980px; }
.promo h3 { font-size: clamp(22px, 2.6vw, 30px); }

/* ---------- Страничные заголовки ---------- */
.page-hero { padding-top: clamp(44px, 7vw, 88px); padding-bottom: clamp(20px, 3vw, 36px); }
.page-hero h1 { font-size: clamp(36px, 6vw, 72px); }
.dark-hero { background: linear-gradient(160deg, var(--navy-2), var(--navy-1) 70%); color: #f5f5f7; position: relative; overflow: hidden; }
.dark-hero .lead { color: rgba(245, 245, 247, .72); }
.dark-hero .eyebrow { color: #7fe0d9; }
.dark-hero::after { content: ""; position: absolute; width: 560px; height: 560px; right: -140px; top: -160px; background: radial-gradient(closest-side, rgba(60, 183, 176, .35), transparent); filter: blur(10px); pointer-events: none; }
.dark-hero .wrap { position: relative; z-index: 1; }
.dark-hero .btn.ghost { background: rgba(255, 255, 255, .12); color: #fff; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }

/* ---------- Каталог ---------- */
.toolbar { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin: 28px 0 28px; }
.search { position: relative; flex: 1 1 320px; }
.search svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); }
.search input { width: 100%; height: 52px; padding: 0 20px 0 50px; border: 1.5px solid transparent; border-radius: 980px; background: var(--surface); box-shadow: var(--shadow-s); font-size: 17px; outline: none; transition: border-color .2s, box-shadow .2s; }
.search input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { height: 40px; padding: 0 18px; border: 0; border-radius: 980px; background: var(--surface); box-shadow: var(--shadow-s); font-size: 15px; font-weight: 600; cursor: pointer; color: var(--text); transition: background .2s, color .2s, transform .2s; }
.chip:active { transform: scale(.95); }
.chip[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.catalog { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.test { display: flex; flex-direction: column; gap: 14px; background: var(--surface); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-s); transition: transform .35s var(--ease), box-shadow .35s; }
.test:hover { transform: translateY(-4px); box-shadow: var(--shadow-l); }
.test .meta { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.test h3 { font-size: 19px; line-height: 1.25; letter-spacing: -.015em; text-transform: none; }
.test .code { font-size: 13px; color: var(--muted); margin-top: -6px; }
.test .foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.test .lbl { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.test .price { font-size: 26px; font-weight: 700; letter-spacing: -.03em; }
.add { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--brand); color: #fff; cursor: pointer; display: grid; place-items: center; transition: transform .25s var(--ease), background .2s; flex: none; }
.add svg { width: 22px; height: 22px; }
.add:hover { transform: scale(1.08); }
.add:active { transform: scale(.92); }
.add[aria-pressed="true"] { background: var(--ok); }
.empty { padding: 56px 20px; text-align: center; color: var(--muted); font-size: 18px; }
.note { color: var(--muted); font-size: 14px; margin-top: 28px; }

/* ---------- Формы ---------- */
.form-card { background: var(--surface); border-radius: var(--r-xl); padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow-l); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin: 0 0 8px 4px; }
.input, select.input, textarea.input {
  width: 100%; min-height: 54px; padding: 14px 18px; border: 1.5px solid transparent; border-radius: 16px; background: var(--surface-2);
  font-size: 17px; outline: none; transition: border-color .2s, box-shadow .2s, background .2s; appearance: none; -webkit-appearance: none;
}
textarea.input { min-height: 120px; resize: vertical; line-height: 1.4; }
select.input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none' stroke='%2386868b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 46px; }
.input:focus { background: var(--surface); border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }
.input[aria-invalid="true"] { border-color: var(--danger); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--muted); line-height: 1.4; margin: 6px 0 20px; }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--brand); flex: none; }
.form-msg { margin-top: 16px; font-size: 15px; min-height: 22px; }
.form-msg.err { color: var(--danger); }
.success { text-align: center; padding: 20px 0; }
.success svg { width: 72px; height: 72px; color: var(--ok); margin: 0 auto 18px; }
.aside-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.aside-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; }
.aside-list svg { width: 22px; height: 22px; flex: none; color: var(--brand); margin-top: 2px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 40px auto 0; display: grid; gap: 10px; }
.faq details { background: var(--surface); border-radius: var(--r-md); padding: 0 24px; box-shadow: var(--shadow-s); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; font-size: 18px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 28px; font-weight: 300; line-height: 1; transition: transform .3s var(--ease); color: var(--muted); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; color: var(--muted); font-size: 17px; }

/* ---------- Корзина (шторка) ---------- */
.scrim { position: fixed; inset: 0; z-index: 80; background: rgba(0, 0, 0, .4); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .35s; }
.drawer {
  position: fixed; z-index: 90; top: 0; right: 0; bottom: 0; width: min(460px, 100%); background: var(--bg); box-shadow: var(--shadow-l);
  transform: translateX(105%); transition: transform .5s var(--ease); display: flex; flex-direction: column; overflow: hidden;
}
.cart-open .scrim { opacity: 1; pointer-events: auto; }
.cart-open .drawer { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px 14px; }
.drawer-head h3 { font-size: 24px; }
.x { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--surface-2); cursor: pointer; font-size: 22px; line-height: 1; }
.drawer-body { flex: 1; overflow: auto; padding: 4px 24px 24px; overscroll-behavior: contain; }
.cart-row { display: flex; gap: 14px; justify-content: space-between; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-row .t { font-weight: 600; font-size: 15px; line-height: 1.3; }
.cart-row .p { font-weight: 700; white-space: nowrap; }
.cart-row .rm { border: 0; background: none; color: var(--danger); cursor: pointer; font-size: 13px; padding: 4px 0 0; }
.total { display: flex; justify-content: space-between; font-size: 22px; font-weight: 700; margin: 22px 0 20px; letter-spacing: -.02em; }

/* ---------- Контакты и подвал ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.contact-grid .card p, .contact-grid .card a.val { font-size: 21px; font-weight: 600; color: var(--text); letter-spacing: -.02em; line-height: 1.25; }
.contact-grid .card .k { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--muted); margin-bottom: 12px; }
footer { border-top: 1px solid var(--line); padding: 36px 0 56px; color: var(--muted); font-size: 13px; }
footer .wrap { display: grid; gap: 14px; }
footer .links { display: flex; gap: 22px; flex-wrap: wrap; }
footer .links a:hover { color: var(--text); }
footer .warn { font-weight: 600; color: var(--text); }

/* ---------- Toast ---------- */
.toast { position: fixed; z-index: 120; left: 50%; bottom: 28px; transform: translate(-50%, 140%); background: var(--text); color: var(--bg); padding: 14px 22px; border-radius: 980px; font-weight: 600; box-shadow: var(--shadow-l); transition: transform .5s var(--ease); max-width: calc(100% - 32px); text-align: center; }
.toast.show { transform: translate(-50%, 0); }

/* ---------- Появление при прокрутке ---------- */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.no-js .rv { opacity: 1; transform: none; }

/* ---------- Адаптивность ---------- */
@media (max-width: 960px) {
  .grid.c3, .steps, .contact-grid { grid-template-columns: 1fr; }
  .split, .split.wide { grid-template-columns: 1fr; }
  .panel-art { order: -1; aspect-ratio: 16/10; }
  .nav-phone { display: none; }
}
@media (max-width: 760px) {
  .wrap { width: min(var(--wrap), 100% - 32px); }
  .choice, .promo, .grid.c2, .row { grid-template-columns: 1fr; }
  .tile { min-height: 360px; }
  .tile .art { width: 52%; right: -4%; bottom: -2%; opacity: .45; }
  .tile > div:first-child { max-width: 100%; }
  .burger { display: block; }
  .nav .wrap { gap: 10px; }
  .nav-links {
    position: fixed; inset: 56px 0 auto 0; flex-direction: column; margin: 0; padding: 12px 16px 28px; gap: 2px;
    background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-l);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .3s, transform .4s var(--ease);
  }
  .menu-open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { font-size: 22px; font-weight: 600; color: var(--text); padding: 14px 12px; border-radius: 14px; }
  .nav-spacer { display: block; }
  .btn { width: 100%; }
  .hero-actions .btn { flex: 1 1 100%; }
  .drawer { width: 100%; }
  .toast { bottom: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .rv { opacity: 1; transform: none; }
}
@media print { .nav, .drawer, .scrim, .toast { display: none !important; } }

/* ---------- Шапка-баннер с фото (главная) ---------- */
.mh-wrap { margin-top: clamp(14px, 2vw, 24px); }
.masthead { padding: 0; position: relative; height: clamp(540px, 46vw, 600px); border-radius: var(--r-xl); overflow: hidden; display: flex; flex-direction: column; background: #e9f1f8; box-shadow: var(--shadow-l); isolation: isolate; }
.mh-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; z-index: -1; }
/* прозрачное «матовое стекло» вместо серой плашки */
.mh-bar { position: relative; color: #14181f; padding: clamp(16px, 2.2vw, 26px) 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .30), rgba(255, 255, 255, .08));
  -webkit-backdrop-filter: saturate(150%) blur(5px); backdrop-filter: saturate(150%) blur(5px);
  border-bottom: 1px solid rgba(255, 255, 255, .5); }
.mh-bar .mh-title, .mh-bar .mh-lic, .mh-bar .mh-contacts, .mh-bar .mh-k { text-shadow: 0 0 14px rgba(255, 255, 255, .9), 0 0 3px rgba(255, 255, 255, .8); }
.mh-in { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; padding-inline: clamp(18px, 2.8vw, 36px); }
.mh-id { display: flex; align-items: center; gap: 16px; min-width: 0; flex-wrap: wrap; }
.mh-logo { width: clamp(56px, 6vw, 76px); height: clamp(56px, 6vw, 76px); border-radius: 18px; background: #fff; box-shadow: 0 6px 22px rgba(30, 60, 100, .18), 0 0 0 1px rgba(0, 0, 0, .05); flex: none; }
.mh-kdl { display: flex; align-items: center; height: clamp(56px, 6vw, 76px); padding: 0 14px; border-radius: 18px; background: #fff; box-shadow: 0 6px 22px rgba(30, 60, 100, .18), 0 0 0 1px rgba(0, 0, 0, .05); }
.mh-kdl[hidden] { display: none; }
.mh-kdl img { height: clamp(28px, 3.2vw, 40px); width: auto; }
.mh-title { font-size: clamp(24px, 3vw, 38px); font-weight: 700; letter-spacing: -.025em; line-height: 1.05; }
.mh-lic { display: inline-block; margin-top: 6px; font-size: clamp(12.5px, 1.25vw, 16px); color: #26292f; font-weight: 500; line-height: 1.3; }
a.mh-lic:hover { text-decoration: underline; text-underline-offset: 3px; }
.mh-contacts { display: grid; gap: 2px; text-align: right; font-size: clamp(15px, 1.5vw, 18px); font-weight: 600; }
.mh-contacts a { color: #14181f; }
.mh-contacts a:hover { color: var(--brand-ink); }
.mh-k { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #3a3d44; margin-bottom: 4px; }
/* лицензия на фото */
.lic-card { position: absolute; left: clamp(18px, 3vw, 40px); bottom: clamp(18px, 3vw, 36px); width: clamp(104px, 12vw, 148px); transition: transform .4s var(--ease), box-shadow .4s; border-radius: 10px; background: #fff; box-shadow: 0 14px 40px rgba(20, 40, 70, .3), 0 0 0 1px rgba(0, 0, 0, .06); }
.lic-card img { width: 100%; height: auto; border-radius: 10px; }
.lic-card span { position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: 12.5px; font-weight: 600; padding: 5px 14px; border-radius: 980px; box-shadow: 0 6px 16px rgba(0, 0, 0, .25); white-space: nowrap; }
.lic-card:hover { transform: translateY(-6px) scale(1.04); }
@media (max-width: 960px) {
  .masthead { height: 560px; }
  .mh-contacts { display: flex; flex-wrap: wrap; gap: 2px 22px; width: 100%; text-align: left; }
  .mh-k { width: 100%; margin-bottom: 0; }
}
@media (max-width: 760px) {
  .mh-wrap { width: calc(100% - 24px); }
  .masthead { height: 620px; border-radius: 24px; }
  .mh-in { flex-direction: column; align-items: flex-start; gap: 12px; }
  .mh-contacts { text-align: left; }
  .mh-img { object-position: 78% top; }
  .lic-card { width: 100px; }
}

/* ---------- Просмотр документа ---------- */
.lb { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; background: rgba(15, 20, 30, .62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; pointer-events: none; transition: opacity .3s; }
.lb.open { opacity: 1; pointer-events: auto; }
.lb-box { position: relative; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lb-box img { max-height: calc(100vh - 120px); max-width: min(92vw, 720px); width: auto; height: auto; border-radius: 12px; background: #fff; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lb-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.lb-actions .btn { min-height: 44px; font-size: 16px; width: auto; }
.lb-x { position: absolute; top: -14px; right: -14px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #fff; color: #1d1d1f; font-size: 22px; cursor: pointer; box-shadow: 0 8px 24px rgba(0, 0, 0, .3); }

/* ---------- Страница лицензии ---------- */
.kv-card { padding: 8px clamp(20px, 3vw, 32px); }
.kv { display: grid; grid-template-columns: 220px 1fr; gap: 6px 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.kv:last-child { border-bottom: 0; }
.kv-k { color: var(--muted); font-size: 15px; }
.kv-v { font-size: 17px; font-weight: 500; line-height: 1.4; }
.doc { display: block; border-radius: var(--r-md); overflow: hidden; background: #fff; box-shadow: var(--shadow-l); transition: transform .4s var(--ease); }
.doc:hover { transform: translateY(-4px); }
.doc img { width: 100%; height: auto; }
@media (max-width: 760px) { .kv { grid-template-columns: 1fr; gap: 4px; } }

.tile .kicker { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.kdl-chip { display: inline-flex; align-items: center; background: #fff; border-radius: 10px; padding: 5px 10px; opacity: 1; }
.kdl-chip[hidden] { display: none; }
.kdl-chip img { display: block; height: 22px; width: auto; }
.tile .kicker { opacity: 1; color: rgba(255,255,255,.82); flex-wrap: nowrap; white-space: nowrap; gap: 12px; }
.tile > div:first-child:has(.kdl-chip) { max-width: 100%; }
.tile.a h2, .tile.a p { max-width: min(68%, 21em); }
@media (max-width: 420px) { .tile .kicker { white-space: normal; flex-wrap: wrap; } }

/* реалистичные колбы и весы: ожидающая анимация */
.tile .art { opacity: 1; max-width: 340px; width: 52%; filter: drop-shadow(0 14px 22px rgba(0,0,0,.28)); }
.tile .art-law { max-width: 340px; width: 49%; right: 2%; }
.tile:hover .art-lab .fl-a { transform: translateY(-4px); }
.art-lab .fl-a, .art-lab .fl-b { transition: transform .8s var(--ease); }
.tile:hover .art-lab .fl-b { transform: translate(212px,118px) scale(.68) rotate(3deg); }
.art-lab .liq { animation: liq 4.5s ease-in-out infinite; }
.art-lab .liq2 { animation-duration: 5.5s; animation-delay: -1.5s; }
@keyframes liq { 0%,100% { transform: translateX(-14px); } 50% { transform: translateX(14px); } }
.art-lab .bub { animation: bub 4.2s ease-in infinite; }
.art-lab .b2 { animation-delay: -1.4s; animation-duration: 3.6s; }
.art-lab .b3 { animation-delay: -2.6s; animation-duration: 4.8s; }
@keyframes bub { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: .8; } 100% { transform: translateY(-46px); opacity: 0; } }
.art-law .beam { animation: beam 6s ease-in-out infinite alternate; }
.art-law .pan.pl { animation: panl 6s ease-in-out infinite alternate; }
.art-law .pan.pr { animation: panr 6s ease-in-out infinite alternate; }
@keyframes beam { from { transform: rotate(-3deg); } to { transform: rotate(3deg); } }
@keyframes panl { from { transform: rotate(3deg); } to { transform: rotate(-3deg); } }
@keyframes panr { from { transform: rotate(3deg); } to { transform: rotate(-3deg); } }
.tile:hover .art-law .beam, .tile:hover .art-law .pan { animation-duration: 3s; }
@media (max-width: 760px) { .tile .art { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .art-lab .liq, .art-lab .bub, .art-law .beam, .art-law .pan { animation: none; } }

/* ---------- три главные карточки ---------- */
.choice.three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.choice.three .tile { min-height: 560px; }
.choice.three .tile > div:first-child, .choice.three .tile.a > div:first-child { max-width: 100%; }
.choice.three .tile h2 { font-size: clamp(26px, 2.7vw, 36px); max-width: none; }
.choice.three .tile p { font-size: 16px; max-width: none; }
.choice.three .tile .art { width: 58%; max-width: 230px; right: 4%; bottom: 92px; }
.choice.three .tile .art-iv { width: 62%; max-width: 250px; right: 2%; }
.choice.three .tile .art-law { width: 56%; right: 3%; }
.tile.c { background: linear-gradient(150deg, #1fb5ae 0%, #108a8d 45%, #07454f 100%); }
.tile-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; font-size: 16px; line-height: 1.3; max-width: 17em; }
.tile-list li { position: relative; padding-left: 20px; opacity: .95; }
.tile-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: #7fe0d9; box-shadow: 0 0 0 3px rgba(127, 224, 217, .25); }
.kdl-chip.mx-chip { padding: 5px 8px; }
.kdl-chip.mx-chip img { height: 30px; }
.art-iv .iv-liq { animation: liq 4.5s ease-in-out infinite; }
.art-iv .iv-bub { animation: bub 4s ease-in infinite; }
.art-iv .ib2 { animation-delay: -1.6s; animation-duration: 3.4s; }
.art-iv .iv-drop { animation: ivdrop 1.8s ease-in infinite; }
@keyframes ivdrop { 0% { transform: translateY(-8px); opacity: 0; } 20% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateY(42px); opacity: 0; } }
.art-iv .syringe { transform-box: fill-box; transition: transform .8s var(--ease); }
.tile:hover .art-iv .syringe { transform: translate(206px, 250px) rotate(-30deg); }
@media (max-width: 1040px) { .choice.three { grid-template-columns: 1fr 1fr; } .choice.three .tile.c { grid-column: 1 / -1; min-height: 460px; } }
@media (max-width: 760px) { .choice.three { grid-template-columns: 1fr; } .choice.three .tile, .choice.three .tile.c { min-height: 440px; } .choice.three .tile .art { bottom: 84px; opacity: .6; } }
@media (prefers-reduced-motion: reduce) { .art-iv .iv-liq, .art-iv .iv-bub, .art-iv .iv-drop { animation: none; } }
.choice.three .tile { min-height: 640px; }
.choice.three .tile .kicker { min-height: 40px; flex-wrap: wrap; white-space: normal; row-gap: 6px; }
.kdl-chip img { flex: none; max-width: none; }
.choice.three .tile .art { bottom: 100px; }
.choice.three .tile .art-law { width: 50%; }
@media (max-width: 1040px) { .choice.three .tile { min-height: 520px; } .choice.three .tile .art { bottom: 90px; } }
@media (max-width: 760px) { .choice.three .tile, .choice.three .tile.c { min-height: 520px; } }

/* ---------- выбор свободного времени и защита формы ---------- */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; }
.slots .note { margin: 0; grid-column: 1 / -1; }
.slot { height: 44px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface); font-weight: 600; font-size: 15px; cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .15s var(--ease); font-variant-numeric: tabular-nums; }
.slot:hover:not(:disabled) { border-color: var(--brand); color: var(--brand); }
.slot:active:not(:disabled) { transform: scale(.95); }
.slot[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 6px 16px color-mix(in srgb, var(--brand) 30%, transparent); }
.slot:disabled { opacity: .4; text-decoration: line-through; cursor: not-allowed; background: var(--surface-2); }

/* ---------- бегущая строка ---------- */
.tk { overflow: hidden; margin: clamp(16px, 2.4vw, 28px) 0 0; background: rgba(255,255,255,.72); -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px); border-block: 1px solid var(--line); position: relative; }
.tk::before, .tk::after { content: ""; position: absolute; inset-block: 0; width: 56px; z-index: 2; pointer-events: none; }
.tk::before { left: 0; background: linear-gradient(90deg, var(--bg, #fbfbfd), transparent); }
.tk::after { right: 0; background: linear-gradient(270deg, var(--bg, #fbfbfd), transparent); }
.tk-track { display: flex; align-items: center; width: max-content; animation: tk 55s linear infinite; }
.tk:hover .tk-track, .tk:focus-within .tk-track { animation-play-state: paused; }
.tk-i { display: inline-flex; align-items: center; padding: 15px 22px; font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #1d1d1f; white-space: nowrap; transition: color .2s, transform .2s var(--ease); }
.tk-i:hover { color: var(--brand); transform: translateY(-1px); }
.tk-i.accent { color: #fff; background: var(--brand); border-radius: 980px; padding: 7px 16px; margin: 0 6px; box-shadow: 0 6px 16px color-mix(in srgb, var(--brand) 30%, transparent); }
.tk-i.accent:hover { color: #fff; filter: brightness(1.08); }
.tk-d { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--teal, #1fb5ae); opacity: .8; }
@keyframes tk { to { transform: translateX(-33.3333%); } }
@media (prefers-reduced-motion: reduce) { .tk { overflow-x: auto; } .tk-track { animation: none; } }

/* ---------- карточки: логотипы ---------- */
.tile .kdl-chip.mx-chip { margin-right: 2px; }
.tile-logo-tr { position: absolute; top: clamp(20px, 2.6vw, 32px); right: clamp(20px, 2.6vw, 32px); z-index: 2; box-shadow: 0 6px 18px rgba(0,0,0,.25); border-radius: 14px; padding: 6px 8px; }
.tile-logo-tr img { height: 44px; }

/* ---------- титульник экспертизы ---------- */
.masthead.exp .mh-logo-tr { position: absolute; top: clamp(16px, 2.2vw, 26px); right: clamp(18px, 2.8vw, 36px); z-index: 3; width: clamp(60px, 6.5vw, 84px); height: clamp(60px, 6.5vw, 84px); border-radius: 20px; background: #fff; padding: 6px; box-shadow: 0 6px 22px rgba(30, 60, 100, .22), 0 0 0 1px rgba(0,0,0,.05); }
.masthead.exp .mh-logo-tr img { width: 100%; height: 100%; object-fit: contain; border-radius: 14px; }
.masthead.exp .mh-contacts { margin-right: clamp(72px, 8vw, 104px); }
.exp-hero { padding-bottom: 0; }
@media (max-width: 760px) { .masthead.exp .mh-contacts { margin-right: 0; } .masthead.exp .mh-in { padding-right: 84px; } }

/* ---------- согласие, ссылки, ошибка ---------- */
.consent a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.consent input[aria-invalid="true"] { outline: 2px solid #d70015; outline-offset: 2px; }
.promo-card { background: linear-gradient(150deg, color-mix(in srgb, var(--brand) 9%, #fff), #fff); }

/* ---------- политика ---------- */
.pol { grid-template-columns: minmax(0, 1fr) 300px; }
.pol-body { padding: clamp(22px, 3.4vw, 44px); }
.pol-sec { margin-bottom: 34px; scroll-margin-top: 90px; }
.pol-sec h2 { font-size: clamp(20px, 2.2vw, 26px); margin: 0 0 14px; letter-spacing: -.01em; }
.pol-sec p { font-size: 15.5px; line-height: 1.55; margin: 0 0 10px; color: #333336; }
.tbl-wrap { overflow-x: auto; margin: 6px 0 14px; border-radius: 14px; border: 1px solid var(--line); }
.pol-table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 14px; line-height: 1.45; }
.pol-table th { text-align: left; background: var(--surface-2); padding: 12px 14px; font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; }
.pol-table td { vertical-align: top; padding: 12px 14px; border-top: 1px solid var(--line); }
.pol-toc { position: sticky; top: 88px; }
.pol-toc ol { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 8px; font-size: 14.5px; }
.pol-toc a { color: var(--ink); } .pol-toc a:hover { color: var(--brand); }
@media (max-width: 900px) { .pol { grid-template-columns: 1fr; } .pol-toc { position: static; order: -1; } }

/* ---------- выбор города ---------- */
.cty { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; background: rgba(10, 14, 24, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity .3s; }
.cty.open { opacity: 1; }
.cty-box { width: min(440px, 100%); background: var(--surface, #fff); border-radius: 28px; padding: 32px 28px 26px; text-align: center; box-shadow: 0 30px 80px rgba(0,0,0,.35); transform: translateY(14px) scale(.97); transition: transform .4s var(--ease); }
.cty.open .cty-box { transform: none; }
.cty-ic { font-size: 44px; line-height: 1; margin-bottom: 12px; }
.cty-box h3 { font-size: 24px; line-height: 1.2; margin: 0 0 10px; }
.cty-box p { color: var(--muted); font-size: 15.5px; line-height: 1.45; margin: 0 0 18px; }
.cty-act { display: grid; gap: 10px; margin-top: 18px; }
.cty-box .field { text-align: left; }

/* ---------- cookie ---------- */
.ckb { position: fixed; z-index: 150; left: 16px; bottom: 16px; width: min(560px, calc(100% - 32px)); display: flex; gap: 16px; align-items: center; padding: 16px 18px; border-radius: 20px; background: rgba(255,255,255,.92); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); box-shadow: 0 14px 44px rgba(0,0,0,.2), 0 0 0 1px rgba(0,0,0,.06); transform: translateY(30px); opacity: 0; transition: transform .45s var(--ease), opacity .45s; }
.ckb.show { transform: none; opacity: 1; }
.ckb p { margin: 0; font-size: 13.5px; line-height: 1.4; color: #333336; }
.ckb a { color: var(--brand); text-decoration: underline; }
.ckb .btn { flex: none; padding: 10px 20px; min-height: 0; }
@media (max-width: 560px) { .ckb { flex-direction: column; align-items: stretch; } }
.pol > * { min-width: 0; } .pol-table { min-width: 560px; }

/* ---------- формы 2.0 ---------- */
.field { position: relative; }
.fe { max-height: 0; overflow: hidden; color: var(--danger); font-size: 13.5px; line-height: 1.35; margin: 0 0 0 4px; opacity: 0; transition: max-height .25s, opacity .25s, margin .25s; }
.has-err > .fe { max-height: 60px; opacity: 1; margin-top: 6px; }
.consent.has-err { color: var(--danger); } .consent .fe { flex-basis: 100%; }
.consent.has-err { flex-wrap: wrap; }
.field.is-ok .input:not(:focus) { border-color: color-mix(in srgb, var(--ok, #1f9d55) 55%, transparent); }
.field.is-ok::after { content: ""; position: absolute; right: 16px; top: 42px; width: 18px; height: 18px; border-radius: 50%; background: var(--ok, #1f9d55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; animation: pop .3s var(--ease); pointer-events: none; }
.field.is-ok select.input + .fe, .field.is-ok:has(select)::after, .field.is-ok:has(textarea)::after { display: none; }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
.input[aria-invalid="true"] { border-color: var(--danger); background: color-mix(in srgb, var(--danger) 5%, var(--surface-2)); animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.cnt-l { text-align: right; font-size: 12px; color: var(--muted); margin: 4px 6px 0 0; font-variant-numeric: tabular-nums; }
.spin { display: inline-block; width: 15px; height: 15px; margin-right: 9px; border: 2.2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; vertical-align: -2px; animation: spn .7s linear infinite; }
@keyframes spn { to { transform: rotate(360deg); } }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 4px; }
.seg-i { display: grid; gap: 2px; justify-items: center; text-align: center; padding: 14px 8px; border: 1.5px solid var(--line); border-radius: 16px; background: var(--surface-2); cursor: pointer; transition: border-color .2s, background .2s, transform .15s var(--ease), box-shadow .2s; font: inherit; color: inherit; }
.seg-i .seg-e { font-size: 24px; line-height: 1.1; } .seg-i b { font-size: 14px; } .seg-i small { font-size: 12px; color: var(--muted); }
.seg-i:hover { border-color: var(--brand); } .seg-i:active { transform: scale(.97); }
.seg-i[aria-pressed="true"] { background: color-mix(in srgb, var(--brand) 10%, var(--surface)); border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 16%, transparent); }
.seg-hidden { position: absolute !important; opacity: 0; pointer-events: none; height: 1px; min-height: 0 !important; padding: 0 !important; border: 0 !important; }
.dchips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.dchip { border: 1.5px solid var(--line); background: var(--surface-2); border-radius: 980px; padding: 8px 16px; font-size: 14px; font-weight: 600; cursor: pointer; font-family: inherit; color: inherit; transition: background .2s, border-color .2s, color .2s; }
.dchip:hover { border-color: var(--brand); }
.dchip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.success svg circle, .success svg path { stroke-dasharray: 80; stroke-dashoffset: 80; animation: draw .7s .1s ease forwards; }
.success svg path { animation-delay: .5s; animation-duration: .45s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (max-width: 480px) { .seg { grid-template-columns: 1fr; } .seg-i { grid-template-columns: 34px 1fr auto; justify-items: start; align-items: center; text-align: left; gap: 8px; padding: 12px 14px; } }
@media (prefers-reduced-motion: reduce) { .input[aria-invalid="true"], .success svg circle, .success svg path { animation: none; stroke-dashoffset: 0; } }
.field:has(.dchips)::after, .field:has(.seg)::after { display: none; }

/* ---------- поля ввода: всегда видны ---------- */
.input, select.input, textarea.input { background: #fff; border: 1.5px solid #c4c8d0; box-shadow: inset 0 1px 2px rgba(0,0,0,.04); }
.input:hover { border-color: #9aa0ac; }
.input::placeholder, textarea.input::placeholder { color: #8a8f99; opacity: 1; }
.input:focus { background: #fff; border-color: var(--brand); }
.input[aria-invalid="true"] { background: color-mix(in srgb, var(--danger) 5%, #fff); }
input[type=date].input { min-width: 0; -webkit-appearance: none; appearance: none; text-align: left; }
input[type=date].input::-webkit-date-and-time-value { text-align: left; }
.maplinks { display: flex; flex-wrap: wrap; gap: 8px; }
.maplinks a { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border-radius: 980px; background: color-mix(in srgb, var(--brand) 9%, #fff); color: var(--brand); font-weight: 600; font-size: 15px; transition: background .2s, color .2s, transform .15s var(--ease); }
.maplinks a:hover { background: var(--brand); color: #fff; } .maplinks a:active { transform: scale(.96); }

/* ---------- адаптивность: мелочи ---------- */
.contact-grid > * { min-width: 0; }
.contact-grid .card a.val, .contact-grid .card p { overflow-wrap: anywhere; }
@media (max-width: 380px) { .contact-grid .card p, .contact-grid .card a.val { font-size: 18px; } .card { padding: 22px 18px; } }
@media (pointer: coarse) {
  .contact-grid a, .mh-contacts a, footer .links a, .pol-toc a, .aside-list a, .mh-lic, .consent a, .link-arrow { display: inline-flex; align-items: center; min-height: 44px; }
  .consent a { min-height: 0; display: inline; }
  .pol-toc ol { gap: 2px; }
}
@media (max-width: 640px) {
  .tbl-wrap { border: 0; overflow: visible; }
  .pol-table { min-width: 0; display: block; }
  .pol-table thead { display: none; }
  .pol-table tbody, .pol-table tr, .pol-table td { display: block; }
  .pol-table tr { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; background: var(--surface); overflow: hidden; }
  .pol-table td { border-top: 0; padding: 8px 14px; }
  .pol-table td:first-child { background: var(--surface-2); font-weight: 600; }
  .pol-table td:nth-child(2)::before, .pol-table td:nth-child(3)::before { display: block; font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; margin-bottom: 2px; }
  .pol-table td:nth-child(2)::before { content: "Категории данных"; }
  .pol-table td:nth-child(3)::before { content: "Основание"; }
}
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
img { max-width: 100%; height: auto; }
button, [role=button], a.btn { touch-action: manipulation; }
.split > *, .grid > *, .form-card, .form-card form, .field { min-width: 0; }
.input { max-width: 100%; }
@media (max-width: 380px) { .form-card { padding: 22px 16px; } .seg-i b { font-size: 13.5px; } .dchip { padding: 8px 12px; } }
.aside-list li { min-width: 0; } .aside-list span, .aside-list a { min-width: 0; overflow-wrap: anywhere; }
@media (pointer: coarse) { .aside-list a { display: inline; min-height: 0; } }
.pol-body, .pol-toc { overflow-wrap: anywhere; } .pol-body { min-width: 0; }

/* ---------- каталог анализов ---------- */
.filters { display: flex; gap: 14px 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 8px; }
.selects { display: flex; gap: 10px; flex-wrap: wrap; flex: 1 1 360px; justify-content: flex-end; }
.input.sm { min-height: 42px; height: 42px; padding: 0 40px 0 16px; border-radius: 980px; font-size: 15px; width: auto; max-width: 100%; flex: 1 1 180px; }
select.input.sm { background-position: right 14px center; text-overflow: ellipsis; }
.cat-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 28px; margin: 0 4px 16px; }
.cat-count { color: var(--muted); font-size: 15px; font-weight: 500; }
.reset { background: none; border: 0; cursor: pointer; font-family: inherit; font-size: 15px; }
.more-wrap { display: flex; justify-content: center; margin: 28px 0 8px; }
.test .code { line-height: 1.35; }
.promos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 18px; margin-top: 40px; }
.pm { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-s); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.pm:hover { transform: translateY(-4px); box-shadow: var(--shadow-l); }
.pm-b { align-self: flex-start; padding: 6px 14px; border-radius: 980px; background: color-mix(in srgb, var(--brand) 12%, #fff); color: var(--brand); font-weight: 700; font-size: 17px; letter-spacing: -.01em; }
.pm h3 { font-size: 21px; line-height: 1.2; }
.pm p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.45; }
.pm-until { margin-top: auto; padding-top: 6px; font-size: 13px; color: var(--muted); font-weight: 600; }
.pm.own { background: linear-gradient(150deg, #d82b73 0%, #8f1349 100%); color: #fff; }
.pm.own .pm-b { background: #fff; } .pm.own p, .pm.own .pm-until { color: rgba(255,255,255,.85); } .pm.own h3 { color: #fff; }
.checkup-list .test .code { min-height: 2.7em; }
@media (max-width: 640px) { .selects { justify-content: stretch; } .input.sm { flex: 1 1 100%; } .filters { align-items: stretch; } }
.selects { min-width: 0; max-width: 100%; } .filters > * { min-width: 0; max-width: 100%; }
.input.sm { min-width: 0; width: 100%; flex: 1 1 200px; }
@media (min-width: 900px) { .input.sm { width: auto; } }

/* ===== /analizy/ 2.0 ===== */
.an-hero { padding: 120px 0 28px; }
.an-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; margin-bottom: 28px; }
.an-top h1 { font-size: clamp(36px, 6vw, 64px); letter-spacing: -.035em; line-height: 1.05; margin: 6px 0 0; }
.an-facts { list-style: none; display: flex; gap: 12px; margin: 0; padding: 0; flex-wrap: wrap; }
.an-facts li { display: flex; flex-direction: column; gap: 2px; padding: 14px 18px; background: var(--surface); border-radius: var(--r-md); box-shadow: var(--shadow-s); min-width: 0; }
.an-facts b { font-size: 22px; letter-spacing: -.02em; color: var(--brand); }
.an-facts span { font-size: 13px; color: var(--muted); max-width: 150px; line-height: 1.3; }
.search.big { position: relative; display: flex; align-items: center; gap: 12px; height: 64px; padding: 0 20px; border-radius: 980px; background: var(--surface); box-shadow: var(--shadow-l); max-width: none; width: 100%; }
.search.big svg { position: static; transform: none; width: 24px; height: 24px; flex: none; color: var(--brand); }
.search.big input { box-shadow: none !important; border-radius: 0 !important; padding: 0 !important; width: auto; flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; font: inherit; font-size: 18px; color: var(--text); outline: 0; }
.search.big:focus-within { box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 35%, transparent), var(--shadow-l); }
.search-x { flex: none; width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--surface-2); font-size: 22px; line-height: 1; cursor: pointer; color: var(--muted); }
.search-x[hidden] { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.sl-sec { padding: 12px 0 8px; }
.sl { position: relative; }
.sl-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; border-radius: var(--r-xl); }
.sl-track::-webkit-scrollbar { display: none; }
.sl-s { position: relative; flex: 0 0 calc(50% - 8px); scroll-snap-align: start; min-height: 280px; display: flex; align-items: stretch; justify-content: space-between; overflow: hidden; border-radius: var(--r-xl); color: #fff; isolation: isolate; }
.sl-s.pink { background: linear-gradient(135deg, #e0337c, #a3144f); }
.sl-s.violet { background: linear-gradient(135deg, #7c4dff, #4527a0); }
.sl-s.teal { background: linear-gradient(135deg, #2bb3ab, #137a86); }
.sl-s.navy { background: linear-gradient(135deg, #2a3b6e, #0a0f1f); }
.sl-s.rose { background: linear-gradient(135deg, #ff7a8a, #c2255c); }
.sl-body { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 32px 0 32px 34px; max-width: 62%; min-width: 0; }
.sl-badge { display: inline-block; padding: 6px 14px; border-radius: 980px; background: #fff; color: var(--brand-ink); font-weight: 800; font-size: 18px; letter-spacing: -.01em; }
.sl-s h3 { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.12; letter-spacing: -.02em; color: #fff; margin: 0; text-transform: none; }
.sl-s p { margin: 0; font-size: 15.5px; line-height: 1.45; color: rgba(255,255,255,.9); }
.sl-btn { margin-top: auto; height: 44px; padding: 0 22px; border: 0; border-radius: 980px; background: #fff; color: #1d1d1f; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; transition: transform .2s; }
.sl-btn:hover { transform: translateY(-2px); } .sl-btn:active { transform: scale(.96); }
.sl-art { position: absolute; right: 0; top: 0; bottom: 0; width: 46%; z-index: 1; display: grid; place-items: center; }
.sl-art i { position: absolute; border-radius: 50%; background: rgba(255,255,255,.14); animation: slf 7s ease-in-out infinite; }
.sl-art i:nth-child(1) { width: 210px; height: 210px; right: -50px; top: -50px; }
.sl-art i:nth-child(2) { width: 130px; height: 130px; right: 70px; bottom: -40px; animation-delay: -2s; background: rgba(255,255,255,.10); }
.sl-art i:nth-child(3) { width: 70px; height: 70px; right: 150px; top: 40px; animation-delay: -4s; }
.sl-art svg { position: relative; width: 96px; height: 96px; color: #fff; filter: drop-shadow(0 8px 18px rgba(0,0,0,.22)); }
@keyframes slf { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(10px) scale(1.06); } }
.sl-nav { position: absolute; top: 50%; translate: 0 -50%; z-index: 5; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255,255,255,.95); box-shadow: var(--shadow-l); cursor: pointer; display: grid; place-items: center; color: var(--text); }
.sl-nav svg { width: 20px; height: 20px; } .sl-nav.prev { left: -12px; } .sl-nav.next { right: -12px; }
.sl-dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.sl-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 99px; background: rgba(0,0,0,.18); cursor: pointer; transition: width .3s, background .3s; }
.sl-dots button[aria-current="true"] { width: 28px; background: var(--brand); }

.sec-h { font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -.03em; margin: 56px 0 24px; text-transform: none; }
.pop { display: grid; grid-template-columns: 1.35fr 1fr; gap: 18px; align-items: stretch; }
.pop-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tp { position: relative; display: grid; grid-template-columns: 48px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; text-align: left; padding: 16px 40px 16px 16px; border: 0; border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-s); cursor: pointer; font: inherit; color: var(--text); min-width: 0; transition: transform .3s var(--ease), box-shadow .3s; }
.tp:hover { transform: translateY(-3px); box-shadow: var(--shadow-l); }
.tp-i { grid-row: 1 / 3; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--brand) 11%, #fff); color: var(--brand); }
.tp-i svg { width: 26px; height: 26px; }
.tp-t { font-weight: 700; font-size: 15.5px; line-height: 1.2; letter-spacing: -.01em; }
.tp-n { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.tp-go { position: absolute; right: 14px; top: 50%; translate: 0 -50%; width: 18px; color: var(--muted); transition: transform .3s, color .3s; }
.tp:hover .tp-go { transform: translateX(3px); color: var(--brand); }
.pop-big { position: relative; display: flex; min-height: 300px; border-radius: var(--r-xl); overflow: hidden; color: #fff; text-decoration: none; background: linear-gradient(145deg, #2bb3ab, #0e5f73 70%, #0a0f1f); isolation: isolate; box-shadow: var(--shadow-s); transition: transform .35s var(--ease), box-shadow .35s; }
.pop-big:hover { transform: translateY(-4px); box-shadow: var(--shadow-l); }
.pop-big-in { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 32px; max-width: 70%; }
.pop-big h3 { color: #fff; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.1; letter-spacing: -.025em; margin: 0; text-transform: none; }
.pop-big p { margin: 0; color: rgba(255,255,255,.9); font-size: 15.5px; line-height: 1.45; }
.pop-cnt { font-size: 13px; font-weight: 700; color: #fff; opacity: .85; }
.pop-big .btn { margin-top: auto; background: #fff; color: #1d1d1f; }
.sl-art.big { width: 55%; } .sl-art.big svg { width: 130px; height: 130px; opacity: .95; }

.cat-sec .sec-h { margin-top: 64px; }
.filters-bar { position: sticky; top: 56px; z-index: 20; display: flex; gap: 12px 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 12px 14px; margin-bottom: 14px; border-radius: 22px; background: var(--nav-bg); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); box-shadow: var(--shadow-s); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; min-width: 0; }
.filters-bar .chip { box-shadow: none; background: var(--surface-2); }
.filters-bar .chip[aria-pressed="true"] { background: var(--brand); color: #fff; }
.tpick { display: inline-block; padding: 4px 12px; margin-right: 6px; border-radius: 980px; background: var(--brand); color: #fff; font-weight: 700; font-size: 13px; cursor: pointer; }
.tpick::after { content: " ×"; }

.catalog { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.test { position: relative; gap: 10px; padding: 20px; border-radius: 20px; border: 1px solid transparent; }
.test::before { content: ""; position: absolute; left: 0; top: 20px; bottom: 20px; width: 4px; border-radius: 0 4px 4px 0; background: var(--teal); }
.test.is-complex::before { background: var(--brand); }
.test:hover { border-color: color-mix(in srgb, var(--brand) 25%, transparent); }
.t-top { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pill { padding: 4px 10px; border-radius: 980px; font-size: 11.5px; font-weight: 700; letter-spacing: .02em; }
.pill.ts { background: color-mix(in srgb, var(--teal) 16%, #fff); color: #0f6f69; }
.pill.cx { background: color-mix(in srgb, var(--brand) 12%, #fff); color: var(--brand-ink); }
.pill.ck { background: #fff3d6; color: #8a5a00; }
.t-code { margin-left: auto; font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.test h3 { font-size: 17px; line-height: 1.28; letter-spacing: -.01em; overflow-wrap: anywhere; }
.t-cats { display: flex; gap: 6px; flex-wrap: wrap; }
.t-cats span { font-size: 12px; color: var(--muted); background: var(--surface-2); padding: 3px 9px; border-radius: 8px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.t-info { min-width: 0; }
.test .price { font-size: 24px; font-weight: 800; letter-spacing: -.03em; white-space: nowrap; }
.t-time { display: flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.t-time svg { width: 14px; height: 14px; flex: none; }
.test .add { all: unset; box-sizing: border-box; display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 16px; border-radius: 980px; background: var(--brand); color: #fff; font-weight: 700; font-size: 14.5px; cursor: pointer; flex: none; transition: transform .2s, background .2s; }
.test .add svg { width: 17px; height: 17px; }
.test .add:hover { background: var(--brand-ink); } .test .add:active { transform: scale(.94); }
.test .add:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 40%, transparent); outline-offset: 2px; }
.test .add[aria-pressed="true"] { background: var(--ok); }

.cart-fab { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: none; align-items: center; gap: 10px; height: 56px; padding: 0 20px 0 8px; border: 0; border-radius: 980px; background: var(--text); color: #fff; font: inherit; font-weight: 600; box-shadow: var(--shadow-l); cursor: pointer; }
.cart-fab.show { display: inline-flex; animation: fabin .35s var(--ease); }
.fab-n { display: grid; place-items: center; min-width: 40px; height: 40px; border-radius: 50%; background: var(--brand); font-weight: 800; }
.cart-fab b { font-weight: 800; }
@keyframes fabin { from { transform: translateY(30px); opacity: 0; } }

@media (max-width: 900px) {
  .an-hero { padding-top: 96px; }
  .sl-s { flex-basis: 100%; min-height: 250px; }
  .sl-nav { display: none; }
  .pop { grid-template-columns: 1fr; }
  .pop-big { min-height: 260px; }
  .filters-bar { top: 52px; }
}
@media (max-width: 560px) {
  .pop-tiles { grid-template-columns: 1fr; }
  .sl-body { max-width: 74%; padding: 24px 0 24px 22px; }
  .sl-art { width: 36%; } .sl-art svg { width: 64px; height: 64px; }
  .pop-big-in { max-width: 80%; padding: 24px; }
  .search.big { height: 56px; } .search.big input { font-size: 16px; }
  .an-facts li { flex: 1 1 calc(33% - 12px); padding: 12px; } .an-facts span { font-size: 12px; }
  .cart-fab { right: 12px; left: 12px; justify-content: center; bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) { .sl-art i { animation: none; } }
#popular, #catalog-sec { padding-top: 0; padding-bottom: 24px; scroll-margin-top: 56px; }
#catalog-sec .sec-h { margin-top: 28px; }

/* ===== посадочные страницы / акции ===== */
.only-ended { display: none; } .ended .only-ended { display: inline; } .ended .only-live { display: none; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); text-decoration: none; } .crumbs a:hover { color: var(--brand); }
.lp-hero { position: relative; overflow: hidden; color: #fff; padding: 104px 0 56px; isolation: isolate; }
.lp-hero.pink { background: linear-gradient(135deg, #e0337c, #a3144f); } .lp-hero.violet { background: linear-gradient(135deg, #7c4dff, #4527a0); }
.lp-hero.teal { background: linear-gradient(135deg, #2bb3ab, #137a86); } .lp-hero.navy { background: linear-gradient(135deg, #2a3b6e, #0a0f1f); }
.lp-hero.rose { background: linear-gradient(135deg, #ff7a8a, #c2255c); }
.lp-hero .crumbs, .lp-hero .crumbs a { color: rgba(255,255,255,.8); }
.lp-hero-in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 240px; }
.lp-hero-t { position: relative; z-index: 2; max-width: 680px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.lp-hero h1 { color: #fff; font-size: clamp(34px, 5.2vw, 60px); line-height: 1.04; letter-spacing: -.035em; margin: 0; text-transform: none; }
.lp-sub { margin: 0; font-size: clamp(17px, 1.8vw, 21px); line-height: 1.4; color: rgba(255,255,255,.92); }
.lp-eyebrow { display: inline-block; padding: 6px 14px; border-radius: 980px; background: rgba(255,255,255,.2); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.lp-dates { margin: 0; font-size: 14px; font-weight: 600; opacity: .9; }
.lp-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.lp-hero .btn:not(.ghost-w) { background: #fff; color: #1d1d1f; }
.btn.ghost-w { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.7); }
.lp-hero .sl-art.big { position: absolute; right: -20px; top: 0; bottom: 0; width: 42%; }
.lp-intro { padding: 48px 0 8px; }
.lp-intro-in { max-width: 920px; }
.lp-p { font-size: 18px; line-height: 1.6; color: var(--text); margin: 0 0 16px; }
.lp-h { font-size: 22px; letter-spacing: -.02em; margin: 30px 0 12px; text-transform: none; }
.lp-list { margin: 0 0 12px; padding: 0; list-style: none; display: grid; gap: 10px; }
.lp-list li { position: relative; padding: 12px 16px 12px 46px; background: var(--surface); border-radius: 14px; box-shadow: var(--shadow-s); font-size: 16px; line-height: 1.4; }
.lp-list li::before { content: ""; position: absolute; left: 16px; top: 14px; width: 18px; height: 18px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; }
.lp-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 14px; margin: 22px 0; max-width: none; }
.lp-t { padding: 20px; background: var(--surface); border-radius: var(--r-md); box-shadow: var(--shadow-s); }
.lp-t h3 { font-size: 17px; margin: 0 0 8px; color: var(--brand); text-transform: none; } .lp-t p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.lp-ben { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 14px; margin-bottom: 26px; }
.lp-b { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: var(--r-lg); background: linear-gradient(150deg, color-mix(in srgb, var(--brand) 10%, #fff), #fff); box-shadow: var(--shadow-s); }
.lp-b b { font-size: 28px; letter-spacing: -.03em; color: var(--brand); } .lp-b span { font-size: 15px; color: var(--muted); line-height: 1.4; }
.lp-steps ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 14px; }
.lp-steps li { display: flex; flex-direction: column; gap: 10px; padding: 20px; background: var(--surface); border-radius: var(--r-md); box-shadow: var(--shadow-s); font-size: 15.5px; line-height: 1.4; }
.lp-steps li b { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--brand); color: #fff; }
.lp-items { padding: 32px 0 24px; }
.lp-items .sec-h, .lp-more .sec-h { margin-top: 24px; }
.lp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 18px; align-items: start; }
.lpi { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 22px 22px 20px 26px; background: var(--surface); border-radius: 22px; box-shadow: var(--shadow-s); min-width: 0; }
.lpi::before { content: ""; position: absolute; left: 0; top: 22px; bottom: 22px; width: 4px; border-radius: 0 4px 4px 0; background: var(--teal); }
.lpi:has(.pill.cx)::before { background: var(--brand); }
.lpi h3 { font-size: 19px; line-height: 1.25; letter-spacing: -.015em; margin: 0; text-transform: none; overflow-wrap: anywhere; }
.lpi-d { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.lpi-ev b { display: block; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.lpi-ev ul, .lpi-inc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.lpi-ev li { position: relative; padding-left: 22px; font-size: 14.5px; line-height: 1.4; }
.lpi-ev li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 800; }
.lpi-inc summary { cursor: pointer; font-weight: 700; font-size: 14.5px; color: var(--brand); padding: 6px 0; list-style: none; }
.lpi-inc summary::-webkit-details-marker { display: none; }
.lpi-inc summary::after { content: " ▾"; } .lpi-inc[open] summary::after { content: " ▴"; }
.lpi-inc ul { padding: 4px 0 4px; max-height: 280px; overflow: auto; }
.lpi-inc li { font-size: 14px; padding: 5px 10px; background: var(--surface-2); border-radius: 8px; }
.lpi .add { all: unset; box-sizing: border-box; display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 16px; border-radius: 980px; background: var(--brand); color: #fff; font-weight: 700; font-size: 14.5px; cursor: pointer; flex: none; }
.lpi .add svg { width: 17px; height: 17px; } .lpi .add[aria-pressed="true"] { background: var(--ok); }
.lpi .add:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 40%, transparent); outline-offset: 2px; }
.lpi .t-foot { margin-top: 4px; }
.pv-live { display: inline-flex; align-items: baseline; gap: 8px; flex-wrap: wrap; } .pv-live s { color: var(--muted); font-size: 15px; }
.pv-end, .ended .pv-live { display: none; } .ended .pv-end { display: inline; }
.pv-ask { font-weight: 700; color: var(--muted); }
.btn.sm { height: 40px; padding: 0 16px; font-size: 14.5px; }
.lp-more { padding: 32px 0 64px; }
.lp-rel { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.ak-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 16px; }
.ak { text-decoration: none; color: #fff; min-height: 240px; transition: transform .35s var(--ease), box-shadow .35s; flex: none; }
.ak:hover { transform: translateY(-4px); box-shadow: var(--shadow-l); }
.ak .sl-body { max-width: 68%; } .ak-d { margin-top: auto; font-size: 13.5px; font-weight: 600; opacity: .9; }
.ak.ended { filter: saturate(.55); }
a.sl-btn { display: inline-flex; align-items: center; text-decoration: none; }
@media (max-width: 900px) {
  .lp-hero { padding-top: 88px; } .lp-hero .sl-art.big { width: 34%; opacity: .55; }
  .ak .sl-body { max-width: 76%; }
}
@media (max-width: 560px) {
  .lp-hero-t { max-width: 100%; } .lp-p { font-size: 16.5px; } .lpi { padding: 18px 16px 16px 20px; }
  .lp-hero .sl-art.big { opacity: .3; width: 50%; }
}
.toolbar { position: relative; }
.sugg { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 40; background: var(--surface); border-radius: 22px; box-shadow: var(--shadow-l); padding: 8px; max-height: min(70vh, 520px); overflow: auto; }
.sugg[hidden] { display: none; }
.sg-row { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 14px; }
.sg-row:hover { background: var(--surface-2); }
.sg-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sg-t b { font-size: 15.5px; line-height: 1.3; overflow-wrap: anywhere; } .sg-t span { font-size: 12.5px; color: var(--muted); }
.sg-p { font-weight: 800; font-size: 16px; white-space: nowrap; }
.sg-row .add { all: unset; box-sizing: border-box; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 980px; background: var(--brand); color: #fff; font-weight: 700; font-size: 14px; cursor: pointer; flex: none; }
.sg-row .add svg { width: 16px; height: 16px; } .sg-row .add[aria-pressed="true"] { background: var(--ok); }
.sg-all { all: unset; box-sizing: border-box; display: block; width: 100%; text-align: center; padding: 14px; margin-top: 4px; font-weight: 700; color: var(--brand); cursor: pointer; border-radius: 14px; }
.sg-all:hover { background: var(--surface-2); }
.sg-empty { padding: 18px; font-size: 15.5px; color: var(--muted); } .sg-empty a { color: var(--brand); font-weight: 700; }
@media (max-width: 560px) { .sg-row { flex-wrap: wrap; } .sg-t { flex-basis: 100%; } .sg-p { margin-right: auto; } }
.search.big input::-webkit-search-cancel-button, .search.big input::-webkit-search-decoration { -webkit-appearance: none; display: none; }

/* ===== главная 2.0: фон, 3D, викторина, фото ===== */
main.home { position: relative; isolation: isolate; overflow-x: clip; }
.bgfx { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; --mx: 0px; --my: 0px; }
.bgfx i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; translate: var(--mx) var(--my); transition: translate .6s ease-out; animation: bgf 18s ease-in-out infinite; }
.bgfx .b1 { width: 520px; height: 520px; left: -140px; top: 120px; background: radial-gradient(circle, #ff8fbf, transparent 70%); }
.bgfx .b2 { width: 620px; height: 620px; right: -200px; top: 900px; background: radial-gradient(circle, #7fe3da, transparent 70%); animation-delay: -6s; }
.bgfx .b3 { width: 560px; height: 560px; left: 20%; top: 1900px; background: radial-gradient(circle, #c9b6ff, transparent 70%); animation-delay: -11s; }
.bgfx .hexs { position: absolute; inset: 0; width: 100%; height: 1600px; color: var(--brand); opacity: .13; animation: hexd 40s linear infinite alternate; }
@keyframes bgf { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(40px) scale(1.08); } }
@keyframes hexd { to { transform: translateY(-60px); } }
:root[data-theme="dark"] .bgfx i { opacity: .22; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .bgfx i { opacity: .22; } }

/* 3D-наклон карточек */
.tile, .tilt { transform-style: preserve-3d; }
.tile.tilt-on, .tilt.tilt-on { transform: perspective(1000px) translateY(-4px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .12s ease-out, box-shadow .3s; }
.tile.tilt-on::after, .tilt.tilt-on::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.18), transparent 60%); }

/* статус «открыто» и часы */
.hrs { display: grid; gap: 14px; margin-top: 6px; }
.hr { padding: 14px 16px; border-radius: 16px; background: var(--surface-2); }
.hr-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.hr-h b { font-size: 16px; }
.hr-t { font-size: 22px; font-weight: 800; letter-spacing: -.02em; margin: 4px 0 6px; }
.hr p { margin: 0; font-size: 14px; line-height: 1.45; color: var(--muted); }
.open-st { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 980px; background: rgba(0,0,0,.06); color: var(--muted); }
.open-st:empty { display: none; }
.open-st::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.open-st.on { color: #0f7a3f; background: rgba(31,157,85,.14); } .open-st.on::before { animation: pulse 1.8s ease-in-out infinite; }
.open-st.off { color: #9a5a00; background: rgba(255,170,0,.16); }
@keyframes pulse { 50% { opacity: .3; transform: scale(1.5); } }

/* цифры */
.stats { padding: 8px 0 24px; }
.stats-g { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.st { padding: 24px 22px; border-radius: var(--r-lg); background: color-mix(in srgb, var(--surface) 80%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow-s); display: flex; flex-direction: column; gap: 6px; }
.st b { font-size: clamp(34px, 4.4vw, 52px); letter-spacing: -.04em; line-height: 1; background: linear-gradient(135deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.st span { font-size: 14.5px; line-height: 1.35; color: var(--muted); }

/* викторина */
.qz-sec { padding-block: clamp(40px, 6vw, 80px); }
.qz { position: relative; max-width: 860px; margin: 32px auto 12px; padding: clamp(22px, 3.4vw, 40px); border-radius: var(--r-xl); background: var(--surface); box-shadow: var(--shadow-l); overflow: hidden; }
.qz::before { content: ""; position: absolute; right: -80px; top: -80px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--brand) 18%, transparent), transparent 70%); pointer-events: none; }
.qz-bar { height: 8px; border-radius: 99px; background: var(--surface-2); overflow: hidden; margin-bottom: 24px; }
.qz-bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--brand), var(--teal)); transition: width .5s var(--ease); }
.qz-st { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }
.qz-q h3 { font-size: clamp(22px, 2.8vw, 30px); letter-spacing: -.025em; margin: 6px 0 20px; text-transform: none; }
.qz-a { display: grid; gap: 10px; }
.qz-o { display: flex; align-items: center; gap: 14px; text-align: left; width: 100%; padding: 16px 18px; border: 2px solid transparent; border-radius: 18px; background: var(--surface-2); font: inherit; font-size: 16.5px; font-weight: 600; color: var(--text); cursor: pointer; transition: transform .2s var(--ease), border-color .2s, background .2s, box-shadow .2s; animation: qin .4s var(--ease) both; }
.qz-o:nth-child(2) { animation-delay: .05s; } .qz-o:nth-child(3) { animation-delay: .1s; } .qz-o:nth-child(4) { animation-delay: .15s; } .qz-o:nth-child(5) { animation-delay: .2s; }
.qz-o:hover { transform: translateX(4px); border-color: color-mix(in srgb, var(--brand) 45%, transparent); background: var(--surface); box-shadow: var(--shadow-s); }
.qz-o.hit { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 10%, var(--surface)); }
.qz-e { font-size: 26px; line-height: 1; flex: none; }
@keyframes qin { from { opacity: 0; transform: translateY(10px); } }
.qz-res { display: flex; align-items: center; gap: clamp(20px, 4vw, 44px); flex-wrap: wrap; }
.qz-ring { position: relative; width: 168px; height: 168px; flex: none; }
.qz-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.qz-ring circle { fill: none; stroke-width: 11; stroke-linecap: round; } .rg-bg { stroke: var(--surface-2); }
.rg-fg { stroke: url(#none); stroke: var(--brand); transition: stroke-dashoffset 1.2s var(--ease); }
.qz-sc { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.qz-sc b { font-size: 44px; letter-spacing: -.04em; line-height: 1; } .qz-sc span { font-size: 12px; color: var(--muted); font-weight: 600; }
.qz-rt { flex: 1 1 280px; min-width: 0; }
.qz-lab { display: inline-block; padding: 5px 12px; border-radius: 980px; background: color-mix(in srgb, var(--teal) 18%, #fff); color: #0f6f69; font-size: 13px; font-weight: 700; }
.qz-rt h3 { font-size: clamp(22px, 2.6vw, 28px); margin: 12px 0 8px; letter-spacing: -.02em; text-transform: none; }
.qz-rt p { margin: 0 0 16px; color: var(--muted); font-size: 16px; line-height: 1.5; }
.qz-act { display: flex; gap: 10px; flex-wrap: wrap; }

/* шаги */
.steps-sec { padding-block: clamp(32px, 5vw, 64px); }
.steps3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.stp { position: relative; padding: 28px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-s); overflow: hidden; }
.stp::after { content: ""; position: absolute; right: -30px; bottom: -30px; width: 120px; height: 120px; border-radius: 50%; background: color-mix(in srgb, var(--brand) 9%, transparent); }
.stp-n { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-weight: 800; font-size: 20px; margin-bottom: 16px; box-shadow: 0 10px 24px color-mix(in srgb, var(--brand) 35%, transparent); transform: translateZ(30px); }
.stp h3 { font-size: 22px; margin: 0 0 8px; text-transform: none; } .stp p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.5; position: relative; z-index: 1; }

/* как нас найти */
.find-sec { padding-block: clamp(32px, 5vw, 72px); }
.find { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.find-ph { position: relative; margin: 0; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-l); background: var(--surface-2); }
.find-ph img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
.find-ph figcaption { position: absolute; left: 16px; bottom: 16px; }
.find-badge { display: inline-block; padding: 8px 16px; border-radius: 980px; background: var(--brand); color: #fff; font-weight: 800; font-size: 15px; box-shadow: 0 8px 22px rgba(0,0,0,.3); }
.find-t { min-width: 0; }
.find-t h2 { font-size: clamp(28px, 3.6vw, 44px); letter-spacing: -.03em; margin: 6px 0 14px; text-transform: none; }
.find-l { list-style: none; margin: 18px 0; padding: 0; display: grid; gap: 12px; }
.find-l li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.4; }
.find-l svg { width: 22px; height: 22px; flex: none; color: var(--brand); margin-top: 1px; }

/* FAQ */
.faq-sec { padding-block: clamp(32px, 5vw, 64px); }
.faq-l { max-width: 820px; margin: 28px auto 0; display: grid; gap: 10px; }
.faq-l details { border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-s); padding: 0 22px; }
.faq-l summary { cursor: pointer; list-style: none; padding: 20px 28px 20px 0; font-weight: 700; font-size: 17px; position: relative; }
.faq-l summary::-webkit-details-marker { display: none; }
.faq-l summary::after { content: "+"; position: absolute; right: 0; top: 50%; translate: 0 -50%; font-size: 26px; font-weight: 400; color: var(--brand); transition: rotate .3s; }
.faq-l details[open] summary::after { rotate: 45deg; }
.faq-l details p { margin: 0 0 20px; color: var(--muted); font-size: 16px; line-height: 1.55; }

@media (max-width: 900px) {
  .stats-g { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps3 { grid-template-columns: 1fr; }
  .find { grid-template-columns: 1fr; }
  .bgfx .b1, .bgfx .b2, .bgfx .b3 { width: 340px; height: 340px; }
  .bgfx .b3 { top: 2600px; }
}
@media (max-width: 560px) {
  .st { padding: 18px 16px; } .qz-ring { width: 140px; height: 140px; } .qz-sc b { font-size: 36px; }
  .qz-o { padding: 14px; font-size: 15.5px; } .hr-t { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) { .bgfx i, .bgfx .hexs, .qz-o { animation: none; } }

/* ===== full-bleed hero (home) ===== */
.hf { padding: 0 !important; position: relative; isolation: isolate; overflow: hidden; color: #14181f; min-height: calc(100svh - 64px); display: flex; background: #e9f1f8; }
.hf-bg, .hf-bg img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hf-bg img { object-fit: cover; object-position: center 35%; }
.hf-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,.12) 38%, rgba(10,14,22,.28) 100%); pointer-events: none; }
.hf-in { width: 100%; max-width: 1440px; display: flex; flex-direction: column; justify-content: space-between; gap: clamp(20px, 3vw, 40px); padding-block: clamp(18px, 2.6vw, 36px); padding-inline: clamp(16px, 3vw, 44px); }
.hf-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.hf-id { display: flex; align-items: center; gap: 18px; flex-wrap: nowrap; flex: 1 1 0; min-width: 0; }
.hf-id .mh-id { flex-wrap: nowrap; }
.hf-id .mh-lic { max-width: 20em; }
.hf-id .mh-title { margin: 0; text-shadow: 0 0 14px rgba(255,255,255,.9), 0 0 3px rgba(255,255,255,.8); }
.hf-id .mh-lic { text-shadow: 0 0 14px rgba(255,255,255,.9); }
.hf-id .lic-card { display: none; position: relative; left: auto; bottom: auto; width: clamp(64px, 5.5vw, 84px); flex: none; margin-bottom: 12px; }
.hf-panel { display: grid; grid-template-columns: auto auto; gap: clamp(18px, 2.4vw, 36px); padding: clamp(16px, 1.8vw, 24px) clamp(18px, 2.2vw, 30px); border-radius: 20px; background: rgba(255,255,255,.78); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); box-shadow: 0 18px 50px rgba(20,40,70,.18), 0 0 0 1px rgba(255,255,255,.7) inset; max-width: 100%; }
.hf-col { display: grid; gap: 3px; align-content: start; font-size: 16px; font-weight: 600; min-width: 0; }
.hf-col a { color: #14181f; overflow-wrap: anywhere; }
.hf-col a:hover { color: var(--brand-ink); }
.hf-addr { font-weight: 500 !important; font-size: 14.5px; line-height: 1.35; max-width: 17em; margin-top: 6px; color: #333 !important; }
.hf-hr { padding: 8px 0 10px; border-top: 1px solid rgba(0,0,0,.08); }
.hf-col .mh-k + .hf-hr { border-top: 0; padding-top: 2px; }
.hf-hr .hr-h { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; }
.hf-hr .hr-t { font-size: 18px; font-weight: 800; letter-spacing: -.02em; margin: 2px 0; }
.hf-hr p { margin: 0; font-size: 12.5px; line-height: 1.4; color: #4a4e57; font-weight: 500; max-width: 22em; }
.hf .choice { margin-top: 0; }
.hf .choice.three { gap: clamp(10px, 1.4vw, 18px); }
.hf .choice.three .tile { min-height: clamp(210px, 22vh, 260px); padding: clamp(16px, 1.8vw, 24px); box-shadow: 0 18px 44px rgba(10,20,40,.28); }
.hf .choice.three .tile h2 { font-size: clamp(22px, 2.1vw, 30px); margin-top: 8px; }
.hf .choice.three .tile p { font-size: 14.5px; margin-top: 8px; }
.hf .choice.three .tile .tile-list { margin-top: 8px; gap: 5px; font-size: 13.5px; }
.hf .choice.three .tile .tile-list li:nth-child(n+3) { display: none; }
.hf .choice.three .tile .art { width: 28%; max-width: 124px; bottom: 14px; right: 4%; }
.hf .choice.three .tile .art-iv { width: 28%; max-width: 124px; }
.hf .choice.three .tile p, .hf .choice.three .tile .tile-list { max-width: 70%; }
.hf .choice.three .tile .go { margin-top: 12px; }
@media (min-width: 1500px) { .hf-id .lic-card { display: block; } }
@media (min-width: 2000px) { .hf-in { max-width: 1800px; } .hf-col { font-size: 18px; } .hf-hr .hr-t { font-size: 22px; } .hf .choice.three .tile { min-height: 280px; } }
@media (max-width: 1100px) { .hf-panel { grid-template-columns: 1fr 1fr; } .hf-id { gap: 14px; } }
@media (max-width: 900px) {
  .hf { min-height: 0; }
  .hf-top { flex-direction: column; align-items: stretch; }
  .hf-id { justify-content: space-between; flex: none; }
  .hf-panel { grid-template-columns: 1fr 1fr; }
  .hf .choice.three { grid-template-columns: 1fr; }
  .hf .choice.three .tile { min-height: 190px; }
  .hf .choice.three .tile .art { width: 24%; max-width: 100px; bottom: 12px; opacity: .8; }
  .hf .choice.three .tile p, .hf .choice.three .tile .tile-list { max-width: 72%; }
  .hf-bg img { object-position: 72% top; }
}
@media (max-width: 560px) { .hf-panel { grid-template-columns: 1fr; } .hf-id .mh-id { flex-wrap: wrap; } .hf-id .lic-card { display: none; } .hf-in { padding-inline: 14px; } }

/* ===== glass background (realistic) ===== */
.g3d { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; perspective: 1400px; background: #f4f6fa; }
.g-photo { position: absolute; inset: -4%; background: url(/assets/banner.webp) center 30% / cover no-repeat; filter: blur(7px) saturate(.9); transform: scale(1.06); }
.g-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(246,248,252,.72), rgba(246,248,252,.52) 50%, rgba(246,248,252,.78)); }
.g3d .s { position: absolute; display: block; left: 0; top: 0; will-change: transform; transform-style: preserve-3d; }
.g3d .tb { display: block; filter: drop-shadow(0 22px 26px rgba(25,40,75,.22)); }
.g3d .tb svg { display: block; width: 100%; height: auto; overflow: visible; }
.g3d .t1 { width: clamp(170px, 15vw, 270px); left: 3vw; }
.g3d .t2 { width: clamp(130px, 12vw, 210px); left: 80vw; filter: blur(1.5px) drop-shadow(0 22px 26px rgba(25,40,75,.2)); }
.g3d .t3 { width: clamp(190px, 17vw, 300px); left: 55vw; filter: blur(3px) drop-shadow(0 22px 26px rgba(25,40,75,.16)); opacity: .85; }
.g3d .t4 { width: clamp(130px, 12vw, 210px); left: 12vw; filter: blur(2px) drop-shadow(0 22px 26px rgba(25,40,75,.18)); }
.g3d .t5 { width: clamp(120px, 11vw, 190px); left: 36vw; filter: blur(4px); opacity: .7; }
@media (max-width: 760px) { .g3d .t3, .g3d .t5 { display: none; } .g3d .t1 { width: 38vw; left: -4vw; } .g3d .t2 { width: 30vw; left: 74vw; } .g3d .t4 { width: 30vw; left: 52vw; } }
/* sections let the glass show through */
.home .bgfx { display: none; }
.stats, .steps-sec, .faq-sec, .qz-sec, #quiz, #find, #offers { background: transparent; }

/* ===== search: red accent ===== */
:root { --red: #e30613; }
.search.big { border: 2.5px solid var(--red); box-shadow: 0 0 0 5px rgba(227,6,19,.12), 0 14px 40px rgba(227,6,19,.22); }
.search.big svg { color: var(--red); }
.search.big:focus-within { border-color: var(--red); box-shadow: 0 0 0 6px rgba(227,6,19,.26), 0 16px 44px rgba(227,6,19,.3); }
.search.big input::placeholder { color: #7a4a50; }
.filters-bar .search input { border: 2px solid var(--red); box-shadow: 0 0 0 4px rgba(227,6,19,.1); }
.filters-bar .search input:focus { border-color: var(--red); box-shadow: 0 0 0 5px rgba(227,6,19,.25); }
.filters-bar .search svg { color: var(--red); }

/* ===== footer 2.0 ===== */
footer { position: relative; background: rgba(255,255,255,.55); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); }
.ft-partners { display: grid; gap: 10px; }
.ft-pg { display: grid; grid-template-columns: 1fr; gap: 12px; }
.ft-card { display: flex; align-items: center; gap: 18px; padding: 16px 20px; border-radius: 16px; background: rgba(255,255,255,.78); box-shadow: 0 0 0 1px rgba(0,0,0,.05); color: var(--text); font-size: 14px; min-width: 0; }
.ft-ptxt { display: grid; gap: 4px; }
.ft-k { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ft-kdl { display: inline-flex; padding: 4px 10px; background: #fff; border-radius: 10px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.ft-kdl img { height: 20px; width: auto; }
.ft-partner a:not(.ft-kdl), .ft-dev a:not(.ft-logo) { text-decoration: underline; text-underline-offset: 3px; }
.ft-logo { flex: none; display: block; }
.ft-logo img { width: 150px; height: auto; display: block; }
.ft-dtx { display: grid; gap: 10px; min-width: 0; flex: 1 1 320px; color: var(--text); font-size: 14px; }
.ft-prod { display: flex; flex-wrap: wrap; gap: 8px; }
.ft-prod a { padding: 6px 12px; border-radius: 980px; background: rgba(255,255,255,.8); box-shadow: 0 0 0 1px rgba(0,0,0,.07); font-size: 13px; text-decoration: none !important; color: var(--text); }
.ft-prod a:hover { box-shadow: 0 0 0 1.5px var(--red); }
@media (max-width: 560px) { .ft-logo img { width: 120px; } }
.hrs .hr p { font-size: 14px !important; line-height: 1.45 !important; font-weight: 400; }
@media (max-width: 860px) { .ft-card { flex-wrap: wrap; } }
.ft-partners { margin-top: 10px; }
.ft-partner .ft-ptxt { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ft-ph { margin-top: 4px; }
.ft-kdl img { height: 30px !important; }

/* ===== hero layout 3: left column, microscope visible on the right ===== */
.hf-in > .hf-top, .hf-in > .choice { max-width: min(66%, 920px); }
.hf-top { flex-direction: column; align-items: stretch; gap: 14px; flex: none; }
.hf-id { flex: none; }
.hf-panel { grid-template-columns: 1.15fr 1fr 1fr; gap: clamp(14px, 1.6vw, 24px); padding: 14px 18px; border-radius: 16px; }
.hf-col { font-size: 14px; gap: 2px; }
.hf-col .mh-k { margin-bottom: 2px; font-size: 11px; }
.hf-hr { padding: 0; border: 0 !important; }
.hf-hr .hr-h { margin-bottom: 2px; }
.hf-hr .hr-t { font-size: 16px; margin: 0 0 4px; }
.hf-hr p { font-size: 12px; line-height: 1.35; }
.hf-addr { font-size: 13px !important; margin-top: 4px; }
.hf-in { justify-content: flex-start; gap: clamp(18px, 3vh, 36px); }
.hf .choice { margin-top: auto; }
.hf .choice.three .tile p, .hf .choice.three .tile .tile-list { display: none; }
.hf .choice.three .tile { min-height: 190px; }
.hf .choice.three .tile h2 { font-size: clamp(20px, 1.7vw, 26px); }
.hf .choice.three .tile .art { width: 30%; max-width: 100px; bottom: 12px; right: 5%; }
.hf .choice.three .tile .go { font-size: 12.5px; padding: 10px 16px; }
.hf-shade { background: linear-gradient(90deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,.2) 55%, rgba(255,255,255,0) 75%), linear-gradient(180deg, rgba(255,255,255,.35) 0%, rgba(255,255,255,0) 30%); }
@media (max-width: 1100px) { .hf-in > .hf-top, .hf-in > .choice { max-width: none; } .hf-panel { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) { .hf-top .hf-panel { margin-top: 150px; } .hf .choice.three .tile p { display: block; } .hf .choice.three .tile { min-height: 170px; } .hf-bg img { object-position: 76% top; } .hf-shade { background: linear-gradient(180deg, rgba(255,255,255,.3), rgba(255,255,255,0) 40%); } }
@media (max-width: 560px) { .hf-panel { grid-template-columns: 1fr; } .hf-top .hf-panel { margin-top: 130px; } }

/* ===== hero layout 4: panel + identity in one row ===== */
@media (min-width: 1101px) {
  .hf-in > .hf-top { max-width: none; flex-direction: row; align-items: stretch; justify-content: flex-start; gap: clamp(18px, 2vw, 32px); }
  .hf-top .hf-panel { order: -1; flex: 0 1 auto; width: min(640px, 58%); }
  .hf-top .hf-id { flex: 1 1 auto; align-self: center; }
  .hf-id .mh-title { font-size: clamp(24px, 2.4vw, 34px); }
  .hf-id .mh-id { flex-wrap: wrap; }
}
@media (min-width: 1101px) and (max-width: 1700px) { .hf-top .hf-id .mh-kdl { display: none !important; } }
/* big screens: scale the whole page */
:root { --z: 1; }
body { zoom: var(--z); }
@media (min-width: 2200px) { :root { --z: 1.25; } }
@media (min-width: 2800px) { :root { --z: 1.5; } }
@media (min-width: 3400px) { :root { --z: 1.9; } }
.hf { min-height: calc(100svh / var(--z) - 64px); }
@media (max-width: 900px) { .hf { min-height: 0; } }
.hf-hr .hr-t, .hf-col a:not(.hf-addr) { white-space: nowrap; }
.hf-hr .open-st { white-space: nowrap; }
.hf .tile .kicker .kdl-chip:not(.mx-chip) { display: none !important; }
@media (min-width: 1101px) {
  .hf-top .hf-panel { width: auto; max-width: 62%; grid-template-columns: max-content minmax(0, 1fr) max-content; }
  .hf-top .hf-panel .hf-hr p { max-width: 20em; }
}
@media (min-width: 701px) and (max-width: 1100px) {
  .hf-top .hf-panel { grid-template-columns: 1.1fr 1fr 1fr; margin-top: 0; }
  .hf-hr p { font-size: 11.5px; }
  .hf .choice.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hf .choice.three .tile { min-height: 200px; padding: 16px; }
  .hf .choice.three .tile p { display: none; }
  .hf .choice.three .tile .art { display: none; }
  .hf .choice.three .tile h2 { font-size: 19px; }
  .hf .choice.three .tile .go { font-size: 12px; padding: 9px 13px; }
  .hf-in { min-height: calc(100svh - 64px); }
}
@media (min-width: 701px) and (max-width: 1100px) { .hf .choice.three .tile.c { grid-column: auto; } .hf .choice.three .tile { min-height: 180px; } }
@media (max-width: 700px) { .hf .choice.three { grid-template-columns: 1fr; } .hf .choice.three .tile, .hf .choice.three .tile.c { min-height: 190px; } }

/* ===== hero layout 5: identity left, contacts right (contacts only) ===== */
.hf-panel { display: block !important; width: auto !important; max-width: none !important; padding: 14px 20px; flex: none; }
.hf-panel .hf-col { gap: 2px; }
.hf-panel .hf-col a:not(.hf-addr) { font-size: 16px; font-weight: 600; }
.hf-panel .hf-addr { max-width: 15em; }
@media (min-width: 1101px) {
  .hf-in > .hf-top { flex-direction: row; align-items: flex-start; justify-content: space-between; max-width: min(74%, 1040px); gap: 24px; }
  .hf-top .hf-panel { order: 0; }
  .hf-top .hf-id { flex: 0 1 auto; align-self: flex-start; }
  .hf-top .hf-id .mh-kdl { display: flex !important; }
  .hf-top .hf-id .mh-kdl[hidden] { display: none !important; }
  .hf-id .mh-id { flex-wrap: nowrap; }
}
@media (min-width: 1101px) and (max-width: 1420px) {
  .hf-id .mh-kdl { padding: 0 10px; height: 60px; } .hf-id .mh-logo { width: 60px; height: 60px; }
  .hf-id .mh-id { gap: 12px; } .hf-id .mh-title { font-size: 26px; } .hf-id .mh-lic { font-size: 12px; }
}
@media (min-width: 701px) and (max-width: 1100px) {
  .hf-top .hf-panel { margin-top: 0; }
  .hf-panel .hf-col { grid-template-columns: auto auto; column-gap: 28px; }
  .hf-panel .hf-col .mh-k { grid-column: 1 / -1; }
  .hf-panel .hf-addr { grid-column: 2; grid-row: 2 / 5; margin: 0; align-self: start; }
}
@media (min-width: 701px) and (max-width: 1100px) { .hf-top .hf-panel { align-self: flex-start; } }

/* ===== hero layout 6: contacts as one slim strip, no box ===== */
.hf-in > .hf-top { flex-direction: column !important; align-items: flex-start !important; gap: clamp(16px, 2.2vw, 28px); max-width: none; }
.hf-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 0; font-size: clamp(14px, 1.15vw, 16.5px); font-weight: 600; color: #14181f; }
.hf-strip .hs { display: inline-flex; align-items: center; gap: 10px; padding: 2px clamp(14px, 1.6vw, 26px); color: #14181f; text-shadow: 0 0 14px rgba(255,255,255,.95), 0 0 4px rgba(255,255,255,.85); white-space: nowrap; position: relative; transition: color .2s; }
.hf-strip .hs:first-child { padding-left: 0; }
.hf-strip .hs + .hs::before { content: ""; position: absolute; left: 0; top: 50%; height: 22px; transform: translateY(-50%); border-left: 1.5px solid rgba(20,24,31,.22); }
.hf-strip .hs i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--brand, #c2185b), color-mix(in srgb, var(--brand, #c2185b) 60%, #ff7a59)); color: #fff; flex: none; box-shadow: 0 6px 16px color-mix(in srgb, var(--brand, #c2185b) 38%, transparent); text-shadow: none; }
.hf-strip .hs i svg { width: 17px; height: 17px; }
.hf-strip .hs:hover { color: var(--brand-ink, #a3124c); }
.hf-strip .hs-addr { white-space: normal; max-width: 26em; line-height: 1.25; font-weight: 500; }
.hf-in > .hf-top .hf-id { align-self: flex-start; }
@media (max-width: 1100px) { .hf-strip .hs { padding: 2px 16px; } .hf-strip { row-gap: 12px; } }
@media (max-width: 900px) { .hf-top .hf-strip { margin-top: 110px; } .hf-strip { background: rgba(255,255,255,.82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-radius: 16px; padding: 14px 16px; box-shadow: 0 10px 30px rgba(20,40,70,.16); width: 100%; } .hf-strip .hs { padding: 4px 18px 4px 0; text-shadow: none; } .hf-strip .hs + .hs::before { display: none; } }
@media (max-width: 560px) { .hf-strip { flex-direction: column; align-items: flex-start; } .hf-strip .hs { white-space: normal; } }
@media (min-width: 1500px) { .hf-strip .hs-addr { white-space: nowrap; max-width: none; } }
@media (max-width: 560px) { .hf-strip { row-gap: 0; } .hf-strip .hs { padding: 3px 0; } .hf-strip .hs i { width: 30px; height: 30px; } }

/* ===== hero tiles: art never collides with the button ===== */
@media (min-width: 1101px) {
  .hf .choice.three .tile .art, .hf .choice.three .tile .art-iv, .hf .choice.three .tile .art-law { top: 14px; bottom: auto; right: 14px; left: auto; width: 54px; max-width: 54px; opacity: .95; }
  .hf .choice.three .tile .kicker { padding-right: 56px; }
  .hf .choice.three .tile.a .kicker, .hf .choice.three .tile.c .kicker { padding-right: 56px; }
}
@media (max-width: 700px) {
  .hf .choice.three .tile .art, .hf .choice.three .tile .art-iv, .hf .choice.three .tile .art-law { top: auto; bottom: 16px; right: 16px; width: 64px; max-width: 64px; opacity: .9; }
  .hf .choice.three .tile .go { max-width: calc(100% - 84px); }
}

/* ===== FAQ: calm expand ===== */
.faq-l summary, .faq summary { outline: none; -webkit-tap-highlight-color: transparent; }
.faq-l details:has(summary:focus-visible), .faq details:has(summary:focus-visible) { box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 30%, transparent), var(--shadow-s); }
.faq-l details, .faq details { transition: box-shadow .35s var(--ease), background .35s; interpolate-size: allow-keywords; }
.faq-l details[open], .faq details[open] { box-shadow: 0 14px 40px rgba(20,30,60,.12); }
.faq-l details[open] summary { color: var(--brand-ink, inherit); }
.faq-l details p, .faq details p { padding-top: 2px; }
.faq-l details::details-content, .faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .4s var(--ease), content-visibility .4s allow-discrete; }
.faq-l details[open]::details-content, .faq details[open]::details-content { block-size: auto; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.faq-l details[open] p, .faq details[open] p { animation: faqIn .4s var(--ease) both; }

/* ===== easter eggs ===== */
.egg { position: fixed; z-index: 85; width: 64px; height: 64px; margin: -32px 0 0 -32px; padding: 0; border: 0; background: none; cursor: pointer; opacity: 0; transform: scale(.2) rotate(-40deg); transition: opacity .5s ease, transform .6s cubic-bezier(.2,1.4,.4,1); -webkit-tap-highlight-color: transparent; filter: drop-shadow(0 6px 14px rgba(160,0,20,.45)); }
.egg.on { opacity: 1; transform: scale(1) rotate(0); }
.egg svg { width: 100%; height: 100%; display: block; overflow: visible; }
.egg:hover { transform: scale(1.18) rotate(8deg); }
.egg-virus svg { animation: eggPulse 1.6s ease-in-out infinite; }
.egg-virus .sp { transform-origin: 50px 50px; animation: eggSpin 14s linear infinite; }
@keyframes eggPulse { 50% { transform: scale(1.1); } }
@keyframes eggSpin { to { transform: rotate(360deg); } }
.egg-flask { filter: drop-shadow(0 8px 16px rgba(20,90,200,.45)); }
.egg-flask .liq { animation: eggSlosh 2.4s ease-in-out infinite; transform-origin: 50px 70px; }
@keyframes eggSlosh { 50% { transform: rotate(4deg) translateY(-1px); } }
.egg-flask .bub { animation: eggBub 2.2s ease-in infinite; opacity: 0; }
.egg-flask .bub:nth-of-type(2) { animation-delay: .8s; } .egg-flask .bub:nth-of-type(3) { animation-delay: 1.5s; }
@keyframes eggBub { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: .9; } 100% { transform: translateY(-26px); opacity: 0; } }
.egg-infect { position: fixed; inset: 0; z-index: 400; pointer-events: none; background: radial-gradient(circle at var(--ex) var(--ey), rgba(200,0,30,.0) 0, rgba(200,0,30,.85) 0%, rgba(120,0,15,.96) 100%); clip-path: circle(0 at var(--ex) var(--ey)); animation: eggInfect .9s ease-in forwards; }
@keyframes eggInfect { to { clip-path: circle(150vmax at var(--ex) var(--ey)); } }
.egg-flash { position: fixed; inset: 0; z-index: 399; pointer-events: none; background: #fff; opacity: 0; animation: eggFlash .45s ease-out; }
@keyframes eggFlash { 0% { opacity: .9; } 100% { opacity: 0; } }
.egg-cracks { position: fixed; inset: 0; z-index: 398; pointer-events: none; width: 100%; height: 100%; }
.egg-cracks path { fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; filter: drop-shadow(0 0 3px rgba(80,160,255,.9)); stroke-dasharray: var(--l); stroke-dashoffset: var(--l); animation: eggCrack .5s ease-out forwards; }
@keyframes eggCrack { to { stroke-dashoffset: 0; } }
.egg-splash { position: fixed; z-index: 401; pointer-events: none; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #cfeaff, #4aa3ff 55%, #1565d8); transform: translate(-50%, -50%) scale(0); animation: eggSplash 1.1s cubic-bezier(.1,.8,.3,1) forwards; }
@keyframes eggSplash { 0% { transform: translate(-50%,-50%) scale(0); opacity: 1; } 70% { opacity: .95; } 100% { transform: translate(-50%,-50%) scale(1); opacity: 0; } }
.egg-shard { position: fixed; z-index: 402; pointer-events: none; background: linear-gradient(135deg, rgba(255,255,255,.95), rgba(150,200,255,.6)); clip-path: polygon(50% 0, 100% 80%, 0 100%); }
.egg-fall { transition: transform var(--dur, 1.4s) cubic-bezier(.5,0,.9,.4) var(--dl, 0s), opacity var(--dur, 1.4s) ease-in var(--dl, 0s) !important; transform: translate3d(var(--fx, 0), 120vh, 0) rotate(var(--fr, 30deg)) !important; opacity: 0 !important; }
.egg-dead { position: fixed; inset: 0; z-index: 500; background: #fff; opacity: 0; transition: opacity .8s ease; pointer-events: all; }
.egg-dead.on { opacity: 1; }
@media (max-width: 700px) { .egg { width: 54px; height: 54px; margin: -27px 0 0 -27px; } }
@media (prefers-reduced-motion: reduce) { .egg-virus svg, .egg-virus .sp, .egg-flask .liq, .egg-flask .bub { animation: none; } }

/* ===== zombie / doctors show ===== */
.egg::after { content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translateX(-50%) translateY(6px); white-space: nowrap; padding: 5px 11px; border-radius: 8px; background: #d4001b; color: #fff; font: 800 12px/1.1 var(--font, system-ui); letter-spacing: .06em; text-transform: uppercase; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; box-shadow: 0 6px 16px rgba(160,0,20,.4); }
.egg:hover::after, .egg:focus-visible::after { opacity: 1; transform: translateX(-50%) translateY(0); animation: eggTip .5s ease-in-out infinite alternate; }
@keyframes eggTip { to { transform: translateX(-50%) translateY(-2px) rotate(-1.5deg); } }
.egg-flask { width: 96px; height: 96px; margin: -48px 0 0 -48px; filter: drop-shadow(0 0 14px rgba(60,160,255,.95)) drop-shadow(0 8px 16px rgba(20,90,200,.5)); }
.egg-flask::before { content: ""; position: absolute; inset: -22%; border-radius: 50%; background: radial-gradient(circle, rgba(90,190,255,.55), rgba(90,190,255,0) 68%); animation: eggHalo 1.5s ease-in-out infinite; z-index: -1; }
@keyframes eggHalo { 50% { transform: scale(1.25); opacity: .6; } }
.egg-flask::after { background: #1565d8; box-shadow: 0 6px 16px rgba(20,90,200,.45); }
@media (max-width: 700px) { .egg-flask { width: 78px; height: 78px; margin: -39px 0 0 -39px; } }

.zv { position: fixed; inset: 0; z-index: 600; pointer-events: none; overflow: hidden; }
.zv.keep { z-index: 80; }
.zv-mon, .zv-doc { position: absolute; left: 0; top: 0; will-change: transform; }
.zv-mon svg, .zv-doc svg { width: 100%; height: 100%; display: block; overflow: visible; filter: drop-shadow(0 8px 10px rgba(0,0,0,.35)); }
.zv-mon > svg { animation: zHop .5s ease-in-out infinite alternate; transform-origin: 50% 100%; }
@keyframes zHop { from { margin-top: 0; } to { margin-top: -10px; } }
.zv-mon .z-arm.l { transform-origin: 16px 78px; animation: zArm .35s ease-in-out infinite alternate; }
.zv-mon .z-arm.r { transform-origin: 104px 78px; animation: zArm .35s ease-in-out infinite alternate-reverse; }
@keyframes zArm { to { transform: rotate(-18deg); } }
.zv-mon .z-legs { animation: zLeg .25s ease-in-out infinite alternate; transform-origin: 60px 98px; }
@keyframes zLeg { to { transform: scaleY(.88); } }
.zv-doc { width: 100px; }
.zv-doc .d-flash { opacity: 0; }
.zv-doc.fire .d-flash { opacity: 1; animation: zFlash .08s steps(2) infinite; }
@keyframes zFlash { 50% { opacity: .2; } }
.zv-doc.fire svg { animation: zRecoil .08s linear infinite; }
@keyframes zRecoil { 50% { transform: translateX(-3px); } }
.zv-doc.run .d-legs { animation: zRun .16s linear infinite alternate; transform-origin: 60px 130px; }
@keyframes zRun { from { transform: skewX(-8deg); } to { transform: skewX(8deg); } }
.zv-doc.run svg { animation: zBob .16s linear infinite alternate; }
@keyframes zBob { to { margin-top: -6px; } }
.zv-doc.stab .d-tool { animation: zStab .3s ease-out; }
@keyframes zStab { 40% { transform: translateX(26px); } }
.zv-trace { position: absolute; height: 3px; border-radius: 2px; transform-origin: 0 50%; background: linear-gradient(90deg, #fff6c8, #ffd23a 40%, rgba(255,210,58,0)); box-shadow: 0 0 8px #ffd23a; }
.zv-splat { position: absolute; border-radius: 50%; transform: translate(-50%,-50%) scale(0); }
.zv-part { position: absolute; width: 10px; height: 10px; border-radius: 50%; }
.zv-claw { position: absolute; opacity: 0; filter: drop-shadow(0 2px 4px rgba(0,0,0,.4)); }
.zv-conf { position: absolute; width: 9px; height: 14px; border-radius: 2px; }
.zv-alarm { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(255,0,0,0) 35%, rgba(230,0,20,.55) 100%); animation: zAlarm .7s ease-in-out infinite alternate; }
.zv-alarm.soft { opacity: .5; animation-duration: 1.6s; }
@keyframes zAlarm { from { opacity: .35; } to { opacity: 1; } }
.zv-tape { position: absolute; left: -5%; width: 110%; height: 38px; overflow: hidden; display: flex; align-items: center; background: repeating-linear-gradient(-45deg, #ffd400 0 24px, #111 24px 48px); box-shadow: 0 6px 20px rgba(0,0,0,.45); }
.zv-tape.top { top: 64px; transform: rotate(-1.2deg); }
.zv-tape.bot { bottom: 36px; transform: rotate(1.2deg); }
.zv-tape.thin { height: 28px; top: 58px; }
.zv-tape-in { white-space: nowrap; font: 900 15px/38px var(--font, system-ui); letter-spacing: .12em; color: #111; background: #ffd400; padding: 0 8px; display: inline-block; animation: zTape 14s linear infinite; text-shadow: none; }
.zv-tape.thin .zv-tape-in { font-size: 12px; line-height: 28px; }
@keyframes zTape { to { transform: translateX(-50%); } }
.zv-ban { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); text-align: center; color: #fff; z-index: 10; padding: 0 16px; width: 100%; transition: opacity .6s, transform .6s; }
.zv-ban b { display: block; font: 900 clamp(34px, 9vw, 110px)/1 var(--font, system-ui); letter-spacing: .04em; text-transform: uppercase; }
.zv-ban span { display: block; margin-top: 10px; font: 700 clamp(14px, 2.4vw, 26px)/1.3 var(--font, system-ui); letter-spacing: .08em; text-transform: uppercase; }
.zv-ban.red b { color: #ff2a3d; text-shadow: 3px 0 #00e5ff, -3px 0 #ff00c8, 0 0 30px rgba(255,0,30,.9); animation: zGl .25s steps(2) infinite; }
.zv-ban.red span { color: #fff; text-shadow: 0 2px 10px #000; }
.zv-ban.dark b { color: #ff4a5a; text-shadow: 0 0 30px rgba(255,0,30,.9); }
.zv-ban.dark span { color: #ffd0d4; }
.zv-ban.blue b { color: #2f9bff; text-shadow: 0 0 26px rgba(80,170,255,.95), 0 2px 0 #fff; -webkit-text-stroke: 1px #fff; }
.zv-ban.blue span { color: #0c2a52; background: rgba(255,255,255,.9); display: inline-block; padding: 6px 14px; border-radius: 8px; }
.zv-ban.ok b { color: #19b36b; text-shadow: 0 0 26px rgba(40,220,140,.9); }
.zv-ban.out { opacity: 0; transform: translate(-50%, -80%) scale(1.2); }
@keyframes zGl { 50% { transform: translate(2px, -1px); } }
.zv-doom { position: absolute; inset: 0; background: #0a0204; opacity: 0; transition: opacity 1.2s ease; }
.zv-doom.on { opacity: .94; }
.zv-shake main, .zv-shake nav, .zv-shake footer { animation: zShake .12s linear infinite; }
@keyframes zShake { 25% { transform: translate(-3px, 2px); } 50% { transform: translate(3px, -2px); } 75% { transform: translate(-2px, -3px); } }
.zv-glitch main { animation: zShake .12s linear infinite, zHue 1s steps(4) infinite; }
@keyframes zHue { 50% { filter: hue-rotate(40deg) contrast(1.4) saturate(1.8); } }
.egg-virus::after, .egg-flask::after { white-space: normal; width: 200px; text-align: center; line-height: 1.25; }
/* на телефоне подпись и свечение видны сразу — навестись нельзя */
@media (hover: none) { .egg::after { opacity: 1; transform: translateX(-50%); } .egg-virus { filter: drop-shadow(0 0 10px rgba(255,20,50,.9)) drop-shadow(0 0 22px rgba(255,20,50,.6)); } }
/* подпись у кнопки в углу не вылезает за экран */
.egg.tl::after, .egg.tl:hover::after { left: -8px; right: auto; transform: translateY(0); text-align: left; }
.egg.tr::after, .egg.tr:hover::after { right: -8px; left: auto; transform: translateY(0); text-align: right; }


/* ---------- SEO-страницы услуг (sv-*) ---------- */
.sv-hero { padding: 108px 0 8px; }
.sv-hero h1 { font-size: clamp(30px, 4.6vw, 54px); line-height: 1.06; letter-spacing: -.034em; margin: 6px 0 14px; max-width: 900px; }
.sv-hero .lead { max-width: 760px; margin: 0 0 22px; }
.sv-facts { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 22px; }
.sv-facts > div { background: var(--surface); border-radius: var(--r-md); padding: 12px 18px; box-shadow: var(--shadow-s); min-width: 128px; }
.sv-facts span { display: block; color: var(--muted); font-size: 13px; }
.sv-facts b { font-size: 22px; letter-spacing: -.02em; }
.sv-act { display: flex; flex-wrap: wrap; gap: 10px; }
.sv-main { padding: 28px 0 56px; }
.sv-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; }
.sv-art { min-width: 0; max-width: 780px; }
.sv-sec { margin: 0 0 34px; padding-block: 0; }
.sv-sec h2 { font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -.026em; line-height: 1.15; margin: 0 0 14px; }
.sv-sec p { font-size: 17px; line-height: 1.55; margin: 0 0 14px; color: #2b2b2e; }
.sv-sec ul, .sv-sec ol { margin: 0 0 14px; padding-left: 22px; font-size: 17px; line-height: 1.5; color: #2b2b2e; }
.sv-sec li { margin: 0 0 8px; padding-left: 4px; }
.sv-sec li::marker { color: var(--brand); font-weight: 700; }
.sv-note { background: color-mix(in srgb, var(--brand) 7%, var(--surface)); border-left: 3px solid var(--brand); padding: 12px 16px; border-radius: 0 var(--r-md) var(--r-md) 0; font-size: 15px !important; color: var(--muted) !important; }
.sv-tbl { overflow-x: auto; margin: 0 0 16px; border-radius: var(--r-md); box-shadow: inset 0 0 0 1px var(--line); background: var(--surface); }
.sv-tbl table { border-collapse: collapse; width: 100%; font-size: 15px; min-width: 460px; }
.sv-tbl th, .sv-tbl td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.sv-tbl th { background: var(--surface-2); font-weight: 650; font-size: 13px; text-transform: none; color: var(--muted); }
.sv-tbl tr:last-child td { border-bottom: 0; }
.sv-faq details { background: var(--surface); border-radius: var(--r-md); box-shadow: var(--shadow-s); margin: 0 0 10px; padding: 0 18px; }
.sv-faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 14px; }
.sv-faq summary::-webkit-details-marker { display: none; }
.sv-faq summary::after { content: "+"; color: var(--brand); font-size: 22px; line-height: 1; transition: transform .2s var(--ease); }
.sv-faq details[open] summary::after { transform: rotate(45deg); }
.sv-faq details p { margin: 0 0 16px; color: var(--muted); }
.sv-cta { display: flex; align-items: center; justify-content: space-between; gap: 18px; background: linear-gradient(135deg, #2a3b6e, #0a0f1f); color: #fff; border-radius: var(--r-lg); padding: 22px 26px; margin: 8px 0 26px; }
.sv-cta b { display: block; font-size: 19px; letter-spacing: -.02em; margin-bottom: 4px; }
.sv-cta span { font-size: 14px; opacity: .8; }
.sv-cta .btn { background: #fff; color: #1d1d1f; flex: none; }
.sv-upd { color: var(--muted); font-size: 13px; line-height: 1.45; margin: 0; }
.sv-side { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 16px; }
.sv-box { background: var(--surface-2); border-radius: var(--r-lg); padding: 18px; }
.sv-box h3 { font-size: 16px; margin: 0 0 12px; letter-spacing: -.01em; }
.sv-box .lpi { margin: 0 0 12px; }
.sv-box .lpi:last-child { margin-bottom: 0; }
.sv-links { display: flex; flex-direction: column; gap: 2px; }
.sv-links a { padding: 9px 12px; border-radius: 12px; font-size: 15px; color: var(--text); }
.sv-links a:hover { background: var(--surface); color: var(--brand); }
.sv-links a[aria-current="page"] { background: var(--surface); color: var(--brand); font-weight: 650; box-shadow: var(--shadow-s); }
#frequent { padding: 8px 0 20px; }
@media (max-width: 980px) {
  .sv-grid { grid-template-columns: 1fr; gap: 24px; }
  .sv-side { position: static; }
}
@media (max-width: 560px) {
  .sv-hero { padding-top: 92px; }
  .sv-facts { flex-wrap: nowrap; gap: 8px; }
  .sv-facts > div { flex: 1 1 0; min-width: 0; padding: 10px 12px; }
  .sv-facts b { font-size: 17px; white-space: nowrap; }
  .sv-cta { flex-direction: column; align-items: stretch; text-align: left; }
  .sv-cta .btn { width: 100%; }
  .sv-act .btn { flex: 1 1 100%; }
}

/* каталог всех услуг /analizy/vse-analizy/ */
.dir-nav{display:flex;flex-wrap:wrap;gap:6px;margin-top:18px}.dir-nav a{min-width:38px;text-align:center;padding:7px 11px;border:1px solid var(--line);border-radius:12px;background:var(--surface);font-weight:600;font-size:14px}
.dir-nav a:hover{border-color:var(--brand);color:var(--brand)}
.dir-list{list-style:none;margin:0;padding:0;columns:3 280px;column-gap:28px}.dir-list li{break-inside:avoid;padding:7px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:12px;font-size:15px}
.dir-list li a{color:var(--text)}.dir-list li a:hover{color:var(--brand)}.dir-list li span{color:var(--muted);white-space:nowrap}
.dir-link{margin:22px 0 0;text-align:center}
