:root{color-scheme:dark;--bg:#080b14;--panel:#101625;--line:#26334c;--text:#f3f7ff;--muted:#a7b5ce;--blue:#86b5ff;--accent:#2565ef;font-family:"Inter","Segoe UI",sans-serif}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--text)}
a{color:inherit;text-decoration:none}
button,input,textarea,select{font:inherit}
button,.button{display:inline-flex;align-items:center;justify-content:center;gap:.55rem;padding:.85rem 1.15rem;border:1px solid var(--line);border-radius:8px;background:#111a2b;color:var(--text);cursor:pointer}
button:hover,.button:hover{border-color:var(--blue)}
:focus-visible{outline:2px solid #a5c8ff;outline-offset:4px}
.primary{background:var(--accent);border-color:#5184ff;font-weight:650}
.small{padding:.55rem .75rem;font-size:.9rem}
.bar{position:sticky;top:0;z-index:5;display:flex;gap:clamp(.6rem,3vw,2rem);align-items:center;justify-content:space-between;padding:.75rem max(4vw,1rem);background:#090e19;border-bottom:1px solid var(--line)}
.brand,.bar nav{display:flex;align-items:center;gap:clamp(.55rem,2vw,1.5rem)}
.brand{font-size:.85rem;font-weight:750;letter-spacing:.13em;gap:.65rem}
.brand img{border-radius:7px}
nav a,.footer a{color:var(--muted)}
nav a:hover,.footer a:hover{color:var(--text)}
.wrap{width:min(1120px,91%);margin-inline:auto}
section[id]{scroll-margin-top:4.15rem}
.sequence{height:154svh}
.stage{height:calc(100svh - 66px);position:sticky;top:66px;overflow:hidden;background:radial-gradient(ellipse at 76% 52%,#16346a 0%,#101b36 32%,#080d1b 69%)}
.mobility .stage{background:radial-gradient(ellipse at 74% 60%,#1a3650 0%,#101e31 37%,#090e19 73%)}
.grid{position:absolute;inset:0;background-image:linear-gradient(#6fa2ff16 1px,transparent 1px),linear-gradient(90deg,#6fa2ff16 1px,transparent 1px);background-size:52px 52px;mask-image:radial-gradient(ellipse at 73% 60%,black,transparent 74%);pointer-events:none}
.stage-inner{position:relative;height:100%;display:grid;grid-template-columns:1fr 1.15fr;align-items:center}
.hero-copy{z-index:1}
.hero-copy>p:not(.eyebrow){max-width:34ch}
.eyebrow{color:var(--blue);font-size:.75rem;font-weight:750;letter-spacing:.16em}
h1,h2,h3,p{margin:0 0 .7rem}
h1,.hero-copy h2{font-size:clamp(3rem,6.6vw,6.35rem);line-height:.94;letter-spacing:-.068em;margin-bottom:1.25rem}
h2{font-size:clamp(2rem,4.2vw,3.65rem);line-height:1;letter-spacing:-.055em}
h3{font-size:1.32rem}
em{font-style:normal;color:var(--blue)}
p{color:var(--muted);line-height:1.55}
.actions{display:flex;gap:.6rem;flex-wrap:wrap;margin-top:1.15rem}
.art{display:grid;place-items:center;min-width:0}
.art svg{width:100%;max-height:71svh;overflow:visible}
.scene-caption{position:absolute;bottom:1.25rem;inset-inline:0;display:flex;align-items:center;gap:1rem;color:var(--muted);font-size:.78rem}
.scene-progress{width:6rem;height:2px;background:#7799cc4a}
.scene-progress::after{content:"";display:block;width:100%;height:100%;background:var(--blue);transform:scaleX(var(--progress,0));transform-origin:left}
.about,.shop{padding-block:clamp(3.5rem,8vw,7rem)}
.about-grid,.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-top:1.65rem}
.about-grid article,.card{background:var(--panel);border:1px solid var(--line);border-radius:14px;overflow:hidden}
.about-grid article,.card-body{padding:1.25rem}
.filters{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1.3rem}
.filters button[aria-pressed=true]{background:#20375e;border-color:var(--blue)}
.product-art{display:grid;place-items:center;height:190px;background:radial-gradient(ellipse at center,#1e3b67,#0c1425 76%);overflow:hidden}
.product-art svg{width:100%;height:100%}
.quote{background:#0e1523;border-block:1px solid var(--line);padding-block:clamp(3rem,7vw,6rem)}
.quote-inner{display:grid;grid-template-columns:1fr 1fr;gap:clamp(1.4rem,7vw,6rem)}
.muted{font-size:.9rem}
#quote-form{display:grid;gap:.8rem}
label{display:grid;gap:.4rem}
input,textarea,select{width:100%;padding:.65rem;background:#080d18;color:var(--text);border:1px solid var(--line);border-radius:7px}
#quote-status{margin:0;color:var(--blue)}
.footer{display:flex;flex-wrap:wrap;gap:1.25rem;align-items:center;padding-block:1.5rem;font-size:.9rem}
.footer span{margin-right:auto;color:var(--muted)}
dialog{width:min(36rem,92vw);max-height:85svh;color:var(--text);background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:1.25rem}
dialog::backdrop{background:#030711c9}
.dialog-head,.cart-row{display:flex;align-items:center;justify-content:space-between;gap:.7rem}
.dialog-head h2{font-size:1.8rem}
.cart-row,.request{padding:.85rem 0;border-bottom:1px solid var(--line)}
.request select{margin-top:.65rem}
@media(max-width:720px){
  .bar{padding:.6rem .75rem;gap:.5rem}.brand{font-size:.68rem;letter-spacing:.04em}.brand img{width:32px;height:32px}.bar nav{font-size:.82rem}.bar nav a:first-child{display:none}
  section[id]{scroll-margin-top:3.55rem}.sequence{height:139svh}.stage{top:55px;height:calc(100svh - 55px)}
  .stage-inner{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr);align-items:center;padding-block:1.2rem 2.5rem}.hero-copy h1,.hero-copy h2{font-size:clamp(2.55rem,11vw,4rem);margin-bottom:.65rem}.hero-copy>p{margin-bottom:.5rem}
  .art{height:100%;min-height:0}.art svg{height:100%;max-height:42svh}.scene-caption{bottom:.7rem}
  .about-grid,.cards,.quote-inner{grid-template-columns:1fr}
}
@media(max-height:450px){.sequence{height:auto}.stage{position:relative;top:auto;height:auto;min-height:390px}.stage-inner{padding-block:1.5rem 3rem}.scene-caption{display:none}}
@media(prefers-reduced-motion:reduce){.sequence{height:auto}.stage{position:relative;top:auto;min-height:420px}.scene-caption{display:none}}

.sequence{height:265svh}
.mobility.sequence{height:320svh}
.stage,.mobility .stage{
  top:var(--header,66px);height:calc(100svh - var(--header,66px));
  background:linear-gradient(90deg,#070c16eb 0%,#070c1666 34%,transparent 66%),url("assets/estudio-ax.jpg") center/cover;
}
.mobility .stage{background-position:center,right center}
.stage-inner{width:min(1360px,94%);grid-template-columns:minmax(225px,.72fr) minmax(0,1.48fr);gap:clamp(.5rem,3vw,3rem)}
.hero-copy{position:relative}
.hero-copy h1,.hero-copy h2{font-size:clamp(2.6rem,5.45vw,5.7rem);text-shadow:0 2px 20px #050811}
.hero-copy>p:not(.eyebrow){color:#cbd8ee}
.art{height:auto;position:relative;display:block;place-items:normal;min-width:0}
.assembly-heading{display:flex;align-items:center;justify-content:space-between;gap:.5rem;border-bottom:1px solid #79aefa66;padding:.35rem .2rem .65rem;font-size:.83rem}
.assembly-percent{font: .84rem "IBM Plex Mono",Consolas,monospace;color:#a4cfff;white-space:nowrap}
.assembly-film{position:relative;isolation:isolate}
.assembly-film video{display:block;width:100%;max-height:58svh;aspect-ratio:16/9;object-fit:contain}
.assembly-status{margin:.5rem 0;font-size:.83rem}
.assembly-view{position:relative;background:radial-gradient(ellipse at 53% 69%,#3a70bd42,transparent 68%)}
.assembly-view svg{display:block;width:100%;height:clamp(190px,50svh,620px);overflow:hidden}
.assembly-shadow{fill:#02060c;opacity:.56;filter:blur(10px)}
.assembly-piece{filter:drop-shadow(0 4px 7px #000a)}
.assembly-piece.active{filter:drop-shadow(0 0 6px #77b1ffb3) drop-shadow(0 5px 8px #000b)}
.assembly-info{display:flex;justify-content:space-between;gap:.5rem;min-height:4.4rem;background:#0b1321dd;padding:.65rem .85rem;border-left:2px solid #6faaff}
.assembly-info h3{margin:0 0 .12rem;font-size:1.08rem}
.assembly-info p{margin:0;font-size:.83rem}
.assembly-info a{color:#abd1ff;font-size:.72rem;white-space:nowrap}
.assembly-parts{display:flex;gap:.34rem;flex-wrap:wrap}
.assembly-parts button{padding:.3rem .5rem;font-size:.73rem;background:#0c1626ee}
.assembly-parts button[aria-pressed=true]{background:#245091;border-color:#8fbcff}
.assembly-scrub{display:flex;align-items:center;gap:.7rem;margin:.45rem 0;font-size:.72rem;color:#d1dff2}
.assembly-scrub input{padding:0;min-width:0;width:auto;flex:1;accent-color:#76aaff}
.scene-caption{bottom:.9rem}
.shop{width:min(1280px,92%)}
.shop-intro,.catalog-heading{display:flex;justify-content:space-between;align-items:end;gap:1rem;flex-wrap:wrap}
.shop-intro p:last-child{margin-bottom:0}
.shop-categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin:2rem 0}
.category{position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:end;min-height:245px;padding:1.1rem;overflow:hidden;border-radius:12px;border:1px solid #324764;background:#111f35}
.category::before{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(0deg,#06101ff7,transparent 67%),var(--photo) center/var(--size,cover) no-repeat;transition:transform .25s ease}
.category:hover::before,.category:focus-visible::before{transform:scale(1.04)}
.category span{font-size:clamp(1.2rem,2.2vw,1.75rem);font-weight:750}
.category small{margin-top:.25rem;color:#bbd7ff}
.category-phone{--photo:url("assets/piezas/iphone-catalogo.webp");--size:auto 105%;background:radial-gradient(ellipse at 50% 45%,#355d97,#101a2c 74%)}
.category-audio{--photo:url("assets/accesorios-ax.jpg")}
.category-scooter{--photo:url("assets/piezas/m365-catalogo.webp");--size:auto 108%;background:radial-gradient(ellipse at 50% 45%,#456888,#122033 78%)}
.guide{display:grid;grid-template-columns:.65fr 1.35fr;gap:1rem;border:1px solid #334a6e;background:linear-gradient(120deg,#182e52,#0d1728);border-radius:14px;padding:clamp(1rem,3vw,2rem);margin-bottom:3.5rem}
.guide .actions{margin-top:0}
.guide button[aria-pressed=true]{background:#224982;border-color:var(--blue)}
#guide-result:not(:empty){margin-top:1rem}
#guide-result p{margin:0 0 .5rem}
.catalog-heading input{min-width:min(20rem,78vw)}
.catalog-heading h3{font-size:clamp(1.65rem,3vw,2.5rem);margin-bottom:0}
#catalog-count{font-size:.84rem;margin:.75rem 0}
.cards{margin-top:0}
.product-art{height:215px}
.product-art img{width:100%;height:100%;object-fit:cover}
.product-art img[src$=".webp"]{object-fit:contain}
.card .actions{margin-top:auto}
.card-body{display:flex;flex-direction:column;min-height:205px}
.feature-list{display:flex;gap:.4rem;flex-wrap:wrap;padding:0;margin:.25rem 0 1rem;list-style:none}
.feature-list li{font-size:.73rem;background:#18243a;padding:.28rem .45rem;border-radius:5px;color:#c0d4f3}
.detail-image{width:100%;max-height:255px;object-fit:cover;border-radius:8px;margin-bottom:.8rem}
.catalog-empty{grid-column:1/-1;padding:1.2rem;border:1px solid var(--line);border-radius:10px}
@media(max-width:860px){
  .shop-categories,.cards{gap:.65rem}
  .category{min-height:185px}
}
@media(max-width:720px){
  .sequence{height:225svh}.mobility.sequence{height:265svh}
  .stage,.mobility .stage{background-position:center,64% center}
  .stage-inner{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr);align-content:center;gap:.45rem;padding-top:.8rem}
  .hero-copy .eyebrow{margin-bottom:.25rem}.hero-copy h1,.hero-copy h2{font-size:clamp(2rem,9vw,3.6rem);margin-bottom:.5rem}
  .hero-copy br{display:none}.hero-copy>p:not(.eyebrow){font-size:.82rem;max-width:50ch}
  .hero-copy .actions{margin-top:.35rem}.hero-copy .button{padding:.52rem .65rem;font-size:.8rem}
  .assembly-view svg{height:clamp(115px,33svh,350px)}
  .assembly-film video{max-height:47svh}
  .assembly-info{min-height:3.3rem;padding:.4rem .55rem}.assembly-info p{font-size:.74rem}
  .assembly-parts button{font-size:.68rem;padding:.25rem .42rem}
  .shop-categories{grid-template-columns:1fr}.category{min-height:150px}
  .guide{grid-template-columns:1fr}.catalog-heading label{width:100%}
}
@media(prefers-reduced-motion:reduce),(max-height:570px){
  .sequence,.mobility.sequence{height:auto}
  .stage,.mobility .stage{position:relative;top:auto;height:auto;min-height:0}
  .stage-inner{padding-block:1.5rem}
  .scene-caption{display:none}
  .category::before{transition:none}
}

