:root {
  --bg: #171717;
  --bg-2: #1e1e1d;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-strong: rgba(255, 255, 255, 0.072);
  --line: rgba(255, 255, 255, 0.12);
  --line-soft: rgba(255, 255, 255, 0.075);
  --text: #f3f0eb;
  --muted: #b7b2aa;
  --muted-2: #817b72;
  --gold: #cda473;
  --gold-2: #e1bd8b;
  --charcoal: #111110;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Arial, Helvetica, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--charcoal);
}

body {
  margin: 0;
  min-height: 100dvh;
  color: var(--text);
  font-family: var(--sans);
  background:
    radial-gradient(circle at 68% 4%, rgba(174, 130, 83, 0.13), transparent 28rem),
    linear-gradient(90deg, #151515 0%, #1b1a19 44%, #171717 100%);
  font-size: 10px;
  line-height: 1.45;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 64px 64px;
  mix-blend-mode: overlay;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.container {
  width: min(790px, calc(100% - 96px));
  margin: 0 auto;
}

svg {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.035em;
}

h2 {
  font-size: 24px;
  line-height: 1.05;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  height: 52px;
  padding: 11px 33px 0 32px;
  display: grid;
  grid-template-columns: 75px 122px 1fr 132px 16px;
  align-items: start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.92);
}

.brand {
  width: 75px;
  color: var(--gold-2);
  font-size: 13px;
  line-height: 0.82;
  letter-spacing: 0.23em;
  font-weight: 600;
}

.brand span {
  display: block;
}

.brand-note {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 8.5px;
  line-height: 1.6;
}

.nav {
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  color: rgba(255, 255, 255, 0.77);
  font-size: 8px;
  white-space: nowrap;
}

.nav a,
.section-head a,
.button-link,
.contact-links a {
  transition: color 220ms var(--ease), opacity 220ms var(--ease);
}

.nav a:hover,
.section-head a:hover,
.button-link:hover,
.contact-links a:hover {
  color: var(--gold-2);
}

.header-cta {
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 3px;
  background: linear-gradient(180deg, #d9b17e, #c19461);
  color: #342414;
  font-size: 8px;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38), 0 10px 22px rgba(0, 0, 0, 0.22);
  transition: transform 220ms var(--ease), filter 220ms var(--ease);
}

.header-cta:hover,
.button:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.header-cta:active,
.button:active {
  transform: translateY(0) scale(0.99);
}

.header-cta span {
  width: 10px;
  height: 10px;
  border: 1.3px solid currentColor;
  border-radius: 50%;
}

.close-button {
  width: 16px;
  height: 25px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  line-height: 1;
}

.hero {
  position: relative;
  height: 336px;
  min-height: 336px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(18, 18, 18, 0.98) 0%, rgba(18, 18, 18, 0.94) 28%, rgba(18, 18, 18, 0.28) 64%, rgba(18, 18, 18, 0.14) 100%),
    radial-gradient(circle at 82% 62%, rgba(196, 155, 104, 0.14), transparent 22rem),
    #151515;
}

.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 110px;
  background: linear-gradient(180deg, transparent, rgba(18, 18, 18, 0.84));
  pointer-events: none;
}

.hero-image {
  position: absolute;
  top: 52px;
  right: calc(50% - 443.5px);
  width: 540px;
  height: 282px;
  background-image: linear-gradient(90deg, #171717 0%, rgba(23, 23, 23, 0.38) 16%, rgba(23, 23, 23, 0.04) 38%), url('./assets/hero-kitchen.png');
  background-size: cover;
  background-position: center;
  opacity: 0.9;
  filter: saturate(0.92) contrast(1.05);
}

.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 18, 18, 0.82) 0%, transparent 30%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, transparent 22%, rgba(0, 0, 0, 0.18) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  padding-top: 74px;
}

.hero-copy {
  width: 315px;
}

.hero h1 {
  font-size: 38px;
  line-height: 1.08;
  color: #fffaf3;
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.hero p {
  margin-top: 17px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 38px;
  margin-top: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 3px;
  color: #2f2215;
  font-size: 8.5px;
  font-weight: 700;
  transition: transform 220ms var(--ease), filter 220ms var(--ease), background 220ms var(--ease);
}

.button-primary {
  min-width: 150px;
  height: 34px;
  padding: 0 19px;
  gap: 12px;
  background: linear-gradient(180deg, #dfb985 0%, #c79962 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 12px 26px rgba(0, 0, 0, 0.2);
}

.button-link {
  color: rgba(255, 255, 255, 0.72);
  font-size: 8px;
}

.hero-progress {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-top: 25px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 7px;
}

.hero-progress i {
  position: relative;
  width: 58px;
  height: 1px;
  background: rgba(255, 255, 255, 0.22);
}

.hero-progress i::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 29px;
  background: var(--gold-2);
}

.benefits {
  position: relative;
  z-index: 1;
  height: 70px;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, #22211f 0%, #292827 48%, #22211f 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 17px;
}

.benefit {
  min-width: 0;
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 8px;
  align-items: center;
}

.benefit svg {
  width: 22px;
  height: 22px;
  color: var(--gold-2);
  opacity: 0.95;
}

.benefit h3 {
  color: rgba(255, 255, 255, 0.88);
  font-size: 7.4px;
  font-weight: 700;
  line-height: 1.2;
}

.benefit p {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 6.8px;
  line-height: 1.34;
}

.section-block {
  position: relative;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.02), transparent 48%, rgba(255, 255, 255, 0.015)),
    #1c1c1b;
}

.section-block::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 4% 0%, rgba(205, 164, 115, 0.055), transparent 20rem);
}

.section-block > .container {
  position: relative;
  z-index: 1;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.section-head a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 8px;
}

.portfolio {
  height: 180px;
  padding-top: 16px;
}

.portfolio-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 9px;
}

.portfolio-strip img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.22);
}

.quiz {
  height: 174px;
  padding-top: 16px;
  background:
    radial-gradient(circle at 70% 42%, rgba(255, 255, 255, 0.04), transparent 16rem),
    #1f1f1e;
}

.quiz-top {
  display: grid;
  grid-template-columns: 1fr 150px 1fr;
  align-items: start;
}

.quiz-top h2 {
  font-size: 24px;
}

.quiz-top p,
.section-subtitle {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.57);
  font-size: 8px;
  line-height: 1.45;
}

.quiz-count {
  justify-self: center;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--serif);
  font-size: 18px;
}

.quiz-count b {
  color: var(--gold-2);
  font-weight: 400;
}

.quiz-count span {
  margin-left: 8px;
}

.quiz-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr) 133px;
  gap: 11px;
  margin-top: 11px;
  align-items: end;
}

.quiz-card {
  height: 83px;
  padding: 11px 11px 10px;
  border-radius: 4px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.025);
  color: rgba(255, 255, 255, 0.68);
  text-align: left;
  transition: border-color 220ms var(--ease), background 220ms var(--ease), transform 220ms var(--ease);
}

.quiz-card:hover,
.quiz-card.active {
  border-color: var(--gold);
  background: rgba(205, 164, 115, 0.045);
  transform: translateY(-1px);
}

.quiz-card svg {
  width: 24px;
  height: 24px;
  color: var(--gold);
}

.quiz-card span,
.quiz-card small {
  display: block;
}

.quiz-card span {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
  font-size: 8px;
}

.quiz-card small {
  margin-top: 1px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 7px;
  line-height: 1.2;
}

.button-next {
  height: 31px;
  margin-bottom: 14px;
  background: linear-gradient(180deg, #dfb985, #c79962);
  gap: 15px;
}

.calculator {
  height: 280px;
  padding-top: 15px;
  background: linear-gradient(90deg, #1b1b1a 0%, #20201f 45%, #1a1a19 100%);
}

.calc-grid {
  display: grid;
  grid-template-columns: 475px 1fr;
  gap: 28px;
  margin-top: 12px;
}

.sliders-panel {
  height: 176px;
  padding: 19px 16px 16px;
  border: 1px solid var(--line-soft);
  border-radius: 3px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.018));
}

.range-row {
  display: grid;
  grid-template-columns: 125px 55px 36px 1fr 48px;
  gap: 9px;
  align-items: center;
  height: 23px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 8px;
}

.range-row span {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.range-row b {
  color: var(--gold);
  font-size: 7.5px;
  font-weight: 500;
}

.range-row small {
  color: rgba(255, 255, 255, 0.52);
  font-size: 7px;
  white-space: nowrap;
}

.range {
  position: relative;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.range i {
  position: absolute;
  left: 0;
  top: 0;
  height: 1px;
  background: var(--gold);
}

.range em {
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 3px rgba(205, 164, 115, 0.12);
}

.price-card {
  height: 233px;
  margin-top: -32px;
  padding: 17px 16px 15px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 3px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.24);
}

.price-card p {
  color: rgba(255, 255, 255, 0.58);
  font-weight: 700;
  font-size: 8px;
}

.price-card strong {
  display: block;
  margin-top: 2px;
  color: var(--gold-2);
  font-size: 25px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.price-card span,
.price-card b {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 7.3px;
}

.price-card > span:first-of-type {
  margin-top: 16px;
}

.price-card b {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.96);
}

.price-card hr {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  margin: 13px 0 10px;
}

.price-card ul {
  margin: 6px 0 11px;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.58);
  font-size: 7px;
  line-height: 1.55;
}

.price-card li::before {
  content: '✓';
  margin-right: 6px;
  color: rgba(255, 255, 255, 0.78);
}

.price-card .button {
  width: 100%;
  height: 30px;
}

.price-card small {
  display: block;
  margin-top: 17px;
  color: rgba(255, 255, 255, 0.34);
  font-size: 6.5px;
}

.materials {
  height: 158px;
  padding-top: 15px;
  background: #1d1d1c;
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-top: 10px;
}

.material-card {
  overflow: hidden;
  height: 105px;
  border-radius: 3px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.045);
}

.material-card img {
  width: 100%;
  height: 61px;
  object-fit: cover;
}

.material-card h3 {
  margin: 9px 10px 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 7.7px;
  line-height: 1;
}

.material-card p {
  margin: 4px 10px 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 6.9px;
  line-height: 1.16;
}

.hardware {
  height: 190px;
  padding-top: 4px;
  background: linear-gradient(90deg, #1c1c1b, #20201f 50%, #1c1c1b);
}

.hardware .section-subtitle {
  margin-top: 4px;
}

.hardware-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr 1fr;
  gap: 22px;
  margin-top: 14px;
}

.hardware-card {
  position: relative;
  overflow: hidden;
  min-height: 122px;
  display: grid;
  grid-template-columns: 1fr 82px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.035);
}

.hardware-card.featured {
  grid-template-columns: 1fr 112px;
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(205, 164, 115, 0.12) inset;
}

.hardware-card img {
  width: 100%;
  height: 122px;
  object-fit: cover;
  align-self: stretch;
  opacity: 0.96;
}

.hardware-copy {
  padding: 13px 12px 11px;
}

.hardware-card h3 {
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  line-height: 1;
}

.hardware-card p {
  margin-top: 10px;
  width: 105px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 7px;
  line-height: 1.35;
}

.hardware-card ul {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.64);
  font-size: 6.7px;
  line-height: 1.5;
}

.hardware-card li::before {
  content: '✓';
  color: var(--gold-2);
  margin-right: 5px;
}

.hardware-card strong {
  position: absolute;
  left: 12px;
  bottom: 10px;
  color: rgba(255, 255, 255, 0.93);
  font-size: 10px;
}

.card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.card-title span {
  padding: 2px 6px;
  border-radius: 2px;
  background: rgba(205, 164, 115, 0.35);
  color: #2d2117;
  font-size: 6px;
  font-weight: 700;
}

.project3d {
  height: 170px;
  overflow: hidden;
  background:
    linear-gradient(90deg, #191918 0%, #1d1c1b 48%, #151514 100%);
}

.project-grid {
  height: 170px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 12px;
  align-items: center;
}

.project-copy {
  padding-top: 2px;
}

.project-copy h2 {
  font-size: 26px;
}

.project-copy p {
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 8px;
  line-height: 1.35;
}

.project-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 6.7px;
  line-height: 1.18;
}

.project-points span {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 5px;
  align-items: center;
}

.project-points svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
}

.project-copy .button {
  width: 120px;
  height: 27px;
  margin-top: 15px;
}

.project-grid > img {
  width: 546px;
  height: 170px;
  object-fit: cover;
  align-self: stretch;
  border-left: 1px solid rgba(255, 255, 255, 0.05);
  filter: contrast(1.04) saturate(0.94);
}

.process {
  height: 116px;
  padding-top: 11px;
  background: #20201f;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  margin-top: 16px;
}

.process article {
  position: relative;
  min-width: 0;
}

.process svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
  margin-bottom: 7px;
}

.process b {
  position: absolute;
  top: 0;
  left: 42px;
  color: var(--gold);
  font-size: 7px;
}

.process h3 {
  color: rgba(255, 255, 255, 0.86);
  font-size: 8px;
  line-height: 1;
}

.process p {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 6.7px;
  line-height: 1.34;
}

.contacts {
  min-height: 130px;
  padding-top: 16px;
  padding-bottom: 12px;
  background:
    radial-gradient(circle at 74% 100%, rgba(205, 164, 115, 0.08), transparent 22rem),
    #191918;
}

.contacts-grid {
  display: grid;
  grid-template-columns: 276px 1fr;
  gap: 37px;
}

.contacts h2 {
  font-size: 24px;
}

.contacts-copy p {
  margin-top: 13px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 8px;
  line-height: 1.45;
}

.contact-links {
  display: flex;
  gap: 25px;
  margin-top: 16px;
}

.contact-links a {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 8px;
  align-items: center;
  color: rgba(255, 255, 255, 0.82);
  font-size: 7.5px;
  line-height: 1.25;
}

.contact-links svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
}

.contact-links small {
  color: rgba(255, 255, 255, 0.45);
  font-size: 6.5px;
}

.lead-form {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px 11px;
  align-items: end;
}

.lead-form label {
  display: grid;
  gap: 4px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 7px;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  height: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  outline: none;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 0 10px;
  font-size: 7.5px;
  transition: border-color 180ms var(--ease), background 180ms var(--ease);
}

.lead-form input:focus,
.lead-form textarea:focus {
  border-color: rgba(205, 164, 115, 0.6);
  background: rgba(255, 255, 255, 0.055);
}

.lead-form textarea {
  height: 45px;
  padding-top: 10px;
  resize: none;
}

.lead-form .full {
  grid-column: 1 / span 2;
}

.date-field {
  position: relative;
  display: block;
}

.date-field svg {
  position: absolute;
  right: 9px;
  top: 50%;
  width: 13px;
  height: 13px;
  color: var(--gold);
  transform: translateY(-50%);
}

.check {
  position: absolute;
  left: 0;
  bottom: -14px;
  display: flex !important;
  grid-template-columns: none !important;
  flex-direction: row;
  align-items: center;
  gap: 7px !important;
}


.check input {
  width: 10px;
  height: 10px;
  padding: 0;
  accent-color: var(--gold);
}

.policy-link {
  border: 0;
  padding: 0;
  background: transparent;
  color: rgba(225, 189, 139, 0.92);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lead-form .button {
  grid-column: 3;
  grid-row: 2 / span 2;
  width: 100%;
  height: 30px;
  align-self: center;
}

.lead-form .button:disabled {
  cursor: default;
  opacity: 0.78;
}

.legal-footer {
  padding: 17px 0 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
  background:
    radial-gradient(circle at 86% 22%, rgba(205, 164, 115, 0.08), transparent 170px),
    #121211;
}

.legal-footer__grid {
  display: grid;
  grid-template-columns: 1.1fr 1.05fr 1.18fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.legal-brand,
.legal-requisites,
.legal-address,
.policy-open {
  min-height: 72px;
}

.legal-brand {
  display: grid;
  align-content: start;
  gap: 8px;
}

.legal-brand strong {
  color: var(--gold-2);
  font-size: 13px;
  line-height: 0.95;
  letter-spacing: 0.19em;
}

.legal-brand p,
.legal-address,
.legal-requisites dd,
.policy-open small {
  color: rgba(255, 255, 255, 0.47);
  font-size: 7px;
  line-height: 1.45;
}

.legal-requisites {
  display: grid;
  gap: 6px;
  margin: 0;
}

.legal-requisites div {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 8px;
}

.legal-requisites dt {
  color: rgba(225, 189, 139, 0.58);
  font-size: 6.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.legal-requisites dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.legal-address {
  display: grid;
  align-content: start;
  gap: 6px;
  font-style: normal;
}

.legal-address a {
  color: rgba(225, 189, 139, 0.82);
}

.policy-open {
  display: grid;
  align-content: center;
  gap: 6px;
  width: 100%;
  padding: 11px 13px;
  border: 1px solid rgba(225, 189, 139, 0.16);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.72);
  text-align: left;
  transition: transform 260ms var(--ease), border-color 260ms var(--ease), background 260ms var(--ease);
}

.policy-open span {
  color: rgba(225, 189, 139, 0.92);
  font-size: 8.5px;
  font-weight: 700;
}

.policy-open small {
  margin: 0;
}

.policy-open:hover,
.policy-link:hover {
  color: #f2cf9b;
}

.policy-open:hover {
  border-color: rgba(225, 189, 139, 0.34);
  background: rgba(205, 164, 115, 0.07);
  transform: translateY(-1px);
}

@media (max-width: 820px) {
  body {
    font-size: 12px;
  }

  .container {
    width: min(100% - 32px, 560px);
  }

  .site-header {
    position: relative;
    height: auto;
    padding: 14px 16px;
    grid-template-columns: 78px 1fr auto;
    gap: 12px;
    background: rgba(18, 18, 18, 0.96);
  }

  .brand-note,
  .nav,
  .close-button {
    display: none;
  }

  .header-cta {
    width: 156px;
    height: 32px;
    font-size: 9px;
  }

  .hero,
  .benefits,
  .portfolio,
  .quiz,
  .calculator,
  .materials,
  .hardware,
  .project3d,
  .process,
  .contacts {
    height: auto;
    min-height: 0;
  }

  .hero {
    min-height: 100dvh;
    padding: 0 0 34px;
  }

  .hero-image {
    position: relative;
    inset: auto;
    width: 100%;
    height: 270px;
    margin-top: 0;
    opacity: 0.72;
  }

  .hero-inner {
    height: auto;
    padding-top: 28px;
  }

  .hero-copy {
    width: 100%;
  }

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

  .hero-actions,
  .contact-links {
    flex-wrap: wrap;
    gap: 14px;
  }

  .benefits,
  .portfolio,
  .quiz,
  .calculator,
  .materials,
  .hardware,
  .project3d,
  .process,
  .contacts {
    padding: 34px 0;
  }

  .benefits-grid,
  .portfolio-strip,
  .materials-grid,
  .process-grid,
  .hardware-grid,
  .calc-grid,
  .contacts-grid,
  .project-grid,
  .quiz-top,
  .quiz-row {
    grid-template-columns: 1fr;
  }

  .benefits-grid,
  .process-grid {
    gap: 18px;
  }

  .benefit h3,
  .process h3,
  .quiz-card span,
  .hardware-card p,
  .material-card h3 {
    font-size: 12px;
  }

  .benefit p,
  .process p,
  .quiz-card small,
  .section-subtitle,
  .quiz-top p,
  .material-card p,
  .hardware-card ul,
  .project-copy p,
  .contacts-copy p,
  .lead-form label,
  .contact-links a {
    font-size: 11px;
  }

  .portfolio-strip img {
    height: auto;
  }

  .quiz-count {
    justify-self: start;
  }

  .button-next {
    margin: 0;
    height: 38px;
  }

  .sliders-panel,
  .price-card {
    height: auto;
    margin: 0;
  }

  .range-row {
    grid-template-columns: 1fr;
    height: auto;
    gap: 6px;
    padding: 8px 0;
  }

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

  .material-card {
    height: auto;
    padding-bottom: 12px;
  }

  .material-card img {
    height: 92px;
  }

  .hardware-card,
  .hardware-card.featured {
    grid-template-columns: 1fr 34%;
  }

  .hardware-card h3 {
    font-size: 16px;
  }

  .hardware-card strong {
    position: static;
    display: block;
    margin-top: 12px;
  }

  .project-grid > img {
    width: 100%;
    height: auto;
  }

  .project-points {
    grid-template-columns: 1fr;
    font-size: 11px;
  }

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

  .lead-form .full,
  .lead-form .button {
    grid-column: auto;
    grid-row: auto;
  }

  .check {
    position: static;
    grid-column: auto;
    grid-row: auto;
  }

  .legal-footer {
    padding: 22px 0;
  }

  .legal-footer__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .legal-brand,
  .legal-requisites,
  .legal-address,
  .policy-open {
    min-height: 0;
  }

  .legal-brand strong {
    font-size: 16px;
  }

  .legal-brand p,
  .legal-address,
  .legal-requisites dd,
  .policy-open small {
    font-size: 11px;
  }

  .legal-requisites div {
    grid-template-columns: 72px 1fr;
  }

  .legal-requisites dt {
    font-size: 9px;
  }

  .policy-open {
    padding: 13px 14px;
  }

  .policy-open span {
    font-size: 12px;
  }

  .policy-open small {
    font-size: 10px;
  }
}

@media (max-width: 480px) {
  .site-header {
    grid-template-columns: 76px 1fr;
  }

  .header-cta {
    width: 100%;
  }

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

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

/* Responsive shell: keeps the reference proportions, but scales up on wide and ultrawide screens. */
:root {
  --shell-scale: 1;
}

.site-shell {
  width: 887px;
  margin: 0 auto;
  transform: scale(var(--shell-scale));
  transform-origin: top center;
  will-change: transform;
}

body.modal-open {
  overflow: hidden;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition:
    opacity 760ms var(--ease) var(--reveal-delay, 0ms),
    transform 760ms var(--ease) var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.portfolio-strip img,
.material-card,
.hardware-card,
.quiz-card,
.process article,
.project-grid > img,
.button,
.header-cta,
.lead-form input,
.lead-form textarea {
  transition:
    transform 360ms var(--ease),
    opacity 360ms var(--ease),
    border-color 360ms var(--ease),
    background 360ms var(--ease),
    box-shadow 360ms var(--ease),
    filter 360ms var(--ease);
}

.portfolio-strip img:hover,
.project-grid > img:hover {
  transform: translate3d(0, -3px, 0) scale(1.015);
  filter: saturate(1.04) contrast(1.04);
}

.material-card:hover,
.hardware-card:hover,
.quiz-card:hover {
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.image-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 36px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 320ms var(--ease), visibility 320ms var(--ease);
}

.image-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.image-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 9, 0.82);
  backdrop-filter: blur(18px);
}

.image-modal__panel {
  position: relative;
  z-index: 1;
  width: min(1180px, 86vw);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(225, 189, 139, 0.24);
  border-radius: 18px;
  background: rgba(24, 23, 22, 0.86);
  box-shadow: 0 38px 110px rgba(0, 0, 0, 0.58), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: translate3d(0, 18px, 0) scale(0.965);
  transition: transform 420ms var(--ease);
}

.image-modal.is-open .image-modal__panel {
  transform: translate3d(0, 0, 0) scale(1);
}

.image-modal__panel img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: #131312;
}

.image-modal__panel figcaption {
  padding: 13px 16px 15px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
}

.image-modal__close {
  position: absolute;
  top: 24px;
  right: 28px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(29, 28, 27, 0.72);
  color: rgba(255, 255, 255, 0.86);
  font-size: 26px;
  line-height: 1;
  backdrop-filter: blur(14px);
  transition: transform 260ms var(--ease), background 260ms var(--ease), border-color 260ms var(--ease);
}

.image-modal__close:hover {
  transform: scale(1.05) rotate(3deg);
  border-color: rgba(225, 189, 139, 0.5);
  background: rgba(42, 35, 28, 0.9);
}

.policy-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 34px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 320ms var(--ease), visibility 320ms var(--ease);
}

.policy-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.policy-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 9, 0.82);
  backdrop-filter: blur(18px);
}

.policy-modal__panel {
  position: relative;
  z-index: 1;
  width: min(760px, 92vw);
  max-height: min(780px, 86vh);
  overflow: auto;
  padding: 34px 36px 30px;
  border: 1px solid rgba(225, 189, 139, 0.25);
  border-radius: 18px;
  outline: none;
  background:
    radial-gradient(circle at 92% 0%, rgba(205, 164, 115, 0.14), transparent 180px),
    rgba(24, 23, 22, 0.96);
  box-shadow: 0 38px 110px rgba(0, 0, 0, 0.58), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: translate3d(0, 18px, 0) scale(0.965);
  transition: transform 420ms var(--ease);
}

.policy-modal.is-open .policy-modal__panel {
  transform: translate3d(0, 0, 0) scale(1);
}

.policy-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.82);
  font-size: 24px;
  line-height: 1;
  transition: transform 260ms var(--ease), background 260ms var(--ease), border-color 260ms var(--ease);
}

.policy-modal__close:hover {
  transform: scale(1.05);
  border-color: rgba(225, 189, 139, 0.42);
  background: rgba(205, 164, 115, 0.1);
}

.policy-eyebrow {
  color: rgba(225, 189, 139, 0.72);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.policy-modal h2 {
  margin-top: 10px;
  font-size: 34px;
  line-height: 0.96;
}

.policy-lead {
  margin-top: 16px;
  max-width: 61ch;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 1.5;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.policy-grid article {
  min-height: 118px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
}

.policy-grid h3 {
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
}

.policy-grid p,
.policy-note {
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  line-height: 1.5;
}

.policy-grid p {
  margin-top: 8px;
}

.policy-note {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.date-field {
  cursor: pointer;
}

.date-field input {
  cursor: pointer;
}

.calendar-popover {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 30;
  width: 260px;
  padding: 13px;
  border: 1px solid rgba(225, 189, 139, 0.22);
  border-radius: 14px;
  background:
    radial-gradient(circle at 88% 4%, rgba(205, 164, 115, 0.18), transparent 92px),
    rgba(25, 24, 23, 0.96);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.46), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, -8px, 0) scale(0.97);
  transition:
    opacity 260ms var(--ease),
    visibility 260ms var(--ease),
    transform 260ms var(--ease);
}

.calendar-popover.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1);
}

.calendar-head {
  display: grid;
  grid-template-columns: 31px 1fr 31px;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
}

.calendar-head strong,
.calendar-head span {
  display: block;
  text-align: center;
}

.calendar-head strong {
  color: rgba(255, 255, 255, 0.94);
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.calendar-head span {
  margin-top: 2px;
  color: rgba(225, 189, 139, 0.74);
  font-size: 7px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.calendar-nav,
.calendar-day,
.calendar-slot,
.calendar-apply {
  border: 0;
  color: rgba(255, 255, 255, 0.82);
  transition:
    transform 220ms var(--ease),
    background 220ms var(--ease),
    color 220ms var(--ease),
    box-shadow 220ms var(--ease),
    opacity 220ms var(--ease);
}

.calendar-nav {
  height: 31px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
  font-size: 18px;
}

.calendar-nav:hover,
.calendar-slot:hover,
.calendar-day:not(:disabled):hover {
  background: rgba(205, 164, 115, 0.18);
  color: #f9e6c9;
  transform: translateY(-1px);
}

.calendar-weekdays,
.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.calendar-weekdays {
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.36);
  font-size: 7px;
  text-align: center;
}

.calendar-day,
.calendar-empty {
  height: 28px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 10px;
}

.calendar-day {
  background: rgba(255, 255, 255, 0.035);
}

.calendar-day.is-today {
  color: var(--gold-2);
  box-shadow: inset 0 0 0 1px rgba(225, 189, 139, 0.24);
}

.calendar-day.is-selected {
  color: #2c2117;
  background: linear-gradient(180deg, #e7c18d, #bd8f59);
  box-shadow: 0 8px 20px rgba(205, 164, 115, 0.24);
}

.calendar-day:disabled {
  cursor: default;
  opacity: 0.25;
}

.calendar-slots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  margin-top: 11px;
}

.calendar-slot {
  height: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 8px;
}

.calendar-slot.is-selected {
  color: #f8e5c7;
  background: rgba(205, 164, 115, 0.2);
  box-shadow: inset 0 0 0 1px rgba(225, 189, 139, 0.24);
}

.calendar-apply {
  width: 100%;
  height: 32px;
  margin-top: 10px;
  border-radius: 10px;
  background: linear-gradient(180deg, #dfb985 0%, #c79962 100%);
  color: #2f2215;
  font-size: 8.5px;
  font-weight: 700;
}

.calendar-apply:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

@media (min-width: 821px) {
  .site-shell {
    min-height: 1774px;
  }
}

@media (max-width: 820px) {
  .site-shell {
    width: 100%;
    transform: none !important;
  }

  .calendar-popover {
    left: 0;
    right: auto;
    width: min(316px, calc(100vw - 48px));
  }

  .image-modal {
    padding: 18px;
  }

  .image-modal__panel {
    width: 94vw;
  }

  .policy-modal {
    padding: 16px;
  }

  .policy-modal__panel {
    width: 94vw;
    max-height: 88vh;
    padding: 26px 18px 22px;
    border-radius: 15px;
  }

  .policy-modal h2 {
    padding-right: 32px;
    font-size: 28px;
  }

  .policy-lead {
    font-size: 13px;
  }

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

@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;
  }

  .site-shell,
  .reveal,
  .reveal.is-visible {
    transform: none !important;
  }
}

.brand-note {
  white-space: nowrap;
}

.range-input {
  --progress: 50%;
  width: 100%;
  height: 18px;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  border-radius: 999px;
  outline: none;
  background: linear-gradient(90deg, var(--gold) 0 var(--progress), rgba(255, 255, 255, 0.18) var(--progress) 100%);
  cursor: pointer;
}

.range-input::-webkit-slider-runnable-track {
  height: 2px;
  border-radius: 999px;
  background: transparent;
}

.range-input::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 13px;
  height: 13px;
  margin-top: -5.5px;
  border: 0;
  border-radius: 50%;
  background: var(--gold-2);
  box-shadow: 0 0 0 5px rgba(205, 164, 115, 0.16), 0 6px 14px rgba(0, 0, 0, 0.35);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
}

.range-input::-moz-range-track {
  height: 2px;
  border-radius: 999px;
  background: transparent;
}

.range-input::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border: 0;
  border-radius: 50%;
  background: var(--gold-2);
  box-shadow: 0 0 0 5px rgba(205, 164, 115, 0.16), 0 6px 14px rgba(0, 0, 0, 0.35);
}

.range-input:hover::-webkit-slider-thumb,
.range-input:focus-visible::-webkit-slider-thumb {
  transform: scale(1.18);
  box-shadow: 0 0 0 8px rgba(205, 164, 115, 0.18), 0 8px 18px rgba(0, 0, 0, 0.4);
}

.price-card strong {
  transition: color 260ms var(--ease), transform 260ms var(--ease);
}

.price-card:has(.button:hover) strong,
.price-card:hover strong {
  color: #f3cd98;
  transform: translateY(-1px);
}

.hardware {
  height: 224px;
}

.hardware-card[data-hardware-option] {
  cursor: pointer;
  min-height: 148px;
}

.hardware-card[data-hardware-option]:focus-visible {
  outline: 2px solid rgba(225, 189, 139, 0.78);
  outline-offset: 3px;
}

.hardware-card.is-selected {
  border-color: var(--gold-2);
  background: linear-gradient(180deg, rgba(205, 164, 115, 0.12), rgba(255, 255, 255, 0.035));
  box-shadow: 0 0 0 1px rgba(205, 164, 115, 0.22) inset, 0 18px 48px rgba(0, 0, 0, 0.26);
}

.hardware-card[data-hardware-option] img {
  height: 148px;
}

.hardware-card[data-hardware-option] .hardware-copy {
  min-height: 148px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hardware-select {
  position: static;
  margin-top: 7px;
  min-width: 58px;
  height: 17px;
  padding: 0 8px;
  border: 1px solid rgba(225, 189, 139, 0.42);
  border-radius: 999px;
  background: rgba(205, 164, 115, 0.1);
  color: rgba(255, 255, 255, 0.76);
  font-size: 6.5px;
  font-weight: 700;
  transition: transform 220ms var(--ease), background 220ms var(--ease), color 220ms var(--ease), border-color 220ms var(--ease);
}

.hardware-card strong {
  position: static;
  margin-top: auto;
}

.hardware-card.is-selected .hardware-select,
.hardware-select:hover {
  background: linear-gradient(180deg, #dfb985, #c79962);
  border-color: transparent;
  color: #2f2215;
  transform: translateY(-1px);
}

@media (max-width: 820px) {
  .hardware-select {
    position: static;
    margin-top: 12px;
    height: 28px;
    min-width: 96px;
    font-size: 10px;
  }
}
