/* NexoDomo public site. Static, no build step. */
:root{
  --navy-900:#081320;--navy-800:#0b1d31;--navy-700:#112a45;
  --line:#1d3653;--line-2:#2a4a6d;--field:#4a6d93;
  --brand:#1FA0E6;--brand-2:#46b4f2;
  --text:#eaf1f9;--soft:#c5d3e3;--muted:#9fb2c9;
  --paper:#f3f7fb;--line-l:#d6e2ee;--ink:#0b1d31;--ink-muted:#43566c;--brand-ink:#0a6aa1;
  --ok:#3ddc97;--warn:#ffb547;--danger:#ff6b6b;
  --r:1rem;--gutter:clamp(1rem,.6rem + 2vw,2rem);--max:74rem;
  --font:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif;
  color-scheme:dark;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-padding-top:5rem;-webkit-text-size-adjust:100%;text-size-adjust:100%}
@media (prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}
body{margin:0;background:var(--navy-900);color:var(--text);font:400 1.0625rem/1.6 var(--font);overflow-x:clip}
img,svg,picture{max-width:100%}
img{height:auto;display:block}
a{color:var(--brand-2);text-underline-offset:.18em}
a:hover{color:var(--text)}
h1,h2,h3,h4{line-height:1.15;margin:0 0 .6em;text-wrap:balance;letter-spacing:-.01em}
h2{font-size:clamp(1.75rem,1.2rem + 2.2vw,2.7rem);letter-spacing:-.02em}
h3{font-size:clamp(1.18rem,1.05rem + .6vw,1.45rem)}
h4{font-size:1.06rem}
p{margin:0 0 1em;text-wrap:pretty}
ul,ol{margin:0;padding:0}
:focus-visible{outline:3px solid var(--brand-2);outline-offset:3px;border-radius:.3rem}
.wrap{width:min(100% - 2*var(--gutter),var(--max));margin-inline:auto}
.sr-only:where(:not(:focus-within,:active)){position:absolute!important;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.skip{position:absolute;left:1rem;top:.75rem;z-index:100;background:var(--brand);color:var(--navy-900);padding:.6rem 1rem;border-radius:.5rem;font-weight:700}
.sprite{position:absolute;width:0;height:0;overflow:hidden}
.i{width:1.5rem;height:1.5rem;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.55rem;min-height:2.875rem;padding:.7rem 1.2rem;border-radius:.8rem;border:1px solid transparent;font:inherit;font-weight:650;line-height:1.2;text-decoration:none;cursor:pointer;translate:0 0;transition:translate .2s,background-color .2s,border-color .2s,color .2s}
.btn:hover{translate:0 -2px}
.btn .i{width:1.25rem;height:1.25rem}
.btn-primary{background:var(--brand);color:var(--navy-900)}
.btn-primary:hover{background:var(--brand-2);color:var(--navy-900)}
.btn-ghost{background:transparent;border-color:var(--line-2);color:var(--text)}
.btn-ghost:hover{border-color:var(--brand-2);color:var(--text)}
.btn-wa{background:#25d366;color:#062b16}
.btn-wa:hover{background:#4be083;color:#062b16}
.btn-sm{min-height:2.5rem;padding:.45rem .9rem;font-size:.92rem}

/* Header */
.hdr{position:sticky;top:0;z-index:50;background:rgb(8 19 32 / .97);border-bottom:1px solid var(--line)}
.hdr-in{--max:88rem;display:flex;align-items:center;gap:1rem;min-height:4.25rem;position:relative}
.brand{display:inline-flex;align-items:center;gap:.6rem;color:var(--text);text-decoration:none;margin-inline-end:auto;min-height:2.75rem}
.brand:hover{color:var(--text)}
.brand img{width:2rem}
.wm{display:flex;flex-direction:column;line-height:1}
.wm b{font-size:1.15rem;font-weight:800;letter-spacing:.08em}
.wm b span{color:var(--brand)}
.wm small{font-size:.56rem;letter-spacing:.24em;color:var(--muted);margin-top:.28rem;font-weight:600}
.nav ul{display:flex;list-style:none;gap:.1rem 1rem}
.nav a{display:block;color:var(--soft);text-decoration:none;font-size:.93rem;font-weight:500;padding:.55rem 0;white-space:nowrap}
.nav a:hover{color:var(--text)}
.menu-cta{display:none}
.actions{display:flex;align-items:center;gap:.5rem;flex:none}
/* Header labels never break onto two lines ("Cómo / funciona", "Solicitar /
   implementación"). The row is kept short enough to fit instead: the secondary
   "Descargar app" button only joins it on very wide screens — the hero's store
   badges sit right below, and the mobile menu carries it on smaller screens. */
.hdr .btn,.lang{white-space:nowrap}
.actions .btn-ghost{display:none}
@media (min-width:100rem){.actions .btn-ghost{display:inline-flex}}
.lang{display:inline-flex;align-items:center;gap:.35rem;min-height:2.5rem;padding:.4rem .75rem;border:1px solid var(--line-2);border-radius:999px;color:var(--text);text-decoration:none;font-size:.85rem;font-weight:650}
.lang:hover{border-color:var(--brand-2);color:var(--text)}
.lang .i{width:1.1rem;height:1.1rem}
/* 320-384px: the tagline goes and the language pill keeps only its globe (the label stays for screen readers), so nothing covers the wordmark. */
@media (max-width:24rem){.hdr .wm small{display:none}}
@media (max-width:23rem){.lang-t{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.lang{padding-inline:.6rem}}
.menu-btn{display:none;flex:none;align-items:center;justify-content:center;width:2.75rem;height:2.75rem;border-radius:.7rem;border:1px solid var(--line-2);background:transparent;color:var(--text);cursor:pointer}
.menu-btn .x,.hdr[data-open] .menu-btn .bars{display:none}
.hdr[data-open] .menu-btn .x{display:block}
@media (max-width:85.99rem){
  .hdr-in{flex-wrap:wrap}
  .nav{order:3;flex-basis:100%}
  .nav ul{overflow-x:auto;padding-bottom:.5rem}
  .nav li{flex:none}
  html:not(.js) .hdr{position:static}
  .js .hdr-in{flex-wrap:nowrap}
  .js .menu-btn{display:inline-flex}
  .js .nav{display:none;position:absolute;top:100%;left:calc(-1*var(--gutter));right:calc(-1*var(--gutter));padding:.25rem var(--gutter) 1.25rem;background:var(--navy-800);border-bottom:1px solid var(--line);box-shadow:0 1.5rem 2rem rgb(0 0 0 / .4);max-height:calc(100dvh - 4.25rem);overflow-y:auto}
  .js .hdr[data-open] .nav{display:block}
  .js .nav ul{flex-direction:column;overflow:visible;gap:0;padding:0}
  .js .nav a{padding:.85rem 0;font-size:1.05rem;border-bottom:1px solid var(--line)}
  /* The header's "Descargar app" is hidden below 100rem, so the menu carries it.
     The primary CTA is still in the header here, so it is not repeated. */
  .js .menu-cta{display:grid;gap:.6rem;margin-top:1rem}
  .js .menu-cta .btn-primary{display:none}
}
@media (max-width:39.99rem){
  .hide-sm{display:none}
  .js .menu-cta .btn-primary{display:flex}
}

/* Sections */
.sec{padding-block:clamp(3.5rem,2rem + 6vw,6.5rem)}
.sec-deep{background:var(--navy-800)}
.sec-light{background:var(--paper);color:var(--ink);color-scheme:light}
.sec-light a:not([class]){color:var(--brand-ink)}
.sec-light a:not([class]):hover{color:var(--ink)}
.sec-light :focus-visible{outline-color:var(--brand-ink)}
.head{max-width:50rem;margin-bottom:clamp(2rem,1.5rem + 2vw,3rem)}
.head.center{text-align:center;margin-inline:auto}
.kicker{display:inline-block;font-size:.8rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--brand-2);margin-bottom:.75rem}
.sec-light .kicker{color:var(--brand-ink)}
.lead{font-size:clamp(1.08rem,1rem + .35vw,1.25rem);color:var(--soft)}
.sec-light .lead,.sec-light .muted{color:var(--ink-muted)}
.muted{color:var(--muted)}
.ico{display:grid;place-items:center;flex:none;width:2.75rem;height:2.75rem;border-radius:.8rem;background:rgb(31 160 230 / .13);color:var(--brand-2)}
.sec-light .ico{background:#dfeefa;color:var(--brand-ink)}

/* Hero */
.hero{position:relative;overflow:hidden;padding-block:clamp(2.5rem,1rem + 5vw,5rem) clamp(2.5rem,1rem + 4vw,4rem);background:radial-gradient(55rem 38rem at 78% 18%,rgb(31 160 230 / .2),transparent 62%),radial-gradient(40rem 30rem at 0% 100%,rgb(70 180 242 / .08),transparent 60%),linear-gradient(180deg,var(--navy-900),var(--navy-800))}
.hero-grid{display:grid;gap:clamp(2rem,1rem + 4vw,4rem);align-items:center}
@media (min-width:62rem){.hero-grid{grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr)}}
.pill{display:inline-flex;align-items:center;gap:.5rem;padding:.35rem .8rem;border:1px solid #214466;border-radius:999px;background:rgb(31 160 230 / .08);color:var(--brand-2);font-size:.8rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;margin-bottom:1.1rem}
.pill .dot{width:.5rem;height:.5rem;border-radius:50%;background:var(--ok)}
h1{font-size:clamp(2.05rem,1.2rem + 3.3vw,3.6rem);letter-spacing:-.025em;margin-bottom:.45em}
h1 em{font-style:normal;color:var(--brand-2)}
.hero .lead{max-width:40rem}
.stores{display:flex;flex-wrap:wrap;gap:.75rem;margin-block:1.6rem 1.1rem}
.store{display:inline-flex;align-items:center;gap:.7rem;min-height:3.4rem;padding:.55rem 1.25rem .55rem .95rem;border-radius:.9rem;background:#fff;color:var(--ink);text-decoration:none;border:1px solid #fff;translate:0 0;transition:translate .2s,box-shadow .2s}
.store:hover{translate:0 -2px;box-shadow:0 .75rem 1.5rem rgb(0 0 0 / .3);color:var(--ink)}
.store .i{width:1.75rem;height:1.75rem}
.store span{display:flex;flex-direction:column;line-height:1.1}
.store small{font-size:.72rem;font-weight:500}
.store strong{font-size:1.12rem;letter-spacing:-.01em}
.hero-cta{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center}
.hero-notes{display:flex;flex-wrap:wrap;gap:.5rem 1.25rem;margin-top:1.5rem;list-style:none;color:var(--muted);font-size:.92rem}
.hero-notes li{display:inline-flex;align-items:center;gap:.4rem}
.hero-notes .i{width:1.1rem;height:1.1rem;color:var(--ok)}
/* Hero art: the box keeps the SVG's 520x660 ratio, so these percentages match viewBox units at every width.
   Phone x 250-510, y 7-554 (the ground line). The whole gate sits at x 6-234, left of the phone.
   The "access granted" chip sits under the phone's bottom edge, so it never covers the screenshot. */
.hero-visual{position:relative;width:min(100%,32rem);margin-inline:auto;aspect-ratio:520/660}
.hero-scene{position:absolute;inset:0;width:100%;height:100%}
.hero-phone{position:absolute;left:48%;top:1%;width:50%;filter:drop-shadow(0 2rem 3rem rgb(0 0 0 / .55))}
.hero-phone img{width:100%}
.chip{position:absolute;z-index:2;display:flex;align-items:center;gap:.6rem;padding:.6rem .8rem;border-radius:.9rem;background:rgb(11 29 49 / .94);border:1px solid var(--line-2);box-shadow:0 1rem 2rem rgb(0 0 0 / .35);font-size:.82rem;font-weight:600;line-height:1.25;translate:0 0}
.chip small{display:block;color:var(--muted);font-size:.72rem;font-weight:500}
.chip-qr{left:1%;top:2%;width:37%;flex-direction:column;align-items:stretch;padding:.65rem;gap:.5rem}
.chip-qr svg{width:100%;height:auto;border-radius:.45rem}
.chip-ok{right:2%;top:86.5%}
.chip-ok .badge{display:grid;place-items:center;width:2rem;height:2rem;border-radius:50%;background:rgb(61 220 151 / .15);color:var(--ok)}
.chip-ok .i{width:1.2rem;height:1.2rem;stroke-width:2.4}
/* Chip text is rem-sized while the art scales with the box: shrink it on phones so the QR chip stays above the gate. */
@media (max-width:26rem){.chip{font-size:.72rem}.chip small{font-size:.64rem}}
.anim-toggle{position:absolute;left:0;bottom:0;z-index:2;display:grid;place-items:center;width:2.5rem;height:2.5rem;border-radius:50%;border:1px solid var(--line-2);background:rgb(11 29 49 / .94);color:var(--soft);cursor:pointer}
.anim-toggle:hover{border-color:var(--brand-2);color:var(--text)}
.anim-toggle .i{width:1.1rem;height:1.1rem}
.anim-toggle .ic-play,.paused .anim-toggle .ic-pause{display:none}
.paused .anim-toggle .ic-play{display:block}
html:not(.js) .anim-toggle{display:none}
.paused .hero-visual *{animation-play-state:paused!important}
.gate-leaf,.wave,.scan{translate:0 0;scale:1}
.wave{transform-box:fill-box;transform-origin:center}

/* Value strip */
/* 1 → 2 → 4 columns: four cards never leave one alone on a second row. */
.values{list-style:none;display:grid;gap:1rem;margin-top:clamp(2.5rem,1.5rem + 3vw,4rem);grid-template-columns:1fr}
@media (min-width:34rem){.values{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:68rem){.values{grid-template-columns:repeat(4,minmax(0,1fr))}}
.values li{display:flex;gap:.85rem;align-items:flex-start;padding:1.1rem 1.15rem;border:1px solid var(--line);border-radius:var(--r);background:rgb(17 42 69 / .45)}
.values p{margin:0;line-height:1.45}
.values strong{display:block;font-size:1rem;margin-bottom:.2rem}
/* Scoped to the description text. As a bare ".values span" it also matched the
   icon tile (<span class="ico">), outranked .ico's display:grid and pushed every
   glyph into the tile's top-left corner. */
.values p span{display:block;color:var(--muted);font-size:.93rem}
.sec-light .btn-ghost{border-color:#9fb6cc;color:var(--ink)}
.sec-light .btn-ghost:hover{border-color:var(--brand-ink);color:var(--ink)}

/* Steps */
.flow{position:relative;height:2px;margin-bottom:1.25rem;background:var(--line);overflow:hidden;border-radius:2px}
.flow span{position:absolute;inset:0;background:linear-gradient(90deg,transparent,var(--brand-2) 50%,transparent);translate:-100% 0}
.steps{list-style:none;display:grid;gap:1rem;counter-reset:s;grid-template-columns:minmax(0,1fr)}
@media (min-width:40rem){.steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:64rem){.steps{grid-template-columns:repeat(4,minmax(0,1fr))}}
.steps>li{counter-increment:s;position:relative;padding:1.4rem 1.25rem 1.3rem;border:1px solid var(--line);border-radius:var(--r);background:linear-gradient(180deg,rgb(17 42 69 / .6),rgb(11 29 49 / .3))}
.steps>li::before{content:counter(s);position:absolute;top:1rem;right:1.2rem;font-size:2.4rem;font-weight:800;line-height:1;color:rgb(70 180 242 / .6)}
.steps h3{font-size:1.1rem;margin:1rem 0 .4rem}
.steps p{margin:0;color:var(--muted);font-size:.96rem}
.after-steps{margin-top:1.5rem;color:var(--muted)}

/* Cards */
.grid{list-style:none;display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(min(100%,16.5rem),1fr))}
.card{padding:1.35rem 1.25rem;border-radius:var(--r);border:1px solid var(--line);background:rgb(17 42 69 / .4);translate:0 0;transition:translate .25s,border-color .25s,box-shadow .25s}
.card:hover{translate:0 -3px;border-color:var(--line-2)}
.card h3,.card h4{margin:.95rem 0 .4rem;font-size:1.06rem}
.card p{margin:0;color:var(--muted);font-size:.96rem}
.sec-light .card{background:#fff;border-color:var(--line-l);box-shadow:0 1px 2px rgb(11 29 49 / .04)}
.sec-light .card:hover{border-color:#b9d3ea;box-shadow:0 .75rem 1.75rem rgb(11 29 49 / .08)}
.sec-light .card p{color:var(--ink-muted)}
@media (min-width:56rem){.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:55.99rem){.grid-5>li:last-child{grid-column:1/-1}}
@media (min-width:56rem){.grid-5{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (min-width:80rem){.grid-5{grid-template-columns:repeat(5,minmax(0,1fr))}}
/* ponytail: on phones cards go icon-beside-text so 30+ cards don't become a 30k px scroll */
@media (max-width:39.99rem){
  .card{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:.9rem;padding:1rem}
  .card .ico{grid-row:span 2;width:2.5rem;height:2.5rem}
  .card h3,.card h4{margin:.35rem 0 .3rem}
}
.group+.group{margin-top:3rem}
.group-title{display:flex;align-items:center;gap:.75rem;margin-bottom:1.25rem}
.group-title .ico{width:2.25rem;height:2.25rem;border-radius:.65rem}

/* Split layouts */
.split{display:grid;gap:clamp(2rem,1rem + 4vw,4.5rem);align-items:center}
@media (min-width:60rem){.split{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.split.rev>.media{order:-1}}
.split+.split{margin-top:clamp(3.5rem,2rem + 5vw,6rem)}
.media{position:relative;display:grid;place-items:center}
.media::before{content:"";position:absolute;width:80%;max-width:100%;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,rgb(31 160 230 / .22),transparent 65%)}
.media>*{position:relative}
.shot{width:min(19rem,74vw);filter:drop-shadow(0 1.75rem 2.5rem rgb(0 0 0 / .45))}
.shot img{width:100%}
.sec-light .shot{filter:drop-shadow(0 1.75rem 2.5rem rgb(11 29 49 / .25))}
.illus{margin:0;width:100%}
.illus img{width:100%;border-radius:1.25rem;box-shadow:0 1.5rem 3rem rgb(0 0 0 / .3)}
.illus figcaption{margin-top:.9rem;font-size:.9rem;color:var(--muted);text-align:center}
.sec-light .illus figcaption{color:var(--ink-muted)}
.ticks{list-style:none;display:grid;gap:.7rem;margin-block:1.25rem 1.5rem}
.ticks li{position:relative;padding-inline-start:1.9rem}
.ticks li::before{content:"";position:absolute;inset-inline-start:.35rem;top:.28em;width:.45rem;height:.8rem;border:solid var(--ok);border-width:0 .16rem .16rem 0;rotate:45deg}
.sec-light .ticks li::before{border-color:#118a57}
.ticks.need li::before{width:.6rem;height:.6rem;top:.5em;border:.16rem solid var(--warn);border-radius:50%;rotate:0deg}
.note{margin-top:1.5rem;padding:1rem 1.25rem;border-inline-start:3px solid var(--brand);background:rgb(31 160 230 / .08);border-radius:0 .75rem .75rem 0;color:var(--soft)}
.note p:last-child{margin:0}
.sec-light .note{color:var(--ink-muted);background:#e3f0fa}
.cta-row{display:flex;flex-wrap:wrap;gap:.75rem}

/* Gallery */
.gallery{list-style:none;display:flex;gap:1rem;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;padding:.5rem var(--gutter) 1.5rem;margin-inline:calc(-1*var(--gutter));scrollbar-width:thin;scrollbar-color:var(--line-2) transparent}
.gallery>li{flex:0 0 min(72%,17rem);scroll-snap-align:center}
.gallery figure{margin:0}
.gallery img{width:100%;filter:drop-shadow(0 1.25rem 2rem rgb(0 0 0 / .45))}
.gallery figcaption{margin-top:1rem;font-size:.94rem;color:var(--muted)}
.gallery figcaption strong{display:block;color:var(--text);font-size:1.02rem;margin-bottom:.2rem}
.swipe{color:var(--muted);font-size:.9rem;margin:0 0 .5rem}
@media (min-width:64rem){
  .gallery{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1.5rem;overflow:visible;margin-inline:0;padding:0 0 3rem}
  .gallery>li:nth-child(even){translate:0 3rem}
  .swipe{display:none}
}

/* Offline boxes */
.duo{display:grid;gap:1rem;margin-top:3rem}
@media (min-width:52rem){.duo{grid-template-columns:1fr 1fr}}
.box{padding:1.5rem;border-radius:var(--r);border:1px solid var(--line);background:rgb(8 19 32 / .55)}
.box h3{display:flex;gap:.6rem;align-items:center;font-size:1.15rem}
.box .ticks{margin:1rem 0 0}
.box.ok h3 .i{color:var(--ok)}
.box.need h3 .i{color:var(--warn)}

/* Timeline */
.timeline{list-style:none;counter-reset:t;display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(min(100%,21rem),1fr))}
.timeline>li{counter-increment:t;position:relative;padding:1.35rem 1.25rem 1.25rem 4.1rem;background:#fff;border:1px solid var(--line-l);border-radius:var(--r)}
.timeline>li::before{content:counter(t);position:absolute;left:1.1rem;top:1.2rem;display:grid;place-items:center;width:2.2rem;height:2.2rem;border-radius:50%;background:var(--navy-800);color:#fff;font-weight:700;font-size:.95rem}
.timeline>li:last-child:nth-child(odd){grid-column:1/-1}
.timeline h3{font-size:1.08rem;margin-bottom:.35rem}
.timeline p{margin:0;color:var(--ink-muted);font-size:.96rem}

/* Download */
.dl{display:grid;gap:2rem;align-items:center;padding:clamp(1.5rem,1rem + 3vw,3.25rem);border-radius:1.5rem;border:1px solid var(--line-2);background:radial-gradient(40rem 20rem at 100% 0%,rgb(31 160 230 / .22),transparent 60%),linear-gradient(135deg,#0f2a47,#0a1a2d)}
@media (min-width:56rem){.dl{grid-template-columns:1.15fr .85fr}}
.dl .stores{margin-block:1.25rem 0}
.mini-steps{list-style:none;counter-reset:m;display:grid;gap:.9rem}
.mini-steps li{counter-increment:m;display:flex;gap:.8rem;align-items:flex-start}
.mini-steps li::before{content:counter(m);flex:none;display:grid;place-items:center;width:1.9rem;height:1.9rem;border-radius:50%;background:var(--brand);color:var(--navy-900);font-weight:800;font-size:.9rem}

/* FAQ */
.faq{max-width:52rem;margin-inline:auto;display:grid;gap:.75rem}
.faq details{background:#fff;border:1px solid var(--line-l);border-radius:.9rem}
.faq details[open]{border-color:#b9d3ea}
.faq summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;gap:1rem;align-items:center;padding:1rem 1.25rem;font-weight:650;font-size:1.04rem;min-height:3.25rem}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"";flex:none;width:.6rem;height:.6rem;border:solid var(--brand-ink);border-width:0 .15rem .15rem 0;rotate:45deg;translate:0 -.2rem;transition:rotate .2s,translate .2s}
.faq details[open] summary::after{rotate:225deg;translate:0 .15rem}
.faq details p{margin:0;padding:0 1.25rem 1.15rem;color:var(--ink-muted)}

/* Contact */
.contact{display:grid;gap:2.5rem}
@media (min-width:60rem){.contact{grid-template-columns:.85fr 1.15fr;align-items:start}}
.direct{list-style:none;display:grid;gap:.75rem;margin-top:1.5rem}
.direct a{display:flex;align-items:center;gap:.9rem;padding:.85rem 1rem;border:1px solid var(--line-2);border-radius:.9rem;color:var(--text);text-decoration:none;translate:0 0;transition:border-color .2s,translate .2s}
.direct a:hover{border-color:var(--brand-2);translate:0 -2px;color:var(--text)}
.direct small{display:block;color:var(--muted);font-size:.8rem}
.form{padding:clamp(1.25rem,1rem + 2vw,2.25rem);border-radius:1.25rem;background:var(--navy-800);border:1px solid var(--line-2)}
.form h3{margin-bottom:.3rem}
.fields{display:grid;gap:1.1rem;margin-top:1.25rem}
@media (min-width:40rem){.fields{grid-template-columns:1fr 1fr}.field.full{grid-column:1/-1}}
.field label{display:block;font-weight:600;font-size:.95rem;margin-bottom:.35rem}
.field .opt{font-weight:400;color:var(--muted);font-size:.82rem}
.field .req{color:var(--brand-2)}
.hint{margin:-.1rem 0 .4rem;font-size:.82rem;color:var(--muted)}
.field input,.field textarea{display:block;width:100%;font:inherit;font-size:1rem;color:var(--text);background:var(--navy-900);border:1px solid var(--field);border-radius:.7rem;padding:.7rem .85rem;min-height:3rem}
.field textarea{min-height:7rem;resize:vertical}
.field input:focus-visible,.field textarea:focus-visible{outline:3px solid var(--brand-2);outline-offset:1px;border-color:var(--brand-2)}
.field input:user-invalid,.field textarea:user-invalid{border-color:var(--danger);border-width:2px;background:#1c1622}
.err{display:none;margin:.35rem 0 0;color:#ff9b9b;font-size:.85rem}
.field :user-invalid~.err{display:block}
.form-foot{display:flex;flex-wrap:wrap;gap:.75rem 1.25rem;align-items:center;margin-top:1.5rem}
.fine{font-size:.85rem;color:var(--muted);margin:1rem 0 0}
.sent{margin-top:1.25rem;padding:1rem 1.2rem;border-radius:.9rem;background:rgb(61 220 151 / .1);border:1px solid rgb(61 220 151 / .45)}
.sent p{margin:0}
.sent strong{color:var(--ok)}

/* Footer */
.ftr{background:#06101b;border-top:1px solid var(--line);padding-block:3.5rem 2rem;color:var(--muted);font-size:.95rem}
.ftr-grid{display:grid;gap:2rem;grid-template-columns:repeat(auto-fit,minmax(min(100%,11rem),1fr))}
.ftr-brand{grid-column:1/-1}
@media (min-width:62rem){.ftr-grid{grid-template-columns:1.7fr repeat(4,1fr)}.ftr-brand{grid-column:auto}}
.ftr-brand p{margin-top:1rem;max-width:26rem}
.ftr h2{font-size:.8rem;text-transform:uppercase;letter-spacing:.12em;color:var(--text);margin-bottom:.9rem}
.ftr ul{list-style:none;display:grid;gap:.45rem}
.ftr a{color:var(--muted);text-decoration:none;display:inline-block;padding-block:.1rem}
.ftr a:hover{color:var(--text);text-decoration:underline}
.ftr-bottom{margin-top:2.5rem;padding-top:1.5rem;border-top:1px solid var(--line);display:flex;flex-wrap:wrap;gap:.5rem 1.5rem;justify-content:space-between;font-size:.88rem}
.ftr-bottom p{margin:0}

/* Motion: only transform/opacity, only when the visitor allows it */
.rv{translate:0 0}
/* Only the hero loops on a timer, and its button pauses it (WCAG 2.2.2). Everything else follows scroll or ends within 5 s. */
@media (prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important}.anim-toggle{display:none}}
@media (prefers-reduced-motion:no-preference){
  @keyframes flow{to{translate:100% 0}}
  .qr-g1{animation:qr 3.2s steps(1,end) infinite}
  .qr-g2{animation:qr 4.4s steps(1,end) -1.1s infinite}
  .qr-g3{animation:qr 5.6s steps(1,end) -2.3s infinite}
  @keyframes qr{0%{opacity:1}50%{opacity:0}100%{opacity:0}}
  .scan{animation:scan 2.4s ease-in-out infinite alternate}
  @keyframes scan{to{translate:0 20px}}
  .gate-leaf{animation:gate 8s ease-in-out infinite}
  @keyframes gate{0%,22%{translate:0 0}40%,64%{translate:-176px 0}82%,100%{translate:0 0}}
  .led-ok{animation:led 8s steps(1,end) infinite}
  @keyframes led{0%{opacity:0}22%{opacity:1}78%{opacity:0}100%{opacity:0}}
  .beam{animation:beam 8s ease-out infinite}
  @keyframes beam{0%,8%{opacity:0}14%{opacity:1}26%,100%{opacity:0}}
  .chip-ok{animation:chip 8s ease-out infinite}
  @keyframes chip{0%,24%{opacity:0;translate:0 .5rem}30%,74%{opacity:1;translate:0 0}82%,100%{opacity:0;translate:0 .5rem}}
  .chip-qr{animation:float 7s ease-in-out infinite}
  @keyframes float{50%{translate:0 -.6rem}}
  .wave{animation:wave 4.2s ease-out infinite}
  .w2{animation-delay:-1.4s}.w3{animation-delay:-2.8s}
  @keyframes wave{from{scale:.55;opacity:.7}to{scale:1.3;opacity:0}}
  @supports ((animation-timeline:view()) and (animation-range:entry)){
    /* Fixed-length range: a 1200px-tall block reveals over the same 8rem of scroll as a small card. */
    .rv{animation:rv linear backwards;animation-timeline:view();animation-range:entry 0 entry 8rem}
    .flow span{animation:flow linear both;animation-timeline:view();animation-range:entry 0 cover 50%}
    @keyframes rv{from{opacity:0;translate:0 2.5rem}}
  }
}
@media (forced-colors:active){.btn,.store,.card,.chip{border:1px solid CanvasText}}
