:root {
  --bg: #071027;
  --bg-2: #0c1a3d;
  --blue: #1b4fb4;
  --blue-2: #2f6bff;
  --steel: #c9d3e3;
  --ink: #eef3ff;
  --muted: #9aa8c7;
  --orange: #f5a300;
  --led: #ff9a1f;
  --glass: rgba(12, 26, 61, .62);
  --line: rgba(201, 211, 227, .14);
  --radius: 18px;
  --font: "Archivo", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: radial-gradient(120% 80% at 75% 0%, #10275e 0%, var(--bg) 55%) fixed, var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--font);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-stretch: 112%; line-height: 1.02; margin: 0; letter-spacing: -.02em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); font-weight: 850; margin-bottom: .6em; text-wrap: balance; }
h3 { font-size: 1.15rem; font-weight: 750; }
p { margin: 0 0 1em; color: var(--muted); max-width: 56ch; }

/* ---------- 3D stage ---------- */
.stage {
  position: fixed; inset: 0 0 0 auto; width: 50vw; height: 100vh; height: 100dvh;
  z-index: 0; pointer-events: none;
}
#shaft { width: 100%; height: 100%; display: block; pointer-events: auto; cursor: grab; }
.robot-bubble {
  position: absolute; left: 0; top: 0; transform: translate(-50%, -100%);
  background: #fff; color: #0b1836; font: 700 14px/1.3 var(--font);
  padding: .55em .9em; border-radius: 14px; white-space: nowrap;
  opacity: 0; scale: .8; transition: opacity .25s, scale .25s; pointer-events: none;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.robot-bubble::after {
  content: ""; position: absolute; left: 50%; bottom: -7px; translate: -50% 0;
  border: 8px solid transparent; border-top-color: #fff; border-bottom: 0;
}
.robot-bubble.show { opacity: 1; scale: 1; }

/* ---------- Floor indicator ---------- */
.indicator {
  position: fixed; right: 24px; top: 50%; translate: 0 -50%; z-index: 5;
  display: grid; justify-items: center; gap: 2px;
  background: #050a16; border: 1px solid #22314f; border-radius: 14px;
  padding: 12px 14px; min-width: 86px;
  box-shadow: inset 0 0 18px rgba(0,0,0,.8), 0 10px 30px rgba(0,0,0,.4);
  font-family: var(--mono);
}
.indicator__arrow { color: var(--led); font-size: 14px; text-shadow: 0 0 8px var(--led); transition: transform .3s, opacity .3s; }
.indicator__arrow.down { transform: rotate(180deg); }
.indicator__arrow.idle { opacity: .25; }
.indicator__num { color: var(--led); font-size: 46px; font-weight: 700; line-height: 1; text-shadow: 0 0 12px rgba(255,154,31,.8); }
.indicator__label { color: #8a96b3; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }

/* ---------- Top bar ---------- */
.topbar {
  position: fixed; inset: 16px 16px auto; z-index: 10;
  display: flex; align-items: center; gap: 24px;
  padding: 10px 12px 10px 16px; border-radius: 999px;
  background: rgba(7, 16, 39, .55); backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-stretch: 110%; white-space: nowrap; }
.brand b { color: var(--orange); font-weight: 800; }
.floors { display: flex; gap: 4px; margin-left: auto; }
.floors a { text-decoration: none; color: var(--muted); font-size: 14px; padding: 8px 12px; border-radius: 999px; transition: color .2s, background .2s; }
.floors a:hover, .floors a.active { color: var(--ink); background: rgba(255,255,255,.07); }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--blue-2);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .95em 1.5em; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--b); color: #fff; font: 700 16px/1 var(--font); text-decoration: none;
  box-shadow: 0 10px 30px -8px rgba(47,107,255,.7), inset 0 1px 0 rgba(255,255,255,.25);
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -8px rgba(47,107,255,.9), inset 0 1px 0 rgba(255,255,255,.25); }
.btn--ghost { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(201,211,227,.35); }
.btn--ghost:hover { background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1.5px var(--steel); }
.btn--small { padding: .7em 1.1em; font-size: 14px; font-family: var(--mono); white-space: nowrap; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

/* ---------- Floors / sections ---------- */
main { position: relative; z-index: 2; pointer-events: none; }
.floor { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 80px; position: relative; }
.floor__content { width: 50vw; padding: 0 clamp(20px, 5vw, 80px); }
.floor__content > * { pointer-events: auto; }
.floor + .floor::before {
  content: ""; position: absolute; left: clamp(20px, 5vw, 80px); right: 50vw; top: 0; height: 1px;
  background: linear-gradient(90deg, var(--line), transparent);
}
.eyebrow { font: 700 13px/1 var(--mono); color: var(--orange); text-transform: uppercase; letter-spacing: .14em; margin-bottom: 1.4em; display: flex; align-items: center; gap: .6em; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61,220,132,.6); animation: pulse 2s infinite; }
@keyframes pulse { to { box-shadow: 0 0 0 10px rgba(61,220,132,0); } }

.hero__title { font-size: clamp(3rem, 5.9vw, 6.6rem); font-weight: 900; font-stretch: 120%; line-height: .9; margin-bottom: .35em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__title .accent { color: transparent; -webkit-text-stroke: 2px var(--steel); background: linear-gradient(90deg, var(--blue-2), var(--orange)); -webkit-background-clip: text; background-clip: text; }
.lead { font-size: 1.15rem; color: #c3cde3; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.8em; }
.scroll-hint { margin-top: 3.5em; font: 500 13px var(--mono); color: var(--muted); display: flex; align-items: center; gap: .8em; }
.mouse { width: 20px; height: 32px; border: 2px solid var(--muted); border-radius: 12px; position: relative; }
.mouse::after { content: ""; position: absolute; left: 50%; top: 6px; width: 3px; height: 6px; margin-left: -1.5px; border-radius: 2px; background: var(--orange); animation: wheel 1.6s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(8px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(-4px); } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 2em 0; }
.stat { padding: 18px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(8px); }
.stat b { display: block; font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 900; font-stretch: 115%; color: var(--ink); line-height: 1; margin-bottom: .3em; font-variant-numeric: tabular-nums; }
.stat span { font-size: 13px; color: var(--muted); line-height: 1.3; display: block; }
.photo { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* Services */
.services { list-style: none; padding: 0; margin: 1.5em 0 0; display: grid; gap: 10px; }
.svc {
  display: flex; gap: 18px; align-items: flex-start; padding: 18px 20px;
  background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius);
  backdrop-filter: blur(8px); transition: border-color .25s, transform .25s, background .25s;
}
.svc:hover { border-color: rgba(47,107,255,.6); transform: translateX(6px); background: rgba(27,79,180,.25); }
.svc__n { font: 700 13px var(--mono); color: var(--orange); padding-top: 3px; }
.svc p { margin: .3em 0 0; font-size: 15px; }

/* Products */
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 1.4em 0 1em; }
.tabs button {
  font: 600 14px var(--font); color: var(--muted); background: transparent; cursor: pointer;
  border: 1px solid var(--line); border-radius: 999px; padding: .6em 1em; transition: all .2s;
}
.tabs button:hover { color: var(--ink); border-color: var(--steel); }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.product {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; overflow: hidden;
  background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius); backdrop-filter: blur(8px);
  min-height: 300px;
}
.product__img { position: relative; background: linear-gradient(135deg, #1b4fb4, #0a1a44); min-height: 220px; }
.product__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.product__img svg { position: absolute; inset: 0; margin: auto; width: 60%; height: 60%; color: rgba(255,255,255,.85); }
.product__body { padding: 22px; }
.product__body h3 { font-size: 1.5rem; margin-bottom: .4em; }
.product__body p { font-size: 15px; }
.specs { list-style: none; padding: 0; margin: 1em 0 0; display: grid; gap: 6px; font: 500 13px var(--mono); }
.specs li { display: flex; justify-content: space-between; gap: 12px; border-top: 1px dashed var(--line); padding-top: 6px; }
.specs li span:first-child { color: var(--muted); }
.fineprint { font-size: 13px; margin-top: 1em; }

/* Factory */
.gallery { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 150px 150px; gap: 10px; margin: 1.5em 0; }
.gallery .tall { grid-row: span 2; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font: 500 13px var(--mono); padding: .5em .9em; border-radius: 999px; background: rgba(245,163,0,.1); color: #ffd28a; border: 1px solid rgba(245,163,0,.3); }

/* Marquee */
.floor:has(.marquee) { flex-direction: column; justify-content: center; align-items: stretch; }
.marquee { width: 50vw; overflow: hidden; margin-top: 2em; pointer-events: auto; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 2.2rem; width: max-content; animation: marquee 38s linear infinite; padding: .3em 0; }
.marquee__track.reverse { animation-direction: reverse; animation-duration: 44s; }
.marquee__track span { font-size: clamp(1.8rem, 3.4vw, 3rem); font-weight: 850; font-stretch: 118%; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.2px rgba(201,211,227,.45); transition: color .2s; }
.marquee__track span:hover { color: var(--orange); -webkit-text-stroke-color: var(--orange); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Certs */
.certs { display: grid; gap: 12px; }
.cert { display: flex; align-items: center; gap: 18px; padding: 18px; background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius); backdrop-filter: blur(8px); }
.cert p { margin: .3em 0 0; font-size: 15px; }
.cert__seal {
  flex: 0 0 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; text-align: center;
  font: 700 13px/1.05 var(--mono); color: #fff;
  background: radial-gradient(circle at 35% 30%, #4b82ff, var(--blue));
  box-shadow: inset 0 0 0 4px rgba(255,255,255,.15), 0 0 0 2px var(--orange);
}
.cert__seal.green { background: radial-gradient(circle at 35% 30%, #43c97f, #157a45); }
.cert__seal.steel { background: radial-gradient(circle at 35% 30%, #e8edf6, #7d8aa3); color: #0b1836; font-size: 22px; }

/* Configurator */
.cfg { display: grid; gap: 14px; margin-top: 1.4em; }
.cfg [hidden] { display: none !important; }
.cfg__group { display: grid; gap: 8px; min-width: 0; }
.cfg__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cfg__label { font: 700 11px var(--mono); color: var(--orange); text-transform: uppercase; letter-spacing: .14em; display: flex; justify-content: space-between; align-items: baseline; }
.cfg__label output { font: 700 15px var(--mono); color: var(--ink); letter-spacing: 0; text-transform: none; }
.cfg__model { margin: 0; font-size: 14px; }
.cfg__model b { color: var(--ink); }
.cfg input[type="range"] { width: 100%; accent-color: var(--orange); margin: 4px 0 0; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg label, .chips-select label, .checks label { position: relative; cursor: pointer; }
.seg input, .chips-select input, .checks input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: block; font: 600 14px var(--font); color: var(--muted); padding: .55em .95em; border-radius: 999px; border: 1px solid var(--line); background: rgba(5,10,22,.45); transition: all .2s; }
.seg--sm span { font-size: 13px; padding: .45em .8em; }
.seg label:hover span { color: var(--ink); border-color: var(--steel); }
.seg input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.seg input:focus-visible + span, .chips-select input:focus-visible ~ span, .checks input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.chips-select { display: flex; flex-wrap: wrap; gap: 6px; }
.chips-select label { display: flex; align-items: center; gap: 8px; padding: .4em .85em .4em .45em; border-radius: 999px; border: 1px solid var(--line); background: rgba(5,10,22,.45); font-size: 13px; color: var(--muted); transition: all .2s; }
.chips-select i { width: 20px; height: 20px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.chips-select label:has(input:checked) { border-color: var(--orange); color: var(--ink); background: rgba(245,163,0,.1); }
.checks { display: flex; flex-wrap: wrap; gap: 6px; }
.checks span { display: block; font-size: 13px; color: var(--muted); padding: .45em .85em .45em 2em; border-radius: 10px; border: 1px solid var(--line); background: rgba(5,10,22,.45); position: relative; transition: all .2s; }
.checks span::before { content: ""; position: absolute; left: .7em; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 3px; border: 1.5px solid var(--muted); }
.checks input:checked + span { color: var(--ink); border-color: var(--blue-2); background: rgba(47,107,255,.15); }
.checks input:checked + span::before { background: var(--blue-2); border-color: var(--blue-2); box-shadow: inset 0 0 0 2px var(--bg); }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: rgba(5,10,22,.45); width: max-content; }
.stepper button { width: 38px; height: 36px; border: 0; background: none; color: var(--ink); font-size: 20px; cursor: pointer; border-radius: 999px; }
.stepper button:hover { background: rgba(255,255,255,.08); }
.stepper output { min-width: 34px; text-align: center; font: 700 16px var(--mono); }
.row-inline { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink); cursor: pointer; }
.cfg__summary { margin-top: 6px; padding: 18px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(8px); }
.cfg__summary ul { list-style: none; margin: 0 0 4px; padding: 0; display: grid; gap: 6px; font-size: 13px; }
.cfg__summary li { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px dashed var(--line); padding-bottom: 6px; }
.cfg__summary li span:first-child { color: var(--muted); font-family: var(--mono); font-size: 12px; white-space: nowrap; }
.cfg__summary li span:last-child { text-align: right; color: var(--ink); }
.cfg__summary .cta-row { margin-top: 1em; }
.link-btn { margin-top: 1em; background: none; border: 0; padding: 0; color: var(--orange); font: 700 14px var(--font); cursor: pointer; }
.link-btn:hover { text-decoration: underline; }

/* Configurator layout: options on the left, sticky 3D showroom on the right */
.configurator { display: grid; grid-template-columns: 50vw 50vw; align-items: start; }
.configurator > .floor__content { grid-column: 1; grid-row: 1; padding-top: 20px; }
.showroom-wrap { grid-column: 2; grid-row: 1; position: sticky; top: 0; height: 100vh; height: 100dvh; padding: 92px 24px 24px 12px; pointer-events: auto; z-index: 3; }
.showroom {
  position: relative; width: 100%; height: 100%; border-radius: 24px; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 20%, #1b3470 0%, #0b1736 55%, #060d22 100%);
  border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,.5);
  touch-action: none;
}
.showroom canvas { width: 100%; height: 100%; display: block; cursor: grab; }
.showroom canvas:active { cursor: grabbing; }
.showroom__top { position: absolute; left: 16px; top: 14px; right: 16px; display: flex; align-items: center; gap: 10px; font: 600 14px var(--font); color: var(--ink); pointer-events: none; }
.showroom__tag { font: 700 11px var(--mono); color: var(--bg); background: var(--orange); padding: .3em .55em; border-radius: 6px; }
.showroom__badges { position: absolute; left: 16px; top: 46px; display: flex; flex-wrap: wrap; gap: 6px; max-width: 70%; pointer-events: none; }
.showroom__badges span { font: 600 11px var(--mono); color: #cfe0ff; background: rgba(47,107,255,.2); border: 1px solid rgba(47,107,255,.45); padding: .3em .6em; border-radius: 999px; }
.showroom__bar { position: absolute; left: 50%; bottom: 40px; translate: -50% 0; display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: rgba(5,10,22,.7); border: 1px solid var(--line); backdrop-filter: blur(10px); }
.showroom__bar button { font: 600 13px var(--font); color: var(--ink); background: none; border: 0; padding: .55em .95em; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.showroom__bar button:hover { background: rgba(255,255,255,.1); }
.showroom__hint { position: absolute; left: 0; right: 0; bottom: 12px; margin: 0; max-width: none; text-align: center; font: 500 11px var(--mono); color: var(--muted); pointer-events: none; }
.no-webgl::after { content: "Su navegador no puede mostrar la vista 3D"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); }
body:has(.floors a[href="#p4"].active) .indicator { opacity: 0; pointer-events: none; }
.indicator { transition: opacity .3s; }

/* Contact */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 1.5em 0; }
.form label { display: grid; gap: 6px; font: 600 13px var(--font); color: var(--muted); }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea {
  font: 400 16px var(--font); color: var(--ink); background: rgba(5, 10, 22, .6);
  border: 1px solid var(--line); border-radius: 12px; padding: .8em .9em; width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--blue-2); outline: none; }
.contact__info { display: grid; gap: 6px; }
.contact__info a { text-decoration: none; color: #c3cde3; }
.contact__info a:hover { color: var(--orange); }
.contact__info p { margin: 0; font-size: 14px; }
.big-phone { font: 900 clamp(2.2rem, 4.5vw, 3.6rem)/1 var(--font); font-stretch: 120%; color: var(--ink) !important; margin-bottom: .2em; }

.footer { position: relative; z-index: 2; padding: 40px clamp(20px, 5vw, 80px) 60px; border-top: 1px solid var(--line); width: 50vw; }
.footer p { font-size: 13px; }
.muted { opacity: .7; }

/* switch */
.switch { appearance: none; -webkit-appearance: none; flex: 0 0 auto; width: 40px; height: 22px; border-radius: 999px; background: #2a3550; position: relative; cursor: pointer; transition: background .2s; margin: 0; }
.switch::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s; }
.switch:checked { background: var(--blue-2); }
.switch:checked::after { transform: translateX(18px); }

.scale { display: flex; justify-content: space-between; font: 500 11px var(--mono); color: var(--muted); }
.scale em { font-style: normal; }



/* Reveal default state (JS adds .in) */
.js .reveal { opacity: 0; transform: translateY(28px); }

/* ---------- Responsive ---------- */
/* Narrow nav: hide floor links before they collide with the logo */
@media (max-width: 1050px) {
  .floors { display: none; }
  .topbar .btn--small { margin-left: auto; }
}
/* Short landscape screens (phones turned sideways) keep the split layout */
@media (max-height: 500px) and (orientation: landscape) {
  .topbar { inset: 8px 8px auto; padding: 6px 8px 6px 12px; }
  .floor { padding: 70px 0 40px; }
  .showroom-wrap { padding-top: 64px; padding-bottom: 10px; }
  .showroom__hint { display: none; }
  .showroom__bar { bottom: 10px; }
  .indicator { top: auto; bottom: 12px; translate: 0; min-width: 60px; padding: 6px 8px; }
  .indicator__num { font-size: 26px; }
}

@media (max-width: 900px) and (orientation: portrait), (max-width: 600px) {
  body { font-size: 16px; }
  .stage { width: 100vw; opacity: .9; }
  .floors { display: none; }
  .topbar { gap: 10px; inset: 10px 10px auto; }
  .brand span { font-size: 15px; }
  .topbar .btn--small { margin-left: auto; }
  .floor { min-height: auto; padding: 0 0 60px; display: block; }
  .floor:first-child { padding-top: 0; }
  .floor__content, .marquee, .footer { width: 100%; }
  .floor__content { padding: 0 16px; }
  /* leave a 3D window at the top of each floor */
  .floor::after { content: ""; display: block; }
  .floor > .floor__content { padding-top: 62vh; }
  .hero > .floor__content { padding-top: 54vh; }
  .floor + .floor::before { right: 16px; left: 16px; }
  .floor__content > *:not(.eyebrow):not(h1):not(h2):not(.scroll-hint):not(.tabs) { position: relative; }
  .floor__content { background: linear-gradient(transparent 0, transparent calc(var(--pt, 62vh) - 160px), rgba(7,16,39,.88) calc(var(--pt, 62vh) - 20px)); }
  .hero .floor__content { --pt: 54vh; }
  .indicator { right: 10px; top: 76px; translate: 0; min-width: 64px; padding: 8px 10px; }
  .indicator__num { font-size: 30px; }
  .indicator__label { font-size: 8px; }
  .stats { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .stat { padding: 12px; }
  .product { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .cfg__grid { grid-template-columns: 1fr; }
  .configurator { display: block; padding-top: 62px; }
  .showroom-wrap { position: sticky; top: 62px; height: 46dvh; padding: 8px 10px 10px; }
  .configurator > .floor__content { padding-top: 12px; background: var(--bg); }
  .showroom__bar { bottom: 30px; }
  .showroom__bar button { padding: .5em .7em; font-size: 12px; }
  .showroom__hint { bottom: 8px; font-size: 10px; }
  .cfg label, .cfg button { scroll-margin-top: calc(46dvh + 80px); }

  .gallery { grid-template-rows: 120px 120px; }
  .robot-bubble { font-size: 12px; }
}

@media (max-width: 400px) {
  .brand span { font-size: 14px; }
  .brand img { width: 28px; height: 28px; }
  .topbar .btn--small { padding: .6em .8em; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track, .dot, .mouse::after { animation: none; }
}
