/* ==========================================================================
   Data Center Perú — estilos
   Colores tomados del letrero (amarillo + azul marino) y del local
   (pared azul, muebles de roble, vitrinas blancas).
   ========================================================================== */
:root {
  --amarillo: #F2C230;
  --amarillo-hondo: #D9A912;
  --marino: #1E3A64;
  --pared: #2C5E8A;
  --roble: #E9D7B4;
  --roble-oscuro: #C9AE7E;
  --vitrina: #F8FAFC;
  --blanco: #FFFFFF;
  --tinta: #13233B;
  --tinta-suave: #4A5A70;
  --linea: #DCE3EC;
  --ok: #17784A;
  --ok-fondo: #E3F4EA;
  --consultar: #8A5A00;
  --consultar-fondo: #FFF3D1;
  --whatsapp: #1DA851;
  --foco: #0B63CE;

  --radio-s: 4px;
  --radio-m: 6px;
  --radio-l: 10px;
  --sombra-panel: 0 18px 50px rgba(19, 35, 59, .22);
  --fuente: 'Lexend', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --marino-texto: #1E3A64;
  --pared-texto: #2C5E8A;
  --placa: #EEF3F9;
  --placa-icono: #9DB3CC;
  --chip: #E7EEF7;
  --chip-hover: #D6E2F0;
  color-scheme: light dark;
}
/* Modo oscuro automático (según el celular o la PC del cliente) */
@media (prefers-color-scheme: dark) {
  :root {
    --blanco: #16233A; --vitrina: #0E1726; --tinta: #E5ECF5; --tinta-suave: #A8B6C8; --linea: #2A3A52;
    --marino-texto: #B5CDEE; --pared-texto: #8DB6E6; --placa: #1D2D46; --placa-icono: #5F7A9B;
    --chip: #22344F; --chip-hover: #2B4061; --ok: #4CC38A; --ok-fondo: #12372A; --consultar: #F2C230; --consultar-fondo: #3A2F0E;
    --foco: #6EA8FF; --sombra-panel: 0 18px 50px rgba(0, 0, 0, .55);
  }
  .producto__foto--img, .producto__foto img, .cmp__foto img, .detalle__foto img { background: #fff; }
  .velo, .detalle::backdrop { background: rgba(0, 0, 0, .6); }
}
/* Sobre fondos amarillos o de madera el texto siempre es azul marino */
.btn-amarillo, .letrero, .contador, .fab-asistente, .asistente__cabecera, .cmp__insignia, .cabecera-pagina--amarilla,
.cabecera-pagina--roble, .grupo:hover .grupo__icono, .precio-etiqueta, .empresas, .insignia--oferta { --marino-texto: #1E3A64; --pared-texto: #2C5E8A; --tinta: #13233B; --tinta-suave: #4A5A70; }
.letrero .buscador, .cabecera-pagina--amarilla .buscador { --blanco: #FFFFFF; --tinta: #13233B; color: #13233B; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0; font-family: var(--fuente); font-weight: 400; font-size: 1rem; line-height: 1.55;
  color: var(--tinta); background: var(--vitrina);
}
img, svg { display: block; }
h1, h2, h3 { line-height: 1.15; margin: 0; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--foco); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.oculto { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.saltar { position: absolute; left: -999px; top: 0; background: var(--marino); color: #fff; padding: .6rem 1rem; z-index: 100; }
.saltar:focus { left: 1rem; }
.contenedor { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .contenedor { padding: 0 28px; } }
.solo-movil { display: inline-flex; }
.solo-escritorio { display: none; }
@media (min-width: 960px) { .solo-movil { display: none !important; } }
@media (min-width: 640px) { .solo-escritorio { display: inline; } }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------------------------------------------------------------- botones */
.btn-amarillo, .btn-whatsapp, .btn-secundario, .btn-texto {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 44px; padding: .55rem 1.1rem; border-radius: var(--radio-m);
  font-weight: 500; text-decoration: none; border: 0; transition: background-color .15s, color .15s;
}
.btn-amarillo { background: var(--amarillo); color: var(--marino-texto); }
.btn-amarillo:hover { background: #F7CF4C; }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { background: #178F44; }
.btn-whatsapp::before { content: ''; width: 20px; height: 20px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 3a13 13 0 0 0-11.2 19.6L3 29l6.6-1.7A13 13 0 1 0 16 3zm5.8 15.7c-.3-.2-1.9-.9-2.2-1-.3-.1-.5-.2-.7.2-.2.3-.8 1-1 1.2-.2.2-.4.2-.7.1a8.7 8.7 0 0 1-4.3-3.8c-.3-.6.3-.5.9-1.7.1-.2 0-.4 0-.6l-1-2.4c-.3-.6-.5-.5-.7-.5h-.6c-.2 0-.6.1-.9.4-.3.3-1.2 1.2-1.2 2.9s1.2 3.4 1.4 3.6c.2.2 2.4 3.7 5.9 5.2 2.2.9 3 1 4.1.8.7-.1 1.9-.8 2.2-1.5.3-.7.3-1.4.2-1.5-.1-.1-.3-.2-.6-.4z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 3a13 13 0 0 0-11.2 19.6L3 29l6.6-1.7A13 13 0 1 0 16 3zm5.8 15.7c-.3-.2-1.9-.9-2.2-1-.3-.1-.5-.2-.7.2-.2.3-.8 1-1 1.2-.2.2-.4.2-.7.1a8.7 8.7 0 0 1-4.3-3.8c-.3-.6.3-.5.9-1.7.1-.2 0-.4 0-.6l-1-2.4c-.3-.6-.5-.5-.7-.5h-.6c-.2 0-.6.1-.9.4-.3.3-1.2 1.2-1.2 2.9s1.2 3.4 1.4 3.6c.2.2 2.4 3.7 5.9 5.2 2.2.9 3 1 4.1.8.7-.1 1.9-.8 2.2-1.5.3-.7.3-1.4.2-1.5-.1-.1-.3-.2-.6-.4z'/%3E%3C/svg%3E") center/contain no-repeat; }
.btn-secundario { background: var(--blanco); color: var(--marino-texto); border: 1.5px solid var(--linea); }
.btn-secundario:hover { border-color: var(--marino-texto); }
.btn-texto { background: none; color: var(--pared-texto); padding-left: .25rem; padding-right: .25rem; text-decoration: underline; text-underline-offset: 3px; }
.btn-icono { width: 44px; height: 44px; border: 0; background: none; border-radius: 50%; display: grid; place-items: center; color: inherit; }
.btn-icono svg { width: 22px; height: 22px; }
.btn-icono:hover { background: rgba(0,0,0,.06); }
.btn-ancho { width: 100%; }

/* ------------------------------------------------------- franja y cabecera */
.franja { background: var(--marino); color: #D7E1EE; font-size: .82rem; }
.franja__fila { display: flex; align-items: center; gap: 1.25rem; padding-top: .35rem; padding-bottom: .35rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.franja__estado { display: inline-flex; align-items: center; gap: .45rem; color: #F6C9C2; }
.franja__estado::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #F08A7E; }
.franja__estado--abierto { color: #BFF0D3; }
.franja__estado--abierto::before { background: #3DD68C; box-shadow: 0 0 0 3px rgba(61,214,140,.25); }
.franja__dir { display: none; }
.franja__tel { margin-left: auto; color: #fff; text-decoration: none; font-weight: 500; }
.franja__tel:hover { text-decoration: underline; }
@media (min-width: 760px) { .franja__dir { display: inline; } }
@media (max-width: 859px) { .franja__tel { display: none; } }
.cabecera { position: sticky; top: 0; z-index: 30; background: var(--marino); color: #fff; }
.cabecera__fila { display: flex; align-items: center; gap: 1rem; min-height: 64px; }
.marca { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: #fff; }
.marca__icono { width: 50px; height: 35px; }
.marca__texto { font-weight: 600; font-size: 1.12rem; letter-spacing: .02em; line-height: 1.05; display: flex; flex-direction: column; }
.marca__texto small { font-size: .68rem; font-weight: 400; letter-spacing: .18em; color: var(--amarillo); }
.nav { display: none; margin-left: auto; gap: .25rem; }
.nav a { text-decoration: none; padding: .5rem .7rem; border-radius: var(--radio-s); color: #D3DEEC; font-weight: 400; font-size: .95rem; position: relative; }
.nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav a[aria-current="page"] { color: #fff; font-weight: 500; }
.nav a[aria-current="page"]::after { content: ''; position: absolute; left: .7rem; right: .7rem; bottom: .1rem; height: 3px; border-radius: 2px; background: var(--amarillo); }
@media (min-width: 1080px) { .nav { display: flex; } }
.btn-menu { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; color: #fff; border-radius: var(--radio-s); }
.btn-menu svg { width: 26px; height: 26px; }
.btn-menu:hover { background: rgba(255,255,255,.1); }
@media (min-width: 1080px) { .btn-menu { display: none; } }
.menu-movil { position: sticky; top: 64px; z-index: 29; background: var(--marino); border-top: 1px solid rgba(255,255,255,.12); padding: .5rem 16px 1rem; display: grid; }
.menu-movil a { color: #fff; text-decoration: none; padding: .8rem .25rem; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 1.05rem; }
.menu-movil a[aria-current="page"] { color: var(--amarillo); font-weight: 500; }
.menu-movil__dato { color: #B9C8DB; font-size: .85rem; padding-top: .8rem; }
@media (min-width: 1080px) { .menu-movil { display: none !important; } }
.btn-cotizacion {
  margin-left: auto; display: inline-flex; align-items: center; gap: .5rem; min-height: 44px;
  padding: .45rem .8rem; border-radius: var(--radio-m); border: 1.5px solid var(--amarillo);
  background: transparent; color: #fff; font-weight: 500;
}
.btn-cotizacion:hover { background: rgba(242,194,48,.15); }
@media (min-width: 1080px) { .btn-cotizacion { margin-left: .5rem; } }
.btn-cotizacion svg { width: 22px; height: 22px; }
.contador { min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px; background: var(--amarillo); color: var(--marino-texto); font-size: .8rem; font-weight: 700; display: inline-grid; place-items: center; }
.contador.salta { animation: salta .35s ease; }
@keyframes salta { 50% { transform: scale(1.35); } }

/* ------------------------------------------------------- letrero (hero) */
.letrero { background: var(--amarillo); color: var(--marino-texto); position: relative; overflow: hidden; border-bottom: 6px solid var(--marino-texto); }
.letrero::after { /* brillo de caja de luz, como el letrero de noche */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 78% 40%, rgba(255,255,255,.35), transparent 60%);
}
.letrero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; padding-top: 2.25rem; padding-bottom: 2.5rem; }
@media (min-width: 900px) { .letrero__grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: center; padding-top: 3.5rem; padding-bottom: 3.75rem; } }
.letrero h1 { font-size: clamp(2rem, 6.2vw, 3.6rem); font-weight: 700; letter-spacing: -.025em; max-width: 14ch; }
.letrero__bajada { margin-top: .9rem; font-size: 1.05rem; max-width: 46ch; color: #2A3F5F; }
.buscador {
  margin-top: 1.5rem; display: flex; align-items: center; background: var(--blanco);
  border: 2.5px solid var(--marino-texto); border-radius: var(--radio-l); padding: .3rem .3rem .3rem 1rem; max-width: 640px;
  box-shadow: 0 6px 0 var(--marino);
}
.buscador svg { width: 22px; height: 22px; flex: none; color: var(--pared-texto); }
.buscador input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; padding: .7rem .6rem; font-size: 1rem; }
.buscador input::-webkit-search-cancel-button { cursor: pointer; }
.buscador button { border: 0; background: var(--marino); color: #fff; border-radius: 13px; padding: .7rem 1.2rem; font-weight: 600; min-height: 44px; }
.buscador button:hover { background: var(--pared); }
.buscador:focus-within { box-shadow: 0 6px 0 var(--marino), 0 0 0 4px rgba(255,255,255,.7); }
.letrero__ejemplos { margin-top: 1.1rem; font-size: .9rem; display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; color: #2A3F5F; }
.ejemplo { border: 1.5px solid rgba(30,58,100,.35); background: rgba(255,255,255,.4); border-radius: 999px; padding: .3rem .8rem; color: var(--marino-texto); min-height: 36px; }
.ejemplo:hover { background: rgba(255,255,255,.75); border-color: var(--marino-texto); }
.letrero__logo { display: none; justify-self: center; text-align: center; }
.letrero__logo { background: var(--marino); color: #fff; border-radius: 28px; padding: 2rem 2.4rem 1.6rem; box-shadow: 0 10px 0 rgba(30,58,100,.25); }
.letrero__logo svg { width: min(230px, 20vw); height: auto; margin: 0 auto; }
.letrero__logo span { display: block; margin-top: .7rem; font-size: clamp(1.3rem, 2.2vw, 1.9rem); font-weight: 600; letter-spacing: .06em; }
@media (min-width: 900px) { .letrero__logo { display: block; } }

/* ------------------------------------------------------- repisa (categorías) */
.repisa { background: var(--blanco); border-bottom: 1px solid var(--linea); }
.repisa__lista {
  list-style: none; margin: 0; padding: 1.1rem 0 .9rem; display: grid; gap: .25rem .5rem;
  grid-auto-flow: column; grid-auto-columns: 96px; overflow-x: auto; scroll-snap-type: x proximity;
  scrollbar-width: thin;
}
@media (min-width: 1100px) { .repisa__lista { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); overflow: visible; } }
.repisa__lista li { scroll-snap-align: start; }
.grupo {
  width: 100%; display: flex; flex-direction: column; align-items: center; gap: .45rem; padding: .6rem .3rem .75rem;
  border: 0; background: none; border-radius: var(--radio-m); color: var(--tinta); font-size: .8rem; line-height: 1.2; text-align: center;
  position: relative;
}
.grupo::after { /* el canto de madera de la repisa */
  content: ''; position: absolute; left: 10%; right: 10%; bottom: 0; height: 4px; border-radius: 2px; background: var(--roble);
}
.grupo__icono { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--placa); color: var(--pared-texto); transition: background-color .15s, color .15s; }
.grupo__icono svg { width: 28px; height: 28px; stroke-width: 1.7; }
.grupo__cuenta { color: var(--tinta-suave); font-size: .72rem; }
.grupo:hover .grupo__icono { background: var(--amarillo); color: var(--marino-texto); }
.grupo[aria-pressed="true"] .grupo__icono { background: var(--marino); color: var(--amarillo); }
.grupo[aria-pressed="true"]::after { background: var(--roble-oscuro); }

/* ------------------------------------------------------- catálogo */
.catalogo { padding: 2rem 0 3rem; scroll-margin-top: 64px; }
.catalogo__grid { display: grid; gap: 1.75rem; }
@media (min-width: 960px) { .catalogo__grid { grid-template-columns: 240px 1fr; } }
.filtros { display: none; }
.filtros.abierto {
  display: block; position: fixed; inset: auto 0 0 0; z-index: 60; background: var(--blanco); padding: 1rem 16px 1.5rem;
  border-radius: var(--radio-l) var(--radio-l) 0 0; box-shadow: var(--sombra-panel); max-height: 85vh; overflow: auto;
}
@media (min-width: 960px) { .filtros, .filtros.abierto { display: block; position: sticky; top: 84px; align-self: start; box-shadow: none; padding: 0; border-radius: 0; max-height: none; inset: auto; } }
.filtros__cabecera { display: flex; justify-content: space-between; align-items: center; margin-bottom: .5rem; }
.filtros h2 { font-size: 1.05rem; }
.filtros fieldset { border: 0; padding: 0; margin: 0 0 1rem; }
.filtros legend { font-size: .85rem; font-weight: 500; color: var(--tinta-suave); margin-bottom: .35rem; }
.filtros select, .filtros input[type=number], #orden {
  width: 100%; min-height: 44px; border: 1.5px solid var(--linea); border-radius: var(--radio-s); background: var(--blanco); padding: .5rem .65rem;
}
.rango { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.check { display: flex; align-items: center; gap: .55rem; min-height: 44px; font-size: .92rem; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--marino-texto); }

.resultados__barra { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: .75rem; }
.resultados__barra h2 { font-size: clamp(1.35rem, 3vw, 1.75rem); }
.resultados__conteo { color: var(--tinta-suave); font-size: .9rem; margin-top: .2rem; }
.resultados__acciones { display: flex; gap: .5rem; }
#orden { width: auto; }
.chips-activos { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.chip { display: inline-flex; align-items: center; gap: .35rem; background: var(--chip); color: var(--marino-texto); border: 0; border-radius: 999px; padding: .3rem .4rem .3rem .8rem; font-size: .85rem; min-height: 34px; }
.chip svg { width: 16px; height: 16px; }
.chip:hover { background: var(--chip-hover); }

.productos { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
@media (min-width: 600px) { .productos { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1rem; } }
.producto {
  height: 100%; display: flex; flex-direction: column; background: var(--blanco); border: 1px solid var(--linea);
  border-radius: var(--radio-m); overflow: hidden;
}
.producto__foto { position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center; background: var(--placa); color: var(--placa-icono); border: 0; width: 100%; padding: 0; }
.producto__foto svg { width: 40%; height: 48%; stroke-width: 1.2; }
.producto__foto img { width: 100%; height: 100%; object-fit: contain; background: #fff; padding: .5rem; }
.producto__foto--img { background: #fff; }
.producto__marca-foto { position: absolute; left: .6rem; bottom: .5rem; font-size: .72rem; font-weight: 600; color: var(--pared-texto); letter-spacing: .03em; }
.producto__cuerpo { display: flex; flex-direction: column; gap: .35rem; padding: .7rem .75rem .8rem; flex: 1; }
.producto__nombre { font-size: .9rem; font-weight: 400; line-height: 1.35; color: var(--tinta); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; background: none; border: 0; padding: 0; text-align: left; }
.producto__nombre:hover { color: var(--pared-texto); text-decoration: underline; text-underline-offset: 2px; }
.producto__precio { font-size: 1.25rem; font-weight: 600; color: var(--marino-texto); margin-top: auto; font-variant-numeric: tabular-nums; }
.estado { display: inline-flex; align-self: flex-start; align-items: center; gap: .35rem; font-size: .74rem; font-weight: 500; padding: .15rem .55rem; border-radius: 999px; }
.estado::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.estado--ok { background: var(--ok-fondo); color: var(--ok); }
.estado--consultar { background: var(--consultar-fondo); color: var(--consultar); }
.producto__agregar {
  margin-top: .45rem; min-height: 42px; border-radius: var(--radio-s); border: 1.5px solid var(--marino-texto); background: var(--blanco); color: var(--marino-texto); font-weight: 500;
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem; transition: background-color .15s, color .15s;
}
.producto__agregar svg { width: 18px; height: 18px; }
.producto__agregar:hover { background: var(--marino); color: #fff; }
.producto__agregar[data-en="1"] { background: var(--marino); color: var(--amarillo); }

.btn-mas { display: flex; margin: 1.5rem auto 0; min-width: 240px; }
.vacio { background: var(--blanco); border: 1px dashed var(--roble-oscuro); border-radius: var(--radio-m); padding: 1.5rem; display: grid; gap: 1rem; justify-items: start; }
.nota-precios { margin-top: 1.5rem; color: var(--tinta-suave); font-size: .8rem; }

/* ------------------------------------------------------- servicio técnico */
.servicio { background: var(--pared); color: #fff; padding: 3rem 0; scroll-margin-top: 64px; }
.servicio__grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .servicio__grid { grid-template-columns: 1fr 1.3fr; align-items: start; } }
.servicio h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); }
.servicio__bajada { margin: .9rem 0 1.4rem; color: #DCE7F3; max-width: 44ch; }
.servicio__lista { list-style: none; margin: 0; padding: 0; background: var(--blanco); display: grid; border: 1px solid var(--linea); color: var(--tinta); border-radius: var(--radio-m); overflow: hidden; }
.servicio__lista li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .85rem 1.1rem; border-bottom: 1px solid var(--linea); }
.servicio__lista li:last-child { border-bottom: 0; }
@media (min-width: 1100px) { .servicio__lista { grid-template-columns: 1fr 1fr; column-gap: 0; } .servicio__lista li:nth-child(odd) { border-right: 1px solid var(--linea); } .servicio__lista li:nth-last-child(2):nth-child(odd) { border-bottom: 0; } }
.servicio__precio { white-space: nowrap; font-weight: 600; color: var(--marino-texto); font-variant-numeric: tabular-nums; }
.servicio__precio small { font-weight: 400; color: var(--tinta-suave); font-size: .78rem; margin-right: .25rem; }

/* ------------------------------------------------------- empresas */
.empresas { padding: 3rem 0; background: var(--roble); scroll-margin-top: 64px; }
.empresas__grid { display: grid; gap: 1.75rem; }
@media (min-width: 900px) { .empresas__grid { grid-template-columns: 1fr 1fr; align-items: center; } }
.empresas h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); color: var(--marino-texto); max-width: 20ch; }
.empresas p { margin-top: .8rem; max-width: 48ch; color: #3B3424; }
.pasos { margin: 0; padding: 0; list-style: none; counter-reset: paso; display: grid; gap: .6rem; }
.pasos li { counter-increment: paso; display: grid; grid-template-columns: 2.2rem 1fr; gap: .75rem; align-items: center; background: rgba(255,255,255,.65); border-radius: var(--radio-m); padding: .85rem 1rem; }
.pasos li::before { content: counter(paso); width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--marino); color: var(--amarillo); display: grid; place-items: center; font-weight: 600; }
.pasos strong { font-weight: 600; color: var(--marino-texto); }

/* ------------------------------------------------------- ubicación */
.ubicacion { padding: 3rem 0; scroll-margin-top: 64px; }
.ubicacion__grid { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .ubicacion__grid { grid-template-columns: 1fr 1.4fr; align-items: stretch; } }
.ubicacion h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); color: var(--marino-texto); }
.ubicacion__dir { font-size: 1.2rem; margin-top: .6rem; font-weight: 500; }
.ubicacion__ref { color: var(--tinta-suave); margin-top: .2rem; }
.horario { margin: 1.25rem 0; display: grid; grid-template-columns: auto 1fr; gap: .35rem 1.25rem; }
.horario dt { color: var(--tinta-suave); }
.horario dd { margin: 0; font-weight: 500; }
.ubicacion__botones { display: flex; flex-wrap: wrap; gap: .6rem; }
.mapa { min-height: 300px; border-radius: var(--radio-m); overflow: hidden; border: 1px solid var(--linea); background: var(--chip); }
.mapa iframe { width: 100%; height: 100%; min-height: 300px; border: 0; display: block; }

/* ------------------------------------------------------- pie */
.pie { background: var(--marino); color: #C9D6E6; padding: 2rem 0 6rem; font-size: .88rem; }
.pie__grid { display: grid; gap: 1rem; }
@media (min-width: 720px) { .pie__grid { grid-template-columns: 1fr auto; align-items: end; } }
.marca--pie { color: var(--amarillo); margin-bottom: .6rem; }
.pie__redes { display: flex; gap: .5rem; flex-wrap: wrap; }
.pie__redes a { color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: .35rem .9rem; }

/* ------------------------------------------------------- flotantes */
.fab-asistente {
  position: fixed; right: 16px; bottom: 16px; z-index: 40; display: inline-flex; align-items: center; gap: .5rem;
  min-height: 52px; padding: .6rem 1.1rem .6rem .9rem; border: 2.5px solid var(--marino-texto); border-radius: 999px;
  background: var(--amarillo); color: var(--marino-texto); font-weight: 600; box-shadow: 0 4px 0 var(--marino);
}
.fab-asistente svg { width: 24px; height: 24px; }
.fab-asistente:hover { background: #F7CF4C; }
.fab-whatsapp { position: fixed; right: 16px; bottom: 82px; z-index: 40; width: 52px; height: 52px; border-radius: 50%; background: var(--whatsapp); color: #fff; display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0,0,0,.2); }
.fab-whatsapp svg { width: 30px; height: 30px; stroke: none; }

/* ------------------------------------------------------- asistente */
.asistente {
  position: fixed; z-index: 70; right: 0; bottom: 0; left: 0; height: min(88vh, 640px); display: flex; flex-direction: column;
  background: var(--blanco); border-radius: var(--radio-l) var(--radio-l) 0 0; box-shadow: var(--sombra-panel); overflow: hidden;
}
.asistente[hidden] { display: none; }
@media (min-width: 640px) { .asistente { left: auto; right: 16px; bottom: 16px; width: 400px; border-radius: var(--radio-l); border: 2px solid var(--marino-texto); } }
.asistente__cabecera { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .8rem .6rem .8rem 1rem; background: var(--amarillo); color: var(--marino-texto); border-bottom: 2px solid var(--marino-texto); }
.asistente__cabecera h2 { font-size: 1.05rem; }
.asistente__cabecera p { font-size: .8rem; color: #2A3F5F; }
.asistente__mensajes { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .75rem; background: var(--vitrina); }
.msj { max-width: 90%; padding: .65rem .85rem; border-radius: 14px; font-size: .92rem; line-height: 1.45; }
.msj--bot { align-self: flex-start; background: var(--blanco); border: 1px solid var(--linea); border-bottom-left-radius: 4px; }
.msj--yo { align-self: flex-end; background: var(--marino); color: #fff; border-bottom-right-radius: 4px; }
.msj p + p { margin-top: .4rem; }
.msj__productos { list-style: none; margin: .6rem 0 0; padding: 0; display: grid; gap: .45rem; }
.mini { display: grid; grid-template-columns: 1fr auto; gap: .2rem .6rem; align-items: center; border: 1px solid var(--linea); border-radius: var(--radio-s); padding: .5rem .6rem; background: var(--vitrina); }
.mini__nombre { font-size: .82rem; background: none; border: 0; padding: 0; text-align: left; color: var(--tinta); }
.mini__nombre:hover { text-decoration: underline; }
.mini__precio { font-weight: 600; color: var(--marino-texto); font-size: .9rem; white-space: nowrap; }
.mini__porque { grid-column: 1 / -1; font-size: .74rem; color: var(--tinta-suave); }
.mini__acciones { grid-column: 1 / -1; display: flex; gap: .4rem; align-items: center; }
.mini__agregar { border: 1.5px solid var(--marino-texto); background: var(--blanco); color: var(--marino-texto); border-radius: 6px; font-size: .78rem; padding: .25rem .6rem; min-height: 32px; }
.mini__agregar[data-en="1"] { background: var(--marino); color: var(--amarillo); }
.msj__acciones { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .6rem; }
.msj__acciones a, .msj__acciones button { font-size: .8rem; min-height: 34px; padding: .3rem .75rem; border-radius: 999px; }
.sugerencias { display: flex; flex-wrap: wrap; gap: .4rem; }
.sugerencias button { border: 1.5px solid var(--linea); background: var(--blanco); border-radius: 999px; padding: .3rem .75rem; font-size: .8rem; min-height: 34px; color: var(--marino-texto); }
.sugerencias button:hover { border-color: var(--marino-texto); }
.escribiendo { display: inline-flex; gap: 4px; }
.escribiendo i { width: 6px; height: 6px; border-radius: 50%; background: var(--tinta-suave); animation: punto 1s infinite; }
.escribiendo i:nth-child(2) { animation-delay: .15s; } .escribiendo i:nth-child(3) { animation-delay: .3s; }
@keyframes punto { 50% { opacity: .25; } }
.asistente__form { display: flex; gap: .4rem; padding: .6rem; border-top: 1px solid var(--linea); background: var(--blanco); }
.asistente__form input { flex: 1; min-width: 0; min-height: 46px; border: 1.5px solid var(--linea); border-radius: 12px; padding: .5rem .8rem; font-size: 1rem; }
.asistente__form input:focus { border-color: var(--marino-texto); outline: none; }
.asistente__form button { width: 46px; height: 46px; border-radius: 12px; border: 0; background: var(--marino); color: #fff; display: grid; place-items: center; }
.asistente__form button svg { width: 22px; height: 22px; }

/* ------------------------------------------------------- panel cotización */
.velo { position: fixed; inset: 0; z-index: 55; background: rgba(19,35,59,.45); }
.panel { position: fixed; z-index: 80; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--blanco); display: flex; flex-direction: column; box-shadow: var(--sombra-panel); }
.panel[hidden] { display: none; }
.panel__cabecera { display: flex; justify-content: space-between; align-items: center; padding: .7rem .6rem .7rem 1.1rem; border-bottom: 1px solid var(--linea); }
.panel__cabecera h2 { font-size: 1.2rem; color: var(--marino-texto); }
.panel__cuerpo { flex: 1; overflow-y: auto; padding: 1rem 1.1rem; }
.items { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.item { display: grid; grid-template-columns: 1fr auto; gap: .4rem .75rem; padding-bottom: .7rem; border-bottom: 1px solid var(--linea); }
.item__nombre { font-size: .9rem; }
.item__subtotal { font-weight: 600; color: var(--marino-texto); white-space: nowrap; font-variant-numeric: tabular-nums; }
.item__controles { display: flex; align-items: center; gap: .35rem; }
.cantidad { display: inline-flex; align-items: center; border: 1.5px solid var(--linea); border-radius: var(--radio-s); }
.cantidad button { width: 36px; height: 36px; border: 0; background: none; font-size: 1.1rem; color: var(--marino-texto); }
.cantidad span { min-width: 2ch; text-align: center; font-variant-numeric: tabular-nums; }
.item__quitar { font-size: .82rem; }
.item__unitario { font-size: .78rem; color: var(--tinta-suave); text-align: right; }
.vacio-cotizacion { text-align: center; color: var(--tinta-suave); padding: 2rem 0; }
.vacio-cotizacion p:first-child { color: var(--tinta); font-weight: 500; }
.datos-cliente { display: grid; gap: .7rem; margin-top: 1.25rem; }
.datos-cliente label { display: grid; gap: .25rem; font-size: .85rem; color: var(--tinta-suave); }
.datos-cliente input { min-height: 44px; border: 1.5px solid var(--linea); border-radius: var(--radio-s); padding: .45rem .65rem; color: var(--tinta); }
.opcional { font-weight: 300; }
.panel__pie { padding: 1rem 1.1rem 1.25rem; border-top: 1px solid var(--linea); display: grid; gap: .6rem; }
.total { display: flex; justify-content: space-between; align-items: baseline; }
.total strong { font-size: 1.45rem; color: var(--marino-texto); font-variant-numeric: tabular-nums; }
.panel__secundarios { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }

/* ------------------------------------------------------- detalle */
.detalle { background: var(--blanco); border: 0; padding: 0; border-radius: var(--radio-l); width: min(760px, calc(100% - 24px)); max-height: calc(100vh - 32px); box-shadow: var(--sombra-panel); color: var(--tinta); }
.detalle::backdrop { background: rgba(19,35,59,.5); }
.detalle__contenido { display: grid; position: relative; }
@media (min-width: 720px) { .detalle__contenido { grid-template-columns: 1fr 1.15fr; } }
.detalle__foto { background: var(--placa); color: var(--placa-icono); display: grid; place-items: center; min-height: 200px; }
.detalle__foto svg { width: 40%; height: auto; stroke-width: 1.1; }
.detalle__info { padding: 1.4rem 1.3rem 1.5rem; display: grid; gap: .7rem; align-content: start; }
.detalle__info .estado { justify-self: start; }
.detalle__ruta { font-size: .8rem; color: var(--tinta-suave); }
.detalle__info h2 { font-size: 1.3rem; font-weight: 500; }
.detalle__precio { font-size: 1.9rem; font-weight: 600; color: var(--marino-texto); font-variant-numeric: tabular-nums; }
.detalle__specs { display: grid; grid-template-columns: auto 1fr; gap: .25rem 1rem; margin: 0; font-size: .9rem; }
.detalle__specs dt { color: var(--tinta-suave); }
.detalle__specs dd { margin: 0; }
.detalle__acciones { display: grid; gap: .5rem; margin-top: .4rem; }
.detalle__cerrar { position: absolute; top: .4rem; right: .4rem; background: rgba(255,255,255,.85); }
.detalle__compartir { justify-self: start; }

/* ------------------------------------------------------- aviso */
.aviso { position: fixed; left: 50%; top: 76px; transform: translate(-50%, -12px); z-index: 90; background: #13233B; box-shadow: 0 6px 20px rgba(0,0,0,.25); color: #fff; padding: .65rem 1.1rem; border-radius: 999px; font-size: .9rem; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; max-width: calc(100% - 32px); }
.aviso.visible { opacity: 1; transform: translate(-50%, 0); }

/* ------------------------------------------------------- proforma (impresión) */
.proforma { display: none; }
@media print {
  @page { size: A4; margin: 14mm; }
  body > *:not(.proforma) { display: none !important; }
  body { background: #fff; }
  .proforma { display: block; color: #000; font-size: 10.5pt; }
  .pf-cab { display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 3px solid var(--marino-texto); padding-bottom: 10px; }
  .pf-marca { display: flex; gap: 10px; align-items: center; color: var(--marino-texto); }
  .pf-marca svg { width: 52px; height: 46px; }
  .pf-marca strong { font-size: 16pt; }
  .pf-caja { border: 2px solid var(--marino-texto); text-align: center; padding: 6px 14px; color: var(--marino-texto); }
  .pf-caja strong { display: block; font-size: 13pt; }
  .pf-datos { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 20px; margin: 12px 0; }
  .pf-tabla { width: 100%; border-collapse: collapse; margin-top: 8px; }
  .pf-tabla th { background: var(--marino) !important; color: #fff !important; text-align: left; padding: 6px; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .pf-tabla td { border-bottom: 1px solid #ccc; padding: 6px; vertical-align: top; }
  .pf-tabla .num { text-align: right; white-space: nowrap; }
  .pf-total td { font-weight: 700; font-size: 12pt; border-bottom: 0; }
  .pf-nota { margin-top: 18px; font-size: 9pt; color: #333; }
}


/* ==========================================================================
   Páginas separadas, inicio, comparador y armador
   ========================================================================== */
.btn-primario { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px; padding: .55rem 1.1rem; border-radius: var(--radio-m); font-weight: 500; text-decoration: none; border: 0; background: var(--marino); color: #fff; }
.btn-primario:hover { background: var(--pared); }
.btn-texto--claro { color: #fff; }
.desactivado { opacity: .5; pointer-events: none; }
button:disabled { opacity: .5; cursor: not-allowed; }
main { min-height: 50vh; }

/* bloques genéricos */
.bloque { padding: 2.5rem 0; }
.bloque--blanco { background: var(--blanco); border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); }
.bloque__cabecera { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.bloque__cabecera h2 { font-size: clamp(1.35rem, 3vw, 1.75rem); color: var(--marino-texto); }
.bloque__nota { color: var(--tinta-suave); font-size: .9rem; }

/* cabecera de cada página */
.cabecera-pagina { background: var(--marino); color: #fff; padding: 2.25rem 0 2.4rem; }
.cabecera-pagina h1 { font-size: clamp(1.9rem, 5vw, 2.8rem); font-weight: 700; letter-spacing: -.02em; }
.cabecera-pagina p { margin-top: .6rem; max-width: 56ch; color: #D3DEEC; }
.cabecera-pagina .buscador { margin-top: 1.25rem; }
.cabecera-pagina__grid { display: grid; gap: 1.5rem; align-items: end; }
@media (min-width: 900px) { .cabecera-pagina__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } }
.cabecera-pagina__acciones { display: flex; flex-wrap: wrap; gap: .6rem; }
.cabecera-pagina--amarilla { background: var(--amarillo); color: var(--marino-texto); border-bottom: 6px solid var(--marino-texto); }
.cabecera-pagina--amarilla p { color: #2A3F5F; }
.cabecera-pagina--pared { background: var(--pared); }
.cabecera-pagina--roble { background: var(--roble); color: var(--marino-texto); }
.cabecera-pagina--roble p { color: #3B3424; }

/* accesos rápidos del inicio */
.accesos { background: var(--blanco); border-bottom: 1px solid var(--linea); }
.accesos__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; padding-top: 1rem; padding-bottom: 1rem; }
@media (min-width: 820px) { .accesos__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; padding-top: 1.4rem; padding-bottom: 1.4rem; } }
.acceso { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: .75rem; align-items: center; padding: .85rem .9rem; border-radius: var(--radio-m); border: 1.5px solid var(--linea); text-decoration: none; color: var(--tinta); background: var(--vitrina); }
.acceso svg { grid-row: span 2; width: 40px; height: 40px; padding: 8px; border-radius: 10px; background: var(--marino); color: var(--amarillo); stroke-width: 1.8; }
.acceso strong { font-weight: 600; color: var(--marino-texto); font-size: .98rem; line-height: 1.2; }
.acceso span { font-size: .8rem; color: var(--tinta-suave); line-height: 1.3; }
.acceso:hover { border-color: var(--marino-texto); }
@media (max-width: 519px) { .acceso { grid-template-columns: 1fr; row-gap: .45rem; align-items: start; } .acceso svg { grid-row: auto; } }
@media (max-width: 639px) { .fab-asistente { padding: 0; width: 56px; height: 56px; justify-content: center; } .fab-asistente span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .fab-whatsapp { bottom: 84px; } }

/* categorías: nombre en su propia línea */
.grupo__nombre { display: block; }
.repisa__lista--compacta { padding: .7rem 0 .6rem; grid-auto-columns: 84px; }
@media (min-width: 1100px) { .repisa__lista--compacta { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: minmax(0, 1fr); } }
.repisa__lista--compacta .grupo { font-size: .74rem; padding: .4rem .2rem .6rem; }
.repisa__lista--compacta .grupo__icono { width: 44px; height: 44px; border-radius: 12px; }
.repisa__lista--compacta .grupo__icono svg { width: 24px; height: 24px; }
.repisa__lista--compacta .grupo__cuenta { display: none; }

/* destacados del inicio */
.productos--fila { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .productos--fila { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* marcas */
.marcas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .5rem; }
.marcas a { display: flex; flex-direction: column; gap: .1rem; padding: .8rem .9rem; border-radius: var(--radio-m); background: var(--blanco); border: 1px solid var(--linea); text-decoration: none; }
.marcas strong { color: var(--marino-texto); font-weight: 600; font-size: 1.02rem; letter-spacing: .01em; }
.marcas span { color: var(--tinta-suave); font-size: .78rem; }
.marcas a:hover { border-color: var(--marino-texto); }

/* opiniones */
.opiniones { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.opinion { background: var(--vitrina); border: 1px solid var(--linea); border-radius: var(--radio-m); padding: 1.1rem 1.2rem; display: grid; gap: .5rem; align-content: start; }
.opinion__estrellas { color: var(--amarillo-hondo); letter-spacing: .1em; }
.opinion__estrellas span { color: var(--linea); }
.opinion blockquote { margin: 0; font-size: .98rem; }
.opinion__autor { color: var(--tinta-suave); font-size: .85rem; }
.opinion--vacia { justify-items: start; }

/* visita */
.visita { background: var(--pared); color: #fff; padding: 2.25rem 0; }
.visita__grid { display: grid; gap: 1.25rem; align-items: center; }
@media (min-width: 860px) { .visita__grid { grid-template-columns: 1.2fr 1fr auto; } }
.visita h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); }
.visita__dir { margin-top: .4rem; font-size: 1.1rem; font-weight: 500; }
.visita__ref { color: #D3DEEC; font-size: .9rem; }
.visita .horario { margin: 0; }
.visita .horario dt { color: #C4D3E4; }

/* pasos en fila */
.pasos--fila { counter-reset: paso; }
@media (min-width: 860px) { .pasos--fila { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); } }
.pasos--fila li { background: var(--blanco); border: 1px solid var(--linea); align-items: start; }
.beneficios { display: grid; gap: 1rem 2rem; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.beneficios h3 { font-size: 1.08rem; color: var(--marino-texto); margin-bottom: .35rem; }
.beneficios p { color: var(--tinta-suave); }
.beneficios a { color: var(--pared-texto); }
.ubicacion__datos h2 { font-size: 1rem; color: var(--tinta-suave); font-weight: 500; margin-top: 1.25rem; }
.ubicacion__datos h2:first-child { margin-top: 0; }
.ubicacion__datos .horario { margin: .4rem 0 0; }
.ubicacion__botones { margin-top: 1.25rem; }

/* pie */
.pie { padding: 2.5rem 0 7rem; }
.pie__grid { display: grid; gap: 1.75rem; }
@media (min-width: 820px) { .pie__grid { grid-template-columns: 1.4fr 1fr 1.2fr; align-items: start; } }
.pie h2 { font-size: .95rem; color: #fff; margin-bottom: .6rem; }
.pie ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.pie a { color: #C9D6E6; }
.pie p + p { margin-top: .5rem; }
.pie__marca p { margin-top: .6rem; max-width: 34ch; }
.pie__redes { margin-top: .8rem; }
.pie__legal { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .8rem; color: #9FB3CB; }
.marca--pie { color: #fff; margin-bottom: 0; }

/* comparar: botón en tarjeta, barra y tabla */
.producto__comparar { align-self: center; display: inline-flex; align-items: center; gap: .35rem; border: 0; background: none; color: var(--tinta-suave); font-size: .8rem; min-height: 34px; padding: .2rem .4rem; border-radius: 6px; }
.producto__comparar svg { width: 16px; height: 16px; }
.producto__comparar:hover { color: var(--marino-texto); }
.producto__comparar[aria-pressed="true"] { color: var(--marino-texto); background: var(--chip); font-weight: 500; }
.barra-comparar { position: fixed; left: 50%; transform: translateX(-50%); bottom: 16px; z-index: 45; display: flex; align-items: center; gap: .75rem; background: var(--marino); color: #fff; border-radius: 999px; padding: .4rem .5rem .4rem 1.1rem; box-shadow: var(--sombra-panel); font-size: .9rem; max-width: calc(100% - 24px); }
.barra-comparar .btn-amarillo { min-height: 38px; padding: .35rem 1rem; border-radius: 999px; }
.barra-comparar .btn-texto { min-height: 38px; font-size: .82rem; }
@media (max-width: 639px) { .barra-comparar #barra-comparar-texto { font-size: .8rem; } .barra-comparar .btn-texto { display: none; } }
body.con-barra .fab-asistente { bottom: 76px; }
body.con-barra .fab-whatsapp { bottom: 142px; }
.cmp__tabla-envoltura { overflow-x: auto; border: 1px solid var(--linea); border-radius: var(--radio-m); background: var(--blanco); }
.cmp { width: 100%; border-collapse: collapse; min-width: 560px; }
.cmp th, .cmp td { padding: .75rem .9rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--linea); font-size: .92rem; }
.cmp thead th { vertical-align: top; width: 28%; }
.cmp tbody th { color: var(--tinta-suave); font-weight: 400; width: 16%; white-space: nowrap; }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp__cabeza { display: grid; gap: .4rem; }
.cmp__foto { aspect-ratio: 16 / 10; display: grid; place-items: center; background: var(--placa); border-radius: var(--radio-s); color: var(--placa-icono); }
.cmp__foto svg { width: 40%; height: 60%; stroke-width: 1.2; }
.cmp__foto img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.cmp__insignia { justify-self: start; background: var(--amarillo); color: var(--marino-texto); font-size: .74rem; font-weight: 600; padding: .15rem .55rem; border-radius: 999px; }
.cmp__aviso { margin-bottom: 1rem; }
.cmp__aviso a { color: var(--pared-texto); }

/* detalle */
.detalle__acciones { display: grid; gap: .5rem; }
.detalle__pie { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.detalle__codigo { font-size: .76rem; color: var(--tinta-suave); }
.detalle__foto img { width: 100%; height: 100%; max-height: 360px; object-fit: contain; background: #fff; }

/* armar mi PC */
.armar-auto { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radio-m); padding: 1rem; display: grid; gap: .6rem; }
.armar-auto > label { font-size: .92rem; color: #D3DEEC; }
.armar-auto__fila { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.armar-auto__fila > span { font-weight: 600; }
.armar-auto input[type=number] { width: 120px; min-height: 44px; border-radius: var(--radio-s); border: 0; padding: .4rem .6rem; color: var(--tinta); }
.check--claro { color: #fff; min-height: 44px; }
.armador { padding: 1.75rem 0 6rem; }
.armador__grid { display: grid; gap: 1.5rem; }
@media (min-width: 980px) { .armador__grid { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; } }
.pasos-armado { list-style: none; margin: .75rem 0 0; padding: 0; display: grid; gap: .6rem; }
.paso-armado { background: var(--blanco); border: 1px solid var(--linea); border-radius: var(--radio-m); scroll-margin-top: 80px; }
.paso-armado--abierto { border-color: var(--marino-texto); box-shadow: 0 0 0 1px var(--marino-texto); }
.paso-armado__cabeza { width: 100%; display: grid; grid-template-columns: auto 1fr auto; gap: .8rem; align-items: center; text-align: left; border: 0; background: none; padding: .85rem 1rem; border-radius: var(--radio-m); }
.paso-armado__num { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--chip); color: var(--marino-texto); font-weight: 600; }
.paso-armado--listo .paso-armado__num { background: var(--ok); color: #fff; }
.paso-armado--abierto .paso-armado__num { background: var(--marino); color: var(--amarillo); }
.paso-armado__titulo { font-weight: 600; color: var(--marino-texto); display: grid; gap: .1rem; min-width: 0; }
.paso-armado__estado { font-weight: 400; color: var(--tinta-suave); font-size: .84rem; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.paso-armado__estado strong { color: var(--marino-texto); font-weight: 600; }
.paso-armado__accion { font-size: .85rem; color: var(--pared-texto); text-decoration: underline; text-underline-offset: 3px; }
.paso-armado__cuerpo { padding: 0 1rem 1rem; display: grid; gap: .7rem; justify-items: start; }
.paso-armado__ayuda { color: var(--tinta-suave); font-size: .9rem; }
.opciones { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; width: 100%; }
.opcion { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: .4rem .8rem; align-items: center; padding: .6rem .7rem; border: 1px solid var(--linea); border-radius: var(--radio-s); }
@media (max-width: 560px) { .opcion { grid-template-columns: minmax(0, 1fr) auto; } .opcion__texto { grid-column: 1 / -1; } }
.opcion--elegida { border-color: var(--ok); background: var(--ok-fondo); }
.opcion__texto { display: grid; gap: .1rem; min-width: 0; }
.opcion__nombre { border: 0; background: none; padding: 0; text-align: left; font-size: .9rem; color: var(--tinta); }
.opcion__nombre:hover { text-decoration: underline; }
.opcion__info { font-size: .78rem; color: var(--tinta-suave); }
.opcion__precio { font-weight: 600; color: var(--marino-texto); white-space: nowrap; font-variant-numeric: tabular-nums; }
.opcion__elegir { min-height: 38px; min-width: 84px; border-radius: var(--radio-s); border: 1.5px solid var(--marino-texto); background: var(--blanco); color: var(--marino-texto); font-weight: 500; }
.opcion__elegir:hover { background: var(--marino); color: #fff; }
.opcion__elegir[aria-pressed="true"] { background: var(--ok); border-color: var(--ok); color: #fff; }
.cantidad-ram { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; font-size: .88rem; }
.cantidad-ram button { border: 1.5px solid var(--linea); background: var(--blanco); border-radius: 999px; padding: .3rem .8rem; min-height: 36px; color: var(--marino-texto); }
.cantidad-ram button[aria-pressed="true"] { border-color: var(--marino-texto); background: var(--marino); color: #fff; }
.resumen { background: var(--blanco); border: 2px solid var(--marino-texto); border-radius: var(--radio-l); padding: 1.1rem 1.1rem 1.25rem; display: grid; gap: .75rem; scroll-margin-top: 80px; }
@media (min-width: 980px) { .resumen { position: sticky; top: 84px; } }
.resumen h2 { font-size: 1.2rem; color: var(--marino-texto); }
.resumen__lista { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; font-size: .9rem; }
.resumen__lista li { display: flex; justify-content: space-between; gap: .5rem; padding-bottom: .35rem; border-bottom: 1px dashed var(--linea); }
.resumen__precio { font-weight: 600; color: var(--marino-texto); font-variant-numeric: tabular-nums; }
.resumen__falta { color: var(--tinta-suave); }
.chequeos { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; font-size: .84rem; }
.chequeos li { padding-left: 1.5rem; position: relative; }
.chequeos li::before { position: absolute; left: 0; top: 0; font-weight: 700; }
.chequeos .ok { color: var(--ok); } .chequeos .ok::before { content: '✓'; }
.chequeos .mal { color: #B42318; } .chequeos .mal::before { content: '✕'; }
.chequeos .pendiente { color: var(--consultar); } .chequeos .pendiente::before { content: '•'; }
.resumen__nota { font-size: .76rem; color: var(--tinta-suave); }
.resumen-movil { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .6rem 16px; background: var(--marino); color: #fff; }
.resumen-movil strong { color: var(--amarillo); font-size: 1.1rem; margin-left: .3rem; }
@media (min-width: 980px) { .resumen-movil { display: none; } }
body[data-pagina="armar"] .fab-asistente { bottom: 76px; }
body[data-pagina="armar"] .fab-whatsapp { bottom: 142px; }
@media (min-width: 980px) { body[data-pagina="armar"] .fab-asistente { bottom: 16px; } body[data-pagina="armar"] .fab-whatsapp { bottom: 82px; } }


/* ==========================================================================
   Ronda 3: portada mitad y mitad, precio etiqueta, barra tipo app, etiquetas,
   categorías grandes, vistos recientemente
   ========================================================================== */
/* cabecera: iconos de llamar y WhatsApp */
.cabecera__iconos { display: flex; gap: .25rem; margin-left: auto; }
.icono-cabecera { width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--radio-s); color: #fff; }
.icono-cabecera svg { width: 22px; height: 22px; }
.icono-cabecera--wa svg { width: 25px; height: 25px; stroke: none; }
.icono-cabecera:hover { background: rgba(255,255,255,.1); }
.cabecera__iconos + .btn-cotizacion { margin-left: .4rem; }
@media (min-width: 1080px) { .cabecera__iconos { margin-left: .5rem; } .icono-cabecera:not(.icono-cabecera--wa) { display: none; } }

/* barra inferior tipo app (celular y tablet) */
.barra-app { display: none; }
@media (max-width: 859px) {
  .barra-app {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: repeat(5, 1fr);
    background: var(--blanco); border-top: 1px solid var(--linea); padding: .3rem .25rem calc(.3rem + env(safe-area-inset-bottom));
    box-shadow: 0 -4px 18px rgba(19,35,59,.08);
  }
  .barra-app a, .barra-app button {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem; min-height: 52px;
    border: 0; background: none; color: var(--tinta-suave); font-size: .7rem; text-decoration: none; border-radius: var(--radio-s); font-family: inherit;
  }
  .barra-app svg { width: 24px; height: 24px; }
  .barra-app [aria-current="page"] { color: var(--marino-texto); font-weight: 600; }
  .barra-app [aria-current="page"] svg { stroke-width: 2.4; }
  .barra-app__icono { position: relative; display: grid; }
  .barra-app__icono .contador { position: absolute; top: -6px; right: -12px; min-width: 18px; height: 18px; font-size: .66rem; padding: 0 4px; }
  .btn-cotizacion, .fab-asistente, .fab-whatsapp { display: none !important; }
  .btn-menu { margin-left: 0; }
  .pie { padding-bottom: 6.5rem; }
  .barra-comparar { bottom: 76px; }
  .resumen-movil { bottom: calc(62px + env(safe-area-inset-bottom)); }
  .armador { padding-bottom: 9rem; }
  .asistente { z-index: 75; }
}

/* portada mitad y mitad */
.letrero--mitad { display: grid; grid-template-columns: minmax(0, 1fr); padding: 0; }
.letrero--mitad::after { right: 50%; }
.letrero__mitad { position: relative; z-index: 1; padding: 2rem 16px 2.25rem; }
.letrero__foto { position: relative; margin: 0; min-height: 220px; background: var(--marino); }
.letrero__foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.letrero__placa {
  position: absolute; left: 16px; bottom: 16px; display: flex; align-items: center; gap: .6rem; max-width: calc(100% - 32px);
  background: rgba(30,58,100,.92); color: #fff; border-radius: 14px; padding: .55rem .9rem .55rem .7rem; font-size: .85rem;
}
.letrero__placa svg { width: 56px; height: 40px; flex: none; }
@media (min-width: 720px) { .letrero__mitad { padding-left: 28px; padding-right: 28px; } }
@media (min-width: 900px) {
  .letrero--mitad { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 440px; }
  .letrero__mitad { display: flex; align-items: center; justify-content: flex-end; padding: 3rem 2.5rem 3.25rem max(28px, calc((100vw - 1240px) / 2 + 28px)); }
  .letrero__texto { width: 100%; max-width: 560px; }
  .letrero__foto { min-height: 100%; }
  .letrero__placa { left: 24px; bottom: 24px; font-size: .9rem; }
  .letrero__placa svg { width: 72px; height: 50px; }
}
.letrero--mitad h1 { max-width: 13ch; }

/* precio tipo etiqueta de vitrina */
.precio-etiqueta {
  display: inline-flex; align-items: baseline; gap: .15rem; background: var(--amarillo); color: var(--marino-texto);
  font-weight: 700; padding: .12rem .55rem .14rem; border-radius: 6px; font-variant-numeric: tabular-nums; letter-spacing: -.01em;
  box-shadow: inset 0 -2px 0 rgba(30,58,100,.18);
}
.precio-etiqueta small { font-size: .7em; font-weight: 600; }
.precio-etiqueta--grande { font-size: 1.6rem; padding: .2rem .75rem; border-radius: 8px; }
.producto__precio { display: flex; flex-direction: column; align-items: flex-start; gap: .2rem; }
.precio-antes { font-size: .74rem; color: var(--tinta-suave); text-decoration: line-through; font-weight: 400; }
.precio-antes b { text-decoration: none; display: inline-block; color: #B42318; font-weight: 600; margin-left: .2rem; }
@media (prefers-color-scheme: dark) { .precio-antes b { color: #FF8A7A; } }
.detalle__precio { display: flex; flex-direction: column; align-items: flex-start; gap: .25rem; font-size: 1rem; }

/* insignias */
.insignia { position: absolute; top: .5rem; left: .5rem; font-size: .72rem; font-weight: 600; padding: .18rem .55rem; border-radius: 999px; letter-spacing: .01em; }
.insignia--oferta { background: #D92D20; color: #fff; }
.insignia--nuevo { background: var(--marino); color: var(--amarillo); }
.insignia--otra { background: var(--pared); color: #fff; }
.detalle__info .insignia { position: static; justify-self: start; }

/* categorías grandes */
.cats-grandes { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .cats-grandes { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; } }
.cat-grande { height: 100%; display: flex; flex-direction: column; background: var(--blanco); border: 1px solid var(--linea); border-radius: var(--radio-m); overflow: hidden; text-decoration: none; color: var(--tinta); }
.cat-grande:hover { border-color: var(--marino-texto); }
.cat-grande__imagen { aspect-ratio: 16 / 9; display: grid; place-items: center; background: var(--placa); color: var(--pared-texto); position: relative; border-bottom: 4px solid var(--roble); }
.cat-grande__imagen svg { width: 34%; height: 54%; stroke-width: 1.3; }
.cat-grande__imagen img { width: 100%; height: 100%; object-fit: contain; background: #fff; padding: .6rem; }
.cat-grande:hover .cat-grande__imagen { background: var(--amarillo); color: #1E3A64; }
.cat-grande__texto { display: grid; gap: .2rem; padding: .75rem .85rem .9rem; }
.cat-grande__texto strong { color: var(--marino-texto); font-weight: 600; font-size: 1rem; line-height: 1.25; }
.cat-grande__texto span { font-size: .78rem; color: var(--tinta-suave); line-height: 1.35; }
.cat-grande__texto em { font-style: normal; font-size: .76rem; color: var(--pared-texto); font-weight: 500; }
.cats-mas__titulo { font-size: .95rem; font-weight: 500; color: var(--tinta-suave); margin: 1.5rem 0 .6rem; }
.cats-mas { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.chip--enlace { text-decoration: none; padding: .35rem .8rem .35rem .55rem; gap: .4rem; }
.chip--enlace svg { width: 18px; height: 18px; }
.chip--enlace span { color: var(--tinta-suave); font-size: .76rem; }

/* vistos recientemente: fila deslizable */
.productos--carrusel { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(170px, 210px); grid-template-columns: none; overflow-x: auto; padding-bottom: .5rem; scroll-snap-type: x proximity; }
.productos--carrusel > li { scroll-snap-align: start; }

/* estado en contacto */
.estado-tienda { display: inline-flex; align-items: center; gap: .45rem; font-weight: 500; color: #B42318; margin-top: .3rem; }
.estado-tienda::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.estado-tienda--abierto { color: var(--ok); }
.letrero--mitad::after { display: none; }
/* las fotos llenan su caja sin estirarla */
.producto__foto img, .cmp__foto img, .cat-grande__imagen img { position: absolute; inset: 0; }
.cmp__foto, .cat-grande__imagen { position: relative; overflow: hidden; }

/* ==========================================================================
   Ronda 4: plan de mejoras
   ========================================================================== */
.letrero__botones { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.1rem; }
.letrero__botones .btn-secundario { background: rgba(255,255,255,.75); border-color: rgba(30,58,100,.35); color: #1E3A64; }
.letrero--mitad h1 { max-width: 18ch; font-size: clamp(1.9rem, 4.6vw, 3.1rem); }
.accesos__grid--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .accesos__grid--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .accesos__grid--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .75rem; } .accesos__grid--6 .acceso { grid-template-columns: 1fr; row-gap: .45rem; } .accesos__grid--6 .acceso svg { grid-row: auto; } }
.acceso span:empty { display: none; }
/* banda ¿no encuentras? */
.consulta { background: var(--roble); color: #13233B; padding: 1.75rem 0; --marino-texto: #1E3A64; --tinta-suave: #4A5A70; }
.consulta__grid { display: grid; gap: 1rem; align-items: center; }
@media (min-width: 860px) { .consulta__grid { grid-template-columns: auto 1fr auto; gap: 1.5rem; } }
.consulta__grid > svg { width: 52px; height: 52px; padding: 10px; border-radius: 14px; background: var(--marino); color: var(--amarillo); }
.consulta h2 { font-size: clamp(1.3rem, 3vw, 1.6rem); color: #1E3A64; }
.consulta p { color: #3B3424; margin-top: .25rem; }
.consulta__botones { display: flex; flex-wrap: wrap; gap: .5rem; }
.consulta .btn-secundario { background: #fff; color: #1E3A64; border-color: rgba(30,58,100,.3); }
/* promos armar / empresas */
.promos { display: grid; gap: .8rem; }
@media (min-width: 760px) { .promos { grid-template-columns: 1fr 1fr; } }
.promo { display: flex; gap: 1rem; align-items: center; padding: 1.1rem 1.2rem; border-radius: var(--radio-m); background: var(--marino); color: #fff; text-decoration: none; }
.promo svg { width: 46px; height: 46px; flex: none; padding: 9px; border-radius: 12px; background: rgba(255,255,255,.1); color: var(--amarillo); }
.promo strong { display: block; font-size: 1.05rem; margin-bottom: .15rem; }
.promo span { color: #D3DEEC; font-size: .9rem; }
.promo span strong { color: #fff; }
.promo:hover { background: var(--pared); }
/* visita */
.estado-tienda--claro { color: #FFC9C0; }
.estado-tienda--claro.estado-tienda--abierto { color: #9EF0C4; }
/* tarjeta: pie con comparar y código */
.producto__pie { display: flex; justify-content: space-between; align-items: center; gap: .3rem; margin-top: .1rem; }
.producto__codigo { font-size: .68rem; color: var(--tinta-suave); white-space: nowrap; }
a.estado { text-decoration: none; }
a.estado--consultar::after { content: '›'; margin-left: .1rem; }
a.estado--consultar:hover { text-decoration: underline; }
.precio-hasta { font-size: .72rem; color: #B42318; font-weight: 500; }
@media (prefers-color-scheme: dark) { .precio-hasta { color: #FF8A7A; } }
/* detalle: relacionados */
.detalle__relacionados { grid-column: 1 / -1; padding: 0 1.3rem 1.4rem; display: grid; gap: 1rem; border-top: 1px solid var(--linea); padding-top: 1rem; }
@media (min-width: 720px) { .detalle__relacionados { grid-template-columns: 1fr 1fr; } }
.relacionados h3 { font-size: .95rem; color: var(--marino-texto); margin-bottom: .35rem; }
.detalle__pie { flex-wrap: wrap; }
/* panel de cotización */
.como-funciona { margin: 0 0 1rem; padding: .75rem .9rem .75rem 2rem; background: var(--chip); border-radius: var(--radio-m); font-size: .84rem; display: grid; gap: .2rem; color: var(--tinta); }
.como-funciona strong { color: var(--marino-texto); }
.total small { font-size: .74rem; color: var(--tinta-suave); }
.panel__condiciones { font-size: .76rem; color: var(--tinta-suave); margin-top: -.2rem; }
/* servicio técnico */
.info-servicio { display: grid; gap: .8rem; margin-top: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.info-servicio:empty { display: none; }
.info-servicio__item { background: var(--blanco); border: 1px solid var(--linea); border-radius: var(--radio-m); padding: 1rem 1.1rem; }
.info-servicio__item h3 { font-size: 1rem; color: var(--marino-texto); margin-bottom: .4rem; }
.info-servicio__item ul { margin: 0; padding-left: 1.1rem; color: var(--tinta-suave); }
.info-servicio__item p { color: var(--tinta-suave); }
.problema__grid { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .problema__grid { grid-template-columns: 1fr 1.3fr; } }
.problema__grid h2 { font-size: clamp(1.35rem, 3vw, 1.75rem); color: var(--marino-texto); margin-bottom: .5rem; }
.problema { display: grid; gap: .8rem; }
.problema label { display: grid; gap: .3rem; font-size: .9rem; color: var(--tinta-suave); }
.problema input, .problema select, .problema textarea { min-height: 44px; border: 1.5px solid var(--linea); border-radius: var(--radio-s); padding: .55rem .7rem; background: var(--blanco); color: var(--tinta); font: inherit; }
.problema textarea { resize: vertical; }
.problema button { justify-self: start; }
/* empresas */
.requisitos h2 { font-size: clamp(1.35rem, 3vw, 1.75rem); color: var(--marino-texto); margin-bottom: .8rem; }
.lista-check { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .6rem; }
.lista-check li { position: relative; padding-left: 1.9rem; }
.lista-check li::before { content: '✓'; position: absolute; left: 0; top: .05rem; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--ok-fondo); color: var(--ok); font-weight: 700; font-size: .8rem; display: grid; place-items: center; }
.lista-check a { color: var(--pared-texto); }
/* nosotros */
.nosotros__grid { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 900px) { .nosotros__grid { grid-template-columns: 1.2fr 1fr; } }
.nosotros__texto > p { font-size: 1.08rem; margin-bottom: 1.1rem; max-width: 60ch; }
.nosotros__foto { margin: 0; border-radius: var(--radio-l); overflow: hidden; }
.nosotros__foto img { width: 100%; height: auto; display: block; }
.datos-empresa { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1.5rem; margin: 0; }
.datos-empresa dt { color: var(--tinta-suave); }
.datos-empresa dd { margin: 0; font-weight: 500; }
/* privacidad */
.texto-legal { max-width: 70ch; }
.texto-legal h2 { font-size: 1.15rem; color: var(--marino-texto); margin: 1.5rem 0 .4rem; }
.texto-legal h2:first-child { margin-top: 0; }
.texto-legal p { color: var(--tinta-suave); }
.ubicacion__ref { color: var(--tinta-suave); margin-top: .2rem; }
.pie__legal { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.pie__legal a { margin-left: auto; }
/* aviso de cookies */
.cookies { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 95; max-width: 560px; margin: 0 auto; background: #13233B; color: #E5ECF5; border-radius: var(--radio-m); padding: 1rem 1.1rem; box-shadow: var(--sombra-panel); display: grid; gap: .7rem; font-size: .9rem; }
.cookies a { color: var(--amarillo); }
.cookies__botones { display: flex; gap: .5rem; align-items: center; }
@media (max-width: 859px) { .cookies { bottom: calc(72px + env(safe-area-inset-bottom)); } }
@media (max-width: 639px) {
  .letrero__texto { display: flex; flex-direction: column; }
  .letrero__botones { order: 5; margin-top: 1rem; }
  .letrero__botones a { min-height: 42px; padding: .45rem .9rem; font-size: .92rem; }
  .letrero__botones [data-como-llegar] { display: none; }
  .letrero--mitad h1 { font-size: 1.85rem; }
}


/* ==========================================================================
   Ronda 5: más propia y menos plantilla
   - amarillo solo en acentos y botones
   - menos cajas, bordes y sombras
   - fotos reales de la tienda
   ========================================================================== */
/* productos sin caja: foto + texto */
.producto { border: 0; background: transparent; overflow: visible; border-radius: 0; }
.producto__foto { border-radius: var(--radio-m); }
.producto__cuerpo { padding: .6rem .1rem 0; }
.producto__agregar { border-width: 1px; min-height: 40px; }
.productos { gap: 1.25rem .9rem; }
@media (min-width: 600px) { .productos { gap: 1.75rem 1.25rem; } }
/* buscador sobrio */
.buscador { box-shadow: none; border: 1.5px solid var(--linea); border-radius: var(--radio-l); background: var(--blanco); }
.buscador:focus-within { box-shadow: none; border-color: var(--marino-texto); }
.buscador button { border-radius: var(--radio-m); }
.cabecera-pagina .buscador { border-color: transparent; }
/* botones */
.btn-grande { min-height: 52px; padding: .7rem 1.4rem; font-size: 1.02rem; }
.btn-amarillo { color: #1E3A64; font-weight: 600; }
/* cabecera: WhatsApp primero */
.btn-wa-cabecera { display: inline-flex; align-items: center; gap: .45rem; min-height: 42px; padding: .35rem .9rem .35rem .7rem; border-radius: 999px; background: var(--whatsapp); color: #fff; text-decoration: none; font-weight: 500; }
.btn-wa-cabecera svg { width: 22px; height: 22px; stroke: none; }
.btn-wa-cabecera:hover { background: #178F44; }
@media (max-width: 639px) { .btn-wa-cabecera { padding: 0; width: 42px; justify-content: center; } .btn-wa-cabecera span { display: none; } }
.btn-cotizacion { border-width: 1px; border-color: rgba(255,255,255,.35); }
.menu-movil__boton { text-align: left; background: none; border: 0; color: var(--amarillo); padding: .8rem .25rem; font-size: 1.05rem; border-bottom: 1px solid rgba(255,255,255,.1); }

/* portada */
.portada { background: var(--blanco); border-bottom: 1px solid var(--linea); }
.portada__grid { display: grid; gap: 1.5rem; padding-top: 1.75rem; padding-bottom: 2rem; }
@media (min-width: 900px) { .portada__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 3rem; align-items: center; padding-top: 3rem; padding-bottom: 3rem; } }
.portada h1 { font-size: clamp(2rem, 4.8vw, 3.3rem); font-weight: 700; letter-spacing: -.025em; color: var(--marino-texto); max-width: 17ch; }
.portada__bajada { margin-top: 1rem; font-size: 1.08rem; color: var(--tinta-suave); max-width: 50ch; }
.portada__botones { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.portada__enlace { display: inline-block; margin-top: 1rem; color: var(--pared-texto); text-underline-offset: 3px; }
.portada .buscador { margin-top: 1.5rem; max-width: 600px; }
.portada__foto { position: relative; }
.portada__img img { width: 100%; height: 100%; max-height: 520px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radio-l); display: block; }
@media (max-width: 899px) { .portada__img img { aspect-ratio: 16 / 11; max-height: 340px; } }
.vitrina-card { position: absolute; left: -1.5rem; bottom: 1.5rem; width: min(340px, 88%); background: var(--blanco); border-radius: var(--radio-l); padding: .9rem 1rem .6rem; box-shadow: 0 12px 30px rgba(19,35,59,.18); display: grid; gap: .45rem; }
@media (max-width: 899px) { .vitrina-card { position: relative; left: auto; bottom: auto; width: auto; margin: -2.5rem .75rem 0; } }
.vitrina-card__etiqueta { justify-self: start; font-size: .72rem; font-weight: 600; color: var(--ok); display: inline-flex; align-items: center; gap: .35rem; }
.vitrina-card__etiqueta::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.vitrina-card__cuerpo { display: grid; grid-template-columns: 64px 1fr; gap: .75rem; align-items: center; }
.vitrina-card__img { width: 64px; height: 64px; border-radius: var(--radio-m); background: var(--placa); color: var(--placa-icono); display: grid; place-items: center; overflow: hidden; }
.vitrina-card__img svg { width: 60%; height: 60%; stroke-width: 1.3; }
.vitrina-card__img img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.vitrina-card__nombre { border: 0; background: none; padding: 0; text-align: left; font-size: .88rem; line-height: 1.35; color: var(--tinta); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vitrina-card__nombre:hover { text-decoration: underline; }
.vitrina-card p { margin-top: .3rem; }
.vitrina-card .btn-texto { justify-self: start; min-height: 36px; padding-left: 0; font-size: .88rem; }

/* franja del taller */
.taller { display: grid; background: var(--marino); color: #fff; }
@media (min-width: 860px) { .taller { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); min-height: 380px; } }
.taller__foto img { width: 100%; height: 100%; object-fit: cover; display: block; max-height: 420px; }
@media (min-width: 860px) { .taller__foto img { max-height: none; } }
.taller__texto { padding: 2rem 16px 2.25rem; display: grid; gap: .9rem; align-content: center; }
@media (min-width: 860px) { .taller__texto { padding: 3rem max(28px, calc((100vw - 1240px) / 2 + 28px)) 3rem 3rem; } }
.taller h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); max-width: 18ch; }
.taller p { color: #D3DEEC; max-width: 52ch; }
.taller__lista { color: var(--amarillo) !important; font-weight: 500; font-size: .95rem; }
.taller__botones { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; margin-top: .3rem; }

/* así te atendemos */
.titulo-seccion { font-size: clamp(1.35rem, 3vw, 1.75rem); color: var(--marino-texto); margin-bottom: 1.25rem; }
.atencion { list-style: none; margin: 0; padding: 0; counter-reset: paso; display: grid; gap: 1.75rem; }
@media (min-width: 760px) { .atencion { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }
.atencion li { counter-increment: paso; display: grid; gap: .5rem; align-content: start; }
.atencion__foto img, .atencion__foto.atencion__proforma { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radio-m); display: block; }
.atencion h3 { font-size: 1.08rem; color: var(--marino-texto); margin-top: .35rem; display: flex; gap: .55rem; align-items: baseline; }
.atencion h3::before { content: counter(paso); font-size: .85rem; font-weight: 700; color: #1E3A64; background: var(--amarillo); width: 1.6rem; height: 1.6rem; border-radius: 50%; display: inline-grid; place-items: center; flex: none; }
.atencion p { color: var(--tinta-suave); font-size: .95rem; }
.atencion__proforma { background: var(--roble); display: grid !important; place-items: center; padding: 1rem; }
.mini-proforma { width: 86%; background: #fff; color: #13233B; border-radius: 3px; padding: .8rem .9rem; box-shadow: 0 6px 18px rgba(59,52,36,.18); display: grid; gap: .35rem; font-size: .72rem; transform: rotate(-2deg); }
.mini-proforma span { display: flex; justify-content: space-between; gap: .5rem; border-bottom: 1px dashed #D5DCE6; padding-bottom: .3rem; }
.mini-proforma em { font-style: normal; font-weight: 600; white-space: nowrap; }
.mini-proforma__cab { border-bottom: 2px solid #1E3A64 !important; }
.mini-proforma__cab b { color: #1E3A64; }
.mini-proforma__cab i { font-style: normal; color: #4A5A70; }
.mini-proforma__total { border-bottom: 0 !important; font-weight: 700; font-size: .8rem; }

/* índice de categorías (sin tarjetas) */
.bloque--linea { border-top: 1px solid var(--linea); }
.indice { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); column-gap: 2rem; }
.indice li { border-top: 1px solid var(--linea); padding: .75rem 0 .85rem; display: grid; gap: .3rem; }
.indice__grupo { display: grid; grid-template-columns: 22px 1fr auto; gap: .6rem; align-items: center; text-decoration: none; color: var(--marino-texto); font-weight: 600; }
.indice__grupo svg { width: 20px; height: 20px; color: var(--pared-texto); }
.indice__grupo em { font-style: normal; font-weight: 400; font-size: .8rem; color: var(--tinta-suave); }
.indice__grupo:hover span { text-decoration: underline; text-underline-offset: 3px; }
.indice__subs { padding-left: calc(22px + .6rem); display: flex; flex-wrap: wrap; gap: .1rem .8rem; font-size: .84rem; }
.indice__subs a { color: var(--tinta-suave); text-decoration: none; }
.indice__subs a:hover { color: var(--marino-texto); text-decoration: underline; }
.marcas-linea { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .3rem 1rem; font-size: .9rem; }
.marcas-linea span { color: var(--tinta-suave); }
.marcas-linea a { color: var(--marino-texto); font-weight: 500; text-decoration: none; }
.marcas-linea a:hover { text-decoration: underline; }

/* armar PC / empresas como enlaces sencillos */
.dos-enlaces { display: grid; gap: 1rem 2rem; }
@media (min-width: 760px) { .dos-enlaces { grid-template-columns: 1fr 1fr; } }
.dos-enlaces a { display: grid; gap: .3rem; padding-top: .9rem; border-top: 3px solid var(--amarillo); text-decoration: none; color: var(--tinta); }
.dos-enlaces strong { color: var(--marino-texto); font-size: 1.1rem; }
.dos-enlaces span { color: var(--tinta-suave); }
.dos-enlaces a:hover strong { text-decoration: underline; text-underline-offset: 3px; }

/* ubicación sencilla */
.ubicacion-simple { padding: 2.75rem 0 3rem; border-top: 1px solid var(--linea); background: var(--blanco); }
.ubicacion-simple__grid { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 820px) { .ubicacion-simple__grid { grid-template-columns: 1.3fr 1fr; gap: 3rem; } }
.ubicacion-simple h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); color: var(--marino-texto); max-width: 20ch; }
.ubicacion-simple__ref { color: var(--tinta-suave); margin-top: .4rem; }
.ubicacion-simple .horario { margin: 1.1rem 0 .4rem; }
.ubicacion-simple__botones { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; }
.ubicacion-simple__foto img { width: 100%; max-width: 420px; aspect-ratio: 1; object-fit: cover; border-radius: var(--radio-l); display: block; margin-left: auto; }

/* página de productos: cabecera azul, sin bloque amarillo */
.cabecera-pagina--productos .buscador { margin-top: 1.1rem; }

/* barra inferior: WhatsApp al centro */
@media (max-width: 859px) {
  .barra-app .barra-app__wa { color: #178F44; font-weight: 600; }
  .barra-app__wa > span { width: 44px; height: 44px; margin-top: -18px; border-radius: 50%; background: var(--whatsapp); color: #fff; display: grid; place-items: center; box-shadow: 0 4px 12px rgba(29,168,81,.35); border: 3px solid var(--blanco); }
  .barra-app__wa svg { width: 24px !important; height: 24px !important; stroke: none; }
}
/* estado en fondo claro */
.ubicacion-simple .estado-tienda { margin-top: 0; }
/* la foto del taller se adapta al alto del texto */
@media (min-width: 860px) {
  .taller__foto { position: relative; overflow: hidden; }
  .taller__foto picture, .taller__foto img { position: absolute; inset: 0; width: 100%; height: 100%; }
  .taller { min-height: 400px; }
}
.portada__grid { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .portada__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }
.atencion, .taller, .ubicacion-simple__grid, .dos-enlaces, .problema__grid, .nosotros__grid, .consulta__grid { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .atencion { grid-template-columns: repeat(3, minmax(0, 1fr)); } .dos-enlaces { grid-template-columns: 1fr 1fr; } }
@media (min-width: 860px) { .taller { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); } }
@media (min-width: 820px) { .ubicacion-simple__grid { grid-template-columns: 1.3fr 1fr; } }
@media (min-width: 900px) { .problema__grid { grid-template-columns: 1fr 1.3fr; } .nosotros__grid { grid-template-columns: 1.2fr 1fr; } }
@media (max-width: 899px) {
  .portada__img { display: block; }
  .vitrina-card { margin: .75rem 0 0; box-shadow: none; border: 1px solid var(--linea); }
}

/* ==========================================================================
   Ronda 5: menos "plantilla" — tarjetas más limpias, WhatsApp primero
   ========================================================================== */
/* tarjeta sin foto: placa con la marca, como el cartel de una vitrina */
.producto__foto--placa { background: var(--placa); color: var(--tinta); }
.producto__foto--placa:hover { background: var(--chip-hover); }
.placa { display: grid; justify-items: center; gap: .2rem; padding: 0 .6rem; text-align: center; }
.placa__icono { width: 22px !important; height: 22px !important; color: var(--placa-icono); stroke-width: 1.6; margin-bottom: .2rem; }
.placa__marca { font-size: clamp(1.05rem, 2.6vw, 1.35rem); font-weight: 700; letter-spacing: .02em; color: var(--marino-texto); line-height: 1.1; }
.placa small { font-size: .72rem; color: var(--tinta-suave); }
/* acciones: WhatsApp principal + cotización como ícono */
.producto__acciones { display: grid; grid-template-columns: 1fr auto; gap: .4rem; margin-top: .45rem; }
.btn-consultar { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 42px; border-radius: 6px; background: var(--whatsapp); color: #fff; font-weight: 500; text-decoration: none; font-size: .92rem; }
.btn-consultar svg { width: 18px; height: 18px; stroke: none; }
.btn-consultar:hover { background: #178F44; }
.producto__agregar--icono { margin-top: 0 !important; width: 44px; min-height: 42px; padding: 0; }
.producto__agregar--icono svg { width: 20px; height: 20px; }
.producto__pie { margin-top: .15rem; }
/* menos cajas en general */
.bloque--blanco { border-top: 0; border-bottom: 0; }
.marcas a, .cat-grande, .info-servicio__item, .pasos--fila li { box-shadow: none; }
/* celular: menos productos seguidos en el Inicio */
@media (max-width: 639px) { #destacados > li:nth-child(n+5) { display: none; } }
.horario__aviso { font-size: .82rem; color: var(--tinta-suave); margin-top: .35rem; }
.ubicacion-simple .horario__aviso, .visita .horario__aviso { color: inherit; opacity: .8; }

/* ===================== Mejoras 2026: transiciones, voz, QR ===================== */
/* Transición suave entre páginas (Chrome, Edge, Safari; en los demás simplemente cambia de página) */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .22s; }
}
.btn-voz { flex: none; display: grid; place-items: center; width: 44px; min-height: 44px; padding: 0 !important; margin-right: .35rem; border: 0;
  border-radius: 50% !important; background: transparent !important; color: var(--pared-texto) !important; cursor: pointer; }
.btn-voz svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.btn-voz:hover { background: var(--chip, rgba(0,0,0,.06)) !important; }
.btn-voz.escuchando { background: #D93025 !important; color: #fff !important; animation: voz-pulso 1.2s ease-in-out infinite; }
@keyframes voz-pulso { 0%, 100% { box-shadow: 0 0 0 0 rgba(217,48,37,.45); } 50% { box-shadow: 0 0 0 8px rgba(217,48,37,0); } }
@media print {
  .pf-qr { display: flex; align-items: center; gap: 12px; margin-top: 14px; font-size: 9pt; }
  .pf-qr[hidden] { display: none; }
  .pf-qr #pf-qr-img { width: 30mm; height: 30mm; flex: none; }
  .pf-qr svg { width: 100%; height: 100%; }
}
