/* ─────────────────────────────────────────────
   Моя Корона — витрина. Светлая палитра:
   тёплый белый, фирменное золото, светлая морская волна
   ───────────────────────────────────────────── */
:root {
  /* Фирменные цвета «Моей Короны» (как на старом сайте): морская волна #045269, текст #383838, золото логотипа #D8C600 */
  --bg: #ffffff;
  --paper: #ffffff;
  --white: #fff;
  --ink: #045269;
  --text-c: #383838;
  --ink-2: #4e5a5e;
  --muted: #8a9396;
  --aqua: #045269;
  --aqua-ink: #045269;
  --aqua-soft: #eaf3f6;
  --gold: #d8c600;
  --gold-2: #c9b800;
  --gold-soft: #fbf8dc;
  --gold-ink: #6e6400;
  --line: rgba(4, 82, 105, .11);
  --line-2: rgba(4, 82, 105, .18);
  --shadow: 0 30px 60px -36px rgba(4, 82, 105, .28);
  --display: 'Jost', 'Onest', system-ui, sans-serif;
  --text: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gut: clamp(16px, 4vw, 48px);
  --top-h: 76px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
html.no-scroll { overflow: hidden; }
body { margin: 0; background: var(--bg); color: var(--text-c); font: 400 17px/1.6 var(--text); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); }
[hidden] { display: none !important; }
.i { width: 18px; height: 18px; flex: none; }
.i-s { width: 14px; height: 14px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 10px 16px; border-radius: 12px; background: var(--white); }
.skip:focus { left: 8px; }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--aqua); outline-offset: 3px; border-radius: 8px; }
.link { padding: 0; border: 0; background: none; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.wrap { width: min(100% - 2 * var(--gut), 1240px); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2 * var(--gut), 880px); }

/* ── Кнопки, метки ── */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer;
  font: 500 16px/1 var(--text); letter-spacing: .01em; color: #fff; background: var(--gold); text-shadow: 0 1px 2px rgba(90, 82, 0, .35); overflow: hidden; isolation: isolate; white-space: nowrap;
  box-shadow: 0 14px 30px -16px rgba(150, 138, 0, .7); transition: transform .35s var(--ease), background .3s, box-shadow .35s var(--ease); }
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.7) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn:hover { transform: translateY(-2px); background: var(--gold-2); box-shadow: 0 20px 36px -16px rgba(150, 138, 0, .75); }
.btn:hover::before { transform: translateX(120%); }
.btn:disabled { opacity: .6; cursor: wait; }
.btn.ghost { color: var(--ink); text-shadow: none; background: rgba(255,255,255,.85); box-shadow: inset 0 0 0 1.5px var(--line-2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn.ghost:hover { background: #fff; box-shadow: inset 0 0 0 1.5px var(--aqua); }
.btn.ghost::before { background: linear-gradient(110deg, transparent 30%, rgba(4,82,105,.18) 50%, transparent 70%); }
.btn.sm { height: 44px; padding: 0 20px; font-size: 15px; }
.btn .i { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover .i { transform: translateX(3px); }
.tag { display: inline-block; font: 500 12.5px/1.2 var(--display); letter-spacing: .12em; color: var(--aqua-ink); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(216,198,0,.25); }
.more { display: inline-flex; font-weight: 600; color: var(--aqua-ink); white-space: nowrap; border-bottom: 2px solid var(--gold); padding-bottom: 2px; transition: color .25s; }
.more:hover { color: var(--ink); }
.acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ── Шапка ── */
.top { position: fixed; inset: 0 0 auto; z-index: 40; display: flex; align-items: center; gap: 22px; height: var(--top-h); padding: 0 var(--gut);
  transition: background .4s ease, box-shadow .4s ease, height .4s var(--ease); }
.top.is-solid { height: 66px; background: rgba(255,255,255,.86); -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5); box-shadow: 0 1px 0 var(--line), 0 12px 30px -26px rgba(4,82,105,.45); }
.logo { display: inline-flex; align-items: center; gap: 12px; flex: none; color: var(--gold); }
.logo-mark { width: 46px; height: 28px; color: var(--gold); }
.logo-word { width: auto; height: 15px; color: var(--gold); }
.logo-custom svg { height: 30px; width: auto; }
/* меню-«капсула»: под курсором плывёт подсветка */
.nav { position: relative; display: flex; align-items: center; gap: 2px; margin-left: auto; padding: 5px; border-radius: 99px; background: rgba(255,255,255,.7);
  box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; color: var(--ink-2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.nav-pill { position: absolute; z-index: 0; top: 5px; left: 0; width: 0; height: calc(100% - 10px); border-radius: 99px; background: var(--aqua-soft);
  opacity: 0; pointer-events: none; transition: transform .45s var(--ease), width .45s var(--ease), opacity .3s; }
.nav > a, .nav-mega > a { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 4px; height: 38px; padding: 0 15px; border-radius: 99px; transition: color .25s; }
.nav a:hover, .nav a[aria-current] { color: var(--ink); }
.nav > a[aria-current]::after, .nav-mega > a[aria-current]::after { content: ''; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--gold); }
.nav-mega > a .i { transition: transform .35s var(--ease); }
.nav-mega:hover > a .i, .nav-mega:focus-within > a .i { transform: rotate(180deg); }
.top .phone { font-weight: 500; font-size: 15px; white-space: nowrap; color: var(--ink); }
.burger { display: none; flex: none; position: relative; width: 48px; height: 48px; margin-left: 4px; border: 0; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px var(--line), 0 8px 20px -14px rgba(4,82,105,.5); cursor: pointer; z-index: 41; }
.burger i { position: absolute; left: 15px; right: 15px; height: 1.5px; border-radius: 2px; background: var(--ink); transition: transform .5s var(--ease), top .5s var(--ease), width .5s var(--ease); }
.burger i:first-child { top: 19px; } .burger i:last-child { top: 27px; right: 20px; }
.burger[aria-expanded="true"] i:first-child { top: 23px; transform: rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { top: 23px; right: 15px; transform: rotate(-45deg); }

/* Меню услуг: список + карточка-подсказка */
.nav-mega { position: relative; }
.mega { position: absolute; top: calc(100% + 16px); left: -40px; width: 780px; display: grid; grid-template-columns: minmax(0, 1fr) 236px; gap: 10px; padding: 10px;
  border-radius: 28px; background: #fff; box-shadow: 0 50px 90px -40px rgba(4,82,105,.45), inset 0 0 0 1px var(--line);
  opacity: 0; visibility: hidden; transform: translateY(10px) scale(.985); transform-origin: 30% 0; transition: opacity .3s, transform .45s var(--ease), visibility 0s .3s; }
.mega::before { content: ''; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.nav-mega:hover .mega, .nav-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .45s var(--ease), visibility 0s; }
.mega-list { padding: 6px; }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.mega-item { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 16px; color: var(--ink); transition: background .25s, transform .35s var(--ease); }
.mega-item:hover { background: var(--aqua-soft); transform: translateX(3px); }
.mega-item b { display: block; font-weight: 500; font-size: 15px; }
.mega-item small { display: block; font-size: 13px; color: var(--muted); }
.mega-all { display: flex; align-items: center; justify-content: space-between; margin: 8px 6px 0; padding: 12px 12px 4px; border-top: 1px solid var(--line); font-weight: 500; color: var(--ink); }
.mega-all:hover { color: var(--gold-ink); }
.mega-promo { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: 22px; border-radius: 20px; overflow: hidden; color: rgba(255,255,255,.85);
  background: radial-gradient(80% 60% at 90% 0%, rgba(216,198,0,.35), transparent 60%), linear-gradient(160deg, #05607a, #045269 55%, #033e50); }
.mega-promo b { display: block; font: 300 23px/1.15 var(--display); color: #fff; }
.mega-promo p { margin: 8px 0 0; font-size: 14px; }
.mega-promo .btn { align-self: flex-start; }
.mega-ic { position: relative; flex: none; width: 40px; height: 40px; border-radius: 13px; background: linear-gradient(140deg, var(--aqua-soft), #fff); box-shadow: inset 0 0 0 1px rgba(4,82,105,.14); }
.mega-ic::before, .mega-ic::after { content: ''; position: absolute; }
.mega-ic--site::before { inset: 11px 9px 11px; border-radius: 4px; border: 2px solid var(--aqua); border-top-width: 5px; }
.mega-ic--seo::before { left: 10px; top: 10px; width: 14px; height: 14px; border-radius: 50%; border: 2.5px solid var(--aqua); }
.mega-ic--seo::after { left: 23px; top: 23px; width: 9px; height: 3px; border-radius: 2px; background: var(--gold); transform: rotate(45deg); transform-origin: left; }
.mega-ic--ads::before { left: 10px; top: 13px; width: 0; height: 0; border-style: solid; border-width: 7px 16px 7px 0; border-color: transparent var(--aqua) transparent transparent; }
.mega-ic--ads::after { right: 8px; top: 13px; width: 5px; height: 14px; border-radius: 3px; background: var(--gold); }
.mega-ic--hosting::before, .mega-ic--wordpress::before { left: 9px; right: 9px; top: 10px; height: 8px; border-radius: 3px; background: var(--aqua); box-shadow: 0 12px 0 var(--aqua); }
.mega-ic--hosting::after, .mega-ic--wordpress::after { left: 13px; top: 13px; width: 3px; height: 3px; border-radius: 50%; background: var(--gold); box-shadow: 0 12px 0 var(--gold); }
.mega-ic--bot::before, .mega-ic--app::before { left: 9px; top: 10px; width: 22px; height: 15px; border-radius: 6px 6px 6px 2px; background: var(--aqua); }
.mega-ic--bot::after, .mega-ic--app::after { left: 14px; top: 16px; width: 3px; height: 3px; border-radius: 50%; background: #fff; box-shadow: 5px 0 0 #fff, 10px 0 0 #fff; }
.mega-ic--logo::before { left: 10px; top: 12px; width: 20px; height: 14px; background: var(--gold); clip-path: polygon(0 0, 25% 60%, 50% 0, 75% 60%, 100% 0, 100% 100%, 0 100%); }

/* Мобильное меню: раскрывается кругом от кнопки, пункты выплывают по очереди; закрытие — в обратном порядке */
.menu { position: fixed; inset: 0; z-index: 39; display: flex; flex-direction: column; gap: 26px; padding: 90px var(--gut) 26px; overflow-y: auto; overscroll-behavior: contain;
  background: radial-gradient(70% 40% at 100% 0%, rgba(216,198,0,.12), transparent 70%), radial-gradient(60% 40% at 0% 100%, rgba(4,82,105,.08), transparent 70%), #fff;
  clip-path: circle(0px at var(--ox, calc(100% - 44px)) var(--oy, 32px)); transition: clip-path .7s cubic-bezier(.76, 0, .24, 1); }
.menu.is-open { clip-path: circle(150vmax at var(--ox, calc(100% - 44px)) var(--oy, 32px)); }
.menu.is-closing { transition: clip-path .55s cubic-bezier(.76, 0, .24, 1) .14s; }
.menu-nav { display: flex; flex-direction: column; }
.menu-nav a { display: flex; align-items: baseline; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); font: 300 clamp(28px, 8.4vw, 40px)/1.15 var(--display); letter-spacing: -.01em; color: var(--ink);
  opacity: 0; transform: translateY(26px); transition: opacity .4s, transform .6s var(--ease); }
.menu-nav a small { width: 24px; font: 500 12px/1 var(--text); color: var(--gold-ink); }
.menu-services, .menu-foot { opacity: 0; transform: translateY(20px); transition: opacity .4s, transform .6s var(--ease); }
.menu.is-open .menu-nav a, .menu.is-open .menu-services, .menu.is-open .menu-foot { opacity: 1; transform: none; transition-delay: calc(.2s + var(--i, 0) * .05s); }
.menu.is-closing .menu-nav a, .menu.is-closing .menu-services, .menu.is-closing .menu-foot { opacity: 0; transform: translateY(-10px); transition: opacity .2s, transform .3s; transition-delay: calc(var(--i, 0) * .015s); }
.menu-services { display: flex; flex-wrap: wrap; gap: 8px; }
.menu-services a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 99px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 14.5px; font-weight: 500; color: var(--ink); }
.menu-services .mega-ic { display: none; }
.menu-foot { margin-top: auto; display: grid; gap: 14px; }
.menu-phone { font: 300 24px/1.2 var(--display); color: var(--ink); }
html.menu-open .fab { opacity: 0; pointer-events: none; }
.fab { transition: opacity .3s; }

/* Хлебные крошки */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: calc(var(--top-h) + 22px); font-size: 14px; color: var(--muted); }
.crumbs a:hover { color: var(--aqua-ink); }
.crumbs [aria-current] { color: var(--ink-2); }

/* ── Путешествие (главная) ── */
.journey { position: relative; height: calc((var(--units) + 1) * 100svh); }
.stage { position: sticky; top: 0; height: 100svh; overflow: hidden; background: radial-gradient(90% 70% at 70% 40%, #ffffff 0%, #ffffff 55%, #f2f7f9 100%); }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.copy { position: absolute; z-index: 2; left: var(--gut); top: 0; bottom: 0; width: min(660px, 47vw); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 30px; align-items: center; pointer-events: none; }
.copy > * { pointer-events: auto; }
.rail { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; }
.rail button { display: flex; align-items: center; gap: 10px; padding: 5px 0; border: 0; background: none; cursor: pointer; font: 600 12.5px/1 var(--text); color: var(--muted); }
.rail i { position: relative; width: 3px; height: 28px; border-radius: 3px; background: var(--line); overflow: hidden; }
.rail i::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: calc(var(--p, 0) * 100%); background: var(--aqua); }
.rail span { opacity: 0; transform: translateX(-4px); transition: .3s; white-space: nowrap; }
.rail:hover span, .rail .is-on span { opacity: 1; transform: none; }
.rail .is-on { color: var(--ink); }
.texts { position: relative; height: 500px; max-height: 80svh; }
.scene { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(calc(-50% + 40px)); opacity: 0; visibility: hidden;
  transition: opacity .45s ease, transform .7s var(--ease), visibility 0s .7s; }
.scene.is-up { transform: translateY(calc(-50% - 40px)); }
.scene.is-on { opacity: 1; visibility: visible; transform: translateY(-50%); transition: opacity .6s ease .1s, transform .8s var(--ease) .06s, visibility 0s; }
.h1, .h2 { margin: 18px 0 0; font-family: var(--display); font-weight: 300; letter-spacing: -.01em; line-height: 1.06; color: var(--ink); text-wrap: balance; }
.h1 { font-size: clamp(34px, 3.7vw, 58px); }
.h2 { font-size: clamp(30px, 3.6vw, 54px); }
.lead { margin: 20px 0 0; max-width: 480px; font-size: 18px; color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.chips li { padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.8); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 500; }
.chips b { color: var(--aqua-ink); }
.scene-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; font-weight: 600; color: var(--aqua-ink); }
.scene-link .i { transition: transform .35s var(--ease); }
.scene-link:hover .i { transform: translateX(4px); }
.hint { display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; font-size: 14px; color: var(--muted); }
.hint svg { width: 16px; height: 16px; animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(4px); } }
.bigword { position: absolute; z-index: 1; right: -1vw; bottom: -3vw; font: 300 clamp(80px, 17vw, 280px)/.8 var(--display); letter-spacing: -.015em; color: rgba(4,82,105,.045); pointer-events: none; white-space: nowrap; }

/* ── После путешествия ── */
.after { position: relative; z-index: 3; background: linear-gradient(#fff, rgba(255,255,255,0) 320px); }
.sec { padding: clamp(80px, 10vw, 140px) 0 0; }
.sec-head { max-width: 760px; }
.sec-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.sec-title { margin: 14px 0 0; font: 300 clamp(32px, 3.8vw, 56px)/1.05 var(--display); color: var(--ink); letter-spacing: -.035em; text-wrap: balance; }
.sec-title--sm { font-size: clamp(26px, 2.8vw, 42px); }
.sec-lead { margin: 16px 0 0; font-size: 18px; color: var(--ink-2); max-width: 580px; }

@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js [data-up] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: calc(.08s + var(--i, 0) * 90ms); }
  .js.is-ready [data-up] { opacity: 1; transform: none; }
}

/* Манифест */
.manifest { padding: clamp(90px, 12vw, 170px) 0 clamp(40px, 5vw, 70px); }
.manifest-text { margin: 22px 0 0; max-width: 1150px; font: 300 clamp(28px, 4.1vw, 62px)/1.16 var(--display); letter-spacing: -.035em; }
.manifest-text .w { opacity: calc(.16 + var(--on, 1) * .84); transition: opacity .2s linear; }
.manifest-text .hl { background: linear-gradient(transparent 62%, var(--gold-soft) 62%, var(--gold-soft) 92%, transparent 92%) no-repeat 0 0 / calc(var(--on, 1) * 100%) 100%; color: var(--aqua-ink); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: clamp(48px, 6vw, 80px) 0 0; padding: 0; list-style: none; }
.stats li { padding: 26px 24px; border-radius: 26px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.stats b { display: block; font: 300 clamp(34px, 3.6vw, 52px)/1 var(--display); letter-spacing: -.015em; color: var(--ink); }
.stats b small { font-size: .5em; }
.stats li:nth-child(2) b { color: var(--aqua-ink); }
.stats span { display: block; margin-top: 12px; font-size: 15px; color: var(--ink-2); }
.stats b span { display: inline; margin: 0; font: inherit; color: inherit; }

/* Бегущая строка */
.marquee { overflow: hidden; padding: 26px 0; margin-top: clamp(40px, 5vw, 70px); border-block: 1px solid var(--line); background: #fff; }
.marquee-track { display: flex; align-items: center; gap: 34px; width: max-content; will-change: transform; }
.marquee span { font: 300 clamp(28px, 4vw, 58px)/1 var(--display); letter-spacing: -.015em; color: var(--ink); white-space: nowrap; }
.marquee span:nth-of-type(2n) { color: var(--gold); }
.marquee i { font-style: normal; font-size: clamp(18px, 2vw, 28px); color: var(--gold); }

/* Услуги — крупный список */
.services .wrap { position: relative; }
.srv-list { margin: 44px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line-2); }
.srv-list li { border-bottom: 1px solid var(--line-2); }
.srv { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1.1fr) minmax(0, 1fr) 150px 46px; align-items: center; gap: 24px; padding: 30px 8px; isolation: isolate; }
.srv::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--aqua-soft), rgba(226,244,242,0)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.srv:hover::before { transform: none; }
.srv-n { font: 500 14px/1 var(--display); color: var(--muted); }
.srv-name { font: 300 clamp(22px, 2.5vw, 38px)/1.1 var(--display); letter-spacing: -.015em; transition: transform .5s var(--ease), color .3s; }
.srv:hover .srv-name { transform: translateX(10px); color: var(--aqua-ink); }
.srv-text { font-size: 15px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.srv-price { font-weight: 600; white-space: nowrap; text-align: right; }
.srv-go { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-2); transition: background .3s, box-shadow .3s, transform .5s var(--ease); }
.srv:hover .srv-go { background: var(--gold); color: #fff; box-shadow: none; transform: rotate(45deg); }
.srv-float { position: absolute; left: 0; top: 0; z-index: 5; width: 300px; height: 210px; margin: -105px 0 0 -150px; pointer-events: none; opacity: 0; scale: .85; transition: opacity .3s, scale .45s var(--ease); }
.srv-float.is-on { opacity: 1; scale: 1; }
.srv-card { position: absolute; inset: 0; border-radius: 26px; overflow: hidden; background: #fff; box-shadow: 0 40px 70px -30px rgba(4,82,105,.4), inset 0 0 0 1px var(--line); opacity: 0; transition: opacity .3s; }
.srv-card.is-on { opacity: 1; }
.srv-card .mart { height: 100%; }

/* ── Мини-иллюстрации услуг (CSS) ── */
.mart { position: relative; width: 100%; aspect-ratio: 10 / 7; overflow: hidden; border-radius: inherit; background: radial-gradient(120% 90% at 20% 10%, #fff 0%, var(--aqua-soft) 62%, #dcebf0 100%); }
.mart::after { content: ''; position: absolute; right: -14%; bottom: -30%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(216,198,0,.28), transparent 65%); }
.mart-win { position: absolute; inset: 14% 12% 0; border-radius: 14px 14px 0 0; background: #fff; box-shadow: 0 20px 40px -20px rgba(4,82,105,.35); overflow: hidden; }
.mart-bar { display: flex; gap: 5px; padding: 9px 10px; background: #f3f2ee; }
.mart-bar i { width: 7px; height: 7px; border-radius: 50%; background: #d9d6cc; }
.mart-page { position: relative; padding: 12% 10%; display: grid; gap: 8px; }
.mart-page b { width: 62%; height: 12px; border-radius: 6px; background: var(--ink); opacity: .85; animation: mart-type 3.2s var(--ease) infinite; transform-origin: left; }
.mart-page span { width: 80%; height: 7px; border-radius: 4px; background: #e3e1d9; }
.mart-page span.s { width: 55%; }
.mart-page em { width: 36%; height: 18px; margin-top: 4px; border-radius: 99px; background: var(--gold); }
.mart-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 8px; }
.mart-cards i { height: 34px; border-radius: 8px; background: var(--aqua-soft); animation: mart-pop 3.2s var(--ease) infinite; }
.mart-cards i:nth-child(2) { animation-delay: .15s; } .mart-cards i:nth-child(3) { animation-delay: .3s; }
@keyframes mart-type { 0% { transform: scaleX(.1); } 30%, 100% { transform: scaleX(1); } }
@keyframes mart-pop { 0%, 20% { opacity: 0; transform: translateY(8px); } 45%, 100% { opacity: 1; transform: none; } }
.mart-search { position: absolute; left: 10%; right: 10%; top: 14%; display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 12px; border-radius: 99px; background: #fff; box-shadow: 0 12px 24px -14px rgba(4,82,105,.35); }
.mart-search i { width: 12px; height: 12px; border-radius: 50%; border: 2.5px solid var(--aqua); }
.mart-search span { height: 6px; width: 60%; border-radius: 3px; background: #dedcd3; animation: mart-type 3s var(--ease) infinite; transform-origin: left; }
.mart-bars { position: absolute; left: 14%; right: 14%; bottom: 12%; height: 48%; display: flex; align-items: flex-end; gap: 9%; }
.mart-bars i { flex: 1; height: calc(var(--h) * 100%); border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, var(--aqua), #5f9fb2); transform-origin: bottom; animation: mart-grow 3s var(--ease) infinite; }
.mart-bars i:last-child { background: linear-gradient(180deg, var(--gold), #ece181); }
.mart-bars i:nth-child(2) { animation-delay: .1s; } .mart-bars i:nth-child(3) { animation-delay: .2s; } .mart-bars i:nth-child(4) { animation-delay: .3s; } .mart-bars i:nth-child(5) { animation-delay: .4s; }
@keyframes mart-grow { 0% { transform: scaleY(.15); } 40%, 100% { transform: none; } }
.mart-badge { position: absolute; right: 9%; top: 34%; padding: 6px 11px; border-radius: 99px; background: var(--gold); font: 500 11px/1 var(--display); color: #fff; box-shadow: 0 10px 20px -10px rgba(150,138,0,.8); }
.mart-rings { position: absolute; left: 12%; top: 50%; width: 32%; aspect-ratio: 1; translate: 0 -50%; }
.mart-rings i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--aqua); opacity: 0; animation: mart-ring 2.4s ease-out infinite; }
.mart-rings i:nth-child(2) { animation-delay: .8s; } .mart-rings i:nth-child(3) { animation-delay: 1.6s; }
.mart-rings::after { content: ''; position: absolute; inset: 34%; border-radius: 50%; background: var(--gold); }
@keyframes mart-ring { 0% { transform: scale(.3); opacity: .9; } 100% { transform: scale(1.3); opacity: 0; } }
.mart-note { position: absolute; right: 8%; top: 22%; width: 50%; padding: 9px 12px; border-radius: 14px; background: #fff; box-shadow: 0 16px 30px -16px rgba(4,82,105,.4); animation: mart-pop 3.4s var(--ease) infinite; }
.mart-note--2 { top: 54%; right: 14%; animation-delay: .5s; }
.mart-note b { display: block; font-size: 12px; color: var(--ink); }
.mart-note span { display: block; font-size: 10.5px; color: var(--muted); }
.mart-rack { position: absolute; left: 22%; right: 22%; top: 14%; bottom: 10%; display: grid; gap: 7%; }
.mart-rack div { display: flex; align-items: center; gap: 7px; padding: 0 10px; border-radius: 9px; background: #fff; box-shadow: 0 10px 20px -14px rgba(4,82,105,.4), inset 0 0 0 1px var(--line); animation: mart-pop 3s var(--ease) infinite; }
.mart-rack div:nth-child(2) { animation-delay: .12s; } .mart-rack div:nth-child(3) { animation-delay: .24s; } .mart-rack div:nth-child(4) { animation-delay: .36s; }
.mart-rack i { width: 7px; height: 7px; border-radius: 50%; background: var(--aqua); animation: mart-blink 1.2s steps(2) infinite; }
.mart-rack i + i { background: var(--gold); animation-delay: .4s; }
.mart-rack span { flex: 1; height: 5px; margin-left: 6px; border-radius: 3px; background: #e3e1d9; }
@keyframes mart-blink { 50% { opacity: .25; } }
.mart-chat { position: absolute; inset: 12% 12%; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.mart-chat p { margin: 0; max-width: 78%; padding: 9px 13px; border-radius: 16px 16px 16px 4px; background: #fff; font-size: 12.5px; line-height: 1.35; box-shadow: 0 10px 20px -14px rgba(4,82,105,.35); animation: mart-pop 3.6s var(--ease) infinite; }
.mart-chat .out { align-self: flex-end; border-radius: 16px 16px 4px 16px; background: var(--gold-soft); animation-delay: .5s; }
.mart-chat .typing { display: flex; gap: 4px; width: max-content; animation-delay: 1s; }
.mart-chat .typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--aqua); animation: mart-blink .9s infinite; }
.mart-chat .typing i:nth-child(2) { animation-delay: .2s; } .mart-chat .typing i:nth-child(3) { animation-delay: .4s; }
.mart-logo { position: absolute; inset: 0; display: grid; place-items: center; }
.mart-logo .logo-mark { width: 46%; height: auto; animation: mart-float 4s ease-in-out infinite; }
@keyframes mart-float { 50% { transform: translateY(-8px) rotate(-3deg); } }

/* ── Работы: горизонтальная лента ── */
.works { position: relative; margin-top: clamp(80px, 10vw, 140px); }
.works-pin { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: clamp(24px, 4vh, 44px); overflow: hidden; }
.works-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.works-progress { display: flex; align-items: center; gap: 10px; font: 500 14px/1 var(--display); color: var(--muted); }
.works-progress b { color: var(--ink); }
.works-progress i { position: relative; width: 120px; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.works-progress em { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(.04); }
.works-track { display: flex; gap: 28px; width: max-content; padding: 0 var(--gut); will-change: transform; }
.case { flex: 0 0 min(80vw, 1080px); display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 44px); align-items: center; padding: 20px; border-radius: 34px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.case-shot { position: relative; display: block; border-radius: 20px; overflow: hidden; background: #eef0ef; aspect-ratio: 16 / 10.4; transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease); }
.case-shot img { position: absolute; inset: 30px 0 0; width: 100%; height: calc(100% - 30px); object-fit: cover; object-position: top; transition: transform 1.6s var(--ease); }
.case-shot:hover img { transform: scale(1.04); }
.bar { position: absolute; z-index: 2; inset: 0 0 auto; display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: rgba(247,246,242,.95); font: 500 12px/1 var(--text); color: var(--muted); font-style: normal; }
.bar b { width: 9px; height: 9px; border-radius: 50%; background: #dcd8cf; }
.bar span { margin-left: 10px; padding: 4px 12px; border-radius: 99px; background: #fff; }
.case-txt { position: relative; padding: 10px 14px 10px 0; }
.case-n { position: absolute; right: 10px; top: -6px; font: 300 clamp(60px, 7vw, 110px)/1 var(--display); color: rgba(4,82,105,.07); }
.kind { display: block; font: 500 11.5px/1.3 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); }
.case h3 { margin: 14px 0 0; font: 300 clamp(26px, 2.8vw, 42px)/1.05 var(--display); letter-spacing: -.015em; }
.case p { margin: 14px 0 0; color: var(--ink-2); font-size: 16px; }
.case-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 22px; padding: 0; list-style: none; }
.case-tags li { padding: 6px 12px; border-radius: 99px; background: var(--aqua-soft); color: var(--aqua-ink); font-size: 13px; font-weight: 600; }
.case--you { flex-basis: min(46vw, 520px); grid-template-columns: 1fr; padding: clamp(28px, 4vw, 48px); background: radial-gradient(120% 120% at 100% 0%, var(--gold-soft), #fff 60%); }
.case--you h3 { font-size: clamp(26px, 2.6vw, 38px); }
.case--you .btn { margin-top: 26px; }

/* ── Как работаем: стопка карточек ── */
.process-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.process-head { position: sticky; top: 120px; }
.process-head .btn { margin-top: 30px; }
.stack { display: grid; gap: 22px; margin: 0; padding: 0; list-style: none; }
.stack-card { position: sticky; top: calc(110px + var(--n) * 16px); display: flex; gap: 26px; min-height: 230px; padding: clamp(26px, 3vw, 40px); border-radius: 30px; background: #fff;
  box-shadow: inset 0 0 0 1px var(--line), 0 -10px 40px -24px rgba(4,82,105,.25); transform: scale(var(--sc, 1)); transform-origin: 50% 0; isolation: isolate; }
.stack-card::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: var(--paper); opacity: var(--dim, 0); pointer-events: none; }
.stack-card:nth-child(2n) { background: linear-gradient(150deg, #fff, var(--aqua-soft)); }
.stack-card:last-child { background: linear-gradient(150deg, #fff, var(--gold-soft)); }
.stack-n { font: 300 clamp(46px, 5vw, 76px)/.9 var(--display); color: var(--gold); letter-spacing: -.015em; }
.stack-card h3 { font: 300 clamp(22px, 2.2vw, 30px)/1.15 var(--display); letter-spacing: -.02em; }
.stack-card p { margin: 12px 0 0; color: var(--ink-2); }

/* ── Цены ── */
.tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: 99px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.tabs button { height: 44px; padding: 0 20px; border: 0; border-radius: 99px; background: none; cursor: pointer; font-weight: 600; font-size: 15px; color: var(--ink-2); transition: background .3s, color .3s; }
.tabs button:hover { color: var(--ink); }
.tabs [aria-selected="true"] { background: var(--gold); color: #fff; text-shadow: 0 1px 2px rgba(90, 82, 0, .35); }
.tab-more { margin-top: 26px; }
.tab-extra { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 18px; padding: 18px 24px; border-radius: 22px; background: linear-gradient(120deg, var(--aqua-soft), #fff); box-shadow: inset 0 0 0 1px var(--line); }
.tab-extra b { font-weight: 600; }
.tab-extra span { color: var(--ink-2); }
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-top: 44px; align-items: stretch; }
.prices--1 { grid-template-columns: minmax(0, 420px); }
.price { position: relative; display: flex; flex-direction: column; padding: 30px 26px 26px; border-radius: 28px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); isolation: isolate; overflow: hidden; transition: box-shadow .4s var(--ease), transform .5s var(--ease); }
.price::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgba(4,82,105,.13), transparent 62%); opacity: 0; transition: opacity .4s; }
.price:hover { box-shadow: inset 0 0 0 1.5px rgba(4,82,105,.45), var(--shadow); }
.price:hover::before { opacity: 1; }
.price h3 { font: 500 19px/1.25 var(--display); padding-right: 6px; }
.sum { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; margin: 18px 0 4px; }
.sum span { font: 300 clamp(26px, 2.4vw, 32px)/1 var(--display); letter-spacing: -.015em; }
.sum small { font-size: 15px; color: var(--muted); font-weight: 500; }
.sum-free { font-size: 22px !important; }
.feats { display: grid; gap: 9px; margin: 18px 0 0; padding: 0; list-style: none; font-size: 15px; color: var(--ink-2); flex: 1; }
.feats li { display: flex; gap: 10px; align-items: flex-start; }
.feats .i { width: 18px; height: 18px; margin-top: 2px; color: var(--aqua); }
.price-note { margin: 14px 0 0; font-size: 13.5px; color: var(--muted); }
.price-acts { display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.price-more { font-size: 14px; font-weight: 600; color: var(--aqua-ink); }
.price--hot { background: linear-gradient(165deg, var(--gold-soft) 0%, #fff 55%); box-shadow: inset 0 0 0 2px var(--gold), 0 30px 60px -34px rgba(150,138,0,.55); }
.badge { display: inline-block; align-self: flex-start; margin: -8px 0 14px; padding: 7px 12px; border-radius: 99px; background: var(--ink); color: #fff; font: 500 11px/1 var(--display); letter-spacing: .03em; }
.prices-note { margin: 22px 0 0; max-width: 860px; font-size: 14px; color: var(--muted); }

/* ── Вопросы ── */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { position: relative; padding: 26px 56px 26px 0; cursor: pointer; list-style: none; font: 600 clamp(17px, 1.5vw, 20px)/1.4 var(--text); transition: color .25s; }
.faq summary:hover { color: var(--aqua-ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 4px; top: 50%; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%;
  background: var(--aqua-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 34'%3E%3Cpath d='M12 17h10M17 12v10' stroke='%230b7d78' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 34px no-repeat;
  transition: transform .45s var(--ease), background-color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--gold-soft); }
.faq-a { overflow: hidden; transition: height .4s var(--ease); }
.faq-a > :first-child { margin-top: -6px; }
.faq-a p { margin: 0 0 24px; max-width: 660px; color: var(--ink-2); }

/* ── Блог: карточки ── */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.post { display: flex; flex-direction: column; gap: 12px; padding: 12px 12px 22px; border-radius: 28px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.post:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.post-img { display: block; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: var(--aqua-soft); }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post:hover .post-img img { transform: scale(1.05); }
.post-ph { display: grid; place-items: center; height: 100%; }
.post-ph .logo-mark { width: 30%; height: auto; opacity: .5; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 0 10px; font-size: 13.5px; color: var(--muted); }
.post b { padding: 0 10px; font: 500 18px/1.35 var(--display); letter-spacing: -.01em; flex: 1; }
.post-go { display: inline-flex; align-items: center; gap: 8px; padding: 0 10px; font-weight: 600; color: var(--aqua-ink); }
.post-go .i { transition: transform .35s var(--ease); }
.post:hover .post-go .i { transform: translateX(4px); }

/* ── Финал и формы ── */
.final { padding-bottom: clamp(80px, 10vw, 140px); background: radial-gradient(60% 50% at 85% 60%, rgba(216,198,0,.12), transparent 70%), radial-gradient(50% 60% at 10% 80%, rgba(4,82,105,.1), transparent 70%); border-radius: 0 0 0 0; }
.final-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.final-title { margin: 16px 0 0; font: 300 clamp(38px, 4.9vw, 78px)/1 var(--display); letter-spacing: -.045em; }
.final-card { padding: clamp(24px, 3.6vw, 44px); border-radius: 34px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), 0 50px 90px -50px rgba(4,82,105,.35); }
.final-card .sec-title { margin-top: 0; }
.final-card .sec-lead { margin-bottom: 22px; }
.final-grid--card { padding: clamp(24px, 4vw, 56px); border-radius: 40px; background: linear-gradient(140deg, var(--aqua-soft), var(--paper) 55%, var(--gold-soft)); }
.msgs { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.msg { display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 18px; border-radius: 99px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-size: 15px; transition: background .3s, box-shadow .3s, transform .35s var(--ease); }
.msg .i { color: var(--aqua); }
.msg:hover { background: var(--gold); color: #fff; box-shadow: none; transform: translateY(-2px); }
.msg:hover .i { color: #fff; }
.direct { display: flex; flex-wrap: wrap; gap: 8px 26px; margin: 26px 0 0; font: 500 18px/1.4 var(--display); }
.direct a:hover { color: var(--aqua-ink); }
.form { display: grid; gap: 14px; }
.need { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 4px; padding: 0; border: 0; min-width: 0; }
.need legend { margin-bottom: 10px; font-size: 14px; color: var(--muted); }
.need label { cursor: pointer; }
.need input { position: absolute; opacity: 0; pointer-events: none; }
.need span { display: inline-flex; height: 40px; align-items: center; padding: 0 16px; border-radius: 99px; box-shadow: inset 0 0 0 1.5px var(--line-2); font-weight: 500; font-size: 15px; transition: .25s; }
.need label:hover span { box-shadow: inset 0 0 0 1.5px var(--aqua); }
.need input:checked + span { background: var(--aqua-soft); color: var(--aqua-ink); box-shadow: inset 0 0 0 1.5px var(--aqua); }
.need input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field span { font-size: 14px; color: var(--muted); }
.field input, .field textarea, .field select { width: 100%; padding: 14px 16px; border: 0; border-radius: 16px; background: #f4f3ee; font: 500 16px/1.4 var(--text); color: var(--ink); outline: none; transition: box-shadow .25s, background .25s; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { box-shadow: inset 0 0 0 2px var(--aqua); background: #fff; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); }
.agree a { text-decoration: underline; text-underline-offset: 2px; }
.agree input { margin-top: 3px; accent-color: var(--aqua); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 6px; }
.form-note { margin: 0; font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.form-note.is-ok { color: var(--aqua-ink); }
.form-note.is-err { color: #b3261e; }

/* ── Подвал: фирменная морская волна (как на старом сайте), золотые акценты, тонкий шрифт ── */
.foot { position: relative; z-index: 1; overflow: hidden; padding: clamp(64px, 8vw, 100px) 0 28px; color: rgba(255,255,255,.76); font-size: 15.5px;
  background: radial-gradient(55% 70% at 88% 0%, rgba(216,198,0,.18), transparent 65%), radial-gradient(50% 60% at 0% 100%, rgba(5,96,122,.9), transparent 70%), linear-gradient(170deg, #05607a 0%, #045269 42%, #023a4b 100%); }
.foot::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(255,255,255,.16) 1px, transparent 1.4px); background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 65%); mask-image: linear-gradient(to bottom, #000 0%, transparent 65%); }
.foot > * { position: relative; }
.foot-cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 22px 40px; padding: clamp(24px, 3.4vw, 40px); margin-bottom: clamp(44px, 6vw, 72px);
  border-radius: 32px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.foot-cta .tag { color: var(--gold); }
.foot-ask { margin: 10px 0 0; font: 300 clamp(28px, 3.4vw, 46px)/1.1 var(--display); letter-spacing: -.01em; color: #fff; }
.foot-cta-acts { display: grid; justify-items: end; gap: 14px; }
.foot-cta .msgs { margin: 0; justify-content: flex-end; }
.foot .msg { background: rgba(255,255,255,.08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); }
.foot .msg .i { color: var(--gold); }
.foot .msg:hover { background: var(--gold); color: #fff; }
.foot .msg:hover .i { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 36px; }
.foot-brand .logo { color: var(--gold); }
.foot-brand .logo-mark { width: 54px; height: 33px; }
.foot-brand .logo-word { height: 17px; }
.foot-brand p { margin: 18px 0 0; max-width: 330px; }
.foot-contacts { display: grid; gap: 4px; margin-top: 22px; }
.foot-contacts a { font: 300 21px/1.35 var(--display); color: #fff; }
.foot-contacts a:hover { color: var(--gold); text-decoration: none; }
.foot nav { display: flex; flex-direction: column; gap: 10px; }
.foot nav b { margin-bottom: 8px; font: 500 12.5px/1.3 var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.foot nav a { width: fit-content; color: rgba(255,255,255,.78); background: linear-gradient(var(--gold), var(--gold)) no-repeat 0 100% / 0 1px; transition: color .25s, background-size .4s var(--ease); }
.foot nav a:hover { color: #fff; background-size: 100% 1px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: clamp(44px, 6vw, 64px); padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: 14px; color: rgba(255,255,255,.55); }
.foot-bottom .link { color: rgba(255,255,255,.7); }

/* ── Плавающая кнопка, окно заявки, cookie ── */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 50; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.fab-btn { display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 22px 0 18px; border: 0; border-radius: 99px; background: var(--gold); color: #fff; font: 600 15px/1 var(--text); cursor: pointer; text-shadow: 0 1px 2px rgba(90, 82, 0, .35); box-shadow: 0 18px 40px -16px rgba(120,110,0,.65); transition: transform .35s var(--ease); }
.fab-btn:hover { transform: translateY(-2px); }
.fab-btn .i { width: 20px; height: 20px; }
.fab-list { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; pointer-events: none; }
.fab-list a { display: inline-flex; align-items: center; gap: 9px; padding: 12px 18px; border-radius: 99px; background: #fff; box-shadow: 0 12px 30px -14px rgba(4,82,105,.4), inset 0 0 0 1px var(--line); font-weight: 600; font-size: 15px;
  opacity: 0; transform: translateY(10px) scale(.96); transition: opacity .3s, transform .4s var(--ease); }
.fab-list .i { color: var(--aqua); }
.fab.is-open .fab-list { pointer-events: auto; }
.fab.is-open .fab-list a { opacity: 1; transform: none; }
.fab.is-open .fab-list a:nth-child(2) { transition-delay: .04s; } .fab.is-open .fab-list a:nth-child(3) { transition-delay: .08s; } .fab.is-open .fab-list a:nth-child(4) { transition-delay: .12s; }
.lead-dlg { width: min(660px, 100% - 24px); max-height: calc(100svh - 24px); margin: auto; padding: clamp(24px, 4vw, 42px); border: 0; border-radius: 34px; background: var(--paper); color: var(--ink); box-shadow: 0 60px 120px -40px rgba(4,82,105,.45); overflow-y: auto; }
.lead-dlg[open] { animation: lead-in .5s var(--ease); }
.lead-dlg::backdrop { background: rgba(244,248,250,.72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
@keyframes lead-in { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.lead-x { position: absolute; right: 16px; top: 16px; display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; }
.lead-title { margin: 10px 0 0; font: 300 clamp(26px, 3vw, 38px)/1.1 var(--display); letter-spacing: -.015em; }
.lead-sub { margin: 10px 0 22px; color: var(--ink-2); }
.cookie { position: fixed; left: 20px; bottom: 20px; z-index: 45; display: grid; gap: 14px; max-width: 420px; padding: 20px 22px; border-radius: 24px; background: rgba(255,255,255,.96); box-shadow: 0 30px 60px -30px rgba(4,82,105,.4), inset 0 0 0 1px var(--line); font-size: 14.5px;
  opacity: 0; transform: translateY(16px); transition: opacity .4s, transform .5s var(--ease); }
.cookie.is-on { opacity: 1; transform: none; }
.cookie p { margin: 0; color: var(--ink-2); }
.cookie a { text-decoration: underline; }
.cookie div { display: flex; flex-wrap: wrap; gap: 8px; }

/* ═════════ Внутренние страницы ═════════ */
.phero { position: relative; padding: calc(var(--top-h) + 70px) 0 clamp(40px, 5vw, 70px); }
.crumbs + .phero, .crumbs + .dhero { padding-top: 26px; }
.phero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.phero-title { margin: 16px 0 0; font: 300 clamp(34px, 4.6vw, 70px)/1.03 var(--display); letter-spacing: -.015em; text-wrap: balance; }
.phero-title--doc { font-size: clamp(30px, 3.8vw, 56px); }
.phero-title--prod { font-size: clamp(28px, 3.2vw, 46px); }
.rot { margin: 18px 0 0; font: 300 clamp(20px, 2.1vw, 30px)/1.25 var(--display); letter-spacing: -.02em; color: var(--ink-2); }
.rot-words { position: relative; display: inline-grid; vertical-align: bottom; color: var(--aqua-ink); transition: width .5s var(--ease); }
.rot-words b { grid-area: 1 / 1; font-weight: 600; white-space: nowrap; opacity: 0; transform: translateY(60%); transition: opacity .5s, transform .7s var(--ease); background: linear-gradient(transparent 70%, var(--gold-soft) 70%, var(--gold-soft) 95%, transparent 95%); }
.rot-words b.is-on { opacity: 1; transform: none; }
.rot-words b.is-out { opacity: 0; transform: translateY(-60%); }
.phero-lead { margin: 22px 0 0; max-width: 620px; font-size: 18px; color: var(--ink-2); }
.phero-art { position: relative; aspect-ratio: 1 / .86; cursor: grab; }
.phero-glow { position: absolute; inset: 4% 2%; border-radius: 50%; background: radial-gradient(closest-side, rgba(4,82,105,.16), transparent 75%), radial-gradient(closest-side at 70% 70%, rgba(216,198,0,.16), transparent 70%); filter: blur(10px); }
.phero-mini { position: absolute; inset: 12% 8%; border-radius: 32px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(4,82,105,.4); transition: opacity .8s, transform 1s var(--ease); }
.phero-mini .mart { height: 100%; aspect-ratio: auto; }
.phero-art canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s ease; }
.phero-art.is-3d canvas { opacity: 1; }
.phero-art.is-3d .phero-mini { opacity: 0; transform: scale(.94); }
.phero--contact, .phero--catalog, .phero--blog, .phero--shop { padding-bottom: 20px; }
.chips--nav { gap: 8px; margin-top: 28px; }
.chips--nav a { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 99px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; font-weight: 500; transition: background .25s, box-shadow .25s; }
.chips--nav a:hover { box-shadow: inset 0 0 0 1.5px var(--aqua); }
.chips--nav a[aria-current] { background: var(--aqua-soft); color: var(--aqua-ink); box-shadow: inset 0 0 0 1.5px var(--aqua); }
.chips--nav small { color: var(--muted); }

/* Блоки страниц */
.blk { padding: clamp(56px, 7vw, 110px) 0 0; }
.blocks > :last-child, .blk:last-child { padding-bottom: clamp(64px, 8vw, 120px); }
.blk.bg-soft, .blk.bg-sea { margin-top: clamp(56px, 7vw, 110px); padding-bottom: clamp(56px, 7vw, 110px); }
.blk.bg-soft { background: #f6f9fb; }
.blk.bg-sea { background: linear-gradient(160deg, var(--aqua-soft), #fff); }
.txt-wide .txt { max-width: 900px; }
.prose--big { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.55; color: var(--ink); }
.txt-cols { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(24px, 5vw, 80px); align-items: start; padding-top: clamp(28px, 3vw, 40px); border-top: 1px solid var(--line-2); }
.txt-cols > h2 { position: sticky; top: 100px; margin-top: 0; }
.txt-cols .prose { font-size: 18px; }
.blk--text + .blk--text .txt-cols { border-top-style: dashed; }
.txt-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.txt-split.is-flip .txt-img { order: -1; }
.txt-img { margin: 0; border-radius: 30px; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.txt-img img { display: block; width: 100%; max-height: 520px; object-fit: contain; }
.txt .prose { margin-top: 20px; }
.prose { font-size: 17.5px; line-height: 1.72; color: var(--text-c); overflow-wrap: anywhere; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1em; }
.prose p.lead { max-width: none; font: 500 20px/1.45 var(--text); color: var(--ink); }
.prose h2, .prose h3, .prose h4 { margin: 1.6em 0 .6em; font-family: var(--display); font-weight: 400; letter-spacing: -.005em; line-height: 1.2; color: var(--ink); scroll-margin-top: 100px; }
.prose h2 { font-size: clamp(24px, 2.2vw, 32px); }
.prose h3 { font-size: clamp(19px, 1.7vw, 24px); }
.prose h4 { font-size: 18px; }
.prose a { color: var(--aqua-ink); text-decoration: underline; text-decoration-color: rgba(11,125,120,.35); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: currentColor; }
.prose strong, .prose b { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 28px; margin: .45em 0; }
.prose ul li::before { content: ''; position: absolute; left: 4px; top: .62em; width: 9px; height: 9px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 0 4px var(--aqua-soft); }
.prose ol { counter-reset: n; }
.prose ol li { position: relative; padding-left: 38px; margin: .55em 0; counter-increment: n; }
.prose ol li::before { content: counter(n); position: absolute; left: 0; top: .1em; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--gold-soft); font: 500 13px/1 var(--display); color: var(--gold-ink); }
.prose li p { margin: 0; }
.prose img { display: block; margin: 1.4em 0; border-radius: 22px; }
.prose figure { margin: 1.6em 0; }
.prose figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
.prose blockquote { margin: 1.5em 0; padding: 20px 26px; border-radius: 22px; background: var(--gold-soft); color: var(--ink); }
.prose table { width: 100%; margin: 1.4em 0; border-collapse: collapse; font-size: 15.5px; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { color: var(--ink); font-weight: 600; background: #fff; }
.prose iframe { max-width: 100%; border: 0; border-radius: 18px; }
.prose hr { margin: 2em 0; border: 0; border-top: 1px solid var(--line-2); }
.txt .acts { margin-top: 24px; }

.steps { position: relative; display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 18px; margin: 44px 0 0; padding: 0; list-style: none; }
.steps--5 { --cols: 5; } .steps--3 { --cols: 3; } .steps--2 { --cols: 2; } .steps--1 { --cols: 1; }
.steps::before { content: ''; position: absolute; left: 0; right: 0; top: -18px; height: 3px; border-radius: 3px; background: var(--gold); transform: scaleX(var(--draw, 0)); transform-origin: left; }
.steps li { position: relative; padding: 26px 24px; border-radius: 26px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.steps li b { font: 500 14px/1 var(--display); color: var(--gold-ink); letter-spacing: .08em; }
.steps h3 { margin: 14px 0 0; font: 500 18px/1.25 var(--display); }
.steps p { margin: 8px 0 0; font-size: 15px; color: var(--ink-2); }
.feats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 40px; }
.feat { padding: 26px; border-radius: 26px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.feat i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--aqua-soft); color: var(--aqua-ink); }
.feat h3 { margin: 16px 0 0; font: 500 18px/1.3 var(--display); }
.feat p { margin: 8px 0 0; font-size: 15px; color: var(--ink-2); }
.bquote { position: relative; margin: 0; padding: clamp(28px, 4vw, 56px) clamp(24px, 5vw, 72px); border-radius: 36px; background: linear-gradient(140deg, var(--gold-soft), #fff 70%); }
.bquote::before { content: '«'; position: absolute; left: 18px; top: -10px; font: 300 120px/1 var(--display); color: var(--gold); opacity: .55; }
.bquote p { position: relative; margin: 0; font: 300 clamp(22px, 2.6vw, 38px)/1.3 var(--display); letter-spacing: -.02em; color: var(--ink); }
.bquote cite { display: block; margin-top: 16px; font-style: normal; color: var(--muted); }
.video { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; margin-top: 24px; padding: 0; border: 0; border-radius: 30px; overflow: hidden; background: linear-gradient(140deg, var(--aqua-soft), #fff); cursor: pointer; box-shadow: var(--shadow); }
.video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.video:hover img { transform: scale(1.03); }
.video-play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: var(--gold); color: #fff; box-shadow: 0 20px 40px -14px rgba(120,110,0,.7); transition: transform .4s var(--ease); }
.video-play .i { width: 30px; height: 30px; margin-left: 4px; }
.video:hover .video-play { transform: scale(1.08); }
.video--on iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.bimg { margin: 0; border-radius: 30px; overflow: hidden; }
.bimg img { display: block; width: 100%; }
.bimg figcaption { padding: 12px 4px; font-size: 14px; color: var(--muted); }
.links-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-top: 36px; }
.lnk { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; min-height: 170px; padding: 46px 22px 20px; border-radius: 24px; overflow: hidden; background: linear-gradient(150deg, #fff, var(--aqua-soft)); box-shadow: inset 0 0 0 1px var(--line); transition: transform .5s var(--ease), box-shadow .5s; }
.lnk:hover { transform: translateY(-5px); box-shadow: inset 0 0 0 1.5px var(--aqua), var(--shadow); }
.lnk-name { font: 500 19px/1.25 var(--display); overflow-wrap: anywhere; }
.lnk-go { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--aqua-ink); }
.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(26px, 4vw, 52px); border-radius: 36px; background: linear-gradient(130deg, var(--gold-soft), #fff 50%, var(--aqua-soft)); box-shadow: inset 0 0 0 1px var(--line); }
.cta .sec-title { margin-top: 0; }
.bhtml { display: flex; justify-content: center; }

/* Каталог услуг */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; margin-top: 30px; }
.svc-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 36px; }
.svc { display: flex; flex-direction: column; border-radius: 30px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.svc:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1.5px rgba(4,82,105,.4), var(--shadow); }
.svc-art { display: block; margin: 10px 10px 0; border-radius: 22px; overflow: hidden; }
.svc-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; flex: 1; }
.svc-body b { font: 500 19px/1.25 var(--display); letter-spacing: -.01em; }
.svc-text { font-size: 14.5px; color: var(--ink-2); flex: 1; }
.svc-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; font-weight: 600; }
.svc-foot .i { display: grid; width: 40px; height: 40px; padding: 11px; border-radius: 50%; background: var(--aqua-soft); color: var(--aqua-ink); transition: background .3s, transform .4s var(--ease); }
.svc:hover .svc-foot .i { background: var(--gold); color: #fff; transform: translateX(3px); }
.cat-more { margin-top: clamp(48px, 6vw, 80px); }
.cat-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 0 32px; margin: 18px 0 0; padding: 0; list-style: none; }
.cat-list a { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line-2); font-weight: 500; transition: color .25s; }
.cat-list a:hover { color: var(--aqua-ink); }
.cat-list .i { color: var(--aqua); flex: none; }

/* Документы */
.dhero { padding: calc(var(--top-h) + 70px) 0 30px; }
.dhero-date { margin: 14px 0 0; color: var(--muted); font-size: 15px; }
.doc { display: grid; grid-template-columns: 270px minmax(0, 780px); gap: clamp(28px, 5vw, 72px); padding-bottom: clamp(64px, 8vw, 120px); }
.doc--solo { grid-template-columns: minmax(0, 860px); }
.doc-toc { position: sticky; top: 96px; align-self: start; display: grid; gap: 4px; max-height: calc(100svh - 120px); overflow-y: auto; padding: 20px; border-radius: 24px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; }
.doc-toc b { margin-bottom: 8px; font: 500 12.5px/1.3 var(--display); letter-spacing: .1em; text-transform: uppercase; }
.doc-toc a { padding: 5px 0; color: var(--ink-2); line-height: 1.35; }
.doc-toc a.lvl3 { padding-left: 12px; font-size: 13.5px; }
.doc-toc a:hover { color: var(--aqua-ink); }
.prose--doc { padding: clamp(24px, 4vw, 48px); border-radius: 30px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 16.5px; }

/* Контакты */
.blk--contacts { padding-top: 30px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ccard { display: grid; gap: 6px; align-content: start; padding: 24px; border-radius: 26px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .35s, transform .45s var(--ease); }
a.ccard:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1.5px var(--aqua), var(--shadow); }
.ccard i { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 8px; border-radius: 15px; background: var(--aqua-soft); color: var(--aqua-ink); }
.ccard span { font-size: 14px; color: var(--muted); }
.ccard b { font: 500 18px/1.3 var(--display); overflow-wrap: anywhere; }
.ccard--wide { grid-column: 1 / -1; }
.ccard--wide .msgs { margin-top: 6px; }

/* Блог */
.blk--blog { padding-top: 34px; }
.post-lead { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: center; padding: 14px; border-radius: 34px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .5s var(--ease); }
.post-lead:hover { box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.post-lead .post-img { border-radius: 24px; }
.post-lead:hover .post-img img { transform: scale(1.04); }
.post-lead-txt { display: grid; gap: 14px; padding: 10px 24px 10px 0; }
.post-lead-txt b { font: 300 clamp(24px, 2.6vw, 38px)/1.12 var(--display); letter-spacing: -.015em; }
.post-lead-ex { color: var(--ink-2); }
.post-lead .post-meta { padding: 0; }
.posts--grid { margin-top: 24px; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 48px; }
.pager a, .pager span { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 12px; border-radius: 99px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; }
.pager a:hover { box-shadow: inset 0 0 0 1.5px var(--aqua); }
.pager [aria-current] { background: var(--gold); color: #fff; box-shadow: none; }

/* Статья */
.progress { position: fixed; inset: 0 0 auto; z-index: 41; height: 3px; pointer-events: none; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--aqua), var(--gold)); transform: scaleX(0); transform-origin: left; }
.art-head { max-width: 980px; padding-top: calc(var(--top-h) + 60px); }
.crumbs ~ .article .art-head { padding-top: 26px; }
.art-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-size: 14.5px; color: var(--muted); }
.art-title { margin: 18px 0 0; font: 300 clamp(30px, 4vw, 58px)/1.06 var(--display); letter-spacing: -.035em; text-wrap: balance; }
.art-cover { margin-top: clamp(28px, 4vw, 48px); }
.art-cover img { display: block; width: 100%; max-height: 600px; object-fit: cover; border-radius: 34px; }
.art-layout { display: grid; grid-template-columns: 260px minmax(0, 740px); justify-content: center; gap: clamp(28px, 5vw, 72px); padding-top: clamp(36px, 5vw, 64px); }
.art-aside { position: sticky; top: 96px; align-self: start; display: grid; gap: 16px; }
.toc { display: grid; gap: 2px; padding: 18px; border-radius: 22px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; max-height: 50svh; overflow-y: auto; }
.toc b { margin-bottom: 8px; font: 500 12.5px/1.3 var(--display); letter-spacing: .1em; text-transform: uppercase; }
.toc a { padding: 6px 10px; border-radius: 10px; color: var(--ink-2); line-height: 1.35; transition: background .25s, color .25s; }
.toc a:hover { color: var(--ink); }
.toc a.is-on { background: var(--aqua-soft); color: var(--aqua-ink); }
.art-cta { padding: 20px; border-radius: 22px; background: linear-gradient(150deg, var(--gold-soft), #fff); box-shadow: inset 0 0 0 1px var(--line); }
.art-cta b { font: 500 16px/1.3 var(--display); }
.art-cta p { margin: 8px 0 14px; font-size: 14px; color: var(--ink-2); }
.prose--article { font-size: 18px; line-height: 1.78; }
.art-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 36px 0 0; }
.art-tags a { padding: 8px 14px; border-radius: 99px; background: var(--aqua-soft); color: var(--aqua-ink); font-size: 14px; font-weight: 600; }
.art-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line-2); font-size: 15px; color: var(--muted); }
.art-share a, .art-share button { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border: 0; border-radius: 99px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; color: var(--ink); cursor: pointer; }
.art-share .i { color: var(--aqua); }
.notice { margin: calc(var(--top-h) + 20px) 0 0; padding: 14px 18px; border-radius: 16px; background: var(--gold-soft); font-weight: 600; }

/* Магазин и товар */
.blk--shop { padding-top: 34px; }
.goods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 10px; }
.good { display: flex; flex-direction: column; border-radius: 30px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.good:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1.5px rgba(4,82,105,.4), var(--shadow); }
.good-img { display: block; margin: 10px 10px 0; aspect-ratio: 3 / 2; border-radius: 22px; overflow: hidden; background: var(--aqua-soft); }
.good-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.good:hover .good-img img { transform: scale(1.05); }
.good-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; flex: 1; }
.good-body b { font: 500 18px/1.3 var(--display); }
.good-text { font-size: 14.5px; color: var(--ink-2); flex: 1; }
.good-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
.good-price { font: 500 20px/1 var(--display); }
.good-go { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--aqua-ink); }
.prod { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-top: 26px; }
.prod-media { border-radius: 34px; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.prod-media img { display: block; width: 100%; }
.variants { display: grid; gap: 8px; margin: 26px 0 0; padding: 0; border: 0; min-width: 0; }
.variants legend { margin-bottom: 10px; font-size: 14px; color: var(--muted); }
.variants label { cursor: pointer; }
.variants input { position: absolute; opacity: 0; pointer-events: none; }
.variants span { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-2); transition: box-shadow .25s, background .25s; }
.variants small { font: 500 15px/1 var(--display); color: var(--ink-2); }
.variants input:checked + span { background: var(--aqua-soft); box-shadow: inset 0 0 0 2px var(--aqua); }
.variants input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.prod-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; margin-top: 28px; }
.prod-price { display: flex; align-items: baseline; gap: 12px; }
.prod-price b { font: 300 clamp(30px, 3vw, 42px)/1 var(--display); letter-spacing: -.015em; }
.prod-price s { color: var(--muted); }
.prod-note { margin: 18px 0 0; font-size: 14px; color: var(--muted); }
.blk--prod .prose { padding: clamp(24px, 4vw, 48px); border-radius: 30px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }

/* 404 */
.nf { padding: calc(var(--top-h) + 80px) 0 clamp(80px, 10vw, 140px); text-align: center; }
.nf .phero-lead { margin-inline: auto; }
.nf .acts { justify-content: center; }
.nf-code { display: flex; align-items: center; justify-content: center; gap: .1em; font: 300 clamp(110px, 20vw, 260px)/1 var(--display); letter-spacing: -.06em; color: var(--ink); }
.nf-crown { display: grid; place-items: center; width: .9em; height: .9em; border-radius: 50%; background: radial-gradient(circle, var(--gold-soft), var(--aqua-soft)); }
.nf-crown .logo-mark { width: 60%; height: auto; animation: mart-float 4s ease-in-out infinite; }

/* ═════════ Адаптив ═════════ */
@media (max-width: 1180px) {
  .nav { gap: 20px; }
  .top .phone { display: none; }
  .srv { grid-template-columns: 44px minmax(0, 1fr) 130px 46px; }
  .srv-text { display: none; }
  .svc-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1080px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-grid { grid-template-columns: minmax(0, 1fr); }
  .process-head { position: static; }
  .faq-wrap { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .posts, .goods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .final-grid, .contact-grid, .prod { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .steps, .steps--5 { --cols: 2; }
  .steps::before { display: none; }
  .doc, .art-layout { grid-template-columns: minmax(0, 1fr); }
  .doc-toc, .art-aside { position: static; }
  .art-aside { order: 2; }
  .toc { max-height: none; }
  .post-lead { grid-template-columns: minmax(0, 1fr); }
  .post-lead-txt { padding: 6px 12px 12px; }
}
@media (max-width: 900px) {
  :root { --top-h: 64px; }
  .nav, .top .phone { display: none; }
  .top { height: 64px; gap: 10px; }
  .top.is-solid { height: 60px; }
  .top-cta { margin-left: auto; }
  .burger { display: block; }
  .copy { left: 0; right: 0; top: auto; bottom: 0; width: auto; height: 52svh; padding: 0 var(--gut) 28px; grid-template-columns: minmax(0, 1fr); align-items: end;
    background: linear-gradient(to top, #fff 62%, rgba(255,255,255,0)); }
  .rail { display: none; }
  .texts { height: 100%; max-height: none; }
  .scene { top: auto; bottom: 0; transform: translateY(30px); }
  .scene.is-up { transform: translateY(-30px); }
  .scene.is-on { transform: none; }
  .h1 { font-size: clamp(30px, 8.4vw, 44px); }
  .h2 { font-size: clamp(26px, 7.4vw, 38px); }
  .lead { font-size: 16px; margin-top: 12px; }
  .acts { margin-top: 20px; }
  .scene .acts .btn { flex: 1 1 auto; height: 50px; }
  .chips { margin-top: 14px; }
  .scene-link { margin-top: 16px; }
  .hint, .bigword { display: none; }
  .after { border-radius: 28px 28px 0 0; }
  .works-pin { position: static; height: auto; overflow: visible; }
  .works-track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: none; }
  .works-track::-webkit-scrollbar { display: none; }
  .case { flex: 0 0 86vw; grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 12px 12px 22px; scroll-snap-align: center; }
  .case-txt { padding: 0 10px; }
  .case--you { flex-basis: 76vw; padding: 26px; }
  .stack-card { top: calc(80px + var(--n) * 12px); min-height: 0; flex-direction: column; gap: 14px; }
  .phero { padding-top: calc(var(--top-h) + 40px); }
  .phero-grid { grid-template-columns: minmax(0, 1fr); }
  .phero-art { order: -1; width: min(100%, 460px); margin: 0 auto -10px; aspect-ratio: 1 / .72; }
  .txt-split, .txt-cols { grid-template-columns: minmax(0, 1fr); }
  .txt-cols > h2 { position: static; }
  .txt-split.is-flip .txt-img { order: 0; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .top-cta { display: none; }
  .burger { margin-left: auto; }
  .logo-word { height: 13px; }
  .sec-head--row { flex-direction: column; align-items: flex-start; }
  .stats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .stats li { padding: 18px 16px; border-radius: 20px; }
  .stats span { font-size: 13.5px; }
  .srv { grid-template-columns: minmax(0, 1fr) 40px; gap: 6px 14px; padding: 22px 4px; }
  .srv-n { display: none; }
  .srv-price { grid-column: 1; grid-row: 2; text-align: left; font-size: 14.5px; color: var(--aqua-ink); }
  .srv-go { grid-column: 2; grid-row: 1 / 3; width: 40px; height: 40px; }
  .srv-float { display: none; }
  .tabs { width: 100%; }
  .tabs button { flex: 1 1 auto; padding: 0 12px; }
  .posts, .goods, .contact-cards, .svc-grid--4 { grid-template-columns: minmax(0, 1fr); }
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-brand { grid-column: 1 / -1; }
  .foot-bottom { flex-direction: column; }
  .fab { right: 12px; bottom: 12px; }
  .fab-btn span { display: none; }
  .fab-btn { width: 54px; padding: 0; justify-content: center; }
  .cookie { left: 12px; right: 78px; bottom: 12px; max-width: none; gap: 10px; padding: 14px 16px; font-size: 13px; border-radius: 20px; }
  .cookie .btn.sm { height: 38px; padding: 0 14px; font-size: 14px; }
  .steps, .steps--5 { --cols: 1; }
  .mega { display: none; }
  .final-title { font-size: clamp(40px, 12vw, 60px); }
  .final-grid--card { padding: 16px; border-radius: 30px; }
  .final-card { padding: 22px 18px; border-radius: 26px; }
  .prose--doc, .blk--prod .prose { padding: 20px 18px; }
  .case h3 { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .scene, .scene.is-on { transition: opacity .2s; }
  .hint svg, .mart *, .mart-logo .logo-mark, .nf-crown .logo-mark { animation: none !important; }
  .stack-card { position: relative; top: 0; }
}

/* ── Служебные страницы движка (оформление заказа, кабинет, оплата) — до переделки в покупку в один шаг ── */
.container { width: min(100% - 2 * var(--gut), 1240px); margin-inline: auto; }
#main > .container:first-child, #main > section.container:first-child, #main > .page-head:first-child { padding-top: calc(var(--top-h) + 40px); }
.crumbs + .container, .crumbs + section.container { padding-top: 24px; }
#main > .container:last-child, #main > section.container:last-child { padding-bottom: clamp(64px, 8vw, 110px); }
.container .h1 { font-size: clamp(30px, 3.6vw, 52px); }
.container .h2 { font-size: clamp(22px, 2.4vw, 32px); }
.container .h3 { margin: 0 0 12px; font: 500 19px/1.3 var(--display); }
.btn--primary { background: var(--gold); }
.btn--lg { height: 58px; padding: 0 30px; }
.btn--block { width: 100%; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.notice { margin: 16px 0; padding: 14px 18px; border-radius: 16px; background: var(--aqua-soft); color: var(--ink); }
.notice--error { background: #fbe4e1; color: #8a1f17; }
.card-soft, .tile, .summary, .paybox, .payqr__card { padding: clamp(20px, 3vw, 32px); border-radius: 26px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.step { margin: 26px 0 0; padding: 0; border: 0; }
.step legend, .step__n { font: 500 18px/1.3 var(--display); }
.container .field { margin-top: 12px; }
.container .field input, .container .field select, .container .field textarea, .container input:not([type=checkbox]):not([type=radio]):not([type=hidden]) { width: 100%; padding: 14px 16px; border: 0; border-radius: 16px; background: #f4f3ee; font: 500 16px/1.4 var(--text); color: var(--ink); }
.summary__row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.summary__row--total { font-weight: 700; border-bottom: 0; }
.check { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; font-size: 14px; color: var(--ink-2); }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg__item { padding: 10px 16px; border-radius: 99px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; }
.thanks__flower, .t-stem, .t-leaf, .t-bloom { display: none; }
@media (max-width: 600px) { .grid2 { grid-template-columns: minmax(0, 1fr); } }

/* Крупные надписи — фирменным цветом, как заголовки старого сайта */
.manifest-text, .stats b, .srv-name, .post b, .lnk-name, .svc-body b, .good-body b, .ccard b, .post-lead-txt b, .prod-price b, .sum span, .direct, .menu-nav a, .menu-phone, .nf-code, .mega-item b { color: var(--ink); }

/* ═════════ Живой фон: точки и переливы, реагируют на курсор (assets/js/life.js) ═════════ */
.life { position: fixed; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity 1.2s ease; }
.life.is-on { opacity: 1; }
main { position: relative; z-index: 1; }

/* ═════════ Плотные раскладки блоков (без пустых полей) ═════════ */
/* длинный текст: заголовок сверху, текст в карточке в две колонки */
.txt-card .sec-title { max-width: 860px; }
.txt-card-body { margin-top: 26px; padding: clamp(22px, 3.4vw, 44px); border-radius: 30px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -50px rgba(4,82,105,.35); }
.txt-card-body .prose { columns: 2 340px; column-gap: clamp(28px, 4vw, 56px); }
.txt-card-body .prose > * { break-inside: avoid; }
.txt-card-body .prose h2, .txt-card-body .prose h3 { break-after: avoid; }
.txt-card-body .acts { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
/* строки «🔹 Заголовок – текст» из старых страниц превращаются в карточки */
.txt-feats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-top: 24px; }
.txt-feat { padding: 22px 22px 20px; border-radius: 22px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.txt-feat:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(4,82,105,.25), var(--shadow); }
.txt-feat i { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 14px; border-radius: 12px; background: var(--gold-soft); color: var(--gold-ink); font-style: normal; font: 500 15px/1 var(--display); }
.txt-feat b { display: block; font: 400 19px/1.25 var(--display); color: var(--ink); }
.txt-feat span { display: block; margin-top: 6px; font-size: 15px; color: var(--ink-2); }
.txt-lead { margin-top: 16px; max-width: 760px; font-size: 19px; line-height: 1.55; color: var(--text-c); }
.txt-lead strong { color: var(--ink); font-weight: 500; }
.txt-outro { margin-top: 22px; max-width: 760px; }

/* один тариф — широкая карточка: слева название, цена и кнопка, справа что входит */
.prices--1 { grid-template-columns: minmax(0, 1fr); }
.prices--1 .price { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); grid-template-areas: "b f" "t f" "s f" "n f" "a f"; align-content: start; column-gap: clamp(24px, 5vw, 72px); padding: clamp(26px, 3.6vw, 44px); }
.prices--1 .badge { grid-area: b; } .prices--1 h3 { grid-area: t; font-size: 26px; } .prices--1 .sum { grid-area: s; } .prices--1 .price-note { grid-area: n; } .prices--1 .price-acts { grid-area: a; align-self: end; }
.prices--1 .feats { grid-area: f; align-self: center; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin: 0; padding: clamp(18px, 2.6vw, 30px); border-radius: 22px; background: var(--aqua-soft); font-size: 16px; color: var(--text-c); }
.prices--1 .sum span { font-size: clamp(36px, 4vw, 54px); }

/* ═════════ Контакты ═════════ */
.chero { padding: calc(var(--top-h) + 64px) 0 clamp(48px, 6vw, 80px); }
.crumbs + .chero { padding-top: 22px; }
.chero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.clist { display: grid; gap: 0; margin: 30px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.clist li { border-bottom: 1px solid var(--line); }
.clist a, .clist div { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 16px 4px; }
.clist i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--aqua-soft); color: var(--ink); }
.clist span { display: block; font-size: 13.5px; color: var(--muted); }
.clist b { display: block; font: 300 clamp(20px, 2vw, 26px)/1.25 var(--display); color: var(--ink); overflow-wrap: anywhere; }
.clist em { font-style: normal; color: var(--gold-ink); opacity: 0; transform: translateX(-6px); transition: .35s var(--ease); }
.clist a:hover em { opacity: 1; transform: none; }
.chero .msgs { margin-top: 24px; }
.about-card { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(18px, 2.6vw, 30px); border-radius: 34px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -50px rgba(4,82,105,.35); }
.about-card figure { margin: 0; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 4.4; background: var(--aqua-soft); }
.about-card img { width: 100%; height: 100%; object-fit: cover; }
.about-card .sec-title { margin-top: 10px; }
.about-card .prose { margin-top: 16px; }
.req { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 28px; }
.req div { padding: 20px 22px; border-radius: 22px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.req b { display: block; font: 400 18px/1.3 var(--display); color: var(--ink); }
.req span { display: block; margin-top: 6px; font-size: 14.5px; color: var(--ink-2); overflow-wrap: anywhere; }
.req-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.req-row .bhtml { justify-content: flex-start; }

/* ═════════ О студии ═════════ */
.ab-intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.ab-intro figure { margin: 0; border-radius: 32px; overflow: hidden; box-shadow: var(--shadow); }
.ab-intro img { display: block; width: 100%; }
.ab-intro .prose { margin-top: 18px; }
.ab-stats { margin-top: clamp(36px, 5vw, 64px); }
.ab-why { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.ab-why .txt-feats { margin-top: 0; grid-template-columns: 1fr 1fr; }
.ab-mission { padding: clamp(26px, 4vw, 56px); border-radius: 36px; color: rgba(255,255,255,.82);
  background: radial-gradient(60% 80% at 100% 0%, rgba(216,198,0,.2), transparent 65%), linear-gradient(160deg, #05607a, #045269 55%, #033e50); }
.ab-mission .tag { color: var(--gold); }
.ab-mission p.big { margin: 14px 0 0; max-width: 900px; font: 300 clamp(24px, 2.8vw, 38px)/1.3 var(--display); color: #fff; }

@media (max-width: 1080px) {
  .foot-cta { grid-template-columns: minmax(0, 1fr); }
  .foot-cta-acts { justify-items: start; }
  .foot-cta .msgs { justify-content: flex-start; }
  .chero-grid, .about-card, .ab-intro, .ab-why { grid-template-columns: minmax(0, 1fr); }
  .prices--1 .price { grid-template-columns: minmax(0, 1fr); grid-template-areas: "b" "t" "s" "f" "n" "a"; }
  .prices--1 .feats { margin: 18px 0 6px; }
}
@media (max-width: 600px) {
  .txt-card-body .prose { columns: 1; }
  .prices--1 .feats, .ab-why .txt-feats { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 20px; }
  .about-card figure { aspect-ratio: 4 / 3.4; }
}

/* ── Покупка в один шаг: окно оплаты, заказ, QR-код СБП, «Мои покупки» ── */
.buy-sum { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 14px 0 20px; padding: 14px 18px; border-radius: 18px; background: var(--aqua-soft); color: var(--ink); }
.buy-sum b { font: 400 26px/1 var(--display); white-space: nowrap; }
.buy-dlg .form-note.is-err { margin-bottom: 12px; }
.buy-dlg .field small { color: var(--muted); }
.pay-methods span { height: 44px; }
.order { padding: calc(var(--top-h) + 48px) 0 clamp(70px, 9vw, 120px); }
.order > .form-note { margin-top: 18px; }
.order-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 32px); margin-top: 36px; align-items: start; }
.order-card, .paybox, .dl-list, .acc-card, .qr-card { padding: clamp(20px, 3vw, 30px); border-radius: 28px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.order-row { display: flex; justify-content: space-between; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.order-row b { font-weight: 600; color: var(--ink); white-space: nowrap; }
.order-row--total { border-bottom: 0; font-size: 19px; }
.order-row--total b { font: 400 26px/1.1 var(--display); }
.order-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 8px; font-size: 14.5px; color: var(--muted); }
.order-meta a b { color: var(--ink); font-size: 17px; }
.pill { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 99px; font-size: 13.5px; font-weight: 600; background: #f1f0eb; color: var(--ink-2); }
.pill--paid { background: #e6f3ea; color: #2f6b3f; }
.pill--pending { background: var(--gold-soft); color: var(--gold-ink); }
.pill--canceled { background: #f8e9e7; color: #9b3a2c; }
.order-side { display: grid; gap: 16px; }
.order-h { margin: 0 0 12px; font: 400 22px/1.2 var(--display); }
.paybox { display: grid; gap: 12px; }
.paybox form .btn { width: 100%; }
.paybox p { margin: 0; }
.paybox a, .acc-card a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.dl { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.dl-list .order-h + .dl { border-top: 0; }
.dl span { display: grid; gap: 2px; min-width: 0; }
.dl b { color: var(--ink); overflow-wrap: anywhere; }
.dl small { font-size: 13.5px; color: var(--muted); }
.pay-wait { display: flex; align-items: center; gap: 10px; margin: 0; font-weight: 600; color: var(--ink-2); }
.spin { width: 18px; height: 18px; flex: none; border-radius: 50%; border: 2.5px solid var(--line-2); border-top-color: var(--gold); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(1turn); } }
.qr-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 4vw, 44px); align-items: center; max-width: 860px; margin-top: 30px; }
.qr-code { padding: 14px; border-radius: 22px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-2); line-height: 0; }
.qr-code svg { width: min(280px, 70vw); height: auto; }
.qr-steps { margin: 0 0 18px; padding-left: 20px; display: grid; gap: 8px; color: var(--ink-2); }
.qr-mobile { display: none; margin-bottom: 16px; }
.acc-card { max-width: 560px; margin-top: 30px; }
.acc-card p { margin: 0 0 6px; }
.acc-list { display: grid; gap: 16px; margin-top: 30px; max-width: 860px; }
.acc-list .order-meta { margin: 0 0 6px; }
.acc-list .btn.sm { margin-top: 10px; }
.acc-again { margin-top: 14px; }
.linkbtn { padding: 0; border: 0; background: none; color: var(--ink-2); font-size: 14.5px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (max-width: 900px) {
  .order-grid { grid-template-columns: minmax(0, 1fr); }
  .qr-card { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: left; }
  .qr-mobile { display: inline-flex; }
}
@media (max-width: 640px) {
  .buy-dlg .form-row { grid-template-columns: minmax(0, 1fr); }
  .dl { flex-wrap: wrap; }
}
