/* GRESSIFY — лендинг плиточника. Макет: mokup/Современный сайт GRESSIFY_ укладка плитки.png */

:root {
  --ink: #161616;
  --ink-2: #1e1e1d;
  --text: #1a1a1a;
  --muted: #76746f;
  --muted-light: #a9a7a2;
  --line: #e3e1dc;
  --bg: #ffffff;
  --bg-alt: #f6f5f2;
  --stone-1: #2a2826;
  --stone-2: #3b3834;
  --accent: #b9875a;
  --ok: #2f7d4f;
  --err: #b3362c;
  --radius: 4px;
  --wrap: 1200px;
  --font: "Manrope", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Manrope (SIL OFL) хранится на своём сервере — без запросов к Google Fonts. Вариативный: 400–700. */
@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("fonts/manrope-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

*, *::before, *::after { box-sizing: border-box; }
.svg-sprite { position: absolute; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -0.01em; line-height: 1.15; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.25rem); }
p { margin: 0; }
svg { width: 1em; height: 1em; flex: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 48px; }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .95em 1.8em;
  font: 600 .95rem/1 var(--font);
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #ecebe7; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #33312e; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); border-radius: 999px; }
.btn-outline-light:hover { background: #fff; color: var(--ink); }
.btn-sm { padding: .75em 1.3em; font-size: .85rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .7em;
  font: 500 .95rem var(--font); color: var(--ink);
  background: none; border: 0; padding: 0; cursor: pointer;
}
.link-arrow svg { width: 1.2em; height: 1.2em; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(3px); }
.link-arrow-light { color: #fff; }
.arrow-circle {
  display: inline-grid; place-items: center;
  width: 2rem; height: 2rem; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.6);
}
.arrow-circle svg { width: 1rem; height: 1rem; }
.link-underline { font-size: .9rem; font-weight: 600; white-space: nowrap; }
.link-underline { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }

/* ---------- header ---------- */
.topbar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 20;
  color: #fff;
}
.topbar-inner { display: flex; align-items: center; gap: 2.5rem; padding-top: 22px; padding-bottom: 22px; }
.logo { display: flex; flex-direction: column; gap: 4px; line-height: 1; }
.logo-name { font-size: 1.55rem; font-weight: 400; letter-spacing: .32em; }
.logo-tag { font-size: .62rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.nav { display: flex; gap: 2.2rem; margin-left: auto; font-size: .88rem; }
.nav a { opacity: .9; padding: 4px 0; border-bottom: 1px solid transparent; }
.nav a:hover { opacity: 1; border-bottom-color: currentColor; }
.nav-phone-mobile { display: none; }
.topbar-phone { display: inline-flex; align-items: center; gap: .55em; font-size: .9rem; white-space: nowrap; }
.topbar-phone svg { width: 1.05em; height: 1.05em; }
.topbar-cta { font-size: .85rem; padding: .85em 1.4em; }
.burger { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  color: #fff;
  min-height: clamp(600px, 72vh, 760px);
  display: flex; align-items: center;
  background: var(--stone-1);
}
/* Фон — фото ванной (Unsplash, Puscas Adryan, Unsplash License): занимает правую
   часть экрана и растворяется влево в тёмном фоне, чтобы не растягиваться на широких
   мониторах. ::after — затемнение под текст. */
.hero-bg { position: absolute; inset: 0; background: #151311; }
.hero-bg::before {
  content: ""; position: absolute; top: 0; bottom: 0; right: 0;
  width: max(72vw, 1080px);
  background: url("img/hero-bath.jpg") center 58% / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 35%);
          mask-image: linear-gradient(90deg, transparent 0, #000 35%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(21,19,17,.85) 0%, rgba(21,19,17,.6) 35%, rgba(21,19,17,.15) 65%, rgba(21,19,17,.05) 100%),
    linear-gradient(0deg, rgba(21,19,17,.4), transparent 30%);
}
.hero-inner { position: relative; width: 100%; padding-top: 140px; padding-bottom: 90px; }
.hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 500; line-height: 1.12; }
.hero-sub { margin-top: 1.6rem; max-width: 30rem; font-size: 1.02rem; line-height: 1.6; color: rgba(255,255,255,.85); }
.hero-cta { margin-top: 2.3rem; display: flex; align-items: center; gap: 1.8rem; flex-wrap: wrap; }

/* ---------- features ---------- */
.features { background: var(--bg); border-bottom: 1px solid var(--line); }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem; padding-top: 2.6rem; padding-bottom: 2.6rem; }
.feature { display: flex; flex-direction: column; gap: 1.1rem; }
.feature-icon { width: 30px; height: 30px; color: var(--ink); }
.feature h3 { font-size: 1rem; font-weight: 600; line-height: 1.35; }
.feature p { margin-top: .45rem; font-size: .88rem; color: var(--muted); }

/* ---------- sections ---------- */
.section { padding: 5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; margin-bottom: 2rem; }
.section-sub { margin-top: .6rem; color: var(--muted); font-size: .95rem; max-width: 44rem; }
.eyebrow { font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ---------- works ---------- */
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.work-card { margin: 0; cursor: pointer; display: block; }
.work-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-alt); }
.work-img img { width: 100%; height: 100%; object-fit: cover; object-position: right center; transition: transform .5s; }
/* На карточке — «СТАЛО» (правая половина фото); полное «до/после» открывается в лайтбоксе. */
.work-card:hover .work-img img { transform: scale(1.04); }
.work-card figcaption, .work-cap {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: .9rem 0 .2rem;
}
.work-card figcaption b, .work-cap b { display: block; font-weight: 600; font-size: .95rem; }
.work-card figcaption span, .work-cap span { display: block; font-size: .8rem; color: var(--muted); margin-top: .15rem; }
.work-card figcaption svg, .work-cap svg { width: 1.2rem; height: 1.2rem; color: var(--ink); transition: transform .2s; }
.work-card:hover figcaption svg, .work-card:hover .work-cap svg { transform: translateX(3px); }
.work-img-cta {
  display: grid; place-items: center; text-align: center;
  color: #fff; font-size: 1.15rem; font-weight: 500; line-height: 1.35;
  background:
    repeating-linear-gradient(90deg, transparent 0 calc(33.33% - 1px), rgba(255,255,255,.08) calc(33.33% - 1px) 33.33%),
    repeating-linear-gradient(0deg, transparent 0 calc(50% - 1px), rgba(255,255,255,.08) calc(50% - 1px) 50%),
    radial-gradient(ellipse at 70% 30%, rgba(255,226,186,.15), transparent 60%),
    linear-gradient(135deg, var(--stone-2), var(--ink));
}

/* ---------- process ---------- */
.process { display: grid; grid-template-columns: 30% 1fr; background: var(--ink); color: #fff; }
/* Клей, нанесённый зубчатым шпателем (Unsplash, goodrich kingrey, Unsplash License). */
.process-visual {
  min-height: 100%;
  background:
    linear-gradient(90deg, transparent 65%, rgba(22,22,22,.85)),
    url("img/trowel.jpg") center / cover no-repeat,
    #2a2826;
}
.process-body { padding: 3.2rem 48px 3.4rem 3.5rem; max-width: 900px; }
.process-head { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; margin-bottom: 2.2rem; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.8rem; }
.steps li { display: flex; gap: .9rem; }
.step-num { font-size: 1.15rem; font-weight: 400; color: #fff; line-height: 1.2; font-variant-numeric: tabular-nums; }
.steps b { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .35rem; }
.steps p { font-size: .82rem; color: var(--muted-light); line-height: 1.5; }

/* ---------- reviews ---------- */
.review-card { display: grid; grid-template-columns: 80px 1fr; gap: 1rem; background: #fff; border: 1px solid var(--line); padding: 2.5rem 2.5rem 2.2rem 1.5rem; }
.review-quote { font-size: 5rem; line-height: .8; color: var(--line); text-align: center; font-family: Georgia, serif; }
.review-lead { font-size: 1.05rem; line-height: 1.6; }
.review-points { list-style: none; padding: 0; margin: 1.6rem 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.3rem 2rem; }
.review-points li { font-size: .88rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: .9rem; }
.review-points b { display: block; color: var(--text); font-weight: 600; margin-bottom: .3rem; font-size: .92rem; }
.review-author { margin-top: 1.6rem; display: flex; align-items: baseline; gap: .8rem; flex-wrap: wrap; font-size: .9rem; }
.review-author span:last-child { color: var(--muted); }
.review-stars { color: var(--accent); letter-spacing: .12em; }

/* ---------- estimate (как в макете) ---------- */
.estimate {
  display: grid; grid-template-columns: 1.1fr 1.6fr .9fr; gap: 2.5rem; align-items: start;
  padding-bottom: 2rem; border-bottom: 1px solid var(--line);
}
.estimate-title h2 { margin-top: .9rem; font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.25; }
.calc-item-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 2rem; }
.calc-item-list li { display: grid; grid-template-columns: 30px 1fr auto; gap: .8rem; align-items: start; }
.calc-item-icon { width: 26px; height: 26px; color: var(--muted); margin-top: 2px; }
.calc-item-name { font-size: .82rem; color: var(--muted); line-height: 1.4; }
.calc-item-qty { display: block; margin-top: .3rem; font-size: .9rem; color: var(--text); font-weight: 600; }
.calc-remove-btn { background: none; border: 0; color: var(--muted-light); cursor: pointer; font-size: .85rem; padding: 2px 4px; }
.calc-remove-btn:hover { color: var(--err); }
.calc-cart-empty { color: var(--muted); font-size: .9rem; }
.estimate-total { border-left: 1px solid var(--line); padding-left: 2.2rem; text-align: center; }
.estimate-total-label { display: inline-block; font-size: .85rem; border-bottom: 1px solid var(--text); padding-bottom: 2px; }
.estimate-total-value { display: block; margin-top: .8rem; font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 600; white-space: nowrap; }
.calc-result { margin-top: 1rem; font-size: .85rem; color: var(--muted); }
.calc-result.err { color: var(--err); }

/* ---------- configurator ---------- */
.configurator { margin-top: 3.5rem; }
.config-head h3 { font-size: 1.35rem; }
/* Описание растянуто на всю ширину блока — вровень с карточками комплектов ниже. */
.config-head .section-sub {
  max-width: none;
  text-align: justify;
  /* Переносы (по lang="ru") убирают большие пробелы между словами на узких экранах. */
  -webkit-hyphens: auto; hyphens: auto;
}
.calc-bundle-grid { margin-top: 1.8rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.calc-bundle-card { border: 1px solid var(--line); padding: 1.6rem; display: flex; flex-direction: column; gap: 1rem; background: #fff; }
.calc-bundle-card h4 { font-size: 1.05rem; font-weight: 600; }
.calc-bundle-desc { font-size: .82rem; color: var(--muted); margin-top: -.5rem; }
.calc-bundle-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.calc-bundle-add { align-self: flex-start; }
.field { display: flex; flex-direction: column; gap: .3rem; }
.field span { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }

input, select, textarea {
  font: 400 .92rem var(--font); color: var(--text);
  width: 100%;
  padding: .75em .85em;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff;
  outline: none;
  transition: border-color .2s;
}
input:focus, select:focus, textarea:focus { border-color: var(--ink); }
textarea { resize: vertical; }

.calc-manual { margin-top: 1.25rem; border: 1px solid var(--line); background: var(--bg-alt); }
.calc-manual summary { cursor: pointer; padding: 1.1rem 1.6rem; font-weight: 600; font-size: .95rem; list-style: none; display: flex; align-items: baseline; gap: .8rem; flex-wrap: wrap; }
.calc-manual summary::-webkit-details-marker { display: none; }
.calc-manual summary::before { content: "+"; font-weight: 400; font-size: 1.2rem; width: 1rem; }
.calc-manual[open] summary::before { content: "−"; }
.calc-manual-hint { font-weight: 400; font-size: .82rem; color: var(--muted); }
.calc-wizard { padding: 0 1.6rem 1.6rem; display: grid; gap: 1.3rem; }
.calc-step h4 { font-size: .95rem; font-weight: 600; display: flex; gap: .7rem; align-items: baseline; margin-bottom: .6rem; }
.calc-step .step-num { color: var(--muted); font-size: .9rem; }
.calc-add-row { display: grid; grid-template-columns: 1fr 90px 50px auto; gap: .6rem; align-items: center; }
.calc-work-unit { font-size: .85rem; color: var(--muted); }

/* ---------- contact ---------- */
.contact { background: var(--ink); color: #fff; padding: 4.5rem 0; }
.contact-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 2.2rem; }
.contact-head p { margin-top: .8rem; color: var(--muted-light); }
/* Расчёт и форма — две колонки одной высоты: начинаются и заканчиваются на одном уровне. */
.contact-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 1.5rem; align-items: stretch; }
.contact-side { display: flex; flex-direction: column; }
.contact-side > * { flex: 1; }
.estimate-cta { margin-top: 1.3rem; }

.lead-estimate, .lead-estimate-empty {
  padding: 1.4rem 1.5rem;
  border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius);
  background: rgba(255,255,255,.04);
}
.lead-estimate-head { display: flex; justify-content: space-between; align-items: baseline; }
.lead-estimate .eyebrow { color: var(--muted-light); }
.lead-estimate-edit { font-size: .82rem; color: #fff; text-decoration: underline; text-underline-offset: 4px; opacity: .8; }
.lead-estimate-edit:hover { opacity: 1; }
.lead-estimate-title { display: block; margin-top: .6rem; font-weight: 500; font-size: 1.05rem; line-height: 1.3; }
.lead-estimate-list { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .45rem; }
.lead-estimate-list li { display: flex; justify-content: space-between; gap: 1rem; font-size: .84rem; color: var(--muted-light); }
.lead-estimate-list li span:last-child { color: #fff; white-space: nowrap; }
.lead-estimate-total {
  margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.15);
  display: flex; justify-content: space-between; align-items: baseline;
}
.lead-estimate-total span { font-size: .85rem; color: var(--muted-light); }
.lead-estimate-total b { font-size: 1.4rem; font-weight: 600; white-space: nowrap; }
.lead-attach { margin-top: 1rem; display: flex; gap: .65rem; align-items: flex-start; font-size: .82rem; color: var(--muted-light); cursor: pointer; }
.lead-attach input { width: 1rem; height: 1rem; margin: .15rem 0 0; padding: 0; accent-color: #fff; flex: none; }
.lead-estimate-empty { display: flex; flex-direction: column; align-items: flex-start; gap: .8rem; font-size: .9rem; color: var(--muted-light); }
.lead-estimate-empty .eyebrow { color: var(--muted-light); margin-bottom: .2rem; }
.lead-estimate-empty .btn { margin-top: auto; }
.lead-estimate-empty[hidden], .lead-estimate[hidden] { display: none; }

.lead-form { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto 1fr auto auto; gap: .8rem; }
.lead-status:empty { display: none; }
.lead-form textarea { min-height: 6.5rem; }
.lead-form .full { grid-column: 1 / -1; }
.lead-form input, .lead-form textarea { background: transparent; color: #fff; border-color: rgba(255,255,255,.25); }
.lead-form input::placeholder, .lead-form textarea::placeholder { color: rgba(255,255,255,.5); }
.lead-form input:focus, .lead-form textarea:focus { border-color: #fff; }
.lead-form .btn { justify-self: start; }
.lead-status { font-size: .9rem; min-height: 1.2em; }
.lead-consent { display: flex; gap: .65rem; align-items: flex-start; font-size: .8rem; color: var(--muted-light); cursor: pointer; }
.lead-consent input { width: 1rem; height: 1rem; margin: .1rem 0 0; padding: 0; accent-color: #fff; flex: none; }
.lead-consent a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
/* Скрыто от людей и скринридеров, но остаётся в форме для ботов. */
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.footer-link { color: var(--muted-light); text-decoration: underline; text-underline-offset: 3px; }
.footer-link:hover { color: #fff; }
.lead-status.ok { color: #8fd3a8; }
.lead-status.err { color: #ff9b8f; }

/* ---------- footer ---------- */
/* Фон — чёрный мрамор, уложенный плиткой (Unsplash, elisadventure photographe, Unsplash License). */
.footer {
  color: #fff; padding: 3.2rem 0; font-size: .85rem;
  background:
    linear-gradient(180deg, rgba(15,15,15,.92) 0%, rgba(15,15,15,.7) 100%),
    url("img/footer-marble.jpg") center 40% / cover no-repeat,
    #0f0f0f;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-inner { display: flex; align-items: center; gap: 2.5rem; flex-wrap: wrap; }
.footer-info { display: flex; flex-direction: column; gap: .2rem; color: var(--muted-light); }
.footer-phone { margin-left: auto; font-size: 1rem; }
.logo-dark .logo-name { font-size: 1.2rem; }

/* ---------- document page (политика) ---------- */
.doc-page { background: var(--bg); }
.doc-top { background: var(--ink); color: #fff; }
.doc-top-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 20px; padding-bottom: 20px; }
.doc-back { font-size: .9rem; opacity: .85; }
.doc-back:hover { opacity: 1; }
.doc { max-width: 820px; padding-top: 3rem; padding-bottom: 4rem; }
.doc h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.doc-date { margin-top: .6rem; color: var(--muted); font-size: .9rem; }
.doc h2 { margin-top: 2.2rem; font-size: 1.2rem; font-weight: 600; }
.doc p, .doc ul { margin-top: .8rem; color: #33312e; }
.doc ul { padding-left: 1.3rem; }
.doc a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10,10,10,.92); display: flex; align-items: center; justify-content: center; padding: 3rem; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox-btn { position: absolute; background: none; border: 1px solid rgba(255,255,255,.4); color: #fff; width: 44px; height: 44px; border-radius: 50%; font-size: 1.3rem; cursor: pointer; }
.lightbox-btn:hover { background: rgba(255,255,255,.12); }
.lightbox-btn[hidden] { display: none; }
.lightbox-close { top: 1rem; right: 1rem; font-size: 1rem; }
.lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-counter { position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.75); font-size: .85rem; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  /* Телефон важнее кнопки: в форме заявки его больше нет, только шапка и подвал. */
  .topbar-cta { display: none; }
  .nav { gap: 1.3rem; }
  .steps { grid-template-columns: 1fr 1fr; }
  .estimate { grid-template-columns: 1fr 1fr; }
  .estimate-title { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .wrap { padding: 0 20px; }
  .topbar-inner { gap: 1rem; padding-top: 18px; padding-bottom: 18px; }
  .logo-name { font-size: 1.25rem; }
  .logo-tag { font-size: .52rem; }
  .topbar-cta, .topbar-phone { display: none; }
  .burger {
    display: grid; gap: 5px; margin-left: auto;
    background: none; border: 0; padding: 8px; cursor: pointer;
  }
  .burger span { display: block; width: 22px; height: 1.5px; background: #fff; transition: transform .2s, opacity .2s; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--ink); padding: .5rem 20px 1.2rem;
  }
  .nav.open { display: flex; }
  .nav a { padding: .8rem 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 1rem; }
  .nav-phone-mobile { display: block; font-weight: 600; }

  .hero { min-height: 0; }
  .hero-bg::before {
    width: 100%;
    background-image: url("img/hero-bath-mobile.jpg");
    background-position: center;
    -webkit-mask-image: none; mask-image: none;
  }
  .hero-bg::after { background: linear-gradient(180deg, rgba(21,19,17,.55) 0%, rgba(21,19,17,.55) 45%, rgba(21,19,17,.85) 100%); }
  .hero-inner { padding-top: 120px; padding-bottom: 50px; }
  .hero h1 br { display: none; }
  .hero-sub { font-size: .95rem; margin-top: 1rem; }
  .hero-cta { flex-direction: column; align-items: flex-start; gap: 1.2rem; margin-top: 1.6rem; }

  .features-grid { grid-template-columns: 1fr; gap: 1.5rem; padding-top: 2rem; padding-bottom: 2rem; }
  .feature { flex-direction: row; gap: 1rem; }
  .feature-icon { width: 26px; height: 26px; }
  .br-desk { display: none; }

  .section { padding: 3.2rem 0; }
  .section-head { align-items: baseline; }
  .works-grid { grid-template-columns: 1fr; }

  .process { grid-template-columns: 1fr; }
  .process-visual { display: none; }
  .process-body { padding: 3rem 20px; }
  .process-head { flex-direction: column; align-items: flex-start; }
  .process-head .btn { order: 2; }
  .steps { grid-template-columns: 1fr; gap: 1.4rem; }

  .review-card { grid-template-columns: 1fr; padding: 1.6rem 1.3rem; }
  .review-quote { display: none; }

  .estimate { grid-template-columns: 1fr; gap: 1.6rem; }
  .calc-item-list { grid-template-columns: 1fr; }
  .estimate-total { border-left: 0; border-top: 1px solid var(--line); padding: 1.4rem 0 0; text-align: left; }
  .calc-bundle-grid { grid-template-columns: 1fr; }
  .calc-add-row { grid-template-columns: 1fr 80px auto; }
  .calc-add-row select { grid-column: 1 / -1; }
  .calc-add-row .btn { grid-column: 1 / -1; }

  .contact-head { flex-direction: column; align-items: flex-start; gap: 1.2rem; margin-bottom: 1.6rem; }
  .contact-inner { grid-template-columns: 1fr; gap: 1.2rem; }
  .lead-estimate-empty .btn { margin-top: .4rem; }
  .lead-form { grid-template-columns: 1fr; }
  .lead-form .btn { justify-self: stretch; }
  .footer-phone { margin-left: 0; }
}

/* На телефонах — по левому краю: в узкой колонке выравнивание по ширине даёт дыры между словами. */
@media (max-width: 600px) {
  .config-head .section-sub { text-align: left; -webkit-hyphens: manual; hyphens: manual; }
}

@media (max-width: 420px) {
  .calc-bundle-row { grid-template-columns: 1fr; }
}
