/* ══════════════════════════════════════════════════════════════
   LUXEWALL MOBILE — COMPLETE STYLESHEET
   Mobile-First (max-width: 520px) with Desktop Emulation Shell
   ══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #FAF6F2;              /* Warm terracotta linen / ivory */
  --surface: #F2E9DF;         /* Natural sandstone */
  --dark: #241814;            /* Deep warm terracotta obsidian */
  --dark-surface: #33231D;    /* Roasted chestnut */
  --ink: #221713;             /* Rich charcoal ink with warm undertone */
  --ink2: #665048;            /* Warm earthen slate text */
  --accent: #B84E2E;          /* Tuscan terracotta */
  --khaki: #D88E68;           /* Warm terracotta sand / apricot clay */
  --jade: #366B54;            /* Mediterranean cypress green */
  --line: #E8DDCE;            /* Sandstone delicate border */
  --line-d: #3D2B24;          /* Dark section line */
  --cta: #B84E2E;             /* Signature Tuscan Terracotta CTA */
  --cta-hover: #983C20;       /* Deep clay terracotta hover */
  --white: #FFFFFF;
  --shadow-sm: 0 2px 8px rgba(36, 24, 20, 0.06);
  --shadow-md: 0 8px 24px rgba(36, 24, 20, 0.10);
  --shadow-lg: 0 16px 36px rgba(36, 24, 20, 0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: #EADBCE;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  justify-content: center;
}

/* Outer Shell for Desktop & Full Width on Mobile */
.mobile-shell {
  width: 100%;
  max-width: 520px;
  background-color: var(--bg);
  min-height: 100vh;
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.18);
  position: relative;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 800;
  color: var(--ink);
}

h1 { font-size: 34px; line-height: 1.12; letter-spacing: -0.03em; }
h2 { font-size: 26px; line-height: 1.18; letter-spacing: -0.025em; }
h3 { font-size: 19px; line-height: 1.25; letter-spacing: -0.02em; }

.eyebrow {
  font-size: 11.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
  display: block;
}

.lead {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink2);
}

.sm { font-size: 13.5px; line-height: 1.5; color: var(--ink2); }
.xs { font-size: 12px; line-height: 1.45; color: var(--ink2); }

.mt8 { margin-top: 8px; }
.mt12 { margin-top: 12px; }
.mt16 { margin-top: 16px; }
.mt24 { margin-top: 24px; }
.mt32 { margin-top: 32px; }

/* Sections */
.dmx-wrap {
  width: 100%;
  background: var(--bg);
}
.dmx-wrap.is-surface { background: var(--surface); }
.dmx-wrap.is-dark { background: var(--dark); color: #F2ECE3; }
.dmx-wrap.is-dark h2, .dmx-wrap.is-dark h3 { color: #F5EFE6; }
.dmx-wrap.is-dark .lead, .dmx-wrap.is-dark .sm, .dmx-wrap.is-dark .xs { color: #A99C8C; }
.dmx-wrap.is-dark .eyebrow { color: var(--khaki); }

.sec {
  padding: 50px 20px;
}
.sec.tight {
  padding: 32px 20px;
}

/* Buttons */
.btn {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--cta);
  color: #FFFFFF;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 15.5px;
  padding: 16px 20px;
  border-radius: 10px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  box-shadow: 0 4px 14px rgba(184, 78, 46, 0.28);
}
.btn:active {
  transform: scale(0.985);
  background: var(--cta-hover);
}

.btn-secondary {
  display: block;
  width: 100%;
  text-align: center;
  background: transparent;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 14.5px 20px;
  border-radius: 10px;
  text-decoration: none;
  margin-top: 10px;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-secondary:active {
  background: rgba(36, 31, 26, 0.06);
}
.dmx-wrap.is-dark .btn-secondary {
  border-color: #8C8175;
  color: #F2ECE3;
}

/* ─── 1. HEADER ─── */
.dmx-hdr {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 18px;
}
.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.brand-badge {
  background: var(--white);
  color: var(--dark);
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 13px;
  padding: 4px 7px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.brand-text {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: #FFFFFF;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}
.brand-text span {
  color: var(--khaki);
}
.footer-brand .brand-text {
  text-shadow: none;
}
.logo-link img {
  height: 32px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.6));
}
.hdr-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hdr-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: #FFFFFF;
  text-decoration: none;
  white-space: nowrap;
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
  padding: 6px 10px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
}
.hdr-phone svg {
  width: 14px;
  height: 14px;
  stroke: #FFFFFF;
  stroke-width: 2;
  fill: none;
}
.burger-btn {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border-radius: 9px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.burger-btn span {
  display: block;
  width: 17px;
  height: 2px;
  background: #FFFFFF;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.burger-btn.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger-btn.active span:nth-child(2) { opacity: 0; }
.burger-btn.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-menu {
  position: absolute;
  top: 62px;
  left: 14px;
  right: 14px;
  z-index: 60;
  background: #FFFFFF;
  border-radius: 14px;
  padding: 8px;
  display: none;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  animation: fadeInDown 0.25s ease-out forwards;
}
.nav-menu.open { display: block; }
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
.nav-menu a {
  display: block;
  padding: 13px 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.15s;
}
.nav-menu a:active, .nav-menu a:hover {
  background: var(--surface);
  color: var(--cta);
}
.nav-menu a + a {
  border-top: 1px solid var(--line);
}

/* ─── 2. HERO SLIDESHOW ─── */
.hero {
  position: relative;
}
.hero-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: #241F1A;
  touch-action: pan-y;
  user-select: none;
}
.hero-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  pointer-events: none;
}
.hero-slider img.active {
  opacity: 1;
}
.hero-slider::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 30%;
  z-index: 5;
  background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 100%);
}
.slider-dots {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  gap: 6px;
}
.slider-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: all 0.3s ease;
}
.slider-dots i.active {
  background: #FFFFFF;
  width: 22px;
  border-radius: 3px;
}

.hero-body {
  padding: 26px 20px 32px;
}
.hero-body h1 {
  margin-top: 12px;
}
.hero-body .lead {
  margin-top: 20px;
  padding-left: 16px;
  border-left: 3px solid var(--khaki);
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 22px;
  font-size: 13.5px;
  color: var(--ink2);
}
.hero-trust b {
  color: var(--jade);
  font-weight: 700;
}
.hero-actions {
  margin-top: 26px;
}

/* ─── 2.5 SCENARIOS / AUDIENCE QUALIFICATION ─── */
.scenarios-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.scenario-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}

.scenario-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--khaki);
}

.scenario-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.scenario-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(184, 78, 46, 0.09);
  color: var(--cta);
  display: flex;
  align-items: center;
  justify-content: center;
}

.scenario-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--cta);
  background: rgba(184, 78, 46, 0.09);
  padding: 4px 10px;
  border-radius: 20px;
}

.scenario-title {
  font-family: 'Manrope', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.scenario-desc {
  font-size: 0.88rem;
  color: var(--ink2);
  line-height: 1.5;
}

.scenario-benefit {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--jade);
  display: flex;
  align-items: center;
  gap: 6px;
}

.scenario-cta-card {
  background: linear-gradient(135deg, #FFFFFF 0%, #FAF6F0 100%);
  border: 1.5px dashed var(--khaki);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.scenario-cta-sparkle {
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.scenario-cta-text {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.45;
  margin-bottom: 14px;
}


/* ─── 3. BEFORE / AFTER SLIDER ─── */
.ba-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 14px;
  user-select: none;
  touch-action: pan-y;
  background: #E4DCCF;
  cursor: ew-resize;
  box-shadow: var(--shadow-sm);
}
.ba-container .ba-after,
.ba-container .ba-before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.ba-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.ba-container .ba-before {
  clip-path: inset(0 50% 0 0);
}
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #FFFFFF;
  z-index: 10;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
}
.ba-handle::after {
  content: "⇄";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}
.ba-label {
  position: absolute;
  bottom: 14px;
  z-index: 12;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(36, 31, 26, 0.75);
  color: #FFFFFF;
  padding: 5px 11px;
  border-radius: 6px;
}
.ba-label.l { left: 14px; }
.ba-label.r { right: 14px; }
.ba-hint {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(36, 31, 26, 0.7);
  color: #FFFFFF;
  padding: 6px 14px;
  border-radius: 20px;
  pointer-events: none;
  transition: opacity 0.4s;
}
.ba-hint.hide { opacity: 0; }

/* ─── 4. PRODUCT SHOWCASE (Block 4) ─── */
.pg {
  display: grid;
  grid-template-columns: 1fr 68px;
  gap: 8px;
}
.pg-main {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
}
.pg-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pg-thumbs {
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  gap: 8px;
}
.pg-t {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: var(--surface);
  border: 2px solid transparent;
  padding: 0;
}
.pg-t.active {
  border-color: var(--ink);
}
.pg-t img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pg-name {
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  margin-top: 14px;
}
.pg-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.pg-dots button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  overflow: hidden;
  padding: 0;
  border: 2px solid transparent;
  cursor: pointer;
  background: #E4DCCF;
  transition: transform 0.15s, border-color 0.15s;
}
.pg-dots button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pg-dots button.active {
  border-color: var(--ink);
  transform: scale(1.1);
  box-shadow: 0 0 0 3px rgba(36, 31, 26, 0.12);
}

.spec-lab {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink2);
}
.specline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 8px;
  font-family: 'Manrope', sans-serif;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--ink);
}
.specline span {
  color: var(--ink2);
  font-weight: 500;
}
.pline {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 12px;
  margin-top: 16px;
}
.pline s {
  opacity: 0.4;
  font-size: 17px;
}
.pline b {
  font-family: 'Manrope', sans-serif;
  font-size: 30px;
  font-weight: 800;
  color: var(--ink);
}
.pline span {
  font-size: 14px;
  color: var(--ink2);
}
.freeship-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  background: #FFFFFF;
  border: 1px solid rgba(78, 107, 99, 0.35);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.3;
  color: var(--jade);
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.freeship-badge svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  stroke: var(--jade);
  stroke-width: 2.6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ─── 5. VIDEO REELS CAROUSEL (Block 5) ─── */
.reels {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.reels::-webkit-scrollbar { display: none; }
.reel {
  flex: 0 0 78%;
  scroll-snap-align: center;
}
.reel-box {
  position: relative;
  width: 100%;
  aspect-ratio: 9/16;
  border-radius: 14px;
  overflow: hidden;
  background: #241F1A;
  box-shadow: var(--shadow-md);
}
.reel-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
}
.reel-box video, .reel-box iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 0;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s;
}
.reel-box video.active, .reel-box iframe.active {
  opacity: 1;
}
.reel-cap {
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--ink2);
  margin-top: 10px;
}
.reel-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 5;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: rgba(36, 31, 26, 0.75);
  color: #FFFFFF;
  padding: 4px 8px;
  border-radius: 5px;
}
.reel-play-btn {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: rgba(0, 0, 0, 0.2);
  cursor: pointer;
}
.reel-play-btn em {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}
.reel-play-btn svg {
  width: 22px;
  height: 22px;
  fill: var(--ink);
  margin-left: 3px;
}
.reel-play-btn.hide { display: none; }

.reel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
}
.reel-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #CFC3B0;
  transition: all 0.3s;
  cursor: pointer;
}
.reel-dots i.active {
  background: var(--ink);
  width: 20px;
  border-radius: 3px;
}

/* ─── 6. ROOM GALLERY (Block 6) ─── */
.tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 16px;
}
.tab {
  padding: 10px 4px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 600;
  border: 1px solid var(--line-d);
  color: #B7AB9C;
  cursor: pointer;
  background: transparent;
  font-family: inherit;
  text-align: center;
  white-space: nowrap;
}
.tab.active {
  background: var(--khaki);
  color: var(--dark);
  border-color: var(--khaki);
  font-weight: 800;
}
.room-stage {
  position: relative;
  width: 100%;
}
.room-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px;
}
.tile {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: 10px;
  overflow: hidden;
  background: #3A322C;
  cursor: pointer;
  border: 2px solid transparent;
  padding: 0;
}
.tile.active {
  border-color: var(--khaki);
}
.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tile-num {
  position: absolute;
  left: 6px;
  bottom: 6px;
  z-index: 3;
  font-size: 10px;
  font-weight: 800;
  background: rgba(28, 22, 18, 0.75);
  color: #E0D3BE;
  padding: 2px 6px;
  border-radius: 4px;
}
.ai-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 3;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: rgba(28, 22, 18, 0.75);
  color: #E0D3BE;
  padding: 3px 6px;
  border-radius: 4px;
}
.quote {
  font-size: 14.5px;
  line-height: 1.6;
  font-style: italic;
  color: #B7AA98;
  border-left: 3px solid rgba(184, 169, 146, 0.5);
  padding-left: 14px;
  margin-top: 24px;
}
.urgency-banner {
  background: #D8CEBE;
  color: #2B2521;
  padding: 18px 20px;
  text-align: center;
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 700;
}

/* ─── 7. PRICE COMPARISON TABLE (Block 7) ─── */
.tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  margin-top: 18px;
}
.tbl th {
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink2);
  font-weight: 700;
  text-align: left;
  padding: 0 0 10px;
}
.tbl th:nth-child(n+2),
.tbl td:nth-child(n+2) {
  text-align: right;
}
.tbl td {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.tbl .old-price { color: var(--ink2); }
.tbl .our-price {
  font-weight: 800;
  color: var(--ink);
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
}

/* ─── 7b. CERTIFICATE (Block 7b) ─── */
.cert-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  margin-top: 16px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}
.cert-card:active {
  transform: scale(0.99);
}
.cert-thumb {
  width: 60px;
  height: 80px;
  flex: 0 0 60px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.cert-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cert-info h4 {
  font-size: 15px;
  font-weight: 800;
}
.cert-info p {
  font-size: 13px;
  color: var(--ink2);
  margin-top: 4px;
}
.cert-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--cta);
  margin-top: 6px;
  display: inline-block;
}

/* Lightbox Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}
.modal-overlay.open {
  display: flex;
  animation: fadeIn 0.2s ease-out;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.modal-box {
  position: relative;
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  background: #FFFFFF;
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow-lg);
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface);
  border: none;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
}

/* ─── 8. 3-STEP ORDER FUNNEL (Blocks 8a & 8b) ─── */
.ocard {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  margin-top: 16px;
}
.ocard-h {
  background: #D8CEBE;
  color: var(--ink);
  padding: 24px 18px 20px;
}
.ocard-b {
  background: #FFFFFF;
  padding: 22px 16px 26px;
}

.stp {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 28px;
}
.stp.first {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}
.stp-h {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.stp-badge {
  display: inline-block;
  background: var(--dark);
  color: #FFFFFF;
  border-radius: 999px;
  padding: 6px 14px;
  font-family: 'Manrope', sans-serif;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.stp-h b {
  font-size: 19px;
  font-weight: 800;
}
.stp-sub {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink2);
  margin-top: 8px;
}

/* Calculator */
.calc-box {
  background: var(--surface);
  border-radius: 14px;
  padding: 20px 16px;
  margin-top: 16px;
}
.fld {
  margin-bottom: 14px;
}
.fld label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink2);
  margin-bottom: 6px;
}
.fld input {
  width: 100%;
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #FFFFFF;
  color: var(--ink);
}
.fld input:focus {
  outline: none;
  border-color: var(--cta);
}
.warn-box {
  background: #F3E9DA;
  border-left: 3px solid var(--khaki);
  padding: 11px 13px;
  border-radius: 0 8px 8px 0;
  font-size: 12.5px;
  color: #6B5B45;
  margin-top: 12px;
  display: none;
}
.warn-box.active { display: block; }

.calc-res {
  background: #FFFFFF;
  border-radius: 10px;
  padding: 16px 14px;
  margin-top: 14px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.calc-res .res-num {
  font-family: 'Manrope', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--ink);
}
.calc-res .res-cov {
  font-size: 13px;
  color: var(--ink2);
  margin-top: 4px;
}
.calc-res .res-sum {
  font-size: 14px;
  color: var(--ink);
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.calc-res .res-sum b {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 17px;
  color: var(--cta);
}

/* Quiz */
.qz {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 16px;
  margin-top: 16px;
}
.qz-nums {
  display: flex;
  gap: 8px;
}
.qz-nums i {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 800;
  background: var(--line);
  color: var(--ink2);
}
.qz-nums i.active {
  background: var(--dark);
  color: #FFFFFF;
}
.qz-q {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 18px;
  margin-top: 10px;
}
.qz-opts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
}
.qz-opts.c3 { grid-template-columns: repeat(3, 1fr); }
.qz-o {
  border: 1.5px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: #FFFFFF;
  font-family: inherit;
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s, transform 0.1s;
}
.qz-o:active {
  transform: scale(0.98);
  border-color: var(--dark);
}
.qz-o span {
  display: block;
  height: 52px;
  flex: 0 0 52px;
  background-size: cover;
  background-position: center;
}
.qz-o b {
  display: flex;
  align-items: center;
  min-height: 38px;
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 8px;
  line-height: 1.25;
  color: var(--ink);
  flex: 1;
}

.qz-res {
  display: none;
  background: #43332B;
  color: #FFFFFF;
  border-radius: 14px;
  padding: 18px 16px;
  margin-top: 16px;
}
.qz-res.active { display: block; animation: fadeIn 0.3s; }
.qz-res .res-title {
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.qz-res .res-names {
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #FFFFFF;
  margin-top: 6px;
}
.qz-res .res-why {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 10px;
}
.qz-again-btn {
  display: inline-block;
  margin-top: 14px;
  padding: 8px 16px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  background: transparent;
  color: #E8C9A8;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

/* ─── STEP 3: CATALOG GRID ─── */
.step3-header {
  padding: 24px 20px 14px;
}
.catalog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 0 20px 30px;
}
.cat-card {
  background: #FFFFFF;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.cat-card.recommended {
  box-shadow: 0 0 0 2px var(--jade), 0 0 0 6px rgba(78, 107, 99, 0.2);
}
.cat-card.recommended::after {
  content: "Рекомендуємо";
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 5;
  background: var(--jade);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 4px 8px;
  border-radius: 6px;
}
.cat-img-box {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  background: var(--surface);
  overflow: hidden;
}
.cat-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cat-badge-disc {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: #C44E3D;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 6px;
  border-radius: 4px;
}
.cat-body {
  padding: 12px 10px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.cat-title {
  font-family: 'Manrope', sans-serif;
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.25;
}
.cat-descr {
  font-size: 11.5px;
  color: var(--ink2);
  line-height: 1.35;
  margin-top: 4px;
  flex: 1;
}
.cat-price-box {
  margin-top: 10px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.cat-price-box s {
  font-size: 13px;
  color: var(--ink2);
  opacity: 0.6;
}
.cat-price-box b {
  font-family: 'Manrope', sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
}
.cat-btn {
  margin-top: 10px;
  width: 100%;
  background: var(--cta);
  color: #FFFFFF;
  font-family: 'Manrope', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 8px;
  border-radius: 7px;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}
.cat-btn:active {
  background: var(--cta-hover);
}

/* ─── 9. HOW TO GLUE (Block 9) ─── */
.rules-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}
.rule-item {
  display: flex;
  gap: 14px;
  background: #FFFFFF;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.rule-num {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 50%;
  background: var(--dark);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 15px;
}
.rule-body h4 {
  font-size: 15.5px;
  font-weight: 800;
}
.rule-body p {
  font-size: 13.5px;
  color: var(--ink2);
  margin-top: 4px;
  line-height: 1.45;
}

.surf-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  margin-top: 20px;
  background: #FFFFFF;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.surf-table th {
  background: var(--surface);
  padding: 12px 14px;
  text-align: left;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.surf-table td {
  padding: 12px 14px;
  border-top: 1px solid var(--line);
}
.badge-ok {
  color: var(--jade);
  font-weight: 800;
}
.badge-warn {
  color: #B26A2B;
  font-weight: 700;
}

/* ─── 10. MATERIALS (Block 10) ─── */
.layer-card {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.layer-num {
  font-family: 'Manrope', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--khaki);
  flex: 0 0 28px;
}
.layer-info h4 {
  font-size: 15px;
  font-weight: 800;
}
.layer-info p {
  font-size: 13.5px;
  color: var(--ink2);
  margin-top: 4px;
}

/* ─── 11. REVIEWS (Block 11) ─── */
.rev-box {
  width: 100%;
  aspect-ratio: 9/16;
  border-radius: 14px;
  overflow: hidden;
  background: #241F1A;
  box-shadow: var(--shadow-sm);
}
.rev-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.rev-cap {
  font-size: 14px;
  color: var(--ink2);
  margin-top: 8px;
}
.rev-cap b {
  color: var(--ink);
}

/* ─── 12. FAQ (Block 12) ─── */
details {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}
details:last-of-type {
  border-bottom: 1px solid var(--line);
}
summary {
  cursor: pointer;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  font-size: 22px;
  color: var(--cta);
  font-weight: 500;
  flex: 0 0 auto;
  transition: transform 0.2s;
}
details[open] summary::after {
  content: "−";
}
details .body {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink2);
  margin-top: 12px;
}

/* ─── 13. CONSULTATION FORM ─── */
.consult-card {
  background: var(--surface);
  border-radius: 16px;
  padding: 24px 18px;
  border: 1px solid var(--line);
}

/* ─── 14. FOOTER ─── */
.foot {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: center;
}
.foot-logo img {
  height: 44px;
  width: auto;
  margin: 0 auto;
  display: block;
}
.foot a {
  color: #F5EFE6;
  text-decoration: none;
  font-weight: 600;
}
.msgr {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 10px;
}
.msgr a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.msgr a:active { background: rgba(255, 255, 255, 0.25); }
.msgr svg {
  width: 22px;
  height: 22px;
  fill: #FFFFFF;
}
.foot-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  margin-top: 14px;
  font-size: 13px;
}
.foot-nav a {
  opacity: 0.7;
}
.foot-nav a:hover, .foot-nav a.here {
  opacity: 1;
}
.foot-note {
  font-size: 12px;
  line-height: 1.5;
  opacity: 0.6;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line-d);
}

/* ─── 15. STICKY BOTTOM BAR ─── */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 80;
  display: flex;
  justify-content: center;
  pointer-events: none;
  transform: translateY(100%);
  transition: transform 0.3s ease-out;
}
.sticky-bar.visible {
  transform: translateY(0);
}
.sticky-bar-inner {
  width: 100%;
  max-width: 520px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  pointer-events: auto;
}
.sticky-price-info {
  display: flex;
  flex-direction: column;
}
.sticky-price {
  font-family: 'Manrope', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
}
.sticky-free {
  font-size: 11px;
  font-weight: 700;
  color: var(--jade);
}
.sticky-btn {
  background: var(--cta);
  color: #FFFFFF;
  font-family: 'Manrope', sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 9px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

/* ─── 16. ORDER BOTTOM SHEET MODAL ─── */
.order-sheet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 120;
  display: none;
  backdrop-filter: blur(4px);
}
.order-sheet-overlay.open {
  display: block;
}
.order-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 130;
  max-width: 520px;
  margin: 0 auto;
  background: #FFFFFF;
  border-radius: 20px 20px 0 0;
  max-height: 92vh;
  overflow-y: auto;
  padding: 22px 20px 30px;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.25);
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
  visibility: hidden;
  pointer-events: none;
}
.order-sheet.open {
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
}
.sheet-handle {
  width: 40px;
  height: 4px;
  background: #D5C8B7;
  border-radius: 2px;
  margin: 0 auto 16px;
}
.sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.sheet-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface);
  border: none;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.order-prod-row {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 16px;
}
.order-prod-img {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  flex: 0 0 64px;
  border: 1px solid var(--line);
}
.order-prod-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.order-prod-meta h4 {
  font-size: 16px;
  font-weight: 800;
}
.order-prod-meta p {
  font-size: 13px;
  color: var(--ink2);
}
.order-qty-control {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  background: var(--surface);
  padding: 8px 14px;
  border-radius: 10px;
}
.qty-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid var(--line);
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.qty-val {
  font-family: 'Manrope', sans-serif;
  font-size: 17px;
  font-weight: 800;
}
.order-total-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  font-weight: 600;
}
.order-total-line b {
  font-family: 'Manrope', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
}

.order-form-fields {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.order-input-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink2);
  margin-bottom: 5px;
}
.order-input-group input,
.order-input-group textarea {
  width: 100%;
  font-family: inherit;
  font-size: 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #FFFFFF;
  color: var(--ink);
}
.order-input-group input:focus,
.order-input-group textarea:focus {
  outline: none;
  border-color: var(--cta);
}

/* Success modal state */
.order-success-box {
  display: none;
  text-align: center;
  padding: 30px 10px;
}
.order-success-box.active { display: block; }
.order-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #EAF3EF;
  color: var(--jade);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 32px;
}
