:root {
  --ink: #17201e;
  --muted: #69716e;
  --paper: #f4f2eb;
  --white: #fff;
  --line: #d9dcd6;
  --accent: #dce938;
  --accent-dark: #c7d421;
  --sale-red: #d71920;
  --forest: #263b36;
  --blue: #aec8cc;
  --shadow: 0 22px 55px rgba(23, 32, 30, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background-color: #f8f8f6; background-image: linear-gradient(135deg, rgba(25,34,32,.018) 25%, transparent 25%), linear-gradient(315deg, rgba(25,34,32,.018) 25%, transparent 25%); background-position: 0 0, 9px 9px; background-size: 18px 18px; font-family: "DM Sans", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }

.site-header { height: 88px; display: flex; align-items: center; justify-content: space-between; max-width: 1440px; margin: auto; padding: 0 5vw; background: var(--paper); }
.brand { display: inline-flex; gap: 12px; align-items: center; text-decoration: none; }
.brand-logo { display: block; width: clamp(180px, 18vw, 235px); height: 64px; object-fit: contain; object-position: left center; }
.brand > span:last-child { display: grid; line-height: 1; }
.brand b { font: 800 19px/1 "Manrope", sans-serif; letter-spacing: .08em; }
.brand small { color: var(--muted); margin-top: 6px; font-size: 8px; font-weight: 700; letter-spacing: .2em; }
.brand-mark { position: relative; width: 31px; height: 35px; display: flex; gap: 3px; align-items: flex-end; }
.brand-mark i { width: 8px; background: var(--ink); transform: skewY(-28deg); transform-origin: bottom; }
.brand-mark i:nth-child(1) { height: 23px; }
.brand-mark i:nth-child(2) { height: 30px; }
.brand-mark i:nth-child(3) { height: 35px; background: var(--accent-dark); }
.header-contact { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; }
.contact-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-dark); box-shadow: 0 0 0 5px rgba(199, 212, 33, .2); }
.header-actions { display: flex; align-items: center; gap: 28px; }
.back-to-site { display: inline-flex; align-items: center; gap: 9px; padding: 10px 13px; border: 1px solid #cfd2cc; color: #4f5754; background: rgba(255,255,255,.62); font-size: 12px; font-weight: 700; text-decoration: none; transition: .2s; }
.back-to-site:hover { color: white; border-color: var(--ink); background: var(--ink); }
.back-to-site span { font-size: 17px; line-height: 1; }

.hero { min-height: 610px; max-width: 1440px; margin: auto; padding: 80px 5vw 85px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(450px, 1.1fr); gap: 7vw; overflow: hidden; background: #e6e1d7; }
.hero-copy { z-index: 2; align-self: center; max-width: 620px; }
.eyebrow { margin: 0 0 18px; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 2px; display: inline-block; margin: 0 11px 3px 0; background: var(--accent-dark); }
h1, h2, h3 { font-family: "Manrope", sans-serif; }
h1 { margin: 0; font-size: clamp(48px, 5.7vw, 84px); line-height: .98; letter-spacing: -.055em; }
h1 em { color: var(--forest); font-style: normal; }
.hero-lead { max-width: 560px; margin: 28px 0 32px; color: #4f5956; font-size: 17px; line-height: 1.65; }
.button { border: 0; border-radius: 0; display: inline-flex; justify-content: center; align-items: center; gap: 38px; padding: 16px 21px; font-weight: 700; font-size: 14px; text-decoration: none; cursor: pointer; transition: transform .2s, background .2s, opacity .2s; }
.button:hover { transform: translateY(-2px); }
.button-dark { color: white; background: var(--ink); }
.button-dark:hover { background: #31413d; }
.button-accent { color: var(--ink); background: var(--accent); }
.button-accent:hover { background: var(--accent-dark); }
.button:disabled { opacity: .6; cursor: wait; transform: none; }

.hero-visual { position: relative; min-height: 430px; perspective: 1000px; }
.glass-panel { position: absolute; bottom: 20px; width: 39%; height: 92%; padding: 12px; border: 7px solid var(--forest); background: linear-gradient(145deg, rgba(255,255,255,.35), rgba(111,154,158,.33)); box-shadow: inset 0 0 0 2px #8aa3a1, 16px 28px 45px rgba(20,40,38,.15); transform: skewY(-2deg); }
.glass-panel::before, .glass-panel::after { content: ""; position: absolute; background: rgba(255,255,255,.55); }
.glass-panel::before { width: 2px; height: 70%; left: 36%; top: 10%; transform: rotate(28deg); }
.glass-panel::after { width: 1px; height: 54%; right: 25%; top: 24%; transform: rotate(28deg); }
.glass-panel span { height: 100%; display: block; border: 1px solid rgba(218,234,231,.75); }
.panel-one { left: 4%; z-index: 3; }
.panel-two { left: 31%; z-index: 2; height: 87%; bottom: 43px; }
.panel-three { left: 58%; z-index: 1; height: 82%; bottom: 65px; }
.dimension-line { position: absolute; z-index: 5; bottom: -20px; left: 3%; width: 90%; display: flex; align-items: center; gap: 10px; color: #64736f; font-size: 9px; letter-spacing: .12em; }
.dimension-line::before, .dimension-line::after { content: ""; height: 1px; background: #87918e; flex: 1; }

.catalog { max-width: 1320px; min-height: 55vh; margin: 0 auto; padding: 58px 5vw 85px; background: rgba(255,255,255,.72); border-top: 5px solid var(--ink); }
.all-products-link { display:inline-flex; margin:0 0 28px; color:#56615d; font-size:11px; font-weight:700; text-underline-offset:3px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 45px; }
.section-heading .eyebrow { margin-bottom: 10px; }
.section-heading h2 { margin: 0; font-size: clamp(35px, 4vw, 54px); letter-spacing: -.04em; }
.section-heading h1 { margin: 0; font-size: clamp(38px, 4.5vw, 62px); line-height: 1.05; letter-spacing: -.045em; }
.section-summary { max-width: 330px; margin: 0 0 8px; }
.section-summary > p:first-child { margin: 0; color: var(--muted); font-size: 14px; }
.visitor-mini-stats { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }
.visitor-mini { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border: 1px solid #dce3e1; border-radius: 12px; background: rgba(255,255,255,.82); white-space: nowrap; }
.visitor-mini i { width: 7px; height: 7px; border-radius: 50%; }
.visitor-mini small { color: #6c7773; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.visitor-mini b { color: var(--ink); font: 800 13px/1 "Manrope", sans-serif; }
.visitor-mini-views i { background: #315fd5; box-shadow: 0 0 0 3px rgba(49,95,213,.12); }
.visitor-mini-unique i { background: #19924a; box-shadow: 0 0 0 3px rgba(25,146,74,.12); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.product-detail .product-grid { grid-template-columns:minmax(0,520px); }
.product-card { min-width: 0; display: flex; flex-direction: column; background: var(--white); box-shadow: 0 1px 0 rgba(23,32,30,.08); transition: transform .25s, box-shadow .25s; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product-gallery { position: relative; min-width: 0; overflow: hidden; background: #edf0ed; }
.product-gallery-track { display: flex; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; touch-action: pan-x pan-y; }
.product-gallery-track::-webkit-scrollbar { display: none; }
.product-image { position: relative; width: 100%; height: 300px; padding: 18px; overflow: hidden; border: 0; background: #edf0ed; cursor: zoom-in; }
.product-gallery-slide { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.product-image img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s; }
.product-card:hover .product-image img { transform: scale(1.02); }
.zoom-hint { position: absolute; right: 12px; bottom: 12px; display: flex; gap: 7px; align-items: center; padding: 8px 10px; color: var(--ink); background: rgba(255,255,255,.94); font-size: 11px; }
.discount { position: absolute; z-index: 3; top: 14px; left: 14px; min-width: 50px; padding: 8px 10px; color: white; background: var(--sale-red); box-shadow: 0 4px 12px rgba(215,25,32,.22); font-weight: 700; font-size: 12px; }
.gallery-arrow { position: absolute; z-index: 4; top: 50%; width: 34px; height: 42px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(23,32,30,.12); color: var(--ink); background: rgba(255,255,255,.92); box-shadow: 0 5px 18px rgba(23,32,30,.12); font-size: 28px; line-height: 1; cursor: pointer; transform: translateY(-50%); }
.gallery-arrow:hover { color: white; background: var(--ink); }
.gallery-arrow:disabled { opacity: .28; cursor: default; }
.gallery-prev { left: 8px; }
.gallery-next { right: 8px; }
.gallery-counter { position: absolute; z-index: 4; right: 13px; top: 13px; padding: 6px 8px; color: #5d6663; background: rgba(255,255,255,.92); font-size: 10px; font-weight: 700; }
.gallery-counter b { color: var(--ink); }
.product-info { flex: 1; display: flex; flex-direction: column; min-width: 0; padding: 25px 25px 23px; }
.product-number { margin: 0 0 8px; color: #929995; font-size: 9px; font-weight: 700; letter-spacing: .16em; }
.product-meta-row { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:8px; }
.product-meta-row .product-number { margin:0; }
.product-link { color:#66716d; font-size:9px; font-weight:700; text-decoration:none; }
.product-link:hover { color:var(--sale-red); text-decoration:underline; text-underline-offset:3px; }
.product-info h3 { margin: 0 0 13px; font-size: 21px; line-height: 1.25; letter-spacing: -.025em; }
.dimensions { margin: 0 0 11px; color: var(--forest); font-weight: 600; font-size: 13px; }
.dimensions span { margin-right: 5px; color: #83908c; }
.product-city { display: inline-flex; align-items: center; gap: 7px; margin: 0 0 11px; padding: 6px 9px; color: #313936; background: #eef0eb; font-size: 12px; font-weight: 700; }
.product-city span { color: var(--accent-dark); font-size: 9px; }
.description-toggle { margin: 0 0 18px; border-top: 1px solid #e8e9e5; border-bottom: 1px solid #e8e9e5; }
.description-toggle summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; color: #596360; font-size: 12px; font-weight: 700; cursor: pointer; list-style: none; }
.description-toggle summary::-webkit-details-marker { display: none; }
.description-toggle summary::after { content: '+'; width: 22px; height: 22px; display: grid; place-items: center; flex: 0 0 auto; color: var(--ink); background: #eef0eb; font-size: 17px; font-weight: 500; }
.description-toggle[open] summary::after { content: '−'; }
.description { min-height: 0; margin: 0; padding: 1px 0 14px; color: #596360; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; word-break: normal; }
.price-row { display: flex; align-items: end; justify-content: space-between; gap: 15px; padding-top: 23px; margin-top: auto; border-top: 1px solid #e8e9e5; }
.price-row > div { min-width: 0; display: grid; grid-template-columns: auto auto; align-items: baseline; column-gap: 9px; }
.price-row small { grid-column: 1 / -1; margin-bottom: 3px; color: #929995; font-size: 8px; font-weight: 700; letter-spacing: .14em; }
.price-row strong { font: 800 24px/1.2 "Manrope", sans-serif; white-space: nowrap; }
.price-row del { color: #9ba09e; font-size: 12px; }
.price-row .button { gap: 20px; flex-shrink: 0; padding: 13px 15px; }

.empty-state { padding: 75px 20px; text-align: center; border: 1px dashed #c9cdc7; background: white; }
.empty-icon { display: block; color: var(--accent-dark); font-size: 42px; }
.empty-state h3 { margin: 12px 0 8px; font-size: 24px; }
.empty-state p { color: var(--muted); }
.empty-state a { font-weight: 700; text-underline-offset: 4px; }

.how-it-works { max-width: 1440px; margin: auto; padding: 90px 5vw; color: white; background: var(--forest); }
.how-it-works .eyebrow { color: #bbc5c1; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 42px; border-top: 1px solid rgba(255,255,255,.18); }
.steps > div { position: relative; padding: 35px 8vw 5px 0; }
.steps > div:not(:last-child) { border-right: 1px solid rgba(255,255,255,.18); }
.steps > div:not(:first-child) { padding-left: 4vw; }
.steps b { color: var(--accent); font-size: 12px; letter-spacing: .15em; }
.steps h3 { margin: 18px 0 8px; font-size: 20px; }
.steps p { margin: 0; color: #bdc8c4; font-size: 13px; line-height: 1.6; }

footer { max-width: 1440px; min-height: 135px; margin: auto; padding: 35px 5vw; display: flex; align-items: center; justify-content: space-between; gap: 30px; background: #111816; color: #e7ece9; }
.footer-brand .brand-logo { width: 220px; height: 64px; }
.footer-brand .brand-mark i { background: #e7ece9; }
.footer-brand .brand-mark i:nth-child(3) { background: var(--accent); }
footer p { color: #aeb8b4; font-size: 13px; }
footer p a { color: white; font-weight: 600; }
footer > small { color: #818b87; font-size: 10px; }

dialog { max-width: calc(100vw - 32px); padding: 0; border: 0; color: var(--ink); background: white; box-shadow: 0 30px 100px rgba(0,0,0,.32); }
dialog::backdrop { background: rgba(11,18,16,.74); backdrop-filter: blur(4px); }
.dialog-close { position: absolute; z-index: 4; top: 14px; right: 14px; width: 39px; height: 39px; border: 0; border-radius: 50%; color: var(--ink); background: var(--paper); font-size: 25px; line-height: 1; cursor: pointer; }
.image-dialog { width: 1050px; padding: 25px; }
.image-dialog-heading { display: flex; align-items: center; gap: 12px; margin: 0 55px 20px 2px; }
.image-dialog h2 { margin: 0; font-size: 21px; }
.image-dialog-heading span { color: #76807c; font-size: 12px; font-weight: 700; white-space: nowrap; }
.full-image-wrap { position: relative; height: min(75vh, 720px); background: #eef0ed; overflow: hidden; }
.full-image-wrap img { display: block; width: 100%; height: 100%; object-fit: contain; }
.dialog-gallery-arrow { position: absolute; z-index: 2; top: 50%; width: 46px; height: 56px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(23,32,30,.12); color: var(--ink); background: rgba(255,255,255,.94); box-shadow: 0 5px 18px rgba(23,32,30,.16); font-size: 34px; line-height: 1; cursor: pointer; transform: translateY(-50%); }
.dialog-gallery-arrow:hover { color: white; background: var(--ink); }
.dialog-gallery-prev { left: 16px; }
.dialog-gallery-next { right: 16px; }
.dialog-gallery-arrow[hidden] { display: none; }
.interest-dialog { width: 620px; padding: 42px 45px 40px; }
.form-heading { padding-right: 30px; margin-bottom: 28px; }
.form-heading .eyebrow { margin-bottom: 9px; }
.form-heading h2 { margin: 0 0 7px; font-size: 32px; letter-spacing: -.04em; }
.form-heading > p:last-child { margin: 0; color: var(--muted); }
form label { display: grid; gap: 7px; margin-bottom: 17px; font-size: 12px; font-weight: 700; }
form label > span { display: inline; color: #a7563c; }
form label small { color: var(--muted); font-weight: 400; }
input, textarea { width: 100%; border: 1px solid #d6dad5; border-radius: 0; padding: 13px 14px; color: var(--ink); background: #fafbf8; outline: none; transition: border .2s, box-shadow .2s; }
textarea { resize: vertical; }
input:focus, textarea:focus { border-color: #8c9a30; box-shadow: 0 0 0 3px rgba(199,212,33,.18); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.consent { grid-template-columns: 18px 1fr; align-items: start; gap: 10px; color: var(--muted); line-height: 1.45; font-weight: 400; cursor: pointer; }
.consent input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--forest); }
.consent span { color: inherit; }
.submit-button { width: 100%; margin-top: 4px; }
.form-status { min-height: 18px; margin: 13px 0 0; font-size: 13px; text-align: center; }
.form-status.success { color: #287345; }
.form-status.error { color: #a13e2e; }
.honeypot { position: absolute; left: -9999px; opacity: 0; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 65px; }
  .hero-copy { max-width: 700px; }
  .hero-visual { min-height: 390px; max-width: 650px; width: 100%; justify-self: center; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .steps > div { padding-right: 4vw; }
}

@media (max-width: 680px) {
  .site-header { height: 76px; padding-inline: 22px; }
  .site-header .brand-logo { width: 155px; height: 50px; }
  .header-actions { gap: 9px; }
  .header-contact { display: none; }
  .back-to-site { padding: 9px 10px; font-size: 10px; }
  .hero { min-height: auto; padding: 58px 22px 55px; }
  h1 { font-size: clamp(43px, 14vw, 64px); }
  .hero-lead { font-size: 15px; }
  .hero-visual { min-height: 270px; }
  .glass-panel { border-width: 5px; padding: 7px; }
  .dimension-line { bottom: -10px; }
  .catalog { padding: 42px 22px 70px; }
  .section-heading { align-items: start; flex-direction: column; margin-bottom: 30px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-image { height: 290px; }
  .how-it-works { padding: 70px 22px; }
  .steps { grid-template-columns: 1fr; }
  .steps > div, .steps > div:not(:first-child) { padding: 27px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  footer { align-items: flex-start; flex-direction: column; padding: 40px 22px; }
  .interest-dialog { padding: 38px 22px 28px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .image-dialog { padding: 18px; }
  .full-image-wrap { height: 70vh; }
  .dialog-gallery-arrow { width: 40px; height: 50px; }
  .dialog-gallery-prev { left: 8px; }
  .dialog-gallery-next { right: 8px; }
}
