/* Сайт Альбины — оформление публичной части.
   Вёрстка «сначала телефон»: базовые правила — мобильные, ниже
   раскладки для планшета (640px) и компьютера (1024px). */

/* --- Шрифт (лежит на нашем сервере, чужие не дёргаем) --- */
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal; font-weight: 300 600; font-display: swap;
  src: url('/static/fonts/source-serif-4-cyrillic.woff2') format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+2116;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal; font-weight: 300 600; font-display: swap;
  src: url('/static/fonts/source-serif-4-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+2000-206F,U+20BD,U+2190-2193,U+2212,U+2713;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: italic; font-weight: 300 600; font-display: swap;
  src: url('/static/fonts/source-serif-4-cyrillic-italic.woff2') format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+2116;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: italic; font-weight: 300 600; font-display: swap;
  src: url('/static/fonts/source-serif-4-latin-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+2000-206F,U+20BD,U+2190-2193,U+2212,U+2713;
}

:root {
  --ink: #f4efe7;
  --ink-70: rgba(244, 239, 231, 0.78);
  --ink-55: rgba(244, 239, 231, 0.58);
  --ground: #12140f;
  --deep: #0c0d0a;
  --gold: #c9a86a;
  --gold-lit: #e0c48c;
  --gold-dim: #a98a51;
  --hair: rgba(244, 239, 231, 0.16);
  --photo-tone: saturate(0.9) contrast(1.05) sepia(0.12);
  --pad: 22px;
  --col: 430px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
/* Плавную прокрутку включаем только после загрузки: иначе при заходе по
   ссылке с якорем страница на глазах уезжает вниз — выглядит как поломка. */
html.ready { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html, html.ready { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--deep);
  color: var(--ink);
  font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-lit); }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 3px;
}

img { max-width: 100%; display: block; }

.shell { width: 100%; max-width: var(--col); margin: 0 auto; background: var(--ground); position: relative; }
.wrap { padding-left: var(--pad); padding-right: var(--pad); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--gold); color: var(--ground); padding: 12px 18px;
}
.skip:focus { left: 8px; top: 8px; }

/* --- Верхняя панель: только планшет и компьютер --- */
.topbar { display: none; }

/* --- Обложка --- */
.hero {
  position: relative;
  min-height: 660px;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 22px var(--pad) 34px;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: 58% center;
  filter: var(--photo-tone);
  z-index: 0;
}
.hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,12,9,.72) 0%, rgba(10,12,9,.15) 32%,
                              rgba(10,12,9,.55) 66%, rgba(18,20,15,.98) 100%);
}
/* :not() обязателен — иначе это правило перебивает absolute у фонового слоя */
.hero > *:not(.hero__bg) { position: relative; z-index: 1; }

.hero__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.brand { font-size: 12px; font-weight: 300; letter-spacing: .3em; color: rgba(244,239,231,.85); }
.hero__tagline {
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-55); text-align: right;
}

.hero__body { display: flex; flex-direction: column; gap: 20px; }
.rule { width: 46px; height: 1px; background: var(--gold); border: 0; margin: 0; }

.hero h1 {
  margin: 0; font-weight: 300; font-size: 24px; line-height: 1.15;
  letter-spacing: -.01em; text-wrap: pretty;
}
.hero h1 .big { display: block; font-size: 52px; line-height: 1; text-transform: uppercase; letter-spacing: .01em; }
.hero h1 .small { display: block; text-transform: uppercase; letter-spacing: .06em; color: rgba(244,239,231,.82); }
.hero h1 .ital { display: block; margin-top: 6px; font-size: 52px; line-height: 1; font-style: italic; }
.hero__text { margin: 0; max-width: 300px; font-size: 16px; line-height: 1.6; color: var(--ink-70); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 32px;
  font-family: inherit; font-size: 14px; font-weight: 300;
  letter-spacing: .18em; text-transform: uppercase;
  border-radius: 2px; border: 0; cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.btn--gold { color: #12140f; background: var(--gold); }
.btn--gold:hover { background: var(--gold-lit); color: #12140f; }
.btn--gold:active { background: var(--gold-dim); }
.btn--ghost { color: var(--ink); border: 1px solid rgba(244,239,231,.35); background: none; }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-lit); }
.btn--wide { width: 100%; }
.hero .btn { align-self: flex-start; }

/* --- Бегущая строка --- */
.ticker {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 10px 14px;
  padding: 16px var(--pad);
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-55);
  border-top: 1px solid rgba(244,239,231,.14);
  border-bottom: 1px solid rgba(244,239,231,.14);
}
.ticker .dot { color: var(--gold); }

/* --- Кто я --- */
.about { padding: 56px var(--pad) 48px; display: flex; flex-direction: column; gap: 30px; }
.about__row { display: flex; gap: 18px; align-items: flex-start; }
.portrait {
  flex: 0 0 138px; height: 196px; position: relative; overflow: hidden;
  --feather: radial-gradient(62% 50% at 50% 28%, #000 34%, transparent 80%),
             radial-gradient(58% 40% at 58% 56%, #000 26%, transparent 82%),
             radial-gradient(50% 36% at 38% 72%, #000 18%, transparent 84%),
             radial-gradient(40% 26% at 62% 84%, #000 10%, transparent 86%);
  mask-image: var(--feather); -webkit-mask-image: var(--feather);
}
.portrait__blur, .portrait__face {
  position: absolute; background-size: cover; background-position: 50% 26%;
}
.portrait__blur { inset: -20%; filter: saturate(.9) brightness(1.02) blur(14px); opacity: .85; }
.portrait__face {
  inset: 0; filter: saturate(1.08) contrast(1.02) brightness(1.08) sepia(.05);
  --soft: radial-gradient(92% 96% at 50% 46%, #000 72%, rgba(0,0,0,.55) 90%, transparent 100%);
  mask-image: var(--soft); -webkit-mask-image: var(--soft);
}
.about__text { display: flex; flex-direction: column; gap: 12px; padding-top: 4px; min-width: 0; }
.eyebrow { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.about__text p { margin: 0; font-size: 16px; line-height: 1.62; color: var(--ink-70); }
.about__text .lead { color: rgba(244,239,231,.9); }
.about__edu {
  font-size: 14px; line-height: 1.55; color: var(--ink-55);
  padding-left: 12px; border-left: 1px solid rgba(201,168,106,.45);
}
.quote { margin: 0; font-style: italic; font-size: 22px; line-height: 1.4; color: var(--ink); text-wrap: pretty; }

.steps { display: flex; justify-content: center; padding: 14px 0 4px; }
.steps__row { display: flex; }
.step {
  width: 112px; height: 150px; padding: 0 14px;
  border: 1px solid rgba(244,239,231,.28); border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; text-align: center;
}
.step + .step { margin-left: -22px; }
.step__n { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.step__t { font-size: 13px; line-height: 1.3; }

/* --- Тарифы --- */
.tariffs { padding: 8px var(--pad) 56px; display: flex; flex-direction: column; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 20px; }
.sec-head h2 { margin: 0; font-weight: 300; font-size: 32px; letter-spacing: .02em; text-transform: uppercase; }
.sec-head__side { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-55); }

.tariff {
  display: flex; flex-direction: column; gap: 10px;
  padding: 20px 0; margin: 0;
  border-top: 1px solid var(--hair);
}
.tariffs .tariff:last-of-type { border-bottom: 1px solid var(--hair); }
.tariff--hot { background-image: linear-gradient(90deg, rgba(201,168,106,.09), rgba(201,168,106,0)); }

.tariff__summary {
  display: flex; flex-direction: column; gap: 10px;
  cursor: pointer; list-style: none;
}
.tariff__summary::-webkit-details-marker { display: none; }
.tariff__summary::marker { content: ''; }
.tariff__head { display: flex; align-items: baseline; gap: 12px; width: 100%; }
.tariff__n { font-size: 11px; letter-spacing: .14em; color: var(--gold); }
.tariff__name { font-size: 21px; font-style: italic; }
.tariff__price { margin-left: auto; font-size: 22px; letter-spacing: .01em; white-space: nowrap; }
.tariff__sign { width: 16px; text-align: center; font-size: 16px; color: var(--gold); flex: 0 0 16px; }
.tariff__sign::after { content: '+'; }
.tariff[open] .tariff__sign::after { content: '−'; }
.tariff__short { font-size: 15px; line-height: 1.55; color: rgba(244,239,231,.7); }
.tariff__badge { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }

.tariff__more {
  display: none; flex-direction: column; gap: 10px; margin-top: 2px;
  padding-left: 14px; border-left: 1px solid rgba(201,168,106,.4);
}
.tariff[open] .tariff__more { display: flex; }
.tariff__more p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-70); }
.tariff__pick {
  align-self: flex-start; min-height: 44px; padding: 0 20px;
  font-size: 12px; letter-spacing: .14em;
}

/* --- Разделитель --- */
.divider { height: 300px; background-size: cover; background-position: center; filter: var(--photo-tone); position: relative; }
.divider::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18,20,15,.85), rgba(18,20,15,.35) 45%, rgba(18,20,15,.9));
}

/* --- Отзывы --- */
.reviews { padding: 52px 0 56px; display: flex; flex-direction: column; gap: 18px; }
.reviews__head { padding: 0 var(--pad); display: flex; flex-direction: column; gap: 8px; }
.reviews__head h2 { margin: 0; font-weight: 300; font-size: 32px; letter-spacing: .02em; text-transform: uppercase; }
.reviews__sub { margin: 0; font-size: 14px; letter-spacing: .04em; color: var(--ink-55); }

.rail {
  display: flex; align-items: stretch;
  /* safe center: когда отзывов мало — по центру, когда много — обычная лента
     без обрезания первого элемента */
  justify-content: safe center;
  overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail__item { flex: 0 0 100%; scroll-snap-align: start; padding: 0 var(--pad); }
.rev {
  padding: 16px; height: 100%;
  border-top: 1px solid rgba(201,168,106,.34);
  border-bottom: 1px solid rgba(201,168,106,.16);
  display: flex; flex-direction: column; gap: 10px;
}
.rev__shot {
  position: relative; height: 236px;
  display: flex; align-items: center; justify-content: center;
}
.rev__shot img { max-height: 100%; width: auto; object-fit: contain; border-radius: 2px; }
.rev__cap { margin: 0; font-size: 13px; line-height: 1.5; color: var(--ink-55); text-align: center; }
.rev--empty {
  min-height: 236px; align-items: center; justify-content: center;
  border: 1px dashed rgba(244,239,231,.25); color: var(--ink-55); font-size: 14px; text-align: center;
}

.rail__nav { display: flex; align-items: center; gap: 14px; padding: 0 var(--pad); }
.rail__count { font-size: 12px; letter-spacing: .2em; color: var(--gold); font-variant-numeric: tabular-nums; }
.rail__line { flex: 1; height: 1px; background: rgba(244,239,231,.14); }
.rail__btn {
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  font-family: inherit; font-size: 18px; color: var(--ink);
  background: none; border: 1px solid rgba(244,239,231,.28); border-radius: 2px; cursor: pointer;
  transition: border-color .18s ease, color .18s ease;
}
.rail__btn:hover { border-color: var(--gold); color: var(--gold-lit); }
.rail__btn[disabled] { opacity: .35; cursor: default; }

/* --- Связь и заявка --- */
.contact { position: relative; padding: 64px var(--pad) 68px; overflow: hidden; }
.contact__bg { position: absolute; inset: 0; background-size: cover; background-position: 50% 40%; z-index: 0; }
.contact__bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18,20,15,.9), rgba(18,20,15,.72) 50%, rgba(18,20,15,.96));
}
.contact > *:not(.contact__bg) { position: relative; z-index: 1; }
.contact__inner { display: flex; flex-direction: column; gap: 24px; }
.contact h2 { margin: 0; font-weight: 300; font-size: 34px; line-height: 1.1; text-wrap: pretty; }
.contact h2 .ital { font-style: italic; }
.contact__text { margin: 0; max-width: 310px; font-size: 16px; line-height: 1.6; color: rgba(244,239,231,.8); }
.contact__links { display: flex; flex-direction: column; gap: 12px; }
.contact__links .btn { min-height: 54px; }

/* Форма заявки */
.form-card {
  margin-top: 8px; padding: 24px 20px;
  background: rgba(12,13,10,.72); border: 1px solid rgba(244,239,231,.14); border-radius: 2px;
  backdrop-filter: blur(2px);
  display: flex; flex-direction: column; gap: 16px;
}
.form-card h3 { margin: 0; font-weight: 300; font-size: 22px; letter-spacing: .01em; }
.form-card__text { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-70); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-55); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 16px; font-weight: 300; color: var(--ink);
  background: rgba(244,239,231,.05);
  border: 1px solid rgba(244,239,231,.22); border-radius: 2px;
  padding: 13px 14px; min-height: 50px; width: 100%;
  transition: border-color .18s ease;
}
.field textarea { min-height: 104px; resize: vertical; line-height: 1.5; }
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%),
                    linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 20px) 22px, calc(100% - 14px) 22px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.field select option { background: var(--ground); color: var(--ink); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(244,239,231,.4); }
.field input::placeholder, .field textarea::placeholder { color: rgba(244,239,231,.35); }

.check { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.5; color: var(--ink-70); cursor: pointer; }
.check input { flex: 0 0 auto; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--gold); cursor: pointer; }
.check a { text-decoration: underline; text-underline-offset: 2px; }
.form-note { margin: 0; font-size: 12px; line-height: 1.5; color: var(--ink-55); }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.msg { padding: 14px 16px; border-radius: 2px; font-size: 14px; line-height: 1.5; }
.msg--ok { background: rgba(201,168,106,.14); border: 1px solid rgba(201,168,106,.45); color: var(--ink); }
.msg--err { background: rgba(190,80,70,.14); border: 1px solid rgba(190,80,70,.5); color: #f1d9d6; }

/* --- Подвал --- */
.foot { padding: 40px var(--pad) 48px; display: flex; flex-direction: column; gap: 18px; border-top: 1px solid rgba(244,239,231,.14); }
.foot__req { display: flex; flex-direction: column; gap: 6px; font-size: 13px; line-height: 1.6; color: rgba(244,239,231,.6); }
.foot__links { display: flex; flex-direction: column; gap: 4px; padding-top: 6px; }
.foot__links a { display: flex; align-items: center; min-height: 44px; font-size: 14px; letter-spacing: .04em; }
.foot__note { font-size: 13px; color: rgba(244,239,231,.66); line-height: 1.6; }
.foot__note + .foot__note { margin-top: -8px; }

/* --- Cookie --- */
.cookie {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: 16px var(--pad) calc(16px + env(safe-area-inset-bottom));
  background: rgba(12,13,10,.97); border-top: 1px solid rgba(201,168,106,.4);
  display: flex; flex-direction: column; gap: 12px;
  font-size: 13px; line-height: 1.5; color: var(--ink-70);
}
/* Без этого display:flex перебивает атрибут hidden и баннер не закрывается */
.cookie[hidden] { display: none; }
.cookie__row { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie .btn { min-height: 44px; padding: 0 18px; font-size: 11px; flex: 1 1 auto; }

/* --- Юридическая страница --- */
.doc { padding: 40px var(--pad) 64px; }
.doc h1 { font-weight: 300; font-size: 28px; line-height: 1.2; margin: 0 0 8px; }
.doc__meta { font-size: 13px; color: var(--ink-55); margin: 0 0 28px; }
.doc__body { font-size: 16px; line-height: 1.7; color: var(--ink-70); }
.doc__body h1, .doc__body h2, .doc__body h3 { color: var(--ink); font-weight: 300; line-height: 1.25; margin: 32px 0 12px; }
.doc__body h1 { font-size: 24px; } .doc__body h2 { font-size: 20px; } .doc__body h3 { font-size: 17px; }
.doc__body p { margin: 0 0 14px; }
.doc__body ul, .doc__body ol { margin: 0 0 14px; padding-left: 22px; }
.doc__body li { margin-bottom: 6px; }
.doc__body table { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: 14px; }
.doc__body th, .doc__body td { border: 1px solid var(--hair); padding: 8px 10px; text-align: left; vertical-align: top; }
.doc__body th { color: var(--ink); font-weight: 400; }
.doc__wide { overflow-x: auto; }
.doc__empty { color: var(--ink-55); font-style: italic; }
.doc__body mark.todo {
  background: rgba(190, 80, 70, .22); color: #f6dedb;
  border: 1px solid rgba(190, 80, 70, .55); border-radius: 2px;
  padding: 1px 6px; font-size: 13px; font-style: italic;
}
.back { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }

/* --- Узкие телефоны: макет рисовался под 430px, тут поджимаем --- */
@media (max-width: 409px) {
  :root { --pad: 18px; }
  .hero__tagline { letter-spacing: .12em; font-size: 10px; }
  .portrait { flex: 0 0 116px; height: 168px; }
  .about__row { gap: 14px; }
  .hero h1 .big, .hero h1 .ital { font-size: 46px; }
  .step { width: 100px; height: 138px; padding: 0 10px; }
  .step + .step { margin-left: -18px; }
  .tariff__name { font-size: 19px; }
  .tariff__price { font-size: 20px; }
}

/* ============ ПЛАНШЕТ ============ */
@media (min-width: 640px) {
  :root { --pad: 40px; --col: 760px; }

  .hero { min-height: 720px; padding: 30px var(--pad) 56px; }
  .hero h1 .big, .hero h1 .ital { font-size: 68px; }
  .hero h1 { font-size: 30px; }
  .hero__text { max-width: 420px; font-size: 18px; }
  .hero__tagline { font-size: 12px; }

  .ticker { font-size: 12px; gap: 12px 18px; padding: 20px var(--pad); }

  .about { padding: 72px var(--pad) 60px; gap: 36px; }
  .about__row { gap: 32px; }
  .portrait { flex: 0 0 220px; height: 300px; }
  .about__text p { font-size: 17px; }
  .quote { font-size: 28px; }
  .step { width: 150px; height: 190px; }
  .step + .step { margin-left: -28px; }
  .step__t { font-size: 15px; }

  .sec-head h2, .reviews__head h2 { font-size: 40px; }
  .tariffs { padding: 16px var(--pad) 72px; }
  .tariff { padding: 24px 0; }
  .tariff__name { font-size: 24px; }
  .tariff__price { font-size: 25px; }
  .tariff__short, .tariff__more p { font-size: 16px; }

  .divider { height: 360px; }

  .reviews { padding: 68px 0 72px; }
  .rail__item { flex: 0 0 50%; }
  .rev__shot { height: 300px; }

  .contact { padding: 80px var(--pad) 84px; }
  .contact h2 { font-size: 44px; }
  .contact__text { max-width: 460px; font-size: 18px; }
  .contact__links { flex-direction: row; }
  .contact__links .btn { flex: 1; }
  .form-card { padding: 30px 28px; }
  .form-row { display: flex; gap: 16px; }
  .form-row .field { flex: 1; }

  .foot { padding: 56px var(--pad) 64px; }
  .foot__links { flex-direction: row; gap: 24px; }

  .cookie { flex-direction: row; align-items: center; justify-content: space-between; gap: 20px; }
  .cookie__row { flex: 0 0 auto; }
  .cookie .btn { flex: 0 0 auto; }
  .doc { padding: 56px var(--pad) 80px; }
  .doc h1 { font-size: 34px; }
}

/* ============ КОМПЬЮТЕР ============ */
@media (min-width: 1024px) {
  :root { --pad: 64px; --col: 1180px; }

  body { background: var(--ground); }

  .topbar {
    position: sticky; top: 0; z-index: 50;
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    padding: 16px var(--pad);
    background: rgba(12,13,10,.86); backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(244,239,231,.1);
  }
  .topbar__nav { display: flex; align-items: center; gap: 28px; }
  .topbar__nav a {
    font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-55);
    min-height: 32px; display: inline-flex; align-items: center;
  }
  .topbar__nav a:hover { color: var(--gold-lit); }
  .topbar__nav .btn { min-height: 40px; padding: 0 22px; font-size: 11px; }

  /* Обложка во всю ширину, текст — в колонке */
  .hero { min-height: 82vh; padding: 56px var(--pad) 72px; justify-content: flex-end; }
  /* Название и подпись уже стоят в верхней панели — второй раз не повторяем */
  .hero__top { display: none; }
  .hero__body { max-width: 720px; gap: 26px; }
  .hero h1 { font-size: 34px; }
  .hero h1 .big, .hero h1 .ital { font-size: 92px; }
  .hero__text { max-width: 480px; font-size: 19px; }

  .ticker { gap: 14px 26px; letter-spacing: .24em; }

  /* Кто я — портрет слева, текст справа, цитата во всю ширину */
  .about { padding: 96px var(--pad) 80px; gap: 48px; }
  .about__row { gap: 56px; align-items: center; }
  .portrait { flex: 0 0 300px; height: 400px; }
  .about__text { gap: 16px; max-width: 620px; }
  .about__text p { font-size: 18px; line-height: 1.7; }
  .quote { font-size: 34px; max-width: 900px; }
  .steps { padding: 20px 0 8px; }
  .step { width: 190px; height: 240px; }
  .step + .step { margin-left: -34px; }
  .step__t { font-size: 17px; }

  /* Тарифы в две колонки */
  .sec-head h2, .reviews__head h2 { font-size: 52px; }
  .tariffs { padding: 24px var(--pad) 96px; }
  .tariffs__grid {
    display: grid; grid-template-columns: 1fr 1fr;
    column-gap: 48px;
    border-top: 1px solid var(--hair);
  }
  .tariffs__grid .tariff { border-top: 0; border-bottom: 1px solid var(--hair); }
  .tariffs .tariff:last-of-type { border-bottom: 1px solid var(--hair); }
  .tariff { padding: 26px 0; }
  .tariff--hot { padding-left: 16px; margin-left: -16px; }

  .divider { height: 420px; }

  .reviews { padding: 88px 0 96px; }
  .rail__item { flex: 0 0 33.3333%; }
  .rev__shot { height: 340px; }

  /* Связь: текст слева, форма справа */
  .contact { padding: 96px var(--pad) 104px; }
  .contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
  .contact__left { display: flex; flex-direction: column; gap: 24px; }
  .contact h2 { font-size: 56px; }
  .form-card { margin-top: 0; padding: 36px 34px; }

  .foot { padding: 64px var(--pad) 72px; }
  .foot__grid { display: grid; grid-template-columns: 1.2fr 1fr 1.4fr; gap: 40px; align-items: start; }
  .foot__links { flex-direction: column; gap: 0; padding-top: 0; }
  .doc { padding: 64px var(--pad) 96px; max-width: 860px; margin: 0 auto; }
}

@media (min-width: 1440px) {
  :root { --col: 1320px; }
  .hero h1 .big, .hero h1 .ital { font-size: 104px; }
}
