:root {
  --page: #090a09;
  --panel: rgba(24, 24, 22, 0.86);
  --panel-strong: rgba(20, 20, 18, 0.96);
  --line: rgba(220, 180, 112, 0.28);
  --line-soft: rgba(255, 255, 255, 0.1);
  --text: #f5f2ec;
  --muted: #c9c2b7;
  --dim: #8e887f;
  --gold: #e6b766;
  --gold-deep: #bc8840;
  --gold-soft: #f0c879;
  --input: rgba(255, 255, 255, 0.12);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  margin: 0;
  background: var(--page);
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px) 0 0 / 82px 82px,
    linear-gradient(180deg, #080908 0%, #121311 36%, #0b0c0b 100%);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: 0;
}

body.modal-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
select {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

section,
footer {
  scroll-margin-top: 96px;
}

.styles-section,
.material-grid,
.project-section,
.workflow,
.stats,
.lead-section,
.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: 640px;
}

.section-shell {
  width: min(1440px, calc(100% - 72px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 50%;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  width: min(1440px, calc(100% - 72px));
  min-height: 86px;
  transform: translateX(-50%);
  gap: 30px;
  transition: background 0.2s ease, border-color 0.2s ease, backdrop-filter 0.2s ease;
}

.site-header.is-scrolled,
.site-header.menu-open {
  background: rgba(9, 10, 9, 0.86);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(16px);
}

.logo {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-width: 126px;
  line-height: 1;
}

.logo span {
  color: #fff;
  font-size: 27px;
  font-weight: 700;
}

.logo small {
  margin-top: 6px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 500;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 44px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
}

.desktop-nav a,
.site-footer a,
.site-footer button,
.text-link {
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover,
.site-footer a:hover,
.site-footer button:hover,
.text-link:hover {
  color: var(--gold-soft);
}

.btn {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 0 30px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-gold {
  color: #19120a;
  background: linear-gradient(180deg, #f3cc80 0%, #daa75c 100%);
  border-color: rgba(248, 212, 147, 0.6);
  box-shadow: 0 14px 28px rgba(190, 130, 52, 0.22);
}

.btn-outline {
  color: var(--text);
  background: rgba(8, 8, 8, 0.28);
  border-color: rgba(231, 184, 103, 0.7);
}

.gold-text {
  color: var(--gold-soft);
}

.header-cta {
  min-width: 178px;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
}

.menu-toggle span + span {
  margin-top: -13px;
}

.mobile-nav {
  position: fixed;
  z-index: 45;
  top: 86px;
  left: 50%;
  display: none;
  width: min(520px, calc(100% - 32px));
  transform: translateX(-50%);
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(13, 14, 13, 0.96);
  box-shadow: var(--shadow);
}

.mobile-nav.is-open {
  display: grid;
  gap: 12px;
}

.mobile-nav a,
.mobile-nav button {
  min-height: 48px;
}

.hero {
  position: relative;
  min-height: 802px;
  padding-top: 156px;
  padding-bottom: 120px;
  isolation: isolate;
}

.hero::after {
  position: absolute;
  z-index: -3;
  inset: 0 auto 0 0;
  width: 54%;
  content: "";
  background: linear-gradient(90deg, #070807 0%, rgba(7, 8, 7, 0.94) 54%, rgba(7, 8, 7, 0) 100%);
  transition: width 0.8s ease, background 0.8s ease;
}

.hero-media {
  position: absolute;
  z-index: -4;
  top: 0;
  right: max(-48px, calc((100vw - 1440px) / 2 - 48px));
  width: min(62vw, 1000px);
  height: 700px;
  overflow: hidden;
}

.hero-media img,
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(1.2) contrast(1.08) saturate(1.05);
  transition: filter 0.8s ease;
}

.hero-media video {
  display: block;
}

.hero-shade {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.03) 0%, rgba(0, 0, 0, 0) 40%, rgba(9, 10, 9, 0.78) 96%),
    linear-gradient(90deg, #080908 0%, rgba(8, 9, 8, 0.74) 29%, rgba(8, 9, 8, 0.04) 58%, rgba(8, 9, 8, 0.14) 100%);
  transition: background 0.8s ease;
}

.hero.is-final-frame::after {
  width: 50%;
  background: linear-gradient(90deg, #070807 0%, rgba(7, 8, 7, 0.92) 56%, rgba(7, 8, 7, 0) 100%);
}

.hero.is-final-frame .hero-media img,
.hero.is-final-frame .hero-media video {
  filter: brightness(1.34) contrast(1.06) saturate(1.08);
}

.hero.is-final-frame .hero-shade {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 52%, rgba(9, 10, 9, 0.58) 96%),
    linear-gradient(90deg, #080908 0%, rgba(8, 9, 8, 0.72) 28%, rgba(8, 9, 8, 0) 55%, rgba(8, 9, 8, 0.04) 100%);
}

.hero-content {
  width: min(480px, 100%);
}

.hero h1 {
  margin: 0;
  color: #fff;
  font-size: 86px;
  line-height: 0.99;
  font-weight: 800;
}

.hero-content > p {
  max-width: 410px;
  margin: 28px 0 0;
  color: var(--text);
  font-size: 20px;
  line-height: 1.48;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 46px;
}

.hero-trust {
  margin-top: 72px;
}

.hero-trust-title {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 0;
}

.hero-benefits article {
  min-width: 0;
}

.hero-benefits article + article {
  border-left: 1px solid var(--line);
  padding-left: 24px;
}

.hero-benefits p {
  margin: 14px 0 0;
  color: #f4f1eb;
  font-size: 15px;
  font-weight: 700;
}

.hero-benefits small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.38;
}

.icon-line {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.icon-line svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.icon-line.furniture-icon {
  width: 64px;
  height: 40px;
  background: url("assets/furniture-icon-clean.png") center / contain no-repeat;
}

.service-strip {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: -78px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(28, 28, 26, 0.94), rgba(18, 19, 18, 0.95));
  box-shadow: var(--shadow);
}

.service-strip button {
  display: grid;
  min-height: 168px;
  place-items: center;
  gap: 12px;
  padding: 24px 18px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  color: var(--text);
  text-align: center;
}

.service-strip button:last-child {
  border-right: 0;
}

.service-strip button:hover {
  background: rgba(230, 183, 102, 0.07);
}

.service-strip span:last-child {
  font-size: 15px;
  line-height: 1.45;
}

.styles-section {
  padding-top: 62px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.16;
  font-weight: 750;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 15px;
}

.text-link span {
  color: var(--gold);
  font-size: 34px;
  line-height: 1;
}

.style-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px;
}

.style-card {
  display: grid;
  gap: 16px;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--text);
  text-align: center;
}

.style-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  justify-self: center;
  border-radius: 8px;
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.24);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.style-card:hover img {
  transform: translateY(-3px);
  box-shadow: 0 28px 50px rgba(0, 0, 0, 0.35);
}

.style-card span {
  font-size: 16px;
  font-weight: 600;
}

.material-grid {
  display: grid;
  grid-template-columns: minmax(300px, 420px) 454px minmax(300px, 420px);
  justify-content: center;
  gap: 20px;
  padding-top: 50px;
}

.info-card,
.image-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)),
    rgba(21, 21, 19, 0.88);
}

.info-card {
  display: flex;
  min-height: 446px;
  flex-direction: column;
  align-items: flex-start;
  padding: 42px 34px 34px;
}

.info-card p {
  max-width: 300px;
  margin: 20px 0 28px;
  color: var(--muted);
  font-size: 17px;
}

.info-card .btn {
  min-width: 230px;
  margin-bottom: auto;
}

.info-card img {
  width: 100%;
  margin-top: 34px;
  border-radius: 7px;
}

.material-card img {
  max-width: 455px;
}

.hardware-card img {
  height: 156px;
  object-fit: cover;
}

.image-card {
  display: grid;
  place-items: start;
  align-self: start;
  width: 454px;
  min-height: auto;
}

.image-card img {
  width: 454px;
  height: auto;
  align-self: start;
  object-fit: cover;
}

.project-section {
  display: grid;
  grid-template-columns: minmax(300px, 390px) minmax(0, 1051px);
  align-items: center;
  justify-content: center;
  gap: 42px;
  padding-top: 66px;
}

.project-copy p {
  max-width: 340px;
  margin: 24px 0 24px;
  color: var(--muted);
  font-size: 17px;
}

.project-copy ul,
.lead-copy ul {
  display: grid;
  gap: 12px;
  margin: 0 0 34px;
  padding: 0;
  list-style: none;
}

.project-copy li,
.lead-copy li {
  position: relative;
  padding-left: 24px;
  color: var(--text);
}

.project-copy li::before,
.lead-copy li::before {
  position: absolute;
  left: 0;
  color: var(--gold);
  content: "•";
}

.project-visual {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #111;
  box-shadow: var(--shadow);
}

.project-visual img,
.project-visual video {
  width: 100%;
  height: auto;
}

.project-visual video {
  display: block;
}

.project-visual-stage > video {
  transition: opacity 0.45s ease;
}

.project-visual-stage .project-inline-compare {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.project-visual-stage.is-compare-ready > video {
  opacity: 0;
  pointer-events: none;
}

.project-visual-stage.is-compare-ready .project-inline-compare {
  opacity: 1;
  pointer-events: auto;
}

.workflow {
  margin-top: 68px;
  padding: 36px 48px 42px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(23, 24, 22, 0.82), rgba(17, 18, 17, 0.82));
}

.workflow h2 {
  text-align: center;
}

.workflow ol {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 30px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.workflow li {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
}

.workflow li:not(:last-child)::after {
  position: absolute;
  top: 22px;
  left: calc(50% + 34px);
  width: calc(100% - 38px);
  border-top: 1px dashed rgba(230, 183, 102, 0.7);
  content: "";
}

.workflow span {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  background: rgba(5, 5, 5, 0.6);
  font-weight: 700;
}

.workflow p {
  margin: 0;
  color: var(--text);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 44px;
  padding: 32px 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(95deg, rgba(34, 30, 25, 0.9), rgba(20, 21, 20, 0.94));
}

.stats article {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.stats strong {
  color: var(--gold);
  font-size: 28px;
  line-height: 1;
}

.stats p {
  margin: 0;
  color: var(--text);
}

.lead-section {
  position: relative;
  margin-top: 50px;
  overflow: hidden;
  background: #0a0b0a;
}

.lead-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #080908 0%, rgba(8, 9, 8, 0.92) 42%, rgba(8, 9, 8, 0.48) 100%),
    linear-gradient(180deg, rgba(8, 9, 8, 0.15), #080908 100%),
    url("assets/optimized/lead-bg.webp") right center / min(760px, 58vw) auto no-repeat;
}

.lead-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(320px, 520px) minmax(0, 820px);
  gap: 52px;
  align-items: center;
  padding-block: 64px 58px;
}

.lead-copy h2 {
  font-size: 38px;
}

.lead-copy ul {
  margin-top: 30px;
  margin-bottom: 0;
}

.lead-copy li::before {
  content: "✓";
}

.inline-form {
  display: grid;
  grid-template-columns: 1fr 1fr 240px;
  gap: 18px;
  padding: 30px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(27, 28, 26, 0.82);
  box-shadow: var(--shadow);
}

.inline-form label,
.modal-form label,
.configurator-form > label {
  display: grid;
  gap: 8px;
}

.inline-form label span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.inline-form input,
.modal-form input,
.modal-form select,
.configurator-form > label input,
.configurator-form > label select {
  width: 100%;
  min-height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  background: var(--input);
  color: var(--text);
  padding: 0 22px;
  outline: 0;
}

.modal-form select,
.configurator-form select {
  color: var(--text);
}

.modal-form option,
.configurator-form option {
  color: #191919;
}

.inline-form input::placeholder,
.modal-form input::placeholder,
.configurator-form input::placeholder {
  color: rgba(255, 255, 255, 0.74);
}

.inline-form input:focus,
.modal-form input:focus,
.modal-form select:focus,
.configurator-form > label input:focus,
.configurator-form > label select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(230, 183, 102, 0.14);
}

.privacy-note {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.lock-icon {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 15px;
  border: 2px solid var(--gold);
  border-radius: 3px;
}

.lock-icon::before {
  position: absolute;
  left: 3px;
  bottom: 11px;
  width: 8px;
  height: 9px;
  border: 2px solid var(--gold);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  content: "";
}

.form-status {
  grid-column: 1 / -1;
  min-height: 20px;
  margin: 0;
  color: var(--gold-soft);
  font-size: 14px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) 0.65fr 0.85fr 1.35fr;
  gap: 54px;
  padding-block: 54px 38px;
}

.footer-brand {
  display: grid;
  align-content: start;
  gap: 26px;
}

.footer-brand p {
  max-width: 310px;
  margin: 0;
  color: var(--muted);
}

.footer-brand small {
  margin-top: 36px;
  color: var(--dim);
}

.site-footer nav {
  display: grid;
  align-content: start;
  gap: 12px;
}

.site-footer h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.site-footer nav a,
.site-footer nav button {
  justify-self: start;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  text-align: left;
}

address {
  display: grid;
  align-content: start;
  gap: 16px;
  margin: 0;
  padding-left: 48px;
  border-left: 1px solid var(--line-soft);
  color: var(--muted);
  font-style: normal;
}

address a:first-child {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}

.socials {
  display: flex;
  gap: 18px;
  margin-top: 14px;
}

.socials a {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line-soft);
  border-radius: 50%;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.policy-link {
  margin-top: 28px;
  color: var(--muted);
  font-size: 14px;
}

.modal-root {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.modal-root.is-active {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(12px);
}

.modal-card {
  position: relative;
  z-index: 1;
  display: none;
  width: min(820px, calc(100vw - 40px));
  max-height: min(86vh, 920px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018)),
    #151614;
  box-shadow: var(--shadow);
  padding: 40px;
}

.modal-card.is-active {
  display: block;
}

.modal-close {
  position: sticky;
  top: 0;
  float: right;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin: -16px -16px 0 20px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(9, 10, 9, 0.9);
  color: var(--text);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.modal-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 36px;
  align-items: start;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.modal-card h2 {
  margin: 0;
  font-size: 32px;
}

.modal-card p {
  color: var(--muted);
}

.modal-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.modal-form button,
.modal-form .form-status {
  grid-column: 1 / -1;
}

.configurator-modal {
  width: min(980px, calc(100vw - 40px));
}

.configurator-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 34px;
  align-items: stretch;
}

.configurator-copy {
  display: grid;
  align-content: start;
}

.configurator-copy p:not(.eyebrow) {
  margin: 18px 0 26px;
  max-width: 330px;
}

.configurator-note {
  display: grid;
  gap: 8px;
  margin-top: 4px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(230, 183, 102, 0.16), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.025);
}

.configurator-note span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}

.configurator-note strong {
  color: var(--text);
  font-size: 18px;
}

.configurator-note small {
  color: var(--muted);
  line-height: 1.45;
}

.configurator-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.configurator-form fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.configurator-form legend,
.configurator-form > label > span {
  margin-bottom: 8px;
  color: var(--text);
  font-weight: 700;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.choice-grid label {
  position: relative;
  min-width: 0;
  cursor: pointer;
}

.choice-grid input {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.choice-grid span {
  display: grid;
  min-height: 48px;
  place-items: center;
  padding: 10px;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  color: var(--muted);
  text-align: center;
  transition:
    background var(--transition),
    border-color var(--transition),
    color var(--transition);
}

.choice-grid input:checked + span {
  border-color: var(--gold);
  background: rgba(230, 183, 102, 0.15);
  color: var(--text);
}

.choice-grid input:focus-visible + span {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(230, 183, 102, 0.14);
}

.configurator-form button,
.configurator-form .form-status {
  grid-column: 1 / -1;
}

.gallery-modal {
  width: min(1120px, calc(100vw - 40px));
}

.modal-heading {
  margin-bottom: 28px;
}

.gallery-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.gallery-project-card {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 0 0 16px;
  overflow: hidden;
  color: var(--text);
  text-align: left;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  cursor: pointer;
  transition:
    border-color var(--transition),
    transform var(--transition),
    background var(--transition);
}

.gallery-project-card:hover,
.gallery-project-card:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.gallery-project-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.gallery-project-card span,
.gallery-project-card small {
  padding: 0 16px;
}

.gallery-project-card span {
  font-weight: 800;
}

.gallery-project-card small {
  color: var(--muted);
  line-height: 1.45;
}

.style-detail-modal {
  width: min(1160px, calc(100vw - 40px));
}

.style-detail-grid {
  display: grid;
  grid-template-columns: minmax(340px, 0.72fr) minmax(0, 1.28fr);
  gap: 42px;
  align-items: start;
}

.style-detail-copy {
  min-width: 0;
}

.style-detail-copy h2 {
  max-width: 380px;
}

.style-detail-copy p:not(.eyebrow) {
  max-width: 390px;
  margin: 18px 0 22px;
}

.style-detail-copy .btn {
  width: 100%;
  max-width: 390px;
  min-width: 0;
  padding-inline: 22px;
  white-space: normal;
}

.style-detail-copy ul {
  display: grid;
  gap: 10px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.style-detail-copy li {
  position: relative;
  padding-left: 22px;
  color: var(--text);
}

.style-detail-copy li::before {
  position: absolute;
  left: 0;
  color: var(--gold);
  content: "•";
}

.style-detail-grid img {
  width: 100%;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
}

.detail-modal {
  width: min(980px, calc(100vw - 40px));
}

.modal-card.style-detail-modal {
  width: min(1160px, calc(100vw - 40px));
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1fr);
  gap: 30px;
  align-items: center;
}

.detail-grid img {
  width: 100%;
  border-radius: var(--radius);
}

.detail-grid.wide-media {
  grid-template-columns: minmax(250px, 0.65fr) minmax(0, 1.35fr);
}

.delivery-modal {
  width: min(980px, calc(100vw - 40px));
}

.delivery-modal-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.delivery-modal-grid p:not(.eyebrow) {
  margin: 18px 0 28px;
  color: var(--muted);
}

.delivery-steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.delivery-steps li {
  display: grid;
  gap: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}

.delivery-steps span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}

.delivery-steps strong {
  color: var(--text);
  font-size: 18px;
}

.delivery-steps p {
  margin: 0;
  color: var(--muted);
}

.project-modal {
  width: min(1040px, calc(100vw - 40px));
}

.project-modal .detail-grid.wide-media {
  grid-template-columns: minmax(330px, 0.9fr) minmax(0, 1.1fr);
  gap: 38px;
}

.project-modal .detail-grid > div {
  min-width: 0;
}

.project-modal h2 {
  max-width: 360px;
  font-size: 31px;
  line-height: 1.18;
}

.project-modal p:not(.eyebrow) {
  max-width: 350px;
  margin: 18px 0 22px;
}

.project-modal img {
  align-self: center;
  min-width: 0;
  max-height: 238px;
  object-fit: cover;
  object-position: center;
}

.compare-slider {
  position: relative;
  align-self: center;
  width: 100%;
  min-width: 0;
  aspect-ratio: 15 / 8;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #111;
  cursor: ew-resize;
  touch-action: none;
}

.compare-label {
  position: absolute;
  z-index: 4;
  top: 14px;
  padding: 7px 11px;
  border: 1px solid rgba(230, 183, 102, 0.45);
  border-radius: 999px;
  background: rgba(12, 12, 11, 0.66);
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
  pointer-events: none;
}

.compare-label-left {
  left: 14px;
}

.compare-label-right {
  right: 14px;
}

.project-modal .compare-slider img,
.compare-slider .compare-image {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  user-select: none;
}

.compare-overlay {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--compare-position, 50%)) 0 0);
}

.compare-divider {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: var(--compare-position, 50%);
  width: 2px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.45);
  transform: translateX(-50%);
}

.compare-handle {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: var(--compare-position, 50%);
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(230, 183, 102, 0.72);
  border-radius: 50%;
  background: rgba(18, 18, 16, 0.78);
  color: #fff;
  cursor: ew-resize;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.38);
  transform: translate(-50%, -50%);
}

.compare-handle::before,
.compare-handle::after {
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  content: "";
}

.compare-handle::before {
  left: 13px;
  transform: translateY(-50%) rotate(-45deg);
}

.compare-handle::after {
  right: 13px;
  transform: translateY(-50%) rotate(135deg);
}

.compare-handle:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 4px;
}

@media (max-width: 1180px) {
  .desktop-nav {
    gap: 24px;
  }

  .hero {
    min-height: 760px;
  }

  .hero h1 {
    font-size: 72px;
  }

  .hero-media {
    width: min(56vw, 820px);
  }

  .service-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .service-strip button:nth-child(3n) {
    border-right: 0;
  }

  .service-strip button:nth-child(n + 4) {
    border-top: 1px solid var(--line);
  }

  .style-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .material-grid {
    grid-template-columns: minmax(300px, 420px) 454px;
  }

  .hardware-card {
    grid-column: 1 / -1;
  }

  .hardware-card img {
    width: min(522px, 100%);
  }

  .project-section {
    grid-template-columns: 1fr;
  }

  .project-copy {
    display: grid;
    grid-template-columns: minmax(280px, 420px) 1fr;
    gap: 24px 42px;
    align-items: start;
  }

  .project-copy h2,
  .project-copy p,
  .project-copy ul,
  .project-copy .btn {
    margin-top: 0;
  }

  .project-copy .btn {
    justify-self: start;
  }

  .workflow ol {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow li:not(:last-child)::after {
    display: none;
  }

  .lead-grid,
  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .inline-form {
    grid-template-columns: 1fr;
  }

  address {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 920px) {
  .section-shell,
  .site-header {
    width: min(100% - 40px, 760px);
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .site-header {
    grid-template-columns: auto 1fr auto;
    min-height: 78px;
  }

  .menu-toggle {
    display: grid;
    grid-column: 3;
  }

  .mobile-nav {
    top: 78px;
  }

  .hero {
    min-height: auto;
    padding-top: 112px;
    padding-bottom: 66px;
  }

  .hero::after {
    width: 100%;
  }

  .hero-media {
    position: relative;
    right: auto;
    width: 100%;
    height: auto;
    margin: 0 auto 34px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
  }

  .hero-media img,
  .hero-media video {
    height: auto;
  }

  .hero-shade {
    background: linear-gradient(180deg, rgba(8, 9, 8, 0.25), #090a09 88%);
  }

  .hero-content {
    width: 100%;
  }

  .hero h1 {
    font-size: 64px;
  }

  .hero-trust {
    margin-top: 48px;
  }

  .service-strip {
    margin-top: 0;
  }

  .material-grid {
    grid-template-columns: 1fr;
  }

  .image-card {
    width: min(454px, 100%);
    justify-self: center;
  }

  .image-card img {
    width: 100%;
  }

  .project-copy {
    grid-template-columns: 1fr;
  }

  .workflow {
    padding: 32px 24px;
  }

  .workflow ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 28px;
  }

  .lead-grid,
  .site-footer,
  .modal-layout,
  .configurator-layout,
  .delivery-modal-grid,
  .detail-grid,
  .detail-grid.wide-media {
    grid-template-columns: 1fr;
  }

  .project-modal .detail-grid.wide-media {
    grid-template-columns: 1fr;
  }

  .style-detail-grid {
    grid-template-columns: 1fr;
  }

  .project-modal h2,
  .project-modal p:not(.eyebrow),
  .configurator-copy p:not(.eyebrow),
  .style-detail-copy h2,
  .style-detail-copy p:not(.eyebrow) {
    max-width: none;
  }

  .project-modal img {
    max-height: none;
  }

  .lead-bg {
    background:
      linear-gradient(90deg, #080908 0%, rgba(8, 9, 8, 0.9) 100%),
      url("assets/optimized/lead-bg.webp") right bottom / 620px auto no-repeat;
  }

  .gallery-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .section-shell,
  .site-header {
    width: calc(100% - 32px);
  }

  .logo {
    min-width: 102px;
  }

  .logo span {
    font-size: 23px;
  }

  .logo small {
    font-size: 11px;
  }

  .hero {
    padding-top: 96px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-content > p {
    font-size: 17px;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-benefits {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hero-trust-title {
    margin-bottom: 14px;
  }

  .hero-benefits article + article {
    padding-left: 0;
    padding-top: 18px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .service-strip {
    grid-template-columns: 1fr;
  }

  .service-strip button {
    min-height: 130px;
    border-right: 0;
    border-top: 1px solid var(--line);
  }

  .service-strip button:first-child {
    border-top: 0;
  }

  .style-grid,
  .workflow ol,
  .stats,
  .gallery-board {
    grid-template-columns: 1fr;
  }

  .choice-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    align-items: flex-end;
  }

  h2,
  .modal-card h2 {
    font-size: 28px;
  }

  .lead-copy h2 {
    font-size: 30px;
  }

  .info-card {
    min-height: auto;
    padding: 30px 22px;
  }

  .info-card .btn {
    width: 100%;
    min-width: 0;
  }

  .project-section,
  .styles-section,
  .material-grid {
    padding-top: 42px;
  }

  .workflow {
    margin-top: 42px;
  }

  .stats article {
    grid-template-columns: auto auto 1fr;
  }

  .lead-grid {
    padding-block: 44px;
  }

  .inline-form,
  .modal-card {
    padding: 22px;
  }

  .modal-root {
    padding: 16px;
  }

  .modal-card {
    width: calc(100vw - 32px);
  }

  .modal-form {
    grid-template-columns: 1fr;
  }

  .site-footer {
    gap: 30px;
  }

  .footer-brand small {
    margin-top: 8px;
  }
}

@media (max-width: 360px) {
  .btn {
    padding-inline: 18px;
    font-size: 14px;
  }

  .hero h1 {
    font-size: 43px;
  }

  .stats article {
    grid-template-columns: auto 1fr;
  }

  .stats article p {
    grid-column: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
