:root {
  --ink: #171615;
  --muted: #706a63;
  --line: #ddd6ce;
  --paper: #f4f1ed;
  --white: #fff;
  --red: #e5251d;
  --red-dark: #c61e17;
  --dark: #201e1c;
  --radius: 6px;
  --shell: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 82px; }
body { margin: 0; overflow-x: clip; color: var(--ink); background: var(--white); font-family: "Segoe UI", Arial, sans-serif; font-size: 16px; line-height: 1.55; }
body.nav-open { overflow: hidden; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
img { max-width: 100%; }
[hidden], .honeypot { display: none !important; }
.shell { width: var(--shell); margin-inline: auto; }
.metrika-pixel { position: absolute; left: -9999px; width: 1px; height: 1px; }

.site-header { position: sticky; z-index: 40; top: 0; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 26px; min-height: 82px; padding: 10px max(20px, calc((100% - 1180px) / 2)); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.97); backdrop-filter: blur(12px); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 15px; font-weight: 650; line-height: 1.2; }
.brand img { width: 176px; height: 50px; object-fit: contain; }
.brand span { padding-left: 10px; border-left: 1px solid var(--line); }
.site-nav { display: flex; justify-content: center; align-items: center; gap: 19px; }
.site-nav a, .phone { font-size: 15px; font-weight: 620; line-height: 1.25; text-decoration: none; white-space: nowrap; }
.site-nav a:hover, .phone:hover { color: var(--red); }
.site-nav__phone { display: none; }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--line); border-radius: 4px; background: var(--white); cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; margin: 4px auto; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.hero { position: relative; min-height: 720px; display: grid; align-items: end; overflow: hidden; color: var(--white); background: var(--dark); }
.hero__media { position: absolute; inset: 0; display: block; }
.hero__media img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,15,14,.91) 0%, rgba(16,15,14,.65) 54%, rgba(16,15,14,.2) 100%); }
.hero__content { position: relative; z-index: 2; padding-block: 88px 50px; }
.eyebrow { margin: 0 0 14px; color: var(--red); font-size: 13px; font-weight: 800; line-height: 1.25; text-transform: uppercase; }
.eyebrow--light { display: inline-block; padding: 7px 9px; background: rgba(255,255,255,.94); }
h1, h2, h3, p { letter-spacing: 0; }
h1 { max-width: 900px; margin: 0; font-size: clamp(52px, 6.5vw, 86px); font-weight: 760; line-height: 1; }
h2 { margin: 0; font-size: clamp(38px, 4.5vw, 62px); font-weight: 740; line-height: 1.05; }
h3 { margin: 0; font-size: 22px; font-weight: 720; line-height: 1.2; }
.hero__lead { max-width: 810px; margin: 22px 0 0; color: rgba(255,255,255,.9); font-size: clamp(18px, 1.8vw, 23px); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 20px; border: 1px solid transparent; border-radius: var(--radius); text-decoration: none; font-weight: 750; line-height: 1.2; cursor: pointer; }
.button--primary { color: var(--white); background: var(--red); }
.button--primary:hover { background: var(--red-dark); }
.button--ghost { border-color: currentColor; color: inherit; background: transparent; }
.hero__facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; max-width: 960px; margin: 38px 0 0; }
.hero__facts div { padding-top: 14px; border-top: 1px solid rgba(255,255,255,.42); }
.hero__facts dt { font-size: 27px; font-weight: 780; }
.hero__facts dd { margin: 2px 0 0; color: rgba(255,255,255,.78); }

.section { padding-block: 96px; }
.section--paper { background: var(--paper); }
.section--dark { color: var(--white); background: var(--dark); }
.section-heading { max-width: 800px; margin-bottom: 40px; }
.section-heading--wide { max-width: 980px; }
.section-heading > p:last-child, .case-study__intro > p { max-width: 720px; margin: 18px 0 0; color: var(--muted); font-size: 18px; }
.section--dark .section-heading > p:last-child, .section--dark .case-study__intro > p { color: rgba(255,255,255,.72); }
.section-cta { margin-top: 28px; }

.zone-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.zone-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.zone-card img { width: 100%; aspect-ratio: 3 / 2; display: block; object-fit: cover; }
.zone-card > div { min-height: 164px; padding: 18px; }
.zone-card span { display: block; margin-bottom: 18px; color: var(--red); font-weight: 800; }
.zone-card p { margin: 8px 0 0; color: var(--muted); }
.text-link { display: inline-block; color: var(--red); font-weight: 750; text-underline-offset: 5px; }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; }
.reason-list { display: grid; }
.reason-list article { display: grid; grid-template-columns: 46px 1fr; gap: 18px; padding: 25px 0; border-top: 1px solid rgba(255,255,255,.2); }
.reason-list strong { color: var(--red); }
.reason-list p { margin: 7px 0 0; color: rgba(255,255,255,.72); }

.case-study__intro { display: grid; grid-template-columns: 1.08fr .92fr; align-items: end; gap: 64px; margin-bottom: 26px; }
.case-study__intro > p { margin: 0; }
.case-composition { margin: 0 0 34px; color: var(--muted); font-weight: 650; }
.photo-story { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 255px; gap: 12px; }
.photo-story figure, .production-gallery figure { position: relative; min-width: 0; margin: 0; overflow: hidden; border-radius: var(--radius); background: #312e2b; }
.photo-story figure img, .photo-story figure picture, .production-gallery figure img { width: 100%; height: 100%; display: block; object-fit: cover; }
.photo-story figcaption, .production-gallery figcaption { position: absolute; inset: auto 0 0; padding: 36px 16px 14px; color: var(--white); background: linear-gradient(transparent, rgba(0,0,0,.74)); font-weight: 700; }
.photo-story__lead { grid-column: span 2; grid-row: span 2; }
.photo-story--cottage figure:nth-child(4), .photo-story--apartment figure:nth-child(4) { grid-column: span 2; }
.case-video { display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: 46px; margin-top: 46px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.case-video p:not(.eyebrow) { color: var(--muted); }
.video-poster { position: relative; width: 100%; aspect-ratio: 16/9; display: block; padding: 0; overflow: hidden; border: 0; border-radius: var(--radius); color: var(--white); background: #272421; cursor: pointer; }
.video-poster img { width: 100%; height: 100%; display: block; object-fit: cover; }
.video-poster::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.22); transition: background .2s ease; }
.video-poster:hover::after { background: rgba(0,0,0,.08); }
.play { position: absolute; z-index: 2; top: 50%; left: 50%; display: grid; width: 64px; height: 64px; place-items: center; transform: translate(-50%,-50%); border-radius: 50%; background: var(--red); }
.video-poster__label { position: absolute; z-index: 2; right: 16px; bottom: 14px; left: 16px; font-weight: 750; }

.editorial-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 58px; }
.editorial-grid p:not(.eyebrow), .planning-block__copy > p:not(.eyebrow), .budget-layout p { max-width: 620px; color: var(--muted); font-size: 18px; }
.editorial-grid__image { width: 100%; aspect-ratio: 16 / 10; display: block; border-radius: var(--radius); object-fit: cover; }
.editorial-grid .button, .planning-block .button { margin-top: 12px; }

.planning-block { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.planning-points { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; padding: 0; list-style: none; }
.planning-points li { min-height: 108px; display: flex; flex-direction: column; justify-content: space-between; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 18px; font-weight: 700; }
.planning-points span { color: var(--red); font-size: 13px; }

.process-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 38px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.process-list li { min-height: 220px; padding: 22px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.process-list li:nth-child(3n + 1) { border-left: 1px solid var(--line); }
.process-list span { display: block; margin-bottom: 36px; color: var(--red); font-weight: 800; }
.process-list p { color: var(--muted); }
.timeline-note { margin: 28px 0 0; color: var(--muted); }

.budget-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.budget-note { font-weight: 650; }
.budget-map { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.budget-map span, .budget-map strong { min-height: 58px; display: flex; align-items: center; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.budget-map strong { grid-column: 1 / -1; justify-content: center; color: var(--white); background: var(--dark); }

.production-layout .section-heading { max-width: 850px; }
.production-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.production-gallery figure { aspect-ratio: 4 / 5; }
.production-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 32px 0 0; }
.production-facts div { padding: 18px 0; border-top: 1px solid var(--line); }
.production-facts dt { font-size: 32px; font-weight: 780; }
.production-facts dd { margin: 2px 0 0; color: var(--muted); }

.faq-list { max-width: 900px; border-top: 1px solid var(--line); }
.faq-list details { padding: 20px 0; border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; font-size: 20px; font-weight: 700; }
.faq-list p { color: var(--muted); }

.request { padding-block: 96px; color: var(--white); background: var(--dark); }
.request__layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 68px; align-items: start; }
.request__layout > div > p:not(.eyebrow) { color: rgba(255,255,255,.75); font-size: 18px; }
.request-flow { margin-top: 28px; font-weight: 650; }
.lead-form { padding: 28px; border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius); background: rgba(255,255,255,.05); }
.form-progress { margin-bottom: 22px; font-weight: 750; }
.form-progress > div { height: 4px; margin-top: 9px; overflow: hidden; background: rgba(255,255,255,.2); }
.form-progress i { display: block; width: 33.333%; height: 100%; background: var(--red); transition: width .2s ease; }
.form-step { margin: 0; padding: 0; border: 0; }
.form-step legend { margin-bottom: 18px; font-size: 28px; font-weight: 750; }
.form-step > label, .choice-label { display: grid; gap: 7px; margin-bottom: 15px; font-weight: 650; }
.choice-label span { color: rgba(255,255,255,.62); font-size: 13px; font-weight: 400; }
.form-step input, .form-step select, .form-step textarea { width: 100%; min-height: 50px; padding: 11px 12px; border: 1px solid rgba(255,255,255,.3); border-radius: 4px; color: var(--white); background: #2e2b29; }
.form-step textarea { resize: vertical; }
.form-step select option { color: var(--ink); background: var(--white); }
.form-step :invalid.is-touched { border-color: #ff625b; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.check-grid label { min-width: 0; display: flex; align-items: center; gap: 9px; min-height: 50px; padding: 10px; border: 1px solid rgba(255,255,255,.22); border-radius: 4px; cursor: pointer; }
.check-grid label:has(input:checked) { border-color: var(--red); background: rgba(229,37,29,.18); }
.check-grid.has-error { padding: 8px; border: 1px solid #ff625b; border-radius: 4px; }
.check-grid input, .consent input { width: 20px; min-height: 20px; flex: 0 0 auto; }
.upload span { color: rgba(255,255,255,.8); font-size: 14px; font-weight: 400; }
.upload small { color: rgba(255,255,255,.58); font-size: 13px; font-weight: 400; }
.file-list { display: grid; gap: 6px; margin: 0 0 15px; padding: 0; list-style: none; }
.file-list li { display: flex; justify-content: space-between; gap: 12px; color: rgba(255,255,255,.78); font-size: 14px; }
.file-list li > span { min-width: 0; display: grid; gap: 2px; }
.file-list strong { overflow-wrap: anywhere; color: var(--white); font-weight: 650; }
.file-list button { min-height: 44px; padding: 0 10px; border: 1px solid rgba(255,255,255,.24); border-radius: 4px; color: var(--white); background: transparent; cursor: pointer; }
.consent { display: flex !important; align-items: flex-start; }
.consent a { text-underline-offset: 3px; }
.field-error { min-height: 20px; margin: 0 0 8px; color: #ff817b; font-size: 14px; }
.form-actions { display: flex; gap: 10px; margin-top: 20px; }
.form-status { min-height: 22px; margin: 14px 0 0; color: rgba(255,255,255,.72); font-size: 14px; }
.form-status.is-error { color: #ff817b; }
.submit-progress { height: 4px; margin-top: 14px; overflow: hidden; background: rgba(255,255,255,.2); }
.submit-progress span { display: block; width: 40%; height: 100%; background: var(--red); animation: sending 1s linear infinite alternate; }
@keyframes sending { to { transform: translateX(150%); } }

.footer { display: flex; justify-content: space-between; gap: 30px; padding-block: 42px 100px; }
.footer p { margin: 5px 0 0; color: var(--muted); }
.footer__contacts { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.footer__contacts a { font-weight: 650; }
.video-dialog { width: min(960px, calc(100% - 24px)); padding: 0; border: 0; border-radius: var(--radius); background: #000; }
.video-dialog::backdrop { background: rgba(0,0,0,.82); }
.video-dialog__close { position: absolute; z-index: 3; top: 8px; right: 8px; width: 44px; height: 44px; border: 0; border-radius: 50%; color: var(--white); background: rgba(0,0,0,.75); cursor: pointer; }
.video-dialog iframe { width: 100%; aspect-ratio: 16/9; display: block; border: 0; }
.mobile-sticky { display: none; }

:focus-visible { outline: 3px solid #ff5149; outline-offset: 3px; }

@media (max-width: 1050px) {
  .site-header { grid-template-columns: auto 1fr auto; }
  .phone { justify-self: end; }
  .nav-toggle { display: block; }
  .site-nav { position: fixed; z-index: 39; inset: 82px 0 auto; display: none; align-items: stretch; gap: 0; padding: 10px 20px 22px; border-bottom: 1px solid var(--line); background: var(--white); box-shadow: 0 18px 35px rgba(0,0,0,.1); }
  .site-nav.is-open, .nav-open .site-nav { display: grid; }
  .site-nav a { min-height: 48px; display: flex; align-items: center; border-bottom: 1px solid var(--line); }
  .site-nav__phone { display: flex !important; color: var(--red); }
  .zone-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photo-story { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photo-story__lead { grid-column: span 2; }
  .process-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-list li { min-height: 200px; border-bottom: 1px solid var(--line); }
  .process-list li:nth-child(3n + 1) { border-left: 0; }
  .process-list li:nth-child(2n + 1) { border-left: 1px solid var(--line); }
  .production-gallery { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  :root { --shell: min(100% - 28px, 1180px); }
  html { scroll-padding-top: 62px; }
  body { font-size: 16px; line-height: 1.52; }
  .site-header { min-height: 62px; grid-template-columns: 1fr auto; gap: 10px; padding: 6px 14px; }
  .brand { gap: 7px; font-size: 13px; }
  .brand img { width: 126px; height: 40px; }
  .brand span { padding-left: 7px; }
  .phone { display: none; }
  .site-nav { inset-block-start: 62px; }
  .hero { min-height: 0; align-items: end; }
  .hero::after { background: linear-gradient(180deg, rgba(15,14,13,.2), rgba(15,14,13,.69) 35%, rgba(15,14,13,.96) 100%); }
  .hero__media img { object-position: center; }
  .hero__content { padding-block: 88px 24px; }
  h1 { font-size: clamp(38px, 10.8vw, 44px); font-weight: 740; line-height: 1.04; }
  h2 { font-size: clamp(31px, 8.6vw, 36px); font-weight: 720; line-height: 1.08; }
  h3 { font-size: 21px; }
  .hero__lead { margin-top: 18px; font-size: 17px; line-height: 1.5; }
  .hero__actions { display: grid; margin-top: 22px; }
  .hero__actions .button { width: 100%; }
  .hero__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; margin-top: 24px; }
  .hero__facts dt { font-size: 22px; }
  .hero__facts dd { font-size: 13px; line-height: 1.35; }
  .section, .request { padding-block: 64px; }
  .section-heading { margin-bottom: 26px; }
  .section-heading > p:last-child, .case-study__intro > p, .editorial-grid p:not(.eyebrow), .planning-block__copy > p:not(.eyebrow), .budget-layout p { font-size: 16px; }
  .zone-grid { grid-template-columns: 1fr; gap: 12px; }
  .zone-card { display: grid; grid-template-columns: 44% 1fr; min-height: 160px; }
  .zone-card img { height: 100%; aspect-ratio: auto; }
  .zone-card > div { min-height: 0; padding: 15px; }
  .zone-card span { margin-bottom: 12px; }
  .split, .case-study__intro, .case-video, .editorial-grid, .planning-block, .budget-layout, .request__layout { grid-template-columns: 1fr; gap: 30px; }
  .case-study__intro { margin-bottom: 22px; }
  .case-composition { margin-bottom: 24px; font-size: 15px; }
  .photo-story { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .photo-story__lead, .photo-story--cottage figure:nth-child(4), .photo-story--apartment figure:nth-child(4) { grid-column: auto; grid-row: auto; }
  .photo-story figure { aspect-ratio: 4 / 3; }
  .photo-story__lead { aspect-ratio: 16 / 10 !important; }
  .case-video { padding: 18px; }
  .video-poster__label { font-size: 14px; }
  .editorial-grid__image { aspect-ratio: 4 / 3; }
  .planning-points { grid-template-columns: 1fr; }
  .planning-points li { min-height: 78px; }
  .process-list { grid-template-columns: 1fr; }
  .process-list li, .process-list li:first-child { min-height: 0; display: grid; grid-template-columns: 38px 1fr; gap: 12px; padding: 18px 0; border: 0; border-top: 1px solid var(--line); }
  .process-list li:nth-child(n) { border-left: 0; }
  .process-list span { margin: 0; }
  .budget-map { grid-template-columns: 1fr; }
  .budget-map strong { grid-column: auto; }
  .production-gallery { grid-template-columns: 1fr; }
  .production-gallery figure { aspect-ratio: 4 / 5; }
  .production-facts { grid-template-columns: 1fr; }
  .production-facts div { padding: 13px 0; }
  .request__layout { gap: 34px; }
  .lead-form { padding: 18px; }
  .form-step legend { font-size: 24px; }
  .form-row, .check-grid { grid-template-columns: 1fr; }
  .form-step input, .form-step select, .form-step textarea, .check-grid label { min-height: 52px; }
  .form-actions { display: grid; grid-template-columns: 1fr; }
  .form-actions .button { width: 100%; }
  .footer { flex-direction: column; padding-bottom: 118px; }
  .footer__contacts { display: grid; gap: 10px; }
  .mobile-sticky { position: fixed; z-index: 35; right: 14px; bottom: calc(76px + env(safe-area-inset-bottom)); left: 14px; min-height: 52px; align-items: center; justify-content: center; padding: 12px 16px; border-radius: 999px; color: var(--white); background: var(--red); box-shadow: 0 12px 30px rgba(0,0,0,.24); text-decoration: none; font-weight: 750; transform: translateY(190%); transition: transform .25s ease; }
  .mobile-sticky.is-visible { display: flex; transform: translateY(0); }
}

@media (max-width: 480px) {
  .zone-card { display: block; min-height: 0; }
  .zone-card img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
  .zone-card > div { min-height: 0; padding: 17px; }
}

@media (max-width: 370px) {
  :root { --shell: calc(100% - 24px); }
  .brand span { display: none; }
  .hero__content { padding-top: 84px; }
  h1 { font-size: 38px; }
  .eyebrow { font-size: 12px; }
}
