/* =====================================================================
 * SCAR AUTOREPUESTOS (Carros) — «Night Drive»
 * =====================================================================
 * Familia del grupo: noche profunda, brillo naranja, vidrio (como Motos).
 * Personalidad de Carros: autopista de noche. Letra ancha (Unbounded),
 * estelas de luz que pasan, piso en perspectiva que avanza, el carro que
 * se dibuja solo con el faro encendido, bordes que giran, marquesina.
 * Solo se viste por encima: catálogo, pedido y bot siguen siendo los del
 * panel. Lo inyecta nginx (con carros.js).
 * ===================================================================== */
@font-face { font-family: "Unbounded"; font-weight: 500; font-display: swap; src: url(/tienda-estilo/fuentes/unbounded-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Unbounded"; font-weight: 700; font-display: swap; src: url(/tienda-estilo/fuentes/unbounded-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Unbounded"; font-weight: 800; font-display: swap; src: url(/tienda-estilo/fuentes/unbounded-latin-800-normal.woff2) format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 400; font-display: swap; src: url(/tienda-estilo/fuentes/manrope-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 600; font-display: swap; src: url(/tienda-estilo/fuentes/manrope-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 700; font-display: swap; src: url(/tienda-estilo/fuentes/manrope-latin-700-normal.woff2) format("woff2"); }

@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

:root {
  --naranja: #FF5F1F;
  --naranja-claro: #FF8A3D;
  --naranja-oscuro: #E4480A;
  --ambar: #FFB020;
  --hielo: #7DD3FC;
  --electrico: #3B82F6;
  --azul: #0A0E1C;
  --fondo: #05070F;
  --gris: #0A0E1C;
  --gris-2: #121830;
  --texto: #ECEFF7;
  --texto-suave: #98A2BD;
  --borde: rgba(255,255,255,.09);
  --verde: #34D399;
  --grad: linear-gradient(100deg, #FF5F1F, #FF8A3D 45%, #FFB020);
  --vidrio: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.012));
  --ancha: "Unbounded", "Manrope", system-ui, sans-serif;
  --sombra: 0 10px 30px rgba(0,0,0,.4);
  --sombra-fuerte: 0 24px 60px rgba(0,0,0,.55);
}
html { overflow-x: clip; scroll-behavior: smooth; }
body {
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--fondo); color: var(--texto);
}
::selection { background: var(--naranja); color: #140600; }
h1, h2, h3, .seccion h2, .hero h1 { font-family: var(--ancha); }

/* ---------------- Barra de avance (al bajar) ---------------- */
.c-avance {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 9999;
  background: var(--grad); transform-origin: 0 50%; transform: scaleX(var(--p, 0));
  box-shadow: 0 0 12px rgba(255,95,31,.7); pointer-events: none;
}

/* ---------------- Barra de vidrio ---------------- */
.barra {
  background: rgba(5,7,15,.62); border-bottom: 1px solid rgba(255,255,255,.06);
  -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
}
.barra.pegada { background: rgba(5,7,15,.82); box-shadow: 0 12px 34px rgba(0,0,0,.5); }
.marca-logo { background: #fff; border-radius: 12px; padding: 3px; height: 40px; box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 6px 18px rgba(255,95,31,.25); }
.marca-texto strong { color: #fff; font-family: var(--ancha); font-weight: 700; letter-spacing: .04em; font-size: 14.5px; }
.marca-texto small { color: var(--texto-suave); font-size: 11px; }
@media (max-width: 560px) { .marca-texto strong { font-size: 12.5px; white-space: nowrap; } .marca-texto small { display: none; } }
.menu a { position: relative; color: var(--texto-suave); font-weight: 600; white-space: nowrap; padding: 8px 9px; font-size: 13.5px; background: none !important; }
.menu a::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 3px; height: 2px; border-radius: 2px;
  background: var(--grad); transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.menu a:hover, .menu a.activo { color: #fff; }
.menu a:hover::after, .menu a.activo::after { transform: scaleX(1); }
@media (max-width: 1280px) { .menu a { padding: 8px 7px; font-size: 13px; } }
.btn-pedido { background: var(--grad); color: #160700; border-radius: 999px; font-weight: 700; box-shadow: 0 8px 24px rgba(255,95,31,.38); transition: transform .2s, box-shadow .2s; }
.btn-pedido:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(255,95,31,.5); background: var(--grad); }
.carrito-cuenta { background: #0A0E1C !important; color: #fff !important; }
.btn-menu { color: #fff !important; border-color: rgba(255,255,255,.18) !important; background: rgba(255,255,255,.05) !important; }
@media (max-width: 980px) { .menu { background: rgba(8,11,22,.97) !important; border-color: var(--borde) !important; } .menu a::after { display: none; } }

/* ---------------- Portada: autopista de noche ---------------- */
.hero { background: var(--fondo); isolation: isolate; }
@media (min-width: 901px) { .hero { min-height: min(92vh, 860px); display: flex; flex-direction: column; } .hero-interior { flex: 1; width: 100%; } }
.hero-fondo {
  overflow: hidden;
  background:
    radial-gradient(1000px 520px at 50% 118%, rgba(255,95,31,.28), transparent 60%),
    linear-gradient(180deg, #060812 0%, #0A0F22 55%, #120C18 100%);
}
/* Auroras que derivan */
.hero-fondo::before, .hero-fondo::after, .c-aurora {
  content: ""; position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none;
}
.hero-fondo::before { width: 620px; height: 420px; top: -140px; right: -80px; background: radial-gradient(closest-side, rgba(255,95,31,.55), transparent); }
.hero-fondo::after  { width: 560px; height: 380px; top: 10%; left: -160px; background: radial-gradient(closest-side, rgba(59,130,246,.38), transparent); }
.c-aurora { width: 460px; height: 300px; top: 30%; left: 42%; background: radial-gradient(closest-side, rgba(255,176,32,.22), transparent); }

/* Estrellas finas */
.c-cielo { position: absolute; inset: 0 0 45% 0; pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(255,255,255,.7), transparent 60%),
    radial-gradient(1px 1px at 28% 42%, rgba(255,255,255,.45), transparent 60%),
    radial-gradient(1.4px 1.4px at 47% 12%, rgba(255,255,255,.8), transparent 60%),
    radial-gradient(1px 1px at 63% 33%, rgba(255,255,255,.5), transparent 60%),
    radial-gradient(1.2px 1.2px at 78% 9%, rgba(255,255,255,.65), transparent 60%),
    radial-gradient(1px 1px at 91% 38%, rgba(255,255,255,.4), transparent 60%),
    radial-gradient(1px 1px at 6% 55%, rgba(255,255,255,.35), transparent 60%),
    radial-gradient(1.3px 1.3px at 36% 6%, rgba(255,255,255,.6), transparent 60%);
}

/* Piso en perspectiva que avanza */
.c-piso {
  position: absolute; left: -50%; right: -50%; bottom: 0; height: 52%;
  background-image:
    linear-gradient(rgba(255,138,61,.8) 2px, transparent 2px),
    linear-gradient(90deg, rgba(125,211,252,.45) 2px, transparent 2px);
  background-size: 90px 60px; background-position: 0 0, 50% 0;
  transform: perspective(360px) rotateX(58deg); transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0,0,0,.6) 40%, transparent 85%); mask-image: linear-gradient(to top, #000 0%, rgba(0,0,0,.6) 40%, transparent 85%);
  opacity: .55;
}
/* Estelas de luz (tráfico que pasa) */
.c-carretera { position: absolute; inset: 0; pointer-events: none; }
.c-carretera i {
  position: absolute; left: 0; top: var(--t, 60%); height: 2px; width: var(--w, 240px); border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--c, #FF5F1F) 70%, #fff);
  box-shadow: 0 0 12px var(--c, #FF5F1F), 0 0 2px var(--c, #FF5F1F);
  opacity: 0; transform: translateX(-120%);
}
.c-carretera i.al-reves { background: linear-gradient(270deg, transparent, var(--c) 70%, #fff); }

/* El carro: trazo en hielo que se dibuja solo, faro encendido */
.hero-carro { color: var(--hielo); opacity: .34; filter: drop-shadow(0 0 10px rgba(125,211,252,.55)); z-index: 0; }
.hero-carro svg path, .hero-carro svg circle { stroke-dasharray: 1400; stroke-dashoffset: 0; }
.c-faro {
  position: absolute; left: 91.5%; top: 54%; width: 42%; height: 150px; margin-top: -75px;
  background: radial-gradient(ellipse 95% 42% at 3% 50%, rgba(255,224,170,.55), rgba(255,176,32,.14) 50%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 35%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 35%, transparent 100%);
  filter: blur(5px); transform-origin: 0 50%; pointer-events: none;
}
.c-faro::before { content: ""; position: absolute; left: -6px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: #FFE6B8; box-shadow: 0 0 18px 6px rgba(255,200,120,.9); }
.c-trasera { position: absolute; left: 10.6%; top: 52%; width: 9px; height: 9px; border-radius: 50%; background: #FF3B2F; box-shadow: 0 0 16px 5px rgba(255,59,47,.75); }

/* Foco que sigue al cursor */
.c-foco { position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(420px circle at var(--mx, 70%) var(--my, 30%), rgba(255,138,61,.13), transparent 60%); }

.hero-interior { z-index: 1; }
.hero-etiqueta {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); border-radius: 999px;
  font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: 11.5px; color: #DCE6F5;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); padding: 7px 16px 7px 12px;
}
.hero-etiqueta::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--verde); margin-right: 10px; box-shadow: 0 0 0 0 rgba(52,211,153,.6); vertical-align: 0; }

/* Titular en tres tiempos */
.hero h1 { font-weight: 800; letter-spacing: -.01em; line-height: 1; text-wrap: initial; font-size: clamp(30px, 4.4vw, 50px); margin-bottom: 22px; }
.hero h1 .c-kicker { display: block; font-family: "Manrope", sans-serif; font-weight: 600; font-size: .44em; letter-spacing: .01em; color: #C9D2E6; margin-bottom: .35em; line-height: 1.2; }
.hero h1 .c-grande {
  display: block; text-transform: uppercase; font-size: clamp(27px, 5.25vw, 68px); letter-spacing: -.02em; line-height: .98;
  background: linear-gradient(100deg, #FF5F1F 0%, #FF8A3D 25%, #FFD08A 45%, #FFB020 60%, #FF5F1F 100%);
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 26px rgba(255,95,31,.35));
}
.hero h1 .c-para { display: flex; align-items: baseline; gap: .35em; font-size: .5em; font-weight: 700; margin-top: .45em; color: #fff; letter-spacing: 0; }
.c-rueda { position: relative; display: inline-block; height: 1.25em; overflow: hidden; vertical-align: bottom; min-width: 6ch; }
.c-rueda b {
  display: block; height: 1.25em; line-height: 1.25em; font-weight: 800; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.4px var(--hielo); text-shadow: 0 0 22px rgba(125,211,252,.35);
}
.c-rueda-in { display: block; transition: transform .7s cubic-bezier(.7,-0.3,.25,1.35); }
.hero h1 .c-grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-texto > p { color: #B6C0D6; opacity: 1; font-size: 17px; }

/* Botones con destello */
.btn-principal, .btn-whatsapp, .buscador-grande button, .btn-agregar { position: relative; overflow: hidden; isolation: isolate; }
.btn-principal { background: var(--grad); color: #160700; border-radius: 999px; padding: 15px 30px; box-shadow: 0 14px 34px rgba(255,95,31,.42); font-weight: 800; letter-spacing: .02em; }
.btn-principal:hover { background: var(--grad); transform: translateY(-2px) scale(1.02); box-shadow: 0 18px 40px rgba(255,95,31,.55); }
.btn-principal::after, .btn-whatsapp::after, .buscador-grande button::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-20deg);
}
.btn-whatsapp { border-radius: 999px; color: #04210F; box-shadow: 0 12px 30px rgba(37,211,102,.32); }
.btn-whatsapp::after { z-index: 0; }

.hero-sellos { gap: 10px; }
.sello {
  flex-direction: row; align-items: baseline; gap: 7px; padding: 9px 14px; border-radius: 999px;
  background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.09);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.sello strong { color: #fff; font-size: 13.5px; }
.sello span { font-size: 12.5px; color: var(--texto-suave); opacity: 1; }

/* Marcas de la portada: borde que gira + inclinación 3D */
.hero-marcas { perspective: 900px; gap: 14px; }
.hero-marca-tarjeta {
  position: relative; border-radius: 18px; padding: 24px 16px; border: 1.5px solid transparent;
  background:
    linear-gradient(160deg, rgba(20,26,48,.92), rgba(9,12,24,.92)) padding-box,
    conic-gradient(from var(--ang), rgba(255,255,255,.08) 0 58%, #FF5F1F 72%, #FFB020 80%, #7DD3FC 88%, rgba(255,255,255,.08) 96%) border-box;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0);
  transform-style: preserve-3d; transition: transform .25s ease-out, box-shadow .3s;
  box-shadow: 0 18px 40px rgba(0,0,0,.45);
}
.hero-marca-tarjeta:nth-child(2) { --retraso: -1.1s; } .hero-marca-tarjeta:nth-child(3) { --retraso: -2.2s; }
.hero-marca-tarjeta:nth-child(4) { --retraso: -3.3s; } .hero-marca-tarjeta:nth-child(5) { --retraso: -4.4s; }
.hero-marca-tarjeta:nth-child(6) { --retraso: -.6s; }
.hero-marca-tarjeta::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(160px circle at var(--gx, 50%) var(--gy, 0%), rgba(255,176,32,.20), transparent 70%);
  opacity: 0; transition: opacity .3s;
}
.hero-marca-tarjeta:hover { background:
    linear-gradient(160deg, rgba(34,24,30,.95), rgba(12,12,24,.95)) padding-box,
    conic-gradient(from var(--ang), #FF5F1F, #FFB020, #7DD3FC, #FF5F1F) border-box;
  box-shadow: 0 24px 50px rgba(0,0,0,.55), 0 0 40px rgba(255,95,31,.25); }
.hero-marca-tarjeta:hover::after { opacity: 1; }
.hero-marca-nombre { font-family: var(--ancha); font-size: 16px; font-weight: 700; letter-spacing: .01em; text-transform: uppercase; transform: translateZ(30px); }
.hero-marca-pie { color: var(--hielo); opacity: .85; letter-spacing: .14em; text-transform: uppercase; font-size: 10px; font-weight: 700; margin-top: 6px; transform: translateZ(18px); }
.hero-marca-pie::after { content: " →"; display: inline-block; transition: transform .25s; }
.hero-marca-tarjeta:hover .hero-marca-pie::after { transform: translateX(4px); }

/* Marquesina de marcas */
.cinta-marcas { position: relative; z-index: 1; overflow: hidden; padding: 18px 0; background: rgba(5,7,15,.6); border-top: 1px solid rgba(255,255,255,.07); border-bottom: 1px solid rgba(255,255,255,.07); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.cinta-marcas::before, .cinta-marcas::after { content: ""; position: absolute; top: 0; bottom: 0; width: 12%; z-index: 2; pointer-events: none; }
.cinta-marcas::before { left: 0; background: linear-gradient(90deg, var(--fondo), transparent); }
.cinta-marcas::after { right: 0; background: linear-gradient(270deg, var(--fondo), transparent); }
.cinta-interior { font-family: var(--ancha); font-weight: 800; letter-spacing: .04em; font-size: 22px; opacity: 1; color: transparent; -webkit-text-stroke: 1px rgba(236,239,247,.5); }
.cinta-interior.c-marquesina { max-width: none; width: max-content; margin: 0; padding: 0; flex-wrap: nowrap; justify-content: flex-start; gap: 0; }
.cinta-interior.c-marquesina span { display: inline-flex; align-items: center; padding: 0 28px; white-space: nowrap; }
.cinta-interior.c-marquesina span::after { content: ""; width: 9px; height: 9px; margin-left: 56px; transform: rotate(45deg); background: var(--grad); box-shadow: 0 0 12px rgba(255,95,31,.8); -webkit-text-stroke: 0; }
.cinta-interior.c-marquesina span:nth-child(3n+2) { color: rgba(255,138,61,.9); -webkit-text-stroke: 0; }

/* ---------------- Secciones ---------------- */
.seccion { padding: 96px 0; position: relative; }
.seccion-gris { background: linear-gradient(180deg, #0A0E1C, #070A15); }
.seccion-oscura { background: radial-gradient(900px 420px at 88% 0%, rgba(255,95,31,.16), transparent 60%), radial-gradient(700px 380px at 0% 100%, rgba(59,130,246,.12), transparent 60%), #080B18; }
.seccion-etiqueta { color: var(--ambar); letter-spacing: .22em; font-weight: 800; font-size: 11.5px; }
.seccion-etiqueta::before { content: ""; display: inline-block; width: 22px; height: 2px; margin-right: 10px; vertical-align: 4px; background: var(--grad); border-radius: 2px; }
.seccion-etiqueta.clara { color: var(--ambar); }
.seccion h2 { font-weight: 800; letter-spacing: -.015em; line-height: 1.08; font-size: clamp(26px, 3.6vw, 42px); color: #fff; }
.seccion-cabecera h2::after, .seccion-titulo::after { content: ""; display: block; width: 70px; height: 4px; margin: 16px 0 0; border-radius: 4px; background: var(--grad); box-shadow: 0 0 18px rgba(255,95,31,.55); }
.seccion-cabecera h2::after { margin-inline: auto; }
.seccion-cabecera p, .parrafo, .seccion-bajada { color: var(--texto-suave); }

/* Tarjetas de vidrio */
.categoria, .servicio, .producto, .tarjeta-contacto, .aliado, .acordeon-item, .tarjeta-marcas, .panel-caja {
  background: var(--vidrio), #0B0F1F !important; border: 1px solid var(--borde) !important; color: var(--texto);
  border-radius: 18px !important;
}
.categoria { position: relative; overflow: hidden; transition: transform .3s cubic-bezier(.2,.8,.2,1), border-color .3s, box-shadow .3s; }
.categoria::before { content: ""; position: absolute; inset: 0; background: radial-gradient(220px circle at 50% 0%, rgba(255,95,31,.18), transparent 70%); opacity: 0; transition: opacity .3s; }
.categoria:hover { border-color: rgba(255,138,61,.55) !important; box-shadow: 0 20px 44px rgba(0,0,0,.45), 0 0 34px rgba(255,95,31,.16); transform: translateY(-6px); }
.categoria:hover::before { opacity: 1; }
.categoria-icono { position: relative; display: inline-grid !important; place-items: center; width: 58px; height: 58px; border-radius: 16px; margin: 0 auto 12px; color: #160700; background: var(--grad); box-shadow: 0 10px 24px rgba(255,95,31,.35); transition: transform .45s cubic-bezier(.2,.8,.2,1.4); }
.categoria-icono svg { width: 28px; height: 28px; }
.categoria:hover .categoria-icono { color: #160700; transform: rotate(-8deg) scale(1.08); }
.categoria-nombre { position: relative; font-weight: 700; }
.servicio { transition: transform .3s, border-color .3s; }
.servicio:hover { transform: translateY(-4px); border-color: rgba(125,211,252,.4) !important; }
.servicio-icono { background: linear-gradient(135deg, rgba(255,95,31,.2), rgba(255,176,32,.12)) !important; color: var(--naranja-claro) !important; border-radius: 14px !important; }
.servicio h3, .aliado-cuerpo h3, .tarjeta-marcas h3, .tarjeta-contacto h3 { font-family: var(--ancha); font-weight: 700; letter-spacing: 0; color: #fff; font-size: 16px; }
.servicio p, .aliado-detalle { color: var(--texto-suave); }
.servicio-enlace { color: var(--naranja-claro); }

/* Catálogo */
.buscador-grande { box-shadow: 0 0 0 1px var(--borde), 0 20px 44px rgba(0,0,0,.45); border-radius: 999px; overflow: hidden; }
.buscador-grande input { background: #0B0F1F; color: #fff; border-color: transparent; }
.buscador-grande input::placeholder { color: #6B7592; }
.buscador-grande button { background: var(--grad); color: #160700; font-weight: 800; }
.filtros select, .paginacion button { background: #0B0F1F; color: var(--texto); border-color: var(--borde); border-radius: 12px; }
.producto { transition: transform .3s, box-shadow .3s; overflow: hidden; }
.producto:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,.5); }
.producto-foto { background: #F3F5F9 !important; }
.producto-nombre { color: #fff; }
.producto-precio { color: #fff; font-family: var(--ancha); font-weight: 700; }
.chip-marca { background: rgba(125,211,252,.12) !important; color: #BFE6FA !important; }
.btn-agregar { background: var(--grad); color: #160700; border-radius: 999px; }
.cargando, .vacio { color: var(--texto-suave); }

/* Nosotros, marcas, contacto */
.ventaja-num { font-family: var(--ancha); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent !important; }
.marca-pastilla { background: rgba(255,255,255,.04) !important; color: var(--texto) !important; border-color: var(--borde) !important; border-radius: 999px !important; transition: all .2s; }
.marca-pastilla:hover { border-color: var(--naranja) !important; color: #fff !important; background: rgba(255,95,31,.14) !important; }
.promesas-banda .promesa strong { color: #fff; }
.dato-icono { background: linear-gradient(135deg, rgba(255,95,31,.2), rgba(255,176,32,.12)) !important; color: var(--naranja-claro) !important; }
.dato-grande strong { color: var(--hielo); font-family: var(--ancha); letter-spacing: .06em; }
.btn-mapa { border-radius: 999px; font-weight: 700; }

/* Tasa del día: tablero de noche */
.franja-tasa { background: linear-gradient(90deg, #0B1022, #090C1A) !important; color: #fff; border-block: 1px solid var(--borde); position: relative; overflow: hidden; }
.franja-tasa::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,176,32,.08) 50%, transparent 70%); background-size: 250% 100%; pointer-events: none; }
.ft-pizarra { background: #05070F !important; border: 1px solid rgba(255,176,32,.28) !important; border-radius: 18px !important; box-shadow: inset 0 0 40px rgba(255,95,31,.08), 0 18px 40px rgba(0,0,0,.4); }
.ft-linea strong, .ft-fecha strong { font-family: var(--ancha); color: var(--ambar); text-shadow: 0 0 18px rgba(255,176,32,.35); }

/* Talleres */
.bloque-talleres .bt-dibujo { color: var(--hielo); opacity: .55; filter: drop-shadow(0 0 16px rgba(125,211,252,.45)); }
.bt-lista li::before { color: var(--naranja-claro); }

/* Preguntas y bot */
.acordeon-boton { color: #fff; font-family: "Manrope", sans-serif; font-weight: 700; }
.acordeon-boton:hover { background: rgba(255,255,255,.04); }
.acordeon-cuerpo { color: var(--texto-suave); }
.seccion input[type="search"], .seccion input[type="text"] { background: #0B0F1F; color: #fff; border-color: var(--borde); }
.bot-buscador { background: #0B0F1F !important; border-color: rgba(255,95,31,.5) !important; color: #fff; border-radius: 999px !important; }
.bot-buscador input { background: transparent !important; color: #fff !important; }
.bot-buscador input::placeholder { color: #6B7592; }
.bot-chip { background: rgba(255,255,255,.04) !important; color: var(--texto-suave) !important; border-color: var(--borde) !important; }
.bot-chip:hover { border-color: var(--naranja) !important; color: #fff !important; }
.bot-item { background: #0B0F1F !important; border-color: var(--borde) !important; color: var(--texto); border-radius: 16px !important; }
.bot-item h4 { color: #fff; }
.aliado-dibujo { background: linear-gradient(160deg, #141A34, #0A0E1C) !important; color: var(--hielo) !important; }

/* Pedido (panel lateral) */
.panel-lateral, .panel-caja { background: #090C19 !important; color: var(--texto); }
.panel-cabecera { border-color: var(--borde) !important; }
.carrito-buscar, .cb-item { background: #0B0F1F !important; border-color: var(--borde) !important; color: var(--texto); }
.carrito-buscar input { background: transparent; color: #fff; }

/* Pie */
.pie { position: relative; background: #04050C; border-top: 0; }
.pie::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--naranja) 25%, var(--ambar) 50%, var(--hielo) 75%, transparent); box-shadow: 0 0 20px rgba(255,95,31,.6); }
.pie-logo { background: #fff; border-radius: 12px; padding: 4px; }
.pie-nombre { font-family: var(--ancha); letter-spacing: .04em; font-weight: 700; }

/* Botones flotantes */
.wa-flotante { box-shadow: 0 14px 34px rgba(37,211,102,.45); }
.bot-flotante { background: var(--grad) !important; color: #160700 !important; }

/* Aparecer al bajar (solo si carros.js lo activa) */
html.c-anim .c-aparece { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); transition-delay: var(--dl, 0s); }
html.c-anim .c-aparece.c-visto { opacity: 1; transform: none; }

/* ---------------- Movimiento ---------------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-fondo::before { animation: c-deriva 16s ease-in-out infinite alternate; }
  .hero-fondo::after  { animation: c-deriva 20s ease-in-out infinite alternate-reverse; }
  .c-aurora { animation: c-deriva 24s ease-in-out infinite alternate; }
  @keyframes c-deriva { 0% { transform: translate(0,0) scale(1); } 50% { transform: translate(-60px, 40px) scale(1.15); } 100% { transform: translate(50px, -30px) scale(.95); } }

  .c-piso { animation: c-avanza 1.1s linear infinite; }
  @keyframes c-avanza { to { background-position: 0 60px, 50% 0; } }

  .c-carretera i { animation: c-estela var(--d, 3s) cubic-bezier(.4,0,.6,1) var(--dl, 0s) infinite; }
  .c-carretera i.al-reves { animation-name: c-estela-rev; }
  @keyframes c-estela { 0% { transform: translateX(-120%); opacity: 0; } 8% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateX(110vw); opacity: 0; } }
  @keyframes c-estela-rev { 0% { transform: translateX(110vw); opacity: 0; } 8% { opacity: .8; } 85% { opacity: .8; } 100% { transform: translateX(-120%); opacity: 0; } }

  .hero .hero-carro svg path, .hero .hero-carro svg circle { stroke-dashoffset: 1400; animation: c-traza 2.8s cubic-bezier(.6,0,.2,1) .2s forwards; }
  .hero .hero-carro svg circle:nth-of-type(n+3) { animation-delay: .6s; }
  @keyframes c-traza { from { stroke-dashoffset: 1400; } to { stroke-dashoffset: 0; } }
  .hero .c-faro { opacity: 0; animation: c-enciende .5s steps(2) 2.6s forwards, c-titila 5s ease-in-out 3.2s infinite; }
  .hero .c-trasera { opacity: 0; animation: c-enciende .4s 2.8s forwards; }
  @keyframes c-enciende { to { opacity: 1; } }
  @keyframes c-titila { 0%, 100% { filter: blur(4px) brightness(1); } 50% { filter: blur(5px) brightness(1.25); } }
  .hero .hero-carro { animation: c-flota 5s ease-in-out 3s infinite; }
  @keyframes c-flota { 0%, 100% { translate: 0 0; } 50% { translate: 0 -3px; } }

  .hero-etiqueta::before { animation: c-pulso 2s ease-out infinite; }
  @keyframes c-pulso { 0% { box-shadow: 0 0 0 0 rgba(52,211,153,.6); } 100% { box-shadow: 0 0 0 10px rgba(52,211,153,0); } }

  .hero h1 .c-grande { animation: c-brillo 6s linear infinite; }
  @keyframes c-brillo { to { background-position: -220% 0; } }
  .hero-texto > * { animation: c-sube .9s cubic-bezier(.2,.8,.2,1) both; }
  .hero-texto > :nth-child(2) { animation-delay: .1s; } .hero-texto > :nth-child(3) { animation-delay: .22s; }
  .hero-texto > :nth-child(4) { animation-delay: .34s; } .hero-texto > :nth-child(5) { animation-delay: .46s; }
  .hero-marcas { animation: c-sube 1s cubic-bezier(.2,.8,.2,1) .4s both; }
  @keyframes c-sube { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

  .hero-marca-tarjeta { animation: c-gira 5.5s linear var(--retraso, 0s) infinite; }
  @keyframes c-gira { to { --ang: 360deg; } }

  .btn-principal::after, .btn-whatsapp::after { animation: c-destello 4.5s ease-in-out 2s infinite; }
  .buscador-grande button:hover::after { animation: c-destello 1s ease-in-out; }
  @keyframes c-destello { 0%, 70% { left: -60%; } 100% { left: 130%; } }

  .cinta-interior.c-marquesina { animation: c-corre var(--dur, 30s) linear infinite; }
  .cinta-marcas:hover .cinta-interior.c-marquesina { animation-play-state: paused; }
  @keyframes c-corre { to { transform: translateX(-50%); } }

  .franja-tasa::before { animation: c-barrido 7s linear infinite; }
  @keyframes c-barrido { from { background-position: 150% 0; } to { background-position: -150% 0; } }

  .wa-flotante { animation: c-late 3.5s ease-in-out 3s infinite; }
  @keyframes c-late { 0%, 88%, 100% { transform: scale(1); } 92% { transform: scale(1.1); } 96% { transform: scale(.98); } }
}
@media (prefers-reduced-motion: reduce) {
  .c-carretera, .c-foco { display: none; }
  .c-faro, .c-trasera { opacity: 1; }
}

/* ---------------- Pantallas ---------------- */
@media (max-width: 900px) {
  .hero-carro { opacity: .28; }
  .c-piso { height: 38%; }
  .hero h1 .c-grande { font-size: clamp(24px, 7.8vw, 60px); }
}
@media (max-width: 560px) {
  .seccion { padding: 70px 0; }
  .hero h1 .c-para { font-size: .56em; }
  .cinta-interior { font-size: 17px; }
  .hero-marca-tarjeta { padding: 18px 10px; }
  .hero-marca-nombre { font-size: 13.5px; }
  .sello { padding: 8px 12px; }
  .c-foco { display: none; }
}

/* ---------------- La tienda de verdad en la portada ---------------- */
.c-fotos { position: relative; height: 420px; perspective: 1100px; }
.c-marco {
  position: absolute; border-radius: 26px; padding: 2px; overflow: hidden;
  background: conic-gradient(from var(--ang), rgba(255,255,255,.10) 0 55%, #FF5F1F 70%, #FFB020 80%, #7DD3FC 90%, rgba(255,255,255,.10) 97%);
  box-shadow: 0 30px 70px rgba(0,0,0,.6), 0 0 50px rgba(255,95,31,.16);
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.c-marco > div { position: relative; width: 100%; height: 100%; border-radius: 24px; overflow: hidden; background: #0A0E1C; }
.c-marco img { width: 100%; height: 100%; object-fit: cover; display: block; }
.c-marco > div::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(5,7,15,.78)); pointer-events: none; }
.c-marco > div::before { content: ""; position: absolute; top: 0; bottom: 0; left: -50%; width: 35%; z-index: 1; pointer-events: none; background: linear-gradient(100deg, transparent, rgba(255,255,255,.26), transparent); transform: skewX(-18deg); }
.c-foto-a { right: 0; top: 34px; width: 90%; height: 318px; z-index: 1; transform: rotate(2deg) translate(calc(var(--px, 0) * -12px), calc(var(--py, 0) * -9px)); }
.c-foto-a img { object-position: 50% 10%; }
.c-foto-b { left: 0; bottom: 0; width: 48%; height: 176px; z-index: 2; transform: rotate(-5deg) translate(calc(var(--px, 0) * 18px), calc(var(--py, 0) * 13px)); }
.c-foto-b img { object-position: 50% 40%; }
.c-pie-foto { position: absolute; right: 18px; bottom: 14px; z-index: 2; font-size: 13px; font-weight: 700; color: #fff; display: flex; align-items: center; gap: 7px; text-shadow: 0 2px 8px rgba(0,0,0,.6); }
.c-pie-foto svg { width: 16px; height: 16px; color: #FF8A3D; flex: 0 0 auto; }
.c-pie-foto--b { right: auto; left: 14px; bottom: 11px; font-size: 12px; }
.c-estado {
  position: absolute; top: 0; left: 8%; z-index: 3; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 15px; border-radius: 999px; font-size: 13px; font-weight: 700; color: #fff;
  background: rgba(8,11,24,.84); border: 1px solid rgba(255,255,255,.14);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 12px 28px rgba(0,0,0,.45);
  transform: translate(calc(var(--px, 0) * 22px), calc(var(--py, 0) * 15px));
}
.c-estado i { width: 8px; height: 8px; border-radius: 50%; background: #9AA8BF; }
.c-estado.abierto i { background: #34D399; }
.c-estado small { font-weight: 600; color: #9AA8BF; font-size: 12px; }
.c-sello { position: absolute; right: 3%; bottom: 22px; z-index: 3; padding: 8px 14px; border-radius: 14px;
  font: 700 12px/1.2 var(--ancha); color: #160700; background: var(--grad); box-shadow: 0 12px 26px rgba(255,95,31,.45);
  transform: rotate(-4deg) translate(calc(var(--px, 0) * -20px), calc(var(--py, 0) * 12px)); }

/* Las marcas, en una fila debajo */
.c-marcas-fila { position: relative; z-index: 1; padding-bottom: 34px; }
@media (min-width: 901px) { .hero-interior { grid-template-columns: 1.08fr .92fr; } }
.c-marcas-fila .hero-marcas { grid-template-columns: repeat(6, 1fr); }
.c-marcas-fila .hero-marca-tarjeta { padding: 18px 10px; }

/* ---------------- El carro llega a la tienda (antes de «Dónde estamos») ---------------- */
.c-ruta { position: relative; overflow: hidden; padding: 80px 0 0; background: linear-gradient(180deg, #05070F, #0A0E1F); }
.c-ruta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 300px at 85% 90%, rgba(255,176,32,.16), transparent 65%), radial-gradient(600px 300px at 10% 20%, rgba(59,130,246,.12), transparent 60%); pointer-events: none; }
.c-ruta-texto { position: relative; text-align: center; }
.c-ruta-texto h2 { margin: 6px 0 0; font-family: var(--ancha); font-weight: 800; letter-spacing: -.015em; font-size: clamp(24px, 3.4vw, 40px); color: #fff; }
.c-ruta-texto h2 b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.c-ruta-via { position: relative; margin-top: 26px; padding: 0 0 26px; }
.c-ruta .hero-carro {
  position: relative; left: auto; bottom: auto; transform: none; display: block;
  width: min(720px, 88%); margin: 0 auto; opacity: .95; color: var(--hielo);
  filter: drop-shadow(0 0 12px rgba(125,211,252,.55));
}
.c-ruta .hero-carro svg { overflow: visible; }
.c-ruta-lineas { position: absolute; left: 0; right: 0; bottom: 24px; height: 4px;
  background: repeating-linear-gradient(90deg, rgba(255,176,32,.75) 0 46px, transparent 46px 92px); opacity: .7; }
.c-ruta-via::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 24px; background: linear-gradient(180deg, rgba(255,255,255,.06), transparent); border-top: 1px solid rgba(255,255,255,.1); }
.c-rayo { stroke: currentColor; stroke-width: 2.4; transform-box: fill-box; transform-origin: center; }
.c-ruta .c-faro { left: 91.5%; top: 54%; }

@media (prefers-reduced-motion: no-preference) {
  .c-marco { animation: c-gira 7s linear infinite; }
  .c-foto-b { animation-delay: -3.5s; }
  .c-foto-a img { animation: c-acerca 18s ease-in-out infinite alternate; }
  .c-foto-b img { animation: c-acerca 14s ease-in-out -6s infinite alternate-reverse; }
  @keyframes c-acerca { from { transform: scale(1.02); } to { transform: scale(1.14) translate(-2%, 1%); } }
  .c-marco > div::before { animation: c-destello-f 6.5s ease-in-out 1.5s infinite; }
  .c-foto-b > div::before { animation-delay: 4.5s; }
  @keyframes c-destello-f { 0%, 75% { left: -50%; } 100% { left: 130%; } }
  .c-estado.abierto i { animation: c-pulso 2s ease-out infinite; }
  .c-fotos { animation: c-sube 1s cubic-bezier(.2,.8,.2,1) .3s both; }
  .c-marcas-fila { animation: c-sube 1s cubic-bezier(.2,.8,.2,1) .55s both; }

  /* El carro entra, frena y prende las luces */
  html.c-anim .c-ruta .hero-carro { transform: translateX(-130vw); }
  html.c-anim .c-ruta.c-visto .hero-carro { animation: c-llega 2.6s cubic-bezier(.12,.7,.18,1) .2s both, c-flota 5s ease-in-out 3s infinite; transform: none; }
  @keyframes c-llega { 0% { transform: translateX(-130vw); } 88% { transform: translateX(1.2%) rotate(-.6deg); } 100% { transform: none; } }
  html.c-anim .c-ruta.c-visto .c-rayo { animation: c-rueda .35s linear 7; }
  @keyframes c-rueda { to { transform: rotate(360deg); } }
  html.c-anim .c-ruta.c-visto .c-ruta-lineas { animation: c-lineas .4s linear 7; }
  @keyframes c-lineas { to { background-position: -92px 0; } }
  html.c-anim .c-ruta .c-faro, html.c-anim .c-ruta .c-trasera { opacity: 0; }
  html.c-anim .c-ruta.c-visto .c-faro { animation: c-enciende .5s steps(2) 2.7s forwards, c-titila 5s ease-in-out 3.3s infinite; }
  html.c-anim .c-ruta.c-visto .c-trasera { animation: c-enciende .4s 2.5s forwards; }
}
@media (max-width: 1100px) { .c-marcas-fila .hero-marcas { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) {
  .c-fotos { height: 330px; max-width: 560px; }
  .c-foto-a { height: 250px; top: 30px; }
  .c-foto-b { height: 140px; }
}
@media (max-width: 560px) {
  .c-fotos { height: 270px; }
  .c-foto-a { height: 200px; width: 92%; }
  .c-foto-b { height: 116px; width: 50%; }
  .c-estado { font-size: 11.5px; padding: 7px 11px; left: 2%; }
  .c-estado small { display: none; }
  .c-sello { font-size: 10.5px; padding: 6px 10px; bottom: 12px; }
  .c-marcas-fila .hero-marcas { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .c-marcas-fila .hero-marca-tarjeta { padding: 14px 4px; border-radius: 14px; }
  .c-marcas-fila .hero-marca-nombre { font-size: 11px; }
  .c-marcas-fila .hero-marca-pie { font-size: 8.5px; letter-spacing: .06em; }
  .c-ruta { padding-top: 60px; }
  .c-ruta .hero-carro { width: 118%; margin-left: -9%; }
}
