/* ERA Construction Solutions, главная v4. Цвета: тёмно-синий и песочный из квоты, изумрудный с лендинга ванных */
:root {
  --navy: #14233D;
  --navy-d: #0C1830;
  --emerald: #12684F;
  --emerald-d: #0C523E;
  --mint: #9FD8C4;
  --sand: #F3EAD6;
  --sand-l: #FBF8F1;
  --paper: #FFFFFF;
  --muted: #5B6474;
  --line: #E7DFCB;
  --wa: #25D366;
  --r: 20px;
  --shadow: 0 24px 60px rgba(20, 35, 61, .14);
  --serif: "Fraunces", Georgia, serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--navy); background: var(--sand-l); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 { font-size: 1.35rem; }
h1 em, h2 em { font-style: italic; color: var(--emerald); }

.wrap { width: min(1240px, 100% - 40px); margin-inline: auto; }
section { padding: clamp(72px, 10vw, 130px) 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--emerald); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 54ch; }
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.stars { color: #E9A93B; letter-spacing: 2px; }

/* Появление при прокрутке */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 28px; border-radius: 999px; font-weight: 600; font-size: 1rem; border: 1.5px solid transparent; cursor: pointer; transition: .25s; white-space: nowrap; }
.btn .arr { transition: transform .25s; }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary { background: var(--emerald); color: #fff; }
.btn-primary:hover { background: var(--emerald-d); }
.btn-ghost { border-color: var(--navy); color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-glass { border-color: rgba(255,255,255,.6); color: #fff; backdrop-filter: blur(6px); background: rgba(255,255,255,.08); }
.btn-glass:hover { background: #fff; color: var(--navy); }
.btn-sm { padding: 11px 20px; font-size: .9rem; }

/* Шапка: плавающая белая панель */
header { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 18px; background: #fff; border-radius: 999px; padding: 0 14px 0 26px; box-shadow: 0 10px 40px rgba(12,24,48,.16); }
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 38px; width: auto; }
.logo span { font-family: var(--serif); font-size: 1.05rem; line-height: 1.05; white-space: nowrap; }
.logo b { font-weight: 600; }
.logo small { display: block; font-family: var(--sans); font-size: .58rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.menu { display: flex; align-items: center; gap: 26px; font-weight: 500; font-size: .95rem; }
.menu > li { position: relative; }
.menu > li > a { display: inline-flex; align-items: center; gap: 6px; padding: 24px 0; }
.menu > li > a:hover, .menu > li:hover > a { color: var(--emerald); }
.caret { width: 7px; height: 7px; border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.dropdown { position: absolute; top: calc(100% - 6px); left: -18px; min-width: 240px; background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 10px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; }
.menu > li:hover .dropdown, .menu > li:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: block; padding: 10px 14px; border-radius: 10px; }
.dropdown a:hover { background: var(--sand-l); color: var(--emerald); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-phone { font-weight: 600; font-size: .95rem; }
.burger, #nav-toggle { display: none; }

/* Первый экран: слайд-шоу домов на весь экран с медленным движением */
.hero { padding: 0; position: relative; height: 100vh; min-height: 620px; max-height: 980px; color: #fff; overflow: hidden; background: var(--navy-d); }
.slides, .slide { position: absolute; inset: 0; }
.slide { opacity: 0; transition: opacity 1.6s ease; }
.slide.on { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.slide.on img { animation: drift 9s ease-out forwards; }
.slide:nth-child(even).on img { animation-name: drift2; }
@keyframes drift { from { transform: scale(1.02) translate(0,0); } to { transform: scale(1.16) translate(-1.5%, -1.5%); } }
@keyframes drift2 { from { transform: scale(1.16) translate(1.5%, 0); } to { transform: scale(1.02) translate(0,0); } }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background:
    radial-gradient(95% 85% at 0% 100%, rgba(12,24,48,.92) 0%, rgba(12,24,48,.72) 38%, rgba(12,24,48,0) 72%),
    linear-gradient(180deg, rgba(12,24,48,.3) 0%, rgba(12,24,48,0) 24%, rgba(12,24,48,0) 60%, rgba(12,24,48,.55) 100%); }
.hero-content { position: absolute; left: 0; right: 0; bottom: clamp(110px, 16vh, 170px); z-index: 2; }
.rating { display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35); padding: 7px 16px; border-radius: 999px; font-size: .9rem; font-weight: 500; margin-bottom: 20px; backdrop-filter: blur(8px); }
.hero h1 { max-width: 14ch; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero h1 em { color: #fff; }
.hero-sub { display: flex; align-items: end; justify-content: space-between; gap: 28px; flex-wrap: wrap; margin-top: 22px; }
.hero-sub p { font-size: 1.15rem; max-width: 44ch; opacity: .95; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.dots { position: absolute; right: max(20px, calc((100% - 1240px) / 2)); top: 50%; transform: translateY(-50%); z-index: 2; display: grid; gap: 10px; }
.dots button { width: 3px; height: 34px; border: 0; background: rgba(255,255,255,.4); border-radius: 3px; cursor: pointer; transition: .3s; }
.dots button.on { background: #fff; height: 54px; }

/* Преимущества: карточка, наезжающая на первый экран */
.trust { padding: 0; position: relative; z-index: 3; margin-top: -72px; }
.trust-card { background: #fff; border-radius: 24px; box-shadow: var(--shadow); display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 26px 14px; text-align: center; border-left: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.trust-item:first-child { border-left: 0; }
.trust-item b { font-family: var(--serif); font-weight: 500; font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1; }
.trust-item span { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.badge { display: flex; align-items: center; gap: 10px; text-align: left; }
.badge .seal { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--sand-l); border: 1.5px solid var(--emerald); }
.badge .seal svg { width: 26px; height: 26px; stroke: var(--emerald); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.badge strong { display: block; font-size: 1rem; line-height: 1.15; }
.badge small { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* Услуги: высокие фото-карточки */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4/5; color: #fff; display: block; }
.service img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.service:hover img { transform: scale(1.08); }
.service::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,24,48,0) 35%, rgba(12,24,48,.88) 100%); transition: .4s; }
.service .body { position: absolute; inset: auto 0 0 0; padding: 26px; z-index: 1; }
.service .num { font-family: var(--serif); font-size: .95rem; opacity: .8; }
.service h3 { font-size: 1.6rem; margin: 4px 0 6px; }
.service p { font-size: .95rem; opacity: .9; max-height: 0; overflow: hidden; transition: max-height .5s, margin .5s; }
.service:hover p { max-height: 80px; margin-bottom: 10px; }
.service .meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: .92rem; font-weight: 600; border-top: 1px solid rgba(255,255,255,.3); padding-top: 12px; margin-top: 8px; }
.service .go { width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--navy); display: grid; place-items: center; transition: .3s; flex: none; }
.service:hover .go { background: var(--emerald); color: #fff; transform: rotate(-45deg); }

/* Почему ERA: инфографика «цена в смете = цена в счёте» */
.why { background: var(--sand); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.why-list { display: grid; gap: 22px; margin-top: 34px; }
.why-item { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start; }
.why-item .ic { width: 52px; height: 52px; border-radius: 16px; background: #fff; display: grid; place-items: center; }
.why-item .ic svg { width: 26px; height: 26px; stroke: var(--emerald); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.why-item h3 { font-size: 1.2rem; margin-bottom: 4px; }
.why-item p { color: var(--muted); font-size: .97rem; }
.quote-card { background: #fff; border-radius: 24px; padding: clamp(24px, 3vw, 38px); box-shadow: var(--shadow); }
.quote-card h4 { font-family: var(--serif); font-weight: 500; font-size: 1.3rem; margin-bottom: 4px; }
.quote-card > small { color: var(--muted); }
.bars { display: grid; gap: 18px; margin: 26px 0; }
.bar label { display: flex; justify-content: space-between; font-size: .9rem; font-weight: 600; margin-bottom: 7px; }
.bar .track { height: 14px; border-radius: 999px; background: var(--sand-l); overflow: hidden; }
.bar .fill { height: 100%; width: 0; border-radius: 999px; background: var(--emerald); transition: width 1.6s cubic-bezier(.2,.7,.2,1) .2s; }
.bar.navy .fill { background: var(--navy); }
.in .bar .fill { width: 100%; }
.equal { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 14px; background: #E7F1EC; font-weight: 600; font-size: .95rem; }
.equal i { width: 30px; height: 30px; border-radius: 50%; background: var(--emerald); color: #fff; display: grid; place-items: center; font-style: normal; flex: none; }

/* Карусель проектов */
.projects { overflow: hidden; }
.car-nav { display: flex; gap: 10px; }
.car-nav button { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--navy); background: transparent; color: var(--navy); font-size: 1.2rem; cursor: pointer; transition: .25s; }
.car-nav button:hover { background: var(--navy); color: #fff; }
.carousel { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px max(20px, calc((100vw - 1240px) / 2)) 10px; scroll-padding-left: max(20px, calc((100vw - 1240px) / 2)); }
.carousel::-webkit-scrollbar { display: none; }
.project { --w: min(1240px, 100vw - 40px); flex: 0 0 calc((var(--w) - 40px) / 3); scroll-snap-align: start; position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4/3; }
.project img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.project:hover img { transform: scale(1.06); }
.project figcaption { position: absolute; left: 16px; bottom: 16px; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-radius: 14px; padding: 12px 18px; }
.project figcaption b { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.15rem; line-height: 1.2; }
.project figcaption span { font-size: .82rem; color: var(--muted); }
.car-progress { height: 3px; background: var(--line); border-radius: 3px; margin-top: 26px; overflow: hidden; }
.car-progress i { display: block; height: 100%; width: 20%; background: var(--emerald); border-radius: 3px; transition: transform .2s; }

/* Шаги: инфографика */
.how { background: var(--navy); color: #fff; }
.how .eyebrow { color: var(--mint); }
.how h2 em { color: var(--mint); }
.how .lead { color: rgba(255,255,255,.72); margin-top: 14px; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 64px; position: relative; }
.steps::before, .steps::after { content: ""; position: absolute; top: 40px; left: 10%; right: 10%; height: 2px; }
.steps::before { background: rgba(255,255,255,.16); }
.steps::after { background: var(--mint); transform: scaleX(0); transform-origin: left; transition: transform 2.2s cubic-bezier(.3,.6,.2,1) .3s; }
.steps.in::after { transform: scaleX(1); }
.step { text-align: center; padding: 0 12px; position: relative; z-index: 1; }
.step .ico { width: 80px; height: 80px; border-radius: 50%; background: #fff; display: grid; place-items: center; margin: 0 auto 16px; position: relative; box-shadow: 0 0 0 8px var(--navy); }
.step .ico svg { width: 34px; height: 34px; stroke: var(--emerald); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.step .n { position: absolute; top: -6px; right: -6px; width: 28px; height: 28px; border-radius: 50%; background: var(--emerald); color: #fff; font-size: .82rem; font-weight: 700; display: grid; place-items: center; }
.step .tag { display: inline-block; font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; }
.step h3 { font-size: 1.25rem; margin-bottom: 6px; }
.step p { color: rgba(255,255,255,.72); font-size: .92rem; }

/* Отзывы */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.score { background: var(--emerald); color: #fff; border-radius: var(--r); padding: 26px 34px; display: flex; align-items: center; gap: 26px; margin-bottom: 20px; flex-wrap: wrap; }
.score b { font-family: var(--serif); font-weight: 500; font-size: clamp(3.4rem, 6vw, 5rem); line-height: .9; }
.score .stars { font-size: 1.3rem; color: #FFD27A; }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 34px; display: flex; flex-direction: column; }
.review p { font-family: var(--serif); font-size: 1.12rem; line-height: 1.45; margin: 14px 0 24px; flex: 1; }
.review cite { font-style: normal; font-weight: 600; }
.review cite span { display: block; font-weight: 400; font-size: .88rem; color: var(--muted); }

/* О нас */
.family { background: var(--sand); }
.family-grid { display: grid; grid-template-columns: minmax(0, 340px) 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.portrait { position: relative; }
.portrait img { border-radius: 24px; aspect-ratio: 1/1.1; object-fit: cover; object-position: top; width: 100%; }
.portrait .sign { position: absolute; right: -14px; bottom: 28px; background: #fff; border-radius: 16px; padding: 14px 20px; box-shadow: var(--shadow); }
.portrait .sign b { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.25rem; }
.portrait .sign span { font-size: .85rem; color: var(--muted); }
.family p { color: var(--muted); margin-top: 16px; max-width: 52ch; font-size: 1.05rem; }
.family .btn { margin-top: 28px; }

/* Районы: бегущая строка */
.areas { padding: 34px 0; background: var(--navy-d); color: #fff; overflow: hidden; }
.marquee { display: flex; gap: 0; width: max-content; animation: run 40s linear infinite; }
.marquee span { font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 2rem); padding: 0 26px; white-space: nowrap; opacity: .9; }
.marquee span::after { content: "✦"; margin-left: 52px; color: var(--mint); font-size: .7em; }
@keyframes run { to { transform: translateX(-50%); } }

/* Финальный призыв */
.final { position: relative; color: #fff; text-align: center; overflow: hidden; background: var(--navy-d); }
.final > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.final .wrap { position: relative; }
.final h2 { max-width: 16ch; margin-inline: auto; }
.final h2 em { color: var(--mint); }
.final p { opacity: .92; margin: 18px auto 32px; max-width: 46ch; font-size: 1.12rem; }
.final .cta-row { justify-content: center; }
.final small { display: block; margin-top: 24px; opacity: .85; }

/* Подвал */
footer { background: var(--navy-d); color: rgba(255,255,255,.78); padding: 60px 0 28px; font-size: .93rem; border-top: 1px solid rgba(255,255,255,.1); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
footer h4 { color: #fff; font-family: var(--serif); font-weight: 500; margin-bottom: 14px; font-size: 1.1rem; }
footer li { margin-bottom: 8px; }
footer a:hover { color: #fff; text-decoration: underline; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 20px; font-size: .84rem; opacity: .7; }

/* Круглая кнопка WhatsApp */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; box-shadow: 0 10px 26px rgba(37,211,102,.45); transition: .2s; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ping 2.4s ease-out infinite; }
@keyframes ping { from { transform: scale(1); opacity: .7; } to { transform: scale(1.7); opacity: 0; } }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; fill: #fff; position: relative; }

/* Узкие экраны */
@media (max-width: 1120px) {
  .nav-phone { display: none; }
  .menu { gap: 18px; font-size: .9rem; }
}
@media (max-width: 980px) {
  .menu .home { display: none; }
  .menu { gap: 14px; font-size: .86rem; }
  .logo img { height: 32px; }
  .logo span { display: none; }
  .nav { padding-left: 18px; height: 64px; }
  .steps { grid-template-columns: repeat(5, 1fr); }
  .step { padding: 0 5px; }
  .step .ico { width: 64px; height: 64px; }
  .steps::before, .steps::after { top: 32px; }
  .step .tag { font-size: .58rem; padding: 3px 7px; letter-spacing: .05em; }
  .step h3 { font-size: 1.05rem; }
  .step p { font-size: .82rem; }
}
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .family-grid { grid-template-columns: minmax(0, 240px) 1fr; gap: 28px; }
  .reviews-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .portrait { max-width: 300px; }
  .project { flex-basis: calc((var(--w) - 20px) / 2); }
  .service p { max-height: 80px; margin-bottom: 10px; }
}
@media (max-width: 780px) {
  .nav-right .btn { display: none; }
}
@media (max-width: 640px) {
  header { top: 10px; }
  .logo span { display: block; }
  .burger { display: flex; align-items: center; gap: 10px; cursor: pointer; padding: 9px 14px; border: 1.5px solid var(--navy); border-radius: 999px; font-weight: 600; font-size: .9rem; }
  .burger i { display: grid; gap: 4px; }
  .burger i span { width: 18px; height: 2px; background: var(--navy); display: block; }
  .menu { display: none; position: absolute; top: 74px; left: 20px; right: 20px; background: #fff; border-radius: 22px; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 22px 18px; box-shadow: var(--shadow); max-height: calc(100vh - 110px); overflow: auto; }
  #nav-toggle:checked ~ .menu { display: flex; }
  .menu .home { display: block; }
  .menu > li > a { padding: 12px 0; font-size: 1.05rem; }
  .caret { display: none; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 6px 14px; }
  .dropdown a { padding: 8px 0; color: var(--muted); }
  .nav { position: relative; }

  .hero-content { bottom: 120px; }
  .dots { display: none; }
  .trust-card { grid-template-columns: repeat(2, 1fr); }
  .trust-item { border-left: 0; border-top: 1px solid var(--line); padding: 20px 10px; }
  .trust-item:nth-child(-n+2) { border-top: 0; }
  .trust-item:nth-child(even) { border-left: 1px solid var(--line); }
  .badge { flex-direction: column; text-align: center; gap: 6px; }
  .services-grid, .reviews-grid { grid-template-columns: 1fr; }
  .project { flex-basis: 82vw; }
  .service { aspect-ratio: 4/3.4; }
  .steps { grid-template-columns: 1fr; gap: 30px; max-width: 380px; margin-inline: auto; }
  .steps::before, .steps::after { display: none; }
  .cta-row .btn { width: 100%; }
  .foot-grid { grid-template-columns: 1fr; }
  .portrait .sign { right: 10px; }
  .family-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .slide.on img, .marquee, .wa-float::before { animation: none; }
}

/* ===== Страницы услуг ===== */
.page-hero { padding: 0; position: relative; height: 78vh; min-height: 540px; max-height: 760px; color: #fff; overflow: hidden; background: var(--navy-d); }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: drift 14s ease-out forwards; }
.page-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background:
    radial-gradient(95% 90% at 0% 100%, rgba(12,24,48,.92) 0%, rgba(12,24,48,.7) 40%, rgba(12,24,48,0) 75%),
    linear-gradient(180deg, rgba(12,24,48,.3) 0%, rgba(12,24,48,0) 26%); }
.page-hero .hero-content { bottom: clamp(100px, 14vh, 150px); }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 4.2rem); max-width: 16ch; }
.page-hero h1 em { color: #fff; }
.crumbs { font-size: .85rem; opacity: .85; margin-bottom: 16px; }
.crumbs a:hover { text-decoration: underline; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.split img { border-radius: 24px; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split p { color: var(--muted); margin-top: 16px; font-size: 1.05rem; max-width: 54ch; }
.checks { display: grid; gap: 12px; margin-top: 26px; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.checks li::before { content: "✓"; width: 26px; height: 26px; border-radius: 50%; background: #E7F1EC; color: var(--emerald); font-weight: 700; display: grid; place-items: center; font-size: .85rem; }

/* Типы работ с мини-схемами домов */
.types { background: var(--sand); }
.types h3.group { font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--emerald); margin: 44px 0 16px; }
.types-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.type { background: #fff; border-radius: var(--r); padding: 22px; transition: .3s; }
.type:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.type svg { width: 100%; height: auto; display: block; margin-bottom: 12px; }
.type svg .base { fill: #fff; stroke: var(--navy); stroke-width: 2; stroke-linejoin: round; }
.type svg .add { fill: var(--emerald); stroke: var(--emerald-d); stroke-width: 2; stroke-linejoin: round; }
.type svg .ground { stroke: var(--line); stroke-width: 2; }
.type h4 { font-family: var(--serif); font-weight: 500; font-size: 1.2rem; margin-bottom: 4px; }
.type p { font-size: .92rem; color: var(--muted); }

/* Что входит */
.incl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.incl { border: 1px solid var(--line); border-radius: var(--r); padding: 26px; background: #fff; }
.incl .ic { width: 48px; height: 48px; border-radius: 14px; background: #E7F1EC; display: grid; place-items: center; margin-bottom: 14px; }
.incl .ic svg { width: 24px; height: 24px; stroke: var(--emerald); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.incl h3 { font-size: 1.2rem; margin-bottom: 6px; }
.incl p { font-size: .95rem; color: var(--muted); }

/* Цены */
.prices { background: var(--navy); color: #fff; }
.prices .eyebrow { color: var(--mint); }
.prices h2 em { color: var(--mint); }
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; }
.price-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r); padding: 30px; }
.price-card h3 { font-size: 1.4rem; margin-bottom: 4px; }
.price-card .from { font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.1; margin: 8px 0 4px; }
.price-card .from small { font-family: var(--sans); font-size: .9rem; opacity: .7; }
.price-card > p { opacity: .75; font-size: .95rem; }
.price-rows { margin-top: 18px; border-top: 1px solid rgba(255,255,255,.14); }
.price-rows li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: .96rem; }
.price-rows li span:last-child { font-weight: 600; white-space: nowrap; }
.price-note { margin-top: 22px; opacity: .7; font-size: .9rem; max-width: 70ch; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font-family: var(--serif); font-size: 1.22rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--navy); display: grid; place-items: center; font-family: var(--sans); font-size: 1.1rem; transition: .25s; }
.faq details[open] summary::after { content: "–"; background: var(--emerald); border-color: var(--emerald); color: #fff; }
.faq details p { color: var(--muted); padding: 0 44px 22px 0; max-width: 64ch; }

/* Форма заявки */
.enquiry { background: var(--sand); }
.enquiry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.enquiry p.lead { margin-top: 14px; }
.contact-list { margin-top: 26px; display: grid; gap: 10px; font-weight: 500; }
.form { background: #fff; border-radius: 24px; padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow); display: grid; gap: 14px; }
.form label { font-size: .85rem; font-weight: 600; display: grid; gap: 6px; }
.form input, .form select, .form textarea { font: inherit; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--sand-l); color: var(--navy); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--emerald); background: #fff; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.form .btns .btn { flex: 1; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { filter: brightness(.95); }
.form small { color: var(--muted); font-size: .82rem; }

@media (max-width: 900px) {
  .split, .faq-grid, .enquiry-grid, .price-grid { grid-template-columns: 1fr; }
  .types-grid { grid-template-columns: repeat(2, 1fr); }
  .incl-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .incl-grid, .form .row { grid-template-columns: 1fr; }
  .types-grid { gap: 10px; }
  .type { padding: 16px; }
}

/* На телефоне текст занимает почти весь первый экран, поэтому затемнение равномерное */
@media (max-width: 640px) {
  .hero::after, .page-hero::after { background: linear-gradient(180deg, rgba(12,24,48,.35) 0%, rgba(12,24,48,.6) 40%, rgba(12,24,48,.88) 100%); }
  .page-hero { height: auto; min-height: 600px; }
}

/* Объёмные иллюстрации типов */
.type svg { margin: -6px 0 8px; }

/* Три способа начать */
.ways { padding-top: 0; }
.ways-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.way { border: 1.5px solid var(--line); border-radius: var(--r); padding: 30px; background: #fff; display: flex; flex-direction: column; gap: 8px; transition: .3s; }
.way:hover { border-color: var(--emerald); transform: translateY(-5px); box-shadow: var(--shadow); }
.way .n { font-family: var(--serif); color: var(--emerald); font-size: 1.1rem; }
.way h3 { font-size: 1.45rem; }
.way p { color: var(--muted); flex: 1; }
.way .more { color: var(--emerald); font-weight: 600; margin-top: 8px; }
.way:hover .arr { display: inline-block; transform: translateX(4px); }
.arr { display: inline-block; transition: transform .25s; }

/* Полоса с призывом */
.cta-band { margin-top: 40px; background: var(--navy); color: #fff; border-radius: 24px; padding: clamp(24px, 3vw, 36px) clamp(24px, 4vw, 44px); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 6px; }
.cta-band p { opacity: .8; max-width: 52ch; }
.cta-band.dark { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); }

/* Чертежи и разрешения */
.appr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.appr { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.appr .ic { width: 46px; height: 46px; border-radius: 14px; background: #E7F1EC; display: grid; place-items: center; margin-bottom: 12px; }
.appr .ic svg { width: 24px; height: 24px; stroke: var(--emerald); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.appr h3 { font-size: 1.15rem; margin-bottom: 4px; }
.appr p { font-size: .93rem; color: var(--muted); margin: 0; }

/* Дорожная карта */
.road { background: var(--navy); color: #fff; }
.road .eyebrow { color: var(--mint); }
.road .eyebrow::before { display: none; }
.road h2 em { color: var(--mint); }
.road .lead { color: rgba(255,255,255,.72); }
.roadmap { position: relative; margin-top: 60px; display: grid; gap: 26px; }
.road-line { position: absolute; left: 50%; top: 0; bottom: 0; width: 4px; margin-left: -2px; border-radius: 4px; background: repeating-linear-gradient(180deg, rgba(255,255,255,.22) 0 10px, transparent 10px 20px); }
.road-line i { position: absolute; left: 0; top: 0; width: 100%; height: var(--p, 0%); background: var(--mint); border-radius: 4px; transition: height .15s linear; }
.stop { display: grid; grid-template-columns: 1fr 64px 1fr; align-items: center; position: relative; }
.stop .node { grid-column: 2; grid-row: 1; justify-self: center; width: 48px; height: 48px; border-radius: 50%; background: var(--navy); border: 3px solid rgba(255,255,255,.3); display: grid; place-items: center; font-family: var(--serif); font-size: 1.2rem; z-index: 1; transition: .4s; }
.stop.in .node { background: var(--mint); border-color: var(--mint); color: var(--navy-d); }
.stop .card { grid-column: 1; grid-row: 1; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r); padding: 22px; display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; }
.stop:nth-child(odd) .card { grid-column: 3; }
.stop .ic { width: 52px; height: 52px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.stop .ic svg { width: 26px; height: 26px; stroke: var(--emerald); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.stop .tag { display: inline-block; font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--mint); margin-bottom: 4px; }
.stop h3 { font-size: 1.3rem; margin-bottom: 4px; }
.stop p { color: rgba(255,255,255,.72); font-size: .95rem; }

@media (max-width: 900px) {
  .ways-grid { grid-template-columns: 1fr; }
  .road-line { left: 24px; }
  .stop { grid-template-columns: 48px 1fr; gap: 16px; }
  .stop .node { grid-column: 1; }
  .stop .card, .stop:nth-child(odd) .card { grid-column: 2; }
}
@media (max-width: 640px) {
  .appr-grid { grid-template-columns: 1fr; }
  .cta-band .btn { width: 100%; }
  .stop .card { grid-template-columns: 1fr; }
}

/* ===== Галерея проектов ===== */
.gallery { padding-top: 0; }
.gal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gal { display: flex; flex-direction: column; gap: 8px; }
.gal-main { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 4/3; cursor: zoom-in; background: var(--sand); }
.gal-main img, .gal-thumbs img, .gal-one img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.gal-main:hover img, .gal-one:hover img { transform: scale(1.06); }
.gal-main .count { position: absolute; right: 12px; bottom: 12px; background: rgba(12,24,48,.78); color: #fff; font-size: .8rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(6px); }
.gal-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.gal-thumbs button { padding: 0; border: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; cursor: zoom-in; background: var(--sand); }
.gal-thumbs button:hover img { transform: scale(1.08); }
.gal h3 { font-size: 1.25rem; margin-top: 8px; }
.gal p { color: var(--muted); font-size: .93rem; }
.gal-singles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gal-one { padding: 0; border: 0; border-radius: 14px; overflow: hidden; aspect-ratio: 4/3; cursor: zoom-in; background: var(--sand); }
.gal-one:nth-child(5n+1) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gal-group { font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--emerald); margin: 44px 0 16px; }

/* Просмотр фото на весь экран */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(8,16,32,.94); display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1400px, 92vw); max-height: 84vh; border-radius: 12px; object-fit: contain; }
.lightbox button { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.5); background: rgba(255,255,255,.08); color: #fff; font-size: 1.3rem; cursor: pointer; transition: .2s; }
.lightbox button:hover { background: #fff; color: var(--navy); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: #fff; font-size: .9rem; opacity: .85; }

@media (max-width: 900px) {
  .gal-grid { grid-template-columns: repeat(2, 1fr); }
  .gal-singles { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .gal-grid { grid-template-columns: 1fr; }
  .gal-singles { grid-template-columns: repeat(2, 1fr); }
  .lb-prev, .lb-next { top: auto; bottom: 60px; transform: none; }
}

/* ===== Completed projects, About, Contact ===== */
.page-hero.short { height: 56vh; min-height: 420px; max-height: 560px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filters button { font: inherit; font-weight: 600; font-size: .92rem; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; transition: .2s; }
.filters button:hover { border-color: var(--navy); }
.filters button.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.filters button span { opacity: .6; margin-left: 4px; font-weight: 500; }
.gal.hide { display: none; }
.featured { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; margin-bottom: 44px; align-items: stretch; }
.featured .gal-main { aspect-ratio: auto; min-height: 420px; height: 100%; }
.featured .side { display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.featured .gal-thumbs { grid-template-columns: repeat(2, 1fr); }
.featured h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.value { border-top: 2px solid var(--emerald); padding-top: 18px; }
.value b { font-family: var(--serif); font-weight: 500; font-size: 2.2rem; color: var(--emerald); display: block; line-height: 1; margin-bottom: 10px; }
.value h3 { font-size: 1.2rem; margin-bottom: 6px; }
.value p { color: var(--muted); font-size: .95rem; }
.cover-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.cover { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; text-align: center; }
.cover b { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.5rem; margin-bottom: 4px; }
.cover span { color: var(--muted); font-size: .92rem; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 20px; }
.ccard { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; gap: 6px; transition: .3s; }
a.ccard:hover { border-color: var(--emerald); transform: translateY(-4px); box-shadow: var(--shadow); }
.ccard .ic { width: 48px; height: 48px; border-radius: 14px; background: #E7F1EC; display: grid; place-items: center; margin-bottom: 8px; }
.ccard .ic svg { width: 24px; height: 24px; stroke: var(--emerald); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ccard small { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.ccard b { font-family: var(--serif); font-weight: 500; font-size: 1.35rem; }
.ccard span { color: var(--muted); font-size: .93rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips span { background: #fff; border: 1px solid var(--line); padding: 7px 15px; border-radius: 999px; font-size: .9rem; }
@media (max-width: 900px) {
  .featured { grid-template-columns: 1fr; }
  .featured .gal-main { min-height: 300px; }
  .values, .cover-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-cards { grid-template-columns: 1fr; }
}
@media (max-width: 640px) { .values, .cover-grid { grid-template-columns: 1fr; } }

/* ===== Блог ===== */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: .3s; }
.post:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post .pic { aspect-ratio: 16/10; overflow: hidden; }
.post .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.post:hover .pic img { transform: scale(1.06); }
.post .body { padding: 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post .meta, .article .meta { font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--emerald); }
.post h3 { font-size: 1.4rem; }
.post p { color: var(--muted); font-size: .95rem; flex: 1; }
.post .more { color: var(--emerald); font-weight: 600; font-size: .95rem; }
.post.lead-post { grid-column: 1 / -1; flex-direction: row; }
.post.lead-post .pic { flex: 1.2; aspect-ratio: auto; min-height: 340px; }
.post.lead-post .body { flex: 1; padding: clamp(24px, 4vw, 48px); justify-content: center; }
.post.lead-post h3 { font-size: clamp(1.7rem, 3vw, 2.5rem); }

.article { padding-top: clamp(40px, 5vw, 64px); }
.article .wrap { display: grid; grid-template-columns: minmax(0, 720px) 320px; gap: clamp(32px, 6vw, 80px); align-items: start; justify-content: space-between; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: 44px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p { font-size: 1.08rem; line-height: 1.75; margin-bottom: 16px; color: #2B3850; }
.prose ul { margin: 0 0 18px; display: grid; gap: 10px; }
.prose li { position: relative; padding-left: 26px; font-size: 1.05rem; line-height: 1.65; color: #2B3850; }
.prose li::before { content: ""; position: absolute; left: 4px; top: .68em; width: 8px; height: 8px; border-radius: 50%; background: var(--emerald); }
.prose a { color: var(--emerald); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose .lede { font-family: var(--serif); font-size: 1.4rem; line-height: 1.5; color: var(--navy); margin-bottom: 28px; }
.prose table { width: 100%; border-collapse: collapse; margin: 6px 0 22px; font-size: 1rem; }
.prose th, .prose td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); }
.prose th { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.prose td:last-child { font-weight: 600; white-space: nowrap; }
.prose .figs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 10px 0 24px; }
.prose .figs div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px; text-align: center; font-size: .85rem; font-weight: 600; }
.aside { position: sticky; top: 110px; display: grid; gap: 16px; }
.keybox { background: var(--sand); border-radius: var(--r); padding: 26px; }
.keybox h3 { font-size: 1.2rem; margin-bottom: 12px; }
.keybox li { position: relative; padding-left: 24px; margin-bottom: 10px; font-size: .95rem; }
.keybox li::before { content: "✓"; position: absolute; left: 0; color: var(--emerald); font-weight: 700; }
.sidecta { background: var(--navy); color: #fff; border-radius: var(--r); padding: 26px; }
.sidecta h3 { font-size: 1.3rem; margin-bottom: 8px; }
.sidecta p { opacity: .8; font-size: .95rem; margin-bottom: 16px; }
.sidecta .btn { width: 100%; }
@media (max-width: 900px) {
  .posts { grid-template-columns: repeat(2, 1fr); }
  .post.lead-post { flex-direction: column; }
  .post.lead-post .pic { min-height: 240px; }
  .article .wrap { grid-template-columns: 1fr; }
  .aside { position: static; }
  .prose .figs { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) { .posts { grid-template-columns: 1fr; } }

/* ===== Reviews, FAQ, Privacy ===== */
.rev-cols { columns: 3; column-gap: 20px; }
.rev-cols .review { break-inside: avoid; margin-bottom: 20px; display: block; }
.rev-cols .review p { font-size: 1.08rem; }
.src-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.faq-page .wrap { display: grid; grid-template-columns: 240px 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-nav { position: sticky; top: 110px; display: grid; gap: 4px; }
.faq-nav a { padding: 10px 14px; border-radius: 12px; font-weight: 500; }
.faq-nav a:hover { background: var(--sand); color: var(--emerald); }
.faq-group { margin-bottom: 52px; scroll-margin-top: 110px; }
.faq-group h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 10px; }
.legal { max-width: 760px; }
@media (max-width: 900px) {
  .rev-cols { columns: 2; }
  .faq-page .wrap { grid-template-columns: 1fr; }
  .faq-nav { position: static; display: flex; flex-wrap: wrap; gap: 8px; }
  .faq-nav a { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px; font-size: .9rem; }
}
@media (max-width: 640px) { .rev-cols { columns: 1; } }

/* ===== Баннер cookies, страница «спасибо», 404 ===== */
.cookie { position: fixed; left: 20px; bottom: 20px; z-index: 90; max-width: 420px; background: #fff; border-radius: 20px; box-shadow: var(--shadow); padding: 22px; display: none; }
.cookie.show { display: block; }
.cookie p { font-size: .92rem; color: var(--muted); margin-bottom: 14px; }
.cookie p a { color: var(--emerald); font-weight: 600; text-decoration: underline; }
.cookie .row { display: flex; gap: 10px; }
.cookie .btn { flex: 1; padding: 11px 16px; font-size: .92rem; }
.center-page { min-height: 78vh; display: grid; place-items: center; text-align: center; padding-top: 150px; }
.center-page .tick { width: 84px; height: 84px; border-radius: 50%; background: #E7F1EC; color: var(--emerald); display: grid; place-items: center; font-size: 2.4rem; margin: 0 auto 24px; }
.center-page h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 14px; }
.center-page p { color: var(--muted); font-size: 1.12rem; max-width: 52ch; margin: 0 auto 12px; }
.center-page .cta-row { justify-content: center; margin-top: 26px; }

/* ===== Страницы районов ===== */
.area-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.area-facts div { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.area-facts small { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; display: block; margin-bottom: 4px; }
.area-facts b { font-family: var(--serif); font-weight: 500; font-size: 1.2rem; }
.svc-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.svc-link { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; gap: 6px; transition: .3s; }
.svc-link:hover { border-color: var(--emerald); transform: translateY(-4px); box-shadow: var(--shadow); }
.svc-link h3 { font-size: 1.25rem; }
.svc-link p { color: var(--muted); font-size: .94rem; flex: 1; }
.svc-link .price { font-weight: 600; font-size: .92rem; }
.svc-link .more { color: var(--emerald); font-weight: 600; font-size: .92rem; }
.area-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.area-card { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4/3; color: #fff; display: block; }
.area-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.area-card:hover img { transform: scale(1.07); }
.area-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,24,48,0) 30%, rgba(12,24,48,.85) 100%); }
.area-card div { position: absolute; inset: auto 0 0 0; padding: 18px; z-index: 1; }
.area-card b { font-family: var(--serif); font-weight: 500; font-size: 1.4rem; display: block; }
.area-card span { font-size: .85rem; opacity: .9; }
.near { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.near a { background: #fff; border: 1px solid var(--line); padding: 8px 16px; border-radius: 999px; font-size: .92rem; font-weight: 500; transition: .2s; }
.near a:hover { border-color: var(--emerald); color: var(--emerald); }
@media (max-width: 900px) { .area-facts, .svc-list { grid-template-columns: 1fr 1fr; } .area-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .area-facts, .svc-list { grid-template-columns: 1fr; } }
