/* Общие стили перерисованных лендингов. Тема задаётся классом на <body>. */
:root { --gutter: clamp(16px, 4vw, 48px); --ease: cubic-bezier(.16, 1, .3, 1); --r: clamp(18px, 2vw, 28px); }
.t-amber  { --bg: #14161A; --bg2: #1C1F25; --ink: #F4F2EC; --ink2: #A9ADB5; --line: #30343C; --ac: #FFB020; --ac-ink: #1A1200; --ac-text: #FFB020; --display: 'Oswald', sans-serif; --text: 'Golos Text', sans-serif; --caps: uppercase; --dw: 600; --track: .01em; --btn-r: 8px; }
.t-linen  { --bg: #F1EBE2; --bg2: #FFFFFF; --ink: #2A1D15; --ink2: #6B5A4E; --line: #DDD2C4; --ac: #C4472A; --ac-ink: #FFFFFF; --ac-text: #A83A20; --display: 'Tenor Sans', serif; --text: 'Golos Text', sans-serif; --caps: none; --dw: 400; --track: -.01em; --btn-r: 999px; }
.t-navy   { --bg: #0A1430; --bg2: #121F45; --ink: #F1F4FF; --ink2: #A3AFD4; --line: #263566; --ac: #4D8BFF; --ac-ink: #04102E; --ac-text: #7FAAFF; --display: 'Manrope', sans-serif; --text: 'Manrope', sans-serif; --caps: none; --dw: 800; --track: -.03em; --btn-r: 14px; }
.t-mint   { --bg: #EEF6F3; --bg2: #FFFFFF; --ink: #0E2A26; --ink2: #4C6660; --line: #CFE2DC; --ac: #0C8F7B; --ac-ink: #FFFFFF; --ac-text: #0A7565; --display: 'Onest', sans-serif; --text: 'Onest', sans-serif; --caps: none; --dw: 700; --track: -.03em; --btn-r: 999px; }
.t-sunny  { --bg: #FFF6DF; --bg2: #FFFFFF; --ink: #24124F; --ink2: #5F5380; --line: #EADFC2; --ac: #5B3DF5; --ac-ink: #FFFFFF; --ac-text: #4A2EDB; --display: 'Nunito', sans-serif; --text: 'Nunito', sans-serif; --caps: none; --dw: 900; --track: -.02em; --btn-r: 20px; }
.t-plum   { --bg: #190E17; --bg2: #251522; --ink: #FBEFF4; --ink2: #BFA4B4; --line: #3E2638; --ac: #FF6B9A; --ac-ink: #2A0614; --ac-text: #FF8DB1; --display: 'Jost', sans-serif; --text: 'Jost', sans-serif; --caps: none; --dw: 500; --track: -.02em; --btn-r: 999px; }
.t-alpine { --bg: #062A30; --bg2: #0C3A42; --ink: #EEF8F6; --ink2: #9DC2C0; --line: #1D525A; --ac: #FF7A2F; --ac-ink: #2A0F00; --ac-text: #FF9A5F; --display: 'Montserrat', sans-serif; --text: 'Montserrat', sans-serif; --caps: uppercase; --dw: 800; --track: -.01em; --btn-r: 12px; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.5 var(--text); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, dl, dd, fieldset { margin: 0; padding: 0; }
h1, h2, h3 { text-wrap: balance; font-family: var(--display); font-weight: var(--dw); letter-spacing: var(--track); text-transform: var(--caps); }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
::selection { background: var(--ac); color: var(--ac-ink); }
:focus-visible { outline: 2px solid var(--ac-text); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
section[id] { scroll-margin-top: 80px; }
.wrap { max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
em { font-style: normal; color: var(--ac-text); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; padding: 0 28px; border-radius: var(--btn-r); background: var(--ac); color: var(--ac-ink); font-weight: 700; font-size: 1rem; line-height: 1.2; text-align: center; box-shadow: 0 18px 40px -20px var(--ac); transition: translate .4s var(--ease), filter .25s, box-shadow .4s var(--ease); }
.btn:hover { translate: 0 -3px; filter: brightness(1.08); box-shadow: 0 24px 46px -18px var(--ac); }
.btn:active { translate: 0; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--ghost { background: none; color: var(--ink); border: 1.5px solid var(--line); box-shadow: none; min-height: 48px; padding: 0 20px; font-size: .9375rem; }
.btn--ghost:hover { border-color: var(--ac-text); color: var(--ac-text); filter: none; box-shadow: none; }

/* Шапка */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.top__row { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font: var(--dw) 1.25rem/1 var(--display); letter-spacing: var(--track); text-transform: var(--caps); }
.brand i { width: 14px; height: 14px; border-radius: 4px; background: var(--ac); rotate: 45deg; }
.brand span { font: 400 .8125rem/1.3 var(--text); letter-spacing: 0; text-transform: none; color: var(--ink2); max-width: 22ch; }
.top__r { display: flex; align-items: center; gap: 20px; }
.top__tel { font-weight: 700; font-size: 1.0625rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.top__tel small { display: block; font-weight: 400; font-size: .75rem; color: var(--ink2); }

/* Первый экран */
.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero--cover { min-height: min(88vh, 780px); display: flex; align-items: center; padding-block: clamp(48px, 7vw, 96px); }
.hero--cover .hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero--cover::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(95deg, var(--bg) 8%, color-mix(in srgb, var(--bg) 82%, transparent) 46%, color-mix(in srgb, var(--bg) 18%, transparent) 100%); }
.hero--cover .hero__copy { max-width: 720px; }
.hero--split { padding-block: clamp(36px, 5vw, 72px); }
.hero--split .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: clamp(28px, 5vw, 72px); }
.hero--split .hero__bg { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; border-radius: var(--r); box-shadow: 0 50px 80px -50px #000; }
.hero__pic { position: relative; }
.hero__pic::before { content: ''; position: absolute; inset: 8% -6% -6% 10%; z-index: -1; border-radius: var(--r); background: var(--ac); opacity: .9; rotate: 3deg; }
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(18px, 2.2vw, 28px); }
.hero__tag { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg2); font-size: .875rem; font-weight: 600; }
.hero__tag::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--ac); }
h1 { font-size: clamp(2rem, 4.6vw, 4rem); line-height: 1.04; }
.hero__copy > p { max-width: 46ch; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); color: var(--ink2); }
.t-linen .hero--cover .hero__copy > p, .t-mint .hero--cover .hero__copy > p, .t-sunny .hero--cover .hero__copy > p { color: var(--ink); }
.hero__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.hero__note { max-width: 24ch; font-size: .875rem; line-height: 1.35; color: var(--ink2); }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); border-block: 1px solid var(--line); }
.facts li { padding: 24px 24px 24px 0; }
.facts li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.facts b { display: block; font: var(--dw) clamp(1.5rem, 2.6vw, 2.25rem)/1.05 var(--display); letter-spacing: var(--track); text-transform: var(--caps); color: var(--ac-text); }
.facts span { display: block; margin-top: 8px; font-size: .9375rem; line-height: 1.4; color: var(--ink2); }

/* Секции */
.sec { padding-block: clamp(60px, 8vw, 112px); }
.sec--alt { background: var(--bg2); }
h2 { max-width: 20em; margin-bottom: clamp(28px, 4vw, 52px); font-size: clamp(1.625rem, 3.3vw, 2.75rem); line-height: 1.08; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: var(--r); background: var(--bg2); border: 1px solid var(--line); transition: translate .5s var(--ease), border-color .3s; }
.sec--alt .card { background: var(--bg); }
.card:hover { translate: 0 -6px; border-color: var(--ac-text); }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: calc(var(--r) - 8px); background: var(--line); }
.card--noimg { padding: 26px 24px; justify-content: flex-end; min-height: 190px; }
.card--noimg::before { content: counter(c, decimal-leading-zero); counter-increment: c; margin-bottom: auto; font: var(--dw) 1rem var(--display); color: var(--ac-text); }
.cards { counter-reset: c; }
.card h3 { padding-inline: 8px; font-size: 1.25rem; line-height: 1.15; }
.card p { padding-inline: 8px; font-size: .9375rem; line-height: 1.45; color: var(--ink2); }
.card b { margin-top: auto; padding: 10px 8px 6px; border-top: 1px solid var(--line); font-weight: 700; font-variant-numeric: tabular-nums; }
.card--noimg h3, .card--noimg p, .card--noimg b { padding-inline: 0; }

/* Расчёт */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: center; padding: clamp(24px, 4vw, 56px); border-radius: var(--r); background: var(--ac); color: var(--ac-ink); }
.calc h2 { margin-bottom: 14px; }
.calc em { color: inherit; text-decoration: underline; text-decoration-thickness: .08em; text-underline-offset: .12em; }
.calc p { max-width: 44ch; opacity: .85; }
.calc ::selection { background: var(--ac-ink); color: var(--ac); }
.calc :focus-visible { outline-color: var(--ac-ink); }
.form { display: flex; flex-direction: column; gap: 14px; padding: clamp(20px, 2.6vw, 32px); border-radius: calc(var(--r) - 4px); background: var(--bg); color: var(--ink); }
.form legend { margin-bottom: 12px; font-weight: 700; font-size: 1.125rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); font-size: .9375rem; font-weight: 500; transition: background-color .2s, border-color .2s, color .2s; }
.chips label:hover span { border-color: var(--ac-text); }
.chips input:checked + span { background: var(--ac); border-color: var(--ac); color: var(--ac-ink); }
.chips input:focus-visible + span { outline: 2px solid var(--ac-text); outline-offset: 2px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field input { width: 100%; height: 56px; padding: 0 18px; border-radius: 14px; background: var(--bg2); border: 1.5px solid var(--line); caret-color: var(--ac-text); transition: border-color .2s; }
.field input::placeholder { color: var(--ink2); }
.field input:focus { outline: none; border-color: var(--ac-text); }
.field input[aria-invalid="true"] { border-color: #E5484D; }
.field em { font-size: .8125rem; color: #E5484D; font-weight: 500; }
.t-amber .field em, .t-navy .field em, .t-plum .field em, .t-alpine .field em { color: #FF9C8E; }
.form .btn { width: 100%; }
.note { font-size: .8125rem; line-height: 1.4; color: var(--ink2); }
.done { display: flex; flex-direction: column; gap: 8px; }
.done b { font: var(--dw) 1.5rem/1.15 var(--display); text-transform: var(--caps); }

/* Почему мы */
.why { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 0 clamp(24px, 4vw, 56px); counter-reset: w; }
.why li { counter-increment: w; padding: 22px 0 30px; border-top: 2px solid var(--ink); }
.why li::before { content: counter(w); display: block; margin-bottom: 20px; font: var(--dw) clamp(2.5rem, 5vw, 4rem)/.9 var(--display); color: var(--ac-text); }
.why h3 { font-size: 1.3125rem; line-height: 1.15; }
.why p { margin-top: 10px; max-width: 40ch; color: var(--ink2); }

/* Финал */
.final { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.final h2 { margin-bottom: 16px; }
.final p { max-width: 46ch; color: var(--ink2); }
.final .form { background: var(--bg2); border: 1px solid var(--line); }
.sec--alt .final .form { background: var(--bg); }

.foot { border-top: 1px solid var(--line); }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; padding-block: 24px 32px; font-size: .8125rem; color: var(--ink2); }
.foot a { text-decoration: underline; text-underline-offset: 3px; }
.foot a:hover { color: var(--ac-text); }

@media (prefers-reduced-motion: no-preference) {
  .hero__copy > * { animation: rise .9s var(--ease) backwards; }
  .hero__copy > :nth-child(2) { animation-delay: .07s; }
  .hero__copy > :nth-child(3) { animation-delay: .14s; }
  .hero__copy > :nth-child(4) { animation-delay: .21s; }
  .hero__pic { animation: rise 1s var(--ease) backwards .2s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }

@media (max-width: 860px) {
  .brand span, .top__tel small { display: none; }
  .top .btn--ghost { display: none; }
  .hero--split .wrap, .calc, .final { grid-template-columns: 1fr; }
  .hero--split .hero__bg { aspect-ratio: 4 / 3; }
  .hero--cover { min-height: 0; }
  .hero--cover::before { background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 78%, transparent), var(--bg) 92%); }
  .facts li, .facts li + li { padding: 18px 0; border-left: 0; }
  .facts li + li { border-top: 1px solid var(--line); }
  .hero__row .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
