:root {
  --ink: #192019;
  --paper: #f4f1e9;
  --white: #fff;
  --acid: #b8d739;
  --acid-dark: #9abb22;
  --line: rgba(25, 32, 25, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
.container { width: min(1220px, calc(100% - 72px)); margin-inline: auto; }

.site-header {
  position: fixed; z-index: 30; top: 0; left: 0; right: 0; height: 82px;
  display: grid; grid-template-columns: 250px 1fr 230px 50px; align-items: center;
  gap: 30px; padding: 0 38px; color: #fff; border-bottom: 1px solid rgba(255,255,255,.24);
  background: linear-gradient(to bottom, rgba(9,16,11,.58), rgba(9,16,11,0));
}
.brand { display: inline-flex; align-items: center; gap: 12px; letter-spacing: .14em; }
.brand-mark { display: grid; place-items: center; width: 37px; height: 37px; border: 1px solid rgba(255,255,255,.8); font-family: Georgia, serif; font-size: 22px; }
.brand strong, .brand small { display: block; font-size: 13px; line-height: 1.05; }
.brand small { margin-top: 4px; font-size: 8px; letter-spacing: .34em; opacity: .72; }
.main-nav { display: flex; justify-content: center; gap: 32px; font-size: 13px; }
.main-nav a { position: relative; padding-block: 8px; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--acid); transition: right .25s; }
.main-nav a:hover::after { right: 0; }
.header-contact { text-align: right; }
.header-contact a { display: block; font-size: 16px; font-weight: 700; }
.header-contact span { display: block; margin-top: 4px; font-size: 9px; text-transform: uppercase; letter-spacing: .15em; opacity: .75; }
.menu-button { display: none; width: 44px; height: 44px; border: 0; background: transparent; }
.menu-button span { display: block; height: 1px; margin: 7px 0; background: #fff; }

.hero { position: relative; min-height: 760px; height: 100vh; max-height: 920px; display: flex; align-items: center; overflow: hidden; color: #fff; background: #344336 url('/hero-modular-home.png') center/cover no-repeat; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,13,8,.8) 0%, rgba(6,13,8,.36) 46%, rgba(6,13,8,.08) 78%), linear-gradient(0deg, rgba(6,13,8,.5), transparent 45%); }
.hero-content { position: relative; z-index: 1; padding-top: 70px; }
.eyebrow { display: flex; align-items: center; gap: 15px; margin: 0 0 26px; font-size: 11px; text-transform: uppercase; letter-spacing: .22em; }
.eyebrow::before { content: ""; width: 42px; height: 1px; background: var(--acid); }
.hero h1 { max-width: 900px; margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(58px, 7.2vw, 110px); font-weight: 400; line-height: .91; letter-spacing: -.045em; }
.hero h1 em { color: var(--acid); font-weight: 400; }
.hero-lead { max-width: 595px; margin: 34px 0 0; font-size: 17px; line-height: 1.65; color: rgba(255,255,255,.86); }
.hero-actions { display: flex; gap: 14px; margin-top: 36px; }
.button { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 28px; padding: 0 28px; border: 1px solid transparent; cursor: pointer; transition: .25s ease; font-size: 13px; }
.button-primary { background: var(--acid); color: #1b2517; font-weight: 700; }
.button-primary:hover { background: #c9eb46; transform: translateY(-2px); }
.button-ghost { border-color: rgba(255,255,255,.45); color: #fff; }
.button-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.hero-note { position: absolute; z-index: 1; right: 0; bottom: 0; display: flex; gap: 19px; align-items: center; width: min(390px, 32vw); min-height: 116px; padding: 25px 38px; background: var(--acid); color: #1b2517; }
.hero-note > span { font-family: Georgia, serif; font-size: 38px; opacity: .45; }
.hero-note p { margin: 0; font-size: 12px; line-height: 1.6; }
.hero-scroll { position: absolute; z-index: 2; left: 40px; bottom: 34px; display: flex; align-items: center; gap: 16px; font-size: 9px; letter-spacing: .23em; transform: rotate(-90deg); transform-origin: left center; }
.hero-scroll span { color: var(--acid); font-size: 17px; }

.intro { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding-top: 120px; padding-bottom: 120px; }
.section-index { margin: 0 0 30px; font-size: 10px; text-transform: uppercase; letter-spacing: .2em; color: #6c756a; }
.intro h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(46px, 5vw, 76px); line-height: 1; font-weight: 400; letter-spacing: -.04em; }
.intro-copy { padding-top: 48px; }
.intro-copy > p { max-width: 570px; margin: 0; font-size: 17px; line-height: 1.75; color: #4a524a; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 54px; padding-top: 30px; border-top: 1px solid var(--line); }
.stats div { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: end; }
.stats strong { font-family: Georgia, serif; font-size: 48px; font-weight: 400; line-height: .9; color: #66830b; }
.stats span { font-size: 10px; line-height: 1.45; color: #687068; }

.section-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 90px; align-items: end; }
.section-heading h2, .benefits-title h2, .technology h2, .request h2, .contacts h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(46px, 5vw, 76px); font-weight: 400; line-height: 1; letter-spacing: -.04em; }
.section-heading > p { max-width: 500px; margin: 0 0 7px; color: #596159; font-size: 15px; line-height: 1.7; }
.models { padding: 110px 0 128px; background: #fff; }
.model-grid { display: grid; grid-template-columns: 1.22fr .78fr; gap: 20px; margin-top: 54px; }
.model-card { background: var(--paper); overflow: hidden; }
.model-image { height: 420px; background-position: center; background-size: cover; transition: transform .5s ease; }
.model-card-main .model-image { height: 510px; }
.model-card:hover .model-image { transform: scale(1.015); }
.project-image { background-image: url('/project-modular-home.png'); }
.interior-image { background-image: url('/interior-modular-home.png'); }
.model-info { display: grid; grid-template-columns: 1fr auto; gap: 22px; padding: 27px 29px 30px; }
.model-label { margin: 0 0 5px; color: #6d766d; text-transform: uppercase; letter-spacing: .12em; font-size: 9px; }
.model-info h3 { margin: 0; font-family: Georgia, serif; font-size: 34px; font-weight: 400; }
.model-info dl { display: flex; grid-column: 1 / -1; gap: 38px; margin: 4px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
.model-info dl div { display: flex; gap: 8px; }
.model-info dt { color: #7a817a; font-size: 10px; }
.model-info dd { margin: 0; font-size: 11px; font-weight: 700; }
.model-info button, .model-info > a { align-self: center; border: 0; padding: 0; background: transparent; cursor: pointer; font-size: 11px; font-weight: 700; }
.model-info button span, .model-info > a span { margin-left: 10px; color: #738d18; }

.benefits { padding: 118px 0; background: var(--paper); }
.benefits-title { display: flex; justify-content: space-between; align-items: end; }
.benefits-title h2 em, .technology h2 em { color: #789322; font-weight: 400; }
.round-arrow { display: grid; place-items: center; width: 76px; height: 76px; border: 1px solid #a8b0a7; border-radius: 50%; background: transparent; color: #728d17; font-size: 26px; cursor: pointer; transition: .25s; }
.round-arrow:hover { border-color: #7f9d1c; background: var(--acid); color: #1b2517; }
.benefit-grid { display: grid; grid-template-columns: repeat(6, 1fr); margin-top: 66px; border-top: 1px solid var(--line); }
.benefit-grid article { grid-column: span 2; min-height: 250px; padding: 28px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.benefit-grid article:nth-child(4) { grid-column: 2 / span 2; }
.benefit-grid article > span { color: #8a9389; font-size: 10px; }
.benefit-grid h3 { margin: 42px 0 14px; font-family: Georgia, serif; font-size: 24px; font-weight: 400; }
.benefit-grid p { margin: 0; max-width: 270px; color: #5f685f; font-size: 12px; line-height: 1.65; }

.technology { padding: 128px 0; background: #182019; color: #fff; }
.technology-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 100px; align-items: center; }
.technology .section-index { color: #a5afa6; }
.technology-copy > p:not(.section-index) { max-width: 560px; margin: 34px 0 0; color: #b6beb6; font-size: 15px; line-height: 1.75; }
.technology ul { margin: 34px 0 0; padding: 0; list-style: none; }
.technology li { position: relative; padding: 13px 0 13px 25px; border-bottom: 1px solid rgba(255,255,255,.12); color: #d2d7d2; font-size: 12px; }
.technology li::before { content: "+"; position: absolute; left: 0; color: var(--acid); }
.wall-card { min-height: 560px; padding: 50px 46px 36px; background: #273128; }
.wall-visual { position: relative; height: 375px; perspective: 900px; }
.layer { position: absolute; left: 12%; width: 75%; height: 185px; border: 1px solid rgba(255,255,255,.18); transform: rotateX(61deg) rotateZ(-30deg); box-shadow: 0 26px 45px rgba(0,0,0,.24); }
.layer-1 { top: 7px; background: repeating-linear-gradient(90deg,#9a6d3f 0 14px,#b07c46 14px 27px); }
.layer-2 { top: 50px; background: #314232; }
.layer-3 { top: 93px; background: #d3d1bd; }
.layer-4 { top: 136px; background: repeating-linear-gradient(90deg,#b58b42 0 22px,#e0c276 22px 29px); }
.layer-5 { top: 179px; background: #e8e4d8; }
.wall-legend { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 20px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.15); }
.wall-legend span { color: #b8c0b9; font-size: 9px; letter-spacing: .05em; }

.process { padding: 120px 0; background: #fff; }
.steps { margin-top: 62px; border-top: 1px solid var(--line); }
.steps article { display: grid; grid-template-columns: 120px 1fr; padding: 30px 0; border-bottom: 1px solid var(--line); }
.steps article > span { font-family: Georgia, serif; font-size: 24px; color: #7b951f; }
.steps article div { display: grid; grid-template-columns: .45fr 1fr; gap: 55px; }
.steps h3 { margin: 0; font-family: Georgia, serif; font-size: 31px; font-weight: 400; }
.steps p { max-width: 560px; margin: 0; color: #606860; font-size: 13px; line-height: 1.65; }

.request { display: grid; grid-template-columns: 1.04fr .96fr; min-height: 760px; background: #273128; }
.request-photo { background: url('/hero-modular-home.png') 64% center/cover no-repeat; }
.request-panel { display: flex; flex-direction: column; justify-content: center; padding: 80px min(7vw, 105px); color: #fff; }
.request-panel .section-index { color: #a9b1a9; }
.request-panel > p:not(.section-index) { margin: 27px 0 35px; color: #c1c7c1; font-size: 13px; line-height: 1.7; }
.request form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; }
.request label { display: grid; gap: 8px; }
.request label > span { color: #a9b1a9; font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.request input, .request select, .request textarea { width: 100%; border: 0; border-bottom: 1px solid rgba(255,255,255,.3); border-radius: 0; padding: 8px 0 12px; outline: none; background: transparent; color: #fff; font-size: 13px; }
.request input:focus, .request select:focus, .request textarea:focus { border-color: var(--acid); }
.request textarea, .request label:nth-of-type(4) { grid-column: 1 / -1; }
.request select option { color: #182019; }
.request .consent { grid-column: 1 / -1; display: flex; grid-template-columns: none; align-items: center; gap: 9px; }
.request .consent input { width: 14px; height: 14px; accent-color: var(--acid); }
.request form .button { width: 100%; }
.form-note { margin: auto 0 !important; color: #d7e6a4 !important; }
.website-field { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-status { grid-column: 1 / -1; margin: 0 0 22px; padding: 14px 16px; font-size: 12px; line-height: 1.5; }
.form-status.success { background: rgba(184,215,57,.14); color: #dff19c; border: 1px solid rgba(184,215,57,.35); }
.form-status.error { background: rgba(217,94,71,.14); color: #ffd4ca; border: 1px solid rgba(217,94,71,.4); }

.contacts { padding: 120px 0; }
.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 110px; }
.office-label { margin: 50px 0 10px; color: #7a827a; font-size: 9px; text-transform: uppercase; letter-spacing: .15em; }
.contacts address { font-style: normal; font-size: 16px; line-height: 1.7; }
.contact-list { padding-top: 50px; }
.contact-list > div { display: grid; grid-template-columns: 180px 1fr; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--line); }
.contact-list span { color: #7a827a; font-size: 9px; text-transform: uppercase; letter-spacing: .12em; }
.contact-list a, .contact-list p { margin: 0; font-family: Georgia, serif; font-size: 23px; }
.map-link { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; padding: 24px; background: var(--acid); }
.map-link span { color: #1b2517; }
.map-link strong { font-size: 24px; font-weight: 400; }

footer { padding: 70px 0 25px; background: #111711; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1fr .8fr 1fr auto; gap: 50px; align-items: start; }
.footer-brand { color: #fff; }
.footer-grid > p { margin: 0; color: #aeb5ae; font-size: 11px; line-height: 1.7; }
.footer-grid > div a { display: block; margin-bottom: 10px; font-size: 13px; }
.to-top { font-size: 11px; color: var(--acid); }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 55px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); color: #788078; font-size: 9px; }
.floating-phone { position: fixed; z-index: 20; right: 24px; bottom: 24px; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--acid); color: #172017; box-shadow: 0 8px 30px rgba(0,0,0,.25); font-size: 20px; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr 190px 44px; padding: 0 24px; }
  .main-nav { position: fixed; inset: 82px 0 auto; display: grid; gap: 0; padding: 18px 24px 28px; background: #182019; transform: translateY(-140%); transition: transform .3s; }
  .main-nav.is-open { transform: translateY(0); }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 15px; }
  .menu-button { display: block; }
  .hero-note { width: 360px; }
  .intro { gap: 42px; }
  .stats { grid-template-columns: 1fr; }
  .model-grid { grid-template-columns: 1fr; }
  .model-card-main .model-image, .model-image { height: 440px; }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .benefit-grid article, .benefit-grid article:nth-child(4) { grid-column: span 1; }
  .technology-grid { grid-template-columns: 1fr; gap: 60px; }
  .request { grid-template-columns: 1fr; }
  .request-photo { min-height: 520px; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 36px, 580px); }
  .site-header { height: 68px; grid-template-columns: 1fr 44px; padding: 0 18px; background: rgba(12,20,14,.86); }
  .header-contact { display: none; }
  .main-nav { inset: 68px 0 auto; }
  .brand-mark { width: 32px; height: 32px; }
  .brand strong { font-size: 11px; }
  .hero { min-height: 720px; height: 100svh; background-position: 61% center; align-items: flex-end; padding-bottom: 158px; }
  .hero-shade { background: linear-gradient(0deg, rgba(6,13,8,.94) 0%, rgba(6,13,8,.6) 50%, rgba(6,13,8,.12) 100%); }
  .hero-content { padding-top: 0; }
  .eyebrow { font-size: 8px; letter-spacing: .14em; margin-bottom: 18px; }
  .eyebrow::before { width: 26px; }
  .hero h1 { font-size: clamp(45px, 13.8vw, 64px); line-height: .94; }
  .hero h1 br { display: none; }
  .hero-lead { margin-top: 21px; font-size: 14px; line-height: 1.55; }
  .hero-actions { display: grid; grid-template-columns: 1fr; gap: 9px; margin-top: 24px; }
  .button { width: 100%; min-height: 50px; }
  .hero-note { width: 100%; min-height: 88px; padding: 18px; }
  .hero-note > span { font-size: 29px; }
  .hero-scroll { display: none; }
  .intro { grid-template-columns: 1fr; gap: 24px; padding-top: 76px; padding-bottom: 76px; }
  .section-index { margin-bottom: 18px; }
  .intro h2 { font-size: 47px; }
  .intro-copy { padding-top: 0; }
  .intro-copy > p { font-size: 15px; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 34px; }
  .stats div { display: block; }
  .stats strong, .stats span { display: block; }
  .stats strong { font-size: 38px; }
  .stats span { margin-top: 8px; font-size: 8px; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .section-heading h2, .benefits-title h2, .technology h2, .request h2, .contacts h2 { font-size: 46px; }
  .models, .benefits, .technology, .process, .contacts { padding-top: 76px; padding-bottom: 76px; }
  .model-grid { margin-top: 35px; }
  .model-card-main .model-image, .model-image { height: 290px; }
  .model-info { grid-template-columns: 1fr; padding: 22px 20px; }
  .model-info button, .model-info > a { justify-self: start; }
  .model-info dl { gap: 18px; flex-wrap: wrap; }
  .benefits-title { align-items: start; }
  .round-arrow { width: 52px; height: 52px; flex: 0 0 auto; margin-left: 15px; }
  .benefit-grid { grid-template-columns: 1fr; margin-top: 40px; }
  .benefit-grid article, .benefit-grid article:nth-child(4) { grid-column: auto; min-height: 205px; padding: 24px 8px; border-right: 0; }
  .benefit-grid h3 { margin-top: 30px; }
  .technology-grid { gap: 44px; }
  .wall-card { min-height: 450px; padding: 28px 20px; }
  .wall-visual { height: 300px; }
  .layer { left: 5%; width: 88%; height: 150px; }
  .steps { margin-top: 40px; }
  .steps article { grid-template-columns: 48px 1fr; padding: 24px 0; }
  .steps article div { grid-template-columns: 1fr; gap: 10px; }
  .steps h3 { font-size: 25px; }
  .request-photo { min-height: 330px; }
  .request-panel { padding: 62px 18px; }
  .request form { grid-template-columns: 1fr; }
  .request label, .request textarea, .request label:nth-of-type(4), .request .consent { grid-column: 1; }
  .contacts-grid { grid-template-columns: 1fr; gap: 20px; }
  .contact-list { padding-top: 15px; }
  .contact-list > div { grid-template-columns: 1fr; gap: 9px; }
  .contact-list a, .contact-list p { font-size: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 35px 20px; }
  .footer-bottom { display: grid; gap: 12px; }
  .floating-phone { right: 15px; bottom: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; }
}
