/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Palette extracted from product photography:
     terracotta clay walls · natural oak · cream basin · warm amber backlight */
  --bg:           #F4EBE0;   /* warm clay parchment              */
  --bg-dark:      #1C1109;   /* warm near-black (shadow)         */
  --bg-mid:       #EBE0D4;   /* deeper parchment                 */
  --bg-card:      #FAF6F1;   /* warm off-white cards             */
  --text:         #1C1410;   /* warm charcoal                    */
  --text-muted:   #8A6A58;   /* warm taupe-brown                 */
  --accent:       #A86845;   /* terracotta — from the clay wall  */
  --accent-light: #CCA07A;   /* lighter gold from mirror glow    */
  --border:       #D8CBBC;   /* warm sand                        */
  --border-dark:  rgba(255,255,255,0.07);
  --white:        #FAF6F1;   /* warm white                       */
  --shadow-sm:    0 1px 4px rgba(0,0,0,0.06);
  --shadow-md:    0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg:    0 12px 48px rgba(0,0,0,0.13);
  --radius-sm:    4px;
  --radius:       8px;
  --radius-lg:    14px;
  --ease:         cubic-bezier(0.4, 0, 0.2, 1);
  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-sans:    'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 300;
  letter-spacing: -0.015em;
  line-height: 1.1;
}

h1 { font-size: clamp(2.8rem, 5.5vw, 4.6rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3.2rem); line-height: 1.15; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.1rem; line-height: 1.4; }

h1 em, h2 em { font-style: italic; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
}

/* ===== LAYOUT ===== */
.container        { max-width: 1240px; margin: 0 auto; padding: 0 2.5rem; }
.container-narrow { max-width: 840px;  margin: 0 auto; padding: 0 2.5rem; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2.2rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: all 0.22s var(--ease);
  white-space: nowrap;
}

.btn-light {
  background: var(--white);
  color: var(--text);
  border-color: rgba(255,255,255,0.9);
}
.btn-light:hover {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}

.btn-dark {
  background: var(--bg-dark);
  color: var(--white);
  border-color: var(--bg-dark);
}
.btn-dark:hover {
  background: transparent;
  color: var(--bg-dark);
  border-color: var(--bg-dark);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-outline:hover { border-color: var(--text); }

/* ===== NAV ===== */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(244, 235, 224, 0.90);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: border-color 0.3s;
}

.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2.5rem;
  height: 62px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.logo {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2.5rem;
  margin-left: auto;
}

.nav-links a {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.18s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0; right: 100%;
  height: 1px;
  background: var(--accent);
  transition: right 0.25s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { right: 0; }

.nav-cta {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--bg-dark);
  text-decoration: none;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-sm);
  transition: opacity 0.2s;
  white-space: nowrap;
}
.nav-cta:hover { opacity: 0.78; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: var(--bg-dark);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 5rem;
  padding: 130px 5rem 5rem;
  position: relative;
  overflow: hidden;
}

/* Warm radial glow */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 68% 50%, rgba(192,122,98,0.14) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 20% 80%, rgba(168,104,69,0.07) 0%, transparent 50%);
  pointer-events: none;
}

/* Grain texture */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; }

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 1.75rem;
  opacity: 0.9;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--accent-light);
  opacity: 0.6;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.75rem;
  font-size: clamp(3rem, 5.5vw, 4.8rem);
}

.hero h1 em {
  font-style: italic;
  color: rgba(253,252,250,0.55);
}

.hero-sub {
  color: rgba(253,252,250,0.52);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 420px;
  margin-bottom: 3rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Architectural drawing frame */
.hero-canvas-frame {
  position: relative;
  padding: 1.5rem;
}

.hero-canvas-frame::before,
.hero-canvas-frame::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: rgba(204,160,122,0.4);
  border-style: solid;
}
.hero-canvas-frame::before {
  top: 0; left: 0;
  border-width: 1px 0 0 1px;
}
.hero-canvas-frame::after {
  bottom: 0; right: 0;
  border-width: 0 1px 1px 0;
}

.hero-canvas-frame .corner-tr,
.hero-canvas-frame .corner-bl {
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: rgba(204,160,122,0.4);
  border-style: solid;
}
.hero-canvas-frame .corner-tr {
  top: 0; right: 0;
  border-width: 1px 1px 0 0;
}
.hero-canvas-frame .corner-bl {
  bottom: 0; left: 0;
  border-width: 0 0 1px 1px;
}

#hero-photo {
  display: block;
  width: 540px;
  max-width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center 35%;
  border-radius: var(--radius-sm);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.07),
    0 24px 80px rgba(0,0,0,0.58);
}

/* ===== SECTION HEADERS ===== */
.section-header {
  text-align: center;
  margin-bottom: 4.5rem;
}
.section-header h2   { margin-bottom: 0.85rem; }
.section-header p    { color: var(--text-muted); max-width: 480px; margin: 0 auto; font-size: 0.95rem; }

/* ===== CONFIGURATOR ===== */
.section-configurator {
  padding: 9rem 0 7rem;
  background: var(--bg);
}

.configurator-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 3.5rem;
  align-items: start;
}

/* Controls */
.controls { display: flex; flex-direction: column; gap: 1.25rem; }

.control-group {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.control-group:hover {
  box-shadow: var(--shadow-md);
  border-color: #D8D4CC;
}

.group-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--border);
}

.step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: var(--bg-dark);
  color: var(--white);
  font-size: 0.58rem;
  font-weight: 600;
  border-radius: 50%;
  flex-shrink: 0;
  letter-spacing: 0;
}

.field { margin-bottom: 1.4rem; }
.field:last-child { margin-bottom: 0; }

.field > label {
  display: block;
  font-size: 0.73rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.6rem;
  letter-spacing: 0.025em;
}

.unit {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.68rem;
}

/* Sliders — with dynamic fill via CSS custom property --fill */
.slider-wrap {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

input[type="range"] {
  flex: 1;
  -webkit-appearance: none;
  height: 3px;
  background: linear-gradient(
    to right,
    var(--bg-dark) 0%,
    var(--bg-dark) var(--fill, 50%),
    var(--border) var(--fill, 50%),
    var(--border) 100%
  );
  border-radius: 3px;
  outline: none;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--bg-dark);
  cursor: pointer;
  border: 2.5px solid var(--white);
  box-shadow: 0 1px 6px rgba(0,0,0,0.22);
  transition: transform 0.15s, box-shadow 0.15s;
}
input[type="range"]::-webkit-slider-thumb:hover  { transform: scale(1.18); }
input[type="range"]:focus::-webkit-slider-thumb  {
  box-shadow: 0 0 0 4px rgba(168,104,69,0.22);
}

.slider-val {
  min-width: 38px;
  text-align: right;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  transition: color 0.2s;
}
.slider-val.pop {
  color: var(--accent);
  animation: val-pop 0.3s var(--ease);
}
@keyframes val-pop {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.slider-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 0.62rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
  padding: 0 0.1rem;
  opacity: 0.7;
}

/* Chip groups */
.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.45rem 0.95rem;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s var(--ease);
  font-family: var(--font-sans);
  white-space: nowrap;
  user-select: none;
}
.chip:hover {
  border-color: var(--accent-light);
  color: var(--text);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.chip:active { transform: translateY(0) scale(0.97); }

.chip.active {
  background: var(--bg-dark);
  color: var(--white);
  border-color: var(--bg-dark);
  box-shadow: 0 2px 10px rgba(0,0,0,0.18);
}

/* Material swatch dot */
.chip-swatch {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.12);
  flex-shrink: 0;
  transition: transform 0.15s;
}
.chip.active .chip-swatch { border-color: rgba(255,255,255,0.3); }
.chip:hover .chip-swatch  { transform: scale(1.15); }

/* ===== PREVIEW PANEL ===== */
.preview-sticky {
  position: sticky;
  top: 82px;
}

.preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
}

.preview-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.preview-note {
  font-size: 0.62rem;
  color: var(--text-muted);
  opacity: 0.55;
}

.canvas-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #E8DCCF;
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.3s;
}
.canvas-wrap:hover { box-shadow: var(--shadow-lg); }

#preview-canvas {
  display: block;
  width: 100%;
  height: auto;
}

/* Spec summary tiles */
.spec-summary {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
}

.spec-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
  transition: border-color 0.2s;
}
.spec-item:hover { border-color: var(--accent-light); }

.spec-item-label {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.spec-item-val {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.2;
}

/* ===== ORDER SECTION ===== */
.section-order {
  padding: 9rem 0;
  background: var(--bg-mid);
  border-top: 1px solid var(--border);
}

/* Dark spec card */
.spec-review {
  background: var(--bg-dark);
  border-radius: var(--radius);
  padding: 2rem 2.25rem;
  margin-bottom: 2.75rem;
  position: relative;
  overflow: hidden;
}
.spec-review::before {
  content: 'SPEC';
  position: absolute;
  right: -0.5rem;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  font-size: 5rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.03);
  pointer-events: none;
  user-select: none;
}

.spec-review-title {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(253,252,250,0.38);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.spec-review-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.07);
}

.spec-review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1.1rem;
}

.sr-item {}
.sr-label {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(253,252,250,0.35);
  margin-bottom: 0.2rem;
}
.sr-val {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: rgba(253,252,250,0.88);
  font-weight: 300;
  line-height: 1.2;
}

/* Form */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-field { display: flex; flex-direction: column; gap: 0.45rem; }
.form-field.full { grid-column: 1 / -1; }

.form-field label {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.03em;
}

.req { color: var(--accent); }

.form-field input,
.form-field textarea {
  padding: 0.8rem 1.1rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--text);
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.form-field input:hover,
.form-field textarea:hover { border-color: #C8C4BC; }
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(140,116,85,0.12);
}
.form-field input.error { border-color: #C0392B; box-shadow: 0 0 0 3px rgba(192,57,43,0.1); }
.form-field .field-error {
  font-size: 0.68rem;
  color: #C0392B;
  margin-top: 0.15rem;
  display: none;
}
.form-field .field-error.visible { display: block; animation: err-in 0.2s var(--ease); }
@keyframes err-in {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: none; }
}

.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--text-muted); opacity: 0.5; }
.form-field textarea { resize: vertical; min-height: 110px; }

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 1rem;
}

.lead-time-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.btn-submit {
  min-width: 220px;
  justify-content: center;
  padding: 1rem 2.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

/* Shake on invalid submit */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-5px); }
  40%, 80% { transform: translateX(5px); }
}
.shake { animation: shake 0.35s var(--ease); }

/* Success state */
.success-msg {
  text-align: center;
  padding: 5rem 2rem;
  animation: fade-in 0.5s var(--ease);
}
@keyframes fade-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.success-check {
  width: 60px;
  height: 60px;
  background: var(--bg-dark);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 2rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.success-msg h3   { font-size: 2.2rem; margin-bottom: 0.85rem; }
.success-msg p    { color: var(--text-muted); margin-bottom: 0.5rem; font-size: 0.95rem; }
.success-msg .btn { margin-top: 2.5rem; }

/* ===== PROCESS ===== */
.section-process {
  padding: 9rem 0;
  background: var(--bg-dark);
}

.section-process .section-header h2 { color: var(--white); }
.section-process .section-header p  { color: rgba(253,252,250,0.45); }
.section-process .eyebrow           { color: var(--accent-light); }

/* Card grid */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.process-step {
  padding: 2.75rem 2rem 2.5rem;
  position: relative;
  border-right: 1px solid var(--border-dark);
  transition: background 0.25s;
}
.process-step:last-child { border-right: none; }
.process-step:hover { background: rgba(255,255,255,0.02); }

/* Huge background number */
.ps-num {
  font-family: var(--font-serif);
  font-size: 7rem;
  font-weight: 300;
  line-height: 0.85;
  color: rgba(255,255,255,0.05);
  margin-bottom: 1.5rem;
  letter-spacing: -0.04em;
  transition: color 0.25s;
}
.process-step:hover .ps-num { color: rgba(168,104,69,0.13); }

.ps-content {}

.process-step h4 {
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.process-step p {
  font-size: 0.8rem;
  color: rgba(253,252,250,0.42);
  line-height: 1.7;
}

/* Lead time tag */
.process-step.has-tag::after {
  content: '5–8 WEEKS';
  position: absolute;
  bottom: 1.5rem;
  left: 2rem;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--accent-light);
  opacity: 0.7;
}

/* ===== REVIEWS ===== */
.section-reviews {
  padding: 9rem 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.review-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5.5rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

/* Photo stack */
.review-photos {
  position: relative;
  height: 560px;
  flex-shrink: 0;
}

.review-photo-wrap {
  position: absolute;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.review-photo-wrap:first-child {
  width: 72%;
  top: 0;
  left: 0;
  z-index: 1;
}

.review-photo-wrap:last-child {
  width: 58%;
  bottom: 0;
  right: 0;
  z-index: 2;
  box-shadow: var(--shadow-lg), 0 0 0 5px var(--bg);
}

.review-photo-wrap img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.review-photo-wrap:first-child img { height: 380px; }
.review-photo-wrap:last-child  img { height: 270px; }

/* Review text */
.review-content {
  position: relative;
}

.review-stars {
  display: block;
  font-size: 1rem;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 1.75rem;
}

.review-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 1.8vw, 1.42rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.72;
  color: var(--text);
  margin: 0 0 2.25rem;
  padding: 0;
  border: none;
}

.review-quote::before {
  content: '\201C';
  display: block;
  font-family: var(--font-serif);
  font-style: normal;
  font-size: 5rem;
  line-height: 0.75;
  color: var(--accent-light);
  opacity: 0.45;
  margin-bottom: 0.5rem;
  pointer-events: none;
}

.review-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--white);
  font-weight: 300;
  flex-shrink: 0;
  letter-spacing: 0;
}

.review-meta-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.review-name {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.02em;
}

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

.review-verified {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0.65;
}

.review-verified-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  font-size: 0.56rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

@media (max-width: 1020px) {
  .review-card { gap: 3.5rem; }
}

@media (max-width: 820px) {
  .review-card { grid-template-columns: 1fr; gap: 3rem; }
  .review-photos { height: 420px; }
  .review-photo-wrap:first-child img { height: 280px; }
  .review-photo-wrap:last-child  img { height: 200px; }
}

@media (max-width: 480px) {
  .section-reviews { padding: 6rem 0; }
  .review-photos { height: 330px; }
  .review-photo-wrap:first-child img { height: 220px; }
  .review-photo-wrap:last-child  img { height: 160px; }
  .review-verified { display: none; }
}

/* ===== FOOTER ===== */
footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-dark);
  padding: 5rem 0 2.5rem;
  color: rgba(253,252,250,0.5);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3.5rem;
}

.footer-brand .logo {
  display: block;
  font-size: 1.1rem;
  letter-spacing: 0.28em;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer-brand p { font-size: 0.82rem; line-height: 1.8; }

.footer-col h5 {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(253,252,250,0.7);
  margin-bottom: 0.9rem;
}
.footer-col p { font-size: 0.82rem; line-height: 1.8; }
.footer-col a { color: rgba(253,252,250,0.5); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: 1.75rem;
  font-size: 0.7rem;
  opacity: 0.32;
}

/* ===== SCROLL FADE-UP (added dynamically by JS) ===== */
.fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.fade-up.visible {
  opacity: 1;
  transform: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .configurator-layout { grid-template-columns: 1fr; }
  .preview-sticky { position: static; }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 110px 2.5rem 4rem;
    min-height: auto;
    gap: 3rem;
  }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-eyebrow { justify-content: center; }
  .hero-visual { justify-content: center; }
  #hero-photo { max-width: 100%; height: 280px; }
  .hero-canvas-frame { padding: 1rem; }

  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-step   { border-bottom: 1px solid var(--border-dark); }
  .process-step:nth-child(even) { border-right: none; }
}

@media (max-width: 768px) {
  .container, .container-narrow { padding: 0 1.5rem; }
  .hero { padding: 100px 1.5rem 3rem; }
  .nav-links { display: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field.full { grid-column: 1; }
  .form-footer { flex-direction: column; align-items: flex-start; }
  .btn-submit { width: 100%; }
  .spec-summary { grid-template-columns: repeat(3, 1fr); }
  .process-steps { grid-template-columns: 1fr; }
  .process-step { border-right: none !important; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.6rem; }
  .section-configurator, .section-order, .section-process { padding: 6rem 0; }
  .control-group { padding: 1.25rem; }
  .chip { padding: 0.4rem 0.75rem; font-size: 0.68rem; }
  .spec-summary { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   LIVE CHAT WIDGET
   ========================================================================== */

#lc-root {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 9999;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
}

/* ── Floating bubble ─────────────────────────────────────────────────────── */
.lc-bubble {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.28), 0 0 0 1px rgba(255,255,255,0.06);
  color: var(--white);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  position: relative;
  outline: none;
}
.lc-bubble:hover {
  transform: scale(1.07);
  box-shadow: 0 8px 28px rgba(0,0,0,0.36), 0 0 0 1px rgba(255,255,255,0.1);
}
.lc-bubble:active { transform: scale(0.96); }
.lc-icon { width: 22px; height: 22px; }

.lc-badge {
  position: absolute;
  top: -3px; right: -3px;
  min-width: 20px; height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  background: #C0392B;
  color: #fff;
  font-size: 10px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  border: 2.5px solid var(--bg);
}

@keyframes lc-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(0,0,0,0.28); }
  50%       { box-shadow: 0 4px 28px rgba(168,104,69,0.5); }
}
.lc-bubble-pulse { animation: lc-pulse 1.6s ease-in-out infinite; }

/* ── Panel ───────────────────────────────────────────────────────────────── */
.lc-panel {
  position: absolute;
  bottom: 70px; right: 0;
  width: 368px; height: 530px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.6) inset;
  display: none;
  flex-direction: column;
  overflow: hidden;
  transform-origin: bottom right;
  animation: lc-slide-up 0.24s cubic-bezier(0.34,1.5,0.64,1);
}
@keyframes lc-slide-up {
  from { opacity: 0; transform: scale(0.9) translateY(10px); }
  to   { opacity: 1; transform: none; }
}

/* ── Header ──────────────────────────────────────────────────────────────── */
.lc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.1rem;
  background: var(--bg-dark);
  flex-shrink: 0;
}
.lc-header-info { display: flex; align-items: center; gap: 0.65rem; }
.lc-brand {
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--white);
}
.lc-status-label {
  font-size: 0.65rem;
  color: rgba(253,252,250,0.48);
  margin-top: 1px;
}
.lc-status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(253,252,250,0.2);
  flex-shrink: 0;
  transition: background 0.3s;
}
.lc-dot-online { background: #2ECC71; box-shadow: 0 0 6px rgba(46,204,113,0.5); }
.lc-dot-ai     { background: var(--accent); }

.lc-header-close {
  background: none; border: none;
  color: rgba(253,252,250,0.4);
  cursor: pointer; padding: 4px; line-height: 0;
  transition: color 0.15s; outline: none;
}
.lc-header-close:hover { color: var(--white); }

/* ── Body ────────────────────────────────────────────────────────────────── */
.lc-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  scroll-behavior: smooth;
  background: var(--bg);
}
.lc-body::-webkit-scrollbar { width: 3px; }
.lc-body::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

.lc-msg-row {
  display: flex; flex-direction: column; gap: 3px;
  max-width: 84%;
  animation: lc-msg-in 0.2s var(--ease);
}
@keyframes lc-msg-in {
  from { opacity: 0; transform: translateY(7px); }
  to   { opacity: 1; transform: none; }
}
.lc-msg-customer { align-self: flex-end; align-items: flex-end; }
.lc-msg-agent, .lc-msg-bot { align-self: flex-start; align-items: flex-start; }

.lc-msg-bubble {
  padding: 0.62rem 0.9rem;
  border-radius: 14px;
  font-size: 0.84rem;
  line-height: 1.55;
  word-break: break-word;
}
.lc-msg-customer .lc-msg-bubble {
  background: var(--bg-dark);
  color: var(--white);
  border-bottom-right-radius: 4px;
}
.lc-msg-agent .lc-msg-bubble,
.lc-msg-bot   .lc-msg-bubble {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
  box-shadow: var(--shadow-sm);
}
.lc-msg-label {
  font-size: 0.6rem;
  color: var(--text-muted);
  opacity: 0.7;
  padding: 0 4px;
}

/* ── Typing ──────────────────────────────────────────────────────────────── */
.lc-typing-row {
  display: none;
  padding: 0.35rem 0.9rem 0.2rem;
  background: var(--bg);
}
.lc-typing-dots {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 0.5rem 0.75rem;
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  box-shadow: var(--shadow-sm);
}
.lc-typing-dots span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #C4C0B8;
  animation: lc-dot-bounce 1.2s ease-in-out infinite;
}
.lc-typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.lc-typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes lc-dot-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30%           { transform: translateY(-5px); opacity: 1; }
}

/* ── Input ───────────────────────────────────────────────────────────────── */
.lc-footer {
  display: flex; align-items: flex-end; gap: 0.5rem;
  padding: 0.7rem 0.9rem;
  border-top: 1px solid var(--border);
  background: var(--bg-card);
  flex-shrink: 0;
}
.lc-input {
  flex: 1;
  padding: 0.55rem 0.8rem;
  font-family: inherit; font-size: 0.84rem;
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  outline: none; resize: none;
  min-height: 36px; max-height: 120px;
  overflow-y: auto;
  transition: border-color 0.18s;
  line-height: 1.45;
}
.lc-input:focus { border-color: var(--accent); background: var(--bg-card); }
.lc-input::placeholder { color: var(--text-muted); opacity: 0.5; }

.lc-send-btn {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--bg-dark);
  border: none; color: var(--white);
  cursor: pointer; display: flex;
  align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: opacity 0.15s, transform 0.15s;
  outline: none;
}
.lc-send-btn:disabled { opacity: 0.3; cursor: default; }
.lc-send-btn:not(:disabled):hover  { opacity: 0.82; }
.lc-send-btn:not(:disabled):active { transform: scale(0.93); }

/* ── Mobile ──────────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  #lc-root { bottom: 1rem; right: 1rem; }
  .lc-panel {
    position: fixed;
    bottom: 0; right: 0; left: 0;
    width: 100%; height: 93dvh;
    border-radius: 20px 20px 0 0;
    border-bottom: none;
  }
}


/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(calc(100% + 2rem));
  z-index: 9999;
  width: calc(100% - 2rem);
  max-width: 560px;
  background: var(--bg-dark);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  box-shadow: var(--shadow-lg);
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
  opacity: 0;
  pointer-events: none;
}

.cookie-banner--visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-text {
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(250,246,241,0.8);
  flex: 1;
}

.cookie-link {
  color: var(--accent-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

.cookie-btn {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.cookie-btn--outline {
  background: transparent;
  border: 1px solid rgba(250,246,241,0.25);
  color: rgba(250,246,241,0.65);
}
.cookie-btn--outline:hover {
  border-color: rgba(250,246,241,0.5);
  color: var(--white);
}

.cookie-btn--solid {
  background: var(--accent);
  border: 1px solid var(--accent);
  color: var(--white);
}
.cookie-btn--solid:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
}

@media (max-width: 500px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1rem 1.2rem;
  }
  .cookie-actions { width: 100%; justify-content: flex-end; }
}
