/* ============================================================
   Adam & Eva — main.css
   Tokens из UI KIT: Accent #BF9151, BG #FCFCFC, BG2 #FFF7E5
   ============================================================ */
:root {
  --accent: #BF9151;
  --sand: #E5D5B3;
  --gold-1: #DFC5A0;
  --gold-2: #FBE7CB;
  --gold-3: #E9CDA3;
  --gold: linear-gradient(90deg, #E8CBA0 0%, #FBE7CB 48%, #DEC4A0 100%);
  --bg: #FCFCFC;
  --bg2: #FFF7E5;
  --ink: #0d0d0d;
  --ink-soft: #3a3a3a;
  --dark: #4E4E4E;
  --night: #292929;
  --line: #d6cdbd;
  --err: #b3362d;
  --serif: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Open Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --header-h: 73px;
  --wrap: 1300px;
  --pad: 70px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: #fff; color: var(--ink);
  font-family: var(--serif); font-size: 18px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, picture { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: #fff; color: #000; padding: 10px 16px; border-radius: 2px; transition: top .2s; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--pad) * 2); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: 90px; }
.h2 { font-size: 44px; line-height: 1.5; font-weight: 700; text-align: center; letter-spacing: 0; }
.h3 { font-size: 24px; line-height: 1.2; font-weight: 700; }

/* ---------- Buttons ---------- */
.btn {
  --h: 54px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 30px; border: 1px solid transparent;
  font: 600 16px/1.5 var(--sans); color: #111; text-align: center; white-space: nowrap;
  background: var(--gold); background-size: 160% 100%; background-position: 0 0;
  transition: background-position .6s var(--ease), box-shadow .4s, transform .3s var(--ease), filter .3s;
}
.btn:hover { background-position: 100% 0; box-shadow: 0 8px 26px -8px rgba(191, 145, 81, .65); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn[disabled], .btn.is-disabled { background: #bdbdbd; color: #fff; box-shadow: none; transform: none; cursor: not-allowed; }
.btn--wide { min-width: 276px; }
.btn--ghost { background: transparent; color: #fff; border-color: var(--sand); --h: 40px; padding: 0 28px; }
.btn--ghost:hover { background: var(--gold); color: #111; background-size: 160% 100%; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  color: #fff; background: rgba(78, 78, 78, .46);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: background .5s, box-shadow .5s, height .4s var(--ease);
}
.header.is-solid { background: rgba(31, 29, 27, .94); box-shadow: 0 6px 30px -12px rgba(0, 0, 0, .55); }
.header__in { height: 100%; max-width: 1440px; margin-inline: auto; padding-inline: 80px; display: flex; align-items: center; gap: 24px; }
.logo { flex: none; display: block; width: 165px; line-height: 0; }
.logo img { width: 165px; height: 45px; }
.nav { flex: 1; display: flex; justify-content: center; gap: clamp(20px, 3.4vw, 48px); }
.nav a { position: relative; font-size: 18px; line-height: 1; padding: 8px 0; white-space: nowrap; transition: color .3s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--sand); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.nav a:hover::after, .nav a.is-current::after { transform: scaleX(1); }
.nav a.is-current { font-weight: 700; }
.header__tools { flex: none; display: flex; align-items: center; gap: 22px; }
.icon-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; transition: background .3s; }
.icon-btn:hover { background: rgba(255, 255, 255, .14); }
.icon-btn img { width: 30px; height: 30px; }

.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 4px; font: 600 14px/1 var(--sans); letter-spacing: .08em; color: #fff; }
.lang__btn svg { width: 10px; height: 6px; transition: transform .35s var(--ease); }
.lang__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.lang__list { position: absolute; right: 0; top: calc(100% + 10px); min-width: 170px; padding: 8px; background: rgba(31, 29, 27, .97); border: 1px solid rgba(229, 213, 179, .35); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .3s, transform .4s var(--ease), visibility 0s .3s; }
.lang__btn[aria-expanded="true"] + .lang__list { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.lang__list a { display: flex; justify-content: space-between; gap: 18px; padding: 10px 12px; font: 400 15px/1.2 var(--sans); color: #fff; transition: background .25s, color .25s; }
.lang__list a span { opacity: .55; font-size: 12px; letter-spacing: .08em; }
.lang__list a:hover { background: rgba(229, 213, 179, .14); }
.lang__list a[aria-current="true"] { color: var(--sand); }

.burger { display: none; width: 44px; height: 44px; place-items: center; }
.burger img { width: 29px; height: 22px; transition: opacity .3s; }

/* ---------- Hero slider ---------- */
.hero { position: relative; height: clamp(560px, 86vh, 780px); min-height: 520px; background: #1d1a17; overflow: hidden; isolation: isolate; color: #fff; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; z-index: 1;
  transition: opacity 1.8s cubic-bezier(.4, 0, .2, 1), visibility 0s 1.8s; }
.slide.is-active { opacity: 1; visibility: visible; z-index: 3; transition: opacity 1.8s cubic-bezier(.4, 0, .2, 1), visibility 0s 0s; }
.slide.is-leaving { visibility: visible; z-index: 2; transition-delay: 0s; }
.slide__bg { position: absolute; inset: 0; overflow: hidden; }
.slide__bg picture { display: block; width: 100%; height: 100%; }
.slide__bg img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 40%); transform: scale(1.14); transform-origin: var(--origin, 50% 45%); will-change: transform; }
.slide.is-active .slide__bg img, .slide.is-leaving .slide__bg img { animation: kenburns 12.5s cubic-bezier(.25, .1, .25, 1) forwards; }
@keyframes kenburns { from { transform: scale(1.14) translate3d(var(--kx, -1.2%), 0, 0); } to { transform: scale(1.02) translate3d(0, 0, 0); } }
.slide__shade { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 52% at 50% 50%, rgba(14, 10, 6, .34), transparent 72%),
    linear-gradient(180deg, rgba(12, 9, 6, .5) 0%, rgba(12, 9, 6, .22) 30%, rgba(12, 9, 6, .3) 62%, rgba(12, 9, 6, .72) 100%); }
.slide__inner { position: relative; z-index: 2; height: 100%; padding: calc(var(--header-h) + 20px) 24px 86px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  opacity: 0; transition: opacity .7s ease; }
.slide.is-active .slide__inner { opacity: 1; transition-duration: .25s; }
.slide__rule { display: block; width: 72px; height: 1px; margin-bottom: 26px; background: var(--sand); transform-origin: center; }
.slide__h { font-size: 54px; line-height: 1.12; font-weight: 700; max-width: 1000px; text-shadow: 0 2px 30px rgba(0, 0, 0, .35); }
.ln { display: block; overflow: hidden; padding: .06em 0 .1em; margin-block: -.06em -.1em; }
.ln > span { display: block; }
.slide__p { margin-top: 22px; font-size: 18px; line-height: 1.55; max-width: 640px; text-shadow: 0 1px 18px rgba(0, 0, 0, .45); }
.slide__p .ln { margin: 0; }
.slide__btn { margin-top: 34px; }
/* появление текста: keyframes, чтобы работало и при первой загрузке */
.slide.is-active .slide__rule { animation: ruleIn 1.3s var(--ease) .35s backwards; }
.slide.is-active .slide__h .ln > span { animation: lineUp 1.25s var(--ease) calc(.55s + var(--i, 0) * .14s) backwards; }
.slide.is-active .slide__p .ln > span { animation: lineUp 1.1s var(--ease) calc(1.0s + var(--i, 0) * .12s) backwards; }
.slide.is-active .slide__btn { animation: btnIn 1.2s var(--ease) 1.55s backwards; }
@keyframes ruleIn { from { transform: scaleX(0); } }
@keyframes lineUp { from { transform: translate3d(0, 112%, 0); } }
@keyframes lineFade { from { opacity: 0; } }
@keyframes btnIn { from { opacity: 0; transform: translate3d(0, 22px, 0); } }

.hero__ui { position: absolute; z-index: 5; left: 0; right: 0; bottom: 30px; display: flex; align-items: center; justify-content: center; gap: 22px; padding-inline: 20px; }
.hero__count { font: 600 13px/1 var(--sans); letter-spacing: .14em; color: var(--sand); min-width: 62px; text-align: right; font-variant-numeric: tabular-nums; }
.hero__count b { color: #fff; font-weight: 600; }
.bars { display: flex; gap: 10px; }
.bar { position: relative; width: 46px; height: 24px; display: block; }
.bar::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: rgba(255, 255, 255, .32); transition: background .3s; }
.bar:hover::before { background: rgba(255, 255, 255, .6); }
.bar i { position: absolute; left: 0; top: 11px; height: 2px; width: 0; background: var(--sand); }
.bar.is-done i { width: 100%; }
.bar.is-active i { animation: fill var(--dur, 8s) linear forwards; }
.hero.is-paused .bar.is-active i { animation-play-state: paused; }
@keyframes fill { from { width: 0; } to { width: 100%; } }
.hero__arrows { display: flex; gap: 10px; min-width: 62px; }
.arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(229, 213, 179, .55); display: grid; place-items: center; color: #fff; transition: background .3s, border-color .3s, transform .4s var(--ease); }
.arrow:hover { background: rgba(229, 213, 179, .2); border-color: var(--sand); }
.arrow svg { width: 16px; height: 16px; }
.arrow--prev:hover { transform: translateX(-2px); }
.arrow--next:hover { transform: translateX(2px); }

/* ---------- Stats ---------- */
.stats { background: var(--night); color: #fff; padding: 29px 0 28px; }
.stats__list { max-width: 966px; margin-inline: auto; display: flex; justify-content: space-between; gap: 24px; padding-inline: 24px; }
.stat__n { display: block; font-size: 40px; line-height: 1.2; color: var(--sand); font-variant-numeric: lining-nums; white-space: nowrap; }
.stat__l { display: block; font-size: 16px; line-height: 1.4; margin-top: 2px; }

/* ---------- Advantages ---------- */
.adv { padding-bottom: 100px; }
.adv__grid { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 60px; max-width: 1060px; margin-inline: auto; }
.adv__item { text-align: center; padding-inline: 10px; }
.adv__item img { width: 60px; height: 60px; margin: 0 auto 18px; transition: transform .6s var(--ease); }
.adv__item:hover img { transform: translateY(-4px) scale(1.06); }
.adv__item h3 { font-size: 22px; line-height: 1.25; margin-bottom: 12px; text-wrap: balance; }
.adv__item p { font-size: 18px; line-height: 1.5; max-width: 300px; margin-inline: auto; text-wrap: balance; }

/* ---------- CTA collage ---------- */
.cta { padding-top: 90px; padding-bottom: 100px; }
.cta__grid { margin-top: 50px; display: grid; grid-template-columns: 463px 1fr; gap: 53px; align-items: center; max-width: 1265px; margin-inline: auto; }
.cta__text { text-align: center; padding-bottom: 20px; }
.cta__text h3 { font-size: 36px; line-height: 1.2; margin-bottom: 22px; }
.cta__text p { font-size: 18px; line-height: 1.65; max-width: 460px; margin: 0 auto 38px; }
.collage { position: relative; width: 100%; max-width: 748px; aspect-ratio: 748 / 584; justify-self: end; }
.collage > * { position: absolute; overflow: hidden; background: #ddd; }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage .c-main { left: 0; top: 0; width: 70.86%; height: 88.36%; z-index: 2; }
.collage .c-small { left: 62%; top: 47.95%; width: 37.97%; height: 44.18%; z-index: 3; }
.collage .c-block { left: 14.97%; top: 88.36%; width: 70.19%; height: 11.64%; background: var(--sand); z-index: 1; }
.collage--about { max-width: 752px; aspect-ratio: 752 / 780; }
.collage--about .c-main { left: 0; top: 0; width: 73.1%; height: 89.2%; z-index: 2; }
.collage--about .c-small { left: 55.2%; top: 10.8%; width: 39.1%; height: 54.1%; z-index: 3; }
.collage--about .c-block { left: 23.3%; top: 64.9%; width: 71%; height: 34.4%; z-index: 1; }
.reveal-img img { transform: scale(1.12); transition: transform 1.8s var(--ease); }
.reveal-img.is-in img { transform: scale(1); }

/* ---------- Steps ---------- */
.steps { background: var(--bg); padding-block: 90px 100px; }
.steps__grid { position: relative; margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 100px; max-width: 1300px; margin-inline: auto; }
.step { position: relative; }
.step__n { position: relative; z-index: 1; display: grid; place-items: center; width: 100px; height: 100px; border-radius: 50%; background: var(--gold); font-size: 40px; line-height: 1; margin-bottom: 40px; box-shadow: 0 10px 30px -14px rgba(191, 145, 81, .8); }
.step:not(:last-child)::after { content: ""; position: absolute; top: 50px; left: 100px; width: calc(100% - 100px + 100px); height: 1px; background: #b9b9b9; z-index: 0; }
.step h3 { font-size: 18px; line-height: 1.3; margin-bottom: 10px; }
.step p { font-size: 15px; line-height: 1.6; max-width: 330px; }

/* ---------- About ---------- */
.about { padding-block: 90px 80px; overflow: hidden; }
.about__grid { margin-top: 50px; display: grid; grid-template-columns: minmax(0, 616px) 1fr; gap: 45px; align-items: center; }
.about__text h3 { font-size: 20px; margin-bottom: 18px; }
.about__text p { font-size: 16px; line-height: 1.7; }
.about__text p b { font-weight: 700; }
.checks { margin: 26px 0 24px; display: grid; gap: 14px; }
.checks li { display: flex; align-items: center; gap: 12px; font-size: 16px; line-height: 1.4; }
.checks img { width: 20px; height: 20px; flex: none; }
.about__text .btn { margin-top: 30px; min-width: 264px; }

/* ---------- Form ---------- */
.form-sec { padding-block: 90px 100px; }
.form-sec__lead { text-align: center; max-width: 564px; margin: 0 auto; }
.form-sec__lead p { margin-top: 24px; font-size: 16px; line-height: 1.7; }
.form { position: relative; max-width: 637px; margin: 56px auto 0; display: grid; gap: 32px; }
.fld { position: relative; }
.fld input, .fld select, .fld textarea {
  width: 100%; display: block; height: 52px; padding: 18px 40px 6px 0; background: transparent; border: 0; border-bottom: 1px solid var(--sand);
  border-radius: 0; font-size: 16px; line-height: 1.4; outline: none; appearance: none; -webkit-appearance: none; transition: border-color .3s, box-shadow .3s;
}
.fld textarea { resize: none; min-height: 52px; overflow: hidden; padding-top: 22px; }
.fld input:focus, .fld select:focus, .fld textarea:focus { border-bottom-color: var(--accent); box-shadow: 0 1px 0 var(--accent); }
.fld > label { position: absolute; left: 0; top: 14px; font-size: 16px; line-height: 1.4; color: #222; pointer-events: none; transform-origin: left top; transition: transform .35s var(--ease), color .3s; }
.fld input:focus + label, .fld input:not(:placeholder-shown) + label, .fld textarea:focus + label, .fld textarea:not(:placeholder-shown) + label,
.fld select:focus + label, .fld.has-val label, .fld--date label { transform: translateY(-12px) scale(.78); color: var(--accent); }
.fld__ico { position: absolute; right: 2px; top: 14px; width: 24px; height: 24px; pointer-events: none; opacity: .85; }
.fld__ico--btn { pointer-events: auto; cursor: pointer; }
.fld--select .fld__ico { width: 16px; height: 9px; top: 24px; right: 4px; }
.fld input[type="date"]::-webkit-calendar-picker-indicator { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.fld input[type="date"] { color: #111; }
.fld input[type="date"]:invalid, .fld input[type="date"]:not(.has-date) { color: transparent; }
.fld input[type="date"]:focus, .fld input[type="date"].has-date { color: #111; }
.fld__err { display: block; min-height: 0; margin-top: 6px; font: 400 13px/1.3 var(--sans); color: var(--err); }
.fld.is-err input, .fld.is-err select, .fld.is-err textarea { border-bottom-color: var(--err); }
.fld.is-err label { color: var(--err); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.upload { display: flex; align-items: center; gap: 12px; font-size: 16px; padding-block: 4px; }
.upload__btn { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; }
.upload__btn img { width: 20px; height: 21px; transition: transform .4s var(--ease); }
.upload__btn:hover img { transform: rotate(-12deg) scale(1.12); }
.upload__hint { display: block; margin-top: 6px; font: 400 13px/1.3 var(--sans); color: #6b6b6b; }
.upload__n { font: 600 13px/1 var(--sans); color: var(--accent); }
.consent { display: flex; align-items: flex-start; gap: 14px; font-size: 15px; line-height: 1.5; cursor: pointer; }
.consent input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; }
.consent__box { flex: none; width: 22px; height: 22px; margin-top: 1px; border: 1px solid var(--accent); display: grid; place-items: center; transition: background .3s; }
.consent__box::after { content: ""; width: 10px; height: 6px; border-left: 2px solid #111; border-bottom: 2px solid #111; transform: rotate(-45deg) scale(0); margin-top: -2px; transition: transform .3s var(--ease); }
.consent input:checked + .consent__box { background: var(--gold); }
.consent input:checked + .consent__box::after { transform: rotate(-45deg) scale(1); }
.consent input:focus-visible + .consent__box { outline: 2px solid var(--accent); outline-offset: 3px; }
.consent a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent); }
.consent.is-err .consent__box { border-color: var(--err); }
.form__submit { display: flex; justify-content: center; margin-top: 12px; }
.form__status { text-align: center; font: 400 14px/1.4 var(--sans); color: var(--err); min-height: 1.2em; }
.form-done { display: none; text-align: center; max-width: 520px; margin: 56px auto 0; padding: 48px 32px; background: var(--bg2); border: 1px solid var(--sand); }
.form-done h3 { font-size: 32px; margin-bottom: 14px; }
.form-done p { font-size: 17px; line-height: 1.65; }
.form-sec.is-done .form { display: none; }
.form-sec.is-done .form-done { display: block; animation: rise .9s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* ---------- Tariffs ---------- */
.tariffs { padding-block: 90px 100px; }
.cards { margin-top: 50px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1300px; margin-inline: auto; align-items: stretch; }
.card { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 53px 36px 46px; background: #f5f5f5; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.card--gold { background: var(--bg2); }
.card--premium { background: #f1f1f1; }
.card:hover { transform: translateY(-8px); box-shadow: 0 30px 50px -30px rgba(80, 60, 20, .45); }
.card__pop { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); padding: 6px 18px; font: 600 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; background: var(--accent); color: #fff; }
.card h3 { font-size: 44px; line-height: 1.5; }
.card__sub { margin-top: 12px; font-size: 28px; line-height: 1.3; }
.card__price { margin-block: 38px 44px; font-size: 76px; line-height: 1.2; font-variant-numeric: lining-nums; }
.card ul { align-self: flex-start; margin: 0 auto 50px; display: grid; gap: 22px; text-align: left; }
.card li { display: flex; align-items: center; gap: 14px; font-size: 18px; line-height: 1.3; }
.card li img { width: 30px; height: 30px; flex: none; }
.card .btn { margin-top: auto; min-width: 276px; }

/* ---------- FAQ ---------- */
.faq { background: var(--bg); padding-block: 90px 100px; }
.faq__grid { margin: 70px auto 0; max-width: 1014px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 42px; }
.qa { background: #fff; padding: 36px 20px 36px 19px; min-height: 249px; box-shadow: 0 1px 0 rgba(0, 0, 0, .02); transition: box-shadow .5s, transform .5s var(--ease); }
.qa:hover { box-shadow: 0 24px 40px -28px rgba(60, 50, 30, .35); transform: translateY(-4px); }
.qa summary { list-style: none; cursor: default; font-size: 20px; line-height: 1.45; font-weight: 700; margin-bottom: 6px; }
.qa summary::-webkit-details-marker { display: none; }
.qa p { font-size: 16px; line-height: 1.7; }
.faq__cta { display: flex; justify-content: center; margin-top: 50px; }

/* ---------- Blog ---------- */
.blog { padding-block: 90px 80px; overflow: hidden; }
.blog__top { position: relative; }
.blog__nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: 12px; }
.round { width: 36px; height: 36px; border-radius: 50%; border: 1px solid #cfcfcf; display: grid; place-items: center; transition: border-color .3s, background .3s, opacity .3s; }
.round:hover:not(:disabled) { border-color: var(--accent); background: var(--bg2); }
.round:disabled { opacity: .4; cursor: default; }
.round img { width: 36px; height: 36px; }
.round { padding: 0; overflow: hidden; }
.blog__track { margin-top: 20px; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.blog__track::-webkit-scrollbar { display: none; }
.post { position: relative; display: block; height: 307px; overflow: hidden; scroll-snap-align: start; background: #ccc; color: #fff; }
.post > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post:hover > img { transform: scale(1.06); }
.post__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 16px 14px; min-height: 88px; background: rgba(60, 58, 56, .52); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background .4s; }
.post:hover .post__cap { background: rgba(40, 38, 36, .72); }
.post time { display: block; font: 400 10px/1.4 var(--sans); opacity: .75; }
.post h3 { font-size: 14px; line-height: 1.35; font-weight: 600; margin-block: 4px 6px; }
.post__more { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--sand); }
.post__more img { width: 10px; height: 11px; transition: transform .4s var(--ease); }
.post:hover .post__more img { transform: translateX(4px); }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: #fff; }
.footer__top { max-width: 1440px; margin-inline: auto; padding: 92px 70px 60px; display: grid; grid-template-columns: 217px 1fr; gap: 0; }
.footer__brand .logo { margin-bottom: 40px; }
.footer__brand .logo img { width: 165px; height: auto; }
.store { display: grid; gap: 20px; justify-items: start; }
.store img { width: 139px; height: 46px; transition: transform .4s var(--ease), filter .3s; }
.store a:hover img { transform: translateY(-2px); filter: brightness(1.12); }
.fcols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 50px 36px; justify-items: stretch; max-width: 1140px; }
.fcol { width: 100%; text-align: center; }
.fcol h4 { width: 200px; max-width: 100%; margin-inline: auto; height: 39px; display: grid; place-items: center; border: 1px solid var(--sand); font: 600 16px/1.5 var(--sans); margin-bottom: 24px; }
.fcol li a { display: block; padding-block: 0; font-size: 18px; line-height: 36px; transition: color .3s; }
.fcol li a:hover { color: var(--sand); }
.footer__bottom { border-top: 1px solid var(--sand); padding: 44px 24px 38px; text-align: center; font: 400 14px/1.55 var(--sans); color: #c9c9c9; }
.footer__bottom p + p { margin-top: 0; }
.legal { margin-top: 14px; display: flex; justify-content: center; gap: 22px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(229, 213, 179, .6); }
.legal a:hover { color: #fff; }

.totop { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 46px; height: 46px; border-radius: 50%; background: rgba(31, 29, 27, .86); border: 1px solid rgba(229, 213, 179, .6); display: grid; place-items: center; color: var(--sand);
  opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .4s, transform .5s var(--ease), background .3s; }
.totop.is-on { opacity: 1; transform: none; pointer-events: auto; }
.totop:hover { background: var(--accent); color: #fff; }
.totop svg { width: 16px; height: 16px; }

/* ---------- Mobile menu ---------- */
.mmenu { position: fixed; z-index: 99; inset: var(--header-h) 0 0 0; background: #1b1917; padding: 24px 28px 40px; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .4s, transform .5s var(--ease), visibility 0s .4s; display: none; }
.mmenu.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mmenu nav { display: grid; gap: 4px; }
.mmenu nav a { display: block; padding: 16px 0; font-size: 26px; line-height: 1.2; color: #fff; border-bottom: 1px solid rgba(229, 213, 179, .22); }
.mmenu .btn { width: 100%; margin-top: 28px; }
.mmenu__langs { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.mmenu__langs a { padding: 9px 14px; border: 1px solid rgba(229, 213, 179, .4); font: 600 13px/1 var(--sans); letter-spacing: .08em; color: #fff; }
.mmenu__langs a[aria-current="true"] { background: var(--gold); color: #111; border-color: transparent; }
body.menu-open { overflow: hidden; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity 1s ease, transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Legal page ---------- */
.legal-page { padding: calc(var(--header-h) + 70px) 24px 90px; max-width: 820px; margin-inline: auto; font-size: 17px; line-height: 1.75; }
.legal-page h1 { font-size: 40px; line-height: 1.2; margin-bottom: 24px; }
.legal-page h2 { font-size: 24px; margin: 32px 0 8px; }
.legal-page .note { background: var(--bg2); border: 1px solid var(--sand); padding: 14px 18px; font: 400 14px/1.5 var(--sans); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1280px) {
  :root { --pad: 40px; }
  .header__in { padding-inline: 40px; }
  .slide__h { font-size: 48px; }
  .cta__grid { grid-template-columns: 400px 1fr; gap: 36px; }
  .fcols { gap: 54px 30px; }
  .footer__top { padding-inline: 40px; }
  .steps__grid { gap: 60px; }
  .step:not(:last-child)::after { width: calc(100% - 100px + 60px); }
}
@media (max-width: 1100px) {
  .nav { display: none; }
  .header__tools { margin-left: auto; }
  .header__tools .btn--ghost { display: none; }
  .burger { display: grid; }
  .mmenu { display: block; }
  .h2 { font-size: 38px; }
  .slide__h { font-size: 42px; }
  .cta__grid, .about__grid { grid-template-columns: 1fr; gap: 56px; }
  .cta__text { padding: 0; }
  .collage { justify-self: center; }
  .about__text { max-width: 640px; margin-inline: auto; }
  .cards { grid-template-columns: 1fr; max-width: 560px; gap: 36px; }
  .card h3 { font-size: 38px; }
  .card__price { font-size: 64px; }
  .faq__grid { grid-template-columns: repeat(2, 1fr); }
  .blog__track { grid-auto-columns: calc((100% - 20px) / 2); }
  .footer__top { grid-template-columns: 1fr; gap: 50px; justify-items: center; }
  .footer__brand { display: grid; justify-items: center; }
  .fcols { grid-template-columns: repeat(2, 1fr); }
  .steps__grid { gap: 30px; }
  .step__n { width: 80px; height: 80px; font-size: 34px; margin-bottom: 28px; }
  .step:not(:last-child)::after { top: 40px; left: 80px; width: calc(100% - 80px + 30px); }
}
@media (max-width: 767px) {
  :root { --pad: 20px; --header-h: 62px; }
  body { font-size: 14px; }
  .header__in { padding-inline: 20px; gap: 10px; }
  .logo, .logo img { width: 120px; }
  .logo img { height: auto; }
  .section, .form-sec, .tariffs, .faq, .adv, .cta, .about, .blog, .steps { padding-block: 50px; }
  .h2 { font-size: 24px; line-height: 1.3; }
  .hero { height: clamp(520px, 86svh, 640px); min-height: 500px; }
  .slide__inner { padding: calc(var(--header-h) + 10px) 22px 84px; }
  .slide__rule { margin-bottom: 18px; width: 54px; }
  .slide__bg img { object-position: var(--pos-m, var(--pos, 50% 40%)); }
  .slide__h { font-size: 34px; line-height: 1.12; }
  .slide__h .ln, .slide__p .ln { overflow: visible; margin: 0; padding: 0; text-wrap: balance; }
  .slide.is-active .slide__h .ln > span { animation: lineFade 1.1s ease calc(.55s + var(--i, 0) * .14s) backwards; }
  .slide.is-active .slide__p .ln > span { animation: lineFade 1s ease 1.0s backwards; }
  .slide__p { font-size: 12px; line-height: 1.6; margin-top: 16px; max-width: 300px; }
  .slide__btn { margin-top: 26px; }
  .btn { --h: 48px; padding: 0 22px; }
  .hero__ui { bottom: 22px; gap: 14px; }
  .hero__count, .hero__arrows { display: none; }
  .bar { width: 30px; }
  .bars { gap: 6px; }
  .stats { padding: 50px 0 40px; }
  .stats__list { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 20px; padding-inline: 38px; }
  .stat__n { font-size: 32px; }
  .stat__l { font-size: 14px; }
  .adv__grid { grid-template-columns: 1fr 1fr; gap: 36px 20px; margin-top: 40px; }
  .adv__item { padding-inline: 0; }
  .adv__item img { width: 40px; height: 40px; margin-bottom: 14px; }
  .adv__item h3 { font-size: 14px; margin-bottom: 8px; }
  .adv__item p { font-size: 12px; line-height: 1.55; }
  .cta__grid { margin-top: 30px; gap: 40px; }
  .cta__text h3 { font-size: 20px; margin-bottom: 14px; }
  .cta__text p { font-size: 13px; line-height: 1.6; margin-bottom: 26px; }
  .collage { margin-inline: calc(var(--pad) * -1); width: calc(100% + var(--pad) * 2); max-width: none; }
  .steps__grid { grid-template-columns: 1fr; gap: 0; margin-top: 40px; }
  .step { display: grid; grid-template-columns: 80px 1fr; column-gap: 40px; padding-bottom: 48px; align-items: start; }
  .step:last-child { padding-bottom: 0; }
  .step__n { margin: 0; width: 80px; height: 80px; font-size: 32px; grid-row: span 2; }
  .step:not(:last-child)::after { top: 80px; left: 40px; width: 1px; height: calc(100% - 80px); }
  .step h3 { font-size: 14px; align-self: end; margin-bottom: 8px; }
  .step p { font-size: 12px; line-height: 1.6; }
  .about__grid { margin-top: 30px; gap: 40px; }
  .about__text h3 { font-size: 14px; margin-bottom: 14px; }
  .about__text p, .checks li { font-size: 12px; line-height: 1.7; }
  .checks img { width: 16px; height: 16px; }
  .collage--about { margin-inline: calc(var(--pad) * -1); width: calc(100% + var(--pad) * 2); }
  .about__text .btn { width: 100%; min-width: 0; }
  .form-sec__lead p { font-size: 12px; margin-top: 16px; }
  .form { margin-top: 36px; gap: 26px; }
  .fld input, .fld select, .fld textarea, .fld label, .consent, .upload { font-size: 14px; }
  .btn--wide { width: 100%; min-width: 0; }
  .cards { margin-top: 36px; gap: 28px; }
  .card { padding: 44px 20px 40px; }
  .card h3 { font-size: 30px; }
  .card__sub { font-size: 22px; }
  .card__price { font-size: 56px; margin-block: 26px 30px; }
  .card ul { gap: 16px; margin-bottom: 40px; }
  .card li { font-size: 16px; }
  .card .btn { min-width: 0; width: 100%; }
  .faq__grid { grid-template-columns: 1fr; margin-top: 40px; gap: 12px; }
  .qa { min-height: 0; padding: 0; }
  .qa summary { position: relative; cursor: pointer; font-size: 16px; padding: 22px 52px 22px 20px; margin: 0; }
  .qa summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font: 300 28px/1 var(--sans); color: var(--accent); transition: transform .4s var(--ease); }
  .qa[open] summary::after { transform: translateY(-50%) rotate(45deg); }
  .qa p { padding: 0 20px 24px; font-size: 14px; }
  .faq__cta { margin-top: 36px; }
  .blog__track { grid-auto-columns: 86%; gap: 14px; margin-right: calc(var(--pad) * -1); padding-right: var(--pad); }
  .blog__nav { display: none; }
  .post { height: 232px; }
  .footer__top { padding: 50px 20px 40px; gap: 36px; }
  .fcols { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .fcol { width: 100%; max-width: 150px; }
  .fcol h4 { font-size: 14px; margin-bottom: 18px; }
  .fcol li a { font-size: 14px; line-height: 28px; }
  .totop { right: 14px; bottom: 14px; }
}
@media (max-width: 380px) {
  .slide__h { font-size: 30px; }
  .stats__list { padding-inline: 28px; }
}
@media (hover: none) { .card:hover, .qa:hover { transform: none; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
  .slide, .slide.is-active { transition: opacity .6s linear, visibility 0s; }
  .slide__bg img { transform: none !important; }
  .slide.is-active .ln > span, .slide.is-active .slide__btn, .slide.is-active .slide__rule { animation: none !important; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .bar.is-active i { animation-duration: var(--dur, 8s) !important; }
}
