:root {
  color-scheme: dark;
  font-family: system-ui, sans-serif;
  color: #f8f3ea;
  background: #1c1d20;
  --surface: #24262a;
  --line: #484a50;
  --muted: #c1bdb7;
  --accent: #ff8659;
  --radius: .6rem;
}

*, *::before, *::after { box-sizing: border-box; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[hidden] { display: none !important; }
body { margin: 0; line-height: 1.55; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #ffbb94; outline-offset: 4px; }
section, main { scroll-margin-top: 7rem; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.08; }
h2, h3 { overflow-wrap: anywhere; }
h1 { font-size: clamp(1.65rem, calc(4vw + .85rem), 5.25rem); letter-spacing: -.06em; }
h1 span { display: block; color: var(--accent); }
h2 { font-size: clamp(1.85rem, 4vw, 3.4rem); letter-spacing: -.045em; margin-bottom: 1.5rem; }
h3 { font-size: 1.2rem; }
.wrap { width: min(100% - 2rem, 76rem); margin-inline: auto; }
.section { padding-block: clamp(3rem, 7vw, 6rem); }
.eyebrow { color: var(--accent); font-size: .78rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .8rem; }
.muted, .intro, .spec { color: var(--muted); }
.skip { position: fixed; z-index: 5; inset: .5rem auto auto .5rem; background: #161719; padding: .75rem; transform: translateY(-150%); }
.skip:focus { transform: none; }
.header { position: sticky; top: 0; z-index: 2; background: #17181b; border-bottom: 1px solid var(--line); }
.header-inner, .contacts, .brand { display: flex; align-items: center; }
.header-inner { justify-content: space-between; flex-wrap: wrap; padding-block: .55rem; gap: .35rem .75rem; }
.contacts { gap: .4rem; flex-wrap: wrap; }
.brand { gap: .5rem; font-weight: 850; font-size: 1.18rem; text-decoration: none; }
.header-phone { font-size: .78rem; font-weight: 650; }
.header-phone svg, .quote-short { display: none; }
.icon { display: grid; place-items: center; width: 2rem; height: 2rem; border: 1px solid var(--line); border-radius: .3rem; }
.icon svg { width: 1rem; height: 1rem; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 2.8rem; padding: .65rem 1rem; border: 1px solid transparent; border-radius: .35rem; font-weight: 750; color: #211812; background: var(--accent); text-decoration: none; text-align: center; line-height: 1.2; }
.button:hover { background: #ffa683; }
.button.compact { font-size: .83rem; min-height: 2rem; padding: .45rem .58rem; }
.button.outline { border-color: #777679; color: inherit; background: transparent; }
.button.outline:hover { background: var(--surface); }
.button.light { background: #f7ede2; }
.button.light:hover { background: #ffc1a7; }
.hero { overflow: hidden; background: radial-gradient(ellipse at 92% 20%, #43403f, transparent 55%), #1c1d20; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; gap: 1.5rem; align-items: center; padding-block: clamp(2rem, 6vw, 5rem); }
.sale { font-size: clamp(1.15rem, 2.5vw, 1.6rem); font-weight: 700; margin-top: .9rem; }
.intro { max-width: 34rem; margin-top: .6rem; }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-block: 1.4rem; }
.hero-benefits { display: flex; flex-wrap: wrap; gap: .35rem 1rem; padding: 0; margin: 0; list-style: none; font-size: .85rem; color: #e0dbd5; }
.hero-benefits li::before { content: '✓'; color: var(--accent); margin-right: .35rem; }
.hero-visual { position: relative; min-width: 0; }
.hero-visual img { width: 100%; border: 1px solid var(--line); border-radius: var(--radius); }
.timer { position: absolute; bottom: .75rem; left: .75rem; display: grid; gap: .15rem; border: 1px solid #686266; border-radius: .35rem; background: #1b1b1f; padding: .5rem .8rem; font-size: .78rem; }
.timer time { color: var(--accent); font-weight: 800; font-size: 1.1rem; font-variant-numeric: tabular-nums; white-space: pre; }
.products, .reviews, .steps, .feature-grid, .footer-grid, .lead-grid, .calculator { display: grid; gap: 1rem; }
.product, figure, .feature-grid li, .steps li { border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; background: var(--surface); }
.product { overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.product img { width: 100%; aspect-ratio: 8 / 5; }
.product-body { padding: 1rem; display: flex; flex-direction: column; align-items: flex-start; gap: .65rem; flex: 1; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .5rem; }
.price strong { color: var(--accent); font-size: 1.25rem; }
.price del, .spec { font-size: .87rem; color: var(--muted); }
.swatches { list-style: none; padding: 0; margin: 0; display: flex; gap: .42rem; }
.swatches li { width: 1.05rem; height: 1.05rem; border: 1px solid #a19b95; border-radius: 50%; }
.product .button { margin-top: auto; }
.band { background: #202125; border-block: 1px solid #34363a; }
.calculator, .lead-form { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: clamp(1rem, 3vw, 2rem); }
.calc-fields, .lead-form { display: grid; gap: .85rem; }
label { display: grid; gap: .3rem; font-weight: 650; }
input:not([type=checkbox], [type=radio]), select { width: 100%; min-width: 0; padding: .55rem .65rem; color: #fff; background: #191a1d; border: 1px solid #77767b; border-radius: .3rem; }
input[type=checkbox], input[type=radio] { accent-color: var(--accent); width: 1rem; height: 1rem; margin: .25rem .4rem .25rem 0; flex: none; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend { padding: 0; font-weight: 650; }
.choices { display: flex; flex-wrap: wrap; gap: .35rem 1rem; }
.choices label, .check { display: flex; align-items: baseline; font-size: .9rem; }
.check { flex-wrap: wrap; column-gap: .2rem; }
.dimensions { display: grid; gap: .5rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.estimate-result { display: grid; align-content: center; gap: .55rem; padding: 1rem; background: #191a1d; border-radius: .35rem; }
.estimate-result output { font-weight: 850; color: var(--accent); font-size: clamp(1.75rem, 5vw, 3.3rem); overflow-wrap: anywhere; }
#estimate-summary, .lead-context { color: var(--muted); overflow-wrap: anywhere; }
.feature-grid, .steps { margin: 0; padding: 0; list-style: none; }
.feature-grid li, .steps li { color: var(--muted); }
.feature-grid strong, .steps strong { display: block; color: #fff; margin-bottom: .25rem; }
.steps { counter-reset: step; }
.steps li::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: block; font-weight: 850; color: var(--accent); margin-bottom: .4rem; }
.reviews { margin-top: 1rem; }
figure, blockquote { margin: 0; }
figcaption { display: flex; gap: .6rem; align-items: center; margin-top: .9rem; font-weight: 700; }
.avatar { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: #754b3d; font-size: .75rem; }
.faq { max-width: 54rem; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; padding-block: .9rem; font-weight: 750; }
details p { padding-bottom: .9rem; color: var(--muted); }
.lead { background: radial-gradient(ellipse at 4% 100%, #633925, #292326 60%); }
.lead-grid { align-items: start; }
.lead-grid h2 { max-width: 12ch; }
.form-status { color: #b5edb9; }
.form-status:empty { display: none; }
.footer { background: #17181b; padding-bottom: 6rem; }
.footer address { font-style: normal; margin-block: .8rem; }
.footer p { margin-bottom: .5rem; }
.map { min-height: 12rem; padding: 1.25rem; display: grid; place-content: center; text-align: center; border: 1px solid var(--line); border-radius: var(--radius); background: repeating-linear-gradient(31deg, transparent 0 36px, #3d3e43 37px 40px, transparent 41px 74px), repeating-linear-gradient(148deg, #26272b 0 52px, #46484d 53px 57px, #26272b 58px 97px); }
.map strong { background: #191a1d; padding: .2rem .5rem; color: var(--accent); }
.map span, .map small { background: #191a1d; }
.floating-call { position: fixed; z-index: 1; bottom: .7rem; right: 1rem; box-shadow: 0 .25rem 1rem #0009; }
dialog { width: min(100% - 2rem, 32rem); max-height: calc(100% - 2rem); padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); color: inherit; background: #191a1d; }
dialog::backdrop { background: #000b; }
.dialog-head { display: flex; align-items: start; gap: .5rem; justify-content: space-between; }
.dialog-head h2 { font-size: 1.7rem; }
.close { border: 1px solid var(--line); color: inherit; background: var(--surface); border-radius: .3rem; font-size: 1.35rem; width: 2rem; flex: none; }

@media (min-width: 36rem) {
  .contacts { gap: .6rem; }
  .products, .feature-grid, .reviews, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 48rem) {
  .wrap { width: min(100% - 3rem, 76rem); }
  .header-inner { padding-block: .8rem; }
  .hero-grid { grid-template-columns: 1.08fr 1fr; }
  .hero-grid h1 { font-size: clamp(2.15rem, 4.65vw, 5.25rem); }
  .reviews, .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .calculator, .lead-grid { grid-template-columns: 1.15fr 1fr; }
  .estimate-result { padding: 1.5rem; }
  .floating-call { display: none; }
  .footer { padding-bottom: 3rem; }
}

@media (min-width: 64rem) {
  .products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 48rem) {
  .header-inner, .contacts { flex-wrap: nowrap; }
  .header-inner { padding-block: .55rem; }
  .contacts .icon, .header-phone span, .quote-full { display: none; }
  .header-phone {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid var(--line);
    border-radius: .3rem;
  }
  .header-phone svg { display: block; width: 1.1rem; height: 1.1rem; }
  .quote-short { display: inline; }
  .header .button.compact { min-height: 2.75rem; }
}

.demo-banner {
  padding: .35rem .5rem;
  background: #25272b;
  text-align: center;
  font-size: .75rem;
}
.demo-banner a { text-decoration: underline; }
