:root {
  --bg: #F6F1E9;
  --surface: #FFFCF7;
  --surface-alt: #EAE1D5;
  --text: #29251F;
  --text-muted: #625B51;
  --accent: #756044;
  --accent-hover: #51412E;
  --dark: #191C17;
  --border: #C8BEAF;
  --radius: 0px;
  --shadow: none;
  --font-head: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Ubuntu Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 110px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { margin: 0 0 .6em; line-height: 1.2; }
h1, h2 { font-family: var(--font-head); font-weight: 600; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: inherit; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.container--narrow { max-width: 760px; }
@media (min-width: 640px) { .container { padding: 0 24px; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 28px;
  background: var(--accent); color: #fff;
  border: 2px solid var(--accent); border-radius: 999px;
  font: 600 1rem var(--font-body); text-decoration: none; cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn--ghost { background: transparent; color: var(--accent); }
.btn--ghost:hover { color: #fff; }
.btn--small { min-height: 40px; padding: 0 18px; font-size: .9rem; }
.btn--block { width: 100%; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(250, 247, 242, .92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.header__actions { display: flex; align-items: center; gap: 20px; }
.header__phone { display: none; font-weight: 600; text-decoration: none; }
@media (min-width: 640px) { .header__phone { display: inline; } }
.logo { font: 600 1.3rem var(--font-head); text-decoration: none; }
.logo span { color: var(--accent); }
.logo--light { color: #fff; }

/* Hero */
.hero { padding: 48px 0 64px; }
.hero__inner { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) {
  .hero { padding: 80px 0 104px; }
  .hero__inner { grid-template-columns: 1.1fr 1fr; gap: 56px; }
}
.eyebrow { color: var(--accent); font-weight: 600; font-size: .875rem; letter-spacing: .08em; text-transform: uppercase; }
.lead { font-size: 1.125rem; color: var(--text-muted); max-width: 560px; }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 12px 28px; padding: 0; margin: 0; list-style: none; color: var(--text-muted); font-size: .95rem; }
.hero__facts strong { color: var(--text); }

.hero__visual { position: relative; margin: 0; min-width: 0; }
.hero__image { display: block; width: 100%; height: clamp(320px, 44vw, 650px); object-fit: cover; }
.hero__caption { display: flex; justify-content: space-between; gap: 16px; margin-top: 12px; font-size: .75rem; color: var(--text-muted); }
.header__nav { display: flex; gap: 24px; }
.header__nav a { text-decoration: none; }
.header__nav a, .header__nav a:visited { color: inherit; }
@media (max-width: 1100px) { .header__nav { display: none; } }
.room {
  position: relative; aspect-ratio: 4 / 3.4; border-radius: 24px; overflow: hidden;
  background: linear-gradient(180deg, #EDE4D8 0 68%, #CDB89C 68% 100%);
  box-shadow: var(--shadow);
}
.room__window {
  position: absolute; top: 10%; left: 8%; width: 26%; height: 44%;
  background: linear-gradient(160deg, #DCE8EC, #F4F7F6); border: 6px solid #fff; border-radius: 6px;
}
.room__art { position: absolute; top: 16%; left: 48%; width: 22%; height: 20%; background: linear-gradient(135deg, #B5532F, #E3A27F); border: 5px solid #2F2A25; }
.room__lamp { position: absolute; top: 0; right: 16%; width: 2px; height: 22%; background: #2F2A25; }
.room__lamp::after { content: ""; position: absolute; bottom: -14px; left: -16px; width: 34px; height: 18px; background: #2F2A25; border-radius: 18px 18px 4px 4px; }
.room__sofa {
  position: absolute; bottom: 22%; left: 30%; width: 52%; height: 22%;
  background: #6E7F6A; border-radius: 14px 14px 6px 6px;
}
.room__sofa span { position: absolute; top: -26%; left: 6%; right: 6%; height: 50%; background: #7E8F79; border-radius: 12px; }
.room__plant { position: absolute; bottom: 22%; left: 12%; width: 9%; height: 30%; background: radial-gradient(circle at 50% 30%, #4E6B4A 0 45%, transparent 46%), linear-gradient(#8A6A4F, #8A6A4F) bottom / 70% 30% no-repeat; }
.room__rug { position: absolute; bottom: 6%; left: 24%; width: 64%; height: 12%; background: #F3EBDD; border-radius: 50%; }
.hero__badge {
  position: absolute; left: -8px; bottom: -20px;
  display: flex; flex-direction: column; padding: 14px 20px;
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); font-size: .85rem; color: var(--text-muted);
}
@media (min-width: 640px) { .hero__badge { left: -24px; } }
.hero__badge-num { font: 600 1.6rem var(--font-head); color: var(--accent); }

/* Sections */
.section { padding: 64px 0; }
@media (min-width: 960px) { .section { padding: 104px 0; } }
.section--alt { background: var(--bg); }
.section--dark { background: var(--dark); color: #F4EFE8; }
.section__title { max-width: 720px; margin-bottom: 40px; }

.grid { display: grid; gap: 20px; }
@media (min-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card p { color: var(--text-muted); margin: 0; }

.pain__num { display: block; font: 600 1.8rem var(--font-head); color: var(--accent); margin-bottom: 8px; }

.feature__icon {
  display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 16px;
  background: var(--surface-alt); border-radius: 50%; font-size: 1.5rem;
}

/* Steps */
.steps { display: grid; gap: 28px; padding: 0; margin: 0; list-style: none; counter-reset: none; }
.step { position: relative; padding-left: 64px; }
.step p { color: var(--text-muted); margin: 0; }
.step__num {
  position: absolute; left: 0; top: 0;
  display: grid; place-items: center; width: 44px; height: 44px;
  background: var(--accent); color: #fff; border-radius: 50%; font-weight: 600;
}
@media (min-width: 960px) {
  .steps { grid-template-columns: repeat(5, 1fr); gap: 24px; }
  .step { padding: 64px 0 0; }
  .step::before { content: ""; position: absolute; top: 22px; left: 44px; right: -24px; height: 2px; background: var(--border); }
  .step:last-child::before { display: none; }
}

/* Packages */
.packages { align-items: stretch; }
.package { position: relative; display: flex; flex-direction: column; }
.package--featured { border: 2px solid var(--accent); }
.package__badge {
  position: absolute; top: -13px; left: 28px; padding: 3px 12px;
  background: var(--accent); color: #fff; border-radius: 999px; font-size: .8rem; font-weight: 600;
}
.card .package__for { font-size: .95rem; }
.package__price { margin: 20px 0 !important; font: 600 1.9rem var(--font-head); color: var(--text) !important; }
.package__price span { font: 400 1rem var(--font-body); color: var(--text-muted); }
.checklist { flex: 1; margin: 0 0 24px; padding: 0; list-style: none; }
.checklist li { position: relative; padding: 6px 0 6px 28px; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 600; }

/* ROI */
.roi { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .roi { grid-template-columns: 1fr 1fr; gap: 64px; } }
.roi__table { width: 100%; border-collapse: collapse; background: rgba(255,255,255,.05); border-radius: var(--radius); overflow: hidden; }
.roi__table th, .roi__table td { padding: 18px 20px; border-bottom: 1px solid rgba(255,255,255,.1); text-align: left; }
.roi__table th { font-weight: 400; color: #CFC6BA; }
.roi__table td { text-align: right; font-weight: 600; white-space: nowrap; }
.roi__total th, .roi__total td { border-bottom: 0; color: #fff; font-weight: 600; }
.roi__total td { color: #F0A27F; font-size: 1.15rem; }
.note { font-size: .875rem; color: var(--text-muted); }
.section--dark .note { color: #B5AC9F; }

/* Why */
.why { padding-top: 20px; border-top: 2px solid var(--accent); }
.why p { color: var(--text-muted); margin: 0; }

/* FAQ */
.faq { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; }
.faq summary {
  position: relative; padding: 20px 56px 20px 24px; font-weight: 600; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--accent); transition: transform .2s; }
.faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq p { padding: 0 24px 20px; margin: 0; color: var(--text-muted); }

/* Form */
#form { background: var(--surface-alt); }
.form { display: grid; gap: 16px; padding: 32px 20px; }
@media (min-width: 640px) { .form { padding: 48px; } }
.form h2 { margin: 0; }
.form .form__sub { margin-bottom: 8px; }
.form label { display: grid; gap: 6px; font-weight: 500; font-size: .95rem; }
.form input[type="text"], .form input[type="tel"], .form input[type="number"] {
  min-height: 48px; padding: 0 16px; font: 400 16px var(--font-body);
  background: var(--bg); border: 1px solid var(--border); border-radius: 10px; color: var(--text);
}
.form input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.form fieldset { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; border: 0; }
.form legend { width: 100%; margin-bottom: 8px; font-weight: 500; font-size: .95rem; }
.form .radio { display: flex; align-items: center; gap: 8px; font-weight: 400; }
.form .radio input { accent-color: var(--accent); width: 18px; height: 18px; }
.form .note { margin: 0; text-align: center; }

/* Footer */
.footer { background: var(--dark); color: #F4EFE8; padding: 48px 0; }
.footer__inner { display: grid; gap: 20px; }
@media (min-width: 640px) { .footer__inner { grid-template-columns: 1fr auto auto; align-items: center; gap: 40px; } }
.footer a { text-decoration: none; }
.footer .note { color: #B5AC9F; margin: 0; }

/* Consent checkbox */
.form .checkbox { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; font-size: .875rem; color: var(--text-muted); }
.form .checkbox input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); }
.form .checkbox a, .footer .note a { color: inherit; text-decoration: underline; }

/* Legal documents */
.doc h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.doc h2 { font-size: 1.3rem; margin-top: 2em; }
.doc ul { padding-left: 1.2em; margin: 0 0 1em; }
.doc li { margin-bottom: .3em; }
.doc a { color: var(--accent); }

/* Form submission */
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { margin: 0; font-size: .9rem; text-align: center; }
.form__status:empty { display: none; }
.form__status--error { color: #A3321A; }
.btn:disabled { opacity: .6; cursor: wait; }

/* Works */
.work { overflow: hidden; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.work img, .work__photo { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.work__photo { display: grid; place-items: center; color: rgba(255,255,255,.85); font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; }
.work__photo--a { background: linear-gradient(135deg, #CDB89C, #8E7356); }
.work__photo--b { background: linear-gradient(135deg, #A7B5A0, #5F735A); }
.work__photo--c { background: linear-gradient(135deg, #D8C9B8, #A08A73); }
.work__photo--d { background: linear-gradient(135deg, #8C7A6B, #3E342C); }
.work__photo--e { background: linear-gradient(135deg, #E3B9A2, #B5532F); }
.work__photo--f { background: linear-gradient(135deg, #BFC6C9, #79858A); }
.work__body { padding: 20px 24px 24px; }
.work__body h3 { margin-bottom: .3em; }
.work__body p { margin: 0; color: var(--text-muted); font-size: .95rem; }

/* Extra services */
.service { display: flex; flex-direction: column; }
.service p { flex: 1; margin-bottom: 24px; }
.service__buttons { display: grid; gap: 12px; }

/* Selects */
.form select, .calc input {
  min-height: 48px; padding: 0 16px; font: 400 16px var(--font-body);
  background: var(--bg); border: 1px solid var(--border); border-radius: 10px; color: var(--text);
}
.form select:focus, .calc input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }

/* Tile calculator */
.calc { display: grid; gap: 20px; }
@media (min-width: 960px) { .calc { grid-template-columns: 1fr 1fr; align-items: start; } }
.calc__form { display: grid; gap: 24px; }
.calc__group { display: grid; gap: 12px; margin: 0; padding: 0; border: 0; min-width: 0; }
.calc__group legend { margin-bottom: 4px; font-weight: 600; }
.calc label { display: grid; gap: 6px; font-size: .9rem; font-weight: 500; min-width: 0; }
.calc input { width: 100%; }
.calc .radio { display: flex; align-items: center; gap: 8px; font-weight: 400; font-size: 1rem; }
.calc .radio input { width: 18px; height: 18px; min-height: 0; accent-color: var(--accent); }
.calc__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.calc__result { display: grid; gap: 20px; }
.calc__preview { display: block; width: 100%; height: auto; max-height: 320px; background: var(--surface-alt); border-radius: 10px; }
.calc__tile { fill: #EDE4D8; }
.calc__seam { fill: #A99C8C; }
.calc__border { fill: none; stroke: var(--text); stroke-width: 2; }
.calc__numbers { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0; }
.calc__numbers div { padding: 14px 16px; background: var(--bg); border-radius: 10px; }
.calc__numbers div[hidden] { display: none; }
.calc__numbers dt { font-size: .85rem; color: var(--text-muted); }
.calc__numbers dd { margin: 4px 0 0; font: 600 1.4rem var(--font-head); }
.calc__result .note { margin: 0; }
.calc__row label { align-content: end; }
.calc__preview { overflow: visible; }
.btn { text-align: center; line-height: 1.25; }
.btn--block { padding: 10px 20px; }

/* Tile visualization */
.section__lead { max-width: 640px; margin: -24px 0 32px; color: var(--text-muted); font-size: 1.05rem; }
.viz { display: grid; gap: 20px; }
@media (min-width: 960px) { .viz { grid-template-columns: 380px 1fr; align-items: start; } }
.viz__controls { display: grid; gap: 24px; }
.viz__controls label { display: grid; gap: 6px; font-size: .9rem; font-weight: 500; min-width: 0; }
.viz__controls input[type="number"], .viz__controls select {
  width: 100%; min-height: 48px; padding: 0 16px; font: 400 16px var(--font-body);
  background: var(--bg); border: 1px solid var(--border); border-radius: 10px; color: var(--text);
}
.viz__samples { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.viz__sample { cursor: pointer; text-align: center; font-size: .8rem !important; font-weight: 400 !important; }
.viz__sample input, .chip input { position: absolute; opacity: 0; pointer-events: none; }
.viz__swatch { display: block; aspect-ratio: 1; border-radius: 10px; background-size: cover; border: 2px solid var(--border); }
.viz__sample input:checked + .viz__swatch { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.viz__sample input:focus-visible + .viz__swatch, .chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.viz__upload { cursor: pointer; }
.viz__upload input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.viz__upload input:focus-visible + .btn { outline: 2px solid var(--accent); outline-offset: 2px; }
.viz__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex !important; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px;
  border: 1px solid var(--border); border-radius: 999px; background: var(--bg); font-weight: 500; font-size: .9rem;
}
.chip input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }

.viz__stage { position: relative; display: grid; gap: 16px; }
.viz__viewport { position: relative; width: 100%; overflow: hidden; border-radius: var(--radius); background: #DDD6CC; box-shadow: var(--shadow); }
.viz__scene {
  position: absolute; left: 0; top: 0; width: 800px; height: 720px;
  transform-origin: 0 0; perspective: 600px; perspective-origin: 50% 42%;
  transition: filter .4s;
}
.viz__room { position: absolute; inset: 0; transform-style: preserve-3d; transform: translateZ(150px); }
.viz__face { position: absolute; left: 0; top: 0; overflow: hidden; background: #ECE7E0; }
.viz__face svg { display: block; width: 100%; height: 100%; }
.viz__shade { position: absolute; inset: 0; pointer-events: none; }
.viz__back .viz__shade { background: radial-gradient(ellipse at 50% 20%, rgba(255,255,255,.18), rgba(0,0,0,.08)); }
.viz__left .viz__shade { background: linear-gradient(90deg, rgba(0,0,0,.05), rgba(0,0,0,.22)); }
.viz__right .viz__shade { background: linear-gradient(270deg, rgba(0,0,0,.08), rgba(0,0,0,.26)); }
.viz__floor .viz__shade { background: linear-gradient(0deg, rgba(0,0,0,.18), rgba(0,0,0,.02)); }
.viz__ceiling { background: #F5F2EE; }
.viz__ceiling .viz__shade { background: linear-gradient(0deg, rgba(0,0,0,.12), rgba(0,0,0,0)); }
.viz__mirror { background: linear-gradient(135deg, #DCE4E6, #F4F7F7 45%, #C9D2D4); border: 6px solid #2F2A25; border-radius: 8px; }
.viz__vanity.viz__box-front { background: #F7F4EF; border-top: 4px solid #E7E1D8; box-shadow: inset 0 -12px 0 #2F2A25; }
.viz__vanity.viz__box-top { background: #FFFFFF; }
.viz__basin { background: radial-gradient(ellipse, #E4E8EA 45%, #FFFFFF 47%); border-radius: 50%; }
.viz__tub-side { background: linear-gradient(180deg, #FFFFFF, #E9E6E1); }
.viz__tub-top { background: radial-gradient(ellipse at 50% 50%, #DDE7EA 55%, #FFFFFF 57%); }
.viz__cabinet.viz__box-front { background: repeating-linear-gradient(90deg, #5F6F5B 0 197px, #4E5C4B 197px 200px); }
.viz__cabinet.viz__box-top { background: #556451; }
.viz__cabinet--upper.viz__box-front { background: repeating-linear-gradient(90deg, #F2EEE8 0 197px, #D9D3CA 197px 200px); }
.viz__counter { background: linear-gradient(180deg, #C9B8A3, #B9A68F); }

.viz__gate { display: none; }
.viz__stage.is-locked .viz__viewport > * { filter: blur(14px) saturate(.9); }
.viz__stage.is-locked .viz__gate {
  position: absolute; inset: 0; display: grid; place-items: center; padding: 16px; align-content: center;
}
.viz__lead { display: grid; gap: 12px; width: 100%; max-width: 380px; padding: 24px; }
.viz__lead h3 { margin: 0; font-family: var(--font-head); font-size: 1.4rem; }
.viz__lead p { margin: 0; font-size: .9rem; }
.viz__lead label { display: grid; gap: 6px; font-weight: 500; font-size: .9rem; }
.viz__lead input[type="text"], .viz__lead input[type="tel"] {
  min-height: 44px; padding: 0 14px; font: 400 16px var(--font-body);
  background: var(--bg); border: 1px solid var(--border); border-radius: 10px; color: var(--text);
}
.viz__lead .checkbox { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; font-size: .8rem; color: var(--text-muted); }
.viz__lead .checkbox input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); }
.viz__lead .checkbox a { color: inherit; }
.viz__after { display: grid; gap: 12px; }
.viz__stage.is-locked .viz__after { display: none; }
.viz__after .note { margin: 0; }
.viz__ai { display: grid; gap: 8px; }
.viz__ai-status:empty { display: none; }
.viz__ai-status--error { color: #B3261E; }
.viz__ai-result { display: block; width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }

/* On narrow screens the lead card sits under the blurred preview instead of over it. */
@media (max-width: 639px) {
  .viz__stage.is-locked .viz__gate { position: static; padding: 0; }
  .viz__lead { max-width: none; }
}

/* Floor / walls tabs */
.viz__tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; background: var(--surface-alt); border-radius: 999px; }
.viz__tab { position: relative; cursor: pointer; display: block !important; }
.viz__tab input { position: absolute; opacity: 0; pointer-events: none; }
.viz__tab span { display: flex; align-items: center; justify-content: center; min-height: 40px; border-radius: 999px; font-weight: 600; }
.viz__tab input:checked + span { background: var(--surface); color: var(--accent); box-shadow: 0 2px 8px rgba(31,28,25,.1); }
.viz__tab input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.viz__controls .viz__enabled { display: flex !important; align-items: center; gap: 10px; font-size: .95rem; }
.viz__enabled input { width: 18px; height: 18px; accent-color: var(--accent); }
.viz__surface { display: grid; gap: 24px; transition: opacity .2s; }
.viz__surface.is-off { opacity: .4; pointer-events: none; }

/* Room shape, photo mode, extra layouts */
.viz__plane { background: none; }
.calc__row--3 { grid-template-columns: repeat(3, 1fr); }
.viz__controls .viz__check { display: flex !important; align-items: center; gap: 10px; font-size: .95rem; }
.viz__check input { width: 18px; height: 18px; accent-color: var(--accent); }
.viz__only-room, .viz__only-photo { display: grid; gap: 24px; }
.viz__controls.is-photo .viz__only-room, .viz__controls:not(.is-photo) .viz__only-photo { display: none; }
.viz__details { border: 1px solid var(--border); border-radius: 12px; background: var(--bg); }
.viz__details summary { padding: 14px 16px; font-weight: 600; cursor: pointer; }
.viz__details-body { display: grid; gap: 12px; padding: 0 16px 16px; }
.viz__details-body .viz__check { margin-top: 8px; }
.viz__hint, .viz__layout-hint { margin: 0; }
.viz__controls input[type="range"] { width: 100%; accent-color: var(--accent); }

.viz__photo { display: none; position: relative; overflow: hidden; touch-action: none; }
.viz__stage.is-photo .viz__scene { display: none; }
.viz__stage.is-photo .viz__photo { display: block; }
.viz__photo img { display: block; width: 100%; height: auto; }
.viz__photo-empty {
  display: grid; place-items: center; aspect-ratio: 4 / 3; margin: 0; padding: 24px;
  color: var(--text-muted); text-align: center; background: repeating-linear-gradient(135deg, #E6E0D7 0 12px, #DDD6CC 12px 24px);
}
.viz__photo-empty[hidden] { display: none; }
.viz__zones, .viz__handles { position: absolute; inset: 0; }
.viz__handles { pointer-events: none; }
.viz__zone { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.viz__zone svg { display: block; width: 100%; height: 100%; }
.viz__handle {
  position: absolute; width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%;
  background: #fff; border: 3px solid var(--accent); box-shadow: 0 2px 8px rgba(0,0,0,.35);
  cursor: grab; pointer-events: auto; touch-action: none;
}
.viz__handle--walls { border-color: #3B6E8F; }
.viz__handle[hidden] { display: none; }
.viz__handle:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

/* Accent tile */
.viz__tabs--3 { grid-template-columns: repeat(3, 1fr); }
.viz__controls:not(.is-accent) .viz__accent-only { display: none; }
.viz__accent-only .chip input[type="checkbox"] { position: absolute; opacity: 0; pointer-events: none; }
.viz__accent-only .chip input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.viz__accent-only:not(.is-low) .viz__acc-low, .viz__accent-only:not(.is-strip) .viz__acc-strip { display: none !important; }

/* Brand */
.footer__slogan { margin: 6px 0 0; color: #B5AC9F; font-size: .9rem; }
@media (max-width: 420px) { .header .logo { font-size: 1.1rem; } }
.logo__tagline { display: block; margin-top: 2px; font: 500 .72rem/1.2 var(--font-body); color: var(--text-muted); letter-spacing: .01em; }
@media (max-width: 420px) { .logo__tagline { font-size: .66rem; } }

/* Examples */
.examples__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.examples__tabs button {
  min-height: 44px; padding: 0 20px; border: 1px solid var(--border); border-radius: 999px;
  background: var(--surface); color: var(--text); font: 600 .95rem var(--font-body); cursor: pointer;
}
.examples__tabs button[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.examples__tabs button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.example { display: grid; gap: 20px; }
.example[hidden] { display: none; }
.example > .btn { justify-self: start; }
.example .note { margin: 0; }
.example__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.example__head h3 { margin: 0; }
.example__badge { padding: 4px 12px; border-radius: 999px; background: var(--surface-alt); color: var(--accent); font-size: .8rem; font-weight: 600; }
.example__table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 10px; }
.example__table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .9rem; }
.example__table th, .example__table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.example__table thead th { background: var(--surface-alt); font-weight: 600; white-space: nowrap; }
.example__table td:nth-child(4) { color: var(--text-muted); }
.example__table .num { text-align: right; white-space: nowrap; }
.example__table tfoot td { border-bottom: 0; font-weight: 600; font-size: 1rem; }
.example__layout { display: grid; gap: 24px; align-items: start; }
@media (min-width: 960px) { .example__layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.example__drawing-wrap { background: var(--bg); border-radius: 10px; padding: 12px; }
.example__drawing { display: block; width: 100%; max-height: 560px; height: auto; }
.lay-full { fill: #EDE4D8; stroke: #FFFFFF; stroke-width: 1.5; }
.lay-cutfill { fill: #E9B9A3; stroke: #FFFFFF; stroke-width: 1.5; }
.lay-niche { fill: #FFFFFF; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 6 4; }
.lay-wall { fill: none; stroke: var(--text); stroke-width: 2; }
.lay-dim { stroke: var(--text-muted); stroke-width: 1; }
.lay-num { fill: var(--text-muted); font: 500 12px var(--font-body); }
.lay-label { fill: var(--accent); font: 600 12px var(--font-body); }
.example__legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0 0 16px; padding: 0; list-style: none; font-size: .9rem; }
.example__legend li { display: flex; align-items: center; gap: 8px; }
.swatch { width: 18px; height: 18px; border-radius: 4px; }
.swatch--full { background: #EDE4D8; border: 1px solid var(--border); }
.swatch--cut { background: #E9B9A3; }
.swatch--niche { background: #fff; border: 2px dashed var(--accent); }
.example__numbers { display: grid; gap: 10px; margin: 0 0 16px; }
.example__numbers div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--bg); border-radius: 10px; }
.example__numbers dt { color: var(--text-muted); }
.example__numbers dd { margin: 0; font-weight: 600; text-align: right; }

.compare { position: relative; overflow: hidden; border-radius: var(--radius); --pos: 50%; user-select: none; }
.compare img { display: block; width: 100%; height: auto; }
.compare__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__before img { width: 100%; height: 100%; object-fit: cover; }
.compare__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 6px rgba(0,0,0,.3); pointer-events: none; }
.compare__line::after {
  content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: #fff; color: var(--accent); font-weight: 700; box-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare__range:focus-visible + .compare__line, .compare:focus-within .compare__line { background: var(--accent); }
.compare__label { position: absolute; top: 12px; padding: 4px 12px; border-radius: 999px; background: rgba(31,28,25,.7); color: #fff; font-size: .85rem; font-weight: 600; pointer-events: none; }
.compare__label--before { left: 12px; }
.compare__label--after { right: 12px; }

/* Visualization lighting and details */
.viz__scene { filter: saturate(1.08) contrast(1.05); }
.viz__back::after, .viz__left::after, .viz__right::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 75% 65% at 50% 0%, rgba(255, 247, 232, .34), rgba(255, 247, 232, 0) 70%);
}
.viz__ceilfx, .viz__floorfx { position: absolute; left: 0; transform-origin: top; pointer-events: none; }
.viz__ceilfx { top: 0; transform: translateY(1px) rotateX(-90deg); }
.viz__floorfx { transform: translateY(-1px) rotateX(-90deg); }
.viz__fx { position: absolute; }
.viz__shadow { background: radial-gradient(closest-side, rgba(20, 14, 8, .42), rgba(20, 14, 8, 0)); }
.viz__pool { background: radial-gradient(closest-side, rgba(255, 246, 225, .3), rgba(255, 246, 225, 0)); }
.viz__ceilglow { background: radial-gradient(closest-side, rgba(255, 248, 232, .9), rgba(255, 248, 232, 0)); }
.viz__lamp { border-radius: 50%; background: radial-gradient(circle, #fff 0 45%, #f3ece0 46% 70%, #d6cdbf 71%); box-shadow: 0 0 30px 14px rgba(255, 244, 220, .65); }
.viz__vanity.viz__box-front {
  background:
    linear-gradient(#2F2A25, #2F2A25) 50% 22% / 40% 3px no-repeat,
    linear-gradient(90deg, rgba(0,0,0,.12), rgba(0,0,0,0) 35%, rgba(255,255,255,.08) 60%, rgba(0,0,0,.1)),
    repeating-linear-gradient(90deg, #A97C52 0 3px, #B38759 3px 8px, #A77A50 8px 11px);
  border-top: 5px solid #F4F1EC; box-shadow: inset 0 -10px 0 #2F2A25;
}
.viz__vanity.viz__box-top { background: linear-gradient(180deg, #FFFFFF, #ECE8E2); }
.viz__mirror { box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.viz__tub-side { background: linear-gradient(180deg, #FFFFFF 0%, #F1EEEA 60%, #DCD7D0 100%); }
.viz__plant {
  background:
    radial-gradient(ellipse 30% 22% at 30% 30%, #5E7D52 0 95%, transparent 100%),
    radial-gradient(ellipse 28% 24% at 68% 26%, #4C6B44 0 95%, transparent 100%),
    radial-gradient(ellipse 34% 20% at 50% 14%, #6F8F5F 0 95%, transparent 100%),
    radial-gradient(ellipse 26% 20% at 24% 50%, #4A6741 0 95%, transparent 100%),
    radial-gradient(ellipse 26% 20% at 76% 48%, #587A4E 0 95%, transparent 100%),
    linear-gradient(#3F5A39, #3F5A39) 50% 62% / 6% 30% no-repeat,
    linear-gradient(180deg, #E9E2D8, #CFC6B8) 50% 100% / 70% 32% no-repeat;
  background-color: transparent;
}

/* Editorial direction inspired by Golden Strike; original layout and assets. */
.container { max-width: 1440px; padding-inline: clamp(20px, 4vw, 64px); }
.container--narrow { max-width: 880px; }
.header { background: var(--bg); backdrop-filter: none; border-bottom-color: var(--text); }
.header__inner { height: 94px; }
.logo { font: 500 1.5rem/1.15 var(--font-head); text-transform: uppercase; }
.logo span { color: inherit; }
.logo__tagline { margin-top: 7px; text-transform: none; }
.header__phone { font-weight: 400; white-space: nowrap; }
h1, h2 { font-weight: 500; text-transform: uppercase; letter-spacing: -.035em; line-height: 1.06; }
h2 { font-size: clamp(2rem, 4.4vw, 4rem); }
h3 { font-family: var(--font-head); font-weight: 500; font-size: 1.45rem; }
.hero { padding: 64px 0 72px; }
.hero__inner { gap: 36px; align-items: center; }
.hero h1 { font-size: clamp(3.2rem, 5.8vw, 6rem); margin: 24px 0; }
.hero h1 span { color: var(--accent); }
.hero .eyebrow { font-size: .75rem; font-weight: 400; letter-spacing: .05em; }
.lead { font-size: 1.1rem; line-height: 1.55; }
.hero__facts { border-top: 1px solid var(--border); padding-top: 22px; font-size: .875rem; gap: 14px 24px; }
.hero__facts strong { display: block; font-size: 1.15rem; font-weight: 700; }
.btn { background: var(--text); border: 1px solid var(--text); border-radius: 999px; font-weight: 400; padding: 0 22px; }
.btn:hover { background: var(--accent); border-color: var(--accent); }
.btn--ghost { background: transparent; color: var(--text); }
.btn--ghost:hover { color: #fff; }
.section { padding: 84px 0; border-top: 1px solid var(--border); }
.section__title { max-width: 930px; margin-bottom: 48px; }
.card { border: 0; border-top: 1px solid var(--text); padding: 28px 24px; box-shadow: none; border-radius: 0; }
.pain__num { font-family: var(--font-body); font-weight: 400; }
.feature__icon { background: transparent; border: 1px solid var(--border); border-radius: 0; }
.step__num { background: transparent; border: 1px solid var(--text); color: var(--text); border-radius: 0; }
.package--featured { border: 1px solid var(--text); background: #BDC4B5; }
.package__badge { border-radius: 0; background: var(--text); }
.package__price { font-family: var(--font-head); }
.faq { border: 0; border-top: 1px solid var(--border); background: transparent; border-radius: 0; margin-bottom: 0; }
.faq:last-of-type { border-bottom: 1px solid var(--border); }
.work { border-radius: 0; box-shadow: none; }
.work__photo { border-radius: 0; }
.work__body { background: var(--bg); border-top: 1px solid var(--text); }
.examples__tabs button, .example__badge, .example__table-wrap, .example__drawing-wrap,
.example__numbers div, .compare, .compare__label { border-radius: 0; }
.section--dark { color: #E5E6E0; }
.roi__total td { color: #C6D6B5; }
.footer { border-top: 1px solid var(--border); }
:focus-visible { outline: 3px solid #536C42; outline-offset: 4px; }
@media (min-width: 960px) {
  .hero__inner { grid-template-columns: 1fr 1.12fr; gap: 48px; }
  .hero__image { height: 640px; }
}
@media (max-width: 639px) {
  .header__inner { height: 80px; gap: 12px; }
  .header .logo { font-size: 1.05rem; }
  .logo__tagline { font-size: .6rem; max-width: 170px; }
  .header .btn { padding-inline: 12px; min-height: 40px; font-size: .8rem; }
  .hero { padding: 36px 0 44px; }
  .hero h1 { font-size: clamp(2.8rem, 11vw, 4.4rem); }
  .hero__image { height: 360px; }
  .hero__caption { flex-direction: column; gap: 4px; }
  .hero__buttons .btn { width: 100%; }
  .hero__facts { gap: 12px 18px; }
  .section { padding: 52px 0; }
  .card { padding-inline: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.interior-video__placeholder {
  aspect-ratio: 16 / 9; width: 100%; max-height: 620px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; padding: 24px; text-align: center;
  background: var(--surface); border: 1px solid var(--border); color: var(--text-muted);
}
.interior-video__label { font: 500 clamp(1.6rem, 4vw, 3rem)/1.2 var(--font-head); color: var(--text); }

/* Detailed first-screen offer. */
.hero h1.hero__title--detailed { font-size: clamp(2rem, 3.15vw, 3.2rem); line-height: 1.15; }
.hero__title--detailed span { white-space: nowrap; }
.hero__facts { flex-direction: column; }
.hero__facts li { padding-left: 22px; position: relative; }
.hero__facts li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); }

/* Bayers-inspired structure, warm local preview. */
.hero h1 { font-size: clamp(2.8rem, 4.5vw, 5rem); }
.benefits__layout, .budget-example__layout { display: grid; gap: 48px; }
.benefits__intro .section__title, .budget-example .section__title { margin-bottom: 24px; }
.benefits__intro > p { max-width: 360px; }
.benefits__cards .card { background: var(--surface); border: 1px solid var(--border); padding: 24px; }
.benefit__number { display: block; margin-bottom: 24px; font-size: .8rem; color: var(--accent); }
.benefits__cards h3 { font-size: 1.5rem; }
.benefits__cards p { color: var(--text-muted); margin-bottom: 0; }
.budget-example { background: var(--bg); }
.budget-example__price { font: 500 clamp(2.5rem, 5vw, 4.5rem)/1.1 var(--font-head); margin: 28px 0 20px; }
.budget-example__price span { display: block; font: 400 .9rem/1.5 var(--font-body); margin-top: 10px; }
.budget-example__receipt { background: var(--surface); padding: clamp(24px, 3vw, 48px); align-self: center; border-top: 3px solid var(--accent); }
.budget-example__receipt > p:not(.eyebrow) { display: flex; justify-content: space-between; gap: 20px; padding-block: 18px; border-bottom: 1px solid var(--border); }
.budget-example__receipt strong { white-space: nowrap; }
.budget-example__receipt small { color: var(--text-muted); }
.package--featured { background: #DFD1BC; }
@media (min-width: 960px) {
  .benefits__layout { grid-template-columns: .8fr 1.5fr; }
  .budget-example__layout { grid-template-columns: 1.2fr 1fr; }
}
@media (max-width: 639px) {
  .hero h1 { font-size: clamp(2.6rem, 10.5vw, 3.5rem); }
  .budget-example__receipt > p:not(.eyebrow) { flex-direction: column; gap: 6px; }
}

 .product-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; margin-top: 32px; }
.product-card { display: flex; flex-direction: column; padding: 26px 22px; min-height: 300px; background: #FFFCF7; border: 1px solid #cfc2b1; color: #29251F; text-decoration: none; transition: transform .2s, border-color .2s; }
.product-card:hover { transform: translateY(-4px); border-color: #756044; }
.product-card:focus-visible { outline: 3px solid #756044; outline-offset: 4px; }
.product-card__number { color: #756044; font-size: 14px; margin-bottom: 28px; }
.product-card h3 { font-size: 24px; line-height: 1.2; margin: 0; }
.product-card p { font-size: 15px; line-height: 1.6; margin: 18px 0 28px; }
.product-card__link { margin-top: auto; font-size: 14px; color: #756044; display: flex; justify-content: space-between; gap: 10px; }
@media (max-width: 1000px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .product-grid { grid-template-columns: 1fr; } .product-card { min-height: 240px; } }

/* Specification on phones: position and sum only, no sideways scroll */
@media (max-width: 639px) {
  .example__table { min-width: 0; }
  .example__table th:nth-child(1), .example__table td:nth-child(1),
  .example__table th:nth-child(2), .example__table td:nth-child(2),
  .example__table th:nth-child(4), .example__table td:nth-child(4),
  .example__table th:nth-child(5), .example__table td:nth-child(5) { display: none; }
}

/* Interior image alongside the procurement offer. */
.procurement__intro { display: grid; gap: 40px; align-items: center; }
.procurement__visual { margin: 0; }
.procurement__visual img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 44%; }
@media (min-width: 900px) { .procurement__intro { grid-template-columns: 1.1fr 1fr; } }
:root {
  --text-muted: #29251F;
  --accent: #29251F;
  --accent-hover: #51412E;
}

h1, h2 {
  text-transform: none;
  letter-spacing: normal;
  line-height: 1.2;
}
h1 { font-size: clamp(1.8rem, 3.5vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 2.5vw, 2.125rem); }
.hero h1, .hero h1.hero__title--detailed {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
}
.hero h1 span { color: var(--text); }

.contacts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.contacts-card { padding: 28px; overflow-wrap: anywhere; }
.contacts-card h3 { margin: 0 0 14px; }
.contact-messengers { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.contact-messengers a { display: inline-flex; align-items: center; gap: 8px; }
.footer__messengers { margin-top: 14px; }
.footer .note a { text-decoration: none; }
.footer .note a:hover, .footer .note a:focus-visible { text-decoration: underline; }
.messenger-icon { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; color: #fff; font: bold 16px Arial, sans-serif; }
.messenger-icon--telegram { background: #229ed9; }
.messenger-icon--max { background: linear-gradient(135deg, #0099e9, #6735e8); border-radius: 25%; }
.messenger-icon svg { display: block; width: 24px; height: 24px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.footer__nav a, .footer__nav a:visited, .footer__nav a:hover, .footer__nav a:focus-visible { color: #f4efe8; }

/* Сравнение визуализации помещения */
.comparison__frame { position: relative; width: 100%; aspect-ratio: 764 / 944; overflow: hidden; border-radius: 10px; background: #eee; }
.comparison__image { position: absolute; top: -8.47%; width: 201%; max-width: none; height: 108.47%; object-fit: fill; }
.comparison__image--after { right: 0; }
.comparison__image--before { left: 0; }
.comparison__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--split)) 0 0); }
.comparison__line { position: absolute; left: var(--split); top: 0; bottom: 0; width: 3px; background: white; transform: translateX(-50%); }
.comparison__label { position: absolute; bottom: 14px; padding: 7px 12px; color: white; background: #202820; border-radius: 4px; }
.comparison__label--before { left: 14px; } .comparison__label--after { right: 14px; }
.comparison__range { display: block; width: 100%; accent-color: var(--text); margin-top: 12px; }

.comparison__choices { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; }
.comparison__choice { padding: 10px 18px; border: 1px solid var(--text); border-radius: 999px; background: transparent; color: var(--text); font: 400 1rem var(--font-body); cursor: pointer; }
.comparison__choice[aria-pressed="true"] { background: var(--text); color: white; }
.comparison--kitchen .comparison__frame { aspect-ratio: 935 / 692; }
.comparison--kitchen .comparison__image { top: 0; left: 0; right: auto; width: 100%; height: 100%; object-fit: cover; }

.comparison--bathroom .comparison__frame { aspect-ratio: 487 / 542; }
.comparison--bathroom .comparison__image { top: 0; left: 0; right: auto; width: 100%; height: 100%; object-fit: cover; }

#visualization .comparison__price { font-weight: 700; font-size: 1.25rem; margin: 20px 0; }
