/* 044 HIGH PERFORMANCE — estilos
   Sala de máquinas: fondo casi negro, chapa antideslizante, el rojo del logo y el verde del marco del banco de prueba.
   Colores, letras y medidas arriba de todo, en :root. Mobile primero. */

:root {
  --fondo: #0b0c0e;
  --fondo-2: #111317;
  --panel: #16191e;
  --panel-2: #1d2127;
  --linea: #2a2f37;
  --linea-2: #3b414b;
  --texto: #f2f3ef;
  --texto-2: #b3b9c1;
  --texto-3: #858c96;
  --rojo: #dd1925;          /* el del logo */
  --rojo-vivo: #ff4651;     /* para texto rojo sobre fondo oscuro (contraste AA) */
  --verde: #70d050;         /* el marco iluminado del banco */
  --verde-vivo: #9af574;
  --ambar: #ffb21e;
  --display: 'Big Shoulders Display', 'Arial Narrow', Impact, sans-serif;
  --letra: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --margen: 16px;
  --ancho: 1200px;
  --cabecera: 64px;
  --corte: 14px;            /* esquinas cortadas como los bloques del logo */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-2: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
  interpolate-size: allow-keywords;
}
@media (min-width: 700px) { :root { --margen: 32px; --cabecera: 72px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--cabecera) + 12px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--fondo); color: var(--texto);
  font: 400 1.0625rem/1.6 var(--letra);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p a, .seccion__bajada a { color: var(--verde-vivo); text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 800; line-height: .92; letter-spacing: .005em; text-transform: uppercase; }
h1 em, h2 em { font-style: normal; color: var(--rojo-vivo); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--verde-vivo); outline-offset: 3px; }
::selection { background: var(--rojo); color: #fff; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.envoltura { width: min(var(--ancho), 100% - 2 * var(--margen)); margin-inline: auto; }
.saltar { position: fixed; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--rojo); color: #fff; font-weight: 600; transition: top .2s; }
.saltar:focus { top: 12px; }
svg use { pointer-events: none; }

/* ─── Piezas comunes ─── */
.volanta {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
  font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--verde);
}
.volanta::before { content: ''; width: 22px; height: 3px; background: currentColor; box-shadow: 0 0 10px rgba(112, 208, 80, .7); }
.seccion { position: relative; padding-block: clamp(72px, 12vw, 136px); }
.seccion__cabeza { max-width: 760px; margin-bottom: clamp(32px, 6vw, 56px); }
.seccion__cabeza h2 { font-size: clamp(2.6rem, 9vw, 5.2rem); }
.seccion__bajada { margin-top: 18px; max-width: 620px; color: var(--texto-2); font-size: 1.08rem; }
.subtitulo { margin: 56px 0 20px; font-size: clamp(1.8rem, 5vw, 2.4rem); }

.boton {
  --bg: transparent; --fg: var(--texto);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border: 0; cursor: pointer;
  background: var(--bg); color: var(--fg); text-decoration: none;
  font-weight: 700; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase;
  clip-path: polygon(0 0, calc(100% - var(--corte)) 0, 100% var(--corte), 100% 100%, var(--corte) 100%, 0 calc(100% - var(--corte)));
  transition: transform .25s var(--ease), color .25s;
}
.boton svg { width: 20px; height: 20px; flex: none; }
.boton::before {
  content: ''; position: absolute; inset: 0; z-index: -1; transform: scaleX(0); transform-origin: left;
  background: linear-gradient(90deg, rgba(255, 255, 255, .0), rgba(255, 255, 255, .16));
  transition: transform .45s var(--ease);
}
.boton:hover::before { transform: scaleX(1); }
.boton:hover svg:last-child:not(:first-child) { transform: translateX(3px); }
.boton svg { transition: transform .3s var(--ease); }
.boton:active { transform: scale(.97); }
.boton--rojo { --bg: var(--rojo); --fg: #fff; box-shadow: 0 0 0 0 transparent; }
.boton--rojo:hover { --bg: #ec1f2c; }
.boton--linea { --fg: var(--texto); background: transparent; box-shadow: inset 0 0 0 2px var(--linea-2); }
.boton--linea:hover { box-shadow: inset 0 0 0 2px var(--verde); }
.boton--chico { min-height: 42px; padding: 0 16px; font-size: .82rem; --corte: 10px; }
.boton--ancho { width: 100%; }

/* Marco verde como el del piso del banco */
.marco-verde { position: relative; }
.marco-verde::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  border: 2px solid rgba(112, 208, 80, .55); box-shadow: 0 0 22px rgba(112, 208, 80, .18), inset 0 0 22px rgba(112, 208, 80, .08);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
}

.contador {
  display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px;
  background: var(--rojo); color: #fff; font: 700 .78rem/1 var(--letra); font-variant-numeric: tabular-nums;
}
.contador[data-vacio] { background: var(--linea-2); color: var(--texto-2); }
.contador.salta { animation: salta .5s var(--ease); }
@keyframes salta { 30% { transform: scale(1.45); } 60% { transform: scale(.9); } }
.contador--grande { min-width: 34px; height: 34px; border-radius: 17px; font-size: 1.05rem; }

/* ─── Pantalla de carga: el tablero hace su chequeo al dar contacto ─── */
.carga { position: fixed; inset: 0; z-index: 300; display: grid; place-content: center; justify-items: center; gap: 18px; background: var(--fondo); transition: opacity .5s var(--ease), visibility .5s; }
.carga.listo { opacity: 0; visibility: hidden; }
html:not(.js) .carga { display: none; }
.carga__reloj { width: 150px; }
.carga__arco { fill: none; stroke: var(--linea-2); stroke-width: 6; }
.carga__roja { fill: none; stroke: var(--rojo); stroke-width: 6; }
.carga__aguja { stroke: var(--rojo-vivo); stroke-width: 4; stroke-linecap: round; transform-origin: 100px 100px; transform: rotate(-135deg); animation: barrido 1.1s var(--ease) .1s both; }
.carga__eje { fill: var(--texto); }
.carga__logo { width: 140px; opacity: 0; animation: aparece .5s .35s forwards; }
@keyframes barrido { 50% { transform: rotate(120deg); } 100% { transform: rotate(-135deg); } }
@keyframes aparece { to { opacity: 1; } }

/* ─── Aviso (banner del panel) ─── */
.aviso { position: relative; z-index: 60; padding: 10px var(--margen); background: var(--ambar); color: #1a1200; text-align: center; font-weight: 600; font-size: .95rem; }

/* ─── Cabecera ─── */
.cabecera { position: sticky; top: 0; z-index: 50; height: var(--cabecera); transition: transform .45s var(--ease), background-color .3s, box-shadow .3s; }
.cabecera.es-solida { background: rgba(11, 12, 14, .88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--linea); }
.cabecera.es-oculta { transform: translateY(-100%); }
.cabecera__fila { display: flex; align-items: center; gap: 10px; height: 100%; }
.cabecera__logo { position: relative; z-index: 2; margin-right: auto; flex: none; transition: transform .3s var(--ease); }
/* backdrop-filter y transform encierran a los hijos fixed: con el menú abierto se sacan */
body.menu-abierto .cabecera { -webkit-backdrop-filter: none; backdrop-filter: none; transform: none; background: var(--fondo); }
.cabecera__logo img { width: 100px; height: auto; transition: width .35s var(--ease); }
.cabecera.es-solida .cabecera__logo img { width: 88px; }
.cabecera__consulta { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 10px; text-decoration: none; font-weight: 600; font-size: .88rem; color: var(--texto-2); }
.cabecera__consulta svg { width: 20px; height: 20px; }
.cabecera__consulta:hover { color: var(--texto); }
.cabecera__texto-consulta { display: none; }
.cabecera__wa span { display: none; }
.cabecera__wa svg { width: 20px; height: 20px; }
@media (min-width: 560px) { .cabecera__wa span, .cabecera__texto-consulta { display: inline; } }

.hamburguesa { position: relative; z-index: 2; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; display: grid; place-content: center; gap: 7px; }
.hamburguesa span { display: block; width: 24px; height: 2px; background: var(--texto); transition: transform .35s var(--ease); }
.hamburguesa[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.hamburguesa[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: center; gap: 28px;
  padding: calc(var(--cabecera) + 24px) var(--margen) 40px; background: var(--fondo);
  visibility: hidden; opacity: 0; transition: opacity .35s var(--ease), visibility .35s;
}
.menu.abierto { visibility: visible; opacity: 1; }
.menu__lista { display: grid; gap: 4px; }
.menu__lista a { display: block; padding: 6px 0; text-decoration: none; font: 800 clamp(2.4rem, 11vw, 3.4rem)/1 var(--display); text-transform: uppercase; color: var(--texto); }
.menu__lista a[aria-current="true"] { color: var(--rojo-vivo); }
.menu li, .menu__wa { opacity: 0; transform: translateY(18px); transition: opacity .45s var(--ease), transform .45s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.menu.abierto li, .menu.abierto .menu__wa { opacity: 1; transform: none; }
.menu__wa { align-self: flex-start; }

@media (min-width: 1080px) {
  .hamburguesa, .menu__solo-movil { display: none !important; }
  .menu { position: static; display: block; padding: 0; background: none; visibility: visible; opacity: 1; margin-right: 8px; }
  .menu__lista { display: flex; gap: 2px; }
  .menu li { opacity: 1; transform: none; }
  .menu__lista a { position: relative; padding: 10px 12px; font: 600 .9rem/1 var(--letra); letter-spacing: .04em; color: var(--texto-2); }
  .menu__lista a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--rojo); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
  .menu__lista a:hover { color: var(--texto); }
  .menu__lista a[aria-current="true"] { color: var(--texto); }
  .menu__lista a[aria-current="true"]::after, .menu__lista a:hover::after { transform: scaleX(1); }
}

/* ─── Inicio ─── */
.hero { position: relative; min-height: 100svh; margin-top: calc(-1 * var(--cabecera)); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.hero__foto { position: absolute; inset: 0; }
.hero__foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero__velo { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 12, 14, .7) 0%, rgba(11, 12, 14, .25) 22%, rgba(11, 12, 14, .72) 45%, rgba(11, 12, 14, .9) 70%, var(--fondo) 92%); }
.hero__bajada { text-shadow: 0 1px 12px rgba(0, 0, 0, .8); }
.hero__contenido { position: relative; padding-block: 120px 28px; }
.hero__titulo { font-size: clamp(3.4rem, 15.5vw, 7.6rem); line-height: .86; max-width: 9.5em; }
.hero__titulo em { display: inline-block; }
.hero__bajada { margin-top: 18px; max-width: 520px; font-size: 1.12rem; color: var(--texto-2); }
.hero__acciones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__lema { display: flex; flex-wrap: wrap; gap: 6px 0; margin-top: 28px; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--texto-3); }
.hero__lema li + li::before { content: '|'; margin: 0 10px; color: var(--rojo); }

/* Tacómetro del inicio */
/* En el celular va debajo de los botones, con el «Acelerá» al lado; en compu flota sobre la foto */
.taco { position: relative; z-index: 2; width: min(var(--ancho), 100% - 2 * var(--margen)); margin: 0 auto 36px; display: grid; grid-template-columns: 116px auto; grid-template-rows: auto auto; justify-content: start; align-items: center; column-gap: 18px; }
.taco__svg { grid-row: 1 / 3; }
.taco__boton { align-self: end; }
.taco__ayuda { align-self: start; }
.taco__svg { width: 100%; overflow: visible; filter: drop-shadow(0 8px 24px rgba(0, 0, 0, .6)); }
.taco__svg .fondo-taco { fill: rgba(11, 12, 14, .82); stroke: var(--linea-2); stroke-width: 2; }
.taco__marcas line { stroke: var(--texto-2); stroke-width: 2; }
.taco__marcas line.mayor { stroke: var(--texto); stroke-width: 3; }
.taco__marcas text { fill: var(--texto-2); font: 700 15px var(--display); }
.taco__roja { fill: none; stroke: var(--rojo); stroke-width: 7; }
.taco__aguja { stroke: var(--rojo-vivo); stroke-width: 4; stroke-linecap: round; transform-origin: 120px 120px; }
.taco__eje { fill: var(--texto); stroke: var(--fondo); stroke-width: 3; }
.taco__rpm { fill: var(--texto); font: 800 30px var(--display); font-variant-numeric: tabular-nums; }
.taco__unidad { fill: var(--texto-3); font: 700 11px var(--letra); letter-spacing: .2em; }
.taco__corte { fill: var(--rojo-vivo); font: 900 18px var(--display); letter-spacing: .14em; opacity: 0; }
.taco.en-corte .taco__corte { opacity: 1; }
.taco__luces circle { fill: #26292f; transition: fill .08s; }
.taco__luces circle.on.v { fill: var(--verde); filter: drop-shadow(0 0 5px var(--verde)); }
.taco__luces circle.on.a { fill: var(--ambar); filter: drop-shadow(0 0 5px var(--ambar)); }
.taco__luces circle.on.r { fill: var(--rojo-vivo); filter: drop-shadow(0 0 6px var(--rojo-vivo)); }
.taco.en-corte .taco__luces circle { animation: titila .12s steps(2) infinite; }
@keyframes titila { 50% { fill: #26292f; filter: none; } }
.taco__boton {
  margin-top: -6px; min-height: 40px; padding: 0 18px; border: 0; cursor: pointer; touch-action: none; user-select: none; -webkit-user-select: none;
  background: var(--panel-2); color: var(--texto); font: 800 .95rem/1 var(--display); letter-spacing: .12em; text-transform: uppercase;
  box-shadow: inset 0 0 0 2px var(--linea-2);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: box-shadow .2s, background-color .2s, transform .15s;
}
.taco__boton:hover { box-shadow: inset 0 0 0 2px var(--verde); }
.taco__boton[aria-pressed="true"] { background: var(--rojo); box-shadow: none; transform: scale(.96); }
.taco__ayuda { margin-top: 6px; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--texto-3); }

@media (min-width: 900px) {
  .hero { justify-content: center; min-height: max(640px, 100svh); }
  .hero__foto { left: auto; width: 46%; top: calc(var(--cabecera) + 24px); bottom: 32px; right: var(--margen);
    clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 40px 100%, 0 calc(100% - 40px)); }
  .hero__foto img { object-position: 50% 40%; }
  .hero__velo { background: linear-gradient(90deg, var(--fondo) 50%, rgba(11, 12, 14, 0) 54%), linear-gradient(0deg, rgba(11, 12, 14, .5), transparent 40%); }
  .hero__contenido { padding-block: 140px 80px; }
  .hero__contenido > * { max-width: 52%; }
  .hero__titulo { font-size: clamp(4.4rem, 8.4vw, 8rem); }
  .taco { position: absolute; width: 196px; margin: 0; bottom: 52px; right: calc(var(--margen) + 28px); grid-template-columns: 1fr; justify-items: center; }
  .taco__svg { grid-row: auto; }
  .taco__boton { margin-top: -6px; }
}

/* ─── Servicios ─── */
.servicios { display: grid; gap: 14px; counter-reset: servicio; }
@media (min-width: 640px) { .servicios { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .servicios { grid-template-columns: repeat(4, 1fr); } }
.servicio {
  position: relative; display: flex; flex-direction: column; gap: 12px; padding: 24px 22px 22px;
  background: var(--panel); counter-increment: servicio;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
  transition: background-color .3s, transform .4s var(--ease);
}
.servicio::before { content: counter(servicio, decimal-leading-zero); font: 900 3rem/.8 var(--display); color: transparent; -webkit-text-stroke: 1.5px var(--linea-2); transition: -webkit-text-stroke-color .3s; }
.servicio:hover { background: var(--panel-2); transform: translateY(-3px); }
.servicio:hover::before { -webkit-text-stroke-color: var(--rojo); }
.servicio__tipo { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--verde); }
.servicio h3 { font-size: 1.9rem; }
.servicio p { color: var(--texto-2); font-size: .98rem; flex: 1; }
.servicio__pie { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px solid var(--linea); }
.precio { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--texto-3); }
.sumar { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border: 0; cursor: pointer; background: transparent; color: var(--texto); font-weight: 700; font-size: .85rem; box-shadow: inset 0 0 0 1.5px var(--linea-2); transition: box-shadow .2s, background-color .2s; }
.sumar svg { width: 16px; height: 16px; }
.sumar:hover { box-shadow: inset 0 0 0 1.5px var(--verde); }
.sumar[aria-pressed="true"] { background: rgba(112, 208, 80, .14); box-shadow: inset 0 0 0 1.5px var(--verde); color: var(--verde-vivo); }

/* ─── Ventajas, sobre chapa antideslizante ─── */
.seccion--chapa {
  background-color: var(--fondo-2);
  background-image:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .025) 0 3px, transparent 3px 22px),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, .025) 0 3px, transparent 3px 22px);
  border-block: 1px solid var(--linea);
}
.ventajas__lista { display: grid; gap: 1px; background: var(--linea); border: 1px solid var(--linea); }
@media (min-width: 760px) { .ventajas__lista { grid-template-columns: repeat(2, 1fr); } }
.ventaja { padding: 28px 24px; background: var(--fondo-2); }
.ventaja h3 { display: flex; gap: 12px; align-items: baseline; font-size: 1.75rem; line-height: 1; }
.ventaja h3 span { flex: none; width: 10px; height: 10px; background: var(--verde); box-shadow: 0 0 12px var(--verde); transform: translateY(-4px) rotate(45deg); }
.ventaja p { margin-top: 12px; color: var(--texto-2); }

/* ─── Banco de prueba ─── */
.banco__grilla { display: grid; gap: 40px; }
.banco__texto > p { margin-top: 18px; color: var(--texto-2); max-width: 520px; }
.banco__texto h2 { font-size: clamp(2.8rem, 10vw, 5.6rem); }
.banco__puntos { display: grid; gap: 10px; margin: 24px 0 28px; }
.banco__puntos li { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.banco__puntos svg { width: 20px; height: 20px; color: var(--verde); flex: none; }
.banco__foto { margin: 0; overflow: hidden; clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px)); }
.banco__foto img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transform: scale(1.08); will-change: transform; }
.curva { margin: 0; padding: 22px; background: var(--panel); border: 1px solid var(--linea); }
.curva__titulo { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; margin-bottom: 14px; font-weight: 700; }
.curva__sello { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ambar); }
.curva svg { width: 100%; overflow: visible; }
.curva__grilla path { fill: none; stroke: var(--linea); stroke-width: 1; }
.curva__rpm text { fill: var(--texto-3); font: 600 13px var(--letra); text-anchor: middle; }
.curva path[pathLength] { fill: none; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.curva__potencia { stroke: var(--rojo-vivo); filter: drop-shadow(0 0 6px rgba(255, 70, 81, .5)); }
.curva__torque { stroke: var(--verde); filter: drop-shadow(0 0 6px rgba(112, 208, 80, .5)); }
.curva path.curva__antes { stroke: #69717d; stroke-width: 3; stroke-dasharray: .012 .016; stroke-dashoffset: 0; opacity: 0; }
.curva.visible path.curva__antes { opacity: 1; transition: opacity 1.4s var(--ease); }
.curva.visible path[pathLength] { transition: stroke-dashoffset 2.2s var(--ease-2); stroke-dashoffset: 0; }
.curva.visible .curva__torque { transition-delay: .25s; }
.curva.visible .curva__potencia { transition-delay: .5s; }
.curva__leyenda { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 14px; font-size: .88rem; color: var(--texto-2); }
.curva__leyenda li::before { content: ''; display: inline-block; width: 18px; height: 4px; margin-right: 8px; vertical-align: middle; }
.l-pot::before { background: var(--rojo-vivo); } .l-tor::before { background: var(--verde); } .l-antes::before { background: repeating-linear-gradient(90deg, #69717d 0 5px, transparent 5px 8px); }
@media (min-width: 900px) {
  .banco__grilla { grid-template-columns: 1fr 1.1fr; align-items: center; column-gap: 56px; }
  .curva { grid-column: 1 / -1; }
}

/* ─── Compatibilidad ─── */
.buscador { display: grid; gap: 12px; }
@media (min-width: 700px) { .buscador { grid-template-columns: 260px 1fr; } }
.campo { display: grid; gap: 6px; }
.campo__etiqueta { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--texto-3); }
.campo input, .campo select, .campo textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 0; border-radius: 0;
  background: var(--panel); box-shadow: inset 0 0 0 1.5px var(--linea); color: var(--texto);
  transition: box-shadow .2s;
}
.campo textarea { resize: vertical; min-height: 96px; }
.campo select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--texto-2) 50%), linear-gradient(-45deg, transparent 50%, var(--texto-2) 50%); background-position: calc(100% - 20px) 22px, calc(100% - 14px) 22px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.campo input:hover, .campo select:hover, .campo textarea:hover { box-shadow: inset 0 0 0 1.5px var(--linea-2); }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--verde); }
.campo input::placeholder, .campo textarea::placeholder { color: var(--texto-3); }
.campo [aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--rojo-vivo); }
.error { color: var(--rojo-vivo); font-size: .88rem; font-weight: 600; }
.buscador__estado { margin: 18px 0 14px; color: var(--texto-2); }
.resultados { display: grid; gap: 8px; }
@media (min-width: 760px) { .resultados { grid-template-columns: repeat(2, 1fr); align-items: start; } }
.modelo { background: var(--panel); }
.modelo summary { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 14px 16px; cursor: pointer; list-style: none; font-weight: 700; }
.modelo summary::-webkit-details-marker { display: none; }
.modelo summary small { color: var(--texto-3); font-weight: 600; white-space: nowrap; }
.modelo summary b { color: var(--verde); font-weight: 700; margin-right: 6px; }
.modelo ul { padding: 0 16px 14px; display: grid; gap: 4px; font-size: .86rem; color: var(--texto-2); font-variant-numeric: tabular-nums; }
.modelo li { padding: 5px 0; border-top: 1px solid var(--linea); }
.sin-resultado { display: grid; gap: 14px; justify-items: start; padding: 24px; background: var(--panel); }
.sin-resultado strong { font: 800 1.6rem/1 var(--display); text-transform: uppercase; }

/* ─── Marcas del rubro ─── */
.marcas { padding-block: 64px; border-block: 1px solid var(--linea); overflow: hidden; }
.marcas__cabeza { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 8px 24px; margin-bottom: 28px; }
.marcas__cabeza h2 { font-size: clamp(2rem, 6vw, 3rem); }
.marcas__cabeza p { color: var(--texto-2); max-width: 420px; font-size: .95rem; }
.marcas__cinta { display: grid; gap: 10px; }
.fila-marcas { display: flex; width: max-content; animation: cinta 60s linear infinite; }
.fila-marcas:nth-child(2) { animation-direction: reverse; animation-duration: 70s; }
.marcas__cinta:hover .fila-marcas { animation-play-state: paused; }
.fila-marcas span { padding: 0 22px; font: 900 clamp(2rem, 6vw, 3.4rem)/1.1 var(--display); text-transform: uppercase; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.2px var(--texto-3); transition: color .3s, -webkit-text-stroke-color .3s; }
.fila-marcas span:nth-child(3n + 1) { color: var(--texto-2); -webkit-text-stroke: 0; }
.fila-marcas span:hover { color: var(--texto); -webkit-text-stroke-color: transparent; }
@keyframes cinta { to { transform: translateX(-50%); } }

/* ─── Armá tu consulta ─── */
.consulta { background: linear-gradient(180deg, var(--fondo), var(--fondo-2)); }
.consulta__grilla { display: grid; gap: 32px; }
.consulta__paso { margin: 0; padding: 0; border: 0; min-width: 0; }
.consulta__paso legend { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; padding: 0; font: 800 1.7rem/1 var(--display); text-transform: uppercase; }
.paso { display: grid; place-items: center; width: 34px; height: 34px; background: var(--verde); color: var(--fondo); font-size: 1.2rem; clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px)); }
.opciones { display: grid; gap: 8px; }
.opcion { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; padding: 14px 14px 14px 18px; background: var(--panel); box-shadow: inset 3px 0 0 transparent; transition: box-shadow .25s, background-color .25s; }
.opcion.elegida { background: var(--panel-2); box-shadow: inset 3px 0 0 var(--verde); }
.opcion strong { display: block; font-size: 1.05rem; }
.opcion small { display: block; color: var(--texto-3); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.cantidad { display: inline-flex; align-items: center; gap: 2px; }
.cantidad button { width: 40px; height: 40px; border: 0; cursor: pointer; display: grid; place-items: center; background: var(--panel-2); color: var(--texto); box-shadow: inset 0 0 0 1.5px var(--linea-2); transition: box-shadow .2s; }
.cantidad button:hover { box-shadow: inset 0 0 0 1.5px var(--verde); }
.cantidad button svg { width: 16px; height: 16px; }
.cantidad output { min-width: 30px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.campos { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.campos .campo { grid-column: span 2; }
@media (min-width: 520px) { .campos .campo { grid-column: span 1; } .campos .campo--ancho { grid-column: 1 / -1; } }
.consulta__lado { display: grid; gap: 32px; align-content: start; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; background: var(--panel); box-shadow: inset 0 0 0 1.5px var(--linea); font-weight: 600; transition: box-shadow .2s, background-color .2s; }
.chip input:checked + span { background: rgba(112, 208, 80, .12); box-shadow: inset 0 0 0 2px var(--verde); }
.chip input:focus-visible + span { outline: 3px solid var(--verde-vivo); outline-offset: 2px; }
.trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.resumen { padding: 24px 22px; background: var(--panel); display: grid; gap: 14px; }
.resumen__cabeza { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.resumen__cabeza h3 { font-size: 1.8rem; }
.resumen__total { display: inline-flex; align-items: center; gap: 8px; color: var(--texto-2); font-weight: 600; }
.resumen__lista { display: grid; gap: 6px; }
.resumen__lista li { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--linea); animation: entra .4s var(--ease); }
.resumen__lista .precio { white-space: nowrap; }
.resumen__lista button { width: 32px; height: 32px; border: 0; cursor: pointer; display: grid; place-items: center; background: transparent; color: var(--texto-3); }
.resumen__lista button:hover { color: var(--rojo-vivo); }
.resumen__lista button svg { width: 16px; height: 16px; }
.resumen__vacio, .resumen__nota { color: var(--texto-2); font-size: .92rem; }
.resumen__vaciar { justify-self: center; min-height: 40px; border: 0; background: transparent; color: var(--texto-3); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.resumen__vaciar:hover { color: var(--texto); }
#enviar-consulta[aria-disabled="true"] { --bg: var(--linea-2); --fg: var(--texto-2); }
@keyframes entra { from { opacity: 0; transform: translateX(-8px); } }
@media (min-width: 980px) {
  .consulta__grilla { grid-template-columns: 1fr 1.15fr; align-items: start; column-gap: 48px; }
  .consulta__grilla > .consulta__paso { position: sticky; top: calc(var(--cabecera) + 20px); }
}

/* ─── Trabajos ─── */
.galeria { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 760px) { .galeria { grid-template-columns: repeat(4, 1fr); gap: 12px; } }
.galeria li:nth-child(6n + 1) { grid-column: span 2; grid-row: span 2; }
.foto-trabajo { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; cursor: zoom-in; background: var(--panel); overflow: hidden; text-align: left; color: var(--texto); }
.foto-trabajo img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .8s var(--ease), filter .4s; }
.galeria li:nth-child(6n + 1) .foto-trabajo img { aspect-ratio: auto; min-height: 100%; }
.foto-trabajo:hover img { transform: scale(1.05); }
.foto-trabajo span { position: absolute; inset: auto 0 0; padding: 40px 12px 12px; background: linear-gradient(transparent, rgba(11, 12, 14, .92)); }
.foto-trabajo strong { display: block; font: 800 1.15rem/1 var(--display); text-transform: uppercase; }
.foto-trabajo small { display: block; margin-top: 4px; font-size: .78rem; color: var(--texto-2); }
.videos { display: grid; gap: 12px; }
@media (min-width: 760px) { .videos { grid-template-columns: repeat(3, 1fr); } }
.video { position: relative; aspect-ratio: 16 / 9; background: var(--panel); overflow: hidden; }
.video button { position: absolute; inset: 0; width: 100%; padding: 0; border: 0; cursor: pointer; background: none; color: var(--texto); }
.video img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.7); transition: filter .3s, transform .6s var(--ease); }
.video button:hover img { filter: brightness(.9); transform: scale(1.04); }
.video__play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px; display: grid; place-items: center; background: var(--rojo); clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px)); }
.video__play svg { width: 26px; height: 26px; }
.video__titulo { position: absolute; left: 12px; right: 12px; bottom: 10px; font-weight: 700; font-size: .92rem; text-align: left; text-shadow: 0 1px 8px #000; }
.video iframe { width: 100%; height: 100%; border: 0; }

/* Visor de fotos */
.visor { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(6, 7, 8, .96); color: var(--texto); }
.visor::backdrop { background: rgba(0, 0, 0, .7); }
.visor[open] { display: grid; place-items: center; animation: aparece .3s; }
.visor__figura { margin: 0; display: grid; gap: 12px; justify-items: center; padding: 64px 16px 24px; }
.visor__figura img { max-width: min(92vw, 1200px); max-height: 78svh; width: auto; object-fit: contain; }
.visor__figura figcaption { text-align: center; color: var(--texto-2); }
.visor__boton { position: fixed; width: 48px; height: 48px; border: 0; cursor: pointer; display: grid; place-items: center; background: var(--panel-2); color: var(--texto); }
.visor__boton svg { width: 22px; height: 22px; }
.visor__boton:hover { background: var(--rojo); }
.visor__cerrar { top: 12px; right: 12px; }
.visor__ant { left: 12px; top: 50%; } .visor__ant svg { transform: scaleX(-1); }
.visor__sig { right: 12px; top: 50%; }

/* ─── Ubicación ─── */
.ubicacion__grilla { display: grid; gap: 20px; }
@media (min-width: 960px) { .ubicacion__grilla { grid-template-columns: 1.4fr 1fr; align-items: stretch; } }
.mapa { min-height: 340px; background: var(--panel); clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px)); }
@media (min-width: 960px) { .mapa { min-height: 480px; } }
.mapa__cargando { display: flex; align-items: center; justify-content: center; gap: 8px; height: 100%; min-height: inherit; color: var(--texto-3); }
.mapa__cargando svg { width: 20px; height: 20px; }
.mapa .leaflet-container { width: 100%; height: 100%; min-height: inherit; background: #1b1e23; font: inherit; }
.mapa .leaflet-tile-pane { filter: grayscale(1) invert(1) brightness(.88) contrast(.92); }
.mapa .leaflet-control-attribution { background: rgba(11, 12, 14, .8); color: var(--texto-3); font-size: 11px; }
.mapa .leaflet-control-attribution a { color: var(--texto-2); }
.mapa .leaflet-bar a { background: var(--panel-2); color: var(--texto); border-color: var(--linea); }
.mapa .leaflet-popup-content-wrapper, .mapa .leaflet-popup-tip { background: var(--panel-2); color: var(--texto); border-radius: 0; }
.mapa .leaflet-popup-content { margin: 14px 16px; line-height: 1.45; }
.mapa .leaflet-popup-content a { color: var(--verde-vivo); }
.pin { position: relative; width: 56px; height: 56px; }
.pin__marca { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); display: grid; place-items: center; width: 52px; height: 30px; background: var(--rojo); clip-path: polygon(0 0, 100% 0, 100% 100%, 60% 100%, 50% 130%, 40% 100%, 0 100%); animation: pin-salta 2.4s var(--ease) infinite; }
.pin__marca { font: 900 17px/1 var(--display); color: #fff; letter-spacing: .04em; }
.pin__onda { position: absolute; left: 50%; bottom: 2px; width: 18px; height: 8px; margin-left: -9px; border-radius: 50%; border: 2px solid var(--verde); animation: onda 2.4s ease-out infinite; }
.pin__onda + .pin__onda { animation-delay: 1.2s; }
@keyframes onda { from { transform: scale(1); opacity: 1; } to { transform: scale(5); opacity: 0; } }
@keyframes pin-salta { 0%, 60%, 100% { transform: translate(-50%, 0); } 30% { transform: translate(-50%, -8px); } }

.tablero { display: grid; gap: 18px; align-content: start; padding: 24px 22px; background: var(--panel); border: 1px solid var(--linea); }
.tablero__luces { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-bottom: 18px; border-bottom: 1px solid var(--linea); }
.lampara { padding: 6px 10px; font: 900 .95rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: #868c95; background: #15171b; box-shadow: inset 0 0 0 1.5px #2a2e35; transition: color .3s, box-shadow .3s, text-shadow .3s; }
.lampara.prendida[data-lampara="abierto"] { color: var(--verde-vivo); box-shadow: inset 0 0 0 1.5px var(--verde), 0 0 18px rgba(112, 208, 80, .35); text-shadow: 0 0 10px var(--verde); }
.lampara.prendida[data-lampara="cerrado"] { color: var(--rojo-vivo); box-shadow: inset 0 0 0 1.5px var(--rojo), 0 0 18px rgba(221, 25, 37, .35); text-shadow: 0 0 10px var(--rojo); }
.tablero__estado { flex-basis: 100%; font-weight: 600; }
.horario { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.horario th, .horario td { padding: 8px 0; text-align: left; border-bottom: 1px solid var(--linea); font-weight: 500; }
.horario th { text-transform: capitalize; color: var(--texto-2); font-weight: 600; }
.horario td { text-align: right; }
.horario td span { display: inline-block; white-space: nowrap; }
.horario td span + span { margin-left: 10px; }
.horario tr.hoy th, .horario tr.hoy td { color: var(--texto); font-weight: 700; }
.horario tr.hoy th::before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 8px; background: var(--rojo); transform: rotate(45deg) translateY(-2px); }
.tablero__nota { font-size: .85rem; color: var(--texto-3); }
.tablero__dir { display: flex; gap: 12px; font-style: normal; color: var(--texto-2); }
.tablero__dir svg { width: 22px; height: 22px; flex: none; color: var(--rojo-vivo); margin-top: 2px; }
.tablero__dir strong { color: var(--texto); }
.tablero__botones { display: grid; gap: 10px; }
@media (min-width: 520px) { .tablero__botones { grid-template-columns: 1fr 1fr; } }

/* ─── Opiniones ─── */
.opiniones__grilla { display: grid; gap: 16px; }
@media (min-width: 960px) { .opiniones__grilla { grid-template-columns: 300px 1fr; } }
.nota-google { display: grid; align-content: start; gap: 8px; padding: 28px 24px; background: var(--panel); text-decoration: none; transition: background-color .3s; }
.nota-google:hover { background: var(--panel-2); }
.nota-google__num { font: 900 5.5rem/.85 var(--display); }
.estrellas { --p: 94%; width: 132px; height: 24px; background: linear-gradient(90deg, var(--ambar) var(--p), var(--linea-2) var(--p));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.9 6.6 7.1.6-5.4 4.7 1.6 7L12 17.3 5.8 20.9l1.6-7L2 9.2l7.1-.6z'/%3E%3C/svg%3E") 0 0 / 26.4px 24px repeat-x;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.9 6.6 7.1.6-5.4 4.7 1.6 7L12 17.3 5.8 20.9l1.6-7L2 9.2l7.1-.6z'/%3E%3C/svg%3E") 0 0 / 26.4px 24px repeat-x; }
.nota-google small { color: var(--texto-3); }
.nota-google span:last-child { color: var(--verde-vivo); font-weight: 700; }
.resenas { display: grid; gap: 16px; }
@media (min-width: 760px) { .resenas { grid-template-columns: repeat(3, 1fr); } }
.resena { margin: 0; display: grid; gap: 16px; align-content: space-between; padding: 26px 22px; background: var(--panel); border-top: 3px solid var(--rojo); }
.resena blockquote { margin: 0; font-size: 1.12rem; line-height: 1.5; }
.resena blockquote::before { content: '“'; display: block; height: 30px; font: 900 4rem/1 var(--display); color: var(--rojo); }
.resena figcaption { color: var(--texto-3); font-size: .88rem; }
.resena figcaption strong { color: var(--texto); display: block; }

/* ─── Preguntas ─── */
@media (min-width: 960px) { .preguntas { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: start; } .preguntas .seccion__cabeza { position: sticky; top: calc(var(--cabecera) + 24px); } }
.faq { border-top: 1px solid var(--linea); }
.faq details { border-bottom: 1px solid var(--linea); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none; font-weight: 700; font-size: 1.1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 18px; height: 18px; background: linear-gradient(var(--verde), var(--verde)) center / 100% 2px no-repeat, linear-gradient(var(--verde), var(--verde)) center / 2px 100% no-repeat; transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq summary:hover { color: var(--verde-vivo); }
.faq details p { padding: 0 32px 22px 0; color: var(--texto-2); }
.faq details::details-content { height: 0; overflow: clip; transition: height .4s var(--ease), content-visibility .4s allow-discrete; }
.faq details[open]::details-content { height: auto; }

/* ─── Contacto ─── */
.contacto__lista { display: grid; gap: 10px; }
@media (min-width: 700px) { .contacto__lista { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .contacto__lista { grid-template-columns: repeat(4, 1fr); } }
.tarjeta-contacto { display: flex; gap: 14px; align-items: center; height: 100%; padding: 22px 20px; background: var(--panel); text-decoration: none; transition: background-color .3s, transform .3s var(--ease); }
.tarjeta-contacto:hover { background: var(--panel-2); transform: translateY(-2px); }
.tarjeta-contacto svg { width: 28px; height: 28px; flex: none; color: var(--verde); }
.tarjeta-contacto small { display: block; color: var(--texto-3); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.tarjeta-contacto strong { display: block; font-size: 1.05rem; overflow-wrap: anywhere; }
.tarjeta-contacto--wa { background: var(--rojo); color: #fff; }
.tarjeta-contacto--wa svg, .tarjeta-contacto--wa small { color: #fff; }
.tarjeta-contacto--wa:hover { background: #ec1f2c; }
.redes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.redes a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; text-decoration: none; font-weight: 600; box-shadow: inset 0 0 0 1.5px var(--linea-2); transition: box-shadow .2s, color .2s; }
.redes a:hover { box-shadow: inset 0 0 0 1.5px var(--verde); color: var(--verde-vivo); }
.redes svg { width: 20px; height: 20px; }
.sucursales { margin-top: 20px; color: var(--texto-2); }
.sucursales a { color: var(--verde-vivo); text-underline-offset: 3px; }

/* ─── Pie ─── */
.pie { padding-block: 48px calc(48px + env(safe-area-inset-bottom)); border-top: 1px solid var(--linea); color: var(--texto-2); font-size: .95rem; }
.pie__grilla { display: grid; gap: 18px; justify-items: start; }
.pie a { text-underline-offset: 3px; }
.pie__chico { color: var(--texto-3); font-size: .85rem; }
@media (min-width: 760px) { .pie__grilla { grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; } }

/* ─── Flotantes ─── */
.wa-flotante {
  position: fixed; z-index: 40; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom));
  display: grid; place-items: center; width: 58px; height: 58px; background: var(--rojo); color: #fff;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  box-shadow: 0 10px 30px rgba(0, 0, 0, .5); transition: transform .35s var(--ease), opacity .3s;
}
.wa-flotante svg { width: 30px; height: 30px; }
.wa-flotante:hover { transform: translateY(-3px) scale(1.04); }
body.menu-abierto .wa-flotante, .wa-flotante.escondido { opacity: 0; pointer-events: none; transform: translateY(20px); }
.aviso-flotante {
  position: fixed; z-index: 60; left: 16px; right: 16px; bottom: calc(88px + env(safe-area-inset-bottom)); width: fit-content; margin-inline: auto; text-wrap: balance;
  padding: 12px 18px; background: var(--texto); color: var(--fondo); font-weight: 600; text-align: center;
  transform: translateY(20px); opacity: 0; pointer-events: none; transition: transform .35s var(--ease), opacity .35s;
}
.aviso-flotante.visible { transform: none; opacity: 1; }

/* ─── Asistente virtual (apagado por defecto) ─── */
.chat { position: fixed; z-index: 45; right: 16px; bottom: calc(86px + env(safe-area-inset-bottom)); width: min(360px, calc(100% - 32px)); }
.chat__panel { display: grid; grid-template-rows: auto 1fr auto auto; height: min(480px, 70svh); background: var(--panel); border: 1px solid var(--linea-2); box-shadow: 0 20px 50px rgba(0, 0, 0, .6); }
.chat__panel[hidden] { display: none; }
.chat__cabeza { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--linea); font-weight: 700; }
.chat__cabeza button { width: 36px; height: 36px; border: 0; background: none; color: var(--texto); cursor: pointer; display: grid; place-items: center; }
.chat__cabeza svg { width: 18px; height: 18px; }
.chat__mensajes { overflow-y: auto; padding: 14px; display: grid; gap: 10px; align-content: start; }
.chat__msj { max-width: 85%; padding: 10px 12px; font-size: .95rem; background: var(--panel-2); white-space: pre-line; }
.chat__msj--yo { justify-self: end; background: rgba(112, 208, 80, .16); }
.chat__form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--linea); }
.chat__form input { flex: 1; min-height: 44px; padding: 0 12px; border: 0; background: var(--fondo-2); box-shadow: inset 0 0 0 1.5px var(--linea); }
.chat__humano { padding: 0 10px 10px; }
.chat__abrir { margin-left: auto; display: flex; }

/* ─── Apariciones al bajar ─── */
.js [data-revelar] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 70ms); }
.js [data-revelar].visible { opacity: 1; transform: none; }
.palabra { display: inline-block; overflow: hidden; vertical-align: top; padding: .16em 0 .06em; margin: -.16em 0 -.06em; }
.palabra > span { display: inline-block; transform: translateY(105%); transition: transform .9s var(--ease-2); transition-delay: calc(var(--p, 0) * 60ms); }
.visible .palabra > span, .palabra.visible > span, [data-palabras].visible .palabra > span { transform: none; }

/* ─── Menos movimiento ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js [data-revelar] { opacity: 1; transform: none; }
  .palabra > span { transform: none; }
  .curva path[pathLength] { stroke-dashoffset: 0; }
  .fila-marcas { width: auto; flex-wrap: wrap; animation: none; }
  .fila-marcas span[aria-hidden="true"] { display: none; }
  .banco__foto img { transform: none; }
  .carga { display: none; }
}
