@font-face { font-family: "Onest"; src: url("/assets/fonts/onest.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
/* Vertex Media — Black & Silver. Токены: см. DESIGN.md */
:root {
  --ink: #111216;
  --ink-2: #1a1c22;
  --ink-3: #24262d;
  --line-dark: #2c2f36;
  --silver: #c6cdd6;
  --silver-2: #8e96a1;
  --cream: #f8f7f3;
  --paper: #ffffff;
  --line: #dedddb;
  --muted: #5e646c;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --pad: 20px;
  --sec: 96px;
  --r: 8px;
  --font: "Onest", "Helvetica Neue", Arial, system-ui, sans-serif;
}
@media (min-width: 768px) { :root { --pad: 40px; --sec: 112px; } }
@media (min-width: 1200px) { :root { --pad: 64px; --sec: 136px; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--ink); min-width: 320px; -webkit-font-smoothing: antialiased; font-feature-settings: "tnum" 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { margin: 0; font-weight: 800; }
p { margin: 0; }
ol, ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--silver); outline-offset: 3px; border-radius: 2px; }
.sec--light :focus-visible, .pick :focus-visible { outline-color: var(--ink); }
svg { flex: none; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--cream); color: var(--ink); padding: 10px 16px; border-radius: 4px; font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(1320px + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; color: var(--cream); }
.logo__img { display: block; height: 38px; width: auto; }
.logo--sm .logo__img { height: 32px; }
@media (min-width: 1240px) { .logo__img { height: 42px; } }
.logo__v { width: 38px; height: 32px; color: var(--silver); }
.logo__type { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-weight: 900; font-size: 30px; letter-spacing: -.055em; }
.logo__name i { font-style: normal; color: var(--silver); }
.logo__media { align-self: flex-end; font-size: 8.5px; font-weight: 700; letter-spacing: .42em; margin: 3px -.42em 0 0; }
.logo--sm .logo__v { width: 30px; height: 25px; }
.logo--sm .logo__name { font-size: 24px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 22px; border-radius: 4px; border: 1px solid transparent; font-weight: 600; font-size: 15px; line-height: 1.2; white-space: nowrap; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease); }
.btn svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover > svg:last-child { transform: translate(2px, -2px); }
.btn:active { transform: translateY(1px); }
.btn--cream { background: var(--cream); color: var(--ink); }
.btn--cream:hover { background: #fff; }
.btn--ink { background: var(--ink); color: var(--cream); }
.btn--ink:hover { background: #26282f; }
.btn--line { border-color: rgba(198, 205, 214, .45); color: var(--cream); }
.btn--line:hover { border-color: var(--cream); background: rgba(255, 255, 255, .06); }
.btn--line-dark { border-color: #b9bcc1; color: var(--ink); }
.btn--line-dark:hover { border-color: var(--ink); }
.btn--ghost-light { color: var(--cream); border-color: rgba(248, 247, 243, .3); background: rgba(17, 18, 22, .25); backdrop-filter: blur(6px); }
.btn--ghost-light:hover { border-color: var(--cream); }
.btn--ghost-light svg, .btn--line svg, .btn--line-dark svg { width: 20px; height: 20px; }
.btn--wide { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.link-btn { background: none; border: 0; padding: 4px 0; font-weight: 600; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #b9bcc1; }
.link-btn:hover { text-decoration-color: currentColor; }

/* ---------- Eyebrow / headings ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.eyebrow span { width: 28px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--silver-2); }
h2 { font-size: clamp(36px, 4.8vw, 68px); line-height: 1.02; letter-spacing: -.042em; margin-top: 18px; text-wrap: balance; }
h2 em, .hero__title em { font-style: normal; color: var(--silver); }
.sec--light h2 em { color: #7d848e; }
.head { display: grid; gap: 20px; margin-bottom: 48px; }
.head__note { max-width: 440px; color: var(--muted); font-size: 16px; }
.sec--ink .head__note { color: var(--silver-2); }
@media (min-width: 900px) { .head { grid-template-columns: 1fr auto; align-items: end; gap: 48px; margin-bottom: 64px; } .head__note { padding-bottom: 8px; } }

.sec { padding: var(--sec) 0; }
.sec--light { background: var(--cream); color: var(--ink); }
.sec--ink { background: var(--ink); color: var(--cream); }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(17, 18, 22, .92); backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid rgba(255, 255, 255, .07); color: var(--cream); }
.header__in { display: flex; align-items: center; gap: 24px; height: 72px; }
.nav { display: none; }
.header__cta { display: none; min-height: 44px; font-size: 14px; }
.burger { margin-left: auto; width: 44px; height: 44px; display: grid; place-content: center; gap: 7px; background: none; border: 0; padding: 0; }
.burger span { display: block; width: 22px; height: 1.5px; background: var(--cream); transition: transform .25s var(--ease); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
.nav.is-open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - 72px); height: calc(100dvh - 72px); background: var(--ink); padding: 24px var(--pad) 40px; gap: 0; overflow-y: auto; }
.nav.is-open a { font-size: 26px; font-weight: 700; letter-spacing: -.03em; padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
.nav__wa { display: inline-flex; align-items: center; gap: 10px; }
.nav__wa svg { width: 22px; height: 22px; color: var(--silver); }
body.menu-open { overflow: hidden; }
@media (min-width: 1240px) {
  .header__in { height: 80px; gap: 32px; }
  .nav, .nav.is-open { display: flex; position: static; flex-direction: row; gap: 28px; margin-left: auto; padding: 0; background: none; }
  .nav a, .nav.is-open a { white-space: nowrap; font-size: 14px; font-weight: 500; letter-spacing: 0; padding: 6px 0; border: 0; color: #c9ced5; transition: color .2s; }
  .nav a:hover { color: #fff; }
  .nav__wa svg { width: 18px; height: 18px; }
  .header__cta { display: inline-flex; }
  .burger { display: none; }
  html { scroll-padding-top: 92px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; color: var(--cream); background: #151821; overflow: hidden; min-height: min(860px, calc(100svh - 72px)); display: flex; align-items: flex-end; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 68% 50%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(17,18,22,.55) 0%, rgba(17,18,22,.2) 30%, rgba(17,18,22,.75) 62%, rgba(17,18,22,.97) 100%); }
.hero__in { padding-top: 220px; padding-bottom: 72px; }
@media (max-width: 767px) {
  .hero__bg { bottom: auto; height: 340px; }
  .hero__bg img { object-position: 78% 40%; }
  .hero::before { background: linear-gradient(180deg, rgba(17,18,22,.2) 0px, rgba(17,18,22,.35) 160px, rgba(17,18,22,.92) 300px, var(--ink) 340px); }
  .hero { background: var(--ink); }
}
.eyebrow--light span { background: var(--silver-2); }
.hero__title { font-size: clamp(46px, min(7vw, 11.5vh), 104px); line-height: .98; letter-spacing: -.05em; margin: 20px 0 24px; font-weight: 800; }
.hero__lead { max-width: 520px; font-size: 17px; color: #d3d7dd; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__actions .btn { flex: 1 1 auto; }
.hero__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(32px, 5vh, 48px); padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); max-width: 620px; }
.hero__facts b { display: block; font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.hero__facts span { display: block; font-size: 13px; color: #aab1ba; margin-top: 8px; line-height: 1.35; }
@media (min-width: 768px) {
  .hero { align-items: center; }
  .hero::before { background: linear-gradient(90deg, rgba(17,18,22,.96) 0%, rgba(17,18,22,.86) 30%, rgba(17,18,22,.35) 60%, rgba(17,18,22,.05) 100%), linear-gradient(0deg, rgba(17,18,22,.7) 0%, transparent 35%); }
  .hero__in { padding-top: 64px; padding-bottom: 104px; }
  .hero__actions .btn { flex: 0 0 auto; }
  .hero__lead { font-size: 18px; }
}

/* ---------- Quick pick ---------- */
.pick-wrap { background: var(--cream); position: relative; z-index: 2; }
.pick { display: grid; gap: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 8px; box-shadow: 0 30px 60px -30px rgba(17, 18, 22, .45); transform: translateY(-36px); margin-bottom: -36px; max-width: calc(100% - var(--pad) * 2); }
.pick__f { display: block; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.pick__f span { display: block; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pick__f select { width: 100%; border: 0; background: transparent; font-weight: 600; font-size: 16px; padding: 4px 0; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 8 5 5 5-5' fill='none' stroke='%23111216' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right center; background-size: 18px; padding-right: 24px; cursor: pointer; }
.pick .btn { margin-top: 8px; }
@media (min-width: 768px) {
  .pick { grid-template-columns: 1fr 1fr auto; align-items: center; padding: 10px; transform: translateY(-50%); margin-bottom: -44px; max-width: calc(1320px); width: calc(100% - var(--pad) * 2); padding-left: 10px; }
  .pick__f { border-bottom: 0; border-right: 1px solid var(--line); padding: 8px 22px; }
  .pick .btn { margin: 0 0 0 10px; min-height: 60px; }
}
@media (min-width: 768px) { .pick-wrap .pick { margin-left: auto; margin-right: auto; } }

/* ---------- Formats ---------- */
.formats { display: grid; gap: 16px; }
.fcard { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.fcard:hover { box-shadow: 0 24px 48px -28px rgba(17, 18, 22, .4); transform: translateY(-3px); }
.fcard__img { aspect-ratio: 3 / 2; overflow: hidden; background: #d9dadc; position: relative; }
.fcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.fcard:hover .fcard__img img { transform: scale(1.03); }
.fcard__num { position: absolute; left: 16px; top: 14px; font-size: 12px; font-weight: 600; letter-spacing: .12em; color: #fff; background: rgba(17, 18, 22, .55); backdrop-filter: blur(6px); padding: 5px 9px; border-radius: 3px; font-variant-numeric: tabular-nums; }
.fcard__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 24px; flex: 1; }
.fcard__tag { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.fcard h3 { font-size: 22px; letter-spacing: -.025em; line-height: 1.2; }
.fcard p { color: var(--muted); font-size: 15px; }
.fcard__btn { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 14px 0 0; background: none; border: 0; font-weight: 600; font-size: 15px; border-top: 1px solid transparent; }
.fcard__btn svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.fcard__btn:hover svg { transform: translate(2px, -2px); }
.fcard__btn span { text-decoration: underline; text-decoration-color: #c4c6ca; text-underline-offset: 4px; }
.fcard__btn:hover span { text-decoration-color: currentColor; }
@media (min-width: 640px) { .formats { grid-template-columns: repeat(2, 1fr); } .fcard:first-child { grid-column: span 2; } }
@media (min-width: 1024px) {
  .formats { grid-template-columns: repeat(6, 1fr); gap: 20px; }
  .fcard { grid-column: span 2; }
  .fcard:first-child, .fcard:nth-child(2) { grid-column: span 3; }
  .fcard:first-child .fcard__img, .fcard:nth-child(2) .fcard__img { aspect-ratio: 16 / 9; }
}

/* ---------- Why ---------- */
.why__list { display: grid; gap: 0; border-top: 1px solid var(--line-dark); }
.why__list li { padding: 28px 0; border-bottom: 1px solid var(--line-dark); display: grid; gap: 10px; }
.why__n { font-size: 13px; font-weight: 600; color: var(--silver-2); letter-spacing: .1em; font-variant-numeric: tabular-nums; }
.why__list h3 { font-size: 22px; letter-spacing: -.025em; }
.why__list p { color: #aeb5bf; max-width: 46ch; }
@media (min-width: 768px) { .why__list { grid-template-columns: repeat(2, 1fr); column-gap: 48px; } }
@media (min-width: 1200px) { .why__list { grid-template-columns: repeat(4, 1fr); column-gap: 32px; border-top: 0; } .why__list li { border-bottom: 0; border-top: 1px solid var(--silver-2); padding-top: 24px; align-content: start; } }

/* ---------- Geo ---------- */
.geo__in { display: grid; gap: 40px; }
.geo__lead { margin-top: 20px; color: var(--muted); max-width: 420px; font-size: 17px; }
.geo__big { display: none; }
.geo__panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.geo__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; font-weight: 600; font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid #cfd0d2; background: transparent; font-weight: 500; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.chip svg { width: 16px; height: 16px; display: none; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.chip[aria-pressed="true"] svg { display: block; }
.geo__go { width: 100%; margin-top: 20px; }
@media (min-width: 1024px) {
  .geo__in { grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
  .geo__copy { position: relative; display: flex; flex-direction: column; }
  .geo__panel { padding: 32px; }
  .geo__go { width: auto; }
}

/* ---------- Process ---------- */
.process { border-top: 1px solid var(--line-dark); }
.steps { display: grid; gap: 12px; counter-reset: s; }
.steps li { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--r); padding: 24px; display: grid; gap: 10px; align-content: start; }
.steps span { font-size: 13px; font-weight: 600; color: var(--silver); letter-spacing: .1em; font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 22px; letter-spacing: -.025em; }
.steps p { color: #aeb5bf; font-size: 15px; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 16px; } .steps li { min-height: 240px; padding: 28px; } .steps p { margin-top: auto; } }

/* ---------- Clients ---------- */
.clients { border-top: 1px solid var(--line-dark); }
.logos { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.logos li { border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 16% 14%; }
@media (min-width: 900px) { .logos li { aspect-ratio: 3 / 2; } }
.logo-mark { display: block; width: 100%; height: 100%; background: var(--silver); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; opacity: .82; transition: opacity .25s var(--ease), background-color .25s var(--ease); }
.logos li:hover .logo-mark { opacity: 1; background: #fff; }
@media (min-width: 900px) { .logos { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1200px) { .logos { grid-template-columns: repeat(6, 1fr); } .logos li { padding: 16% 18%; } }

/* ---------- FAQ ---------- */
.faq__in { display: grid; gap: 40px; }
.faq__note { margin: 20px 0 28px; color: var(--muted); max-width: 360px; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 22px 0; cursor: pointer; font-size: 18px; font-weight: 600; letter-spacing: -.015em; line-height: 1.35; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary svg { width: 22px; height: 22px; transition: transform .25s var(--ease); }
.faq__item[open] summary svg { transform: rotate(45deg); }
.faq__item p { padding: 0 48px 24px 0; color: var(--muted); max-width: 64ch; }
@media (min-width: 1024px) { .faq__in { grid-template-columns: 5fr 7fr; gap: 64px; } .faq__item summary { font-size: 20px; padding: 26px 0; } }

/* ---------- Contact ---------- */
.contact__in { display: grid; gap: 48px; }
.contact__lead { color: #aeb5bf; margin-top: 20px; max-width: 440px; font-size: 17px; }
.contact__cards { display: grid; gap: 12px; margin-top: 32px; max-width: 460px; }
.ccard { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid var(--line-dark); border-radius: var(--r); background: var(--ink-2); transition: border-color .2s var(--ease), background-color .2s var(--ease); }
.ccard:hover { border-color: var(--silver-2); background: var(--ink-3); }
.ccard__i { width: 26px; height: 26px; color: var(--silver); }
.ccard span { display: grid; flex: 1; }
.ccard small { font-size: 13px; color: var(--silver-2); }
.ccard b { font-size: 19px; font-weight: 700; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.ccard__a { width: 20px; height: 20px; color: var(--silver-2); }
.form-card { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 12px; padding: 24px 20px; }
.form-card__title { font-size: 24px; letter-spacing: -.03em; margin-bottom: 20px; }
#leadForm { display: grid; gap: 16px; }
.row { display: grid; gap: 16px; }
.fld { display: grid; gap: 8px; }
.fld > span { font-size: 14px; font-weight: 500; color: #c9ced5; }
.fld > span i { font-style: normal; color: var(--silver-2); }
.fld input, .fld select, .fld textarea { width: 100%; min-height: 50px; border-radius: 6px; border: 1px solid #3a3d45; background: var(--ink); color: var(--cream); padding: 12px 14px; font-size: 16px; transition: border-color .2s var(--ease); }
.fld textarea { resize: vertical; min-height: 96px; }
.fld select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 8 5 5 5-5' fill='none' stroke='%23c6cdd6' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 40px; }
.fld input::placeholder, .fld textarea::placeholder { color: #737a84; }
.fld input:hover, .fld select:hover, .fld textarea:hover { border-color: #565a63; }
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: var(--silver); outline: none; box-shadow: 0 0 0 3px rgba(198, 205, 214, .18); }
.fld input[aria-invalid="true"] { border-color: #e0868a; }
.fld__err { font-style: normal; font-size: 13px; color: #f0a5a8; min-height: 0; }
.fld__err:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: #aeb5bf; line-height: 1.5; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--silver); flex: none; }
.consent a { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }
.form-status { font-size: 14px; color: #aeb5bf; }
.form-status:empty { display: none; }
.form-status.is-error { color: #f0a5a8; }
.form-status a { color: var(--cream); text-decoration: underline; }
.form-done { display: grid; gap: 14px; justify-items: start; padding: 24px 0; }
.form-done > svg { width: 44px; height: 44px; color: var(--ink); background: var(--silver); border-radius: 50%; padding: 10px; }
.form-done h3 { font-size: 26px; letter-spacing: -.03em; }
.form-done p { color: #aeb5bf; max-width: 42ch; margin-bottom: 8px; }
.form-done:focus { outline: none; }
@media (min-width: 640px) { .row { grid-template-columns: 1fr 1fr; } .form-card { padding: 32px; } }
@media (min-width: 1024px) { .contact__in { grid-template-columns: 5fr 6fr; gap: 72px; align-items: start; } .form-card { padding: 40px; } }

/* ---------- Footer ---------- */
.footer { background: #0c0d10; color: var(--silver-2); padding: 56px 0 40px; border-top: 1px solid var(--line-dark); }
.footer__in { display: grid; gap: 28px; }
.footer__nav, .footer__contact { display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 15px; }
.footer__nav a:hover, .footer__contact a:hover, .footer__legal a:hover { color: var(--cream); }
.footer__contact a { color: var(--cream); font-weight: 600; }
.footer__legal { font-size: 13px; padding-top: 24px; border-top: 1px solid var(--line-dark); }
.footer__legal a { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 1024px) { .footer__in { grid-template-columns: auto 1fr auto; align-items: center; gap: 48px; } .footer__nav { justify-content: center; } .footer__legal { grid-column: 1 / -1; } }

/* ---------- WhatsApp float ---------- */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--ink); box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .5); transition: transform .25s var(--ease), opacity .25s var(--ease); }
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { transform: scale(1.06); }
.wa-float.is-hidden { opacity: 0; pointer-events: none; transform: translateY(12px); }
@media (min-width: 1024px) { .wa-float { right: 28px; bottom: 28px; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.hero__in > * { animation: rise .8s var(--ease) both; }
.hero__in > :nth-child(2) { animation-delay: .06s; }
.hero__in > :nth-child(3) { animation-delay: .14s; }
.hero__in > :nth-child(4) { animation-delay: .2s; }
.hero__in > :nth-child(5) { animation-delay: .26s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

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

/* Планшет: текст hero ложится на светлый экран — усиливаем затемнение */
@media (min-width: 768px) and (max-width: 1199px) {
  .hero::before { background: linear-gradient(90deg, rgba(17,18,22,.97) 0%, rgba(17,18,22,.9) 45%, rgba(17,18,22,.55) 75%, rgba(17,18,22,.2) 100%), linear-gradient(0deg, rgba(17,18,22,.75) 0%, transparent 40%); }
  .hero__bg img { object-position: 75% 50%; }
}


/* ---------- Страницы городов ---------- */
.city-hero { background: var(--ink); color: var(--cream); padding: 40px 0 88px; border-bottom: 1px solid var(--line-dark); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--silver-2); margin-bottom: 40px; }
.crumbs a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #4a4e57; }
.crumbs a:hover { color: var(--cream); }
.city-hero__title { font-size: clamp(40px, 6.4vw, 92px); line-height: 1; letter-spacing: -.045em; margin: 18px 0 24px; text-wrap: balance; }
.city-hero__title em { font-style: normal; color: var(--silver); }
.city-hero__lead { max-width: 620px; color: #c9ced5; font-size: 18px; }
.city__cols { display: grid; gap: 32px; }
.city__spots { display: grid; border-top: 1px solid var(--line-dark); }
.city__spots li { padding: 18px 0 18px 32px; border-bottom: 1px solid var(--line-dark); position: relative; color: #d3d7dd; }
.city__spots li::before { content: ""; position: absolute; left: 0; top: 29px; width: 16px; height: 1px; background: var(--silver); }
.city__tech { margin-top: 24px; color: #aeb5bf; }
.city__small, .city__note { margin-top: 12px; font-size: 14px; color: var(--silver-2); }
.sec--light .city__note { color: var(--muted); margin-top: 24px; }
.formats--city .fcard:first-child { grid-column: auto; }
@media (min-width: 640px) { .formats--city { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .city-hero { padding: 48px 0 120px; }
  .city__cols { grid-template-columns: 5fr 7fr; gap: 64px; }
  .formats--city { grid-template-columns: repeat(3, 1fr); }
  .formats--city .fcard, .formats--city .fcard:first-child, .formats--city .fcard:nth-child(2) { grid-column: auto; }
  .formats--city .fcard__img, .formats--city .fcard:first-child .fcard__img, .formats--city .fcard:nth-child(2) .fcard__img { aspect-ratio: 3 / 2; }
}
.chips--dark { margin-top: 32px; }
.chips--dark .chip { border-color: #3a3d45; color: var(--cream); }
.chips--dark .chip:hover { border-color: var(--silver); }
.geo__links { margin-top: 18px; font-size: 14px; color: var(--muted); }
.geo__links a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.footer__cities { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; padding-top: 24px; border-top: 1px solid var(--line-dark); }
.footer__cities span { width: 100%; color: var(--cream); font-weight: 600; }
.footer__cities a:hover { color: var(--cream); }
@media (min-width: 1024px) { .footer__cities { grid-column: 1 / -1; } }
.fcard--req .fcard__img img { filter: grayscale(.35) brightness(.92); }
.formats--city .fcard__img .fcard__num { z-index: 1; letter-spacing: .04em; }
@media (min-width: 1024px) { .formats--city { grid-template-columns: repeat(6, 1fr); } .formats--city .fcard, .formats--city .fcard:first-child, .formats--city .fcard:nth-child(2) { grid-column: span 2; } .formats--city .fcard:nth-child(4), .formats--city .fcard:nth-child(5) { grid-column: span 3; } }
