@font-face{font-family:'Cormorant Garamond';font-style:italic;font-weight:500 600;font-display:swap;src:url(/assets/fonts/cormorantgaramond-italic-500-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'Cormorant Garamond';font-style:italic;font-weight:500 600;font-display:swap;src:url(/assets/fonts/cormorantgaramond-italic-500-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Manrope';font-style:normal;font-weight:400 800;font-display:swap;src:url(/assets/fonts/manrope-normal-400-800-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'Manrope';font-style:normal;font-weight:400 800;font-display:swap;src:url(/assets/fonts/manrope-normal-400-800-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Unbounded';font-style:normal;font-weight:400 800;font-display:swap;src:url(/assets/fonts/unbounded-normal-400-800-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'Unbounded';font-style:normal;font-weight:400 800;font-display:swap;src:url(/assets/fonts/unbounded-normal-400-800-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}

/* ==========================================================================
   Венус Дент — стилове
   Палитра: мастило от логото, орхидея от столовете, лилаво, седеф и злато
   от стенописа „Раждането на Венера“ в кабинета.
   ========================================================================== */

:root {
  --ink: #0b1a2e;
  --ink-2: #14283f;
  --ink-soft: #3a4a5f;
  --muted: #637189;
  --pearl: #f7f9fc;
  --pearl-2: #edf2f8;
  --shell: #e2ebf6;
  --blush: #dce9ff;
  --accent: #1d5fd6;
  --accent-2: #5aa2ff;
  --accent-deep: #0f3f99;
  --lilac: #38bdf8;
  --lilac-soft: #e3f3fd;
  --gold: #7dd3fc;
  --line: rgba(11, 26, 46, .11);
  --line-strong: rgba(11, 26, 46, .2);
  --white: #fff;

  --f-display: 'Unbounded', 'Manrope', system-ui, sans-serif;
  --f-serif: 'Cormorant Garamond', Georgia, serif;
  --f-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --r-sm: 12px;
  --r: 22px;
  --r-lg: 36px;
  --arch: 999px 999px 28px 28px;
  --shadow: 0 30px 60px -30px rgba(12, 32, 64, .35);
  --shadow-sm: 0 12px 30px -16px rgba(12, 32, 64, .3);

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --nav-h: 76px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
html, body { overflow-x: clip; }
body {
  margin: 0;
  background: var(--pearl);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 600; line-height: 1.05; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: clamp(56px, 7vw, 104px) 0; }
.section--tight { position: relative; padding: clamp(44px, 5vw, 72px) 0; }
.dark { background: var(--ink); color: var(--pearl); }
.dark .muted { color: rgba(247, 249, 252, .62); }
.muted { color: var(--muted); }

em.it, .it {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--accent);
}
.dark em.it, .dark .it { color: var(--accent-2); }

/* --- Малки елементи --------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-soft);
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; opacity: .6; }
.dark .eyebrow { color: rgba(247, 249, 252, .7); }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .7); border: 1px solid var(--line);
  font-size: 13px; font-weight: 600; backdrop-filter: blur(8px);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(29, 95, 214, .5); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(29, 95, 214, 0); } 100% { box-shadow: 0 0 0 0 rgba(29, 95, 214, 0); } }

.h-xl { font-size: clamp(2.5rem, 7.2vw, 6.6rem); font-weight: 600; letter-spacing: -.035em; line-height: .98; }
.h-lg { font-size: clamp(1.8rem, 3.8vw, 3.3rem); letter-spacing: -.03em; }
.h-md { font-size: clamp(1.5rem, 2.8vw, 2.4rem); }
.h-sm { font-size: clamp(1.15rem, 1.6vw, 1.4rem); letter-spacing: -.01em; line-height: 1.2; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.6; color: var(--ink-soft); max-width: 58ch; }
.dark .lead { color: rgba(247, 249, 252, .75); }

/* --- Бутони ------------------------------------------------------------ */
.btn {
  --bg: var(--ink); --fg: var(--pearl);
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  padding: 10px 10px 10px 24px; min-height: 56px;
  border-radius: 999px; background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: 15px; letter-spacing: .01em;
  overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  will-change: transform;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--accent); border-radius: inherit;
  transform: translateY(101%); transition: transform .55s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { box-shadow: 0 18px 40px -16px rgba(29, 95, 214, .7); }
.btn .ico {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--fg); color: var(--bg); transition: transform .5s var(--ease);
  flex: none;
}
.btn:hover .ico { transform: rotate(-45deg); }
.btn .ico svg { width: 16px; height: 16px; }
.btn--accent { --bg: var(--accent); --fg: #fff; }
.btn--accent::before { background: var(--ink); }
.btn--light { --bg: var(--pearl); --fg: var(--ink); }
.btn--ghost { --bg: transparent; --fg: var(--ink); border: 1.5px solid var(--line-strong); padding-right: 24px; }
.btn--ghost::before { background: var(--ink); }
.btn--ghost .ico { background: var(--ink); color: var(--pearl); }
.btn--ghost:hover { color: var(--pearl); }
.btn--ghost:hover .ico { background: var(--pearl); color: var(--ink); }
.dark .btn--ghost { --fg: var(--pearl); border-color: rgba(247, 249, 252, .3); }
.dark .btn--ghost::before { background: var(--pearl); }
.dark .btn--ghost .ico { background: var(--pearl); color: var(--ink); }
.dark .btn--ghost:hover { color: var(--ink); }
.dark .btn--ghost:hover .ico { background: var(--ink); color: var(--pearl); }
.btn--sm { min-height: 46px; padding: 6px 6px 6px 18px; font-size: 14px; }
.btn--sm .ico { width: 34px; height: 34px; }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; position: relative; }
.link-arrow::after { content: ""; position: absolute; left: 0; right: 28px; bottom: -4px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.link-arrow:hover::after { transform: scaleX(1); transform-origin: left; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* --- Прелоудър --------------------------------------------------------- */
.loader {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center;
  background: var(--ink); color: var(--pearl);
  transition: clip-path 1s var(--ease-in-out);
  clip-path: inset(0 0 0 0);
}
.loader.is-done { clip-path: inset(0 0 100% 0); }
.loader .emblem { width: min(280px, 60vw); fill: var(--pearl); }
.loader__word { margin-top: 26px; font-family: var(--f-display); letter-spacing: .6em; font-size: 14px; text-align: center; padding-left: .6em; opacity: 0; animation: fadeUp .8s .7s var(--ease) forwards; }
.no-loader .loader { display: none; }

/* анимиран емблем: венчелистчетата се разтварят, лъчите изстрелват, зъбът изплува */
.emblem path { transform-box: fill-box; }
.emblem .e-petals path { transform-origin: 50% 100%; animation: petal 1s calc(var(--i) * .08s + .1s) var(--ease) both; }
.emblem .e-rays path { transform-origin: 50% 0%; animation: ray .9s calc(var(--i) * .06s + .35s) var(--ease) both; }
.emblem .e-tooth path { animation: toothIn 1s .2s var(--ease) both; transform-origin: 50% 50%; }
@keyframes petal { from { transform: scale(.2) rotate(-12deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes ray { from { transform: scaleY(0); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes toothIn { from { transform: translateY(18%) scale(.9); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* --- Навигация --------------------------------------------------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  padding: 14px 0;
  transition: transform .5s var(--ease), padding .4s var(--ease);
}
.nav__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  height: 60px; padding: 0 10px 0 20px; border-radius: 999px;
  transition: background .4s, box-shadow .4s, border-color .4s;
  border: 1px solid transparent;
}
.nav.is-scrolled .nav__bar {
  background: rgba(247, 249, 252, .82);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-color: var(--line);
  box-shadow: 0 10px 30px -18px rgba(12, 32, 64, .35);
}
.nav.is-hidden { transform: translateY(-110%); }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { width: 58px; height: auto; transition: transform .6s var(--ease); }
.brand:hover img { transform: rotate(-6deg) scale(1.06); }
.brand__word { font-family: var(--f-display); font-weight: 500; font-size: 13px; letter-spacing: .42em; line-height: 1.2; }
.brand__word small { display: block; font-family: var(--f-body); font-size: 10px; letter-spacing: .22em; color: var(--muted); font-weight: 700; margin-top: 2px; }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links > li { list-style: none; position: relative; }
.nav__links a.nl {
  display: block; padding: 10px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 600;
  transition: background .3s, color .3s;
}
.nav__links a.nl:hover, .nav__links a.nl[aria-current="page"] { background: rgba(11, 26, 46, .06); }
.nav__links a.nl[aria-current="page"] { color: var(--accent); }
.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__phone { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; padding: 8px 12px; }
.nav__phone svg { width: 18px; height: 18px; color: var(--accent); }

.mega {
  position: absolute; top: calc(100% + 14px); left: 50%; width: min(880px, 92vw);
  transform: translate(-50%, 10px); opacity: 0; visibility: hidden;
  background: var(--pearl); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow); padding: 26px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 28px;
  transition: opacity .35s var(--ease), transform .45s var(--ease), visibility .35s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega h4 { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; font-family: var(--f-body); font-weight: 800; }
.mega a { display: block; padding: 4px 0; font-size: 14.5px; font-weight: 600; color: var(--ink-soft); transition: color .25s, transform .3s var(--ease); }
.mega a:hover { color: var(--ink); transform: translateX(4px); }

.burger { display: none; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); position: relative; flex: none; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--pearl); border-radius: 2px; transition: transform .45s var(--ease), top .45s var(--ease); }
.burger span:nth-child(1) { top: 19px; }
.burger span:nth-child(2) { top: 27px; }
.menu-open .burger span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 23px; transform: rotate(-45deg); }

.mnav {
  position: fixed; inset: 0; z-index: 85; background: var(--ink); color: var(--pearl);
  padding: calc(var(--nav-h) + 30px) var(--gutter) 30px;
  display: flex; flex-direction: column; gap: 30px; overflow-y: auto;
  clip-path: circle(0 at calc(100% - 44px) 44px);
  transition: clip-path .8s var(--ease-in-out);
  visibility: hidden;
}
.menu-open .mnav { clip-path: circle(150% at calc(100% - 44px) 44px); visibility: visible; }
.menu-open .nav__bar { background: transparent !important; box-shadow: none !important; border-color: transparent !important; }
.menu-open .brand, .menu-open .nav__cta .btn { filter: invert(1); }
.mnav ul { list-style: none; }
.mnav li { overflow: hidden; }
.mnav a.big {
  display: flex; align-items: baseline; gap: 14px; padding: 6px 0;
  font-family: var(--f-display); font-size: clamp(1.9rem, 8vw, 3rem); font-weight: 500; letter-spacing: -.02em;
  transform: translateY(110%); transition: transform .8s var(--ease);
}
.mnav a.big small { font-family: var(--f-body); font-size: 12px; color: var(--accent-2); letter-spacing: .1em; }
.menu-open .mnav a.big { transform: none; }
.menu-open .mnav li:nth-child(2) a.big { transition-delay: .05s; }
.menu-open .mnav li:nth-child(3) a.big { transition-delay: .1s; }
.menu-open .mnav li:nth-child(4) a.big { transition-delay: .15s; }
.menu-open .mnav li:nth-child(5) a.big { transition-delay: .2s; }
.menu-open .mnav li:nth-child(6) a.big { transition-delay: .25s; }
.menu-open .mnav li:nth-child(7) a.big { transition-delay: .3s; }
.mnav__foot { margin-top: auto; display: grid; gap: 8px; font-size: 15px; color: rgba(247, 249, 252, .7); }
.mnav__foot a { color: var(--pearl); font-weight: 700; }
body.menu-open { overflow: hidden; }

/* --- Hero (начало) ----------------------------------------------------- */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(22px, 3.5vw, 48px)) 0 clamp(120px, 11vw, 160px);
  overflow: hidden; isolation: isolate;
}
.blobs { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.blob--1 { width: 46vw; height: 46vw; background: var(--blush); top: -12vw; right: -8vw; }
.blob--2 { width: 32vw; height: 32vw; background: var(--lilac-soft); bottom: -8vw; left: -6vw; animation-duration: 22s; }
.blob--3 { width: 18vw; height: 18vw; background: #d6f1ff; top: 40%; left: 38%; animation-duration: 26s; opacity: .6; }
@keyframes drift { to { transform: translate(-6vw, 5vw) scale(1.15); } }
.hero__rays { position: absolute; z-index: -1; width: 120vw; max-width: 1700px; left: 50%; bottom: -20%; transform: translateX(-50%); opacity: .045; fill: var(--ink); pointer-events: none; }

.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.hero__copy { position: relative; z-index: 2; }
.hero h1 { margin: 18px 0 18px; font-size: clamp(2.2rem, 4.5vw, 4.3rem); line-height: 1.02; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); animation: lineUp 1.1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .08s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .16s; }
.hero h1 .line:nth-child(4) > span { animation-delay: .24s; }
.has-loader .hero h1 .line > span { animation-play-state: paused; }
.is-ready .hero h1 .line > span { animation-play-state: running; }
@keyframes lineUp { to { transform: none; } }
.hero h1 .it { font-size: 1.14em; line-height: .8; }
.hero h1 .tooth-inline { display: inline-block; width: .95em; height: auto; vertical-align: .05em; margin-left: .18em; fill: var(--accent); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.hero__art { position: relative; height: min(62vh, 540px); min-height: 420px; }
.hero__main {
  position: absolute; right: 0; top: 0; width: 78%; height: 88%;
  border-radius: var(--arch); overflow: hidden; box-shadow: var(--shadow);
  clip-path: inset(100% 0 0 0 round 999px 999px 28px 28px);
  animation: reveal 1.4s .25s var(--ease-in-out) forwards;
}
.has-loader .hero__main, .has-loader .hero__side, .has-loader .hero__card, .has-loader .badge { animation-play-state: paused; }
.is-ready .hero__main, .is-ready .hero__side, .is-ready .hero__card, .is-ready .badge { animation-play-state: running; }
@keyframes reveal { to { clip-path: inset(0 0 0 0 round 999px 999px 28px 28px); } }
.hero__main img, .hero__side img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); animation: unzoom 2s .25s var(--ease) forwards; }
@keyframes unzoom { to { transform: scale(1.02); } }
.hero__side {
  position: absolute; left: 0; bottom: 0; width: 44%; aspect-ratio: 1; border-radius: 50%;
  overflow: hidden; border: 8px solid var(--pearl); box-shadow: var(--shadow);
  opacity: 0; animation: popIn 1.1s .9s var(--ease) forwards;
}
@keyframes popIn { from { opacity: 0; transform: scale(.6) rotate(-10deg); } to { opacity: 1; transform: none; } }
.hero__card {
  position: absolute; left: 4%; top: 12%; max-width: 250px; padding: 16px 18px;
  border-radius: 18px; background: rgba(255, 255, 255, .78); backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .8); box-shadow: var(--shadow-sm);
  display: flex; gap: 12px; align-items: center; font-size: 13.5px; line-height: 1.35; font-weight: 600;
  opacity: 0; animation: fadeUp 1s 1.3s var(--ease) forwards, float 6s 2.3s ease-in-out infinite;
}
.hero__card .ic { flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--ink); color: var(--pearl); display: grid; place-items: center; }
.hero__card .ic svg { width: 22px; height: 22px; }
@keyframes float { 50% { transform: translateY(-10px); } }

.badge {
  position: absolute; right: -2%; bottom: 4%; width: 138px; height: 138px; border-radius: 50%;
  background: var(--accent); color: #fff; display: grid; place-items: center;
  box-shadow: 0 20px 40px -18px rgba(29, 95, 214, .8);
  opacity: 0; animation: popIn 1s 1.1s var(--ease) forwards;
}
.badge svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 16s linear infinite; }
.badge svg.ring text { font-family: var(--f-body); font-size: 9.6px; font-weight: 800; letter-spacing: .21em; fill: #fff; }
.badge b { font-family: var(--f-display); font-size: 30px; line-height: 1; text-align: center; font-weight: 600; }
.badge b small { display: block; font-size: 10px; font-family: var(--f-body); letter-spacing: .14em; font-weight: 800; margin-top: 4px; }
@keyframes spin { to { transform: rotate(360deg); } }


/* --- Маркиза ------------------------------------------------------------ */
.ribbons { overflow: hidden; padding: 30px 0; margin: -30px 0; position: relative; z-index: 3; }
.marquee { overflow: hidden; background: var(--ink); color: var(--pearl); padding: 26px 0; transform: rotate(-2deg) scale(1.04); margin: -10px 0; position: relative; z-index: 3; }
.marquee--alt { background: var(--accent); transform: rotate(1.5deg) scale(1.04); margin-top: -64px; z-index: 2; }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee--alt .marquee__track { animation-direction: reverse; animation-duration: 46s; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: flex; align-items: center; gap: 34px; padding-right: 34px; font-family: var(--f-display); font-size: clamp(1.4rem, 3vw, 2.4rem); font-weight: 500; white-space: nowrap; letter-spacing: -.01em; }
.marquee__item .it { color: var(--accent-2); font-size: 1.15em; }
.marquee--alt .marquee__item .it { color: var(--ink); }
.marquee__item svg { width: 44px; flex: none; fill: currentColor; opacity: .9; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --- Манифест (думите светват при скрол) ------------------------------ */
.manifest { font-family: var(--f-display); font-size: clamp(1.35rem, 2.5vw, 2.15rem); line-height: 1.15; font-weight: 500; letter-spacing: -.025em; max-width: 1100px; }
.manifest .w { color: rgba(11, 26, 46, .14); transition: color .4s; }
.manifest .w.on { color: var(--ink); }
.manifest .w.on.it { color: var(--accent); }
.manifest-sign { display: flex; align-items: center; gap: 16px; margin-top: 28px; }
.manifest-sign img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.manifest-sign b { display: block; font-size: 16px; }
.manifest-sign span { font-size: 14px; color: var(--muted); }

/* --- Заглавие на секция ------------------------------------------------ */
.shead { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px 30px; margin-bottom: clamp(28px, 3.5vw, 48px); flex-wrap: wrap; }
.shead h2 { margin-top: 12px; max-width: 20ch; }
.shead .lead { max-width: 44ch; }
.shead--compact { margin-bottom: clamp(24px, 3vw, 36px); align-items: center; }
.shead--compact h2 { max-width: none; margin-top: 12px; font-size: clamp(1.8rem, 3.4vw, 3rem); }
.shead--compact .lead { font-size: 15.5px; max-width: 40ch; }

/* --- Бенто ------------------------------------------------------------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(120px, auto); gap: 16px; }
.tile {
  position: relative; overflow: hidden; border-radius: var(--r); padding: clamp(22px, 2.4vw, 34px);
  background: #fff; border: 1px solid var(--line); isolation: isolate;
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
  transform-style: preserve-3d;
}
.tile:hover { box-shadow: var(--shadow); }
.tile h3 { font-size: clamp(1.2rem, 1.8vw, 1.6rem); line-height: 1.12; }
.tile p { margin: 0; font-size: 15px; color: var(--ink-soft); }
.tile .num { font-family: var(--f-display); font-size: clamp(3rem, 6vw, 5.2rem); font-weight: 600; letter-spacing: -.05em; line-height: .9; }
.tile .tag { align-self: flex-start; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: var(--pearl-2); }
.tile--img { padding: 0; color: #fff; min-height: 360px; }
.tile--img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.tile--img::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 26, 46, 0) 35%, rgba(11, 26, 46, .85)); }
.tile--img:hover img { transform: scale(1.06); }
.tile--img .tile__in { margin-top: auto; padding: clamp(22px, 2.4vw, 34px); }
.tile--img p { color: rgba(255, 255, 255, .82); }
.tile--img .tag { background: rgba(255, 255, 255, .18); backdrop-filter: blur(8px); color: #fff; margin: clamp(22px, 2.4vw, 34px) 0 0 clamp(22px, 2.4vw, 34px); }
.tile--ink { background: var(--ink); color: var(--pearl); border-color: var(--ink); }
.tile--ink p { color: rgba(247, 249, 252, .7); }
.tile--ink .tag { background: rgba(255, 255, 255, .1); }
.tile--accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.tile--accent p { color: rgba(255, 255, 255, .85); }
.tile--accent .tag { background: rgba(255, 255, 255, .18); }
.tile--lilac { background: var(--lilac-soft); border-color: transparent; }
.tile--blush { background: var(--blush); border-color: transparent; }
.tile .deco { position: absolute; right: -30px; bottom: -30px; width: 180px; opacity: .12; z-index: -1; fill: currentColor; transition: transform 1s var(--ease); }
.tile:hover .deco { transform: rotate(-12deg) scale(1.1); }
.tile .arrow { position: absolute; right: 20px; top: 20px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid currentColor; opacity: .5; transition: all .5s var(--ease); }
.tile .arrow svg { width: 16px; height: 16px; }
.tile:hover .arrow { opacity: 1; transform: rotate(-45deg); background: var(--ink); color: #fff; border-color: var(--ink); }
.tile--ink:hover .arrow, .tile--img:hover .arrow { background: #fff; color: var(--ink); border-color: #fff; }
.c-4 { grid-column: span 4; } .c-5 { grid-column: span 5; } .c-6 { grid-column: span 6; } .c-7 { grid-column: span 7; } .c-8 { grid-column: span 8; } .c-3 { grid-column: span 3; }
.r-2 { grid-row: span 2; }

/* --- Акценти под hero (панел) ----------------------------------------- */
.hl { position: relative; z-index: 5; margin-top: calc(-1 * clamp(80px, 8vw, 110px)); }
.hl__panel {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: linear-gradient(135deg, #0b1a2e 0%, #10284a 55%, #0d3b7a 130%);
  color: var(--pearl); border-radius: var(--r-lg);
  box-shadow: 0 40px 80px -40px rgba(12, 32, 64, .7);
}
.hl__panel::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(600px 180px at var(--gx, 20%) 0%, rgba(90, 162, 255, .35), transparent 70%);
  animation: glowMove 9s ease-in-out infinite alternate;
}
@keyframes glowMove { from { --gx: 10%; background-position: 0 0; } to { --gx: 90%; } }
@property --gx { syntax: '<percentage>'; inherits: false; initial-value: 20%; }
.hl__panel::after {
  content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 40%;
  background: linear-gradient(90deg, transparent, var(--accent-2), #7dd3fc, transparent);
  animation: sweep 5s linear infinite;
}
@keyframes sweep { from { transform: translateX(-100%); } to { transform: translateX(350%); } }
.hl__item { position: relative; padding: clamp(24px, 2.6vw, 36px) clamp(20px, 2.2vw, 30px); display: grid; gap: 10px; align-content: start; transition: background .5s var(--ease); }
.hl__item + .hl__item { border-left: 1px solid rgba(247, 249, 252, .09); }
.hl__item:hover { background: rgba(90, 162, 255, .08); }
.hl__item::after { content: ""; position: absolute; left: 24px; right: 24px; bottom: 0; height: 2px; background: var(--accent-2); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.hl__item:hover::after { transform: scaleX(1); }
.hl__top { display: flex; align-items: center; gap: 14px; }
.hl__ic { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(90, 162, 255, .14); color: #8cc0ff; transition: transform .6s var(--ease), background .4s; }
.hl__item:hover .hl__ic { transform: rotate(-8deg) scale(1.08); background: var(--accent); color: #fff; }
.hl__ic svg { width: 24px; height: 24px; }
.hl__ic svg * { stroke-dasharray: 80; stroke-dashoffset: 80; transition: stroke-dashoffset 1.6s var(--ease) .2s; }
.hl.is-in .hl__ic svg * { stroke-dashoffset: 0; }
.hl__num { font-family: var(--f-display); font-size: clamp(1.9rem, 3vw, 2.7rem); font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.hl__num sup { font-size: .5em; color: var(--accent-2); top: -.6em; margin-left: 2px; }
.hl__label { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #8cc0ff; }
.hl__item p { margin: 0; font-size: 14.5px; line-height: 1.5; color: rgba(247, 249, 252, .68); }
.hl__item { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease), background .5s var(--ease); }
.hl.is-in .hl__item { opacity: 1; transform: none; }
.hl.is-in .hl__item:nth-child(2) { transition-delay: .08s, .08s, 0s; }
.hl.is-in .hl__item:nth-child(3) { transition-delay: .16s, .16s, 0s; }
.hl.is-in .hl__item:nth-child(4) { transition-delay: .24s, .24s, 0s; }

/* --- Кратко представяне ---------------------------------------------- */
.intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.intro__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.intro__media { position: relative; }
.intro__img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--shadow); clip-path: inset(0 0 100% 0 round var(--r-lg)); transition: clip-path 1.3s var(--ease-in-out); }
.intro__media.is-in .intro__img { clip-path: inset(0 0 0 0 round var(--r-lg)); }
.no-js .intro__img { clip-path: none; }
.intro__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.6s var(--ease); }
.intro__media.is-in .intro__img img { transform: none; }
.intro__docs {
  position: absolute; left: clamp(-30px, -2vw, -10px); bottom: -26px; display: flex; align-items: center; gap: 14px;
  padding: 12px 20px 12px 12px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  font-size: 13.5px; font-weight: 700; line-height: 1.25;
}
.intro__docs .av { display: flex; }
.intro__docs .av img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; margin-left: -12px; opacity: 0; transform: scale(.4); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.intro__docs .av img:first-child { margin-left: 0; }
.intro__media.is-in .intro__docs .av img { opacity: 1; transform: none; }
.intro__media.is-in .intro__docs .av img:nth-child(2) { transition-delay: .12s; }
.intro__media.is-in .intro__docs .av img:nth-child(3) { transition-delay: .24s; }
.intro__docs small { display: block; color: var(--muted); font-weight: 600; }
.intro__seal { position: absolute; right: -18px; top: -26px; width: 118px; height: 118px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; box-shadow: 0 20px 40px -16px rgba(29, 95, 214, .7); }
.intro__seal svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.intro__seal svg.ring text { font-family: var(--f-body); font-size: 10px; font-weight: 800; letter-spacing: .22em; fill: #fff; }
.intro__seal .emblem { width: 58px; fill: #fff; }

/* --- Услуги: табове по категории (компактно) -------------------------- */
.svx { display: grid; gap: 16px; }
.svx__tabs {
  display: flex; gap: 4px; padding: 5px; width: fit-content; max-width: 100%;
  border-radius: 999px; background: rgba(247, 249, 252, .05); border: 1px solid rgba(247, 249, 252, .09);
  overflow-x: auto; scrollbar-width: none;
}
.svx__tabs::-webkit-scrollbar { display: none; }
.svx__tab {
  position: relative; overflow: hidden; flex: none; display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 14px; border-radius: 999px; color: rgba(247, 249, 252, .66);
  transition: background .4s var(--ease), color .3s;
}
.svx__tab:hover { color: var(--pearl); background: rgba(247, 249, 252, .06); }
.svx__tab b { font-size: 13.5px; font-weight: 700; letter-spacing: .01em; white-space: nowrap; }
.svx__tab small { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; display: grid; place-items: center; font-size: 11.5px; font-weight: 800; background: rgba(247, 249, 252, .1); }
.svx__tab[aria-selected="true"] { background: var(--pearl); color: var(--ink); }
.svx__tab[aria-selected="true"] small { background: var(--accent); color: #fff; }
.svx__tab::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(var(--p, 0)); transform-origin: left; }
.svx.is-manual .svx__tab::after { display: none; }
.svx__panel {
  display: grid; grid-template-columns: minmax(240px, 300px) 1fr; border-radius: var(--r-lg); overflow: hidden;
  background: var(--ink-2); border: 1px solid rgba(247, 249, 252, .08);
}
.svx__panel[hidden] { display: none; }
.svx__media { position: relative; overflow: hidden; min-height: 220px; }
.svx__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svx__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 26, 46, .05) 40%, rgba(11, 26, 46, .8)); }
.svx__media .cap { position: absolute; left: 22px; bottom: 18px; z-index: 1; font-family: var(--f-display); font-size: clamp(2.2rem, 3.6vw, 3.2rem); font-weight: 600; letter-spacing: -.05em; line-height: 1; color: #fff; }
.svx__media .cap small { display: block; font-family: var(--f-body); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #8cc0ff; margin-top: 6px; }
.svx__body { padding: clamp(20px, 2.4vw, 30px); display: flex; flex-direction: column; }
.svx__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px 20px; flex-wrap: wrap; margin-bottom: 16px; }
.svx__head h3 { font-size: clamp(1.25rem, 1.9vw, 1.6rem); letter-spacing: -.02em; }
.svx__head p { margin: 0; font-size: 14px; color: rgba(247, 249, 252, .6); }
.svx__list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.svx__list a {
  height: 100%; display: grid; grid-template-columns: 1fr 30px; gap: 10px; align-items: center;
  padding: 13px 14px 13px 16px; border-radius: 16px;
  background: rgba(247, 249, 252, .04); border: 1px solid rgba(247, 249, 252, .07);
  transition: background .35s, border-color .35s, transform .45s var(--ease);
}
.svx__list a b { display: block; font-size: 15px; font-weight: 700; color: var(--pearl); line-height: 1.3; transition: color .3s; }
.svx__list a span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12.5px; color: rgba(247, 249, 252, .55); margin-top: 3px; line-height: 1.45; }
.svx__list a i { width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(247, 249, 252, .18); display: grid; place-items: center; transition: all .45s var(--ease); }
.svx__list a i svg { width: 13px; height: 13px; }
.svx__list a:hover { background: rgba(90, 162, 255, .12); border-color: rgba(90, 162, 255, .35); transform: translateY(-2px); }
.svx__list a:hover b { color: #9cc8ff; }
.svx__list a:hover i { background: var(--accent); border-color: var(--accent); transform: rotate(-45deg); }
.svx__foot { margin-top: auto; padding-top: 16px; font-size: 14.5px; }
.svx__panel.is-on .svx__media img { animation: svxImg 1s var(--ease-in-out) both; }
.svx__panel.is-on .svx__media .cap { animation: fadeUp .7s .3s var(--ease) both; }
.svx__panel.is-on .svx__head { animation: fadeUp .6s var(--ease) both; }
.svx__panel.is-on .svx__list li { animation: fadeUp .6s var(--ease) both; animation-delay: calc(.08s + var(--k) * .05s); }
@keyframes svxImg { from { clip-path: inset(0 100% 0 0); transform: scale(1.12); } to { clip-path: inset(0 0 0 0); transform: scale(1); } }

/* --- Как работим (компактни стъпки) ------------------------------------ */
.process { background: var(--pearl-2); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.stp { position: relative; opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i) * .1s); }
.steps.is-in .stp { opacity: 1; transform: none; }
.stp__img { position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: var(--shell); }
.stp__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.stp__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 26, 46, 0) 45%, rgba(11, 26, 46, .45)); transition: opacity .5s; }
.stp:hover .stp__img img { transform: scale(1.07); }
.stp:hover .stp__img::after { opacity: .4; }
.stp__n { position: absolute; left: 12px; top: 12px; z-index: 1; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .92); font-family: var(--f-display); font-size: 12px; font-weight: 600; color: var(--ink); }
.stp__rail { position: relative; height: 16px; margin: 18px 0 14px; }
.stp__rail::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; z-index: 1;
  background: var(--pearl); border: 3px solid var(--accent); transform: scale(0);
  transition: transform .5s var(--ease), background .3s; transition-delay: calc(var(--i) * .18s + .2s);
}
.stp__rail::after {
  content: ""; position: absolute; left: 16px; right: -16px; top: 50%; height: 2px; margin-top: -1px;
  background: linear-gradient(90deg, var(--accent), var(--lilac)); transform: scaleX(0); transform-origin: left;
  transition: transform .7s var(--ease); transition-delay: calc(var(--i) * .18s + .35s);
}
.stp:last-child .stp__rail::after { right: 30%; background: linear-gradient(90deg, var(--lilac), transparent); }
.steps.is-in .stp__rail::before { transform: none; }
.steps.is-in .stp__rail::after { transform: none; }
.stp:hover .stp__rail::before { background: var(--accent); }
.stp h3 { font-size: 1.05rem; letter-spacing: -.01em; line-height: 1.2; margin-bottom: 6px; }
.stp p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink-soft); }

.swipe { display: none; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; transition: opacity .5s; }
.swipe__dots { display: flex; gap: 6px; }
.swipe__dots i { width: 7px; height: 7px; border-radius: 99px; background: var(--line-strong); transition: width .4s var(--ease), background .3s; }
.swipe__dots i.on { width: 22px; background: var(--accent); }
.swipe__hint { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--accent); transition: opacity .5s; }
.swipe__hint b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; animation: nudge 1.4s var(--ease) infinite; }
.swipe__hint b svg { width: 14px; height: 14px; }
.swipe.is-used .swipe__hint { opacity: 0; }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(8px); } }

/* --- Екип --------------------------------------------------------------- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 32px); }
.team > :nth-child(2) { margin-top: 40px; }
.team > :nth-child(3) { margin-top: 80px; }
.doc { position: relative; }
.doc__img { position: relative; aspect-ratio: 4 / 5; border-radius: var(--arch); overflow: hidden; background: var(--shell); }
.doc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .8s; filter: saturate(.9); }
.doc:hover .doc__img img { transform: scale(1.06); filter: saturate(1.1); }
.team--compact { grid-template-columns: repeat(3, 1fr); gap: 16px; }
.team--compact > * { margin-top: 0 !important; }
.team--compact .doc { display: grid; grid-template-columns: 116px 1fr; gap: 18px; align-items: center; padding: 16px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); transition: box-shadow .5s var(--ease), transform .5s var(--ease), border-color .4s; }
.team--compact .doc:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); border-color: rgba(29, 95, 214, .3); }
.team--compact .doc__img { aspect-ratio: 4 / 5; border-radius: 999px 999px 16px 16px; }
.team--compact .doc h3 { font-size: 1.02rem; margin: 0 0 4px; line-height: 1.2; }
.team--compact .doc .role { font-size: 12.5px; }
.team--compact .doc p { font-size: 13.5px; line-height: 1.5; margin-top: 8px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.doc__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(29, 95, 214, .35)); opacity: 0; transition: opacity .6s; }
.doc:hover .team--compact { grid-template-columns: repeat(3, 1fr); gap: 16px; }
.team--compact > * { margin-top: 0 !important; }
.team--compact .doc { display: grid; grid-template-columns: 116px 1fr; gap: 18px; align-items: center; padding: 16px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); transition: box-shadow .5s var(--ease), transform .5s var(--ease), border-color .4s; }
.team--compact .doc:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); border-color: rgba(29, 95, 214, .3); }
.team--compact .doc__img { aspect-ratio: 4 / 5; border-radius: 999px 999px 16px 16px; }
.team--compact .doc h3 { font-size: 1.02rem; margin: 0 0 4px; line-height: 1.2; }
.team--compact .doc .role { font-size: 12.5px; }
.team--compact .doc p { font-size: 13.5px; line-height: 1.5; margin-top: 8px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.doc__img::after { opacity: 1; }
.doc h3 { font-size: clamp(1.15rem, 1.6vw, 1.45rem); margin: 20px 0 6px; }
.doc .role { font-size: 14px; font-weight: 700; color: var(--accent); }
.doc p { font-size: 15px; color: var(--ink-soft); margin-top: 12px; }
.doc .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.doc .tags span { font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--pearl-2); border: 1px solid var(--line); }

/* --- Галерия ------------------------------------------------------------ */
.strip { display: flex; gap: 18px; width: max-content; animation: marquee 60s linear infinite; }
.strip:hover { animation-play-state: paused; }
.strip figure { margin: 0; width: clamp(240px, 28vw, 400px); aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; flex: none; }
.strip figure:nth-child(3n+2) { aspect-ratio: 3 / 4; width: clamp(180px, 20vw, 290px); border-radius: var(--arch); }
.strip figure:nth-child(4n) { transform: translateY(40px); }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.strip figure:hover img { transform: scale(1.08); }
.strip-wrap { overflow: hidden; padding: 20px 0 60px; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.filters button { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 14px; font-weight: 700; transition: all .3s; }
.filters button[aria-pressed="true"], .filters button:hover { background: var(--ink); color: var(--pearl); border-color: var(--ink); }
.masonry { columns: 3 300px; column-gap: 16px; }
.masonry figure { margin: 0 0 16px; break-inside: avoid; border-radius: var(--r); overflow: hidden; position: relative; cursor: zoom-in; }
.masonry figure.is-hidden { display: none; }
.masonry img { width: 100%; transition: transform 1s var(--ease); }
.masonry figure:hover img { transform: scale(1.05); }
.masonry figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .85); backdrop-filter: blur(8px); font-size: 12.5px; font-weight: 700; transform: translateY(10px); opacity: 0; transition: all .4s var(--ease); }
.masonry figure:hover figcaption { transform: none; opacity: 1; }

.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(6, 14, 28, .94); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; padding: 60px 16px; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-height: 84vh; max-width: min(1400px, 100%); border-radius: 16px; object-fit: contain; transform: scale(.94); transition: transform .5s var(--ease); }
.lightbox.is-open img { transform: none; }
.lightbox button { position: absolute; width: 54px; height: 54px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; display: grid; place-items: center; transition: background .3s; }
.lightbox button:hover { background: var(--accent); }
.lightbox button svg { width: 20px; height: 20px; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, .7); font-size: 13px; letter-spacing: .1em; }

/* --- Детски ден ------------------------------------------------------- */
.kids { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.kids__img { position: relative; }
.kids__img img { border-radius: var(--r-lg); transform: rotate(-3deg); box-shadow: var(--shadow); }
.kids__img .sticker { position: absolute; top: -26px; right: -10px; background: var(--gold); color: var(--ink); width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; text-align: center; font-family: var(--f-display); font-weight: 600; font-size: 13px; line-height: 1.15; transform: rotate(12deg); box-shadow: var(--shadow-sm); }
.kids__img .sticker b { display: block; font-size: 34px; }
.partners { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.partners span { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 12.5px; font-weight: 700; }

/* --- Контакти / CTA ---------------------------------------------------- */
.cta { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--ink); color: var(--pearl); padding: clamp(22px, 3.6vw, 48px); isolation: isolate; }
.cta .blob { opacity: .35; }
.cta__grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(22px, 3.5vw, 48px); align-items: center; }
.cta__big { font-family: var(--f-display); font-size: clamp(1.8rem, 3.3vw, 2.8rem); line-height: 1.02; letter-spacing: -.035em; font-weight: 600; margin: 12px 0 10px; }
.cta__lead { margin: 0 0 20px; font-size: 15.5px; color: rgba(247, 249, 252, .72); }
.cta__phones { display: grid; gap: 8px; }
.cta__phones a {
  display: flex; align-items: center; gap: 12px; padding: 11px 16px; border-radius: 14px;
  background: rgba(247, 249, 252, .06); border: 1px solid rgba(247, 249, 252, .1);
  font-family: var(--f-display); font-size: 1.1rem; font-weight: 500; letter-spacing: -.01em;
  transition: background .35s, border-color .35s, transform .45s var(--ease);
}
.cta__phones a svg { width: 18px; height: 18px; color: var(--accent-2); flex: none; transition: color .3s; }
.cta__phones a small { margin-left: auto; font-family: var(--f-body); font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: rgba(247, 249, 252, .5); transition: color .3s; }
.cta__phones a:hover { background: var(--accent); border-color: var(--accent); transform: translateX(4px); }
.cta__phones a:hover svg, .cta__phones a:hover small { color: #fff; }
.cta__hours { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 18px; font-size: 14px; color: rgba(247, 249, 252, .72); }
.cta__hours b { color: var(--pearl); font-weight: 700; margin-right: 4px; }
.cta__hours .open-now { margin: 0; flex-basis: 100%; width: fit-content; max-width: fit-content; }
.cta__meta { list-style: none; display: grid; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(247, 249, 252, .1); font-size: 14px; color: rgba(247, 249, 252, .72); }
.cta__meta li { display: flex; gap: 10px; align-items: flex-start; }
.cta__meta svg { width: 17px; height: 17px; flex: none; margin-top: 2px; color: var(--accent-2); }
.cta__meta a:hover { color: var(--pearl); text-decoration: underline; }
.phones { display: grid; gap: 10px; margin-top: 30px; }
.phones a { display: flex; align-items: center; gap: 14px; font-family: var(--f-display); font-size: clamp(1.2rem, 2.2vw, 1.8rem); font-weight: 500; letter-spacing: -.01em; width: fit-content; transition: color .3s, transform .4s var(--ease); }
.phones a:hover { color: var(--accent-2); transform: translateX(6px); }
.phones a small { font-family: var(--f-body); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(247, 249, 252, .5); font-weight: 700; }
.hours { list-style: none; border-top: 1px solid rgba(247, 249, 252, .16); }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(247, 249, 252, .16); font-size: 15px; }
.hours li.is-today { color: var(--accent-2); font-weight: 800; }
.hours li span:last-child { text-align: right; }
.light .hours { border-color: var(--line); }
.light .hours li { border-color: var(--line); }
.light .hours li.is-today { color: var(--accent); }
.open-now { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: .06em; padding: 6px 12px; border-radius: 999px; background: rgba(76, 190, 120, .15); color: #3aa467; margin-bottom: 14px; }
.open-now.is-closed { background: rgba(29, 95, 214, .12); color: var(--accent-2); }
.open-now i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }

.map { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 360px; background: var(--shell); isolation: isolate; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__cover { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 14px; padding: 28px; color: #fff; }
.map__cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.map__cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 26, 46, .05), rgba(11, 26, 46, .8)); z-index: -1; }
.map__pin { display: none; position: absolute; top: 40%; left: 50%; transform: translate(-50%, -50%); width: 70px; height: 70px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; box-shadow: 0 0 0 0 rgba(29, 95, 214, .6); animation: pin 2s infinite; }
.map__pin svg { width: 30px; fill: #fff; }
@keyframes pin { 70% { box-shadow: 0 0 0 28px rgba(29, 95, 214, 0); } 100% { box-shadow: 0 0 0 0 rgba(29, 95, 214, 0); } }

/* --- Форма -------------------------------------------------------------- */
.form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: start; }
.field { display: grid; gap: 5px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 12.5px; font-weight: 700; color: var(--ink-soft); padding: 0; }
.field input, .field select, .field textarea {
  width: 100%; min-width: 0; font: inherit; font-size: 15px; color: var(--ink); line-height: 1.3;
  padding: 12px 15px; border-radius: 13px; border: 1.5px solid var(--line); background: #fff; min-height: 48px;
  transition: border-color .3s, box-shadow .3s;
}
.field textarea { min-height: 84px; resize: vertical; }
.field input[type="date"] { -webkit-appearance: none; appearance: none; display: block; width: 100%; max-width: 100%; min-width: 0; text-align: left; }
.field input[type="date"]::-webkit-date-and-time-value { text-align: left; margin: 0; }
.field input[type="date"]::-webkit-datetime-edit { padding: 0; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; text-overflow: ellipsis; white-space: nowrap;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1a2e' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(29, 95, 214, .12); }
fieldset.field { border: 0; margin: 0; padding: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pills label { position: relative; }
.pills input { position: absolute; opacity: 0; pointer-events: none; }
.pills span { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-size: 13.5px; font-weight: 700; cursor: pointer; transition: all .3s; }
.pills input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.pills input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: var(--ink-soft); }
.form__submit { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; margin-top: 2px; }
.form__submit small { font-size: 12.5px; color: var(--muted); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.check a { text-decoration: underline; }
.hp { position: absolute; left: -9999px; }
.form__msg { grid-column: 1 / -1; padding: 14px 18px; border-radius: 14px; font-weight: 600; display: none; }
.form__msg.is-ok { display: block; background: #e7f6ec; color: #1f6b3d; }
.form__msg.is-err { display: block; background: #fbe6ee; color: var(--accent-deep); }
.form-card { background: #fff; color: var(--ink); border-radius: var(--r); padding: clamp(18px, 2.6vw, 32px); box-shadow: var(--shadow); border: 1px solid var(--line); min-width: 0; }
.form-card > h3 { font-size: clamp(1.1rem, 1.6vw, 1.35rem); letter-spacing: -.015em; margin-bottom: 16px; }
.form-success { text-align: center; padding: 30px 10px; }
.form-success .emblem { width: 160px; margin: 0 auto 20px; fill: var(--accent); }

/* --- Под-страници ------------------------------------------------------ */
.phero { position: relative; padding: calc(var(--nav-h) + clamp(30px, 4.5vw, 64px)) 0 clamp(30px, 4vw, 56px); overflow: hidden; isolation: isolate; }
.phero h1 { margin: 14px 0 14px; max-width: 18ch; font-size: clamp(1.9rem, 4vw, 3.4rem); }
.phero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.phero h1 .line > span { display: inline-block; transform: translateY(105%); animation: lineUp 1.1s .1s var(--ease) forwards; }
.phero .lead { animation: fadeUp 1s .35s var(--ease) both; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.crumbs span[aria-hidden] { opacity: .5; }
.phero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 70px); align-items: end; }
.phero__img { position: relative; aspect-ratio: 16 / 11; max-height: 400px; border-radius: var(--arch); overflow: hidden; box-shadow: var(--shadow); clip-path: inset(100% 0 0 0 round 999px 999px 28px 28px); animation: reveal 1.3s .2s var(--ease-in-out) forwards; }
.phero__img img { width: 100%; height: 100%; object-fit: cover; }
.phero__big { position: absolute; right: -2vw; bottom: -4vw; font-family: var(--f-display); font-size: clamp(6rem, 16vw, 14rem); font-weight: 700; letter-spacing: -.06em; line-height: .8; color: transparent; -webkit-text-stroke: 1.5px rgba(11, 26, 46, .07); z-index: -1; pointer-events: none; white-space: nowrap; }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(30px, 5vw, 80px); align-items: start; }
.aside { position: sticky; top: calc(var(--nav-h) + 20px); display: grid; gap: 16px; }
.aside .box { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.aside .box--ink { background: var(--ink); color: var(--pearl); border-color: var(--ink); }
.aside h4 { font-size: 15px; margin-bottom: 14px; font-family: var(--f-body); font-weight: 800; letter-spacing: .02em; }
.aside ul { list-style: none; }
.aside li a { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; font-weight: 600; color: var(--ink-soft); transition: color .3s, padding .4s var(--ease); }
.aside li a:hover { color: var(--accent); padding-left: 6px; }
.aside li a[aria-current="page"] { color: var(--accent); }
.aside li:last-child a { border-bottom: 0; }

.prose { font-size: 16.5px; line-height: 1.7; color: var(--ink-soft); max-width: 74ch; }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin-bottom: 0; }
.prose h2 { font-size: clamp(1.3rem, 2vw, 1.7rem); color: var(--ink); margin-top: 1.6em; letter-spacing: -.02em; line-height: 1.15; }
.prose h3 { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink); margin-top: 1.6em; line-height: 1.25; }
.prose ul, .prose ol { padding-left: 0; list-style: none; display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 30px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(29, 95, 214, .14); }
.prose ol { counter-reset: n; }
.prose ol li { counter-increment: n; position: relative; padding-left: 46px; min-height: 32px; }
.prose ol li::before { content: counter(n); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.prose strong { color: var(--ink); }
.prose .intro { font-size: clamp(1.15rem, 1.6vw, 1.35rem); color: var(--ink); line-height: 1.6; }
.callout { border-radius: var(--r); padding: 26px 28px; background: var(--lilac-soft); color: var(--ink); position: relative; overflow: hidden; }
.callout--accent { background: var(--blush); }
.callout--ink { background: var(--ink); color: var(--pearl); }
.callout b { display: block; font-family: var(--f-display); font-size: 1.1rem; margin-bottom: 6px; font-weight: 600; }
.pros { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pros > div { border-radius: var(--r); padding: 24px; border: 1px solid var(--line); background: #fff; }
.pros h3 { margin-top: 0 !important; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.pros h3 i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 15px; color: #fff; background: #3aa467; }
.pros > div + div h3 i { background: var(--accent); }
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 18px; background: #fff; border: 1px solid var(--line); overflow: hidden; transition: box-shadow .4s; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 60px 20px 22px; font-weight: 700; color: var(--ink); position: relative; font-size: 16.5px; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; background: var(--pearl-2); display: grid; place-items: center; font-size: 20px; font-weight: 500; transition: transform .4s var(--ease), background .3s, color .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--accent); color: #fff; }
.faq details > div { padding: 0 22px 20px; color: var(--ink-soft); }
.table-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); background: #fff; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.table-wrap th, .table-wrap td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-wrap th { background: var(--pearl-2); color: var(--ink); font-size: 13px; letter-spacing: .04em; }
.table-wrap tr:last-child td { border-bottom: 0; }
.table-wrap td:first-child { font-weight: 700; color: var(--ink); }

/* карти за услуги (страница „Услуги“) */
.svc-group + .svc-group { margin-top: clamp(40px, 5vw, 64px); }
.svc-group__head { display: grid; grid-template-columns: 110px 1fr; gap: 20px; align-items: baseline; margin-bottom: 20px; }
.svc-group__head .idx { font-family: var(--f-display); font-size: 14px; color: var(--accent); font-weight: 600; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.card {
  position: relative; display: flex; flex-direction: column; gap: 12px; min-height: 210px;
  padding: 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--line);
  overflow: hidden; isolation: isolate; transition: transform .6s var(--ease), box-shadow .6s var(--ease), color .4s;
}
.card::before { content: ""; position: absolute; inset: 0; background: var(--ink); z-index: -1; clip-path: circle(0 at var(--mx, 90%) var(--my, 10%)); transition: clip-path .7s var(--ease); }
.card:hover::before { clip-path: circle(150% at var(--mx, 90%) var(--my, 10%)); }
.card:hover { color: var(--pearl); box-shadow: var(--shadow); transform: translateY(-4px); }
.card .ic { width: 50px; height: 50px; border-radius: 16px; background: var(--pearl-2); display: grid; place-items: center; color: var(--accent); transition: background .4s, transform .6s var(--ease); }
.card:hover .ic { background: var(--accent); color: #fff; transform: rotate(-8deg); }
.card .ic svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.15rem; line-height: 1.2; letter-spacing: -.01em; }
.card p { font-size: 14.5px; margin: 0; color: var(--muted); transition: color .4s; }
.card:hover p { color: rgba(247, 249, 252, .7); }
.card .go { margin-top: auto; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.card .go svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.card:hover .go svg { transform: translateX(6px); }

/* следваща услуга */
.next-svc { display: block; position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--ink); color: var(--pearl); padding: clamp(30px, 5vw, 70px); isolation: isolate; }
.next-svc small { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 800; color: rgba(247, 249, 252, .6); }
.next-svc b { display: block; font-family: var(--f-display); font-size: clamp(1.8rem, 5vw, 4rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.05; margin-top: 12px; transition: transform .7s var(--ease); }
.next-svc:hover b { transform: translateX(20px); }
.next-svc .emblem-bg { position: absolute; right: -60px; bottom: -80px; width: 420px; fill: var(--accent); opacity: .25; z-index: -1; transition: transform 1.2s var(--ease); }
.next-svc:hover .emblem-bg { transform: rotate(-10deg) scale(1.1); }

/* ценности / стъпки */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.value { border-top: 2px solid var(--ink); padding-top: 22px; }
.value .k { font-family: var(--f-display); font-size: 13px; color: var(--accent); font-weight: 600; }
.value h3 { font-size: 1.3rem; margin: 10px 0 10px; }
.value p { font-size: 15px; color: var(--ink-soft); margin: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 100px); align-items: center; }
.split--rev > :first-child { order: 2; }
.stack-img { position: relative; }
.stack-img img:first-child { border-radius: var(--arch); aspect-ratio: 4 / 5; object-fit: cover; width: 78%; }
.stack-img img:nth-child(2) { position: absolute; right: 0; bottom: -40px; width: 48%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 8px solid var(--pearl); box-shadow: var(--shadow); }

.timeline { list-style: none; position: relative; display: grid; gap: 18px; padding-left: 36px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--accent), var(--lilac)); }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -36px; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--pearl); border: 3px solid var(--accent); }
.timeline b { font-family: var(--f-display); font-size: 1.4rem; font-weight: 600; display: block; letter-spacing: -.02em; }
.timeline span { color: var(--ink-soft); font-size: 15.5px; }

/* тест */
.quiz { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 50px); box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.quiz__bar { height: 6px; border-radius: 6px; background: var(--pearl-2); overflow: hidden; margin-bottom: 30px; }
.quiz__bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--lilac)); transition: width .6s var(--ease); }
.quiz__count { font-size: 13px; font-weight: 800; letter-spacing: .12em; color: var(--accent); text-transform: uppercase; }
.quiz__q { font-family: var(--f-display); font-size: clamp(1.3rem, 2.6vw, 2.1rem); line-height: 1.2; letter-spacing: -.02em; margin: 14px 0 30px; min-height: 2.4em; font-weight: 500; }
.quiz__a { display: flex; gap: 12px; flex-wrap: wrap; }
.quiz__a button { min-width: 130px; padding: 16px 28px; border-radius: 999px; border: 1.5px solid var(--line-strong); font-weight: 800; font-size: 16px; transition: all .3s var(--ease); }
.quiz__a button:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-2px); }
.quiz__a button.yes:hover { background: var(--accent); border-color: var(--accent); }
.quiz__back { margin-top: 22px; font-size: 14px; font-weight: 700; color: var(--muted); text-decoration: underline; }
.quiz__res { display: none; }
.quiz.is-done .quiz__run { display: none; }
.quiz.is-done .quiz__res { display: block; animation: fadeUp .8s var(--ease); }
.quiz__score { font-family: var(--f-display); font-size: clamp(3rem, 8vw, 6rem); font-weight: 600; letter-spacing: -.05em; line-height: 1; color: var(--accent); }
.quiz-slide { animation: qIn .5s var(--ease); }
@keyframes qIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }

.rules { counter-reset: r; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rules li { counter-increment: r; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px 18px 66px; position: relative; font-size: 15.5px; color: var(--ink-soft); }
.rules li::before { content: counter(r, decimal-leading-zero); position: absolute; left: 22px; top: 20px; font-family: var(--f-display); font-weight: 600; font-size: 1.3rem; color: var(--accent); }
.rules li b { color: var(--ink); display: block; margin-bottom: 4px; }

.equip { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; list-style: none; }
.equip li { padding: 18px 20px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(247, 249, 252, .14); font-weight: 600; font-size: 15px; display: flex; gap: 12px; align-items: center; transition: background .3s, transform .4s var(--ease); }
.equip li:hover { background: rgba(255, 255, 255, .12); transform: translateY(-3px); }
.equip li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); flex: none; }

/* --- Футър -------------------------------------------------------------- */
.footer { background: var(--ink); color: var(--pearl); padding: clamp(52px, 6vw, 84px) 0 24px; position: relative; overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { font-family: var(--f-body); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: rgba(247, 249, 252, .5); margin-bottom: 18px; font-weight: 800; }
.footer ul { list-style: none; display: grid; gap: 8px; }
.footer ul a { color: rgba(247, 249, 252, .85); font-size: 15px; transition: color .3s; }
.footer ul a:hover { color: var(--accent-2); }
.footer p { color: rgba(247, 249, 252, .7); font-size: 15px; }
.footer__brand img { width: 120px; margin-bottom: 20px; }
.footer__word {
  font-family: var(--f-display); font-weight: 600; font-size: clamp(2.2rem, 10.6vw, 9.6rem); letter-spacing: -.04em; line-height: .8;
  margin: clamp(36px, 5vw, 70px) 0 22px; white-space: nowrap; text-align: center;
  background: linear-gradient(180deg, var(--pearl) 20%, rgba(247, 249, 252, .06)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgba(247, 249, 252, .14); font-size: 13px; color: rgba(247, 249, 252, .5); }
.footer__bottom a:hover { color: var(--pearl); }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(247, 249, 252, .22); display: grid; place-items: center; transition: all .4s var(--ease); }
.social a:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-3px); }
.social svg { width: 18px; height: 18px; fill: currentColor; }

/* плаващ бутон за обаждане (мобилни) */
.fab { position: fixed; right: 16px; bottom: 16px; z-index: 80; display: none; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 800; font-size: 14px; box-shadow: 0 16px 34px -12px rgba(29, 95, 214, .8); transform: translateY(120px); transition: transform .6s var(--ease); }
.fab.is-on { transform: none; }
.fab i { width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--accent); display: grid; place-items: center; }
.fab svg { width: 18px; height: 18px; }


/* --- Анимации при скрол ------------------------------------------------ */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal="left"] { transform: translateX(-50px); }
[data-reveal="right"] { transform: translateX(50px); }
[data-reveal="scale"] { transform: scale(.9); }
[data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); transition: clip-path 1.3s var(--ease-in-out); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal="clip"].is-in { clip-path: inset(0 0 0 0); }
.split-words .sw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-words .sw > span { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease); transition-delay: calc(var(--wi) * .045s); }
.split-words.is-in .sw > span { transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; clip-path: none; }

/* --- Адаптивност -------------------------------------------------------- */
@media (max-width: 1180px) {
  .nav__links, .nav__phone { display: none; }
  .burger { display: block; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .hero__grid, .phero__grid, .kids, .cta__grid, .split, .layout, .intro { grid-template-columns: minmax(0, 1fr); }
  .hl__panel { grid-template-columns: 1fr 1fr; }
  .hl__item:nth-child(3) { border-left: 0; }
  .hl__item:nth-child(n+3) { border-top: 1px solid rgba(247, 249, 252, .09); }
  .svx__panel { grid-template-columns: 220px 1fr; }
  .steps { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 44%; overflow-x: auto; scroll-snap-type: x mandatory;
           scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 6px; scroll-padding: 0 var(--gutter); }
  .steps::-webkit-scrollbar { display: none; }
  .stp { scroll-snap-align: start; }
  .swipe { display: flex; }
  .team--compact { grid-template-columns: 1fr 1fr; }
  .intro__media { max-width: 560px; }
  .split--rev > :first-child { order: 0; }
  .hero__art { height: 460px; min-height: 0; max-width: 560px; width: 100%; margin: 0 auto; }
  .bento .c-4, .bento .c-5, .bento .c-7, .bento .c-3 { grid-column: span 6; }
  .bento .c-8 { grid-column: span 12; }
  .team { grid-template-columns: 1fr 1fr; }
  .team > :nth-child(3) { margin-top: 0; }
  .aside { position: static; }
  .values { grid-template-columns: 1fr; }
  .rules { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  :root { --nav-h: 58px; }
  .nav { padding: 8px 0; }
  .nav__bar { padding: 0 5px 0 12px; height: 50px; }
  .burger { width: 40px; height: 40px; }
  .burger span { left: 12px; right: 12px; }
  .burger span:nth-child(1) { top: 16px; }
  .burger span:nth-child(2) { top: 23px; }
  .menu-open .burger span:nth-child(1), .menu-open .burger span:nth-child(2) { top: 19.5px; }
  .nav__cta .btn { display: none; }
  .brand { gap: 9px; }
  .brand img { width: 40px; }
  .brand__word { font-size: 10.5px; letter-spacing: .3em; }
  .brand__word small { font-size: 8.5px; margin-top: 1px; }
  .hero { padding: calc(var(--nav-h) + 16px) 0 104px; text-align: center; }
  .hero__grid { gap: 20px; }
  .hero__copy { display: flex; flex-direction: column; align-items: center; }
  .hero .chip { font-size: 12px; padding: 6px 12px; }
  .hero h1 { font-size: clamp(1.95rem, 8.6vw, 2.5rem); margin: 12px 0 10px; }
  .hero .lead { font-size: 15px; max-width: 34ch; margin: 0 auto; }
  .hero__actions { flex-wrap: nowrap; justify-content: center; gap: 8px; margin-top: 16px; width: 100%; }
  .hero__actions .btn { min-height: 48px; padding: 5px 5px 5px 16px; gap: 10px; font-size: 14px; }
  .hero__actions .btn .ico { width: 36px; height: 36px; }
  .hero__art { height: 290px; }
  .hero__main { width: 84%; height: 100%; }
  .hero__side { width: 36%; border-width: 5px; }
  .hero__card { display: none; }
  .hl__panel { grid-template-columns: 1fr 1fr; border-radius: var(--r); }
  .hl__item { padding: 18px 16px; gap: 8px; }
  .hl__top { gap: 10px; }
  .hl__ic { width: 36px; height: 36px; border-radius: 11px; }
  .hl__ic svg { width: 19px; height: 19px; }
  .hl__num { font-size: 1.55rem; }
  .hl__label { font-size: 10.5px; letter-spacing: .1em; }
  .hl__item p { font-size: 13px; }
  .svx__tabs { display: grid; grid-template-columns: 1fr 1fr; width: 100%; border-radius: 18px; overflow: visible; padding: 5px; gap: 4px; }
  .svx__tab { justify-content: space-between; border-radius: 13px; padding: 10px 10px 10px 12px; text-align: left; }
  .svx__tab b { white-space: normal; font-size: 12.5px; line-height: 1.25; }
  .svx__media { min-height: 130px; }
  .svx__head { margin-bottom: 12px; }
  .svx__list a { padding: 12px 12px 12px 14px; }
  .team--compact { grid-template-columns: 1fr; gap: 10px; }
  .team--compact .doc { grid-template-columns: 84px 1fr; gap: 14px; padding: 12px; }
  .team--compact .doc p { -webkit-line-clamp: 2; margin-top: 4px; }
  .swipe { display: flex; }
  .svx__panel { grid-template-columns: 1fr; }
  .svx__media { min-height: 150px; }
  .svx__list { grid-template-columns: 1fr; gap: 8px; }
  .steps { grid-auto-columns: 76%; }
  .intro__seal { width: 92px; height: 92px; right: -6px; }
  .intro__seal .emblem { width: 44px; }
  .intro__docs { left: 10px; }
  .badge { width: 88px; height: 88px; right: 0; bottom: 2%; }
  .badge b { font-size: 20px; }
  .badge svg.ring text { font-size: 9px; }
  .cta__big { font-size: 1.7rem; }
  .cta__phones a { font-size: 1rem; padding: 10px 14px; }
  .form-card { padding: 16px; }
  .pills { flex-wrap: nowrap; gap: 5px; }
  .pills span { padding: 8px 10px; font-size: 12.5px; white-space: nowrap; }
  .map__pin { top: 28%; width: 56px; height: 56px; }
  .map__pin svg { width: 24px; }
  .map__cover { padding: 20px; }
  .map__cover .h-md { font-size: 1.25rem; }
  .hero__grid { gap: 14px; }
  .form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .form .field:has(select), .form .field:has(input[type="date"]) { grid-column: 1 / -1; }
  .form__submit .btn { width: 100%; justify-content: space-between; }
  .phero__img { max-height: 260px; }
  .bento { grid-template-columns: 1fr; }
  .bento > * { grid-column: auto !important; grid-row: auto !important; }
  .tile--img { min-height: 340px; }
  .team { grid-template-columns: 1fr; }
  .team > * { margin-top: 0 !important; }
  .pros { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 34px; }
  .svc-group__head { grid-template-columns: 1fr; gap: 6px; }
  .fab { display: inline-flex; }
  .marquee { padding: 18px 0; }
  .marquee__item svg { width: 32px; }
  .map { min-height: 340px; }
  .stack-img img:nth-child(2) { bottom: -20px; }
  .kids__img .sticker { width: 96px; height: 96px; font-size: 11px; right: 0; }
  .kids__img .sticker b { font-size: 26px; }
  .phero__big { font-size: 34vw; }
  .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .intro__img { clip-path: none !important; }
  .stp, .stp__rail::before, .stp__rail::after { opacity: 1 !important; transform: none !important; }
  .hl__item, .hl__ic svg * { opacity: 1 !important; transform: none !important; stroke-dashoffset: 0 !important; }
  [data-reveal], .split-words .sw > span { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .marquee__track, .strip { animation: none !important; }
  .loader { display: none; }
}
