/* Everyday Porrada CRM — раздел a-lux.kz/crm-dlya-sportivnyh-klubov/. Свой стиль: белый, чёрный, красный; жирный гротеск. */
:root { --red: #E7010C; --ink: #0E0E10; --txt: #45474D; --line: #E6E7EA; --grey: #F5F6F7; --wa: #25D366; --w: 1320px; --f: Onest, system-ui, -apple-system, "Segoe UI", sans-serif; }
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; touch-action: pan-y; }
body { font: 400 17px/1.5 var(--f); color: var(--ink); background: #fff; overflow-x: clip; width: 100%; touch-action: pan-y; overscroll-behavior-x: none; }
main { overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-weight: 800; letter-spacing: -.035em; line-height: 1.02; }
h1 em, h2 em { font-style: normal; color: var(--red); }
h2 { font-size: clamp(34px, 4.200vw, 60px); }
.eb { font: 600 14px/1 var(--f); letter-spacing: .2em; text-transform: uppercase; color: #6B6E76; margin-bottom: 18px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 48px; padding: 0 24px; border-radius: 8px; font: 600 16px/1 var(--f); border: 1.500px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; white-space: nowrap; }
.btn i { font-style: normal; transition: transform .2s; }
.btn:hover i { transform: translateX(4px); }
.btn--lg { height: 60px; padding: 0 34px; font-size: 18px; }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 12px 26px -12px rgba(231,1,12,.7); }
.btn--red:hover { transform: translateY(-2px); box-shadow: 0 18px 30px -12px rgba(231,1,12,.8); }
.btn--line { background: #fff; border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--wa { background: var(--wa); color: #fff; }

/* шапка */
.hd { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 40px; height: 76px; padding: 0 max(24px, calc((100vw - var(--w)) / 2)); background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.hd__logo img { width: 270px; height: auto; }
.hd__nav { display: flex; gap: 30px; font: 500 15px/1 var(--f); }
.hd__nav a { padding: 8px 0; border-bottom: 2px solid transparent; }
.hd__nav a:hover { border-color: var(--red); }
.lng { margin-left: auto; display: flex; gap: 2px; font: 700 13px/1 var(--f); letter-spacing: .06em; }
.lng a { padding: 8px 9px; border-radius: 6px; color: #6B6E76; }
.lng a.on { background: var(--ink); color: #fff; }
.lng a:hover:not(.on) { color: var(--red); }
.hd__cta { margin-left: 8px; }
.hd__burger { display: none; }

/* первый экран */
.hero { position: relative; min-height: 700px; display: flex; align-items: center; overflow: hidden; padding: 60px max(24px, calc((100vw - var(--w)) / 2)); }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.96) 26%, rgba(255,255,255,.55) 46%, rgba(255,255,255,0) 62%), linear-gradient(0deg, #fff 0%, rgba(255,255,255,0) 22%); }
.hero__in { max-width: 660px; }
h1 { font-size: clamp(46px, 5.800vw, 86px); }
h1 em { display: block; }
.hero__lead { margin-top: 24px; font-size: 20px; line-height: 1.45; color: var(--txt); max-width: 540px; }
.hero__btns { display: flex; gap: 16px; margin-top: 34px; flex-wrap: wrap; }
.ticks { display: flex; gap: 30px; flex-wrap: wrap; margin-top: 30px; padding: 0; list-style: none; font: 500 15px/1.2 var(--f); }
.ticks li { display: flex; align-items: center; gap: 10px; }
.ticks li::before { content: "✓"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 1.500px solid var(--red); color: var(--red); font-size: 12px; font-weight: 700; }

/* устройства: настоящие экраны системы */
.dev { position: absolute; right: max(24px, calc((100vw - var(--w)) / 2)); bottom: 26px; width: 640px; height: 360px; }
.tab { position: absolute; left: 0; bottom: 0; width: 540px; padding: 12px; border-radius: 24px; background: #17181B; box-shadow: 0 50px 70px -34px rgba(0,0,0,.7); }
.tab img { width: 100%; border-radius: 12px; }
.ph { position: absolute; right: 0; bottom: -10px; width: 178px; height: 350px; padding: 8px; border-radius: 32px; background: #17181B; box-shadow: 0 40px 60px -26px rgba(0,0,0,.75); overflow: hidden; }
.ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; border-radius: 24px; }
.mod__sh { margin: -34px -32px 26px; padding: 22px 22px 0; background: var(--grey); border-radius: 16px 16px 0 0; overflow: hidden; height: 230px; }
.mod__sh img { width: 100%; border-radius: 10px 10px 0 0; box-shadow: 0 20px 40px -20px rgba(0,0,0,.4); transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.mod__sh--ph img { width: 62%; margin: 0 auto; }
.mod:hover .mod__sh img { transform: translateY(-10px) scale(1.030); }

/* лента возможностей */
.strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; padding: 34px max(24px, calc((100vw - var(--w)) / 2)); border-bottom: 1px solid var(--line); }
.strip div { display: flex; align-items: center; gap: 14px; }
.strip svg { flex: none; width: 34px; height: 34px; fill: none; stroke: var(--ink); stroke-width: 1.800; stroke-linecap: round; stroke-linejoin: round; }
.strip div:nth-child(even) svg { stroke: var(--red); }
.strip b { font: 600 15px/1.25 var(--f); }

/* секции */
.sec { padding: 100px max(24px, calc((100vw - var(--w)) / 2)); }
.sec--grey { background: var(--grey); }
.sec--dark { background: var(--ink); color: #fff; }
.sec--dark .eb { color: #9A9DA5; }
.sec__lead { margin-top: 22px; max-width: 720px; font-size: 20px; line-height: 1.45; color: var(--txt); }

.tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 50px; }
.tiles a { display: block; }
.tiles img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s; }
.tiles a:hover img { transform: translateY(-6px); box-shadow: 0 26px 40px -22px rgba(0,0,0,.5); }
.tiles b { display: block; margin-top: 14px; font: 700 17px/1.2 var(--f); letter-spacing: -.01em; }

.mods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 50px; }
.mod { position: relative; padding: 34px 32px 30px; background: #fff; border: 1px solid var(--line); border-radius: 16px; display: flex; flex-direction: column; }
.mod:nth-child(4), .mod:nth-child(5) { grid-column: span 1; }
.mod__n { font: 800 15px/1 var(--f); color: var(--red); }
.mod h3 { margin-top: 16px; font-size: 30px; }
.mod > p { margin-top: 12px; color: var(--txt); }
.mod ul { margin: 20px 0 24px; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 16px; line-height: 1.35; }
.mod li { padding-left: 22px; position: relative; }
.mod li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 2px; background: var(--red); }
.mod > a { margin-top: auto; font: 600 16px/1 var(--f); color: var(--red); }
.mod > a i { font-style: normal; }

.band { position: relative; min-height: 560px; display: flex; align-items: center; padding: 70px max(24px, calc((100vw - var(--w)) / 2)); overflow: hidden; }
.band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%; z-index: -2; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.88) 30%, rgba(255,255,255,0) 56%); }
.band__in { max-width: 520px; }
.band__in h2 { font-size: clamp(32px, 3.600vw, 52px); }
.band__in p:not(.eb) { margin: 20px 0 28px; font-size: 19px; color: var(--txt); }

.tot { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; padding: 34px 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.tot b { display: block; font: 800 clamp(40px, 4.600vw, 68px)/1 var(--f); letter-spacing: -.04em; }
.tot div:first-child b { color: var(--red); }
.tot span { display: block; margin-top: 10px; color: var(--txt); font-size: 16px; }
.cs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 46px; align-items: start; }
.cse { position: relative; padding: 44px 40px 34px; border-radius: 18px; background: #0E0E10; color: #fff; overflow: hidden; cursor: pointer; outline: none; transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
.cse::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 85% 0%, var(--cg), transparent 70%); opacity: .5; transition: opacity .4s; }
.cse--f { --cc: #FF2A33; --cg: rgba(231,1,12,.55); } .cse--l { --cc: #B6F02A; --cg: rgba(160,220,30,.4); }
.cse:hover, .cse.open { transform: translateY(-8px); box-shadow: 0 40px 60px -34px var(--cg); }
.cse:hover::before, .cse.open::before { opacity: 1; }
.cse > * { position: relative; }
.cse__lg { height: 62px; width: auto; }
.cse__tg { display: block; margin-top: 18px; font: 600 13px/1 var(--f); letter-spacing: .18em; text-transform: uppercase; color: #9A9DA5; }
.cse__nm { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; padding-top: 28px; border-top: 1px solid #25272C; }
.cse__nm b { display: block; font: 800 56px/1 var(--f); letter-spacing: -.04em; color: var(--cc); }
.cse__nm span { display: block; margin-top: 8px; font-size: 15px; color: #B4B7BE; }
.cse__more { overflow: hidden; max-height: 0; opacity: 0; transition: max-height .6s cubic-bezier(.2,.7,.2,1), opacity .4s, margin .4s; }
.cse:hover .cse__more, .cse:focus .cse__more, .cse.open .cse__more { max-height: 320px; opacity: 1; margin-top: 26px; }
.cse__more p { color: #fff; font-weight: 600; }
.cse__more ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 9px; font-size: 16px; color: #C9CBD1; }
.cse__more li { padding-left: 22px; position: relative; }
.cse__more li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 2px; background: var(--cc); }
.cse__go { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; font: 600 15px/1 var(--f); color: var(--cc); }
.cse__go i { font-style: normal; font-size: 20px; transition: transform .3s; }
.cse:hover .cse__go i, .cse.open .cse__go i { transform: rotate(45deg); }

.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 46px 0 40px; }
.steps3 div { padding: 30px; border: 1px solid #2A2C31; border-radius: 16px; }
.steps3 b { font: 800 44px/1 var(--f); color: var(--red); }
.steps3 h3 { margin-top: 16px; font-size: 24px; }
.steps3 p { margin-top: 10px; color: #B4B7BE; }

.tar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 50px; align-items: stretch; }
.tr { position: relative; display: flex; flex-direction: column; padding: 38px 34px 34px; border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: transform .3s, box-shadow .3s; }
.tr:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(0,0,0,.35); }
.tr--hit { background: var(--ink); color: #fff; border-color: var(--ink); }
.tr em { position: absolute; top: -14px; left: 34px; padding: 7px 14px; background: var(--red); color: #fff; font: 700 12px/1 var(--f); font-style: normal; letter-spacing: .12em; text-transform: uppercase; transform: skewX(-10deg); }
.tr h3 { font-size: 32px; }
.tr > span { margin-top: 8px; color: #6B6E76; font-size: 15px; }
.tr--hit > span { color: #A0A3AB; }
.tr__p { margin-top: 26px; font-size: 16px; color: #6B6E76; }
.tr--hit .tr__p { color: #A0A3AB; }
.tr__p b { font: 800 44px/1 var(--f); letter-spacing: -.03em; color: var(--ink); margin-right: 6px; }
.tr--hit .tr__p b { color: #fff; }
.tr ul { margin: 26px 0 30px; padding: 0; list-style: none; display: grid; gap: 12px; font-size: 16px; line-height: 1.35; }
.tr li { position: relative; padding-left: 30px; }
.tr li::before { content: "✓"; position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 1.500px solid var(--red); color: var(--red); font-size: 11px; font-weight: 700; }
.tr .btn { margin-top: auto; }
.tr--hit .btn--red { box-shadow: none; }
.tar__n { margin-top: 26px; color: var(--txt); font-size: 16px; }
.js .tr[data-r] { transform: translateY(60px); } .js .tr[data-r].in { transform: none; } .js .tr--hit[data-r].in { transform: translateY(-10px); }

.faq { margin-top: 40px; max-width: 900px; }
.faq details { border-bottom: 1px solid #D9DBDF; }
.faq summary { display: flex; justify-content: space-between; gap: 20px; padding: 24px 0; font: 700 21px/1.25 var(--f); letter-spacing: -.01em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--red); font-weight: 500; font-size: 28px; line-height: .8; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 0 24px; max-width: 760px; color: var(--txt); }

.cta { display: grid; grid-template-columns: 1fr 440px; gap: 60px; align-items: center; padding: 90px max(24px, calc((100vw - var(--w)) / 2)); background: var(--ink); color: #fff; }
.cta p { margin-top: 20px; font-size: 20px; color: #B4B7BE; max-width: 520px; }
.frm { display: grid; gap: 12px; }
.frm input { height: 60px; padding: 0 20px; border-radius: 8px; border: 1.500px solid #2F3136; background: #17181B; color: #fff; font: 500 17px/1 var(--f); }
.frm input:focus { outline: none; border-color: var(--red); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.frm__ok { padding: 14px 16px; border-radius: 8px; background: rgba(37,211,102,.14); color: #7CF0A8; font-size: 15px; } .frm__ok.err { background: rgba(231,1,12,.16); color: #FF8A8F; }
.ft { padding: 70px max(24px, calc((100vw - var(--w)) / 2)) 34px; background: #000; color: #9A9DA5; font-size: 15px; }
.ft__g { display: grid; grid-template-columns: 1.300fr 1fr 1fr 1fr; gap: 40px; }
.ft__g img { width: 240px; } .ft__g > div > p { margin-top: 18px; max-width: 320px; line-height: 1.5; }
.ft__t { font: 700 12px/1 var(--f); letter-spacing: .2em; text-transform: uppercase; color: #6B6E76; margin-bottom: 18px; }
.ft__l { display: grid; gap: 10px; } .ft__l a { color: #D5D7DB; } .ft a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 4px; }
.ft__b { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 50px; padding-top: 24px; border-top: 1px solid #1F2125; } .ft__b a { color: #fff; }

/* ── заставка: семь дней загораются («каждый день»), логотип врезается с глитчем, косые шторки ── */
.sp { position: fixed; inset: -20px; z-index: 100; display: grid; place-items: center; background: #0B0B0C; overflow: hidden; } /* запас 20px: при «ударе» края не оголяются */
.sp__days { position: absolute; top: calc(50% - min(16vw, 150px)); left: 50%; width: min(80vw, 780px); margin-left: calc(min(80vw, 780px) / -2); display: flex; justify-content: space-between; gap: min(1.200vw, 12px); }
.sp__days i { flex: 1; padding: min(1.400vw, 12px) 0; text-align: center; font: 800 min(2.800vw, 20px)/1 var(--f); font-style: normal; letter-spacing: .06em; color: #3A3C42; border: 2px solid #26282D; transform: skewX(-12deg); animation: spd .3s linear both; }
.sp__days i:nth-child(1) { animation-delay: .15s; } .sp__days i:nth-child(2) { animation-delay: .27s; } .sp__days i:nth-child(3) { animation-delay: .39s; } .sp__days i:nth-child(4) { animation-delay: .51s; } .sp__days i:nth-child(5) { animation-delay: .63s; } .sp__days i:nth-child(6) { animation-delay: .75s; } .sp__days i:nth-child(7) { animation-delay: .87s; }
@keyframes spd { 0% { background: transparent; border-color: #26282D; color: #3A3C42; box-shadow: none; } 20%, 100% { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 0 34px rgba(231,1,12,.7); } }
.sp__logo { position: relative; width: min(80vw, 780px); opacity: 0; animation: spl .55s cubic-bezier(.2,1.400,.4,1) 1.150s forwards; }
.sp::before { content: ""; position: absolute; left: 50%; top: 50%; width: 40vmax; height: 40vmax; margin: -20vmax; border-radius: 50%; border: 3px solid var(--red); opacity: 0; animation: spr .7s ease-out 1.420s; }
.sp::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 40% at 50% 50%, rgba(231,1,12,.22), rgba(11,11,12,0) 70%); opacity: 0; animation: spv .9s ease-out 1.350s forwards; pointer-events: none; }
@keyframes spr { 0% { opacity: .9; transform: scale(.2); } 100% { opacity: 0; transform: scale(2.200); } }
@keyframes spv { 0% { opacity: 0; } 30% { opacity: 1; } 100% { opacity: .55; } }
.sp.hit { animation: spk .32s linear 1.400s; }
@keyframes spk { 20% { transform: translate(-7px, 3px); } 40% { transform: translate(6px, -4px); } 60% { transform: translate(-4px, 2px); } 80% { transform: translate(3px, -1px); } }
.sp__logo img { width: 100%; }
.sp__logo .g { position: absolute; inset: 0; opacity: 0; mix-blend-mode: screen; filter: drop-shadow(8px 0 0 var(--red)); animation: spg .45s steps(2) 1.250s; }
@keyframes spl { 0% { opacity: 0; transform: scale(2.400) skewX(-10deg); filter: blur(14px); } 60% { opacity: 1; filter: blur(0); } 100% { opacity: 1; transform: none; filter: none; } }
@keyframes spg { 0% { opacity: .9; transform: translateX(-14px); clip-path: inset(10% 0 55% 0); } 50% { opacity: .9; transform: translateX(12px); clip-path: inset(50% 0 15% 0); } 100% { opacity: 0; } }
.sp__t { position: absolute; left: 0; right: 0; top: calc(50% + min(8vw, 78px)); text-align: center; font: italic 500 min(2.150vw, 17px)/1 Raleway, sans-serif; letter-spacing: .25em; text-transform: uppercase; color: #fff; white-space: nowrap; clip-path: inset(0 100% 0 0); animation: spt .7s cubic-bezier(.6,0,.2,1) 1.650s forwards; }
.sp__t b { font-weight: 700; color: #FF2A33; }
@keyframes spt { to { clip-path: inset(0 0 0 0); } }
.sp__sh { position: absolute; inset: -10% -20%; display: flex; transform: skewX(-14deg); pointer-events: none; }
.sp__sh i { flex: 1; margin: 0 -1px; background: var(--red); transform: translateY(101%); animation: sps .5s cubic-bezier(.7,0,.2,1) forwards; }
.sp__sh i:nth-child(1) { animation-delay: 2.550s; } .sp__sh i:nth-child(2) { animation-delay: 2.610s; } .sp__sh i:nth-child(3) { animation-delay: 2.670s; } .sp__sh i:nth-child(4) { animation-delay: 2.730s; } .sp__sh i:nth-child(5) { animation-delay: 2.790s; }
@keyframes sps { to { transform: none; } }
.sp.bye { background: transparent; }
.sp.bye > :not(.sp__sh) { display: none; }
.sp.bye .sp__sh i { animation: spx .55s cubic-bezier(.7,0,.2,1) forwards; transform: none; }
.sp.bye .sp__sh i:nth-child(2) { animation-delay: .06s; } .sp.bye .sp__sh i:nth-child(3) { animation-delay: .12s; } .sp.bye .sp__sh i:nth-child(4) { animation-delay: .18s; } .sp.bye .sp__sh i:nth-child(5) { animation-delay: .24s; }
@keyframes spx { to { transform: translateY(-101%); } }

/* ── анимации ── */
.js .hero__bg { transform: scale(1.120); transition: transform 3.500s cubic-bezier(.2,.6,.2,1); }
.js.go .hero__bg { transform: none; }
.js .hero__in > *, .js .dev { opacity: 0; transform: translateY(36px); transition: opacity .7s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.js.go .hero__in > *, .js.go .dev { opacity: 1; transform: none; }
.js.go .hero__in > :nth-child(2) { transition-delay: .1s; } .js.go .hero__in > :nth-child(3) { transition-delay: .22s; } .js.go .hero__in > :nth-child(4) { transition-delay: .34s; } .js.go .hero__in > :nth-child(5) { transition-delay: .46s; } .js.go .dev { transition-delay: .5s; }
.js h1 em { background: linear-gradient(90deg, var(--red) 50%, var(--ink) 50%) 100% 0 / 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; transition: background-position 1s cubic-bezier(.6,0,.2,1) .7s; }
.js.go h1 em { background-position: 0 0; }
.js [data-r] { opacity: 0; transform: translateY(44px); transition: opacity .7s ease, transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-r].in { opacity: 1; transform: none; }
.js .tiles a[data-r] { transform: translateY(60px) rotate(2deg); }
.js .tiles a[data-r].in { transform: none; }
.js h2 { background: linear-gradient(var(--red), var(--red)) 0 100% / 0 5px no-repeat; padding-bottom: 14px; transition: background-size 1s cubic-bezier(.6,0,.2,1) .2s; display: inline-block; }
.js h2.in { background-size: 90px 5px; }
.strip div { transition: transform .25s; } .strip div:hover { transform: translateY(-4px); }
.mod { transition: transform .3s, box-shadow .3s, border-color .3s; }
.mod:hover { transform: translateY(-6px); border-color: var(--red); box-shadow: 0 30px 50px -30px rgba(231,1,12,.45); }
.dev .ph { animation: bob 5s ease-in-out infinite; }
.dev .tab { animation: bob 6s ease-in-out infinite reverse; }
@keyframes bob { 50% { translate: 0 -10px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .sp { display: none; } }

/* ── шапка: три варианта поведения, класс h1/h2/h3 на <html> ── */
.rd { position: fixed; left: 0; top: 76px; z-index: 31; height: 3px; width: 100%; background: var(--red); transform-origin: 0 0; transform: scaleX(var(--rd, 0)); display: none; }
.hd { transition: transform .4s cubic-bezier(.2,.7,.2,1), height .3s, box-shadow .3s, margin .3s, border-radius .3s, background .3s; }
/* 1 — прячется при прокрутке вниз, возвращается при прокрутке вверх; под ней красная линия прогресса */
.h1 .rd { display: block; transition: top .4s cubic-bezier(.2,.7,.2,1); }
.h1.down .hd { transform: translateY(-100%); } .h1.down .rd { top: 0; }
/* 2 — после первого экрана сжимается в плавающую «таблетку» */
.h2.scrolled .hd { height: 60px; margin: 12px max(16px, calc((100vw - var(--w)) / 2)); padding: 0 12px 0 24px; border-radius: 40px; border: 1px solid var(--line); box-shadow: 0 20px 40px -22px rgba(0,0,0,.35); }
.h2.scrolled .hd__logo img { width: 200px; }
.h2.scrolled .hd .btn { height: 40px; border-radius: 30px; }
/* 3 — шапка на месте; активный раздел подсвечивается красной плашкой, по кнопке пробегает блик */
.h3 .hd__nav a { padding: 9px 14px; margin: 0 -14px; border: 0; border-radius: 6px; transition: background .3s, color .3s; }
.h3 .hd__nav a.act { background: var(--red); color: #fff; transform: skewX(-8deg); }
.h3 .hd__cta { position: relative; overflow: hidden; }
.h3 .hd__cta::after { content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; background: rgba(255,255,255,.45); transform: skewX(-20deg); animation: shine 3.200s ease-in-out infinite; }
@keyframes shine { 0%, 60% { left: -40%; } 100% { left: 130%; } }

/* ── доп. анимации блоков ── */
.js .strip svg { stroke-dasharray: 90; stroke-dashoffset: 90; transition: stroke-dashoffset 1.200s ease .2s; }
.js .strip .in svg { stroke-dashoffset: 0; }
.js .cse[data-r]:first-child { transform: translateX(-60px); } .js .cse[data-r]:last-child { transform: translateX(60px); }
.js .cse[data-r].in { transform: none; } .js .cse[data-r].in:hover, .js .cse[data-r].in.open { transform: translateY(-8px); }
.js .steps3 div[data-r] { transform: translateY(44px) scale(.94); } .js .steps3 div[data-r].in { transform: none; }
.js .band > img { transform: scale(1.100); transition: transform 2.500s cubic-bezier(.2,.6,.2,1); } .js .band.in > img { transform: none; }
.js .mod__sh img { translate: 0 40px; transition: translate .9s cubic-bezier(.2,.7,.2,1) .2s, transform .6s cubic-bezier(.2,.7,.2,1); } .js .mod.in .mod__sh img { translate: 0 0; }
.js .cta form[data-r] { transform: translateX(50px); } .js .cta form[data-r].in { transform: none; }

/* ── меню-«карта боя»: тёмный экран, пункты как раунды ── */
.mn { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 96px 24px calc(28px + env(safe-area-inset-bottom)); background: #0B0B0C; color: #fff; overflow: hidden; clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%); visibility: hidden; transition: clip-path .55s cubic-bezier(.7,0,.2,1), visibility 0s .55s; }
.menu .mn { clip-path: polygon(-30% 0, 100% 0, 100% 100%, -60% 100%); visibility: visible; transition: clip-path .55s cubic-bezier(.7,0,.2,1); }
.mn__bg { position: absolute; right: -8vw; bottom: -14vw; font: 800 90vw/.8 var(--f); font-style: italic; color: var(--red); opacity: .13; pointer-events: none; transform: rotate(-8deg); }
.mn__t { font: 700 12px/1 var(--f); letter-spacing: .34em; text-transform: uppercase; color: #6B6E76; margin-bottom: 14px; }
.mn > a { position: relative; display: flex; align-items: baseline; gap: 16px; padding: 13px 0; border-bottom: 1px solid #1F2125; opacity: 0; transform: translateX(60px) skewX(-8deg); transition: opacity .4s ease, transform .5s cubic-bezier(.2,.7,.2,1); }
.menu .mn > a { opacity: 1; transform: none; }
.menu .mn > a:nth-of-type(1) { transition-delay: .18s; } .menu .mn > a:nth-of-type(2) { transition-delay: .24s; } .menu .mn > a:nth-of-type(3) { transition-delay: .3s; } .menu .mn > a:nth-of-type(4) { transition-delay: .36s; } .menu .mn > a:nth-of-type(5) { transition-delay: .42s; } .menu .mn > a:nth-of-type(6) { transition-delay: .48s; }
.mn > a i { font: 800 14px/1 var(--f); font-style: normal; color: var(--red); min-width: 26px; }
.mn > a b { font: 800 clamp(30px, 9vw, 46px)/1 var(--f); font-style: italic; letter-spacing: -.03em; text-transform: uppercase; }
.mn > a::after { content: ""; position: absolute; left: -24px; right: -24px; top: 0; bottom: 0; background: var(--red); transform: scaleX(0) skewX(-12deg); transform-origin: 0 50%; transition: transform .25s cubic-bezier(.6,0,.2,1); z-index: -1; }
.mn > a:active::after { transform: scaleX(1) skewX(-12deg); }
.mn__ft { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 26px; opacity: 0; transform: translateY(30px); transition: opacity .4s ease .5s, transform .5s cubic-bezier(.2,.7,.2,1) .5s; }
.menu .mn__ft { opacity: 1; transform: none; }
.mn__ft .btn { padding: 0 12px; font-size: 16px; }
.menu { overflow: hidden; }

@media (max-width: 1180px) {
  .hd__nav { display: none; }
  .hd__burger { display: grid; gap: 5px; margin-left: 4px; padding: 10px; background: none; border: 0; }
  .hd__burger { position: relative; z-index: 2; cursor: pointer; }
  .hd__burger i { display: block; width: 26px; height: 2.500px; background: var(--ink); transform: skewX(-20deg); transition: transform .35s cubic-bezier(.6,0,.2,1), opacity .2s, background .3s, width .3s; }
  .hd__burger i:nth-child(2) { width: 18px; background: var(--red); }
  .menu .hd__burger i { background: #fff; } .menu .hd__burger i:nth-child(1) { transform: translateY(7.500px) rotate(45deg); } .menu .hd__burger i:nth-child(2) { opacity: 0; } .menu .hd__burger i:nth-child(3) { transform: translateY(-7.500px) rotate(-45deg); }
  .menu .hd, .menu.scrolled .hd { background: transparent; border-color: transparent; box-shadow: none; backdrop-filter: none; z-index: 61; }
  .menu .hd__logo img { filter: brightness(0) invert(1); }
  .dev { scale: .8; transform-origin: 100% 100%; }
  .strip { grid-template-columns: repeat(3, 1fr); }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .mods { grid-template-columns: 1fr 1fr; }
  .tar { grid-template-columns: 1fr; max-width: 560px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .hd { height: 64px; gap: 12px; padding: 0 16px; } .hd__logo img { width: 190px; } .hd__cta { display: none; } .hd__burger { margin-left: 4px; } .lng a { padding: 7px 7px; font-size: 12px; }
  .menu .lng a { color: #9A9DA5; } .menu .lng a.on { background: #fff; color: var(--ink); } .lng { position: relative; z-index: 62; }
  .hero { display: block; min-height: 0; padding: 0 16px 0; }
  .hero__bg { position: relative; inset: auto; width: calc(100% + 32px); max-width: none; margin: 0 -16px; height: 108vw; object-position: 50% 30%; z-index: 0; }
  .hero::before { inset: 0 0 auto 0; height: 108vw; z-index: 1; background: linear-gradient(0deg, #fff 0%, rgba(255,255,255,0) 30%); }
  .hero__in { position: relative; z-index: 2; margin-top: -40px; }
  .hero__lead { font-size: 18px; }
  .hero__btns .btn { width: 100%; }
  .ticks { gap: 12px 22px; font-size: 14px; }
  .dev { position: relative; right: auto; bottom: auto; width: 640px; height: 360px; margin: 40px 0 -160px 0; scale: .55; transform-origin: 0 0; }
  .mod__sh { margin: -28px -22px 22px; height: 200px; }
  .hero { padding-bottom: 30px; }
  .strip { grid-template-columns: 1fr 1fr; padding: 28px 16px; gap: 22px 14px; } .strip b { font-size: 14px; }
  .sec { padding: 64px 16px; } .sec__lead { font-size: 18px; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 32px; } .tiles b { font-size: 16px; }
  .mods, .cs, .steps3, .tar { grid-template-columns: 1fr; margin-top: 32px; }
  .tot { grid-template-columns: 1fr 1fr; gap: 26px 16px; padding: 26px 0; margin-top: 30px; } .tot span { font-size: 14px; }
  .cse { padding: 34px 24px 28px; } .cse__lg { height: 50px; } .cse__nm b { font-size: 44px; } .cse__nm span { font-size: 14px; }
  .tr { padding: 34px 24px 28px; } .tr__p b { font-size: 38px; } .js .tr--hit[data-r].in { transform: none; }
  .mod { padding: 28px 22px; } .mod h3 { font-size: 27px; }
  .band { min-height: 0; display: block; padding: 0 0 50px; } .band::before { display: none; } .band > img { position: relative; height: 62vw; object-position: 62% 50%; z-index: 0; } .band__in { padding: 34px 16px 0; }
  .faq summary { font-size: 18px; padding: 20px 0; }
  .cta { grid-template-columns: 1fr; gap: 34px; padding: 64px 16px; } .cta p { font-size: 18px; }
  .ft { padding: 50px 16px 28px; } .ft__g { grid-template-columns: 1fr 1fr; gap: 34px 20px; } .ft__g > div:first-child { grid-column: 1 / -1; } .ft__g img { width: 200px; }
  .sp__logo, .sp__days { width: 86vw; } .sp__days { margin-left: -43vw; top: calc(50% - 19vw); } .sp__t { top: calc(50% + 10vw); letter-spacing: .12em; }
  .rd { top: 64px; }
}

/* вложенные страницы */
.pg { position: relative; padding: 70px max(24px, calc((100vw - var(--w)) / 2)) 80px; overflow: hidden; }
.pg > img { position: absolute; right: 0; top: 0; width: 46%; height: 100%; object-fit: cover; z-index: -2; }
.pg::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #fff 0%, #fff 54%, rgba(255,255,255,0) 78%); }
.pg__in { max-width: 700px; }
.pg h1 { font-size: clamp(40px, 4.800vw, 70px); }
.pg h1 em { display: inline; }
.bc { font: 500 14px/1.4 var(--f); color: #6B6E76; margin-bottom: 26px; } .bc a { border-bottom: 1px solid #C9CBD1; }
.pts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 46px; }
.pt2 { padding: 32px 30px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.pt2 b { display: block; font: 800 15px/1 var(--f); color: var(--red); } .pt2 h3 { margin-top: 14px; font-size: 26px; } .pt2 p { margin-top: 12px; color: var(--txt); }
.lst { margin: 40px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 40px; font-size: 18px; max-width: 1000px; }
.lst li { position: relative; padding-left: 30px; } .lst li::before { content: "✓"; position: absolute; left: 0; top: 2px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 1.500px solid var(--red); color: var(--red); font-size: 11px; font-weight: 700; }
.cmp { width: 100%; max-width: 1000px; margin-top: 40px; border-collapse: collapse; font-size: 17px; } .cmp th, .cmp td { text-align: left; padding: 16px 14px; border-bottom: 1px solid var(--line); vertical-align: top; } .cmp th { font: 700 13px/1 var(--f); letter-spacing: .14em; text-transform: uppercase; color: #6B6E76; } .cmp td:nth-child(2) { font-weight: 600; }
.oth { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; } .oth a { padding: 12px 18px; border: 1.500px solid var(--ink); border-radius: 30px; font: 600 15px/1 var(--f); } .oth a:hover { background: var(--ink); color: #fff; }
@media (max-width: 760px) { .pg { padding: 0 16px 50px; } .pg > img { position: relative; width: calc(100% + 32px); margin: 0 -16px 30px; height: 62vw; z-index: 0; } .pg::before { display: none; } .pts { grid-template-columns: 1fr; margin-top: 30px; } .lst { grid-template-columns: 1fr; font-size: 16px; } .cmp { font-size: 15px; } .cmp th, .cmp td { padding: 12px 8px; } }

/* статьи */
.art { max-width: 820px; margin: 0 auto; padding: 60px 24px 80px; }
.art h1 { font-size: clamp(34px, 4.200vw, 58px); line-height: 1.05; }
.art__l { margin-top: 24px; font-size: 21px; line-height: 1.5; color: var(--txt); }
.art h2 { margin-top: 46px; font-size: clamp(24px, 2.600vw, 32px); line-height: 1.15; display: block; }
.js .art h2 { background: none; padding: 0; }
.art p { margin-top: 16px; font-size: 18px; line-height: 1.65; }
.art__cta { margin-top: 56px; padding: 36px; border-radius: 16px; background: var(--ink); color: #fff; }
.art__cta h3 { font-size: 30px; } .art__cta p:not(.eb) { color: #C9CBD1; margin: 14px 0 24px; font-size: 17px; }
.art__cta .eb { color: #9A9DA5; } .art__cta .btn--line { background: transparent; color: #fff; border-color: #fff; margin-left: 8px; }
.acs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.ac { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: transform .3s, border-color .3s, box-shadow .3s; }
.ac:hover { transform: translateY(-6px); border-color: var(--red); box-shadow: 0 30px 50px -30px rgba(231,1,12,.4); }
.ac b { font: 800 21px/1.2 var(--f); letter-spacing: -.02em; } .ac span { margin: 12px 0 20px; color: var(--txt); font-size: 15px; } .ac i { margin-top: auto; font: 600 15px/1 var(--f); font-style: normal; color: var(--red); }
.h1s { font-size: clamp(36px, 4.600vw, 64px); } .h1s em { display: inline; }
@media (max-width: 1000px) { .acs { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .art { padding: 34px 16px 56px; } .art__l { font-size: 19px; } .art p { font-size: 17px; } .art__cta { padding: 26px 22px; } .art__cta .btn { width: 100%; margin: 8px 0 0; } }
