/* Weaktony /servicios: "la tienda se arma sola" (portada), "Estilos infinitos" y el Panel con luz.
   Idea original: Melanina (webs premium). Tienda de ejemplo: la real de EdmaConnect (con su permiso).
   Mismos colores y letras de /servicios. Solo transform y opacity en movimiento; sin librerías.
   Menos movimiento = escena quieta y completa. */

@font-face { font-family: "Anton"; src: url("/tienda/fonts/anton.woff2") format("woff2"); font-weight: 400; font-display: swap; }

/* La cabecera sobre la escena oscura (también en modo claro) */
.nav.sobre-oscuro { color: #EEF2F8; --bg: #05080E; --ink: #EEF2F8; --ink-2: #C9D2E0; --surface-2: #141E33; --line: #1D2940; --accent: #8DB1F0; --on-accent: #0A1222; }

/* ================= Escena principal (portada) ================= */
.arma { position: relative; --ar-bg: #05080E; --ar-ink: #EEF2F8; --ar-ink-2: #C9D2E0; --ar-muted: #A3AEC2; --ar-line: #1D2940; --ar-accent: #8DB1F0; --ar-on-accent: #0A1222; --ar-wa: #25D366; --ar-wa-ink: #06301A;
  /* tienda de EdmaConnect */
  --t-bg: #060606; --t-ink: #f2f3f7; --t-acento: #fc2400; --t-suave: #1c1c1d; --t-card: #151515; --t-btn: #b51a00; --t-btn-ink: #ffffff; --t-mute: #b0b1b4; --t-line: #414142; --t-shadow: rgba(0, 0, 0, .5);
  --tz: 268px; --ph: min(58lvh, calc(100lvh - var(--tz) - 104px), 620px); --pw: calc(var(--ph) / 2.05); background: var(--ar-bg); color: var(--ar-ink); }
.js .arma { height: 580vh; }
.ar-escena { position: sticky; top: 0; height: 100vh; height: 100lvh; overflow: hidden; perspective: 1400px; contain: paint; }
/* La luz: tres capas fijas (azul, rojo de la marca, verde WhatsApp) que se mezclan con opacidad */
.ar-aura { position: absolute; inset: -20%; will-change: transform; }
.ar-luz { position: absolute; inset: 0; opacity: 0; will-change: opacity; }
.ar-luz-a { background: radial-gradient(42% 36% at 30% 35%, rgb(43 82 153 / .55), transparent 70%), radial-gradient(36% 32% at 70% 70%, rgb(141 177 240 / .24), transparent 70%), radial-gradient(55% 42% at 50% 110%, rgb(43 82 153 / .45), transparent 70%); opacity: 1; }
.ar-luz-r { background: radial-gradient(42% 36% at 30% 35%, rgb(181 26 0 / .5), transparent 70%), radial-gradient(36% 32% at 70% 70%, rgb(255 110 80 / .22), transparent 70%), radial-gradient(55% 42% at 50% 110%, rgb(120 20 20 / .5), transparent 70%); }
.ar-luz-v { background: radial-gradient(42% 36% at 30% 35%, rgb(22 130 84 / .55), transparent 70%), radial-gradient(36% 32% at 70% 70%, rgb(90 220 150 / .24), transparent 70%), radial-gradient(55% 42% at 50% 110%, rgb(22 130 84 / .45), transparent 70%); }
.ar-grano { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.ar-rejilla { position: absolute; inset: 0; background-image: linear-gradient(rgba(141, 177, 240, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(141, 177, 240, .05) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(60% 50% at 50% 55%, #000, transparent); mask-image: radial-gradient(60% 50% at 50% 55%, #000, transparent); }
/* Objetos que flotan a distintas profundidades: lo cercano es grande y claro, lo lejano chico y tenue */
.ar-flotan { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.ar-flota { position: absolute; top: 0; color: #8DB1F0; }
.ar-flota svg { width: 100%; height: 100%; display: block; }

/* Textos por etapa */
.ar-textos { position: absolute; left: 0; right: 0; top: calc(78px + env(safe-area-inset-top)); height: 24lvh; text-align: center; padding: 0 22px; z-index: 5; }
.ar-paso { position: absolute; left: 22px; right: 22px; top: 0; opacity: 0; }
.ar-paso:first-child { opacity: 1; }
.ar-paso small { display: block; font-size: 12px; font-weight: 800; letter-spacing: .22em; color: var(--ar-accent); margin-bottom: 12px; }
.ar-paso h1, .ar-paso h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(28px, 8.4vw, 52px); line-height: 1.06; letter-spacing: -.015em; max-width: none; text-wrap: balance; color: var(--ar-ink); }
.ar-paso em { font-style: italic; color: var(--ar-accent); }
.ar-paso p { font-size: 16px; color: var(--ar-ink-2); margin-top: 10px; line-height: 1.45; }
.ar-prog { position: absolute; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom)); transform: translateX(-50%); display: flex; gap: 6px; z-index: 5; }
.ar-prog i { display: block; width: 26px; height: 3px; border-radius: 3px; background: var(--ar-line); overflow: hidden; position: relative; }
.ar-prog i::after { content: ""; position: absolute; inset: 0; background: var(--ar-accent); transform-origin: left; transform: scaleX(var(--k, 0)); }
.ar-nota { position: absolute; left: 0; right: 0; bottom: calc(38px + env(safe-area-inset-bottom)); text-align: center; font-size: 12px; color: var(--ar-muted); z-index: 5; padding: 0 16px; }
.ar-pista { position: absolute; left: 0; right: 0; bottom: calc(66px + env(safe-area-inset-bottom)); text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .3em; color: var(--ar-muted); z-index: 5; }

/* Teléfonos */
.ar-tel { position: absolute; left: 50%; top: calc(var(--tz) + var(--ph) / 2); width: var(--pw); height: var(--ph); margin: calc(var(--ph) / -2) 0 0 calc(var(--pw) / -2); border-radius: calc(var(--pw) * .15); background: #0E1626; padding: calc(var(--pw) * .035); box-shadow: 0 0 0 1px #2B3A57, 0 40px 90px rgba(2, 6, 16, .7), inset 0 0 0 2px #1a2540; will-change: transform; transform-style: preserve-3d; z-index: 3; }
.ar-tel::before { content: ""; position: absolute; top: calc(var(--pw) * .055); left: 50%; width: 30%; height: calc(var(--pw) * .085); transform: translateX(-50%); background: #000; border-radius: 99px; z-index: 6; }
.ar-cliente { animation: ar-aparece .7s var(--ease-out) both; }
@keyframes ar-aparece { from { opacity: 0; } }
.ar-pant { position: relative; width: 100%; height: 100%; border-radius: calc(var(--pw) * .12); overflow: hidden; background: var(--t-bg); color: var(--t-ink); font-size: calc(var(--pw) * .046); line-height: 1.3; text-align: left; }
.ar-brillo { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(115deg, rgba(255, 255, 255, .14), transparent 35%); pointer-events: none; z-index: 7; }

/* Instagram de EdmaConnect, "antes" (sin respuestas) */
.ar-ig { position: absolute; inset: 0; z-index: 5; background: #0c0c0e; color: #f2f3f7; padding: calc(var(--pw) * .2) .9em 0; will-change: opacity, transform; }
.ar-ig-tag { position: absolute; top: calc(var(--pw) * .16); left: .9em; font-size: .75em; font-weight: 800; letter-spacing: .16em; padding: .3em .8em; border-radius: 99px; background: #3a3a40; color: #f2f3f7; z-index: 2; }
.ar-ig-cab { display: flex; align-items: center; gap: .8em; margin-top: 1.6em; }
.ar-ig-cab img { width: 3.6em; height: 3.6em; border-radius: 50%; flex: none; box-shadow: 0 0 0 2px #0c0c0e, 0 0 0 4px #c13584; }
.ar-ig-cab b { display: block; font-size: 1.05em; }
.ar-ig-cab span { font-size: .85em; color: #c9cad1; }
.ar-ig-cab > div { min-width: 0; flex: 1; }
.ar-ig-dm { position: relative; width: 1.9em; height: 1.9em; flex: none; color: #f2f3f7; }
.ar-ig-dm svg { width: 100%; height: 100%; }
.ar-ig-dm::after { content: ""; position: absolute; top: -.1em; right: -.1em; width: .75em; height: .75em; border-radius: 50%; background: #ff3040; box-shadow: 0 0 0 2px #0c0c0e; }
.ar-ig-bt { display: flex; gap: .5em; margin: 1em 0 1.1em; }
.ar-ig-bt span { flex: 1; text-align: center; padding: .55em 0; border-radius: .6em; background: #26262b; font-weight: 700; font-size: .9em; }
.ar-ig-bt span:first-child { background: #3b6cf0; }
.ar-ig-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; }
.ar-ig-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #222; }
.ar-com { position: absolute; z-index: 3; will-change: transform, opacity; }
.ar-com-i { display: block; padding: .6em .9em; border-radius: 1.1em; background: #fff; color: #15151a; font-size: .9em; font-weight: 700; line-height: 1.25; box-shadow: 0 .5em 1.4em rgba(0, 0, 0, .5); animation: ar-com 600ms var(--ease-out) var(--d, 0s) both; max-width: 14em; }
@keyframes ar-com { from { opacity: 0; transform: translateY(.8em) scale(.9); } }

/* La tienda */
.ar-cab { position: absolute; inset: 0 0 auto; padding: calc(var(--pw) * .2) 1.1em .8em; display: flex; align-items: center; justify-content: space-between; z-index: 2; }
.ar-marca { display: flex; align-items: center; gap: .7em; min-width: 0; }
.ar-logo-img { width: 2.9em; height: 2.9em; border-radius: 50%; flex: none; }
.ar-logo { font-family: Anton, var(--font-display); font-weight: 400; font-size: 1.35em; letter-spacing: .06em; line-height: 1; white-space: nowrap; }
.ar-logo small { display: block; font-family: var(--font-body); font-weight: 700; font-size: .46em; letter-spacing: .12em; color: var(--t-acento); margin-top: .5em; }
.ar-bolsa { position: relative; width: 2.4em; height: 2.4em; border-radius: 50%; background: var(--t-suave); display: grid; place-items: center; flex: none; }
.ar-bolsa svg { width: 1.2em; height: 1.2em; }
.ar-chapa { position: absolute; top: -.2em; right: -.2em; min-width: 1.35em; height: 1.35em; border-radius: 99px; background: var(--t-btn); color: var(--t-btn-ink); font-size: .75em; font-weight: 800; display: grid; place-items: center; transform: scale(0); }
.ar-buscar { position: absolute; left: 1.1em; right: 1.1em; top: calc(var(--pw) * .46); height: 2.6em; border-radius: 99px; background: var(--t-suave); display: flex; align-items: center; padding: 0 1em; gap: .6em; color: var(--t-mute); z-index: 2; }
.ar-chips { position: absolute; left: 1.1em; right: 0; top: calc(var(--pw) * .6); display: flex; gap: .5em; z-index: 2; margin: 0; }
.ar-chips span { padding: .45em .9em; border-radius: 99px; border: 1px solid var(--t-line); white-space: nowrap; font-weight: 600; font-size: .9em; }
.ar-chips span:first-child { background: var(--t-btn); color: var(--t-btn-ink); border-color: var(--t-btn); }
.ar-grilla { position: absolute; left: 1.1em; right: 1.1em; top: calc(var(--pw) * .76); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .8em; z-index: 2; }
.ar-prod { background: var(--t-card); border-radius: 1em; padding: .45em; box-shadow: 0 .4em 1.2em var(--t-shadow); will-change: transform, opacity; min-width: 0; }
.ar-prod .ar-img { aspect-ratio: 1; border-radius: .7em; position: relative; overflow: hidden; background: var(--t-suave); }
.ar-prod .ar-img img { width: 100%; height: 100%; object-fit: cover; }
.ar-prod h4 { font-size: .95em; font-weight: 800; margin: .5em .2em .1em; color: var(--t-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ar-prod p { margin: 0 .2em .3em; display: flex; justify-content: flex-end; }
.ar-prod button { border: 0; background: var(--t-btn); color: var(--t-btn-ink); font: 800 .95em var(--font-body); padding: .45em .9em; border-radius: 99px; flex: none; cursor: default; }
.ar-hoja { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; background: var(--t-card); color: var(--t-ink); border-radius: 1.6em 1.6em 0 0; padding: 1em 1.1em 1.5em; box-shadow: 0 -1em 3em rgba(0, 0, 0, .5); transform: translateY(110%); will-change: transform; }
.ar-hoja .ar-asa { width: 3em; height: .3em; border-radius: 9px; background: var(--t-line); margin: 0 auto 1em; }
.ar-hoja .ar-fila { display: flex; gap: .8em; align-items: center; }
.ar-hoja .ar-mini { width: 3.4em; height: 3.4em; border-radius: .7em; flex: none; overflow: hidden; background: var(--t-suave); }
.ar-hoja .ar-mini img { width: 100%; height: 100%; object-fit: cover; }
.ar-hoja h5 { font-size: 1em; margin: 0; font-weight: 800; }
.ar-hoja .ar-fila span { font-size: .9em; color: var(--t-mute); }
.ar-hoja .ar-resumen { display: flex; justify-content: space-between; margin: 1em 0; font-weight: 700; }
.ar-btnwa { width: 100%; border: 0; border-radius: 99px; padding: .95em; font: 800 1em var(--font-body); background: var(--ar-wa); color: var(--ar-wa-ink); display: flex; justify-content: center; gap: .5em; align-items: center; cursor: default; }
.ar-btnwa svg { width: 1.2em; height: 1.2em; }
.ar-velo { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); opacity: 0; z-index: 3; }

/* Dedo que toca la pantalla */
.ar-dedo { position: absolute; z-index: 8; width: calc(var(--pw) * .14); height: calc(var(--pw) * .14); margin: calc(var(--pw) * -.07) 0 0 calc(var(--pw) * -.07); border-radius: 50%; background: rgba(255, 255, 255, .85); box-shadow: 0 0 0 calc(var(--pw) * .02) rgba(255, 255, 255, .3), 0 .5em 1.5em rgba(0, 0, 0, .25); opacity: 0; will-change: transform, opacity; }
.ar-onda { position: absolute; inset: -60%; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .9); opacity: 0; transform: scale(.3); }

/* Producto estrella: gira en 3D con brillo (las dos fotos son reales) */
.ar-star { position: absolute; left: 0; top: 0; width: var(--sw); height: var(--sw); margin: calc(var(--sw) / -2) 0 0 calc(var(--sw) / -2); --sw: min(66vw, 290px); z-index: 7; opacity: 0; perspective: 900px; pointer-events: none; will-change: transform, opacity; }
.ar-star-in { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; will-change: transform; }
.ar-cara { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 6%; backface-visibility: hidden; -webkit-backface-visibility: hidden; border: 1px solid rgba(255, 255, 255, .18); background: #1c1c1d; box-shadow: 0 26px 50px rgba(0, 0, 0, .55); }
.ar-dorso { transform: rotateY(180deg); }
.ar-sheen { position: absolute; inset: 0; border-radius: 6%; overflow: hidden; pointer-events: none; backface-visibility: hidden; -webkit-backface-visibility: hidden; transform: translateZ(1px); }
.ar-sheen::before { content: ""; position: absolute; top: -10%; bottom: -10%; left: -60%; width: 45%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .5), transparent); transform: translateX(var(--sh, 0%)) skewX(-12deg); }

/* Teléfono del dueño (WhatsApp) */
.ar-duenio { opacity: 0; }
.ar-duenio .ar-pant { background: #0B141A; color: #E9EDEF; }
.ar-wa-cab { position: absolute; inset: 0 0 auto; padding: calc(var(--pw) * .2) 1em .8em; background: #1F2C34; display: flex; gap: .7em; align-items: center; }
.ar-wa-cab .ar-av { width: 2.4em; height: 2.4em; border-radius: 50%; background: linear-gradient(135deg, #8DB1F0, #2B5299); flex: none; }
.ar-wa-cab b { display: block; font-size: 1em; }
.ar-wa-cab span { font-size: .8em; color: #9fb0b9; }
.ar-wa-chat { position: absolute; left: 0; right: 0; top: calc(var(--pw) * .44); bottom: 0; padding: 1em; }
.ar-msg { max-width: 94%; margin-left: auto; background: #005C4B; color: #E9EDEF; border-radius: 1em 0 1em 1em; padding: .8em .9em; font-size: .95em; line-height: 1.45; opacity: 0; transform: translateY(1em) scale(.96); transform-origin: top right; white-space: pre-line; min-height: 3em; border: 0; }
.ar-msg .ar-hora { display: block; text-align: right; font-size: .75em; color: #8fd3c3; margin-top: .3em; }
.ar-aviso { position: absolute; left: .6em; right: .6em; top: calc(var(--pw) * .15); z-index: 5; background: #263842; border-radius: 1.1em; padding: .8em 1em; display: flex; gap: .7em; align-items: center; transform: translateY(-160%); font-size: .9em; color: #E9EDEF; box-shadow: 0 .6em 1.6em rgba(0, 0, 0, .4); will-change: transform; }
.ar-aviso .ar-ic { width: 2.4em; height: 2.4em; border-radius: .7em; background: var(--ar-wa); display: grid; place-items: center; flex: none; }
.ar-aviso .ar-ic svg { width: 1.4em; height: 1.4em; }
.ar-aviso b { display: block; font-size: 1.1em; }
.ar-burbuja { position: absolute; z-index: 9; width: calc(var(--pw) * .16); height: calc(var(--pw) * .16); margin: calc(var(--pw) * -.08) 0 0 calc(var(--pw) * -.08); border-radius: 50%; background: var(--ar-wa); display: grid; place-items: center; box-shadow: 0 0 0 .5em rgba(37, 211, 102, .18), 0 0 3em rgba(37, 211, 102, .6); opacity: 0; will-change: transform, opacity; left: 0; top: 0; }
.ar-burbuja svg { width: 55%; height: 55%; }
.ar-estela { position: absolute; inset: 0; z-index: 8; pointer-events: none; width: 100%; height: 100%; }
.ar-estela path { fill: none; stroke: url(#arGradEstela); stroke-width: 2.5; stroke-linecap: round; }

/* Llamado final */
.ar-cta { position: absolute; left: 0; right: 0; bottom: calc(70px + env(safe-area-inset-bottom)); display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 0 20px; opacity: 0; visibility: hidden; transform: translateY(20px); z-index: 6; }
.ar-cta-d { display: none; }
.ar-cta .btn, .ar-cta-d .btn { max-width: 100%; white-space: normal; text-align: center; line-height: 1.25; }
.arma .btn-primary { background: var(--ar-accent); color: var(--ar-on-accent); box-shadow: 0 10px 40px rgba(141, 177, 240, .35); }
.arma .btn-ghost { color: var(--ar-ink); border-color: #2B3A57; background: rgba(12, 19, 34, .75); }
.arma :focus-visible { outline-color: var(--ar-accent); }

/* Sin JavaScript: portada de texto y botones */
html:not(.js) .ar-tel, html:not(.js) .ar-star, html:not(.js) .ar-pista, html:not(.js) .ar-prog, html:not(.js) .ar-nota, html:not(.js) .ar-paso:not(:first-child) { display: none; }
html:not(.js) .ar-escena { position: relative; height: auto; min-height: 0; padding: 110px 0 60px; }
html:not(.js) .ar-textos { position: relative; top: auto; height: auto; }
html:not(.js) .ar-paso { position: relative; left: auto; right: auto; }
html:not(.js) .ar-cta { position: relative; bottom: auto; margin-top: 30px; opacity: 1; visibility: visible; transform: none; }

@media (min-width: 900px) { html:not(.js) .ar-cta { display: flex; } }

/* Menos movimiento: la escena queda quieta, con el final completo */
.arma.quieto { height: auto; }
.arma.quieto .ar-escena { position: relative; height: auto; min-height: 100lvh; padding-bottom: 40px; }
.arma.quieto .ar-cliente, .arma.quieto .ar-com-i { animation: none; }
.arma.quieto .ar-pista, .arma.quieto .ar-prog, .arma.quieto .ar-star { display: none; }

/* Pantallas bajas: textos y celular más compactos para que no se monten */
@media (max-height: 700px) and (max-width: 899px) {
  .arma { --tz: 252px; --ph: min(54lvh, calc(100lvh - var(--tz) - 104px), 560px); }
  .ar-paso h1, .ar-paso h2 { font-size: clamp(24px, 7.4vw, 34px); }
  .ar-paso small { margin-bottom: 8px; }
  .ar-paso p { font-size: 14px; margin-top: 6px; }
}
@media (max-width: 359px) { .ar-paso h1, .ar-paso h2 { font-size: clamp(22px, 7.2vw, 30px); } }

@media (min-width: 900px) {
  .arma { --ph: min(78lvh, 700px); }
  .ar-textos { left: 6vw; right: auto; width: 42vw; top: 50%; transform: translateY(-50%); text-align: left; height: auto; }
  .ar-paso { position: absolute; left: 0; right: 0; top: 0; }
  .ar-paso h1, .ar-paso h2 { font-size: clamp(40px, 4.4vw, 68px); }
  .ar-paso p { font-size: 18px; max-width: 34ch; }
  .ar-tel { left: 66%; top: 50%; }
  .ar-star { --sw: min(30vw, 56lvh, 380px); }
  .ar-cta { display: none; }
  .ar-cta-d { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 20px; pointer-events: auto; }
  .ar-nota { left: 6vw; right: auto; text-align: left; padding: 0; bottom: 6px; }
}
/* Pantallas de escritorio angostas: celular más chico y a la derecha para no tapar el texto */
@media (min-width: 900px) and (max-width: 1199px) {
  .arma { --ph: min(70lvh, 560px); }
  .ar-textos { width: 36vw; }
  .ar-tel { left: 72%; }
}
/* Monitores grandes y 4K: el contenido se agranda y queda centrado */
@media (min-width: 1800px) {
  .arma { --ph: min(78lvh, 980px); }
  .ar-textos { left: calc(50% - 900px); width: 760px; }
  .ar-paso h1, .ar-paso h2 { font-size: 76px; }
  .ar-paso p { font-size: 22px; }
  .ar-paso small { font-size: 14px; }
  .ar-tel { left: calc(50% + 330px); }
  .ar-star { --sw: min(30vw, 56lvh, 520px); }
  .ar-nota { left: calc(50% - 900px); font-size: 14px; }
}
@media (min-width: 2800px) {
  .arma { --ph: min(78lvh, 1400px); }
  .ar-textos { left: calc(50% - 1350px); width: 1140px; }
  .ar-paso h1, .ar-paso h2 { font-size: 112px; }
  .ar-paso p { font-size: 32px; }
  .ar-paso small { font-size: 20px; }
  .ar-tel { left: calc(50% + 500px); }
  .ar-star { --sw: min(30vw, 56lvh, 760px); }
  .ar-cta-d .btn { font-size: 26px; min-height: 76px; padding: 0 44px; }
  .ar-cta-d { gap: 16px; margin-top: 40px; }
  .ar-nota { left: calc(50% - 1350px); font-size: 20px; }
}
@media (max-height: 560px) and (orientation: landscape) { .arma { --ph: min(58lvh, 620px); } .ar-textos { height: 30lvh; } }

/* ================= Estilos infinitos: la tienda de EdmaConnect cambia de estilo ================= */
.estilos { overflow: hidden; }
.es-grid { display: grid; gap: 36px; align-items: center; }
.es-copy .sub { margin-top: 14px; }
.es-sel { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 26px; }
.es-sel button { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font-weight: 700; font-size: 15px; transition: background-color 300ms ease, color 300ms ease, border-color 300ms ease, transform 160ms var(--ease-out); }
.es-sel button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.es-sel button:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .es-sel button[aria-pressed="false"]:hover { border-color: var(--accent); } }
.es-nota { margin-top: 18px; color: var(--muted); font-size: 14px; }
.es-stage { position: relative; display: grid; place-items: center; padding: 18px 0 8px; }
.es-stage::before { content: ""; position: absolute; width: min(420px, 90%); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--es-glow, var(--aura-1)) 0%, transparent 65%); transition: background 700ms ease; }
.es-fone { --pw: min(260px, 64vw); --ph: calc(var(--pw) * 2.05); position: relative; width: var(--pw); height: var(--ph); border-radius: calc(var(--pw) * .15); background: #0E1626; padding: calc(var(--pw) * .035); box-shadow: 0 0 0 1px #2B3A57, 0 30px 80px rgba(2, 6, 16, .6); font-size: calc(var(--pw) * .046);
  --t-bg: #060606; --t-ink: #f2f3f7; --t-acento: #fc2400; --t-suave: #1c1c1d; --t-card: #151515; --t-btn: #b51a00; --t-btn-ink: #ffffff; --t-mute: #b0b1b4; --t-line: #414142; --t-shadow: rgba(0, 0, 0, .5); }
.es-fone::before { content: ""; position: absolute; top: calc(var(--pw) * .055); left: 50%; width: 30%; height: calc(var(--pw) * .085); transform: translateX(-50%); background: #000; border-radius: 99px; z-index: 6; }
.es-fone .ar-pant { transition: background-color 600ms var(--ease-out), color 600ms var(--ease-out); background: var(--t-bg); color: var(--t-ink); }
.es-fone .ar-prod, .es-fone .ar-buscar, .es-fone .ar-bolsa, .es-fone .ar-chips span, .es-fone .ar-prod button { transition: background-color 600ms var(--ease-out), border-color 600ms var(--ease-out), color 600ms var(--ease-out), border-radius 600ms var(--ease-out); }
.es-fone .ar-logo { transition: letter-spacing 600ms var(--ease-out); }
@media (min-width: 900px) {
  .es-grid { grid-template-columns: 1fr 1fr; gap: 80px; }
  .es-fone { --pw: 280px; }
}
@media (min-width: 1800px) { .es-fone { --pw: 340px; } }
@media (min-width: 2800px) { .es-fone { --pw: 460px; } }

/* ================= Panel de control: con luz y profundidad ================= */
.panel { overflow: clip; }
.panel > .wrap { position: relative; z-index: 1; }
.ar-flotan-panel { z-index: 0; }
.ar-flotan-panel .ar-flota { color: var(--accent-ink); }
.lv-wrap { position: relative; justify-self: center; width: min(70vw, 270px); isolation: isolate; }
.lv-wrap .phone { width: 100%; }
.lv-wrap::before, .lv-wrap::after { content: ""; position: absolute; inset: -22% -34%; z-index: -1; border-radius: 50%; pointer-events: none; }
.lv-wrap::before { background: radial-gradient(closest-side, rgb(141 177 240 / .5), transparent 72%); }
.lv-wrap::after { background: radial-gradient(closest-side, rgb(37 211 102 / .5), transparent 72%); opacity: 0; }
@media (min-width: 960px) { .lv-wrap { width: 280px; } .tabpanel .lv-wrap .phone { width: 100%; } }
@media (prefers-reduced-motion: no-preference) {
  .lv-wrap:has(.live.play)::after { animation: lv-verde 7.5s ease both; }
  .lv-wrap:has(.live.play)::before { animation: lv-azul 7.5s ease both; }
  @supports (animation-timeline: view()) {
    .lv-wrap .phone { animation: lv-entra linear both; animation-timeline: view(); animation-range: entry 0% entry 90%; }
  }
}
@keyframes lv-verde { 0%, 52% { opacity: 0; } 62%, 100% { opacity: 1; } }
@keyframes lv-azul { 0%, 52% { opacity: 1; } 62%, 100% { opacity: .15; } }
@keyframes lv-entra { from { transform: perspective(900px) rotateY(-16deg) translateY(36px) scale(.94); opacity: .35; } to { transform: none; opacity: 1; } }

/* Bento: el texto de las tarjetas con foto queda alineado con las demás */
.cell-text { display: flex; flex-direction: column; gap: 10px; }

@media (prefers-reduced-motion: reduce) {
  .ar-cliente, .ar-com-i { animation: none; }
  .es-fone .ar-pant, .es-fone .ar-prod, .es-fone .ar-logo { transition: none; }
}
