/* CST поверх стилей ESST: логотип, готика, сборка по скроллу, каталог, страница модели, форма заявки.
   Шрифт логотипа Ethnocentric положить в assets/fonts/ethnocentric.woff2. */
/* Ethnocentric: когда файл появится в assets/fonts/, вернуть строку:
@font-face { font-family: "Ethnocentric"; src: url("assets/fonts/ethnocentric.woff2") format("woff2"); font-display: swap; } */
:root { --accent: #f941a3; --accent-2: #8b2cff; --grad: linear-gradient(100deg, #f941a3, #b52dd8 60%, #8b2cff); --logo: "Ethnocentric", "Unbounded", Arial, sans-serif; --bg: #08080a; }
body { background: var(--bg); }
.brand { font-family: var(--logo); font-style: normal; letter-spacing: .12em; font-size: 26px; }
.identity-hero h1 em, .section-heading h2 em, .product-cover-copy h1 em { color: var(--accent); }
.primary { border-radius: 999px; background: #fff; color: #000; }
.primary:hover { background: var(--accent); color: #fff; }
.primary.hot { background: var(--grad); color: #fff; }
.identity-secondary { border-radius: 999px; }

/* Готические зубья: разделитель как кромка бугеля */
.teeth { height: 18px; background: conic-gradient(from 135deg at 50% 0, var(--c, #f941a3) 90deg, transparent 0) 0 0 / 22px 18px repeat-x; opacity: var(--o, .9); }
.teeth.down { transform: scaleY(-1); }

/* HERO: сцена справа — «лестница» из перекладин с готическими надписями */
.identity-hero { background: radial-gradient(ellipse at 68% 45%, #3a1630 0, #1a0f1a 30%, #0b0a0d 64%, #060607 100%); }
.identity-word { font-family: var(--logo); font-style: normal; letter-spacing: .02em; -webkit-text-stroke-color: #f941a330; }
#cst-scene { position: absolute; inset: 15% 3% 24% 55%; z-index: 2; display: grid; align-content: center; gap: 2.1vh; perspective: 1000px; pointer-events: none; }
@media (max-width: 900px) { #cst-scene { inset: auto 6% 24% 6%; height: 34vh; gap: 1.2vh; opacity: .55; } }
.rung { height: clamp(34px, 6.4vh, 66px); border-radius: 6px; display: grid; place-items: center; transform: skewY(-7deg) translateX(var(--x, 0)); box-shadow: 0 24px 40px -18px #000, inset 0 1px 0 #ffffff2a; opacity: 0; animation: rungIn .9s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(var(--i) * .13s + .25s); }
.rung img { height: clamp(16px, 3.1vh, 32px); width: auto; filter: invert(1); }
@keyframes rungIn { from { opacity: 0; transform: skewY(-7deg) translateX(140px); } to { opacity: 1; } }
.rung:nth-child(1) { background: linear-gradient(90deg, #ff4fb0, #e0218a); --x: 6%; }
.rung:nth-child(2) { background: linear-gradient(90deg, #d8259a, #b0279f); --x: 3%; }
.rung:nth-child(3) { background: linear-gradient(90deg, #a82a9c, #7a247f); }
.rung:nth-child(4) { background: linear-gradient(90deg, #6d2373, #44194c); --x: -3%; }
.rung:nth-child(5) { background: linear-gradient(90deg, #36163d, #1d1220); --x: -6%; }
@media (prefers-reduced-motion: reduce) { .rung { animation: none; opacity: 1; } }

/* СБОРКА по скроллу (как у Apple): липкая сцена, подписи меняются */
.assembly { height: 340vh; position: relative; background: #050506; }
.assembly-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: grid; place-items: center; }
.assembly canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.assembly-captions { position: absolute; left: 4.5%; bottom: 9vh; z-index: 2; }
.assembly-captions .small-label { display: block; margin-bottom: 12px; }
.assembly-step { font-size: clamp(44px, 8vw, 120px); font-weight: 900; letter-spacing: -.06em; line-height: .9; text-transform: uppercase; transition: opacity .4s, transform .4s; }
.assembly-step em { color: var(--accent); font-style: normal; }
.assembly-dots { position: absolute; right: 4.5%; top: 50%; transform: translateY(-50%); display: grid; gap: 12px; z-index: 2; }
.assembly-dots i { width: 8px; height: 8px; border-radius: 50%; background: #ffffff30; transition: background .3s, transform .3s; }
.assembly-dots i.on { background: var(--accent); transform: scale(1.5); }
.assembly-note { position: absolute; right: 4.5%; bottom: 9vh; z-index: 2; font-size: 11px; color: var(--muted); max-width: 28ch; text-align: right; }

/* Редакционный блок: готические слова */
.gothic-words { display: grid; gap: 16px; margin-top: 40px; }
.gothic-words img { height: clamp(26px, 3.6vw, 44px); width: auto; }
.gothic-words img:nth-child(2) { margin-left: 16%; } .gothic-words img:nth-child(3) { margin-left: 5%; } .gothic-words img:nth-child(4) { margin-left: 26%; }
.editorial-stamp { font-family: var(--logo); font-style: normal; letter-spacing: .02em; }
.editorial-stamp:after { background: var(--grad); }

/* Линейки */
.range-grid.lines4 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .range-grid.lines4 { grid-template-columns: 1fr; } }
.range-card { position: relative; overflow: hidden; border-radius: 18px; }
.range-card::after { content: ""; position: absolute; left: -20%; right: -20%; bottom: -60%; height: 80%; background: radial-gradient(closest-side, var(--glow, #f941a355), transparent); transition: opacity .4s; opacity: .5; pointer-events: none; }
.range-card:hover::after { opacity: 1; }
.range-card h2 { font-family: var(--logo); font-style: normal; letter-spacing: 0; text-transform: uppercase; font-size: clamp(26px, 2.6vw, 40px); max-width: 100%; overflow-wrap: anywhere; }
.range-card { min-width: 0; }
.range-card .teeth { margin-top: auto; width: 100%; --o: .35; }
.compact-strip { margin-top: 16px; border: 1px dashed #ffffff33; border-radius: 18px; padding: 24px 30px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; }
.compact-strip strong { font-size: 20px; }
.compact-strip { transition: border-color .3s, background .3s, transform .35s; }
.compact-strip:hover { border-color: var(--accent); border-style: solid; background: linear-gradient(90deg, #f941a318, #8b2cff10); transform: translateY(-3px); }
.compact-strip:hover .text-link { color: var(--accent); border-color: var(--accent); }
.identity-hero .video-toggle:hover { opacity: 1; border-color: #fff; }

/* Каталог */
.cat-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 22px; }
.chip { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--muted); font-size: 13px; font-weight: 700; transition: all .2s; }
.chip:hover { color: var(--ink); border-color: #ffffff55; }
.chip[aria-pressed="true"] { background: #fff; color: #000; border-color: #fff; }
.cat-search { flex: 1 1 240px; min-width: 0; padding: 12px 20px; border-radius: 999px; border: 1px solid var(--line); background: #121214; color: var(--ink); font: inherit; outline: none; }
.cat-search:focus { border-color: var(--accent); }
.home-page .catalog-card.scoot { background: #141416; color: var(--ink); border-color: #2a2a2d; border-radius: 16px; overflow: hidden; }
.home-page .catalog-card.scoot:hover { border-color: var(--accent); transform: translateY(-5px); }
.scoot .catalog-image { display: grid; place-items: center; color: #55545c; transition: color .3s; background: radial-gradient(ellipse at 50% 70%, #26232b, #141416 70%); }
.scoot:hover .catalog-image { color: #fff; background: radial-gradient(ellipse at 50% 70%, #4a1a3a, #141416 70%); }
.scoot .catalog-image svg { width: 82%; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.scoot:hover .catalog-image svg { transform: translateX(8px) rotate(-3deg); }
.scoot .catalog-caption small { color: var(--muted); }
.scoot .catalog-caption strong { font-size: 18px; line-height: 1.15; }
.catalog-grid.cst { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.cat-empty { color: var(--muted); padding: 30px 0; }
.photo-note { margin-top: 18px; font-size: 12px; color: var(--muted); }

/* Как заказать: шаги с линией прогресса */
.cst-steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 10px; }
@media (max-width: 980px) { .cst-steps { grid-template-columns: 1fr; } }
.cst-steps .track { position: absolute; left: 0; right: 0; top: 29px; height: 2px; background: #ffffff1a; }
.cst-steps .track i { display: block; height: 100%; width: var(--p, 0%); background: var(--grad); }
@media (max-width: 980px) { .cst-steps .track { display: none; } }
.cst-step .dot { position: relative; width: 60px; height: 60px; border-radius: 50%; background: #141416; border: 1px solid #ffffff22; display: grid; place-items: center; margin-bottom: 22px; font-weight: 900; transition: background .4s, transform .4s, border-color .4s; }
.cst-step.on .dot { background: var(--grad); border-color: transparent; transform: scale(1.08); }
.cst-step h3 { font-size: 22px; letter-spacing: -.03em; margin: 0 0 6px; }
.cst-step p { color: var(--muted); font-size: 14px; margin: 0; }
.facts-row { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin-top: 70px; }
@media (max-width: 900px) { .facts-row { grid-template-columns: 1fr 1fr; } }
.facts-row div { padding: 24px 18px 0 0; }
.facts-row b { display: block; font-size: 11px; letter-spacing: 1.5px; color: var(--muted); margin-bottom: 8px; font-weight: 400; }

/* Отзывы-заглушки */
.reviews-soon { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .reviews-soon { grid-template-columns: 1fr; } }
.reviews-soon div { aspect-ratio: 3/4; border: 1px dashed #ffffff26; border-radius: 16px; display: grid; place-items: center; color: #ffffff40; font-size: 13px; text-align: center; padding: 20px; }

/* Финальный призыв */
.final-cta { background: var(--grad); color: #fff; padding: 90px 4.5%; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 30px; }
.final-cta h2 { font-size: clamp(46px, 7vw, 110px); line-height: .9; letter-spacing: -.06em; margin: 0; text-transform: uppercase; }
.final-cta .primary { background: #000; color: #fff; }
.final-cta .primary:hover { background: #fff; color: #000; }

/* Страница модели */
.product-cover .scooter-scene { position: relative; min-height: 460px; display: grid; place-items: center; }
.product-cover .scooter-scene svg { width: 86%; color: #fff; filter: drop-shadow(0 30px 40px #000c); }
.color-swatch { position: absolute; right: 8%; top: 12%; width: 34px; height: 34px; border-radius: 50%; border: 2px solid #ffffffaa; transition: background .4s; }
.config { display: grid; grid-template-columns: 1.1fr .9fr; gap: 6%; align-items: start; }
@media (max-width: 900px) { .config { grid-template-columns: 1fr; } }
.opt-group { margin-bottom: 30px; }
.opt-group > span { display: block; font-size: 11px; letter-spacing: 1.5px; color: var(--muted); margin-bottom: 12px; }
.opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.opt { text-align: left; padding: 16px 18px; border-radius: 14px; border: 1px solid #ffffff1f; background: #121214; color: var(--ink); transition: border-color .2s, background .2s; }
.opt small { display: block; color: var(--muted); font-size: 12px; margin-top: 3px; }
.opt:hover { border-color: #ffffff55; }
.opt[aria-pressed="true"] { border-color: var(--accent); background: linear-gradient(180deg, #f941a322, #8b2cff11); }
.summary { position: sticky; top: 24px; border: 1px solid #ffffff1f; border-radius: 20px; padding: 28px; background: #0f0f11; }
.summary .price { font-size: clamp(44px, 5vw, 64px); font-weight: 900; letter-spacing: -.05em; line-height: 1; margin: 6px 0 4px; }
.summary dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 13px; margin: 20px 0; color: var(--muted); }
.summary dd { margin: 0; color: var(--ink); }
.field { display: grid; gap: 6px; margin-top: 12px; }
.field label { font-size: 12px; color: var(--muted); }
.field input, .field textarea { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid #ffffff22; background: #08080a; color: var(--ink); font: inherit; outline: none; }
.field input:focus, .field textarea:focus { border-color: var(--accent); }
.field input[aria-invalid="true"] { border-color: #ff5a5a; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: 12px; color: var(--muted); }
.consent input { accent-color: var(--accent); width: 18px; height: 18px; flex: none; margin-top: 1px; }
.consent a { text-decoration: underline; }
.form-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.form-row .primary { flex: 1 1 auto; }
.form-msg { margin-top: 14px; font-size: 13px; }
.form-msg.err { color: #ff8a8a; }
.done { text-align: center; padding: 30px 0 10px; }
.done .check { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-size: 28px; }

/* HERO c видео на весь экран (как у Stark) */
.identity-hero { background: #050506; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; z-index: 0; }
.hero-shade { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, #050506ee 0%, #050506aa 35%, #05050620 70%), linear-gradient(0deg, #050506 0%, transparent 35%), linear-gradient(180deg, #05050699 0%, transparent 25%); }
.identity-hero .identity-top, .identity-hero h1, .identity-hero .identity-offer { position: relative; z-index: 2; }
.identity-hero .identity-bottom { z-index: 3; }
.identity-hero .video-toggle { position: static; flex: none; align-self: center; width: auto; opacity: .75; padding: 8px 14px; border-radius: 999px; border: 1px solid #ffffff40; background: #0008; color: #fff; font-size: 12px; }
@media (max-width: 760px) {
  .hero-video { object-position: 50% 50%; }
  .hero-shade { background: linear-gradient(0deg, #050506 5%, #050506b0 45%, #05050640 75%, #05050699 100%); }
}

/* Фото самокатов в каталоге и на странице модели */
.scoot.has-photo .catalog-image { background: radial-gradient(ellipse at 50% 60%, #f4f2f6, #d9d6de 75%); padding: 10px; }
.scoot.has-photo:hover .catalog-image { background: radial-gradient(ellipse at 50% 60%, #ffffff, #f2c6de 80%); }
.scoot.has-photo .catalog-image img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s cubic-bezier(.2,.7,.2,1); mix-blend-mode: multiply; }
.scoot.has-photo:hover .catalog-image img { transform: scale(1.06) translateX(4px); }
.product-cover .scooter-scene .model-photo { width: 88%; max-height: 520px; object-fit: contain; border-radius: 24px; background: radial-gradient(ellipse at 50% 60%, #f4f2f6, #cfccd6 80%); padding: 24px; position: relative; z-index: 1; }

.home-page .scoot.has-photo .catalog-image img { object-fit: contain !important; width: 100%; height: 100%; object-position: 50% 50%; }

/* Промо-плашка сверху */
.promo-bar { position: relative; z-index: 60; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 18px; padding: 10px 52px 10px 16px; background: var(--grad); color: #fff; font-size: 13px; font-weight: 700; text-align: center; }
.promo-bar a { border-bottom: 1px solid #ffffff99; }
.promo-bar a:hover { border-color: #fff; }
.promo-close { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; border: 0; background: #0003; color: #fff; font-size: 18px; line-height: 1; }
.promo-close:hover { background: #0006; }

/* Приведи друга */
.ref-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .ref-grid { grid-template-columns: 1fr; } }
.ref-card { border: 1px solid #ffffff1f; border-radius: 18px; padding: 30px; background: #111114; transition: transform .35s, border-color .3s; }
.ref-card:hover { transform: translateY(-4px); border-color: #ffffff44; }
.ref-card.hot { background: var(--grad); border-color: transparent; }
.ref-card.hot p { color: #fff; }
.ref-num { font-size: 46px; font-weight: 900; letter-spacing: -.06em; line-height: 1; color: var(--accent); }
.ref-card.hot .ref-num { color: #fff; }
.ref-card h3 { font-size: 24px; letter-spacing: -.03em; margin: 22px 0 8px; }
.ref-card p { color: var(--muted); margin: 0; font-size: 15px; }
.ref-card b { color: var(--ink); }
.ref-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 28px; }
.ref-check { display: flex; flex: 1 1 320px; max-width: 460px; border: 1px solid #ffffff2a; border-radius: 999px; overflow: hidden; }
.ref-check input, .promo-row input { flex: 1; min-width: 0; padding: 14px 20px; background: transparent; border: 0; color: var(--ink); font: inherit; text-transform: uppercase; outline: none; }
.ref-check button, .promo-row button { border: 0; padding: 0 22px; background: #fff; color: #000; font-weight: 800; font-size: 13px; }
.ref-check:focus-within, .promo-row:focus-within { border-color: var(--accent); }
.ref-actions .form-msg { flex-basis: 100%; margin: 0; }
.promo-row { display: flex; border: 1px solid #ffffff22; border-radius: 12px; overflow: hidden; background: #08080a; }
.promo-row input { padding: 13px 16px; }
.promo-msg { font-size: 12px; color: var(--muted); min-height: 1em; }
.promo-msg.ok { color: #6fe39a; } .promo-msg.err { color: #ff8a8a; }
.old-price { display: block; font-size: .38em; color: var(--muted); font-weight: 700; letter-spacing: 0; margin-bottom: 4px; }

.home-page header { top: var(--bar-h, 0px); }

/* Фото самоката целиком помещается в карточку (раньше вылезало по высоте и резалось) */
.home-page .scoot.has-photo .catalog-image { position: relative; display: block; }
.home-page .scoot.has-photo .catalog-image img { position: absolute; inset: 10px; width: calc(100% - 20px) !important; height: calc(100% - 20px) !important; max-width: none; object-fit: contain !important; }

/* Выбор подарка по коду друга */
.ref-choice { border: 1px solid #f941a355; border-radius: 14px; padding: 12px 16px 14px; margin: 14px 0 0; background: linear-gradient(180deg, #f941a314, transparent); }
.ref-choice legend { padding: 0 6px; font-size: 12px; color: var(--ink); font-weight: 700; }
.ref-choice .ref-opt { margin-top: 8px; color: var(--ink); font-size: 14px; cursor: pointer; }

/* Отзывы — компактная лента */
.reviews-strip { padding: 60px 4.5% 70px; border-top: 1px solid var(--line); }
.reviews-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 24px; }
.reviews-head h2 { font-size: clamp(22px, 2.6vw, 32px); letter-spacing: -.03em; margin: 0; }
.reviews-nav { display: flex; gap: 8px; }
.reviews-nav button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid #ffffff33; background: transparent; color: var(--ink); }
.reviews-nav button:hover { border-color: var(--accent); color: var(--accent); }
.reviews-track { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 24vw, 300px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.reviews-track::-webkit-scrollbar { display: none; }
.review { margin: 0; scroll-snap-align: start; border: 1px solid #ffffff1f; border-radius: 16px; overflow: hidden; background: #111114; }
.review img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.review figcaption { padding: 14px 16px 16px; font-size: 13px; color: var(--muted); }
.review figcaption b { color: var(--ink); }
.review figcaption p { margin: 6px 0 0; color: var(--ink); font-size: 14px; }

/* Финальный призыв: буква Й не наезжает на строку выше */
.final-cta h2 { line-height: 1.04; padding-top: .08em; }

/* История производства: бугель закреплён, шаги листаются поверх */
.story { position: relative; background: #050506; }
.story-stage { position: sticky; top: 0; height: 100vh; margin-bottom: -100vh; overflow: hidden; }
.story-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.story-stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, #050506 0%, #050506d9 28%, #05050600 52%); }
.story .assembly-dots { z-index: 2; }
.story-steps { position: relative; z-index: 2; }
.story-step { min-height: 100vh; width: min(44%, 560px); padding: 0 0 0 4.5%; display: flex; flex-direction: column; justify-content: center; opacity: .25; transform: translateY(16px); transition: opacity .5s, transform .5s; }
.story-step.on { opacity: 1; transform: none; }
.story-step h2 { font-size: clamp(44px, 6.6vw, 104px); font-weight: 900; letter-spacing: -.06em; line-height: .95; text-transform: uppercase; margin: 14px 0 22px; }
.story-step h2 em { color: var(--accent); font-style: normal; }
.story-step p { font-size: 17px; line-height: 1.6; color: #c9c7cf; max-width: 40ch; margin: 0; }
.story-step .gothic-words img { filter: invert(1); }
@media (max-width: 760px) {
  .story-stage::after { background: linear-gradient(0deg, #050506 0%, #050506e6 34%, #05050600 55%); }
  .story-step { width: auto; padding: 0 6% 9vh; justify-content: flex-end; }
  .story-step h2 { font-size: clamp(38px, 11vw, 56px); margin: 10px 0 12px; }
  .story-step p { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { .story-step { opacity: 1; transform: none; } }

/* Гарантия / сроки / доставка у каждого бугеля */
.bugel-terms { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 10px; }
.bugel-terms li { display: grid; grid-template-columns: 92px 1fr; gap: 12px; font-size: 14px; color: #d6d4dc; border-top: 1px solid #ffffff1a; padding-top: 10px; }
.bugel-terms b { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); font-weight: 400; padding-top: 2px; }
#model-terms .bugel-terms { margin: 0 0 18px; }
.compact-strip[data-href] { cursor: pointer; }

/* Страница линеек */
.lines-page header .line-nav a { font-size: 13px; }
/* телефон: меню линеек — лента со свайпом, не вылезает за экран */
@media (max-width: 760px) {
  .lines-page header .line-nav { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; min-width: 0; flex: 1 1 auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); padding-right: 24px; }
  .lines-page header .line-nav::-webkit-scrollbar { display: none; }
  .lines-page header .line-nav a { white-space: nowrap; font-size: 11px; flex: none; }
}
.lines-intro { padding: 150px 4.5% 40px; }
.lines-intro .back-link { display: inline-block; margin-bottom: 30px; color: var(--muted); font-size: 13px; }
.lines-intro h1 { font-size: clamp(54px, 9vw, 140px); line-height: .92; letter-spacing: -.065em; margin: 18px 0 20px; }
.lines-intro h1 em { color: var(--accent); font-style: normal; }
.lines-intro p { color: var(--muted); max-width: 46ch; font-size: 17px; }
.line-section { padding: 70px 4.5% 80px; scroll-margin-top: 20px; }
.line-hero { display: grid; grid-template-columns: .9fr 1.1fr; gap: 5%; align-items: center; margin-top: 40px; }
@media (max-width: 900px) { .line-hero { grid-template-columns: 1fr; } .line-photo { order: -1; } }
.line-copy h2 { font-family: var(--logo); font-size: clamp(48px, 6.4vw, 100px); line-height: .95; letter-spacing: -.02em; text-transform: uppercase; margin: 0 0 22px; }
.line-copy h2 em { color: var(--accent); font-style: normal; }
.line-about { font-size: 18px; line-height: 1.6; color: #d6d4dc; max-width: 44ch; margin: 0; }
.line-photo { position: relative; border-radius: 24px; overflow: hidden; background: radial-gradient(ellipse at 50% 60%, #2a1430, #0c0b0f 72%); border: 1px solid #ffffff14; aspect-ratio: 4/3; display: grid; place-items: center; }
.line-photo img { width: 100%; height: 100%; object-fit: contain; }
.line-photo-empty { text-align: center; }
.line-photo-empty span { display: block; font-family: var(--logo); font-size: clamp(40px, 6vw, 90px); color: #ffffff12; text-transform: uppercase; }
.line-photo-empty small { color: var(--muted); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; }
.pick-title { font-size: clamp(20px, 2.2vw, 28px); letter-spacing: -.03em; margin: 60px 0 18px; scroll-margin-top: 30px; }
.pick-row { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(150px, 15vw, 190px); gap: 12px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x proximity; }
.pick { scroll-snap-align: start; border: 1px solid #ffffff1a; border-radius: 14px; background: #121215; padding: 10px; display: grid; gap: 8px; transition: border-color .25s, transform .3s; }
.pick:hover { border-color: var(--accent); transform: translateY(-3px); }
.pick img, .pick svg { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 10px; background: radial-gradient(ellipse at 50% 60%, #f4f2f6, #d9d6de 75%); padding: 6px; color: #55545c; }
.pick span { font-size: 13px; font-weight: 700; line-height: 1.25; }

.form-group-title { margin: 18px 0 0; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.field input[aria-invalid="true"] { border-color: #ff5a5a; }

/* Юридические страницы */
.legal { max-width: 760px; margin: 0 auto; padding: 120px 6% 80px; }
.legal .back-link { display: inline-block; margin-bottom: 24px; color: var(--muted); font-size: 13px; }
.legal h1 { font-size: clamp(30px, 4.4vw, 48px); line-height: 1.1; letter-spacing: -.03em; margin: 0 0 18px; }
.legal h2 { font-size: 20px; margin: 34px 0 10px; letter-spacing: -.02em; }
.legal p, .legal li { color: #cfcdd5; font-size: 16px; line-height: 1.65; }
.legal ul { padding-left: 20px; margin: 0; }
.legal a { color: var(--accent); }

/* Цена «от» в карточках каталога */
.scoot .catalog-caption .from { display: block; font-style: normal; font-size: 13px; color: var(--accent); margin-top: 6px; font-weight: 700; }

/* Телефон: каталог в 2 колонки, компактная плашка, меню без переноса */
@media (max-width: 760px) {
  .catalog-grid.cst { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .home-page .scoot .catalog-image { height: 132px; }
  .scoot .catalog-caption { padding: 10px 12px 12px; }
  .scoot .catalog-caption strong { font-size: 14px; letter-spacing: -.2px; }
  .scoot .catalog-caption > span:last-child { display: none; }
  .promo-bar { flex-wrap: nowrap; justify-content: flex-start; padding: 8px 46px 8px 14px; font-size: 11.5px; text-align: left; }
  .promo-bar span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
  .promo-bar a { display: none; }
  header nav a[href="#order"], header nav a[href="#config"] { display: none; }
  header nav { flex-wrap: nowrap; }
}

/* Превью ника на перекладине */
.nick-plate { margin-top: 12px; border-radius: 10px; padding: 14px 16px; background: linear-gradient(90deg, #ff4fb0, #b0279f); box-shadow: inset 0 1px 0 #ffffff40, 0 14px 28px -16px #000; display: grid; gap: 4px; justify-items: center; text-align: center; }
.nick-plate-made { font-size: 10px; letter-spacing: 3px; color: #2a0b1f; opacity: .65; }
.nick-plate b { font-family: "Unbounded", Arial, sans-serif; font-weight: 900; font-size: clamp(22px, 3vw, 30px); letter-spacing: .04em; color: #1a0614; text-shadow: 0 1px 0 #ffffff55; word-break: break-all; }

/* Закреплённая внизу панель «цена + оплатить» (страница самоката) */
.pay-bar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 70; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 10px 10px 18px; border-radius: 999px; background: #121215ee; backdrop-filter: blur(12px); border: 1px solid #ffffff22; box-shadow: 0 18px 40px -12px #000; transition: transform .35s, opacity .35s; }
.pay-bar small { display: block; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.pay-bar b { font-size: 20px; font-weight: 900; letter-spacing: -.03em; }
.pay-bar .primary { min-height: 44px; padding: 10px 20px; gap: 12px; }
.pay-bar.hide { transform: translateY(140%); opacity: 0; pointer-events: none; }
@media (min-width: 901px) { .pay-bar { left: auto; right: 24px; bottom: 24px; width: 360px; } }

/* Заголовки: Unbounded вместо Arial (как просил дизайнер) */
h1, h2, .assembly-step, .final-cta h2, .story-step h2, .reviews-head h2 { font-family: "Unbounded", Arial, sans-serif; letter-spacing: -.035em; }
.identity-hero h1 { font-size: clamp(40px, 5.8vw, 96px); }
.section-heading h2 { font-size: clamp(32px, 5vw, 76px); }
.story-step h2 { font-size: clamp(36px, 5.2vw, 84px); }
.final-cta h2 { font-size: clamp(38px, 6vw, 92px); }
.product-cover-copy h1 { font-size: clamp(42px, 6vw, 96px); }

@media (max-width: 760px) { .identity-hero h1 { font-size: clamp(28px, 8.8vw, 40px); width: auto; } .section-heading h2, .story-step h2, .final-cta h2, .product-cover-copy h1, .lines-intro h1 { font-size: clamp(28px, 9vw, 44px); } .line-copy h2 { font-size: clamp(34px, 11vw, 52px); } }
.fit-note { color: #c9c7cf; font-size: 15px; margin: 0 0 14px; } .fit-note a { color: var(--accent); text-decoration: none; border-bottom: 1px solid currentColor; }
.paint-pick { margin-top: 18px; display: grid; gap: 14px; } .paint-row > span { display: block; font-size: 13px; color: #a9a7b0; margin-bottom: 8px; } .paint-row b { color: #fff; } .swatches { display: flex; flex-wrap: wrap; gap: 8px; } .swatch-btn { width: 34px; height: 34px; border-radius: 50%; border: 1px solid #ffffff33; cursor: pointer; padding: 0; box-shadow: inset 0 -6px 10px #0004; transition: transform .15s; } .swatch-btn:hover { transform: scale(1.1); } .swatch-btn[aria-pressed=true] { outline: 2px solid #fff; outline-offset: 3px; } .nick-plate { transition: background .3s; }
.named-toggle { margin-top: 16px; } .named-toggle small { color: #a9a7b0; } .paint-row i { font-style: normal; }
.dev-credit { flex-basis: 100%; width: 100%; margin: 18px 0 0; font-size: 12px; color: #77757d; text-align: center; } .dev-credit a { color: #a9a7b0; text-decoration: none; } .dev-credit a:hover { color: var(--accent); }
.bugel-gallery { padding-top: 0; } .bg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; } .bg-grid a { display: block; border-radius: 18px; overflow: hidden; background: #121215; aspect-ratio: 3/4; } .bg-grid img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; } .bg-grid a:hover img { transform: scale(1.04); } @media (max-width: 760px) { .bg-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } .bg-grid a:first-child { grid-column: 1 / -1; aspect-ratio: 4/5; } }
.bg-grid img { object-fit: contain; }
.range-grid.lines4 { grid-template-columns: repeat(4, 1fr); } @media (max-width: 1100px) { .range-grid.lines4 { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 560px) { .range-grid.lines4 { grid-template-columns: 1fr; } } .range-photo { display: block; width: calc(100% + 2px); height: 190px; object-fit: contain; margin: -4px 0 14px; filter: drop-shadow(0 18px 30px #0008); transition: transform .5s; } .range-card:hover .range-photo { transform: scale(1.05) rotate(-2deg); }
/* Лента выбора самоката (страница линеек) */
.pick-wrap { position: relative; }
.pick-row { scrollbar-width: none; padding: 4px 2px 6px; grid-auto-columns: clamp(160px, 16vw, 210px); gap: 14px; scroll-snap-type: x mandatory; scroll-behavior: smooth; }
.pick-row::-webkit-scrollbar { display: none; }
.pick-wrap::before, .pick-wrap::after { content: ""; position: absolute; top: 0; bottom: 22px; width: 70px; pointer-events: none; z-index: 1; transition: opacity .3s; }
.pick-wrap::before { left: 0; background: linear-gradient(90deg, var(--sec-bg, #08080a), transparent); }
.pick-wrap::after { right: 0; background: linear-gradient(-90deg, var(--sec-bg, #08080a), transparent); }
.pick-wrap.at-start::before, .pick-wrap.at-end::after { opacity: 0; }
.pick { position: relative; padding: 0; overflow: hidden; gap: 0; background: linear-gradient(180deg, #17161b, #0f0f12); border-color: #ffffff14; }
.pick img, .pick svg { aspect-ratio: 4/3; border-radius: 0; padding: 14px; background: radial-gradient(ellipse at 50% 70%, #ffffff, #e4e1e8 80%); transition: transform .45s; }
.pick:hover img { transform: scale(1.06); }
.pick span { padding: 12px 14px 4px; font-size: 15px; display: grid; gap: 2px; }
.pick span small { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #8f8c97; font-weight: 600; }
.pick i { font-style: normal; font-size: 12px; color: var(--accent); padding: 0 14px 14px; opacity: .0; transform: translateX(-6px); transition: opacity .3s, transform .3s; }
.pick:hover i, .pick:focus-visible i { opacity: 1; transform: none; }
.pick:hover { border-color: var(--accent); box-shadow: 0 18px 40px -18px #f941a380; }
.pick-nav { position: absolute; top: calc(50% - 30px); z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 1px solid #ffffff2e; background: #0d0d10cc; backdrop-filter: blur(8px); color: #fff; font-size: 18px; cursor: pointer; transition: background .25s, opacity .3s, transform .25s; }
.pick-nav:hover { background: var(--accent); border-color: var(--accent); transform: scale(1.08); }
.pick-nav.prev { left: -14px; } .pick-nav.next { right: -14px; }
.pick-wrap.at-start .prev, .pick-wrap.at-end .next { opacity: 0; pointer-events: none; }
.pick-progress { height: 3px; margin-top: 14px; background: #ffffff14; border-radius: 3px; overflow: hidden; }
.pick-progress b { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #f941a3, #8b2cff); transition: margin-left .15s; }
@media (max-width: 760px) { .pick-nav { display: none; } .pick-row { grid-auto-columns: 46%; gap: 10px; } .pick i { opacity: 1; transform: none; } .pick span { font-size: 13px; } }
/* Кнопки линейки и версии с фото */
.opt.opt-pic { padding: 0; overflow: hidden; display: grid; align-content: start; text-align: left; }
.opt.opt-pic img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; background: #e9e7ec; filter: grayscale(.55) brightness(.8); transition: filter .35s, transform .45s; }
.opt.opt-pic:hover img, .opt.opt-pic[aria-pressed=true] img { filter: none; }
.opt.opt-pic:hover img { transform: scale(1.04); }
.opt.opt-pic b { padding: 10px 12px 0; } .opt.opt-pic small { padding: 2px 12px 12px; }
#opt-line, #opt-size { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.opt-hint { margin: 10px 0 0; font-size: 14px; line-height: 1.5; color: #c9c7cf; max-width: 60ch; min-height: 1.5em; }
@media (max-width: 760px) { #opt-line { grid-template-columns: repeat(3, 1fr); gap: 8px; } #opt-size { grid-template-columns: repeat(2, 1fr); } .opt.opt-pic b { font-size: 13px; padding: 8px 8px 0; } .opt.opt-pic small { padding: 2px 8px 8px; font-size: 11px; } }
.line-photo { aspect-ratio: 4/5; max-height: 78vh; justify-self: center; width: 100%; } .line-photo img { object-fit: cover; } @media (max-width: 900px) { .line-photo { aspect-ratio: 4/5; max-height: 70vh; } }
.range-card .range-photo { width: 100%; height: 240px; object-fit: cover; border-radius: 14px; margin: 0 0 18px; filter: none; box-shadow: 0 16px 34px -18px #000; } .range-card:hover .range-photo { transform: scale(1.03); } @media (max-width: 560px) { .range-card .range-photo { height: 260px; } }
#lines .range-grid, #lines .section-heading, #lines .section-label { position: relative; z-index: 3; } #lines .range-card { background-color: #17181b; }

/* 2026-11-11: длинные названия («G1 Pro / Lengyfit C1», «M4 / M4 Pro / …») на телефоне переносятся, а не обрезаются */
.product-cover-copy { min-width: 0; }
.product-cover-copy h1, .product-cover-copy h1 em { white-space: normal; overflow-wrap: anywhere; max-width: 100%; }
@media (max-width: 760px) { .product-cover-copy h1.long { font-size: clamp(22px, 6.6vw, 34px); } }
.done .primary { margin: 14px 0 6px; }

/* 2026-11-11: выбор пункта СДЭК на карте */
.cdek-btn { display: block; width: 100%; margin: 0 0 8px; padding: 12px 16px; border-radius: 999px; border: 1px solid #ffffff55; background: #17171b; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.cdek-btn:hover { border-color: var(--accent); }
.cdek-modal { position: fixed; inset: 0; z-index: 200; background: #000c; display: grid; place-items: center; padding: 12px; }
.cdek-modal[hidden] { display: none; }
.cdek-box { width: min(1000px, 100%); height: min(720px, 100%); background: #fff; border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.cdek-head { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #121215; color: #fff; }
.cdek-head b { flex: 1; }
.cdek-head button { border: 1px solid #ffffff55; background: none; color: #fff; border-radius: 999px; padding: 8px 14px; font: inherit; cursor: pointer; }
.cdek-head .cdek-close { width: 40px; padding: 8px 0; font-size: 20px; line-height: 1; }
#cdek-map { flex: 1; min-height: 0; }
.identity-hero h1 .hero-brand { color: #f2f0ed; opacity: .9; }
.identity-hero h1 span.hero-brand { display: inline; font: inherit; font-size: inherit; letter-spacing: inherit; line-height: inherit; text-transform: none; margin: 0; padding: 0; }
/* Анонс ESST X CST */
.soon-card { position: relative; margin-top: 16px; display: grid; gap: 10px; padding: 30px; border-radius: 18px; border: 1px dashed #f941a366; background: linear-gradient(120deg, #1a1220, #121215 60%); overflow: hidden; cursor: default; }
.soon-card h2 { font-family: var(--logo); font-size: clamp(32px, 4.2vw, 64px); letter-spacing: 0; text-transform: uppercase; margin: 0; line-height: 1; }
.soon-card h2 i { font-style: normal; color: var(--accent); }
.soon-card p { margin: 0; color: #c9c7cf; }
.soon-card > span { font-size: 11px; letter-spacing: .14em; color: #8f8c97; }
.soon-badge { justify-self: center; align-self: center; margin: 12px 0 0; padding: 9px 20px; border-radius: 999px; font-family: "Unbounded", Arial, sans-serif; font-size: 11px; font-weight: 700; line-height: 1.25; letter-spacing: .12em; color: #fff; background: linear-gradient(100deg, #f941a3, #8b2cff); animation: soonPulse 2.4s ease-in-out infinite; }
@keyframes soonPulse { 0%, 100% { box-shadow: 0 0 0 0 #f941a366; } 50% { box-shadow: 0 0 0 10px #f941a300; } }
.soon-card .teeth { margin-top: 6px; --o: .25; }
.soon-wide { margin-top: 0; }
@media (prefers-reduced-motion: reduce) { .soon-badge { animation: none; } }
#lines .soon-card { z-index: 3; background-color: #17131b; }

/* Центрируем весь анонс, включая надпись «Скоро». */
.soon-card { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; text-align: center; min-height: 340px; padding: 34px 24px 60px; }
.soon-card .soon-badge { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); margin: 0; white-space: nowrap; }
/* текст строго по центру кнопки (общие стили карточек давали отступ сверху 20px) */
.soon-card .soon-badge, .soon-wide .soon-badge { display: inline-flex; align-items: center; justify-content: center; height: 38px; padding: 0 22px; line-height: 1; }
.soon-card p { position: absolute; top: calc(50% + 38px); left: 24px; right: 24px; }
.soon-card .teeth { position: absolute; inset: auto 24px 16px; width: auto; margin: 0; }
.range-grid.lines4 .range-card h2 { font-size: clamp(20px, 2vw, 30px); overflow-wrap: normal; }

/* Плавный показ производства с возможностью вернуться к ручной прокрутке. */
.story-controls { position: absolute; z-index: 5; right: 4.5%; bottom: 7%; display: flex; align-items: center; gap: 12px; }
.story-controls button { border: 1px solid #ffffff88; background: #151419e8; color: #fff; border-radius: 999px; padding: 13px 20px; font: inherit; font-size: 13px; cursor: pointer; }
.story-controls button:hover, .story-controls button:focus-visible { border-color: #f941a3; }
.story-controls span { color: #d0cbd3; font-size: 12px; }
@media (max-width: 760px) { .story-controls { left: 5%; right: auto; bottom: 4%; flex-wrap: wrap; gap: 8px; } .story-controls button { font-size: 12px; padding: 11px 16px; } }

.story-steps { pointer-events: none; }


.story-stage .assembly-video { position:absolute; left:34%; top:0; width:66%; height:100%; object-fit:contain; transform:scale(1.12); pointer-events:none; }
.story-stage .assembly-video[hidden] { display:none; }
@media (max-width:760px) { .story-stage .assembly-video { left:0; top:0; width:100%; height:62%; transform:scale(1.05); } }
