:root {
  --ink: #10141a;
  --ink-soft: #171c24;
  --panel: #1b212b;
  --panel-soft: #222836;
  --line: rgba(244, 239, 231, 0.12);
  --line-strong: rgba(244, 239, 231, 0.22);
  --cream: #f4efe7;
  --cream-dim: #cfc6b8;
  --muted: #9a9384;
  --copper: #c9782a;
  --copper-bright: #e08f3e;
  --copper-dim: rgba(201, 120, 42, 0.16);
  --good: #6fae7f;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 16px;
  --font-body: "Segoe UI", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-display: Georgia, "Iowan Old Style", "Palatino Linotype", "Times New Roman", serif;
}

.visualizer-preview{margin-top:1rem;padding:1rem;border:1px solid var(--line);background:var(--surface);border-radius:14px}.visualizer-head{display:flex;justify-content:space-between;gap:1rem;align-items:start;margin-bottom:.8rem}.visualizer-head strong,.visualizer-head span{display:block}.visualizer-head span{font-size:.78rem;color:var(--muted);margin-top:.25rem}.fit-chip{padding:.35rem .55rem;border:1px solid var(--line);border-radius:999px;font-size:.72rem!important;white-space:nowrap}.visualizer-views{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.visual-install{min-height:190px;position:relative;display:grid;place-items:center;overflow:hidden;background:#d8d0c5 center/cover;border-radius:10px}.visual-install:has(.visual-install-door[style*="none"]){background:linear-gradient(135deg,#d8d0c5,#eee9df)}.visual-install-door{height:76%;width:calc(var(--door-ratio) * 100%);max-width:52%;min-width:30%;background:var(--door-color);border:8px solid #20272a;box-shadow:0 8px 20px #10141755;position:relative;transform:perspective(500px) rotateY(-4deg)}.visual-panel{position:absolute;inset:10% 12%;border:2px solid #ffffff55}.visual-handle{position:absolute;right:9%;top:50%;width:10px;height:10px;border-radius:50%;background:#171b1e;box-shadow:0 0 0 3px #ffffff55}.visual-install-label{position:absolute;left:.6rem;bottom:.5rem;background:#101417cc;color:#fff;padding:.25rem .4rem;border-radius:4px;font-size:.7rem}.visual-install:first-child .visual-install-door{background-image:linear-gradient(#ffffff18,#00000012)}

main{display:flex;flex-direction:column}main>.hero{order:1}main>.trust-bar{order:2}main>#doors{order:3}main>#hardware{order:4}main>#process{order:5}main>#gallery{order:6}main>#quote{order:7}main>#testimonials{order:8}main>.info-band{order:9}main>#faq{order:10}main>#contact{order:11}.door-card{background-size:cover;background-position:center;color:#fff;min-height:270px}.door-card:nth-child(1){background-image:linear-gradient(#10141755,#101417aa),url('https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?auto=format&fit=crop&w=900&q=80')}.door-card:nth-child(2){background-image:linear-gradient(#10141755,#101417aa),url('https://images.unsplash.com/photo-1600566753190-17f0baa2a6c3?auto=format&fit=crop&w=900&q=80')}.door-card:nth-child(3){background-image:linear-gradient(#10141755,#101417aa),url('https://images.unsplash.com/photo-1513694203232-719a280e022f?auto=format&fit=crop&w=900&q=80')}.hardware-grid .hardware-card{background-size:cover;background-position:center;color:#fff}.hardware-grid .hardware-card:nth-child(1){background-image:linear-gradient(#10141744,#101417aa),url('https://images.unsplash.com/photo-1558008258-3256797b43f3?auto=format&fit=crop&w=900&q=80')}.hardware-grid .hardware-card:nth-child(2){background-image:linear-gradient(#10141744,#101417aa),url('https://images.unsplash.com/photo-1586023492125-27b2c045eed8?auto=format&fit=crop&w=900&q=80')}.ba-panel.before{background-image:linear-gradient(#10141744,#10141788),url('https://images.unsplash.com/photo-1513694203232-719a280e022f?auto=format&fit=crop&w=900&q=80');background-size:cover}.ba-panel.after{background-image:linear-gradient(#10141722,#10141755),url('https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?auto=format&fit=crop&w=900&q=80');background-size:cover}.process-grid article{background-image:linear-gradient(135deg,#182126,#2c3b3f);color:#fff;min-height:150px;position:relative;overflow:hidden}.process-grid article:after{content:"";position:absolute;right:-18px;bottom:-28px;width:120px;height:120px;border:12px solid #e8813b;border-radius:50%;opacity:.65}.testimonial{min-width:0}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  color: var(--cream);
  background: var(--ink);
  font-family: var(--font-body);
  line-height: 1.55;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0;
}

p {
  margin: 0;
}

:focus-visible {
  outline: 3px solid var(--copper-bright);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  color: var(--ink);
  background: var(--cream);
  border-radius: 8px;
  transition: top 160ms var(--ease);
}

.skip-link:focus {
  top: 12px;
}

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 18px;
  align-items: center;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(16, 20, 26, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  transition: box-shadow 200ms var(--ease), padding 200ms var(--ease);
}

.site-header.scrolled {
  padding-block: 10px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.32);
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  color: var(--cream);
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--cream);
  padding: 2px;
}

.brand-text {
  display: grid;
  line-height: 1.1;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.72rem;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  font-size: 0.9rem;
}

.top-nav a {
  padding: 8px 12px;
  text-decoration: none;
  color: var(--cream-dim);
  border-radius: 999px;
  transition: background-color 160ms var(--ease), color 160ms var(--ease);
  white-space: nowrap;
}

.top-nav a:hover,
.top-nav a.active-link {
  color: var(--ink);
  background: var(--copper-bright);
}

.top-nav a.nav-quote {
  border: 1px solid var(--copper);
  color: var(--copper-bright);
}

.top-nav a.nav-quote:hover {
  color: var(--ink);
}

.header-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  color: var(--ink);
  background: var(--copper-bright);
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 160ms var(--ease);
}

.header-call:hover {
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  place-items: center;
  flex-direction: column;
  gap: 4px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
}

/* ============ BUTTONS ============ */
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), background 200ms var(--ease);
}

.button.primary {
  color: var(--ink);
  background: var(--copper-bright);
  border-color: transparent;
}

.button.secondary {
  color: var(--cream);
  background: rgba(244, 239, 231, 0.06);
}

.button.full {
  width: 100%;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
}

.button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding: clamp(48px, 8vw, 100px) clamp(18px, 5vw, 72px) clamp(48px, 6vw, 80px);
  background:
    radial-gradient(circle at 85% 10%, rgba(201, 120, 42, 0.14), transparent 42%),
    linear-gradient(180deg, #12161d, var(--ink));
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--copper-bright);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero h1 {
  max-width: 14ch;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.hero-sub {
  max-width: 46rem;
  margin-top: 18px;
  color: var(--cream-dim);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-visual {
  position: relative;
}

.showroom-wall {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  align-items: end;
  gap: clamp(10px, 2vw, 20px);
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(244, 239, 231, 0.05), transparent),
    repeating-linear-gradient(90deg, rgba(244, 239, 231, 0.04) 0 1px, transparent 1px 56px);
  box-shadow: var(--shadow);
}

.hero-door {
  position: relative;
  height: 340px;
  border: 8px solid #2a2015;
  border-radius: 4px;
  background: #8b4a31;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 18px 30px rgba(0, 0, 0, 0.32);
  animation: doorBreathe 7s var(--ease) infinite alternate;
}

.hero-door.dark {
  background: #22282f;
  animation-delay: 0.6s;
}

.hero-door.french {
  height: 300px;
  background: linear-gradient(90deg, #6b4128 0 8%, #8b5a37 8% 92%, #6b4128 92%);
  animation-delay: 1.1s;
}

.hero-door span {
  position: absolute;
  left: 16px;
  right: 16px;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.hero-door.wood span:nth-child(1) { top: 24px; height: 78px; }
.hero-door.wood span:nth-child(2) { top: 112px; height: 78px; }
.hero-door.wood span:nth-child(3) { top: 200px; height: 60px; }
.hero-door.wood span:nth-child(4) { top: 270px; height: 50px; }
.hero-door.dark .glass-lite { top: 22px; height: 110px; background: rgba(205, 226, 230, 0.28); border-color: rgba(255, 255, 255, 0.3); }
.hero-door.dark span:nth-child(2) { top: 150px; height: 150px; }
.hero-door.french span { width: 30px; left: auto; }
.hero-door.french span:nth-child(1) { left: 12px; top: 20px; height: 70px; }
.hero-door.french span:nth-child(2) { left: 12px; top: 100px; height: 70px; }
.hero-door.french span:nth-child(3) { left: 50%; transform: translateX(-50%); top: 20px; height: 70px; }
.hero-door.french span:nth-child(4) { left: 50%; transform: translateX(-50%); top: 100px; height: 70px; }
.hero-door.french span:nth-child(5) { right: 12px; left: auto; top: 20px; height: 70px; }
.hero-door.french span:nth-child(6) { right: 12px; left: auto; top: 100px; height: 70px; }

.knob-dot {
  position: absolute;
  right: 14px;
  top: 48%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--copper-bright);
}

.hero-caption {
  display: flex;
  justify-content: space-around;
  gap: 8px;
  margin-top: 16px;
  padding: 12px;
  color: var(--ink);
  background: var(--copper-bright);
  border-radius: 999px;
  font-size: 0.85rem;
}

@keyframes doorBreathe {
  from { transform: rotateY(0deg) translateY(0); }
  to { transform: rotateY(-3deg) translateY(-6px); }
}

/* ============ TRUST BAR ============ */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink-soft);
}

.trust-bar div {
  padding: clamp(20px, 3vw, 34px);
  border-right: 1px solid var(--line);
}

.trust-bar div:last-child {
  border-right: 0;
}

.trust-bar strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.05rem;
  color: var(--copper-bright);
}

.trust-bar span {
  color: var(--muted);
  font-size: 0.88rem;
}

/* ============ SECTIONS ============ */
.section {
  padding: clamp(56px, 8vw, 96px) clamp(18px, 5vw, 72px);
}

.alt-band {
  background: var(--ink-soft);
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 36px;
  text-align: left;
}

.section-heading h2 {
  margin-top: 8px;
  font-size: clamp(1.9rem, 4.2vw, 3.1rem);
  line-height: 1.05;
}

.section-heading p:not(.eyebrow) {
  margin-top: 14px;
  color: var(--cream-dim);
  font-size: 1.02rem;
}

/* ============ CATALOG ============ */
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.filter-chip {
  padding: 9px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--cream-dim);
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background-color 160ms var(--ease), color 160ms var(--ease), border-color 160ms var(--ease);
}

.filter-chip:hover {
  border-color: var(--copper);
}

.filter-chip.active {
  color: var(--ink);
  background: var(--copper-bright);
  border-color: transparent;
}

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

.door-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
  transition: transform 220ms var(--ease), border-color 220ms var(--ease);
}

.door-card:hover {
  transform: translateY(-5px);
  border-color: var(--copper);
}

.mini-door {
  height: 160px;
  margin-bottom: 14px;
  border: 6px solid #2a2015;
  border-radius: 6px;
  background: #8b4a31;
  position: relative;
  overflow: hidden;
}

.mini-door.interior { background: #6d6053; }
.mini-door.patio { background: linear-gradient(90deg, #6a838a, #b9cdd0); }
.mini-door.specialty { background: linear-gradient(90deg, #593522 0 20%, #a4653a 20% 80%, #593522 80%); }

.door-card h3 {
  margin: 0 0 6px;
  font-size: 1.2rem;
}

.door-card .door-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.door-card .tag {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--copper-dim);
  color: var(--copper-bright);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.door-card p {
  color: var(--cream-dim);
  font-size: 0.9rem;
}

.door-card .door-price {
  margin-top: 12px;
  font-weight: 800;
  color: var(--copper-bright);
}

/* ============ HARDWARE ============ */
.finish-row {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 28px;
}

.finish-row figure {
  margin: 0;
  display: grid;
  gap: 8px;
  justify-items: center;
}

.swatch {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 0 0 3px rgba(0, 0, 0, 0.15);
}

.swatch.matte-black { background: #1c1c1c; }
.swatch.satin-nickel { background: linear-gradient(135deg, #c9c9c9, #8f8f8f); }
.swatch.bronze { background: linear-gradient(135deg, #6b4226, #3a2415); }
.swatch.brass { background: linear-gradient(135deg, #d8b256, #8a6a2a); }
.swatch.chrome { background: linear-gradient(135deg, #e8e8e8, #9aa0a3); }

.finish-row figcaption {
  font-size: 0.82rem;
  color: var(--cream-dim);
}

.hardware-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.hardware-card strong {
  display: block;
  margin-bottom: 4px;
}

.hardware-card span {
  color: var(--copper-bright);
  font-weight: 700;
}

/* ============ PROCESS TIMELINE ============ */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.step-num {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--copper-bright);
  color: var(--ink);
  font-weight: 800;
}

.timeline b {
  display: block;
  margin-bottom: 6px;
  font-size: 1.1rem;
}

.timeline p {
  color: var(--cream-dim);
  font-size: 0.9rem;
}

/* ============ GALLERY ============ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ba-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
}

.ba-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.ba-panel {
  position: relative;
  min-height: 180px;
  padding: 14px;
  display: grid;
  align-items: end;
}

.ba-panel.before { background: #2a2b2c; }
.ba-panel.after { background: linear-gradient(160deg, #3a2c22, #21160f); }

.ba-door {
  height: 130px;
  border: 4px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px;
  background: #55524c;
}

.ba-door.worn { background: repeating-linear-gradient(45deg, #4a4844 0 6px, #3d3b38 6px 12px); }
.ba-door.hollow { background: #6b6055; }
.ba-door.plain { background: #4a4642; }
.ba-door.fresh.wood-grain { background: repeating-linear-gradient(90deg, #8b4a31 0 8px, #a05f3e 8px 16px); }
.ba-door.fresh.shaker { background: #efe6d7; box-shadow: inset 0 0 0 8px rgba(0,0,0,0.06); }
.ba-door.fresh.french-lite { background: linear-gradient(90deg, #5b3a24, #cfe0e3 20% 80%, #5b3a24); }

.ba-tag {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(16, 20, 26, 0.72);
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 800;
}

.ba-card figcaption {
  padding: 14px;
  color: var(--cream-dim);
  font-size: 0.88rem;
}

/* ============ TESTIMONIALS ============ */
.carousel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
}

.carousel-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--cream);
  font-size: 1.3rem;
  cursor: pointer;
}

.carousel-btn:hover {
  border-color: var(--copper);
  color: var(--copper-bright);
}

.carousel-track {
  position: relative;
  min-height: 150px;
  padding: 26px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.carousel-track{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.carousel-track .testimonial{padding:0 1rem;border-right:1px solid var(--line)}.carousel-track .testimonial:last-child{border-right:0}@media(max-width:760px){.carousel-track{grid-template-columns:1fr}.carousel-track .testimonial{border-right:0;border-bottom:1px solid var(--line);padding:1rem 0}.carousel-track .testimonial:last-child{border-bottom:0}}

.testimonial p {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--cream);
}

.testimonial footer {
  margin-top: 14px;
  color: var(--copper-bright);
  font-weight: 700;
  font-size: 0.88rem;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.carousel-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--line-strong);
  cursor: pointer;
}

.carousel-dots button.active {
  background: var(--copper-bright);
}

/* ============ INFO BAND ============ */
.info-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.info-band article {
  padding: clamp(24px, 4vw, 42px);
  border-right: 1px solid var(--line);
}

.info-band article:last-child {
  border-right: 0;
}

.info-band h3 {
  margin-bottom: 10px;
  color: var(--copper-bright);
}

.info-band p {
  color: var(--cream-dim);
  font-size: 0.92rem;
}

/* ============ FAQ ============ */
.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--copper-bright);
}

.faq-list details[open] summary::after {
  content: "\2212";
}

.faq-list p {
  margin-top: 12px;
  color: var(--cream-dim);
  font-size: 0.92rem;
}

/* ============ QUOTE WIZARD ============ */
.quote-section {
  background: linear-gradient(180deg, var(--ink), var(--ink-soft));
}

.wizard-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.wstep {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.wstep span {
  display: inline-flex;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--panel-soft);
  font-size: 0.76rem;
}

.wstep.current {
  color: var(--cream);
  border-color: var(--copper);
}

.wstep.current span {
  background: var(--copper-bright);
  color: var(--ink);
}

.wstep.done span {
  background: var(--good);
  color: var(--ink);
}

.wizard-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: 24px;
  align-items: start;
}

.wpanel[hidden] {
  display: none;
}

.door-entry {
  margin-bottom: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.door-entry-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.door-entry-head h3 {
  font-size: 1.05rem;
}

.remove-door {
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--cream-dim);
  font-size: 0.78rem;
  cursor: pointer;
}

.remove-door:hover {
  border-color: #d16b5a;
  color: #e88b7c;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

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

label {
  display: grid;
  gap: 6px;
  color: var(--cream-dim);
  font-size: 0.84rem;
  font-weight: 700;
}

input,
select,
textarea {
  min-height: 44px;
  width: 100%;
  padding: 10px 12px;
  color: var(--cream);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--panel-soft);
  font: inherit;
}

textarea {
  min-height: 80px;
  resize: vertical;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  border-color: var(--copper);
}

.field-note {
  margin-top: -6px;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--muted);
}

.field-note.warn {
  color: var(--copper-bright);
}

.checkbox-list {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel-soft);
  font-weight: 400;
  color: var(--cream);
  cursor: pointer;
}

.check-item input {
  min-height: auto;
  width: 16px;
  height: 16px;
}

.check-item span {
  flex: 1;
}

.check-item strong {
  color: var(--copper-bright);
  font-size: 0.85rem;
}

.upload-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.upload-box {
  position: relative;
  min-height: 120px;
  display: grid;
  place-items: center;
  padding: 12px;
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  background: var(--panel-soft);
  cursor: pointer;
  overflow: hidden;
  text-align: center;
}

.upload-box input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.upload-box span {
  color: var(--muted);
  font-size: 0.82rem;
}

.upload-box img {
  display: none;
  width: 100%;
  height: 108px;
  object-fit: cover;
  border-radius: 8px;
}

.upload-box.has-image span {
  display: none;
}

.upload-box.has-image img {
  display: block;
}

.wizard-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

.form-error {
  margin-top: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(209, 107, 90, 0.5);
  border-radius: 10px;
  background: rgba(209, 107, 90, 0.1);
  color: #e88b7c;
  font-size: 0.86rem;
}

/* ============ SUMMARY PANEL ============ */
.summary-panel {
  position: sticky;
  top: 100px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.summary-panel h3 {
  margin-bottom: 14px;
  font-size: 1.15rem;
}

.summary-lines {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
  max-height: 320px;
  overflow-y: auto;
}

.summary-door {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.summary-door strong {
  display: block;
  font-size: 0.92rem;
}

.summary-door span {
  color: var(--muted);
  font-size: 0.82rem;
}

.summary-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--line-strong);
}

.summary-total span {
  color: var(--cream-dim);
  font-size: 0.9rem;
}

.summary-total strong {
  font-size: 1.3rem;
  color: var(--copper-bright);
}

.summary-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.78rem;
}

/* ============ REVIEW / CONFIRM ============ */
.review-door {
  padding: 16px;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel-soft);
}

.review-door h4 {
  margin-bottom: 8px;
}

.review-door ul {
  margin: 0;
  padding-left: 18px;
  color: var(--cream-dim);
  font-size: 0.9rem;
}

.review-customer {
  padding: 16px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel-soft);
  color: var(--cream-dim);
  font-size: 0.92rem;
}

.confirm-block {
  margin-top: 20px;
  padding: 20px;
  border: 1px solid var(--good);
  border-radius: var(--radius);
  background: rgba(111, 174, 127, 0.1);
}

.confirm-block h3 {
  margin-bottom: 10px;
  color: var(--good);
}

.confirm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

/* ============ CONTACT ============ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.contact-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.contact-card h3 {
  margin: 0 0 6px;
  color: var(--copper-bright);
  font-size: 1rem;
}

.contact-card address,
.contact-card p {
  margin: 0 0 16px;
  font-style: normal;
  color: var(--cream-dim);
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}

.hours-table th,
.hours-table td {
  padding: 6px 0;
  text-align: left;
  color: var(--cream-dim);
  font-weight: 400;
  border-bottom: 1px solid var(--line);
}

.map-placeholder {
  position: relative;
  min-height: 220px;
  padding: 18px;
  display: grid;
  align-content: end;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, #1c2430, #12161d);
  overflow: hidden;
}

.map-grid {
  position: absolute;
  inset: 0;
}

.map-road {
  position: absolute;
  background: rgba(244, 239, 231, 0.08);
}

.map-road.h { height: 2px; left: 0; right: 0; }
.map-road.v { width: 2px; top: 0; bottom: 0; }
.map-road.r1 { top: 30%; }
.map-road.r2 { top: 68%; }
.map-road.r3 { left: 32%; }
.map-road.r4 { left: 70%; }

.map-pin {
  position: absolute;
  left: 32%;
  top: 30%;
  width: 14px;
  height: 14px;
  border-radius: 50% 50% 50% 0;
  background: var(--copper-bright);
  transform: translate(-50%, -100%) rotate(-45deg);
}

.map-placeholder p {
  position: relative;
  color: var(--cream-dim);
  font-size: 0.86rem;
}

/* ============ FOOTER ============ */
.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
  padding: 34px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: var(--ink-soft);
}

.footer-brand {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-brand img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--cream);
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-nav a {
  color: var(--cream-dim);
  text-decoration: none;
  font-size: 0.88rem;
}

.footer-nav a:hover {
  color: var(--copper-bright);
}

.footer-copy {
  grid-column: 1 / -1;
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
}

.footer-copy a {
  color: var(--cream-dim);
  text-decoration: none;
}

/* ============ BACK TO TOP ============ */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--copper-bright);
  color: var(--ink);
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

.back-to-top[hidden] {
  display: none;
}

/* ============ REVEAL ANIMATIONS ============ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1080px) {
  .catalog-grid,
  .hardware-grid,
  .gallery-grid,
  .timeline,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .trust-bar div:nth-child(2) {
    border-right: 0;
  }

  .info-band {
    grid-template-columns: 1fr;
  }

  .info-band article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .info-band article:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 900px) {
  .top-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    padding: 14px clamp(18px, 4vw, 54px) 20px;
    background: var(--ink-soft);
    border-bottom: 1px solid var(--line);
  }

  .top-nav.open {
    display: flex;
  }

  .top-nav a {
    padding: 12px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-header {
    grid-template-columns: 1fr auto auto;
    position: relative;
  }

  .header-call span {
    display: none;
  }

  .hero,
  .wizard-layout {
    grid-template-columns: 1fr;
  }

  .summary-panel {
    position: static;
  }
}

@media (max-width: 640px) {
  .catalog-grid,
  .hardware-grid,
  .gallery-grid,
  .timeline,
  .contact-grid,
  .field-row,
  .field-row.three,
  .upload-grid,
  .trust-bar {
    grid-template-columns: 1fr;
  }

  .trust-bar div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .ba-pair {
    grid-template-columns: 1fr;
  }

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

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

  .carousel-btn {
    display: none;
  }
}
