/* Manrope: SIL Open Font License 1.1 */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("f-manrope-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("f-manrope-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: 200 800;
  font-display: swap;
  src: url("f-manrope-greek.woff2") format("woff2");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("f-manrope-vietnamese.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("f-manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("f-manrope-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 {
  --primary: #2F3B4C;
  --primary-dark: #1C2430;
  --accent: #3D8BFD;
  --bg: #F6F7F9;
  --text: #1A1F27;
  --muted: #5b6474;
  --surface: #FFFFFF;
  --card: #FFFFFF;
  --border: #e4e8ef;
  --on-primary: #FFFFFF;
  --input-bg: #fbfcfe;
  --header-bg: rgba(255,255,255,.86);
  --menu-bg: #ffffff;
  --footer-bg: #0d1320;
  --radius: 18px;
  --radius-lg: 28px;
  --btn-radius: 999px;
  --chip-radius: 999px;
  --input-radius: 12px;
  --nav-radius: 10px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 28px rgba(16, 24, 40, .07);
  --shadow-lg: 0 24px 60px -18px rgba(16, 24, 40, .28);
  --tint: color-mix(in srgb, var(--primary) 9%, var(--card));
  --tint-2: color-mix(in srgb, var(--accent) 14%, var(--card));
  --font: "Manrope", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-heading: "Manrope", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --h-weight: 800;
  --h3-weight: 700;
  --h-case: none;
  --h-track: -0.02em;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--surface); line-height: 1.65; font-size: 17px; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--primary); }
a:hover { color: var(--primary-dark); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .55em; letter-spacing: var(--h-track); font-weight: var(--h-weight); font-family: var(--font-heading); }
h1, h2 { text-transform: var(--h-case); }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
h3 { font-size: 1.14rem; letter-spacing: -.01em; font-weight: var(--h3-weight); }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; }
.icon { width: 24px; height: 24px; flex: none; }
.btn-icon { width: 18px; height: 18px; vertical-align: -3px; margin-left: 4px; transition: transform .2s; }

/* Появление при прокрутке (только с JS; без JS всё видно сразу) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Шапка */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-bottom-color: var(--border); box-shadow: 0 6px 24px rgba(16, 24, 40, .06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 74px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 11px; font-family: var(--font-heading); font-weight: 800; font-size: 1.16rem; letter-spacing: -.02em; color: var(--text); text-decoration: none; }
.logo-mark { width: 36px; height: 36px; flex: none; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
.site-nav a { display: block; padding: 8px 13px; border-radius: var(--nav-radius); color: var(--text); text-decoration: none; font-weight: 550; font-size: .96rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--tint); color: var(--primary); }
.nav-cta-item { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after { position: absolute; left: 11px; width: 22px; height: 2px; background: var(--text); content: ""; transition: .2s; border-radius: 2px; }
.nav-toggle-bar { top: 21px; }
.nav-toggle-bar::before { left: 0; top: -7px; }
.nav-toggle-bar::after { left: 0; top: 7px; }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 4px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: var(--on-primary); border: 0; padding: 14px 28px; border-radius: var(--btn-radius); font-weight: 700; text-decoration: none; cursor: pointer; font-size: 1rem; font-family: inherit; transition: transform .15s, box-shadow .2s, background .2s; box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--primary) 70%, transparent); }
.btn:hover { color: var(--on-primary); transform: translateY(-1px); box-shadow: 0 14px 30px -10px color-mix(in srgb, var(--primary) 80%, transparent); }
.btn:hover .btn-icon { transform: translateX(3px); }
.btn-sm { padding: 9px 18px; font-size: .92rem; }
.btn-block { display: flex; width: 100%; }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--border); }
.btn-ghost:hover { background: var(--tint); color: var(--primary); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--primary) 30%, var(--border)); }
.btn-white, .btn-light { background: #fff; color: var(--primary-dark); box-shadow: 0 10px 24px -12px rgba(0,0,0,.4); }
.btn-white:hover, .btn-light:hover { color: var(--primary-dark); background: #fff; }
.btn-outline { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--border); }
.btn-outline:hover { background: var(--bg); color: var(--text); }

/* Первый экран */
.hero { position: relative; overflow: hidden; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); background: var(--tint); padding: 6px 14px; border-radius: var(--chip-radius); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.hero .lead { font-size: clamp(1.06rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.chips { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { display: inline-flex; align-items: center; gap: 7px; background: var(--card); border: 1px solid var(--border); border-radius: var(--chip-radius); padding: 7px 14px 7px 10px; font-size: .9rem; font-weight: 600; box-shadow: var(--shadow); }
.chip-icon { width: 18px; height: 18px; color: var(--on-primary); background: var(--primary); border-radius: 50%; padding: 3px; stroke-width: 2.6; }
.hero-glow { position: absolute; inset: 0; z-index: 0; background:
  radial-gradient(600px 380px at 85% 10%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%),
  radial-gradient(700px 420px at 0% 100%, color-mix(in srgb, var(--primary) 12%, transparent), transparent 70%), var(--bg); }
.hero-glow::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(color-mix(in srgb, var(--primary) 18%, transparent) 1.2px, transparent 1.2px); background-size: 26px 26px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%); opacity: .55; }

.hero-split, .hero-minimal { padding: 84px 0 96px; }
.hero-side { position: relative; }
.media-box { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--tint); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; }
.media-box img, .media-art svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-art { width: 100%; height: 100%; }
.hero-media { transform: rotate(1.2deg); }
.hero-side::before { content: ""; position: absolute; inset: 30px -18px -18px 30px; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 40%, var(--primary))); opacity: .22; z-index: -1; }
.hero-split .hero-side, .hero-minimal .hero-side { z-index: 1; }
.float-card { position: absolute; left: -26px; bottom: 28px; display: flex; align-items: center; gap: 10px; background: var(--card); border-radius: calc(var(--radius) - 2px); padding: 12px 18px 12px 12px; box-shadow: var(--shadow-lg); font-weight: 700; font-size: .95rem; max-width: 280px; }
.float-icon { width: 40px; height: 40px; padding: 9px; border-radius: 12px; color: var(--on-primary); background: linear-gradient(135deg, var(--primary), var(--primary-dark)); flex: none; }
.hero-minimal .hero-grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.hero-minimal .lead { margin-left: auto; margin-right: auto; }
.hero-minimal .hero-actions, .hero-minimal .chips { justify-content: center; }
.hero-minimal.hero-lead .hero-grid { grid-template-columns: 1.05fr .95fr; text-align: left; justify-items: stretch; }
.hero-minimal.hero-lead .hero-actions, .hero-minimal.hero-lead .chips { justify-content: flex-start; }
.hero-wide { position: relative; z-index: 2; margin-top: 54px; }
.hero-wide .media-box { aspect-ratio: 21 / 9; }

.hero-cover { min-height: min(760px, 92vh); display: flex; align-items: center; padding: 110px 0; color: #fff; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }
.hero-cover .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, color-mix(in srgb, var(--primary-dark) 92%, #000) 0%, color-mix(in srgb, var(--primary-dark) 70%, transparent) 50%, rgba(0,0,0,.08) 100%); }
.hero-cover:not(.hero-has-photo) .hero-shade { background: radial-gradient(800px 500px at 90% 0%, color-mix(in srgb, var(--accent) 45%, transparent), transparent 70%); }
.hero-deco span { position: absolute; border-radius: 50%; z-index: 1; pointer-events: none; }
.hero-deco span:first-child { width: 420px; height: 420px; right: -120px; bottom: -160px; border: 60px solid rgba(255,255,255,.06); }
.hero-deco span:last-child { width: 140px; height: 140px; right: 18%; top: 14%; background: var(--accent); opacity: .25; filter: blur(2px); }
.hero-cover.hero-has-photo .hero-deco { display: none; }
.hero-cover .hero-grid { grid-template-columns: minmax(0, 720px); }
.hero-cover:not(.hero-has-photo) .hero-grid { grid-template-columns: 1.1fr .9fr; }
.hero-media-dark { box-shadow: 0 30px 70px -20px rgba(0,0,0,.45); background: transparent; }
.hero-cover .hero-side::before { background: #fff; opacity: .08; }
.hero-cover.hero-lead .hero-grid { grid-template-columns: 1.1fr .9fr; }
.hero-cover h1 { color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,.18); }
.hero-cover .lead { color: rgba(255,255,255,.9); }
.hero-cover .eyebrow { background: rgba(255,255,255,.14); color: #fff; backdrop-filter: blur(6px); }
.hero-cover .btn-ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); }
.hero-cover .btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.hero-cover .btn-primary { background: #fff; color: var(--primary-dark); }
.chips-dark li { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.22); color: #fff; box-shadow: none; backdrop-filter: blur(6px); }
.chips-dark .chip-icon { background: var(--accent); }

/* Форма заявки на первом экране (лидогенерация) */
.lead-form { background: var(--card); color: var(--text); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
.lead-form-title { font-size: 1.4rem; margin-bottom: .2em; }
.lead-form-compact { gap: 12px; }
.hero-cover .lead-form a { color: var(--primary); }

/* Внутренние страницы */
.page-hero { position: relative; overflow: hidden; padding: 64px 0 72px; }
.page-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.page-hero-grid.no-media { grid-template-columns: minmax(0, 820px); }
.page-hero .lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); }
.crumbs { display: flex; gap: 8px; font-size: .88rem; color: var(--muted); margin-bottom: 16px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--primary); }
.page-media { aspect-ratio: 4 / 3; }
.page-hero-article .page-hero-grid { margin: 0 auto; max-width: 820px; padding: 0 0; }
.article-media { position: relative; z-index: 1; margin-top: 36px; aspect-ratio: 16 / 9; }

/* Разделы */
.section { padding: 92px 0; position: relative; }
.section-alt { background: var(--bg); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 46px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-head h2::after, .media-copy h2::after, .faq-side h2::after, .features-split h2::after { content: ""; display: block; width: 52px; height: 4px; border-radius: 4px; margin-top: 16px; background: linear-gradient(90deg, var(--primary), var(--accent)); }
.section-head h2::after { margin-left: auto; margin-right: auto; }
.prose p { font-size: 1.07rem; color: color-mix(in srgb, var(--text) 86%, var(--surface)); }
.prose h2 { margin-bottom: .7em; }
.prose-media { margin: 10px 0 26px; aspect-ratio: 16 / 9; box-shadow: var(--shadow); }
.type-info .section-text .prose p:first-of-type { font-size: 1.18rem; color: var(--text); }

.media-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.media-row.reverse .media-copy { order: 2; }
.media-copy p { color: color-mix(in srgb, var(--text) 82%, var(--surface)); font-size: 1.05rem; }
.media-row .media-box { transform: rotate(-.6deg); }
.media-row.reverse .media-box { transform: rotate(.6deg); }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.feature-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feature { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s, border-color .25s; position: relative; overflow: hidden; }
.feature::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--primary), var(--accent)); opacity: 0; transition: opacity .25s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.feature:hover::after { opacity: 1; }
.feature p { color: var(--muted); margin: 0; font-size: .98rem; }
.feature-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; color: var(--primary); background: linear-gradient(135deg, var(--tint), var(--tint-2)); margin-bottom: 18px; flex: none; }
.feature-icon .icon { width: 26px; height: 26px; }
.features-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.features-split .media-box { margin-top: 26px; }
.section-intro-left { color: var(--muted); font-size: 1.05rem; }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 22px; counter-reset: t; position: relative; }
.timeline li { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow); }
.timeline li::before { content: ""; position: absolute; top: 50px; left: calc(100% + 1px); width: 22px; height: 2px; background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--primary) 45%, transparent) 0 6px, transparent 6px 10px); }
.timeline li:last-child::before { display: none; }
.t-num { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; font-weight: 800; font-family: var(--font-heading); color: var(--on-primary); background: linear-gradient(135deg, var(--primary), var(--primary-dark)); box-shadow: 0 0 0 6px var(--tint); margin-bottom: 18px; }
.timeline p { color: var(--muted); margin: 0; font-size: .97rem; }

.faq-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.faq-side p { color: var(--muted); }
.ask-card { display: flex; gap: 14px; align-items: center; margin-top: 26px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.ask-card .feature-icon { margin: 0; }
.ask-card p { margin: 0 0 2px; color: var(--muted); font-size: .92rem; }
.ask-card a { font-weight: 700; text-decoration: none; }
.faq { display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--border); border-radius: calc(var(--radius) - 2px); padding: 0 22px; transition: box-shadow .2s, border-color .2s; }
.faq details[open] { box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--primary) 25%, var(--border)); }
.faq summary { cursor: pointer; font-weight: 700; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq-plus { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--primary); transition: transform .25s; }
.faq-plus .icon { width: 16px; height: 16px; stroke-width: 2.4; }
.faq details[open] .faq-plus { transform: rotate(45deg); }
.faq details p { color: var(--muted); }

.section-cta { padding-top: 40px; }
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 64px; color: var(--on-primary); background: linear-gradient(130deg, var(--primary) 0%, var(--primary-dark) 70%); display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; box-shadow: var(--shadow-lg); }
.cta-band::before { content: ""; position: absolute; width: 460px; height: 460px; right: -140px; top: -200px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 70%, transparent), transparent 70%); opacity: .55; }
.cta-band::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.12) 1.2px, transparent 1.2px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(90deg, transparent, #000); mask-image: linear-gradient(90deg, transparent 30%, #000); }
.cta-band.cta-has-photo { grid-template-columns: 1.1fr .9fr; }
.cta-copy { position: relative; z-index: 1; max-width: 640px; }
.cta-copy p { color: color-mix(in srgb, var(--on-primary) 88%, transparent); font-size: 1.1rem; }
.cta-copy h2 { color: var(--on-primary); }
.cta-photo { position: relative; z-index: 1; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; }
.cta-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Карточки страниц на главной */
.section-pages { padding-top: 40px; }
.page-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.page-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--text); box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.page-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); color: var(--text); }
.page-card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--tint); }
.page-card-media img, .page-card-media svg { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.page-card:hover .page-card-media img { transform: scale(1.05); }
.page-card-body { display: grid; gap: 8px; padding: 22px 24px 24px; }
.page-card-body strong { font-size: 1.15rem; letter-spacing: -.01em; }
.page-card-body span { color: var(--muted); font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.page-card-body em { font-style: normal; font-weight: 700; color: var(--primary); font-size: .95rem; }
.page-card:hover .btn-icon { transform: translateX(3px); }

/* Локальный бизнес: где нас найти */
.findus { display: grid; grid-template-columns: .8fr 1.2fr; gap: 0; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.findus-card { padding: 44px; }
.findus-line { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.findus-icon { width: 22px; height: 22px; color: var(--primary); margin-top: 3px; }
.findus-map { min-height: 320px; }
.findus-map svg { width: 100%; height: 100%; display: block; }

.legal h2 { font-size: 1.3rem; margin-top: 1.6em; }
.simple-page { padding: 120px 0; }
.lead-dark { font-size: 1.15rem; color: var(--muted); margin-bottom: 28px; }

/* Контакты и формы */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
.contact-info { display: grid; gap: 16px; }
.info-card { display: flex; gap: 16px; align-items: flex-start; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.info-card .feature-icon { margin: 0; }
.info-card p { margin: 2px 0 0; color: var(--muted); }
.form-card { background: var(--card); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form { display: grid; gap: 14px; }
.contact-form label { display: grid; gap: 6px; font-weight: 600; font-size: .93rem; }
.contact-form input[type=text], .contact-form input[type=email], .contact-form input[type=tel], .contact-form textarea, .contact-form select {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--border); border-radius: var(--input-radius); font: inherit; font-weight: 400; background: var(--input-bg); color: var(--text); transition: border-color .15s, box-shadow .15s, background .15s; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { outline: none; border-color: var(--primary); background: var(--card); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 14%, transparent); }
.contact-form .checkbox { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .88rem; color: var(--muted); }
.contact-form .checkbox input { margin-top: 4px; accent-color: var(--primary); }
.contact-email { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 22px; }
.contact-email p { margin: 0; }
.form-note { font-size: .85rem; color: var(--muted); margin: 0; }
.form-error { background: #fdecec; color: #8a1c1c; border-radius: 10px; padding: 10px 14px; margin: 0; }
.hp { position: absolute; left: -9999px; }

/* Подвал */
.site-footer { background: radial-gradient(900px 400px at 100% 0%, color-mix(in srgb, var(--primary) 35%, transparent), transparent 70%), var(--footer-bg); color: #c3ccd8; padding: 72px 0 0; font-size: .95rem; margin-top: 0; }
.site-footer a { color: #e6ebf2; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; color: #fff; margin-bottom: .7em; letter-spacing: -.02em; }
.footer-brand .logo-mark { width: 32px; height: 32px; }
.footer-title { color: #fff; font-weight: 700; margin-bottom: .8em; }
.footer-muted { color: #94a1b2; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 48px; padding: 22px 24px; color: #8693a4; font-size: .88rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #c9d1dc; }
.footer-address { font-style: normal; line-height: 1.75; }

/* Cookie */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; }
.cookie-inner { max-width: 960px; margin: 0 auto; background: var(--card); color: var(--text); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 14px 44px rgba(0,0,0,.18); padding: 18px 22px; display: flex; gap: 18px; align-items: center; justify-content: space-between; }
.cookie-inner p { margin: 0; font-size: .93rem; }
.cookie-actions { display: flex; gap: 10px; flex: none; }
.cookie-actions .btn { padding: 10px 22px; font-size: .93rem; }

[dir="rtl"] .float-card { left: auto; right: -26px; }
[dir="rtl"] .hero-shade { transform: scaleX(-1); }
[dir="rtl"] .timeline li::before { left: auto; right: calc(100% + 1px); }

@media (max-width: 980px) {
  .hero-grid, .hero-cover.hero-lead .hero-grid, .hero-cover:not(.hero-has-photo) .hero-grid, .hero-minimal.hero-lead .hero-grid, .page-hero-grid, .media-row, .features-split, .faq-wrap, .contact-grid, .findus, .cta-band.cta-has-photo { grid-template-columns: 1fr; }
  .media-row.reverse .media-copy { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .float-card { left: 12px; bottom: 12px; }
  .timeline li::before { display: none; }
  .hero-cover { min-height: 0; }
  .media-row, .faq-wrap { gap: 36px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--menu-bg); border-bottom: 1px solid var(--border); padding: 10px 16px 18px; box-shadow: 0 16px 30px rgba(0,0,0,.08); }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; }
  .nav-cta-item { margin: 6px 0 0; }
  .header-inner { position: relative; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { top: 0; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { top: 0; transform: rotate(-45deg); }
  .hero-split, .hero-minimal { padding: 48px 0 64px; }
  .hero-cover { padding: 72px 0; }
  .hero-wide .media-box { aspect-ratio: 16 / 10; }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 30px; }
  .feature-grid-2, .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cookie-inner { flex-direction: column; align-items: stretch; }
  .cookie-actions .btn { flex: 1; }
  .cta-band { padding: 36px 24px; }
  .findus-card, .form-card, .lead-form { padding: 24px 20px; }
  .hero-side::before { display: none; }
  .hero-media, .media-row .media-box, .media-row.reverse .media-box { transform: none; }
}

/* ---------- Товарный лендинг: общие блоки ---------- */
.nav-cta { color: var(--on-primary) !important; padding: 9px 18px !important; }
.nav-cta:hover { color: var(--on-primary) !important; background: var(--primary-dark) !important; }
.btn-wide { min-width: 280px; }
.p-tag { display: inline-block; background: var(--bg); color: var(--primary); border: 1px solid var(--border); border-radius: 999px; padding: 3px 12px; font-size: .85rem; font-weight: 600; margin-bottom: 10px; }
.gallery-main { background: var(--bg); border-radius: var(--radius); overflow: hidden; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery-thumbs .thumb { width: 72px; height: 72px; padding: 0; border: 2px solid var(--border); border-radius: 10px; overflow: hidden; background: #fff; cursor: pointer; }
.gallery-thumbs .thumb.active { border-color: var(--primary); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.highlights { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 8px; }
.highlights li { padding-left: 28px; position: relative; }
.highlights li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--primary); color: #fff; font-size: .75rem; font-weight: 700; display: grid; place-items: center; margin-top: 3px; }
.price-line { margin: 14px 0 10px; }
.price-main { font-size: 2rem; font-weight: 800; color: var(--primary-dark); }
.price-per { color: var(--muted); }
.bundles { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin: 12px 0 16px; }
.bundle input { position: absolute; opacity: 0; }
.bundle-body { display: grid; gap: 2px; border: 2px solid var(--border); border-radius: 12px; padding: 12px 14px; cursor: pointer; background: #fff; height: 100%; }
.bundle input:checked + .bundle-body { border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent); }
.bundle input:focus-visible + .bundle-body { outline: 2px solid var(--primary); }
.bundle-qty { font-weight: 700; }
.bundle-price { font-size: 1.15rem; font-weight: 800; color: var(--primary-dark); }
.bundle-unit, .bundle-save { font-size: .82rem; color: var(--muted); }
.bundle-save { color: var(--primary); font-weight: 600; }
.trust { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: .92rem; color: var(--muted); }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust svg { width: 22px; height: 22px; fill: none; stroke: var(--primary); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.p-section { padding: 8px 0; }
.p-section h2 { margin-bottom: .7em; }
.benefit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.benefit { background: var(--bg); border-radius: 16px; padding: 22px; }
.benefit .feature-icon { width: 46px; height: 46px; margin-bottom: 12px; background: #fff; }
.benefit h3 { margin-bottom: .35em; }
.benefit p { margin: 0; color: var(--muted); }
.composition { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px; }
.composition li { border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; display: grid; gap: 2px; }
.composition span { color: var(--muted); font-size: .92rem; }
.precautions { margin-top: 20px; background: #fff8e8; border: 1px solid #f1dfb0; border-radius: 12px; padding: 16px 18px; font-size: .95rem; }
.precautions h3 { margin-bottom: .4em; }
.precautions p { margin: 0 0 .4em; }
.order-form { background: #fff; }
.order-form select { width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; font: inherit; background: #fff; }
.order-total { margin: 0; font-size: 1.05rem; }
.sticky-order { display: none; }

/* Классика */
.p-hero { padding: 40px 0 24px; }
.p-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.buybox h1 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.p-body { display: grid; gap: 22px; padding-bottom: 60px; }
.p-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 30px; background: #fff; }
.p-card-accent { border-color: var(--primary); box-shadow: var(--shadow); }

/* Премиум */
.tpl-premium h1, .tpl-premium h2, .tpl-premium h3, .tpl-premium .price-main, .tpl-premium .logo span { font-family: Georgia, "Times New Roman", "Noto Serif", serif; font-weight: 500; letter-spacing: .01em; }
.pp-hero { padding: 60px 0 40px; background: linear-gradient(180deg, var(--bg), #fff); }
.pp-eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .8rem; color: var(--primary); margin-bottom: 10px; }
.pp-hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
.pp-sub { font-size: 1.15rem; color: var(--muted); max-width: 640px; margin: 0 auto 26px; }
.pp-gallery { max-width: 560px; margin-bottom: 26px; }
.pp-gallery .gallery-thumbs { justify-content: center; }
.tpl-premium .bundles { max-width: 620px; margin-left: auto; margin-right: auto; }
.tpl-premium .trust { justify-content: center; }
.pp-body > div { padding: 46px 0; }
.pp-band { background: var(--bg); }
.pp-order .order-form { border: 1px solid var(--border); }
.tpl-premium .btn { border-radius: 4px; letter-spacing: .04em; }

/* Натуральный */
.tpl-natural { background: #fbfaf5; }
.pn-hero { position: relative; overflow: hidden; padding: 50px 0 30px; }
.pn-blob { position: absolute; right: -120px; top: -80px; width: 640px; height: 640px; fill: var(--accent); opacity: .16; }
.pn-grid { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.tpl-natural .gallery-main { border-radius: 46% 54% 42% 58% / 55% 45% 55% 45%; background: #fff; box-shadow: var(--shadow); }
.pn-body { display: grid; gap: 34px; padding: 20px 20px 70px; }
.pn-panel { background: #fff; border-radius: 24px; padding: 26px; border: 1px solid var(--border); }
.tpl-natural .composition li { background: #fff; border-color: color-mix(in srgb, var(--primary) 25%, var(--border)); }
.tpl-natural .benefit { background: #fff; border: 1px solid var(--border); border-radius: 18px; }
.pn-order { background: color-mix(in srgb, var(--primary) 9%, #fff); border-radius: 28px; padding: 28px; }
.tpl-natural .btn { border-radius: 999px; }

/* Минимализм */
.pm-top { padding: 34px 0 20px; border-bottom: 1px solid var(--border); }
.pm-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; }
.pm-gallery { position: sticky; top: 84px; }
.pm-buy h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .2em; }
.tpl-minimal .order-form { background: transparent; border: 0; padding: 0; margin-top: 10px; }
.tpl-minimal .order-section { padding-top: 14px; }
.tpl-minimal .order-section h2 { font-size: 1.2rem; }
.bundles-compact { grid-template-columns: repeat(3, 1fr); }
.pm-details { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 40px; padding: 40px 20px 70px; }
.pm-col { padding: 18px 0; border-bottom: 1px solid var(--border); }
.pm-wide { grid-column: 1 / -1; border-bottom: 0; }
.tpl-minimal .btn { border-radius: 8px; }
.tpl-minimal .p-section h2 { font-size: 1.25rem; }

@media (max-width: 900px) {
  .p-hero-grid, .pn-grid, .pm-grid, .pm-details { grid-template-columns: 1fr; }
  .pm-gallery { position: static; }
  .pn-blob { width: 420px; height: 420px; }
}
@media (max-width: 760px) {
  .shop .sticky-order { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--border); padding: 10px 16px; align-items: center; justify-content: space-between; gap: 12px; box-shadow: 0 -6px 20px rgba(0,0,0,.06); }
  .shop .sticky-price { font-weight: 800; font-size: 1.15rem; color: var(--primary-dark); }
  .shop .site-footer { padding-bottom: 70px; }
  .shop .cookie-banner { bottom: 76px; }
  .p-card { padding: 20px 18px; }
  .bundles-compact { grid-template-columns: 1fr 1fr 1fr; }
  .nav-cta { display: inline-block; margin-top: 6px; }
}

/* Товарный лендинг: атмосферные фото (без изображения самого товара) */
.scene-band { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.scene-band figure { margin: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg); box-shadow: var(--shadow); }
.scene-band img, .scene-band svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.scene-single { grid-template-columns: 1fr; }
@media (max-width: 760px) { .scene-band { grid-template-columns: 1fr; } }

/* =====================================================================
   Дизайн-варианты (сайты компаний GooglePlay и новые типы сайтов).
   Классы на <body>: d-hdr-*, d-logo-*, d-feat-*, d-steps-*, d-faq-*, d-cta-*, d-ftr-*, d-shape-*, d-div-*.
   Значения по умолчанию (bar, square, cards, timeline, split, band, dark, soft, none) = исходный вид.
   ===================================================================== */
.btn-icon-lead { margin: 0 8px 0 -2px; }
.btn:hover .btn-icon-lead { transform: none; }
.feature-num { display: none; }
.feature-body > :last-child { margin-bottom: 0; }

/* ---------- Форма элементов ---------- */
.d-shape-sharp { --radius: 4px; --radius-lg: 6px; --btn-radius: 4px; --chip-radius: 4px; --input-radius: 4px; --nav-radius: 3px; }
.d-shape-round { --radius: 24px; --radius-lg: 36px; --btn-radius: 999px; --chip-radius: 999px; --input-radius: 18px; --nav-radius: 999px; }
.d-shape-sharp .hero-media, .d-shape-sharp .media-row .media-box, .d-shape-sharp .media-row.reverse .media-box { transform: none; }
.d-shape-sharp .t-num { border-radius: 4px; }
.d-shape-sharp .feature-icon, .d-shape-sharp .faq-plus { border-radius: 4px; }

/* ---------- Шапка ---------- */
.topbar { background: var(--primary-dark); color: color-mix(in srgb, var(--on-primary) 88%, transparent); font-size: .86rem; }
.topbar-inner { display: flex; gap: 8px 24px; justify-content: flex-end; align-items: center; min-height: 38px; flex-wrap: wrap; }
.topbar-item { display: inline-flex; gap: 7px; align-items: center; }
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { color: var(--on-primary); text-decoration: underline; }
.topbar-icon { width: 16px; height: 16px; flex: none; }

.d-hdr-centered .header-inner { flex-direction: column; justify-content: center; gap: 4px; padding-top: 16px; padding-bottom: 10px; }
.d-hdr-centered .logo { font-size: 1.3rem; }
.d-hdr-centered .site-nav ul { justify-content: center; }

.d-hdr-floating .site-header { background: transparent; border-bottom: 0; padding-top: 12px; backdrop-filter: none; -webkit-backdrop-filter: none; }
.d-hdr-floating .site-header.scrolled { box-shadow: none; }
.d-hdr-floating .header-inner { width: calc(100% - 32px); max-width: 1180px; min-height: 64px; padding: 0 12px 0 20px; background: var(--header-bg); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); }

.d-hdr-minimal .site-header { background: var(--surface); border-bottom: 1px solid var(--border); backdrop-filter: none; -webkit-backdrop-filter: none; }
.d-hdr-minimal .site-nav a { border-radius: 0; padding: 8px 2px; margin: 0 10px; border-bottom: 2px solid transparent; }
.d-hdr-minimal .site-nav a:hover, .d-hdr-minimal .site-nav a[aria-current="page"] { background: none; color: var(--text); border-bottom-color: var(--primary); }
.d-hdr-minimal .site-nav .nav-cta { background: transparent !important; color: var(--primary) !important; box-shadow: inset 0 0 0 1.5px currentColor; border-radius: var(--btn-radius); border-bottom: 0; margin-left: 12px; }

/* ---------- Логотип ---------- */
.logo-dot { order: 2; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); align-self: flex-end; margin: 0 0 .32em -6px; flex: none; }
.d-logo-wordmark .logo { font-size: 1.32rem; letter-spacing: -.035em; gap: 6px; }
.d-logo-wordmark .footer-brand { gap: 6px; }

/* ---------- Первый экран: коллаж ---------- */
.hero-collage { padding: 80px 0 96px; }
.bento { display: grid; grid-template-columns: 1.15fr .85fr; grid-template-rows: 1fr 1fr; gap: 16px; min-height: 460px; }
.bento::before { display: none; }
.bento-main { grid-row: 1 / 3; min-height: 0; }
.bento-main .media-box { height: 100%; aspect-ratio: auto; }
.bento-solo { grid-template-columns: 1fr; grid-template-rows: auto; min-height: 0; }
.bento-solo .bento-main { grid-row: auto; }
.bento-solo .media-box { aspect-ratio: 4 / 3; height: auto; }
.bento-tile { border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; box-shadow: var(--shadow); }
.bento-tile strong { font-family: var(--font-heading); font-size: 1.12rem; line-height: 1.3; }
.bento-tile-1 { background: linear-gradient(140deg, var(--primary), var(--primary-dark)); color: var(--on-primary); }
.bento-tile-2 { background: var(--card); border: 1px solid var(--border); }
.bento-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--on-primary) 16%, transparent); }
.bento-tile-2 .bento-icon { background: var(--tint); color: var(--primary); }

/* ---------- Первый экран: крупная типографика ---------- */
.hero-typographic { padding: 92px 0 0; position: relative; }
.typo-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 56px; align-items: end; }
.hero-typographic h1 { font-size: clamp(2.6rem, 6.2vw, 5.1rem); line-height: 1.03; }
.hero-typographic .lead { font-size: clamp(1.06rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 640px; }
.typo-points { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--text); }
.typo-points li { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.typo-points b { display: block; margin-bottom: 3px; }
.typo-points li > span:last-child > span { display: block; color: var(--muted); font-size: .95rem; }
.typo-num { font-family: var(--font-heading); font-weight: var(--h-weight); color: var(--primary); font-size: 1.05rem; line-height: 1.6; }
.typo-media { margin-top: 64px; height: clamp(220px, 32vw, 440px); overflow: hidden; background: var(--tint); }
.typo-media img, .typo-media svg { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Первый экран: панель поверх фото ---------- */
.hero-panel { padding: 0 0 72px; }
.panel-media { height: clamp(320px, 50vw, 620px); overflow: hidden; background: var(--tint); }
.panel-media img, .panel-media svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.panel-card { position: relative; z-index: 2; margin-top: clamp(-230px, -15vw, -110px); max-width: 780px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 46px 50px; box-shadow: var(--shadow-lg); }
.panel-card h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
.panel-card .lead { color: var(--muted); }

/* ---------- Первый экран: цветная полоса ---------- */
.hero-band { position: relative; overflow: hidden; display: flex; align-items: center; min-height: min(640px, 86vh); padding: 96px 0; color: var(--on-primary); background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }
.hero-band .hero-grid { grid-template-columns: minmax(0, 560px); }
.hero-band h1 { color: var(--on-primary); }
.hero-band .lead { color: color-mix(in srgb, var(--on-primary) 86%, transparent); }
.hero-band .eyebrow { background: color-mix(in srgb, var(--on-primary) 14%, transparent); color: var(--on-primary); }
.hero-band .btn-primary { background: #fff; color: var(--primary-dark); }
.hero-band .btn-primary:hover { color: var(--primary-dark); }
.hero-band .btn-ghost { color: var(--on-primary); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--on-primary) 50%, transparent); }
.hero-band .btn-ghost:hover { background: color-mix(in srgb, var(--on-primary) 12%, transparent); color: var(--on-primary); }
.band-media { position: absolute; top: 0; right: 0; bottom: 0; width: 47%; clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); background: color-mix(in srgb, var(--primary-dark) 70%, #000); }
.band-media img, .band-media > svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.band-phone { height: 100%; display: grid; place-items: center; padding: 36px 0 36px 14%; }
.band-phone .phone-frame { width: auto; height: 100%; max-height: 520px; }
.band-phone .shot-wide { width: 86%; }
[dir="rtl"] .band-media { right: auto; left: 0; clip-path: polygon(0 0, 86% 0, 100% 100%, 0 100%); }

/* ---------- Блоки «преимущества» ---------- */
.fg-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.fg-list .feature, .fg-numbered .feature { background: none; border: 0; border-radius: 0; box-shadow: none; }
.fg-list .feature:hover, .fg-numbered .feature:hover { transform: none; box-shadow: none; }
.fg-list .feature::after, .fg-numbered .feature::after { display: none; }
.fg-list .feature { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; padding: 22px 0; border-bottom: 1px solid var(--border); }
.fg-list .feature-icon { width: 46px; height: 46px; border-radius: 50%; margin: 0; }
.fg-numbered .feature-icon { display: none; }
.fg-numbered .feature { border-top: 3px solid var(--primary); padding: 24px 4px 8px; }
.fg-numbered .feature-num { display: block; font-family: var(--font-heading); font-weight: var(--h-weight); font-size: 2.6rem; line-height: 1; margin-bottom: 16px; color: transparent; -webkit-text-stroke: 1.5px var(--primary); }
.fg-tiles { gap: 14px; }
.fg-tiles .feature { border: 0; box-shadow: none; background: var(--tint); }
.fg-tiles .feature:nth-child(3n+2) { background: var(--tint-2); }
.fg-tiles .feature:nth-child(3n) { background: linear-gradient(140deg, var(--primary), var(--primary-dark)); color: var(--on-primary); }
.fg-tiles .feature:nth-child(3n) p { color: color-mix(in srgb, var(--on-primary) 84%, transparent); }
.fg-tiles .feature:nth-child(3n) .feature-icon { background: color-mix(in srgb, var(--on-primary) 16%, transparent); color: var(--on-primary); }
.fg-tiles .feature-icon { background: var(--card); }
.fg-tiles .feature::after { display: none; }
.fg-tiles .feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.fg-rows { grid-template-columns: 1fr; gap: 12px; max-width: 920px; margin: 0 auto; }
.feature-grid-2.fg-rows, .features-split .fg-list { grid-template-columns: 1fr; }
.fg-rows .feature { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; padding: 20px 26px; }
.fg-rows .feature-icon { margin: 0; }
.fg-rows .feature h3 { margin-bottom: .25em; }

/* ---------- Блоки «этапы» ---------- */
.tl-vertical { grid-template-columns: 1fr; max-width: 760px; margin: 0 auto; gap: 0; }
.tl-vertical li { display: grid; grid-template-columns: auto 1fr; gap: 22px; background: none; border: 0; box-shadow: none; border-radius: 0; padding: 0 0 34px; }
.tl-vertical li::before { display: block; left: 24px; top: 58px; bottom: 6px; width: 2px; height: auto; background: linear-gradient(var(--primary), transparent); }
.tl-vertical li:last-child::before { display: none; }
.tl-vertical .t-num { margin: 0; }
.tl-vertical .t-body { padding-top: 10px; }
[dir="rtl"] .tl-vertical li::before { left: auto; right: 24px; }
.tl-chevrons { gap: 0; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.tl-chevrons li { border: 0; border-radius: 0; box-shadow: none; background: var(--tint); padding: 28px 34px 28px 44px; margin-right: -12px; clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 0 100%, 22px 50%); }
.tl-chevrons li:first-child { padding-left: 28px; clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 0 100%); }
.tl-chevrons li:nth-child(even) { background: var(--tint-2); }
.tl-chevrons li::before { display: none; }
.tl-chevrons .t-num { display: block; width: auto; height: auto; margin-bottom: 8px; background: none; box-shadow: none; color: var(--primary); font-size: 1.6rem; text-align: left; }
[dir="rtl"] .tl-chevrons li, [dir="rtl"] .tl-chevrons li:first-child { clip-path: none; margin: 0; border-radius: var(--radius); padding: 26px; }
[dir="rtl"] .tl-chevrons { gap: 12px; }

/* ---------- Вопросы и ответы ---------- */
.faq-single .faq { margin-top: 6px; }
.faq-more { display: flex; gap: 10px; align-items: center; justify-content: center; flex-wrap: wrap; margin: 28px 0 0; color: var(--muted); }
.faq-more a { font-weight: 700; text-decoration: none; }
.faq-more-icon { width: 22px; height: 22px; color: var(--primary); }
.qa-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 26px; }
.qa { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 26px; }
.qa h3 { display: flex; gap: 12px; align-items: flex-start; font-size: 1.08rem; }
.qa-mark { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--primary); font-size: .95rem; font-weight: 800; line-height: 1; }
.qa p { color: var(--muted); margin: 0 0 .6em 40px; }
.qa p:last-child { margin-bottom: 0; }

/* ---------- Призыв к действию ---------- */
.cta-outline { display: flex; gap: 32px; align-items: center; justify-content: space-between; background: var(--card); border: 2px solid var(--primary); border-radius: var(--radius-lg); padding: 44px 48px; }
.cta-outline .cta-copy { max-width: 700px; }
.cta-outline .cta-copy h2 { color: var(--text); }
.cta-outline .cta-copy p { color: var(--muted); font-size: 1.05rem; }
.cta-outline .cta-copy p:last-child { margin-bottom: 0; }
.cta-outline .btn { flex: none; }
.section.cta-v-full { padding: 86px 0; color: var(--on-primary); background: radial-gradient(700px 360px at 90% 0%, color-mix(in srgb, var(--accent) 40%, transparent), transparent 70%), linear-gradient(130deg, var(--primary), var(--primary-dark)); }
.cta-full h2 { color: var(--on-primary); }
.cta-full p { color: color-mix(in srgb, var(--on-primary) 86%, transparent); font-size: 1.1rem; }
.cta-full .btn { margin-top: 8px; }

/* ---------- Подвал ---------- */
.footer-play { margin-top: 6px; }
.footer-note { margin: 6px 0 0 !important; font-size: .82rem; opacity: .85; }
.d-ftr-light .site-footer { background: var(--bg); color: var(--muted); border-top: 1px solid var(--border); }
.d-ftr-light .site-footer a { color: var(--text); }
.d-ftr-light .footer-brand, .d-ftr-light .footer-title { color: var(--text); }
.d-ftr-light .footer-muted, .d-ftr-light .footer-bottom { color: var(--muted); }
.d-ftr-light .footer-bottom { border-top-color: var(--border); }
.d-ftr-light .footer-bottom a { color: var(--text); }
.d-ftr-brand .site-footer { background: radial-gradient(800px 380px at 100% 0%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 70%), linear-gradient(160deg, var(--primary-dark), color-mix(in srgb, var(--primary-dark) 72%, #000)); color: rgba(255,255,255,.8); }
.d-ftr-brand .footer-muted, .d-ftr-brand .footer-bottom { color: rgba(255,255,255,.72); }
.d-ftr-brand .footer-bottom { border-top-color: rgba(255,255,255,.16); }
.d-ftr-brand .footer-play { background: #fff; color: var(--primary-dark) !important; }
.d-ftr-compact .site-footer { padding-top: 44px; }
.footer-compact { display: grid; gap: 20px; }
.footer-compact-top { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
.footer-compact-top .footer-brand { margin: 0; }
.footer-inline { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-compact-mid { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px 28px; flex-wrap: wrap; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); font-size: .92rem; }
.footer-compact .footer-address { line-height: 1.6; }
.footer-legal { font-size: .88rem; }
.d-ftr-compact .footer-bottom { margin-top: 20px; }

/* ---------- Разделители секций ---------- */
.d-div-line .section-alt { background: transparent; }
.d-div-line .section + .section { border-top: 1px solid var(--border); }
.d-div-slant .section-alt:not(.cta-v-full) { clip-path: polygon(0 3vw, 100% 0, 100% calc(100% - 3vw), 0 100%); padding-top: calc(92px + 3vw); padding-bottom: calc(92px + 3vw); }
.d-div-wave .section-alt:not(.cta-v-full)::before, .d-div-wave .section-alt:not(.cta-v-full)::after {
  content: ""; position: absolute; left: 0; right: 0; height: 36px; background: var(--bg); pointer-events: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 36' preserveAspectRatio='none'%3E%3Cpath d='M0 36V18C240 -6 480 -6 720 14S1200 38 1440 8V36Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 36' preserveAspectRatio='none'%3E%3Cpath d='M0 36V18C240 -6 480 -6 720 14S1200 38 1440 8V36Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.d-div-wave .section-alt:not(.cta-v-full)::before { top: -35px; }
.d-div-wave .section-alt:not(.cta-v-full)::after { bottom: -35px; transform: scaleY(-1); }

/* ---------- Блог ---------- */
.post-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.post-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--text); box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s, border-color .25s; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); color: var(--text); }
.post-card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--tint); }
.post-card-media img, .post-card-media svg { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .post-card-media img { transform: scale(1.05); }
.post-card-body { display: grid; gap: 9px; padding: 20px 22px 22px; }
.post-card strong { font-family: var(--font-heading); font-size: 1.14rem; line-height: 1.3; letter-spacing: -.01em; }
.post-excerpt { color: var(--muted); font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card em { font-style: normal; font-weight: 700; color: var(--primary); font-size: .95rem; }
.post-card:hover .btn-icon { transform: translateX(3px); }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; font-size: .84rem; color: var(--muted); margin: 0; }
.post-tag { display: inline-block; padding: 3px 10px; border-radius: var(--chip-radius); background: var(--tint); color: var(--primary); font-weight: 700; font-size: .78rem; letter-spacing: .02em; }
.post-meta-hero { margin-bottom: 14px; }
.posts-more { margin: 30px 0 0; }
.section-posts-all { padding-top: 44px; }

/* ---------- Игра в Google Play ---------- */
.shots { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 20px; -webkit-overflow-scrolling: touch; }
.shot { flex: 0 0 auto; margin: 0; scroll-snap-align: start; border-radius: 20px; overflow: hidden; background: #0b0b0f; padding: 6px; box-shadow: var(--shadow-lg); }
.shot img { height: clamp(280px, 36vw, 440px); width: auto; max-width: none; border-radius: 15px; display: block; }
.shots-more { margin: 26px 0 0; }
.phone-frame { width: min(300px, 72%); margin: 0 auto; aspect-ratio: 9 / 19; background: #0b0b0f; border-radius: 42px; padding: 11px; box-shadow: var(--shadow-lg), 0 0 0 2px color-mix(in srgb, var(--primary) 35%, transparent); }
.phone-screen { width: 100%; height: 100%; border-radius: 32px; overflow: hidden; background: #000; }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-side-phone::before { display: none; }
.shot-wide { aspect-ratio: 16 / 9; }
.bento-main .phone-frame { height: 100%; width: auto; max-width: 100%; }

/* ---------- Тёмные темы ---------- */
.theme-dark { color-scheme: dark; }
.theme-dark .hero-cover:not(.hero-has-photo) { background: radial-gradient(900px 520px at 85% 0%, color-mix(in srgb, var(--primary) 42%, transparent), transparent 70%), radial-gradient(700px 500px at 0% 100%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 70%), var(--surface); }
.theme-dark .hero-cover .btn-primary { color: var(--primary-dark); }
.theme-dark .feature:hover, .theme-dark .post-card:hover, .theme-dark .page-card:hover { border-color: color-mix(in srgb, var(--primary) 55%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--primary) 35%, transparent), 0 22px 50px -24px color-mix(in srgb, var(--primary) 70%, transparent); }
.theme-dark .btn { box-shadow: 0 12px 32px -12px color-mix(in srgb, var(--primary) 85%, transparent); }
.theme-dark .btn-ghost, .theme-dark .btn-outline { box-shadow: inset 0 0 0 1.5px var(--border); }
.theme-dark .eyebrow { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--primary) 35%, transparent); }
.theme-dark .typo-points { border-top-color: var(--primary); }
.theme-dark .form-error { background: #3b1219; color: #ffd5da; }
.theme-dark .precautions { background: #2a2210; border-color: #4d3d14; }
.theme-dark .site-footer { color: #b6bfcc; }

/* ---------- Адаптивность вариантов ---------- */
@media (max-width: 980px) {
  .typo-grid, .bento { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: auto; min-height: 0; }
  .bento-main { grid-column: 1 / -1; grid-row: auto; }
  .bento-main .media-box { aspect-ratio: 4 / 3; height: auto; }
  .bento-main .phone-frame { height: auto; width: min(300px, 72%); }
  .bento-solo { grid-template-columns: 1fr; }
  .hero-band { flex-direction: column; align-items: stretch; padding: 0 0 56px; min-height: 0; }
  .band-media { position: relative; width: 100%; height: 300px; clip-path: none; margin-bottom: 40px; }
  .band-phone { padding: 24px 0; }
  .qa-grid, .fg-list { grid-template-columns: 1fr; }
  .cta-outline { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 760px) {
  .d-hdr-centered .header-inner { flex-direction: row; justify-content: space-between; padding-top: 0; padding-bottom: 0; }
  .d-hdr-centered .logo { font-size: 1.16rem; }
  .d-hdr-floating .header-inner { width: calc(100% - 20px); padding: 0 6px 0 14px; }
  .d-hdr-minimal .site-nav a { margin: 0; padding: 10px 2px; }
  .topbar-address { display: none; }
  .topbar-inner { justify-content: center; }
  .hero-collage { padding: 48px 0 64px; }
  .hero-typographic { padding-top: 56px; }
  .typo-media { margin-top: 40px; }
  .panel-card { padding: 28px 22px; margin-top: -60px; }
  .tl-chevrons { gap: 10px; }
  .tl-chevrons li, .tl-chevrons li:first-child { clip-path: none; margin: 0; border-radius: var(--radius); padding: 24px; }
  .cta-outline { padding: 30px 22px; }
  .section.cta-v-full { padding: 60px 0; }
  .d-div-slant .section-alt:not(.cta-v-full) { padding-top: calc(60px + 3vw); padding-bottom: calc(60px + 3vw); }
  .footer-compact-top, .footer-compact-mid { flex-direction: column; align-items: flex-start; }
  .shot img { height: 340px; }
}