/* ============================================================
   Ирина Фокина — дизайнер интерьеров
   Quiet editorial luxury · Jost light · warm neutrals · indigo accent
   ============================================================ */

:root {
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --ink: #0A0A0A;
  --body: #4C4A46;
  --muted: #8B8880;
  --line: rgba(10, 10, 10, 0.13);
  --accent: #2B4BFF;
  --accent-deep: #1E3AE0;
  --plate: #C3B2A3;
  --amber: #D98A3D;
  --form-bg: #ECECEC;
  --taupe: #E7E2DB;
  --dark-bg: #0A0A0A;
  --dark-ink: #FFFFFF;
  --dark-body: rgba(255, 255, 255, 0.68);
  --dark-line: rgba(255, 255, 255, 0.16);

  --font: "Jost", "Century Gothic", "Futura", "Trebuchet MS", sans-serif;
  --shell: 1400px;
  --pad: clamp(20px, 5vw, 72px);
  --sec: clamp(84px, 13vw, 190px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 300;
  font-size: clamp(16px, 0.4vw + 15px, 18px);
  line-height: 1.75;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
ul, ol, dl { margin: 0; padding: 0; list-style: none; }
p, h1, h2, h3 { margin: 0; }
address { font-style: normal; }

a { color: inherit; text-decoration: none; transition: opacity 0.35s var(--ease), color 0.35s var(--ease); }
a:hover { opacity: 0.62; }

:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 4px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 14px 22px; font-size: 14px; letter-spacing: 0.08em;
}
.skip-link:focus { left: 12px; top: 12px; opacity: 1; }

.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--pad); }
section[id] { scroll-margin-top: 108px; }
/* якорь самого верха: статичный, нулевой высоты — чтобы ссылка «Наверх» вела в document top,
   а не к sticky-шапке (у sticky-элемента браузер считает позицию от его текущего смещения) */
.page-top { position: absolute; top: 0; left: 0; width: 1px; height: 1px; pointer-events: none; }
.page-top:focus-visible { outline: none; }

/* ---------- type helpers ---------- */
.eyebrow, .tariff-index, .hero-eyebrow, .header-phone-label, .brand-role, .step-num, .form-alt-title {
  display: block;
  font-size: clamp(10px, 0.9vw, 12px);
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow-dark { color: rgba(139, 136, 128, 0.95); }

.section-title, .hero-title, .tariff-title, .step-title, .form-title, .cta-title, .pain-answer {
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.06;
}
/* размер hero-title задаётся в блоке .hero — он привязан к ширине текстовой колонки */
.section-title { font-size: clamp(30px, 4.6vw, 64px); }
.tariff-title, .form-title, .cta-title { font-size: clamp(26px, 3.4vw, 46px); line-height: 1.1; }
.step-title { font-size: clamp(19px, 1.5vw, 24px); line-height: 1.25; }

.body-text { color: var(--body); }
.body-narrow { max-width: 60ch; }
.lead { font-size: clamp(19px, 1.5vw, 25px); line-height: 1.5; font-weight: 300; color: var(--ink); }

.rule-accent { display: block; width: 74px; height: 2px; background: var(--accent); margin: 26px 0 30px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 1px solid transparent; cursor: pointer; text-align: center;
  font-family: var(--font); font-weight: 400; font-size: 15px; letter-spacing: 0.02em;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease), opacity 0.35s var(--ease);
}
.btn-pill { border-radius: 999px; padding: 16px 34px; }
.btn-upper { text-transform: uppercase; font-size: 12.5px; letter-spacing: 0.18em; }
.btn-rect { background: #FFFFFF; color: var(--ink); border: 1px solid rgba(10, 10, 10, 0.18); border-radius: 2px; padding: 13px 24px; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.18em; }
.btn-pill { background: var(--accent); color: #fff; }
.btn:hover { opacity: 1; background: var(--accent-deep); }
.btn-rect:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 26px;
  font-size: 12.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-deep);
}
.link-arrow::after { content: "→"; transition: transform 0.35s var(--ease); }
.link-arrow:hover { opacity: 1; }
.link-arrow:hover::after { transform: translateX(6px); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 90; background: rgba(10, 10, 10, 0.95); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255, 255, 255, 0.12); transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease); }
.site-header.is-stuck { background: rgba(10, 10, 10, 0.99); border-bottom-color: rgba(255, 255, 255, 0.22); }

.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; min-height: 108px; color: #FFFFFF; }
.header-nav { justify-self: start; }
.nav-list { display: flex; gap: clamp(18px, 2.4vw, 38px); }
.nav-link { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.76); position: relative; padding-block: 6px; transition: color 0.3s var(--ease); }
.nav-link::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); }
.nav-link:hover { color: #FFFFFF; opacity: 1; }
.nav-link:hover::after { transform: scaleX(1); }

.brand { justify-self: center; display: inline-flex; align-items: center; gap: 12px; color: #FFFFFF; }
.brand-mark ellipse { fill: none; stroke: rgba(255, 255, 255, 0.6); stroke-width: 1.4; }
.brand-name { display: flex; flex-direction: column; line-height: 1.05; }
.brand-line { font-size: clamp(15px, 1.2vw, 19px); letter-spacing: 0.04em; text-transform: uppercase; font-weight: 300; color: #FFFFFF; }
.brand-role { margin-top: 3px; letter-spacing: 0.22em; color: rgba(255, 255, 255, 0.5); }

.header-actions { justify-self: end; display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.header-phone { display: flex; flex-direction: column; line-height: 1.3; text-align: right; }
.header-phone-label { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.header-phone-value { font-size: 15px; letter-spacing: 0.02em; white-space: nowrap; color: #FFFFFF; }

.burger { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 10px; cursor: pointer; }
.burger span { display: block; height: 1.5px; width: 100%; background: #FFFFFF; margin: 4px 0; transition: transform 0.35s var(--ease), opacity 0.3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ---------- mobile menu (full-screen black, matches header) ---------- */
.menu-overlay {
  position: fixed; inset: 0; z-index: 85; background: #0A0A0A; color: #FFFFFF;
  display: flex; flex-direction: column; justify-content: center; gap: 40px;
  padding: 132px var(--pad) 48px; opacity: 0; visibility: hidden; transition: opacity 0.45s var(--ease), visibility 0.45s;
}
.menu-overlay.is-open { opacity: 1; visibility: visible; }
.menu-overlay ul { display: flex; flex-direction: column; gap: 6px; }
.menu-link { font-size: clamp(30px, 8vw, 52px); font-weight: 200; letter-spacing: -0.01em; line-height: 1.25; display: inline-block; padding-block: 6px; color: #FFFFFF; }
.menu-foot { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; border-top: 1px solid var(--dark-line); padding-top: 28px; }
.menu-phone { font-size: 20px; color: #FFFFFF; }
.menu-note { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }

/* ---------- hero ---------- */
/* split-screen: dark panel left, full-height interior photo right */
.hero { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); background: var(--dark-bg); color: var(--dark-ink); }
.hero-panel { position: relative; z-index: 1; display: flex; align-items: center; padding-block: clamp(64px, 9vw, 132px); }
.hero-copy { width: 100%; max-width: 640px; }
.hero-eyebrow { margin-bottom: 26px; color: rgba(255, 255, 255, 0.58); }
/* Кегль заголовка считается из фактической ширины текстовой колонки (≈50.5% окна минус
   поля .shell в две стороны, но не шире max-width колонки 640px), а не из ширины окна.
   Самое длинное слово — «ФУНКЦИОНАЛЬНЫМ» (~10.2em в верхнем регистре Jost Light;
   делим на 10.7, чтобы остался запас на фолбэк-шрифт) — всегда помещается в свою
   колонку и не заезжает под фотографию справа при сжатии окна до брейкпоинта 1080px. */
.hero-title { margin-bottom: 34px; text-transform: uppercase; font-size: clamp(28px, calc((min(50.5vw, 640px) - var(--pad) * 2) / 10.7), 62px); line-height: 1.04; letter-spacing: -0.005em; }
.hero-line { display: block; overflow-wrap: break-word; }
.hero-points { display: grid; gap: 14px; margin: 0 0 42px; padding: 0; list-style: none; max-width: 46ch; }
.hero-points li { position: relative; padding-left: 26px; color: rgba(255, 255, 255, 0.78); font-size: 16.5px; line-height: 1.55; }
.hero-points li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 14px; height: 1px; background: var(--accent); }

.hero-media { position: relative; overflow: hidden; background: #17161a; min-height: clamp(320px, 52vw, 720px); }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: heroZoom 18s var(--ease) forwards; }
@keyframes heroZoom { from { transform: scale(1.09); } to { transform: scale(1); } }

/* ---------- about (dark) ---------- */
.section-dark { background: var(--dark-bg); color: var(--dark-ink); }
.section-dark .body-text, .section-dark .lead { color: var(--dark-body); }
.section-dark .lead { color: var(--dark-ink); }

.about { padding-block: var(--sec); }
.about-inner { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); gap: clamp(36px, 7vw, 110px); align-items: start; }
.about-media { position: relative; padding-bottom: clamp(90px, 12vw, 150px); }
.about-photo { overflow: hidden; background: #1a1a1a; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-photo-back { aspect-ratio: 3 / 4; }
.about-photo-front { position: absolute; right: -6%; bottom: 0; width: 58%; aspect-ratio: 4 / 5; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45); }
.about-photo-front img { object-position: center 28%; }
.about .section-title { margin-top: 18px; }
.about .lead { margin-bottom: 26px; }
.about .body-text + .body-text { margin-top: 20px; }

.facts { display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 58px); margin-top: clamp(38px, 5vw, 60px); padding-top: 34px; border-top: 1px solid var(--dark-line); }
.fact dt { order: 2; font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); max-width: 16ch; margin-top: 8px; }
.fact dd { order: 1; margin: 0; font-size: clamp(34px, 3.6vw, 54px); font-weight: 200; line-height: 1; letter-spacing: -0.02em; }

/* ---------- pain (solid greige plate, white uppercase copy) ---------- */
.pain { background: var(--plate); color: #FFFFFF; padding-block: clamp(76px, 10vw, 145px); }
.pain-inner { max-width: 1020px; margin-inline: auto; text-align: center; }
.pain-list { display: grid; gap: clamp(14px, 1.8vw, 22px); padding: 0; list-style: none; }
.pain-list li { font-size: clamp(19px, 2.3vw, 32px); font-weight: 300; line-height: 1.34; letter-spacing: 0.01em; text-transform: uppercase; color: #FFFFFF; }
.pain-answer { margin-top: clamp(38px, 5vw, 62px); font-size: clamp(24px, 3.2vw, 46px); font-weight: 300; line-height: 1.2; letter-spacing: -0.01em; text-transform: uppercase; color: #FFFFFF; }
.pain-answer::after { content: ""; display: block; width: 74px; height: 2px; background: var(--accent); margin: 30px auto 0; }
.pain-note { margin-top: 26px; font-size: 15.5px; line-height: 1.65; color: rgba(255, 255, 255, 0.86); max-width: 58ch; margin-inline: auto; }

/* ---------- services ---------- */
.services { padding-block: var(--sec) 0; }
.section-head { max-width: 780px; margin-bottom: clamp(48px, 7vw, 96px); }

.section-head .body-text { margin-top: 22px; }
.services .section-title { margin-top: 16px; }

.tariff { border-top: 1px solid var(--line); }
.tariff:last-of-type { border-bottom: 1px solid var(--line); }
.tariff-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 76px); padding-block: clamp(44px, 6vw, 84px); align-items: center; }
.tariff-flip .tariff-media { order: 2; }
.tariff-flip .tariff-copy { order: 1; }
.tariff-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--taupe); }
.tariff-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.tariff:hover .tariff-media img { transform: scale(1.045); }
.tariff-title { margin-top: 14px; }
.tariff-meta { display: flex; align-items: center; gap: 14px; margin-top: 16px; font-size: clamp(17px, 1.4vw, 21px); letter-spacing: 0.01em; color: var(--accent); }
.dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: 0.5; }
.tariff .body-text { margin-top: 22px; max-width: 56ch; }
.tariff-list { display: grid; gap: 10px; margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.tariff-list li { position: relative; padding-left: 24px; font-size: 15.5px; color: var(--body); }
.tariff-list li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 10px; height: 1px; background: var(--ink); opacity: 0.5; }

/* featured — indigo, image LEFT */
.tariff.is-featured { background: var(--accent); color: #fff; border-top-color: transparent; }
.tariff.is-featured .tariff-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.tariff.is-featured .tariff-media { order: 0; }
.tariff.is-featured .tariff-copy { order: 2; }
.tariff.is-featured .tariff-index, .tariff.is-featured .brand-role { color: rgba(255, 255, 255, 0.6); }
.tariff.is-featured .body-text { color: rgba(255, 255, 255, 0.78); }
.tariff.is-featured .tariff-meta { color: #fff; }
.tariff.is-featured .tariff-list { border-top-color: rgba(255, 255, 255, 0.24); }
.tariff.is-featured .tariff-list li { color: rgba(255, 255, 255, 0.85); }
.tariff.is-featured .tariff-list li::before { background: #fff; opacity: 0.7; }
.tariff.is-featured .link-arrow { color: #fff; }
.tariff.is-featured .btn-pill { background: #fff; color: var(--accent); }

/* ---------- cta ---------- */
.cta { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(96px, 15vw, 210px); text-align: center; color: #fff; }
.cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: saturate(0.75); }
.cta-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 10, 10, 0.72), rgba(10, 10, 10, 0.6)); }
.cta-inner { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.cta-line { display: block; }
.cta-sub { color: rgba(255, 255, 255, 0.8); margin-inline: auto; }
/* decorative handwritten hint arrow — the ONLY place amber is used */
.cta-arrow { stroke: var(--amber); stroke-width: 2.6; fill: none; stroke-linecap: round; margin-top: -6px; transform: rotate(-6deg); filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.35)); }
.cta-arrow path { vector-effect: non-scaling-stroke; }

/* ---------- steps (white, blue outlined number circles) ---------- */
.steps { background: #FFFFFF; padding-block: var(--sec); }
.section-head-center { max-width: 940px; margin-inline: auto; text-align: center; }
.steps-title { font-size: clamp(26px, 3.4vw, 48px); line-height: 1.18; margin-top: 16px; }
.steps-list { display: grid; gap: clamp(28px, 3.4vw, 46px); max-width: 900px; margin-inline: auto; }
.step { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(18px, 3vw, 40px); align-items: start; padding-bottom: clamp(26px, 3vw, 40px); border-bottom: 1px solid rgba(10, 10, 10, 0.14); }
.step:last-child { border-bottom: 0; padding-bottom: 0; }
/* blue outlined number circle, no fill (per spec) */
.step-num { display: grid; place-items: center; width: clamp(46px, 4.4vw, 62px); height: clamp(46px, 4.4vw, 62px); border: 2px solid var(--accent); border-radius: 50%; font-size: clamp(17px, 1.5vw, 22px); font-weight: 300; letter-spacing: -0.01em; color: var(--accent-deep); }
.step-body { display: grid; gap: 10px; align-content: start; }
.steps .body-text { color: var(--body); }

/* ---------- form (light grey plate #ECECEC) ---------- */
.form-section { background: var(--form-bg); color: var(--ink); padding-block: var(--sec); }
.form-inner { display: grid; gap: clamp(36px, 5vw, 64px); }
.form-title { max-width: 22ch; line-height: 1.18; }
.lead-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(22px, 3vw, 40px) clamp(24px, 4vw, 56px); align-items: start; }
.field { margin: 0; }
.field-full { grid-column: 1 / -1; }
.field-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.field-input {
  width: 100%; display: block; background: transparent; border: 0; border-bottom: 1px solid rgba(10, 10, 10, 0.32);
  color: var(--ink); font-family: var(--font); font-weight: 300; font-size: clamp(20px, 1.8vw, 26px);
  padding: 12px 2px 14px; transition: border-color 0.35s var(--ease);
}
.field-input::placeholder { color: rgba(10, 10, 10, 0.42); }
.field-input:focus { outline: none; border-bottom-color: var(--accent-deep); }
.field-area { resize: vertical; min-height: 96px; line-height: 1.5; background: #FFFFFF; padding-inline: 12px; }

.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 8px; }
.form-consent { max-width: 46ch; font-size: 13px; line-height: 1.6; color: var(--muted); }
.form-status { grid-column: 1 / -1; margin: 0; font-size: 15px; min-height: 24px; color: rgba(10, 10, 10, 0.72); }
.form-status.is-error { color: #9E3A10; }
.form-status.is-success { color: var(--accent-deep); }

.form-alt { grid-column: 1 / -1; border-top: 1px solid rgba(10, 10, 10, 0.16); padding-top: 30px; }
.form-alt-title { letter-spacing: 0.24em; text-transform: uppercase; font-size: 11px; color: var(--muted); margin-bottom: 18px; }
.alt-list { display: flex; flex-wrap: wrap; gap: 14px clamp(20px, 3vw, 40px); }
.alt-list a { font-size: clamp(17px, 1.5vw, 22px); font-weight: 300; color: var(--ink); border-bottom: 1px solid transparent; transition: border-color 0.35s var(--ease); }
.alt-list a:hover { opacity: 1; border-bottom-color: rgba(10, 10, 10, 0.55); }

/* ---------- footer ---------- */
.site-footer { background: var(--dark-bg); color: #fff; border-top: 1px solid var(--dark-line); padding-block: clamp(48px, 6vw, 76px) 34px; }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 1fr)); gap: clamp(30px, 4vw, 56px); align-items: start; }
.brand-footer .brand-mark ellipse { stroke: rgba(255, 255, 255, 0.55); }
.footer-nav ul { display: grid; gap: 12px; }
.footer-nav .nav-link { color: rgba(255, 255, 255, 0.8); }
.footer-contacts { display: grid; gap: 12px; font-size: 15.5px; color: rgba(255, 255, 255, 0.72); }
.footer-meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; margin-top: clamp(28px, 4vw, 48px); padding-top: 24px; border-top: 1px solid var(--dark-line); font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-media img { animation: none; }
  * { scroll-behavior: auto !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .header-inner { grid-template-columns: auto 1fr auto; min-height: 92px; }
  .nav-desktop { display: none; }
  .burger { display: block; }
  .brand { justify-self: center; }
  .about-inner, .hero, .tariff-inner, .tariff.is-featured .tariff-inner { grid-template-columns: minmax(0, 1fr); }
  .tariff-media, .tariff.is-featured .tariff-media, .tariff-copy, .tariff.is-featured .tariff-copy, .tariff-flip .tariff-media, .tariff-flip .tariff-copy { order: 0; }
  .hero-panel { padding-block: clamp(52px, 13vw, 92px) clamp(40px, 9vw, 68px); }
  /* ниже брейкпоинта hero в одну колонку — считаем размер от новой ширины текста */
  .hero-title { font-size: clamp(26px, calc((min(100vw, 640px) - var(--pad) * 2) / 10.7), 56px); }
  .hero-media { aspect-ratio: 4 / 3; min-height: 0; }
  .about-media { max-width: 520px; }
  .footer-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

@media (max-width: 720px) {
  .header-phone { display: none; }
  .brand-name { display: none; }
  .btn-rect { padding: 11px 18px; font-size: 11px; letter-spacing: 0.14em; }
  section[id] { scroll-margin-top: 84px; }
  .lead-form { grid-template-columns: minmax(0, 1fr); }
  .about-photo-front { right: -2%; width: 62%; }
  .facts { gap: 22px 30px; }
  .step { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .footer-inner { grid-template-columns: minmax(0, 1fr); }
  .form-foot { flex-direction: column; align-items: stretch; }
  .form-foot .btn { width: 100%; }
}

@media (max-width: 420px) {
  .btn-pill { padding: 15px 26px; width: 100%; }
}