/* DOBA × ELEMENTARNO — Готові сайти. Токени: DOBA (світлі секції, кораловий,
   великі радіуси, Onest) + ELEMENTARNO (темний hero, золото, блоби, uppercase). */
:root {
	--ink: #161D22;
	--ink-2: #0E1316;
	--text: #252B37;
	--muted: #4B5563;
	--muted-2: #6B7280;
	--bg: #FAFAFA;
	--white: #FFFFFF;
	--line: #ECEDEF;
	--line-2: #DADDE1;
	--coral: #F0532D;
	--coral-btn: #DA3D17;
	--coral-hover: #B8320F;
	--peach: #FFF1E7;
	--gold: #FFD300;
	--r-xl: 32px;
	--r-l: 24px;
	--r-m: 16px;
	--container: 1280px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--text); background: var(--bg); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--coral-btn); }
a:hover { color: var(--coral-hover); }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.sec { padding: 112px 0; }
.sec--white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec--dark { background: var(--ink); color: var(--white); position: relative; overflow: hidden; }

.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--coral-btn); }
.sec--dark .eyebrow { color: var(--gold); }
.h1 { margin: 0; font-size: clamp(42px, 6.2vw, 84px); line-height: 1.0; font-weight: 700; letter-spacing: -.035em; text-transform: uppercase; }
.h2 { margin: 0; font-size: clamp(32px, 4vw, 52px); line-height: 1.08; font-weight: 600; letter-spacing: -.03em; }
.h2--caps { text-transform: uppercase; font-weight: 700; }
.lead { margin: 0; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.55; color: var(--muted); }
.sec--dark .lead, .hero .lead { color: rgba(255, 255, 255, .78); }
.accent { color: var(--coral); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.sec-head__title { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.sec-head .lead { max-width: 440px; }

/* ---------- кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn--accent { background: var(--coral-btn); color: var(--white); box-shadow: 0 10px 30px rgba(218, 61, 23, .28); }
.btn--accent:hover { background: var(--coral-hover); color: var(--white); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: #000; color: var(--white); }
.btn--ghost { background: var(--white); color: var(--text); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--text); color: var(--text); }
.btn--glass { background: rgba(255, 255, 255, .08); color: var(--white); border-color: rgba(255, 255, 255, .18); }
.btn--glass:hover { background: rgba(255, 255, 255, .14); color: var(--white); }
.btn--sm { min-height: 44px; padding: 11px 20px; font-size: 15px; }
.btn__arrow { transition: transform .2s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }

.pill { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--white); color: var(--text); font-size: 14px; font-weight: 500; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.pill:hover { border-color: var(--text); }
.pill.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); font-weight: 600; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); font-size: 14px; color: rgba(255, 255, 255, .9); }
.tag { display: inline-flex; padding: 6px 12px; border-radius: 999px; font-size: 13px; border: 1px solid var(--line); color: var(--muted); background: var(--white); }
.tag--accent { background: var(--peach); border-color: var(--peach); color: var(--coral-hover); font-weight: 600; }

/* ---------- шапка ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(22, 29, 34, .88); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid rgba(255, 255, 255, .08); transition: background .3s; }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brands { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.brands__doba { height: 26px; width: auto; }
.brands__x { color: var(--gold); font-weight: 700; font-size: 18px; line-height: 1; }
.brands__elm { height: 13px; width: auto; }
.nav { display: flex; gap: 28px; }
.nav a { color: rgba(255, 255, 255, .82); text-decoration: none; font-size: 15px; font-weight: 500; transition: color .2s; }
.nav a:hover { color: var(--white); }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .16); background: transparent; color: var(--white); cursor: pointer; align-items: center; justify-content: center; }
.mnav { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); color: var(--white); }
.blob { position: absolute; border-radius: 50%; filter: blur(40px); pointer-events: none; animation: blob 16s ease-in-out infinite alternate; }
.blob--coral { width: 640px; height: 640px; right: -160px; top: -200px; background: radial-gradient(circle at 40% 40%, rgba(240, 83, 45, .6), rgba(240, 83, 45, 0) 65%); }
.blob--gold { width: 540px; height: 540px; left: -180px; bottom: -260px; background: radial-gradient(circle, rgba(255, 211, 0, .30), rgba(255, 211, 0, 0) 65%); animation-duration: 20s; }
.blob--violet { width: 420px; height: 420px; left: 38%; top: 30%; background: radial-gradient(circle, rgba(133, 125, 238, .22), rgba(133, 125, 238, 0) 65%); animation-duration: 24s; }
@keyframes blob { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(40px, 30px) scale(1.12); } 100% { transform: translate(-30px, 50px) scale(.95); } }
.hero__in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 48px; align-items: center; padding: 96px 0 120px; }
.hero__copy { display: flex; flex-direction: column; gap: 28px; }
.hero__badge { align-self: flex-start; }
.hero__badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); display: inline-block; box-shadow: 0 0 0 0 rgba(255, 211, 0, .6); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255, 211, 0, .55); } 80%, 100% { box-shadow: 0 0 0 10px rgba(255, 211, 0, 0); } }
.hero__actions, .hero__chips { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__visual { position: relative; min-height: 540px; }
.hv-layer { position: absolute; will-change: transform; }
.hv-layer--browser { top: 30px; right: -36px; width: calc(100% + 4px); }
.hv-layer--phone { left: -18px; bottom: -14px; width: 184px; }
.hv-layer--chip { right: -28px; bottom: 6px; }
.hv-layer--tg { top: -22px; left: 4%; }
.hv-browser { display: block; border-radius: 16px; overflow: hidden; background: #1C242B; box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .08); animation: float 12s ease-in-out infinite; text-decoration: none; }
.hv-bar { display: flex; align-items: center; gap: 14px; height: 38px; padding: 0 14px; }
.hv-dots { display: flex; gap: 6px; }
.hv-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.hv-dots i:first-child { background: #F0532D; } .hv-dots i:nth-child(2) { background: var(--gold); }
.hv-url { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; max-width: 320px; margin: 0 auto; height: 24px; padding: 0 12px; border-radius: 999px; background: rgba(255, 255, 255, .07); color: rgba(255, 255, 255, .62); font-size: 12px; }
.hv-url b { font-weight: 500; color: rgba(255, 255, 255, .86); transition: opacity .4s; }
.hv-screen { position: relative; display: block; overflow: hidden; background: #E9EAEB; aspect-ratio: 16 / 10; }
.hv-slide { position: absolute; left: 0; top: 0; display: block; width: 100%; height: auto; opacity: 0; transition: opacity .9s ease; will-change: transform, opacity; backface-visibility: hidden; }
.hv-slide.is-on { opacity: 1; }
.hv-phone { position: relative; padding: 7px; border-radius: 34px; background: #0B0F12; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .1); animation: float 9s ease-in-out infinite reverse; }
.hv-phone .hv-screen { aspect-ratio: 9 / 19.5; border-radius: 27px; }
.hv-notch { position: absolute; z-index: 2; top: 13px; left: 50%; width: 56px; height: 16px; margin-left: -28px; border-radius: 999px; background: #0B0F12; }
.hv-chip { display: grid; gap: 2px; min-width: 210px; padding: 14px 18px; border-radius: 18px; background: var(--white); color: var(--ink); text-decoration: none; box-shadow: 0 24px 50px -12px rgba(0, 0, 0, .55); animation: float 10s ease-in-out infinite; transition: box-shadow .3s; }
.hv-chip:hover { box-shadow: 0 28px 60px -10px rgba(240, 83, 45, .55); }
.hv-chip b { font-size: 16px; font-weight: 700; transition: opacity .4s; }
.hv-chip small { font-size: 13px; color: #5B6470; transition: opacity .4s; }
.hv-live { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 4px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #DA3D17; }
.hv-live i { width: 7px; height: 7px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 0 rgba(34, 197, 94, .5); animation: pingG 2s infinite; }
@keyframes pingG { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .55); } 80%, 100% { box-shadow: 0 0 0 9px rgba(34, 197, 94, 0); } }
.hv-tg { display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 16px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: var(--white); animation: float 11s ease-in-out infinite; }
.hv-tg__ic { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #2AABEE; color: #fff; flex: none; }
.hv-tg b { display: block; font-size: 13px; font-weight: 600; }
.hv-tg small { display: block; font-size: 12px; color: rgba(255, 255, 255, .6); }
.is-swap [data-hv-url], .is-swap [data-hv-name], .is-swap [data-hv-type] { opacity: 0; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* чому ми */
.why-sec { position: relative; overflow: hidden; }
.why { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.why__card { display: flex; flex-direction: column; gap: 12px; padding: 32px; border-radius: 24px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); transition: border-color .3s, transform .4s var(--ease); }
.why__card:hover { border-color: rgba(240, 83, 45, .55); transform: translateY(-4px); }
.why__big { font-size: clamp(64px, 7vw, 96px); font-weight: 800; line-height: .9; letter-spacing: -.03em; color: #F0532D; }
.why__big small { font-size: .32em; font-weight: 700; letter-spacing: 0; margin-left: 6px; color: var(--gold); }
.why__card h3 { margin: 8px 0 0; font-size: 22px; }
.why__card p { margin: 0; color: rgba(255, 255, 255, .72); }

/* бігуча стрічка шаблонів під hero */
.marquee { position: relative; background: var(--ink-2); border-top: 1px solid rgba(255, 255, 255, .06); overflow: hidden; padding: 22px 0; }
.marquee__track { display: flex; gap: 18px; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { width: 300px; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; flex: none; opacity: .85; transition: opacity .3s; }
.marquee__item:hover { opacity: 1; }
.marquee__item img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- картки «кому підходить» ---------- */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.fit { background: var(--white); border: 1px solid var(--line); border-radius: 28px; padding: 28px 24px; display: flex; flex-direction: column; gap: 12px; transition: transform .3s var(--ease), box-shadow .3s; }
.fit:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(22, 29, 34, .08); }
.fit__n { font-size: 14px; font-weight: 700; color: var(--coral-btn); }
.fit h3 { margin: 0; font-size: 20px; font-weight: 600; line-height: 1.25; }
.fit p { margin: 0; font-size: 15px; color: var(--muted); }

/* ---------- каталог ---------- */
.filters { display: flex; flex-direction: column; gap: 12px; padding: 18px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-l); margin-bottom: 32px; }
.filters__row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.filters__label { font-size: 14px; font-weight: 600; color: var(--muted); min-width: 64px; }
.tpl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.tpl { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s; }
.sec--white .tpl { background: var(--bg); }
.tpl:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(22, 29, 34, .10); }
.tpl__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #E9EAEB; }
.tpl__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: object-position 3.5s ease, transform .6s var(--ease); }
.tpl:hover .tpl__media img { object-position: bottom; }
.tpl__media::after { content: 'Переглянути демо'; position: absolute; left: 50%; bottom: 18px; transform: translate(-50%, 12px); opacity: 0; padding: 10px 18px; border-radius: 999px; background: rgba(22, 29, 34, .9); color: var(--white); font-size: 14px; font-weight: 600; transition: opacity .3s, transform .3s var(--ease); white-space: nowrap; }
.tpl:hover .tpl__media::after { opacity: 1; transform: translate(-50%, 0); }
.tpl__demo { display: flex; align-items: center; gap: 8px; margin: -4px 0 0; font-size: 13px; font-weight: 600; color: var(--muted-2, #6B7280); }
.tpl__demo i { width: 7px; height: 7px; border-radius: 50%; background: #22C55E; flex: none; }
.tpl__demo--mock i { background: var(--gold, #FFD300); }
.tpl__media--soon { display: flex; align-items: center; justify-content: center; background: var(--ink); color: rgba(255, 255, 255, .72); font-size: 15px; font-weight: 500; }
.tpl__media--soon::after { display: none; }
.tpl__body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }
.tpl__tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tpl__title { margin: 0; font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
.tpl__text { margin: 0; font-size: 15px; color: var(--muted); flex-grow: 1; }
.tpl__actions { display: flex; gap: 10px; flex-wrap: wrap; padding-top: 4px; }
.tpl__link { align-self: flex-start; font-weight: 600; font-size: 15px; padding: 10px 0; text-decoration: none; }
.empty { margin: 24px 0 0; color: var(--muted); }
.center { display: flex; justify-content: center; margin-top: 40px; }

/* ---------- що отримуєте ---------- */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feat { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.feat__icon { width: 52px; height: 52px; border-radius: 16px; background: var(--peach); color: var(--coral-btn); display: inline-flex; align-items: center; justify-content: center; }
.feat h3 { margin: 0; font-size: 21px; font-weight: 600; }
.feat p { margin: 0; font-size: 15px; color: var(--muted); }
.feat--hero { grid-row: span 2; background: var(--ink); border-color: var(--ink); color: var(--white); padding: 32px; }
.feat--hero p { color: rgba(255, 255, 255, .75); font-size: 16px; }
.feat--hero h3 { font-size: 28px; letter-spacing: -.02em; line-height: 1.2; }
.badge-gold { align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: var(--gold); color: var(--ink); font-size: 13px; font-weight: 700; }
.panel-demo { margin-top: auto; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.panel-demo__head { display: flex; justify-content: space-between; gap: 8px; color: rgba(255, 255, 255, .6); flex-wrap: wrap; }
.panel-demo__field { background: rgba(255, 255, 255, .08); border-radius: 10px; padding: 10px 12px; display: flex; gap: 6px; }
.panel-demo__field span { color: rgba(255, 255, 255, .55); }
.panel-demo__typing::after { content: '|'; animation: caret 1s steps(1) infinite; margin-left: 1px; color: var(--gold); }
@keyframes caret { 50% { opacity: 0; } }
.panel-demo__save { align-self: flex-end; background: var(--coral-btn); border-radius: 999px; padding: 8px 16px; font-weight: 600; }

/* ---------- готові роботи ---------- */
.works { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.work { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--ink); color: var(--white); display: flex; flex-direction: column; text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s; }
.work:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(22, 29, 34, .25); color: var(--white); }
.work__media { aspect-ratio: 16 / 10; overflow: hidden; }
.work__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.work:hover .work__media img { transform: scale(1.04); }
.work__body { padding: 24px 28px 28px; display: flex; flex-direction: column; gap: 8px; }
.work__meta { display: flex; gap: 10px; flex-wrap: wrap; font-size: 13px; color: rgba(255, 255, 255, .7); }
.work__meta b { color: var(--gold); font-weight: 600; }
.work__title { margin: 0; font-size: 24px; font-weight: 600; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.work__note { margin: 0; font-size: 15px; color: rgba(255, 255, 255, .72); }
.work--add { background: var(--white); border: 1px dashed var(--line-2); color: var(--text); align-items: center; justify-content: center; text-align: center; padding: 40px; gap: 12px; min-height: 320px; }
.work--add:hover { color: var(--text); box-shadow: none; }
.work--add p { margin: 0; color: var(--muted); max-width: 360px; }

/* ---------- ціни ---------- */
.price-head { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; margin-bottom: 44px; position: relative; }
.switch { display: inline-flex; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); position: relative; }
.switch button { position: relative; z-index: 1; min-height: 44px; padding: 10px 22px; border-radius: 999px; border: 0; background: transparent; color: rgba(255, 255, 255, .8); font-size: 15px; font-weight: 500; cursor: pointer; transition: color .25s; }
.switch button.is-active { color: var(--ink); font-weight: 600; }
.switch__thumb { position: absolute; top: 6px; bottom: 6px; left: 6px; border-radius: 999px; background: var(--white); transition: transform .35s var(--ease), width .35s var(--ease); }
.price-note { margin: 0; font-size: 16px; color: rgba(255, 255, 255, .7); max-width: 640px; min-height: 48px; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; position: relative; }
.plan { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--r-xl); padding: 32px; display: flex; flex-direction: column; gap: 18px; color: var(--white); transition: transform .35s var(--ease); }
.plan:hover { transform: translateY(-4px); }
.plan--best { background: var(--white); color: var(--text); border-color: var(--white); box-shadow: 0 30px 70px rgba(0, 0, 0, .35); }
.plan__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.plan__name { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.plan__price { font-size: 56px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.plan__lead { margin: 0; font-size: 15px; opacity: .85; }
.plan__line { height: 1px; background: rgba(255, 255, 255, .12); }
.plan--best .plan__line { background: var(--line); }
.plan__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 11px; flex-grow: 1; }
.plan__list li { display: flex; gap: 10px; font-size: 15px; line-height: 1.45; }
.plan__list svg { flex: none; margin-top: 2px; color: var(--coral); }
.plan__who { margin: 0; font-size: 14px; opacity: .75; }
.plan .btn { width: 100%; }
.plan:not(.plan--best) .btn { background: var(--white); color: var(--ink); }
.plans.is-switching .plan { animation: planIn .45s var(--ease) both; }
.plans.is-switching .plan:nth-child(2) { animation-delay: .05s; }
.plans.is-switching .plan:nth-child(3) { animation-delay: .1s; }
@keyframes planIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.price-foot { margin: 28px 0 0; text-align: center; font-size: 14px; color: rgba(255, 255, 255, .6); position: relative; }

/* ---------- процес ---------- */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.step { display: flex; flex-direction: column; gap: 12px; padding-top: 22px; border-top: 2px solid var(--text); position: relative; }
.step::before { content: ''; position: absolute; top: -2px; left: 0; height: 2px; width: 0; background: var(--coral-btn); transition: width 1.2s var(--ease); }
.step.is-in::before { width: 100%; }
.step__n { font-size: 40px; font-weight: 700; color: var(--coral-btn); line-height: 1; }
.step h3 { margin: 0; font-size: 19px; font-weight: 600; }
.step p { margin: 0; font-size: 15px; color: var(--muted); }

/* ---------- дві студії ---------- */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.studio { border-radius: var(--r-xl); padding: 40px; display: flex; flex-direction: column; gap: 16px; }
.studio--doba { background: var(--peach); color: #3A4250; }
.studio--elm { background: var(--ink); color: rgba(255, 255, 255, .8); }
.studio__logo { height: 34px; width: auto; align-self: flex-start; }
.studio--elm .studio__logo { height: 18px; margin: 8px 0; }
.studio p { margin: 0; font-size: 17px; line-height: 1.55; }
.studio ul { margin: 0; padding: 0 0 0 20px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.studio__site { margin-top: auto; font-weight: 600; text-decoration: none; }
.studio--elm .studio__site { color: var(--gold); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; }
.faq__list { display: flex; flex-direction: column; gap: 12px; }
.qa { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; transition: border-color .2s; }
.qa.is-open { border-color: var(--line-2); }
.qa__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 24px; background: transparent; border: 0; font-size: 18px; font-weight: 600; color: var(--text); text-align: left; cursor: pointer; min-height: 44px; }
.qa__icon { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--peach); color: var(--coral-btn); display: inline-flex; align-items: center; justify-content: center; transition: transform .3s var(--ease); }
.qa.is-open .qa__icon { transform: rotate(45deg); }
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.qa.is-open .qa__a { grid-template-rows: 1fr; }
.qa__a > div { overflow: hidden; }
.qa__a p { margin: 0; padding: 0 24px 22px; font-size: 16px; line-height: 1.6; color: var(--muted); }

/* ---------- заявка ---------- */
.order { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; position: relative; }
.order__copy { display: flex; flex-direction: column; gap: 22px; }
.order__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 16px; }
.order__list li { display: flex; gap: 12px; align-items: baseline; }
.order__list li::before { content: ''; width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--gold); transform: translateY(-2px); }
.form { background: var(--white); color: var(--text); border-radius: var(--r-xl); padding: 36px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.form h3 { margin: 0; font-size: 24px; font-weight: 600; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
.field input, .field select { font: inherit; font-size: 16px; padding: 13px 16px; border: 1px solid var(--line-2); border-radius: var(--r-m); background: var(--bg); color: var(--text); min-height: 50px; transition: border-color .2s, box-shadow .2s; width: 100%; }
.field input:focus, .field select:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 4px rgba(22, 29, 34, .08); }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.form .btn { width: 100%; margin-top: 6px; min-height: 54px; }
.form__note { margin: 0; font-size: 13px; color: var(--muted-2); }
.form__status { margin: 0; font-size: 15px; font-weight: 600; min-height: 1em; }
.form__status.is-ok { color: #13784A; }
.form__status.is-err { color: var(--coral-hover); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form.is-done .field, .form.is-done .form__row, .form.is-done .btn, .form.is-done .form__note { display: none; }

/* ---------- футер ---------- */
.footer { background: var(--ink-2); color: rgba(255, 255, 255, .7); }
.footer__in { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 40px 24px; font-size: 14px; }
.footer__links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer a { color: rgba(255, 255, 255, .7); text-decoration: none; }
.footer a:hover { color: var(--white); }
.footer__big { overflow: hidden; border-top: 1px solid rgba(255, 255, 255, .06); }
.footer__big img { width: 100%; height: auto; padding: 32px 24px 0; opacity: .08; }

/* ---------- поява при прокрутці ---------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	[data-reveal] { opacity: 1; transform: none; }
}

/* ---------- адаптив ---------- */
@media (max-width: 1100px) {
	.grid-5, .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.tpl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.feat--hero { grid-row: auto; grid-column: span 2; }
}
@media (max-width: 900px) {
	.sec { padding: 72px 0; }
	.nav, .header__in > .btn--accent { display: none; }
	.burger { display: inline-flex; }
	.mnav { display: block; position: absolute; top: 100%; left: 0; right: 0; z-index: 49; background: var(--ink); padding: 8px 24px 24px; border-bottom: 1px solid rgba(255, 255, 255, .08); opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s; }
	.mnav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s; }
	.mnav a { display: block; padding: 14px 0; color: var(--white); text-decoration: none; font-size: 18px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
	.mnav .btn { margin-top: 16px; width: 100%; border: 0; }
	.hero__in, .order, .faq, .duo, .plans, .works, .why { grid-template-columns: minmax(0, 1fr); }
	.hero__in { padding: 64px 0 80px; gap: 40px; }
	.hero__visual { min-height: 0; padding: 30px 0 40px; }
	.hv-layer--browser { position: relative; top: 0; right: 0; width: calc(100% - 40px); margin-left: auto; }
	.hv-layer--chip { right: 0; bottom: 0; } .hv-layer--phone { left: 0; }
	.hv-layer--phone { width: 140px; bottom: 0; }
	.plan--best { order: -1; }
}
@media (max-width: 640px) {
	.container { padding: 0 16px; }
	.grid-5, .steps, .tpl-grid, .features, .grid-3 { grid-template-columns: minmax(0, 1fr); }
	.feat--hero { grid-column: auto; }
	.form { padding: 24px; }
	.form__row { grid-template-columns: minmax(0, 1fr); }
	.studio { padding: 28px; }
	.plan { padding: 26px; }
	.plan__price { font-size: 46px; }
	.brands__doba { height: 22px; }
	.brands__elm { height: 10px; }
	.marquee__item { width: 220px; }
	.hv-layer--browser { width: 100%; }
	.hv-layer--phone { width: 96px; left: -6px; bottom: 6px; }
	.hv-phone { padding: 4px; border-radius: 20px; } .hv-phone .hv-screen { border-radius: 16px; } .hv-notch { display: none; }
	.hv-layer--chip { right: -4px; bottom: -6px; } .hv-chip { min-width: 0; padding: 10px 14px; } .hv-chip b { font-size: 14px; } .hv-chip small { display: none; }
	.hv-layer--tg { display: none; }
}
