/* SRT — стили сайта. Фирменная палитра (Дима, 2026-10-08): основной #17232D · текст #F7F5F0 · элементы #B89B72 */
:root {
  --ink: #17232D;          /* основной — тёмный фон и текст на светлом */
  --ink-2: #4c5864;
  --bg: #F7F5F0;           /* фирменный светлый */
  --surface: #ffffff;
  --line: #e4ddd0;
  --dark: #17232D;
  --light: #F7F5F0;
  --accent: #B89B72;       /* фирменное золото — кнопки, элементы, акценты на тёмном */
  --accent-hover: #cbb18b;
  --accent-ink: #7F633D;   /* то же золото глубже — мелкий текст и ссылки на светлом (контраст ≥ 4.5) */
  --on-accent: #17232D;
  --radius: 14px;
  --cut: 64px;             /* высота «ската» между блоками */
  --wrap: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font: 17px/1.6 var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--accent-ink); }
/* Типографика: заголовки делятся на строки поровну, абзацы — без «сирот» в последней строке */
h1, h2, h3 { margin: 0; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(30px, 4vw, 50px); line-height: 1.1; margin-bottom: 20px; }
h2 { font-size: clamp(24px, 2.8vw, 36px); line-height: 1.15; margin-bottom: 16px; }
/* Заголовки страниц и разделов — прописными (решение Димы 2026-10-08) */
h1, h2, .svc h3 { text-transform: uppercase; letter-spacing: .01em; font-weight: 800; }
h3 { font-size: 20px; line-height: 1.3; letter-spacing: -.01em; margin-bottom: 10px; }
p { margin: 0 0 16px; }
p, li, summary, .lead { text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.muted { color: var(--ink-2); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 12.5px; font-weight: 700; line-height: 1.4; color: var(--accent-ink); margin-bottom: 14px; }
.eyebrow::before { content: ""; display: inline-block; width: 28px; height: 2px; background: currentColor; vertical-align: middle; margin: -3px 12px 0 0; }
.hero .eyebrow, .sec-dark .eyebrow, .band .eyebrow, .page-head.photo .eyebrow, .cta-band .eyebrow { color: var(--accent); }
.hero a:not(.btn), .sec-dark a:not(.btn), .page-head.photo a:not(.btn), .foot a { color: var(--light); }

/* Кнопки */
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: var(--on-accent); text-decoration: none; font-weight: 700; padding: 15px 26px; border-radius: 999px; border: 2px solid var(--accent); transition: background .15s, border-color .15s; }
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-ghost:hover { background: rgba(255,255,255,.08); border-color: currentColor; }
.btn-sm { padding: 9px 18px; font-size: 15px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 16px; }
.btn { white-space: nowrap; text-transform: uppercase; letter-spacing: .07em; font-size: 15px; }
.btn-ghost, .btn-line { text-transform: none; letter-spacing: 0; font-size: 16px; }
.btn-sm { font-size: 13px; }
.note { font-size: 14px; line-height: 1.5; color: var(--ink-2); max-width: 560px; }
.note a { color: inherit; }
.br-desk { display: none; }
@media (min-width: 761px) { .br-desk { display: inline; } }

/* Шапка — тёмная, золотой логотип */
.top { position: sticky; top: 0; z-index: 20; background: rgba(23,35,45,.96); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(184,155,114,.25); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--light); }
.brand img { width: 50px; height: 50px; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.2; }
.brand-txt b { font-size: 15px; letter-spacing: .02em; }
.brand-txt small { font-size: 12px; color: var(--accent); }
.menu { display: flex; align-items: center; gap: 22px; }
.menu a { color: var(--light); text-decoration: none; font-size: 13.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }
.menu a:hover { color: var(--accent); }
.menu .btn { color: var(--on-accent); animation: cta-pulse 2.8s ease-out infinite; }
.menu .btn:hover { animation-play-state: paused; }
@keyframes cta-pulse {
  0% { box-shadow: 0 0 0 0 rgba(184,155,114,.6); transform: scale(1); }
  12% { transform: scale(1.04); }
  24% { transform: scale(1); }
  70%, 100% { box-shadow: 0 0 0 14px rgba(184,155,114,0); transform: scale(1); }
}
.menu .lang { font-weight: 700; border: 1px solid rgba(184,155,114,.45); border-radius: 8px; padding: 4px 9px; }
.burger { display: none; background: none; border: 1px solid rgba(184,155,114,.45); border-radius: 8px; padding: 8px 14px; font: inherit; font-size: 15px; color: var(--light); cursor: pointer; }

/* Секции */
.sec { padding: 88px 0; }
.sec-alt { background: var(--bg); }
.sec-dark { background: var(--dark); color: var(--light); }
.sec-dark .muted { color: #b5bec8; }
.sec-head { max-width: 680px; margin-bottom: 48px; }
.sec-head h2 { margin-bottom: 14px; }
.sec-head p { font-size: 18px; line-height: 1.6; }

/* Первый экран — фото на всю ширину */
.hero { position: relative; color: #fff; padding: 110px 0 120px; min-height: 660px; display: flex; align-items: center;
  background: linear-gradient(90deg, rgba(23,35,45,.94) 0%, rgba(23,35,45,.78) 42%, rgba(23,35,45,.15) 100%), url(/img/hero-villa.jpg) center / cover no-repeat; }
.hero > .wrap { width: 100%; }
.hero-in { max-width: 940px; }
.hero h1 { font-size: clamp(30px, 4.4vw, 54px); }
.hero p.lead { font-size: 19px; line-height: 1.65; color: #dbe2e8; max-width: 620px; margin-bottom: 0; }
.hero .note { color: #b9c3cc; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; padding: 0; list-style: none; font-size: 15px; color: #e6ebef; }
.facts li { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 6px 14px; backdrop-filter: blur(4px); }
.facts li::before { content: "✓"; color: var(--accent); font-weight: 800; margin-right: 8px; }

/* Заглушки под фото */
.ph { position: relative; aspect-ratio: 4/3; border-radius: var(--radius); background: repeating-linear-gradient(135deg, #d9d2c4 0 14px, #e4ded2 14px 28px); display: grid; place-items: center; overflow: hidden; }
.ph span { background: rgba(24,33,43,.78); color: #fff; font-size: 13px; padding: 6px 12px; border-radius: 999px; text-align: center; max-width: 85%; }
.sec-dark .ph { background: repeating-linear-gradient(135deg, #2a3643 0 14px, #313e4c 14px 28px); }

/* Фото */
.pic { width: 100%; height: auto; border-radius: var(--radius); object-fit: cover; }
.card .pic { width: calc(100% + 52px); max-width: none; margin: -26px -26px 22px; aspect-ratio: 16/10; border-radius: var(--radius) var(--radius) 0 0; }
.prose .pic { aspect-ratio: 16/9; margin: 0 0 1.6em; }
.side .pic { aspect-ratio: 4/3; margin-bottom: 24px; }

/* Услуги — крупные блоки «фото + выгода» */
.svc { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; margin-bottom: 104px; }
.svc:last-child { margin-bottom: 0; }
.svc:nth-child(even) .svc-media { order: 2; }
.svc-media { position: relative; }
.svc-media .pic { aspect-ratio: 5/4; border-radius: 22px; box-shadow: 0 24px 60px rgba(24,33,43,.16); }
.svc-media .badge { position: absolute; left: -16px; top: 28px; background: var(--accent); color: var(--on-accent); font-weight: 800; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; padding: 10px 18px; border-radius: 12px; box-shadow: 0 10px 24px rgba(23,35,45,.25); }
.svc h3 { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.18; margin-bottom: 16px; }
.svc .pain { font-size: 18px; line-height: 1.65; color: var(--ink-2); margin-bottom: 20px; }
.svc .ticks { margin-bottom: 18px; }
.svc .ticks li { border-bottom: 0; padding: 5px 0 5px 30px; line-height: 1.5; }
.svc .ticks li::before { top: 12px; }
.fit { margin: 6px 0 4px; font-size: 14px; color: var(--ink-2); }
.chip { display: inline-block; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 5px 13px; margin: 0 6px 8px 0; font-size: 14px; color: var(--ink); }
.svc-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.btn-line { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-line:hover { background: var(--surface); border-color: var(--ink); }
.helper { margin-top: 72px; text-align: center; color: var(--ink-2); }

/* Вводный блок услуг — отдельная плашка в оттенке фирменного золота + оглавление */
.svc-intro { background: #EADFCF; padding: 88px 0 72px; }
.svc-intro .eyebrow { color: #6B5333; }
.intro-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: end; }
.svc-intro h2 { font-size: clamp(26px, 3.2vw, 42px); margin: 0; }
.rule { display: block; width: 88px; height: 4px; background: var(--accent); border-radius: 2px; margin-top: 26px; }
.intro-lead { font-size: 18px; line-height: 1.65; color: #3d4954; margin-bottom: 26px; }
.svc-index a { display: flex; align-items: center; gap: 18px; padding: 15px 4px; border-top: 1px solid rgba(23,35,45,.14); color: var(--ink); text-decoration: none; font-weight: 600; transition: color .15s, padding .15s; }
.svc-index a:last-child { border-bottom: 1px solid rgba(23,35,45,.14); }
.svc-index b { font-size: 14px; color: #6B5333; letter-spacing: .06em; min-width: 26px; }
.svc-index span { flex: 1; }
.svc-index i { font-style: normal; color: #6B5333; transition: transform .15s; }
.svc-index a:hover { color: #6B5333; padding-left: 10px; }
.svc-index a:hover i { transform: translateY(3px); }
.svc-list { padding-top: 96px; background: linear-gradient(#EADFCF, var(--bg) 220px); }
.svc { scroll-margin-top: 100px; }

/* Шапки страниц без фото — тёмные, в стиле первого экрана */
.page-head:not(.photo) { background: radial-gradient(1200px 400px at 85% 0%, rgba(184,155,114,.16), transparent 60%), var(--dark); color: var(--light); border: 0; }
.page-head:not(.photo) .lead { color: #c9d1d8; }
.page-head:not(.photo) .crumbs, .page-head:not(.photo) .crumbs a { color: #aab4bd; }
.page-head:not(.photo) .eyebrow { color: var(--accent); }
.page-head.chevron { padding-bottom: calc(56px + var(--cut)); }

/* Переходы между блоками — «скаты крыши», как в логотипе */
.chevron, .slant-top, .slant-bottom, .slant-both { position: relative; z-index: 2; }
/* конёк: нижний край уголком вниз; следующий блок подложен под срез, по срезу — золотая линия */
.chevron { clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), 50% 100%, 0 calc(100% - var(--cut))); padding-bottom: calc(120px + var(--cut)); }
.chevron + section { position: relative; z-index: 1; margin-top: calc(-1 * var(--cut)); padding-top: calc(88px + var(--cut)); }
.chevron + section::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: calc(var(--cut) + 3px); background: var(--accent);
  clip-path: polygon(0 0, 50% calc(100% - 3px), 100% 0, 100% 3px, 50% 100%, 0 3px); }
.slant-top { clip-path: polygon(0 var(--cut), 100% 0, 100% 100%, 0 100%); margin-top: calc(-1 * var(--cut) / 2); }
.slant-bottom { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - var(--cut))); }
.slant-both { clip-path: polygon(0 var(--cut), 100% 0, 100% calc(100% - var(--cut)), 0 100%); }
.slant-top.sec, .slant-both.sec { padding-top: calc(88px + var(--cut)); }
.slant-bottom.sec, .slant-both.sec { padding-bottom: calc(88px + var(--cut)); }
.band.slant-top { padding-top: calc(130px + var(--cut)); }
/* полоса с фото перетекает в тёмный блок «Почему SRT» без шва */
.band + .sec-dark { margin-top: -1px; }
/* контакты — тёмные, перетекают в подвал */
#contacts.sec-dark .contacts a { color: var(--light); }
#contacts.sec-dark .contacts b { color: #aab4bd; }
#contacts.sec-dark { padding-bottom: 72px; }
#contacts + .foot, main:has(#contacts) + .foot { border-top-color: rgba(184,155,114,.18); }

/* Появление блоков при прокрутке (класс ставит main.js; без JS всё видно сразу) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .menu .btn, .wa-float, .wa-float::before, .wa-float::after { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Широкая полоса с фото */
.band { color: #fff; padding: 130px 0; text-align: center;
  background: linear-gradient(rgba(23,35,45,.35), rgba(23,35,45,.55) 65%, var(--dark)), url(/img/band-tropics.jpg) center / cover no-repeat; }
.band h2 { font-size: clamp(26px, 3.4vw, 42px); }
.band h2 { max-width: 820px; margin: 0 auto 18px; }
.band p { font-size: 19px; line-height: 1.65; color: #e1e7ec; max-width: 700px; margin: 0 auto 32px; }

/* Шапки страниц услуг с фото */
.page-head.photo { color: #fff; border: 0; padding: 96px 0 72px; background-position: center; background-size: cover; }
.page-head.photo .lead { color: #dbe2e8; }
.page-head.photo .crumbs, .page-head.photo .note { color: #b9c3cc; }
.page-head.ph-quick { background-image: linear-gradient(90deg, rgba(23,35,45,.9) 0%, rgba(23,35,45,.7) 40%, rgba(23,35,45,.2) 100%), url(/img/svc-quick.jpg); }
.page-head.ph-turnkey { background-image: linear-gradient(90deg, rgba(23,35,45,.9) 0%, rgba(23,35,45,.7) 40%, rgba(23,35,45,.2) 100%), url(/img/svc-turnkey.jpg); }
.page-head.ph-construction { background-image: linear-gradient(90deg, rgba(23,35,45,.9) 0%, rgba(23,35,45,.7) 40%, rgba(23,35,45,.2) 100%), url(/img/svc-construction.jpg); }

/* Лента «Объекты в работе» — крутится сама, пауза при наведении */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.track { display: flex; width: max-content; animation: works-scroll 30s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.slide { flex: none; margin-right: 18px; }
.slide .ph { height: 340px; width: 453px; border-radius: var(--radius); }
/* фото ленты: одна высота, ширина по самому кадру — вертикальные и горизонтальные без обрезки */
.slide img { height: 440px; width: auto; max-width: none; border-radius: var(--radius); }
@keyframes works-scroll { to { transform: translateX(-50%); } }
@media (max-width: 600px) { .slide .ph { height: 240px; width: 320px; } .slide img { height: 340px; } .slide { margin-right: 12px; } }
@media (prefers-reduced-motion: reduce) {
  .track { animation: none; }
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .slide[aria-hidden="true"] { display: none; }
}

/* Карточки */
.grid { display: grid; gap: 22px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; }
.sec-alt .card { background: var(--bg); }
.card .ph { margin: -26px -26px 22px; border-radius: var(--radius) var(--radius) 0 0; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-2); line-height: 1.6; margin-bottom: 18px; }
.card .more { margin-top: auto; display: inline-flex; align-items: center; gap: 14px; align-self: flex-start; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--ink); text-decoration: none; }
.card .more::after { content: "→"; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: var(--dark); font-size: 18px; letter-spacing: 0; transition: transform .25s, background .25s; }
a.card:hover .more::after { transform: translateX(6px); background: var(--dark); color: var(--accent); }
.why .card .more, .sec-dark .card .more { color: var(--light); }
.card .tag { font-size: 13px; font-weight: 700; color: var(--accent-ink); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
a.card { text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
a.card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(24,33,43,.08); }
.why .card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); }
.why .card p { color: #b5bec8; }
.why .num { font-size: 34px; font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 14px; }

/* Шаги */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 24px; }
.steps h3 { margin-bottom: 8px; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-weight: 800; color: var(--accent-ink); font-size: 15px; margin-bottom: 10px; }
.steps p { color: var(--ink-2); margin: 0; line-height: 1.6; }

/* Списки */
.ticks { list-style: none; padding: 0; margin: 0 0 1.2em; }
.ticks li { padding: 10px 0 10px 30px; position: relative; border-bottom: 1px solid var(--line); line-height: 1.5; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 16px; width: 12px; height: 7px; border-left: 3px solid var(--accent-ink); border-bottom: 3px solid var(--accent-ink); transform: rotate(-45deg); }

/* FAQ */
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 24px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 700; line-height: 1.4; padding: 20px 0; list-style: none; position: relative; padding-right: 32px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 16px; font-size: 24px; color: var(--accent-ink); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--ink-2); line-height: 1.65; padding-bottom: 20px; margin: 0; }

/* Призыв */
.cta-band { background: var(--dark); color: var(--light); border: 1px solid rgba(184,155,114,.35); border-radius: 22px; padding: 48px; display: flex; gap: 30px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta-band h2 { margin: 0 0 10px; }
.cta-band p { margin: 0; opacity: .92; }

/* Контакты */
.contacts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.contacts div { border-top: 2px solid var(--accent); padding-top: 14px; }
.contacts b { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); margin-bottom: 6px; }
.contacts a { color: var(--ink); font-weight: 700; text-decoration: none; }

/* Другие направления — карточки на страницах услуг */
.other-svc { padding-top: 0; }
.other-svc .sec-head { margin-bottom: 28px; }
.other-svc .card .pic { aspect-ratio: 16/8; }
.other-svc .card h3 { text-transform: uppercase; letter-spacing: .02em; font-weight: 800; font-size: 21px; }

/* Страница услуги — компактно, в один экран: список работ + закреплённая карточка заказа */
.page-head.photo.compact { padding: 64px 0 calc(36px + var(--cut)); }
.page-head.compact h1 { font-size: clamp(28px, 3.4vw, 44px); margin-bottom: 12px; }
.page-head.compact .lead { margin-bottom: 0; max-width: 640px; }
.page-head.compact .btns { margin: 22px 0 0; }
.svc-page { padding-top: 56px; padding-bottom: 56px; }
.page-head + .svc-page { padding-top: calc(28px + var(--cut)); }
.svc-layout { display: grid; grid-template-columns: 1.65fr 1fr; gap: 48px; align-items: start; }
.h-sm { font-size: 22px; margin-bottom: 14px; }
.works-grid { columns: 2; column-gap: 32px; margin-bottom: 18px; }
.works-grid li { break-inside: avoid; padding: 8px 0 8px 28px; font-size: 15.5px; }
.works-grid li::before { top: 14px; }
.svc-fit { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 0; }
.fit-label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-ink); margin-right: 12px; }
.svc-note { margin-top: 10px; font-size: 15px; color: var(--ink-2); }
.order-card { position: sticky; top: 96px; background: var(--dark); color: var(--light); border-radius: 20px; padding: 30px 28px; box-shadow: 0 24px 60px rgba(23,35,45,.22); border: 1px solid rgba(184,155,114,.3); }
.order-card .eyebrow { color: var(--accent); }
.order-card h3 { font-size: 22px; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 18px; }
.mini-steps { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.mini-steps li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: #dbe2e8; }
.mini-steps b { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent); font-size: 13px; }
.order-btn { width: 100%; justify-content: center; animation: cta-pulse 2.8s ease-out infinite; }
.order-phone { margin: 14px 0 10px; text-align: center; font-size: 14px; color: #aab4bd; }
.order-phone a { color: var(--light); font-weight: 700; text-decoration: none; }
.order-card .note { color: #8f9aa5; font-size: 12.5px; text-align: center; margin: 0 auto; }
.order-card .note a { color: inherit; }
.mini-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.mini-card { display: flex; align-items: center; gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 22px 10px 10px; text-decoration: none; color: var(--ink); font-weight: 800; text-transform: uppercase; letter-spacing: .03em; font-size: 15px; transition: box-shadow .2s, transform .2s; }
.mini-card .pic { width: 120px; height: 84px; flex: none; border-radius: 10px; }
.mini-card span { flex: 1; }
.mini-card i { font-style: normal; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--dark); transition: transform .25s; }
.mini-card:hover { box-shadow: 0 12px 30px rgba(24,33,43,.08); transform: translateY(-2px); }
.mini-card:hover i { transform: translateX(5px); }
.other-svc { padding-top: 0; padding-bottom: 72px; }
@media (min-width: 1001px) {
  .page-head.compact .wrap > * { max-width: 640px; }
  .page-head.compact .btns { display: none; }
  .page-head.photo.compact { padding: 56px 0 calc(48px + var(--cut)); }
  .page-head + .svc-page { z-index: 3; }
  .svc-layout .order-card { margin-top: -330px; }
}
@media (max-width: 1000px) { .svc-layout { grid-template-columns: 1fr; } .order-card { position: static; } }
@media (max-width: 600px) { .works-grid { columns: 1; } .mini-cards { grid-template-columns: 1fr; } .mini-card .pic { width: 92px; height: 68px; } .page-head.photo.compact { padding: 48px 0 calc(32px + var(--cut)); } }
@media (prefers-reduced-motion: reduce) { .order-btn { animation: none; } }

/* Блок-описание услуги с фоновым фото */
.svc-story { position: relative; color: var(--light); padding: 110px 0; margin: 24px 0 72px; background-size: cover; background-position: center; }
.story-quick { background-image: linear-gradient(90deg, rgba(23,35,45,.94) 0%, rgba(23,35,45,.8) 38%, rgba(23,35,45,.1) 75%), url(/img/svc-quick-2.jpg); }
.story-turnkey { background-image: linear-gradient(90deg, rgba(23,35,45,.94) 0%, rgba(23,35,45,.8) 38%, rgba(23,35,45,.1) 75%), url(/img/svc-turnkey-2.jpg); }
.story-construction { background-image: linear-gradient(90deg, rgba(23,35,45,.94) 0%, rgba(23,35,45,.8) 38%, rgba(23,35,45,.1) 75%), url(/img/svc-construction-2.jpg); }
.svc-story::before, .svc-story::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(184,155,114,.7), transparent); }
.svc-story::before { top: 0; } .svc-story::after { bottom: 0; }
.story-box { max-width: 540px; }
.story-box .eyebrow { color: var(--accent); }
.story-box h2 { margin-bottom: 18px; }
.story-box p { color: #d3dae1; font-size: 17px; line-height: 1.7; margin-bottom: 14px; }
.story-points { list-style: none; padding: 26px 0 0; margin: 26px 0 0; border-top: 1px solid rgba(184,155,114,.3); display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.story-points li { display: flex; flex-direction: column; gap: 10px; font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--light); }
.story-points .ico { width: 26px; height: 26px; fill: var(--accent); }
@media (max-width: 860px) {
  .svc-story { padding: 72px 0; background-position: 65% center; }
  .story-quick { background-image: linear-gradient(rgba(23,35,45,.78), rgba(23,35,45,.9)), url(/img/svc-quick-2.jpg); }
  .page-head.ph-quick { background-image: linear-gradient(rgba(23,35,45,.82), rgba(23,35,45,.88)), url(/img/svc-quick.jpg); }
  .page-head.ph-turnkey { background-image: linear-gradient(rgba(23,35,45,.82), rgba(23,35,45,.88)), url(/img/svc-turnkey.jpg); }
  .page-head.ph-construction { background-image: linear-gradient(rgba(23,35,45,.82), rgba(23,35,45,.88)), url(/img/svc-construction.jpg); }
  .story-turnkey { background-image: linear-gradient(rgba(23,35,45,.78), rgba(23,35,45,.9)), url(/img/svc-turnkey-2.jpg); }
  .story-construction { background-image: linear-gradient(rgba(23,35,45,.78), rgba(23,35,45,.9)), url(/img/svc-construction-2.jpg); }
}
@media (max-width: 600px) { .story-points { grid-template-columns: 1fr; gap: 14px; } .story-points li { flex-direction: row; align-items: center; } }

/* Соцсети */
.social { display: flex; gap: 10px; margin-top: 14px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(184,155,114,.45); transition: background .15s, border-color .15s; }
.social .ico { width: 20px; height: 20px; fill: var(--light); }
.social a:hover { background: var(--accent); border-color: var(--accent); }
.social a:hover .ico { fill: var(--dark); }
.contacts-social { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(247,245,240,.12); }
.contacts-social b { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: #aab4bd; }

/* Статьи */
.crumbs { font-size: 14px; color: var(--ink-2); margin-bottom: 18px; }
.crumbs a { color: inherit; }
.page-head { padding: 64px 0 40px; background: var(--surface); border-bottom: 1px solid var(--line); }
.page-head h1 { max-width: 900px; }
.page-head .lead { font-size: 19px; line-height: 1.65; color: var(--ink-2); max-width: 700px; }
.prose { font-size: 18px; line-height: 1.75; }
.prose p { margin-bottom: 20px; }
.prose h2 { font-size: 24px; margin: 48px 0 14px; }
.prose h3 { margin: 32px 0 10px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul, .prose ol { margin: 0 0 20px; }
.prose li { margin-bottom: 8px; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0 1.6em; font-size: 16px; background: var(--surface); }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--bg); }
.prose .ph { margin: 1.4em 0; }
.table-wrap { overflow-x: auto; }
.sources { font-size: 15px; line-height: 1.5; }
.place-photo { margin: 6px 0 16px; }
.place-photo img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius); display: block; }
.place-photo figcaption { margin-top: 8px; font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.place-photo figcaption a { color: inherit; }
.related { padding-top: 24px; border-top: 1px solid var(--line); }
.related-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 24px; flex-wrap: wrap; max-width: none; }
.related-head h2 { margin: 0; }
.place-info { font-size: 15px; line-height: 1.55; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 0 10px 10px 0; padding: 10px 16px; color: var(--ink-2); }
.place-info b { color: var(--ink); font-weight: 700; }
.sources li { margin-bottom: 6px; }
.callout { background: var(--surface); border-left: 4px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; padding: 20px 24px; margin: 1.6em 0; }
.callout p:last-child { margin: 0; }

/* Метки «проверить» — видны только в черновике, перед публикацией их не должно остаться */
mark.todo { background: #ffe58a; color: #5a4300; padding: 1px 5px; border-radius: 4px; font-size: .85em; font-weight: 600; }

/* Подвал — 4 колонки + нижняя строка */
.foot { background: var(--dark); color: #aab4bd; padding: 72px 0 0; font-size: 15px; border-top: 1px solid rgba(184,155,114,.25); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.foot h4 { margin: 6px 0 18px; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--accent); }
.foot-links { display: flex; flex-direction: column; gap: 11px; }
.foot-links a { color: #dfe5ea; text-decoration: none; width: fit-content; transition: color .15s; }
.foot-links a:hover { color: var(--accent); }
.foot-logo { width: 72px; height: 72px; margin-bottom: 16px; }
.foot-brand { text-transform: uppercase; letter-spacing: .1em; line-height: 1.5; margin-bottom: 4px; }
.foot-brand b { display: block; color: var(--light); font-size: 15px; }
.foot-brand span { display: block; color: var(--accent); font-size: 12.5px; }
.foot-cta { margin-top: 22px; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px 32px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 96px; border-top: 1px solid rgba(247,245,240,.1); }
.copy { margin: 0; font-size: 12.5px; color: #8693a0; text-transform: uppercase; letter-spacing: .1em; }
.foot-legal { display: flex; gap: 24px; flex-wrap: wrap; }
.foot-legal a { color: #8693a0; font-size: 13px; text-decoration: none; }
.foot-legal a:hover { color: var(--accent); }

/* Баннер cookies */
.cookie { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: min(460px, calc(100% - 40px)); background: var(--dark); color: var(--light);
  border: 1px solid rgba(184,155,114,.45); border-radius: 18px; padding: 22px 22px 20px; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.cookie[hidden] { display: none; }
.cookie-title { margin: 0 0 6px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: 14px; color: var(--accent); }
.cookie-text { margin: 0 0 16px; font-size: 14px; line-height: 1.55; color: #c9d1d8; }
.cookie-text a { color: var(--light); }
.cookie-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cookie-btns .btn { justify-content: center; animation: none; }
.cookie-reject { background: transparent; color: var(--light); border-color: rgba(247,245,240,.55); }
.cookie-reject:hover { background: rgba(247,245,240,.08); border-color: var(--light); }
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-size: 13px; color: #8693a0; cursor: pointer; }
.link-btn:hover { color: var(--accent); }
body.cookie-open .wa-float { bottom: 236px; }
@media (max-width: 600px) { .cookie { left: 12px; right: 12px; bottom: 12px; width: auto; } body.cookie-open .wa-float { bottom: 230px; } }

/* Плавающая кнопка WhatsApp */
.wa-float { position: fixed; right: 18px; bottom: 18px; transition: bottom .3s; z-index: 30; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.wa-float .ico { width: 30px; height: 30px; fill: #fff; position: relative; z-index: 1; }
.wa-float::before, .wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; z-index: 0; animation: wa-wave 3.6s ease-out infinite; }
.wa-float::after { animation-delay: 1.8s; }
.wa-float { animation: wa-nudge 7s ease-in-out 3s infinite; transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); animation-play-state: paused; }
@keyframes wa-wave { 0% { transform: scale(1); opacity: .45; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes wa-nudge {
  0%, 82%, 100% { transform: translateY(0) rotate(0); }
  85% { transform: translateY(-6px) rotate(-10deg); }
  88% { transform: translateY(-6px) rotate(10deg); }
  91% { transform: translateY(-3px) rotate(-6deg); }
  94% { transform: translateY(0) rotate(0); }
}

/* Адаптив */
@media (max-width: 1000px) {
  .g4, .contacts { grid-template-columns: repeat(2, 1fr); }
  .g3, .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1080px) {
  .burger { display: block; }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 72px; background: var(--dark); border-bottom: 1px solid rgba(184,155,114,.25); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; }
  .menu.open { display: flex; }
  .menu a { padding: 12px 0; border-bottom: 1px solid rgba(247,245,240,.1); }
  .menu .lang { align-self: flex-start; margin: 12px 0; }
  .menu .btn { justify-content: center; margin-top: 8px; border-bottom: 0; }
}
@media (max-width: 860px) {
  .hero { min-height: 0; padding: 72px 0 80px; background: linear-gradient(180deg, rgba(23,35,45,.82), rgba(23,35,45,.92)), url(/img/hero-villa.jpg) center / cover no-repeat; }
  .svc { grid-template-columns: 1fr; gap: 28px; margin-bottom: 64px; }
  .svc:nth-child(even) .svc-media { order: 0; }
  .svc-media .badge { left: 12px; }
  .page-head.photo { padding: 64px 0 48px; }
  .hero.chevron { padding-bottom: calc(80px + var(--cut)); }
  .page-head.photo.chevron { padding-bottom: calc(48px + var(--cut)); }
  .intro-grid { grid-template-columns: 1fr; gap: 28px; }
  .svc-intro { padding: 64px 0; }
  .svc-list { padding-top: 64px; }
  .sec { padding: 64px 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-about { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  :root { --cut: 34px; }
  body { font-size: 16px; }
  h1, .hero h1 { font-size: 26px; }
  /* переносим только очень длинные слова (от 15 букв), обычные — целиком */
  h1, h2 { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 15 6 6; }
  h2, .band h2 { font-size: 23px; }
  .svc h3 { font-size: 21px; }
  .prose h2 { font-size: 21px; }
  .sec-head { margin-bottom: 32px; }
  .sec-head p, .svc .pain, .hero p.lead, .page-head .lead, .band p { font-size: 17px; }
  .g4, .g3, .g2, .steps, .contacts { grid-template-columns: 1fr; }
  .foot-grid { gap: 32px 20px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
  .brand-txt small { display: none; }
  .cta-band { padding: 32px 24px; }
  .btns .btn { width: 100%; justify-content: center; }
  .svc-ctas .btn { flex: 1 1 100%; justify-content: center; }
  .prose { font-size: 17px; }
}

/* Фото движутся при прокрутке (параллакс). Только CSS: фото «плывёт» внутри своей рамки.
   Работает в Chrome, Edge, Safari 26+; в остальных браузерах и при «уменьшить движение» фото просто стоят. */
.plx { display: block; overflow: hidden; border-radius: var(--radius); isolation: isolate; }
.plx > .pic, .plx > img { display: block; width: 100%; margin: 0; border-radius: 0; box-shadow: none; }
.prose .plx { margin: 0 0 1.6em; }
.side .plx { margin-bottom: 24px; }
.svc-media .plx { border-radius: 22px; box-shadow: 0 24px 60px rgba(24,33,43,.16); }
.card .plx { width: calc(100% + 52px); max-width: none; margin: -26px -26px 22px; border-radius: var(--radius) var(--radius) 0 0; }
.card .plx > .pic { width: 100%; margin: 0; }
.mini-card .plx { width: 120px; height: 84px; flex: none; border-radius: 10px; }
.mini-card .plx > .pic { width: 100%; height: 100%; }
.place-photo .plx > img { border-radius: 0; }
@media (max-width: 600px) { .mini-card .plx { width: 92px; height: 68px; } }

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .plx > img { scale: 1.16; animation: plx-img linear both; animation-timeline: view(); }
    @keyframes plx-img { from { translate: 0 -7%; } to { translate: 0 7%; } }
    /* Фоновые фото: первый экран, полоса, шапки и блоки услуг */
    .hero, .band, .page-head.photo, .svc-story { animation: plx-bg linear both; animation-timeline: view(); }
    @keyframes plx-bg { from { background-position: center, 50% 15%; } to { background-position: center, 50% 85%; } }
  }
}

/* Лента: просмотр фото крупно */
.slide a.zoom { display: block; border-radius: var(--radius); cursor: zoom-in; }
.slide a.zoom:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.marquee.paused .track { animation-play-state: paused; }
.lightbox { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; overflow: hidden; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox:focus { outline: none; }
.lightbox::backdrop { background: rgba(12,18,24,.55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.lightbox img { max-width: min(1100px, calc(100vw - 160px)); max-height: calc(100vh - 140px); width: auto; height: auto; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox button { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border-radius: 50%; cursor: pointer;
  background: rgba(23,35,45,.55); color: #fff; border: 1px solid rgba(255,255,255,.28); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background .2s, border-color .2s, color .2s; }
.lightbox button svg { display: block; }
.lightbox button:hover { background: var(--accent); border-color: var(--accent); color: var(--dark); }
.lightbox button:focus { outline: none; }
.lightbox button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); margin: 0; padding: 4px 12px; border-radius: 20px; background: rgba(23,35,45,.75); text-align: center; color: #dbe2e8; font-size: 14px; letter-spacing: .08em; }
@media (max-width: 600px) {
  .lightbox img { max-width: 100vw; max-height: calc(100vh - 140px); border-radius: 0; }
  .lb-prev, .lb-next { top: auto; bottom: 10px; transform: none; }
  .lb-count { bottom: 22px; }
  .lightbox img { max-height: calc(100vh - 170px); }
}

/* сгенерировано build.py: 17 фото в ленте */
.track { animation-duration: 85s; }
