/* Holtsov House — V4 landing. Independent design: graphite metal, bleached wood, paper, one red accent. */

@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/designs/v2/assets/montserrat-cyrillic-400.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/designs/v2/assets/montserrat-latin-400.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  color-scheme: light;
  --ink: #1b1d1f;
  --ink-2: #2b2e31;
  --graphite: #3a3e42;
  --muted: #676c70;
  --paper: #f5f2ec;
  --paper-2: #ece7de;
  --sand: #d9d0c0;
  --sand-2: #c9bfad;
  --white: #fffdf9;
  --accent: #c8452b;
  --accent-2: #a8351f;
  --line: rgba(27, 29, 31, .14);
  --line-dark: rgba(255, 253, 249, .16);
  --radius: 4px;
  --wrap: 1240px;
  --gutter: clamp(18px, 4vw, 56px);
  --font: 'Montserrat', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
/* Smooth scrolling only after the first user interaction: Chrome may skip the initial #fragment jump while smooth is on. */
html.smooth { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--paper); font-synthesis: none; text-rendering: optimizeLegibility; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, dl, dd, dt, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: var(--white); padding: 10px 14px; z-index: 100; text-decoration: none; }
.skip:focus { top: 16px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* Typography scale */
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.section-dark .eyebrow { color: var(--sand-2); }
h1 { font-size: clamp(34px, 3.9vw, 54px); line-height: 1.04; font-weight: 700; letter-spacing: -.025em; text-wrap: balance; }
h2 { font-size: clamp(28px, 3.6vw, 48px); line-height: 1.08; font-weight: 700; letter-spacing: -.022em; text-wrap: balance; }
h3 { font-size: clamp(20px, 2vw, 26px); line-height: 1.2; font-weight: 600; letter-spacing: -.015em; }
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--ink-2); margin-top: 24px; max-width: 34em; }
.section-lead { font-size: clamp(16px, 1.3vw, 18px); color: var(--muted); max-width: 40em; margin-top: 18px; }
.section-dark .section-lead { color: #c8c4bd; }
.fineprint { font-size: 14px; line-height: 1.55; color: var(--muted); max-width: 52em; }
.section-dark .fineprint { color: #a9a49c; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 26px; border-radius: var(--radius); font-weight: 600; font-size: 15px; letter-spacing: .01em; text-decoration: none; text-align: center; border: 1.5px solid transparent; transition: background-color .18s, color .18s, border-color .18s, transform .18s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-solid { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-solid:hover { background: var(--graphite); border-color: var(--graphite); }
.btn-accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-accent:hover { background: var(--accent-2); border-color: var(--accent-2); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.section-dark .btn-ghost { color: var(--white); border-color: var(--white); }
.section-dark .btn-ghost:hover { background: var(--white); color: var(--ink); }
.btn-small { min-height: 42px; padding: 8px 18px; font-size: 14px; }
.btn-big { min-height: 58px; padding: 14px 32px; font-size: 16px; }
.link-arrow { display: inline-flex; align-items: center; font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; line-height: 1.3; transition: border-color .18s, color .18s; }
.link-arrow:hover { color: var(--accent); }

/* Header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(245, 242, 236, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 34px; height: 29px; }
.brand-name { font-weight: 500; letter-spacing: .06em; text-transform: uppercase; font-size: 15px; line-height: 1; }
.brand-name b { font-weight: 800; }
.nav { display: flex; gap: 26px; margin-inline: auto; }
.nav a { text-decoration: none; font-size: 14px; font-weight: 500; color: var(--ink-2); padding: 6px 0; border-bottom: 1.5px solid transparent; }
.nav a:hover { border-color: var(--ink); }
.top-actions { display: flex; align-items: center; gap: 22px; }
.top-phone { text-decoration: none; font-weight: 600; font-size: 14px; white-space: nowrap; }
.menu { display: none; margin-left: auto; }
.menu summary { list-style: none; display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px; cursor: pointer; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.menu summary::-webkit-details-marker { display: none; }
.menu-bars { position: relative; width: 22px; height: 2px; background: var(--ink); }
.menu-bars::before, .menu-bars::after { content: ''; position: absolute; left: 0; width: 22px; height: 2px; background: var(--ink); }
.menu-bars::before { top: -7px; }
.menu-bars::after { top: 7px; }
.menu[open] .menu-bars { background: transparent; }
.menu[open] .menu-bars::before { top: 0; transform: rotate(45deg); }
.menu[open] .menu-bars::after { top: 0; transform: rotate(-45deg); }
.menu:not([open]) .menu-sheet { display: none; }
.menu-sheet { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); padding: 10px var(--gutter) 24px; display: grid; gap: 4px; box-shadow: 0 24px 40px -24px rgba(27, 29, 31, .35); }
.menu-sheet > a:not(.btn) { text-decoration: none; font-size: 19px; font-weight: 600; padding: 12px 0; border-bottom: 1px solid var(--line); }
.menu-contacts { display: grid; gap: 6px; padding: 16px 0; }
.menu-contacts a { text-decoration: none; font-size: 15px; color: var(--ink-2); }
.menu-sheet .btn { margin-top: 6px; }

/* Hero */
.hero { display: grid; grid-template-columns: 1fr; background: var(--paper); }
.hero-photo { position: relative; background: var(--sand); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.hero-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px var(--gutter); font-size: 12px; letter-spacing: .02em; color: #fff; background: linear-gradient(to top, rgba(20, 22, 24, .65), rgba(20, 22, 24, 0)); }
.hero-text { padding: clamp(36px, 5vw, 72px) var(--gutter) clamp(36px, 4vw, 56px); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 24px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-facts dt { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 600; }
.hero-facts dd { font-size: clamp(19px, 1.6vw, 24px); font-weight: 700; letter-spacing: -.02em; margin-top: 4px; }

/* Strip */
.strip { background: var(--ink); color: var(--white); }
.strip-row { display: grid; grid-template-columns: 1fr; gap: 0; }
.strip-row p { padding: 18px 0; font-size: 15px; line-height: 1.45; border-bottom: 1px solid var(--line-dark); color: #d6d2cb; }
.strip-row p:last-child { border-bottom: 0; }
.strip-row b { color: var(--white); font-weight: 700; display: block; }

/* Sections */
.section { padding: clamp(56px, 8vw, 112px) 0; scroll-margin-top: 72px; }
.section-dark { background: var(--ink); color: var(--white); }
.section-sand { background: var(--paper-2); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head-row { max-width: none; display: grid; gap: 20px; align-items: end; }

/* Houses */
.houses { display: grid; gap: clamp(40px, 6vw, 96px); }
.house { display: grid; gap: 22px; }
.house-media { display: grid; gap: 8px; }
.house-main img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--sand); border-radius: var(--radius); }
.house-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.thumb { border-radius: var(--radius); overflow: hidden; border: 2px solid transparent; transition: border-color .15s; aspect-ratio: 16 / 9; background: var(--sand); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.is-active { border-color: var(--ink); }
.thumb:hover { border-color: var(--graphite); }
.house-tag { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.house h3 { font-size: clamp(28px, 3vw, 40px); font-weight: 700; letter-spacing: -.025em; margin-top: 10px; }
.house-price { font-size: clamp(22px, 2.2vw, 30px); font-weight: 700; letter-spacing: -.02em; margin-top: 8px; }
.house-price span { font-size: .6em; font-weight: 500; color: var(--muted); margin-right: 6px; }
.house-specs { display: grid; gap: 10px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.house-specs li { padding-left: 18px; position: relative; }
.house-specs li::before { content: ''; position: absolute; left: 0; top: .62em; width: 8px; height: 2px; background: var(--accent); }
.house-note { margin-top: 18px; color: var(--muted); font-size: 15px; }
.house-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 26px; }

/* Included */
.included { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line-dark); }
.included li { display: grid; grid-template-columns: 48px 1fr; gap: 6px 16px; padding: 24px 0; border-bottom: 1px solid var(--line-dark); }
.included .num { font-size: 13px; font-weight: 600; color: var(--sand-2); letter-spacing: .1em; padding-top: 6px; grid-row: 1 / 3; }
.included h3 { font-size: 20px; color: var(--white); }
.included p { color: #c8c4bd; font-size: 15px; grid-column: 2; }
.section-dark .fineprint { margin-top: 28px; }

/* Process */
.process-grid { display: grid; gap: 40px; }
.steps { counter-reset: step; display: grid; gap: 0; margin-top: 32px; border-top: 1px solid var(--line); }
.steps li { counter-increment: step; display: grid; grid-template-columns: 56px 1fr; gap: 6px 14px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(step, decimal-leading-zero); grid-row: 1 / 3; font-size: 28px; font-weight: 700; letter-spacing: -.03em; color: var(--accent); line-height: 1; padding-top: 2px; }
.steps h3 { font-size: 20px; }
.steps p { grid-column: 2; color: var(--muted); font-size: 15px; }
.process-text .fineprint { margin: 24px 0 28px; }
.process-photo { display: grid; gap: 10px; align-content: start; }
.process-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); background: var(--sand); }
.process-photo figcaption { font-size: 13px; color: var(--muted); padding-top: 4px; }

/* Plans (CSS-only tabs via radio) */
.plans input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.plan-tabs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 26px; }
.plan-tabs label { display: grid; gap: 2px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--white); cursor: pointer; transition: border-color .15s, background-color .15s, color .15s; }
.plan-tabs label span { transition: color .15s; }
.plan-tabs label b { font-size: 15px; font-weight: 700; }
.plan-tabs label span { font-size: 13px; color: var(--muted); }
.plan-tabs label:hover { border-color: var(--graphite); }
#plan-2:checked ~ .plan-tabs label[for="plan-2"], #plan-3:checked ~ .plan-tabs label[for="plan-3"], #plan-4:checked ~ .plan-tabs label[for="plan-4"], #plan-6:checked ~ .plan-tabs label[for="plan-6"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
#plan-2:checked ~ .plan-tabs label[for="plan-2"] span, #plan-3:checked ~ .plan-tabs label[for="plan-3"] span, #plan-4:checked ~ .plan-tabs label[for="plan-4"] span, #plan-6:checked ~ .plan-tabs label[for="plan-6"] span { color: var(--sand); }
.plans input:focus-visible + input ~ .plan-tabs, .plans input:focus-visible ~ .plan-tabs { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: var(--radius); }
.plan { display: none; grid-template-columns: minmax(0, 1fr); min-width: 0; gap: 26px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 3vw, 36px); }
#plan-2:checked ~ .plan-panels .plan[data-plan="2"], #plan-3:checked ~ .plan-panels .plan[data-plan="3"], #plan-4:checked ~ .plan-panels .plan[data-plan="4"], #plan-6:checked ~ .plan-panels .plan[data-plan="6"] { display: grid; }
.plan-img { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; }
.plan-img img { width: 100%; height: auto; aspect-ratio: 1241 / 1755; object-fit: contain; }
.plan-info { min-width: 0; }
.plan-info h3 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 700; }
.plan-price { font-size: clamp(24px, 2.6vw, 36px); font-weight: 700; letter-spacing: -.02em; margin-top: 6px; color: var(--accent); }
.plan-facts { display: flex; flex-wrap: wrap; gap: 14px 28px; margin: 22px 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.plan-facts dt { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.plan-facts dd { font-size: 20px; font-weight: 700; margin-top: 2px; }
.plan-info > p:not(.plan-price) { color: var(--ink-2); font-size: 16px; }
.plan-info .btn { margin-top: 24px; }
.warranty { margin-top: clamp(32px, 4vw, 56px); padding-top: 28px; border-top: 1px solid var(--line); }
.warranty-title { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.warranty-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.warranty-grid dd { font-size: clamp(26px, 3vw, 40px); font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.warranty-grid dt { font-size: 14px; color: var(--muted); margin-top: 6px; }

/* Built houses scroller */
.built-scroller { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: 8px; }
.built { display: flex; gap: 14px; padding-inline: var(--gutter); width: max-content; }
.built li { flex: 0 0 78vw; max-width: 420px; scroll-snap-align: start; }
.built img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--sand); }
.built p { font-size: 14px; color: var(--muted); margin-top: 10px; }
.built b { color: var(--ink); display: block; font-size: 15px; }

/* FAQ */
.faq-grid { display: grid; gap: 32px; }
.faq-intro .link-arrow { margin-top: 22px; font-size: 18px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font-size: clamp(17px, 1.4vw, 20px); font-weight: 600; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: 0 0 auto; width: 32px; height: 32px; display: grid; place-items: center; border: 1.5px solid var(--ink); border-radius: 50%; font-size: 20px; font-weight: 500; transition: transform .2s, background-color .2s, color .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--ink); color: var(--white); }
.faq details p { padding: 0 0 22px; color: var(--ink-2); font-size: 16px; max-width: 60ch; }

/* CTA */
.cta-grid { display: grid; gap: 40px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.contact-list { display: grid; gap: 22px; align-content: start; padding-top: 6px; }
.contact-list dt { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--sand-2); font-weight: 600; }
.contact-list dd { font-size: clamp(19px, 1.7vw, 24px); font-weight: 600; margin-top: 4px; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Footer */
.footer { padding: 28px 0 100px; font-size: 13px; color: var(--muted); }
.footer-row { display: grid; gap: 10px; min-width: 0; }
.footer-row p { min-width: 0; overflow-wrap: anywhere; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }

/* Mobile CTA bar */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; padding: 10px var(--gutter) max(10px, env(safe-area-inset-bottom)); background: rgba(245, 242, 236, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
.mobile-bar .btn { min-height: 48px; padding-inline: 14px; font-size: 14px; white-space: normal; line-height: 1.2; min-width: 0; }

/* ---------- Breakpoints ---------- */
@media (max-width: 1023px) {
  .nav, .top-actions { display: none; }
  .menu { display: block; }
}

@media (min-width: 560px) {
  .strip-row { grid-template-columns: repeat(2, 1fr); gap: 0 32px; }
  .strip-row p:nth-last-child(2) { border-bottom: 0; }
  .warranty-grid { grid-template-columns: repeat(4, 1fr); }
  .plan-tabs { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 768px) {
  .hero { grid-template-columns: 1.05fr 1.2fr; grid-template-areas: 'text photo'; min-height: min(84vh, 760px); }
  .hero-photo { grid-area: photo; }
  .hero-photo img { aspect-ratio: auto; position: absolute; inset: 0; }
  .hero-text { grid-area: text; display: flex; flex-direction: column; justify-content: center; padding-left: max(var(--gutter), (100vw - var(--wrap)) / 2); padding-right: clamp(28px, 4vw, 64px); }
  .hero-facts { grid-template-columns: repeat(2, 1fr); }
  .house-main img { aspect-ratio: 16 / 9; }
  .plan { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: start; }
  .faq-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 48px; }
  .cta-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 56px; }
  .section-head-row { grid-template-columns: 1fr 1fr; }
  .section-head-row .section-lead { margin-top: 0; }
  .included { grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
  .footer { padding-bottom: 36px; }
  .footer-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-row p:last-child { text-align: right; }
  .mobile-bar { display: none; }
  .built li { flex-basis: 420px; }
}

@media (min-width: 1024px) {
  .house { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: start; }
  .house:nth-child(even) .house-media { order: 2; }
  .house-body { position: sticky; top: 96px; }
  .process-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
  .process-photo { position: sticky; top: 96px; }
  .included { grid-template-columns: repeat(3, 1fr); }
  .included li { border-bottom: 1px solid var(--line-dark); }
  .strip-row { grid-template-columns: repeat(4, 1fr); gap: 0 32px; }
  .strip-row p { border-bottom: 0; padding: 22px 0; }
  .hero-facts { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .hero-facts dd { font-size: 20px; }
}

@media (min-width: 1280px) {
  .built { padding-inline: calc((100vw - var(--wrap)) / 2); }
  .hero-facts { grid-template-columns: repeat(2, 1fr); gap: 20px 24px; }
  .hero-facts dd { font-size: 23px; }
}

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