:root {
  --bg: #050507;
  --bg-2: #080b12;
  --panel: rgba(255, 255, 255, 0.07);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --line: rgba(255, 255, 255, 0.13);
  --text: #f4f7ff;
  --muted: #9ea4b3;
  --muted-2: #697081;
  --neon: #ffe8b8;
  --neon-rgb: 255, 232, 184;
  --radius: 28px;
  --shadow: 0 30px 120px rgba(0, 0, 0, 0.45);
  --font-ui: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 10%, rgba(169, 112, 255, .16), transparent 32rem),
    radial-gradient(circle at 80% 0%, rgba(110, 231, 255, .12), transparent 35rem),
    linear-gradient(180deg, #050507 0%, #070911 50%, #050507 100%);
  font-family: var(--font-ui);
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
::selection { background: rgba(var(--neon-rgb), .28); color: var(--text); }

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .045;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.cursor-glow {
  width: 460px;
  height: 460px;
  position: fixed;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--neon-rgb), .17), rgba(110, 231, 255, .05) 34%, transparent 70%);
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: screen;
  transition: width .3s ease, height .3s ease;
}

.site-header {
  width: min(1180px, calc(100% - 32px));
  height: 72px;
  position: fixed;
  z-index: 20;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 14px 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(5, 5, 7, .62);
  backdrop-filter: blur(24px);
  box-shadow: 0 24px 80px rgba(0,0,0,.25);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .08em;
}
.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  background: transparent;
  box-shadow: none;
}
.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 34px;
  max-height: 34px;
  object-fit: contain;
  background: transparent;
}

.main-nav { display: flex; align-items: center; gap: 22px; color: var(--muted); font-size: 14px; }
.main-nav a { transition: color .25s ease, text-shadow .25s ease; }
.main-nav a:hover { color: var(--text); text-shadow: 0 0 18px rgba(var(--neon-rgb), .65); }
.header-cta { padding: 13px 18px; border-radius: 999px; background: rgba(255,255,255,.09); border: 1px solid var(--line); font-size: 14px; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 0; border-radius: 999px; background: rgba(255,255,255,.08); }
.menu-toggle span { width: 18px; height: 2px; background: var(--text); display: block; margin: 5px auto; border-radius: 9px; }

.section-shell { width: min(1180px, calc(100% - 32px)); margin: 0 auto; position: relative; z-index: 3; }
.hero { min-height: 100svh; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 54px; padding: 140px 0 80px; }
#particleCanvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; opacity: .8; }
.hero-aurora { position: absolute; inset: 12% -12% auto auto; width: 62vw; height: 62vw; max-width: 820px; max-height: 820px; background: conic-gradient(from 120deg, rgba(255,79,216,.22), rgba(110,231,255,.18), rgba(169,112,255,.2), rgba(255,79,216,.22)); filter: blur(80px); opacity: .58; border-radius: 50%; z-index: -3; animation: aurora 12s linear infinite; }
.hero-grid { position: absolute; inset: 0; z-index: -4; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 70px 70px; mask-image: radial-gradient(circle at 50% 35%, black, transparent 70%); }
@keyframes aurora { to { transform: rotate(360deg); } }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .18em; font-size: 12px; font-weight: 700; }
.eyebrow span { width: 38px; height: 1px; background: var(--neon); box-shadow: 0 0 15px rgba(var(--neon-rgb), .95); }

h1, h2, h3 { font-family: var(--font-display); margin: 0; letter-spacing: -.04em; }
h1 { font-size: clamp(56px, 8.6vw, 118px); line-height: .86; max-width: 790px; }
h1 span { color: var(--neon); text-shadow: 0 0 14px rgba(var(--neon-rgb), .8), 0 0 60px rgba(var(--neon-rgb), .45), 0 0 120px rgba(var(--neon-rgb), .2); }
h2 { font-size: clamp(38px, 5.8vw, 78px); line-height: .95; }
h3 { font-size: 22px; }
p { color: var(--muted); line-height: 1.7; }
.hero-copy { font-size: clamp(17px, 2vw, 21px); max-width: 640px; margin: 28px 0 32px; }
.hero-actions, .summary-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.btn-primary { color: #09090b; background: var(--neon); border-color: rgba(var(--neon-rgb), .6); box-shadow: 0 0 24px rgba(var(--neon-rgb), .35), 0 12px 60px rgba(var(--neon-rgb), .2); font-weight: 800; }
.btn-secondary { background: rgba(255,255,255,.07); color: var(--text); backdrop-filter: blur(14px); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 0 28px rgba(var(--neon-rgb), .45), 0 24px 80px rgba(0,0,0,.35); }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.hero-tags span { color: var(--muted); padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.04); font-size: 13px; }

.glass-panel { border: 1px solid var(--line); background: linear-gradient(145deg, rgba(255,255,255,.11), rgba(255,255,255,.045)); backdrop-filter: blur(24px); border-radius: var(--radius); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.glass-panel::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(var(--neon-rgb), .16), transparent 32%); opacity: .9; pointer-events: none; }
.hero-panel { min-height: 520px; display: grid; place-items: center; padding: 34px; transform: perspective(1000px) rotateY(-7deg) rotateX(4deg); }
.panel-topbar { position: absolute; top: 22px; left: 22px; display: flex; gap: 8px; }
.panel-topbar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.28); }
.live-label { position: absolute; top: 22px; right: 22px; color: var(--muted); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.neon-text { color: var(--neon); text-align: center; text-shadow: 0 0 7px rgba(var(--neon-rgb), .95), 0 0 18px rgba(var(--neon-rgb), .8), 0 0 46px rgba(var(--neon-rgb), .58), 0 0 100px rgba(var(--neon-rgb), .35); filter: drop-shadow(0 0 30px rgba(var(--neon-rgb), .42)); animation: neonPulse 3.8s ease-in-out infinite; }
@keyframes neonPulse { 0%,100%{ opacity: .92; } 45%{ opacity: 1; filter: drop-shadow(0 0 48px rgba(var(--neon-rgb), .7)); } 47%{ opacity:.82; } 49%{ opacity:1; } }
.font-script { font-family: 'Dancing Script', cursive; }
.font-minimal { font-family: 'Inter', sans-serif; font-weight: 700; letter-spacing: -.06em; }
.font-retro { font-family: 'Monoton', cursive; font-weight: 400; }
.font-gamer { font-family: 'Orbitron', sans-serif; text-transform: uppercase; letter-spacing: .04em; }
.font-premium { font-family: 'Playfair Display', serif; font-weight: 700; }
.font-modern { font-family: 'Space Grotesk', sans-serif; font-weight: 700; letter-spacing: -.05em; }
.font-bold { font-family: 'Inter', sans-serif; font-weight: 900; text-transform: uppercase; letter-spacing: -.08em; }
.hero-neon { font-size: clamp(64px, 8vw, 126px); z-index: 2; }
.spark-line { position: absolute; left: 13%; right: 13%; bottom: 105px; height: 1px; background: linear-gradient(90deg, transparent, rgba(var(--neon-rgb), .8), transparent); box-shadow: 0 0 16px rgba(var(--neon-rgb), .8); }
.mini-controls { position: absolute; bottom: 32px; display: flex; gap: 12px; }
.mini-controls span { width: 54px; height: 8px; border-radius: 999px; background: rgba(255,255,255,.14); }

.intro-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: -20px auto 90px; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: rgba(255,255,255,.05); backdrop-filter: blur(18px); }
.intro-strip div { padding: 24px; background: rgba(255,255,255,.035); }
.intro-strip strong { display: block; font-family: var(--font-display); margin-bottom: 8px; }
.intro-strip span { color: var(--muted); font-size: 14px; }

.section-heading { max-width: 760px; margin-bottom: 42px; }
.section-heading p:last-child { font-size: 18px; max-width: 620px; }
.configurator, .inspiration, .process, .benefits, .testimonials, .contact { padding: 100px 0; }
.config-grid { display: grid; grid-template-columns: 430px 1fr; gap: 26px; align-items: start; }
.config-panel { padding: 26px; position: sticky; top: 108px; }
.control-group + .control-group { margin-top: 26px; }
label, .control-title { display: block; color: var(--text); font-weight: 750; margin-bottom: 12px; }
input, textarea { width: 100%; color: var(--text); border: 1px solid var(--line); background: rgba(0,0,0,.24); border-radius: 18px; outline: none; padding: 16px 17px; transition: border-color .25s ease, box-shadow .25s ease; }
input:focus, textarea:focus { border-color: rgba(var(--neon-rgb), .6); box-shadow: 0 0 0 4px rgba(var(--neon-rgb), .12); }
small { color: var(--muted-2); display: block; margin-top: 9px; line-height: 1.5; }
.font-options, .size-options, .scene-options { display: grid; gap: 10px; }
.font-options { grid-template-columns: repeat(2, 1fr); }
.option-pill, .scene-card, .size-card { color: var(--text); border: 1px solid var(--line); background: rgba(255,255,255,.055); border-radius: 16px; padding: 13px; text-align: left; transition: border-color .25s ease, background .25s ease, box-shadow .25s ease, transform .25s ease; }
.option-pill:hover, .scene-card:hover, .size-card:hover { transform: translateY(-1px); border-color: rgba(var(--neon-rgb), .45); }
.option-pill.active, .scene-card.active, .size-card.active { background: rgba(var(--neon-rgb), .15); border-color: rgba(var(--neon-rgb), .62); box-shadow: inset 0 0 22px rgba(var(--neon-rgb), .08), 0 0 22px rgba(var(--neon-rgb), .12); }
.color-options { display: grid; grid-template-columns: repeat(9, 1fr); gap: 10px; }
.color-dot { width: 100%; aspect-ratio: 1; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); background: var(--dot); box-shadow: 0 0 18px color-mix(in srgb, var(--dot), transparent 45%); position: relative; }
.color-dot span { position: absolute; opacity: 0; pointer-events: none; }
.color-dot.active { outline: 3px solid rgba(255,255,255,.82); outline-offset: 3px; }
.size-options { grid-template-columns: repeat(2, 1fr); }
.size-card strong { display: block; font-family: var(--font-display); font-size: 22px; }
.size-card span { display: block; color: var(--text); margin-top: 4px; }
.size-card small { margin-top: 4px; font-size: 12px; }
.scene-options { grid-template-columns: repeat(2, 1fr); }

.preview-wrap { display: grid; gap: 18px; }
.preview-stage { min-height: 690px; display: grid; place-items: center; background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.025)), radial-gradient(circle at 50% 30%, rgba(var(--neon-rgb), .16), transparent 40%); overflow: hidden; }
.preview-stage::after { content: ''; position: absolute; inset: 8%; border: 1px solid rgba(255,255,255,.08); border-radius: 28px; pointer-events: none; }
.ambient-light { position: absolute; top: 15%; left: 50%; width: 70%; height: 44%; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(var(--neon-rgb), .32), transparent 68%); filter: blur(22px); opacity: .9; }
.wall-lines { position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom, transparent, black 20%, black 75%, transparent); }
.preview-neon { position: relative; z-index: 6; max-width: 84%; line-height: .95; white-space: nowrap; transform: translateY(-105px); }
.size-S { font-size: clamp(36px, 5vw, 70px); }
.size-M { font-size: clamp(52px, 6.7vw, 96px); }
.size-L { font-size: clamp(66px, 8.2vw, 122px); }
.size-XL { font-size: clamp(78px, 9.6vw, 152px); }
.scale-badge { position: absolute; right: 26px; bottom: 26px; color: var(--text); background: rgba(0,0,0,.34); border: 1px solid var(--line); border-radius: 999px; padding: 11px 14px; font-size: 13px; backdrop-filter: blur(12px); }
.scene-art { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.scene-art > div { display: none; position: absolute; inset: 0; }
.scene-art > div.active-art { display: block; }
.scene-art span { position: absolute; display: block; border: 2px solid rgba(255,255,255,.42); background: rgba(255,255,255,.035); box-shadow: 0 0 35px rgba(var(--neon-rgb), .08); }
.sofa { width: 56%; height: 88px; left: 22%; bottom: 110px; border-radius: 36px 36px 16px 16px; }
.sofa::before, .sofa::after { content:''; position:absolute; width:24%; height:58px; bottom:56px; border:2px solid rgba(255,255,255,.32); border-radius:24px; }
.sofa::before { left:7%; } .sofa::after { right:7%; }
.table { width: 22%; height: 26px; left: 39%; bottom: 54px; border-radius: 50%; opacity: .6; }
.frame { width: 90px; height: 120px; left: 13%; top: 28%; border-radius: 14px; opacity: .35; }
.plant { width: 50px; height: 140px; right: 14%; bottom: 115px; border-radius: 50px 50px 8px 8px; opacity: .5; }
.monitor { width: 34%; height: 130px; left: 33%; bottom: 185px; border-radius: 16px; }
.desk { width: 60%; height: 24px; left: 20%; bottom: 150px; border-radius: 999px; }
.tower { width: 80px; height: 150px; right: 16%; bottom: 72px; border-radius: 16px; }
.chair { width: 130px; height: 110px; left: 16%; bottom: 76px; border-radius: 50px 50px 16px 16px; opacity: .6; }
.bed { width: 58%; height: 120px; left: 21%; bottom: 95px; border-radius: 22px; }
.lamp { width: 62px; height: 170px; right: 16%; bottom: 96px; border-radius: 30px; opacity: .5; }
.window { width: 120px; height: 180px; left: 14%; top: 24%; border-radius: 18px; opacity: .28; }
.bar { width: 66%; height: 104px; left: 17%; bottom: 100px; border-radius: 18px; }
.shelf { width: 42%; height: 20px; left: 29%; top: 35%; border-radius: 999px; opacity: .55; }
.stool { width: 70px; height: 90px; bottom: 28px; border-radius: 30px; opacity: .6; }
.stool.one { left: 33%; } .stool.two { right: 33%; }
.grid-object { width: 210px; height: 210px; left: 50%; top: 48%; transform: translate(-50%,-50%) rotate(45deg); opacity: .22; }
.pedestal { width: 38%; height: 90px; left: 31%; bottom: 100px; border-radius: 14px; }
.speaker { width: 70px; height: 140px; bottom: 100px; border-radius: 18px; opacity: .6; }
.speaker.one { left: 18%; } .speaker.two { right: 18%; }

.scene-gaming { background-color: rgba(4, 6, 12, .72); }
.scene-bedroom { background-color: rgba(12, 10, 18, .72); }
.scene-restaurant { background-color: rgba(15, 8, 6, .72); }
.scene-studio { background-color: rgba(0, 0, 0, .82); }
.config-summary { display: flex; justify-content: space-between; gap: 22px; align-items: center; padding: 18px; }
.config-summary span { display: block; color: var(--muted); font-size: 13px; margin-bottom: 4px; }
.config-summary strong { font-family: var(--font-display); }

.masonry-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 16px; }
.inspo-card { padding: 24px; border-radius: 28px; border: 1px solid var(--line); background: radial-gradient(circle at 50% 15%, rgba(var(--neon-rgb), .24), transparent 44%), linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.035)); position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; transition: transform .35s ease, box-shadow .35s ease; }
.inspo-card::before { content:''; position:absolute; inset:18px; border:1px solid rgba(255,255,255,.08); border-radius:22px; }
.inspo-card:hover { transform: translateY(-7px) scale(1.01); box-shadow: 0 0 45px rgba(var(--neon-rgb), .18), var(--shadow); }
.inspo-card span { color: var(--neon); font-size: 13px; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 10px; }
.inspo-card strong { position: relative; z-index: 2; font-family: var(--font-display); font-size: 24px; line-height: 1.1; }
.inspo-card.tall { grid-row: span 2; }
.inspo-card.wide { grid-column: span 2; }

.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.timeline-line { position: absolute; left: 8%; right: 8%; top: 36px; height: 1px; background: linear-gradient(90deg, transparent, rgba(var(--neon-rgb), .7), transparent); box-shadow: 0 0 22px rgba(var(--neon-rgb), .7); }
.step-card, .benefit-card, .testimonial-grid blockquote { padding: 26px; }
.step-card span { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; color: #060608; background: var(--neon); box-shadow: 0 0 22px rgba(var(--neon-rgb), .5); font-weight: 900; margin-bottom: 80px; position: relative; z-index: 2; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.benefit-card span { font-size: 28px; display: inline-block; margin-bottom: 18px; filter: drop-shadow(0 0 12px rgba(var(--neon-rgb), .4)); }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
blockquote { margin: 0; }
blockquote p { color: var(--text); font-size: 20px; line-height: 1.5; }
blockquote footer { color: var(--muted); margin-top: 18px; }

.contact-card { display: grid; grid-template-columns: .9fr 1.1fr; gap: 30px; padding: 34px; }
.contact-copy p { max-width: 520px; }
.contact-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.contact-links a, .site-footer a { color: var(--text); border-bottom: 1px solid rgba(var(--neon-rgb), .5); }
.contact-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.contact-form label { margin: 0; }
.contact-form label:nth-child(4), .contact-form button { grid-column: 1 / -1; }

.site-footer { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 46px 0 90px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); color: var(--muted); position: relative; z-index: 3; }
.site-footer div:last-child { display: flex; gap: 18px; }
.mobile-sticky-cta { display: none; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .14s; }

@media (max-width: 1040px) {
  .hero, .config-grid, .contact-card { grid-template-columns: 1fr; }
  .hero { padding-top: 130px; }
  .hero-panel { min-height: 430px; transform: none; }
  .config-panel { position: relative; top: auto; }
  .intro-strip, .benefit-grid, .testimonial-grid, .timeline { grid-template-columns: repeat(2, 1fr); }
  .masonry-grid { grid-template-columns: repeat(2, 1fr); }
  .preview-stage { min-height: 590px; }
}

@media (max-width: 760px) {
  .cursor-glow { display: none; }
  .site-header { height: 62px; top: 10px; width: calc(100% - 20px); }
  .main-nav { position: fixed; top: 74px; left: 10px; right: 10px; display: grid; gap: 0; padding: 12px; border: 1px solid var(--line); border-radius: 24px; background: rgba(5,5,7,.94); backdrop-filter: blur(24px); opacity: 0; pointer-events: none; transform: translateY(-10px); transition: .25s ease; }
  .main-nav a { padding: 15px; border-radius: 14px; }
  .menu-open .main-nav { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .menu-toggle { display: block; }
  .header-cta { display: none; }
  .hero { min-height: auto; padding: 120px 0 60px; gap: 36px; }
  h1 { font-size: clamp(54px, 18vw, 82px); }
  h2 { font-size: clamp(36px, 12vw, 58px); }
  .hero-copy { margin: 22px 0 26px; }
  .hero-actions .btn, .summary-actions .btn { width: 100%; }
  .hero-panel { min-height: 360px; }
  .hero-neon { font-size: 76px; }
  .intro-strip, .benefit-grid, .testimonial-grid, .timeline, .contact-form, .size-options, .scene-options { grid-template-columns: 1fr; }
  .intro-strip { margin-bottom: 48px; }
  .configurator, .inspiration, .process, .benefits, .testimonials, .contact { padding: 70px 0; }
  .config-panel, .contact-card { padding: 20px; border-radius: 24px; }
  .font-options { grid-template-columns: repeat(2, 1fr); }
  .color-options { grid-template-columns: repeat(5, 1fr); }
  .preview-stage { min-height: 460px; border-radius: 24px; }
  .preview-neon { transform: translateY(-65px); max-width: 92%; }
  .size-S { font-size: 40px; } .size-M { font-size: 54px; } .size-L { font-size: 66px; } .size-XL { font-size: 78px; }
  .sofa { width: 72%; left: 14%; bottom: 84px; height: 70px; }
  .table { bottom: 42px; }
  .plant, .frame { display: none !important; }
  .masonry-grid { grid-template-columns: 1fr; grid-auto-rows: 210px; }
  .inspo-card.tall, .inspo-card.wide { grid-row: span 1; grid-column: span 1; }
  .timeline-line { display: none; }
  .step-card span { margin-bottom: 26px; }
  .config-summary { align-items: stretch; flex-direction: column; }
  .site-footer { flex-direction: column; align-items: flex-start; padding-bottom: 110px; }
  .mobile-sticky-cta { display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; }
  .mobile-sticky-cta .btn { width: 100%; box-shadow: none; }
  .mobile-sticky-cta .btn:hover { box-shadow: none; }
}

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

/* Configurador: previsualización inmediata bajo el campo de texto */
.config-grid {
  display: block;
  max-width: 980px;
  margin: 0 auto;
}
.config-panel {
  position: relative;
  top: auto;
  padding: 28px;
}
.config-panel > .preview-stage {
  margin: 22px 0 30px;
  min-height: 560px;
}
.config-panel > .config-summary {
  margin-top: 30px;
}

@media (max-width: 760px) {
  .config-panel > .preview-stage {
    min-height: 430px;
    margin: 18px 0 26px;
  }
}

.multicolor-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

/* Personalizador adaptativo: composición compacta en escritorio y flujo vertical en móvil */
@media (min-width: 1041px) {
  .configurator {
    padding-top: 84px;
    padding-bottom: 96px;
  }

  .configurator .section-heading {
    max-width: 860px;
    margin-bottom: 28px;
  }

  .configurator .section-heading p:last-child {
    max-width: 760px;
    margin-bottom: 0;
  }

  .config-grid {
    display: block;
    width: min(1280px, 100%);
    max-width: none;
    margin: 0 auto;
  }

  .config-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(390px, .75fr);
    grid-template-areas:
      "text text"
      "preview color"
      "preview font"
      "preview size"
      "summary summary";
    column-gap: 24px;
    row-gap: 18px;
    padding: 24px;
    align-items: start;
  }

  .config-panel > .control-group:nth-of-type(1) {
    grid-area: text;
    margin: 0;
  }

  .config-panel > .preview-stage {
    grid-area: preview;
    margin: 0;
    min-height: 500px;
    height: 100%;
  }

  .config-panel > .control-group:nth-of-type(2) {
    grid-area: color;
    margin: 0;
  }

  .config-panel > .control-group:nth-of-type(3) {
    grid-area: font;
    margin: 0;
  }

  .config-panel > .control-group:nth-of-type(4) {
    grid-area: size;
    margin: 0;
  }

  .config-panel > .config-summary {
    grid-area: summary;
    margin: 0;
  }

  .config-panel .color-options {
    grid-template-columns: repeat(9, minmax(28px, 1fr));
    gap: 9px;
  }

  .config-panel .font-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .config-panel .option-pill {
    padding: 11px 12px;
  }

  .config-panel .size-options {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .config-panel .size-card {
    min-height: 92px;
    padding: 11px;
  }

  .config-panel .size-card small {
    line-height: 1.25;
  }

  .config-panel .multicolor-note {
    margin-top: 10px;
  }

  .config-panel .preview-neon {
    transform: translateY(-78px);
  }
}

@media (min-width: 1180px) {
  .configurator.section-shell {
    width: min(1320px, calc(100% - 48px));
  }
}

/* En móvil se conserva el recorrido natural: texto, preview, color, letra y tamaño */
@media (max-width: 760px) {
  .config-grid {
    width: 100%;
    max-width: none;
  }

  .config-panel {
    display: block;
  }

  .config-panel > .control-group + .control-group {
    margin-top: 26px;
  }
}

/* Blindaje móvil: solo desplazamiento vertical */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

main,
header,
footer,
section,
.section-shell,
.config-grid,
.config-panel,
.preview-stage,
.glass-panel {
  min-width: 0;
  max-width: 100%;
}

img,
svg,
video,
canvas,
iframe {
  max-width: 100%;
}

@media (max-width: 760px) {
  html,
  body {
    position: relative;
    overscroll-behavior-x: none;
    touch-action: pan-y;
  }

  body,
  main {
    overflow-x: clip;
  }

  .section-shell,
  .site-footer {
    width: calc(100% - 24px);
    max-width: calc(100% - 24px);
  }

  .site-header {
    width: calc(100% - 20px);
    max-width: calc(100% - 20px);
  }

  .hero,
  .config-panel,
  .contact-card,
  .intro-strip,
  .masonry-grid,
  .timeline,
  .benefit-grid,
  .testimonial-grid,
  .contact-form {
    min-width: 0;
    max-width: 100%;
  }

  .hero > *,
  .config-panel > *,
  .contact-card > *,
  .intro-strip > *,
  .masonry-grid > *,
  .timeline > *,
  .benefit-grid > *,
  .testimonial-grid > * {
    min-width: 0;
    max-width: 100%;
  }

  .hero-aurora {
    right: -8%;
    width: 108vw;
    height: 108vw;
    max-width: none;
    max-height: none;
  }

  .hero-panel,
  .preview-stage,
  .inspo-card,
  .glass-panel {
    overflow: hidden;
  }

  .preview-neon,
  .hero-neon {
    max-width: 94%;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .color-options,
  .font-options,
  .size-options {
    width: 100%;
    min-width: 0;
  }

  .mobile-sticky-cta {
    width: auto;
    max-width: calc(100% - 24px);
  }
}

/* Fallback para Safari antiguos que no aplican overflow: clip */
@supports not (overflow: clip) {
  html,
  body,
  main {
    overflow-x: hidden;
  }
}

/* Corrección definitiva del desplazamiento horizontal en móvil */
@media (max-width: 760px) {
  html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
  }

  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
    position: relative;
  }

  body > *,
  main,
  main > section,
  .section-shell,
  .intro-strip,
  .site-footer {
    max-width: 100%;
  }

  /* Evita desbordes por el centrado subpíxel de Safari/iPhone */
  .site-header {
    left: 10px;
    right: 10px;
    width: auto;
    max-width: none;
    transform: none;
  }

  /* El halo ya no utiliza 108vw ni sobresale fuera del viewport */
  .hero {
    overflow: hidden;
    contain: paint;
  }

  .hero-aurora {
    inset: 4% 0 auto 0;
    right: auto;
    width: 100%;
    height: min(100vw, 520px);
    max-width: 100%;
    transform-origin: center;
  }

  #particleCanvas,
  .hero-grid,
  .noise {
    max-width: 100%;
    overflow: hidden;
  }

  /* Impide que textos largos del personalizador ensanchen el documento */
  .preview-stage,
  .hero-panel,
  .config-panel,
  .config-summary,
  .control-group {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .preview-neon,
  .hero-neon {
    width: 100%;
    min-width: 0;
    max-width: 94%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .font-options,
  .color-options,
  .size-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .color-options {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .option-pill,
  .size-card,
  input,
  textarea,
  .btn {
    min-width: 0;
    max-width: 100%;
  }

  /* El botón sticky queda dentro del ancho útil real */
  .mobile-sticky-cta {
    left: 12px;
    right: 12px;
    width: auto;
    max-width: none;
    overflow: hidden;
  }

  /* En dispositivos táctiles no aplicamos desplazamientos de hover */
  .btn:hover,
  .option-pill:hover,
  .size-card:hover,
  .inspo-card:hover {
    transform: none;
  }
}
