/* =====================================================================
   Línea gráfica Grupo Bonnett — medida de bonnettoriente.com (oct 2026)
   Un solo archivo, sin Tailwind ni dependencias. Las clases tienen nombre
   en español y describen el componente, no el estilo.
   Los valores salen de la web en vivo; si se cambia un color, se cambia
   aquí en :root y en ningún otro lado.
   ===================================================================== */

:root {
  /* Azules (la marca vive en el azul marino) */
  --azul: #0a1e3d;          /* principal: títulos, botones, cajas de título */
  --azul-noche: #0b1a2e;    /* encabezado */
  --azul-hondo: #0d1f3c;    /* pie, franja de posventa */
  --azul-hover: #142d4d;    /* hover de botones sólidos */
  --azul-titular: #1a2a4a;  /* titulares de noticias */
  --azul-icono: #1a4e8a;    /* íconos sobre fondo celeste */
  --azul-curvas: #0e3d7a;   /* encabezado de curvas y datos técnicos */

  /* Acento */
  --dorado: #c8a96e;        /* separadores, hover, borde de párrafo destacado */

  /* Texto */
  --texto: #3d4f6f;         /* cuerpo */
  --texto-2: #4a5568;       /* cuerpo secundario */
  --texto-suave: #8a9ab0;   /* migas, etiquetas, ayudas */
  --texto-noticia: #4b5563;

  /* Bordes y fondos */
  --borde: #dce3ec;
  --borde-suave: #e4e9f2;
  --borde-hover: #d0dae8;
  --fondo: #ffffff;
  --fondo-gris: #eef0f3;    /* banda de noticias */
  --fondo-gris-2: #e8e8e8;  /* "experiencia" */
  --fondo-celda: #f4f6f9;   /* descargables */
  --fondo-fila: #f8fafc;
  --fondo-activo: #e8ecf4;  /* subcategoría elegida */
  --celeste: #f0f9ff;       /* caja de ícono de categoría */
  --celeste-borde: #e0f2fe;

  /* Avisos */
  --aviso-fondo: #fffbeb;
  --aviso-borde: #fcd34d;
  --aviso-texto: #78350f;
  --aviso-icono: #d97706;
  --whatsapp: #25d366;

  /* Tipografía */
  --fuente: "Inter", "Poppins", system-ui, sans-serif;     /* todo */
  --fuente-nav: "Raleway", sans-serif;                     /* menú y titular del héroe */

  /* Medidas */
  --ancho-sitio: 1280px;   /* encabezado */
  --ancho: 1100px;         /* páginas interiores */
  --ancho-noticias: 1024px;
  --ancho-articulo: 860px;
  --alto-barra: 56px;      /* cada una de las dos barras del encabezado */
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--fuente); color: #000; background: var(--fondo); line-height: 1.5; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; }
.contenedor { max-width: var(--ancho); margin: 0 auto; padding: 0 20px; }
.contenedor-sitio { max-width: var(--ancho-sitio); margin: 0 auto; padding: 0 16px; }
.solo-lectores { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
main { padding-top: calc(var(--alto-barra) * 2); min-height: 60vh; }
main.con-heroe { padding-top: 0; }

/* Etiqueta en mayúsculas espaciadas: el rasgo más reconocible de la marca */
.mayus { text-transform: uppercase; letter-spacing: .15em; }

/* ---------- Encabezado (dos barras) ---------- */
.encabezado { position: fixed; top: 0; left: 0; right: 0; z-index: 50; font-family: var(--fuente-nav); }
.encabezado__barra { background: var(--azul-noche); transition: background-color .3s; }
.encabezado--transparente .encabezado__barra { background: rgba(0,0,0,.3); backdrop-filter: blur(12px); }
.encabezado--transparente .encabezado__nav { border-bottom: 1px solid rgba(255,255,255,.1); }
.encabezado__fila { height: var(--alto-barra); display: flex; align-items: center; }
.encabezado__superior { justify-content: flex-end; gap: 12px; }
.encabezado__marcas { display: flex; align-items: center; gap: 12px; margin-right: 160px; }
.encabezado__marcas img { height: 28px; width: auto; }
.encabezado__marcas .divisor { width: 1px; height: 20px; background: rgba(255,255,255,.2); }
.encabezado__redes { display: flex; align-items: center; gap: 10px; }
.encabezado__redes a { color: rgba(255,255,255,.7); font-size: 14px; }
.encabezado__redes a:hover { color: #fff; }
.encabezado__nav .encabezado__fila { justify-content: space-between; }
.encabezado__logo img { height: 40px; width: auto; }
.menu { display: flex; align-items: center; }
.menu a { padding: 8px 12px; font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,.6); white-space: nowrap; }
.menu a:hover, .menu a[aria-current="page"] { color: rgba(255,255,255,.8); }
.btn-cotizame { border: 1px solid rgba(255,255,255,.6); color: #fff; font-size: 10px; letter-spacing: .15em;
  text-transform: uppercase; padding: 4px 12px; border-radius: 2px; white-space: nowrap; }
.btn-cotizame:hover { background: #fff; color: var(--azul-noche); }
.buscador { display: flex; align-items: center; border: 1px solid rgba(255,255,255,.3); border-radius: 2px; }
.buscador input { background: transparent; border: 0; color: #fff; font: inherit; font-size: 10px; letter-spacing: .15em;
  padding: 4px 8px; width: 96px; outline: none; }
.buscador input::placeholder { color: rgba(255,255,255,.4); }
.buscador button { width: 28px; height: 28px; border: 0; background: rgba(255,255,255,.05); color: rgba(255,255,255,.6); cursor: pointer; }
.boton-menu { display: none; width: 40px; height: 40px; border: 0; background: none; color: #fff; font-size: 22px; cursor: pointer; }
.menu-movil { display: none; background: var(--azul-noche); border-top: 1px solid rgba(255,255,255,.1); padding: 8px 16px 16px; }
.menu-movil a { display: block; padding: 12px 0; color: #fff; font-size: 12px; letter-spacing: .15em; text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,.08); }
.menu-movil.abierto { display: block; }

@media (max-width: 767px) {
  .encabezado__marcas { margin-right: 4px; }
  .encabezado__marcas img { height: 26px; }
  .encabezado__redes, .buscador, .menu, .encabezado__superior .divisor-v { display: none; }
  .encabezado__logo img { height: 34px; }
  .boton-menu { display: flex; align-items: center; justify-content: center; }
}

/* ---------- Botones ---------- */
.btn, .btn-borde, .btn-borde-claro {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 20px;
  font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; border-radius: 2px;
  white-space: nowrap; cursor: pointer; transition: background-color .2s, color .2s; border: 1px solid var(--azul);
}
.btn { background: var(--azul); color: #fff; }
.btn:hover { background: var(--azul-hover); }
.btn-borde { background: transparent; color: var(--azul); }
.btn-borde:hover { background: var(--azul); color: #fff; }
.btn-borde-claro { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-borde-claro:hover { background: #fff; color: var(--azul); }
.btn--grande { font-size: 11px; padding: 10px 24px; letter-spacing: .1em; }
.btn--ancho { width: 100%; }
.botones { display: flex; flex-wrap: wrap; gap: 12px; }
.enlace-flecha { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--azul); text-decoration: underline; text-underline-offset: 4px; }
.enlace-flecha:hover { color: var(--dorado); }
.enlace-texto { color: var(--azul); text-decoration: underline; text-underline-offset: 2px; }
.enlace-texto:hover { color: var(--azul-hover); }

/* ---------- Héroe de portada (video o foto a pantalla completa) ---------- */
.heroe { position: relative; height: 100vh; min-height: 560px; overflow: hidden; color: #fff; }
.heroe__fondo, .heroe__fondo video, .heroe__fondo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.heroe__fondo::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.25); }
.heroe__contenido { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center;
  justify-content: flex-end; padding: 0 24px 96px; text-align: center; }
.heroe h1 { font-family: var(--fuente-nav); font-weight: 200; text-transform: uppercase; letter-spacing: .15em;
  font-size: clamp(26px, 3.4vw, 49px); line-height: 1.25; }
.heroe__bajada { font-family: var(--fuente-nav); text-transform: uppercase; letter-spacing: .3em; font-size: 12px; margin-top: 20px; }
.heroe__aliados { display: flex; align-items: center; gap: 24px; margin-top: 24px; }
.heroe__aliados img { height: 40px; width: auto; }
.heroe__aliados .divisor { width: 1px; height: 56px; background: rgba(255,255,255,.5); }
.heroe__puntos { display: flex; gap: 8px; margin-top: 40px; }
.heroe__puntos span { height: 3px; width: 20px; background: rgba(200,169,110,.7); }
.heroe__puntos span:first-child { width: 32px; background: #fff; }
@media (max-width: 767px) { .heroe__contenido { padding-bottom: 64px; } .heroe__aliados img { height: 32px; } }

/* ---------- Migas ---------- */
.migas { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--texto-suave); padding: 20px 0 12px; }
.migas a:hover { color: var(--azul); }
.migas [aria-current] { color: var(--azul); font-weight: 500; }

/* ---------- Cabecera de página interior ---------- */
.cabecera { display: flex; align-items: stretch; }
.cabecera__texto { flex: 1; padding: 40px 40px 40px 0; display: flex; flex-direction: column; }
.cabecera__foto { width: 480px; overflow: hidden; }
.cabecera__foto img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.caja-titulo { background: var(--azul); align-self: flex-start; padding: 12px 24px; margin-bottom: 16px; max-width: 100%; }
.caja-titulo h1 { color: #fff; font-size: 18px; font-weight: 900; text-transform: uppercase; letter-spacing: .14em; line-height: 1.25; }
.parrafo-intro { font-size: 13px; color: var(--texto); line-height: 1.8; text-align: justify; max-width: 540px; margin-bottom: 20px; }
.parrafo-acento { border-left: 2px solid var(--dorado); padding-left: 20px; max-width: 640px; margin-bottom: 20px; }
.parrafo-acento p { font-size: 13px; color: var(--texto); line-height: 1.8; text-align: justify; margin-bottom: 12px; }
.contador { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #7a8aa8; }
@media (max-width: 1023px) {
  .cabecera { flex-direction: column; }
  .cabecera__texto { padding: 32px 0; }
  .cabecera__foto { width: 100%; height: 260px; }
  .caja-titulo h1 { font-size: 16px; }
}

/* ---------- Secciones ---------- */
.separador { border-top: 1px solid var(--borde); margin: 24px 0; }
.seccion { padding-bottom: 40px; }
.seccion-titulo { font-size: 16px; font-weight: 700; color: var(--azul); text-transform: uppercase; letter-spacing: .15em;
  text-align: center; margin-bottom: 28px; }
.angosto { max-width: 920px; margin-left: auto; margin-right: auto; }
.texto-seccion { font-size: 12px; color: var(--texto-2); line-height: 1.9; text-align: justify; }

/* Lista de usos con equipos enlazados ("Qué se bombea por acá") */
.lista-usos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lista-usos li { display: flex; align-items: flex-start; gap: 12px; border: 1px solid var(--borde); padding: 16px; }
.lista-usos i { color: var(--azul); font-size: 16px; }
.lista-usos .uso { font-size: 12px; color: var(--texto); line-height: 1.7; }
.lista-usos .equipos { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 8px; }
.etiqueta { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--texto-suave); }
.lista-usos .equipos a { font-size: 11px; color: var(--azul); text-decoration: underline; text-underline-offset: 2px; }
.lista-usos .equipos .punto { color: var(--dorado); font-size: 11px; }

/* Tarjeta-enlace con ícono cuadrado azul */
.rejilla-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tarjeta-enlace { display: flex; align-items: flex-start; gap: 16px; border: 1px solid var(--borde); padding: 20px; transition: border-color .2s; }
.tarjeta-enlace:hover { border-color: var(--dorado); }
.tarjeta-enlace span { font-size: 12px; color: var(--azul); line-height: 1.7; }
.tarjeta-enlace:hover span { color: var(--dorado); }
.icono-cuadro { width: 40px; height: 40px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--azul); color: #fff; font-size: 18px; }
.icono-cuadro--grande { width: 48px; height: 48px; font-size: 20px; }
.fila-icono { display: flex; align-items: center; gap: 40px; }
.franja-enlace { display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 1px solid var(--borde); padding: 20px; font-size: 12px; color: var(--azul); }
.franja-enlace:hover { border-color: var(--dorado); color: var(--dorado); }
@media (max-width: 767px) { .lista-usos, .rejilla-2 { grid-template-columns: 1fr; } .fila-icono { flex-direction: column; align-items: flex-start; gap: 24px; } }

/* Recuadros de lugares (directorio /cobertura) */
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { display: inline-block; padding: 10px 22px; font-size: 15px; letter-spacing: .04em; border: 1px solid var(--borde); background: var(--fondo-fila); color: var(--azul); }
a.chip { background: var(--azul); color: #fff; border-color: var(--azul); }
a.chip:hover { background: var(--azul-hover); }
.bloque-region h3 { font-size: 15px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--azul);
  border-bottom: 1px solid var(--borde); padding-bottom: 16px; margin-bottom: 20px; }

/* Preguntas frecuentes: <details> nativo (Google lee el texto sin JS) */
.faq { max-width: 920px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--borde); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--texto-2); }
.faq details[open] summary h3 { color: var(--azul); }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--texto-suave); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--azul); }
.faq details p { font-size: 11px; color: var(--texto-2); line-height: 1.8; padding: 0 32px 16px 0; }

/* ---------- Portada: bloques ---------- */
.bloque-blanco { background: #fff; padding: 64px 0; border-bottom: 1px solid #f1f5f9; }
.dos-columnas { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; align-items: start; }
.titulo-grande { font-size: 30px; font-weight: 900; color: var(--azul); text-transform: uppercase; line-height: 1.25; letter-spacing: -.025em; margin-bottom: 20px; }
.texto-gris { color: #64748b; font-size: 14px; line-height: 1.6; margin-bottom: 32px; }
.btn-doble { display: inline-flex; padding: 10px 24px; border: 2px solid var(--azul); color: var(--azul); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em; border-radius: 2px; }
.btn-doble:hover { background: var(--azul); color: #fff; }
.categorias { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.categoria { display: flex; align-items: flex-start; gap: 12px; }
.categoria__icono { width: 48px; height: 48px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: 8px;
  border: 1px solid var(--celeste-borde); background: var(--celeste); color: var(--azul-icono); font-size: 20px; }
.categoria:hover .categoria__icono { background: var(--celeste-borde); }
.categoria b { display: block; font-size: 14px; color: var(--azul); line-height: 1.35; }
.categoria:hover b { color: var(--azul-icono); }
.categoria small { display: flex; align-items: center; gap: 4px; margin-top: 4px; font-size: 12px; color: #94a3b8; font-weight: 500; }
@media (max-width: 1023px) { .dos-columnas { grid-template-columns: 1fr; } }
@media (max-width: 639px) { .categorias { grid-template-columns: 1fr 1fr; } }

/* Mosaico de segmentos (foto + barra blanca con nombre) */
.segmentos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 12px; background: #fff; }
.segmento { position: relative; overflow: hidden; }
.segmento img { width: 100%; height: 288px; object-fit: cover; object-position: top; transition: transform .5s; }
.segmento:hover img { transform: scale(1.05); }
.segmento span { position: absolute; left: 0; right: 0; bottom: 0; background: #fff; padding: 10px; text-align: center; font-size: 11px;
  font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--azul); }
@media (max-width: 767px) { .segmentos { grid-template-columns: 1fr 1fr; } .segmento img { height: 176px; } .segmento span { font-size: 9px; letter-spacing: .18em; } }

/* Experiencia / quiénes somos */
.experiencia { background: var(--fondo-gris-2); padding: 56px 0 48px; }
.titulo-espaciado { text-align: center; font-size: 20px; font-weight: 900; letter-spacing: .2em; color: var(--azul); text-transform: uppercase; margin-bottom: 32px; }
.texto-justo { color: #333; font-size: 14px; line-height: 1.65; text-align: justify; }
.texto-justo p + p { margin-top: 20px; }
.foto-texto { display: grid; grid-template-columns: 36% 1fr; gap: 32px; padding: 56px 16px; }
.foto-texto__foto { position: relative; align-self: start; overflow: hidden; }
.foto-texto__foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.7), rgba(0,0,0,.2), transparent); }
.foto-texto__foto p { position: absolute; left: 0; bottom: 0; z-index: 2; padding: 24px; color: #fff; font-size: 14px; font-weight: 900; text-transform: uppercase; letter-spacing: .025em; line-height: 1.25; }
.foto-texto h3 { font-size: 20px; font-weight: 900; letter-spacing: .15em; color: var(--azul); text-transform: uppercase; line-height: 1.25; margin-bottom: 16px; }
@media (max-width: 1023px) { .foto-texto { grid-template-columns: 1fr; } }

/* Noticias */
.banda-noticias { background: var(--fondo-gris); padding: 64px 32px; }
.banda-noticias h2 { text-align: center; color: var(--azul-titular); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 20px; margin-bottom: 40px; }
.noticias { max-width: var(--ancho-noticias); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.noticias--3 { max-width: var(--ancho); grid-template-columns: repeat(3, 1fr); gap: 20px; }
.noticia { background: #fff; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.noticia__foto { height: 256px; overflow: hidden; }
.noticias--3 .noticia__foto { height: 160px; }
.noticia__foto img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s; }
.noticia:hover img { transform: scale(1.05); }
.noticia__cuerpo { padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.noticia h3 { color: var(--azul-titular); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 12px; }
.noticia p { color: var(--texto-noticia); font-size: 14px; line-height: 1.6; }
.noticia .mas { align-self: flex-start; margin-top: 12px; border: 1px solid #9ca3af; color: #374151; font-size: 12px; letter-spacing: .1em;
  text-transform: uppercase; padding: 8px 16px; border-radius: 2px; }
.noticia:hover .mas { background: var(--azul); color: #fff; border-color: var(--azul); }
@media (max-width: 767px) { .banda-noticias { padding: 48px 16px; } .noticias, .noticias--3 { grid-template-columns: 1fr; } .noticia__foto { height: 208px; } }

/* Franja de posventa */
.franja { background: var(--azul-hondo); border-radius: 16px 16px 0 0; }
.franja__titulo { padding: 16px 24px; text-align: center; color: #fff; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.1); }
.franja__items { display: flex; }
.franja__items a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 20px; color: rgba(255,255,255,.9);
  font-size: 10px; letter-spacing: .1em; font-weight: 600; text-transform: uppercase; border-right: 1px solid rgba(255,255,255,.1); }
.franja__items a:hover { background: rgba(255,255,255,.05); color: #fff; }
@media (max-width: 767px) { .franja__items { display: grid; grid-template-columns: 1fr 1fr; } .franja__items a { flex-direction: column; font-size: 9px; text-align: center; } }

/* ---------- Catálogo ---------- */
.catalogo { display: flex; gap: 24px; padding: 32px 0; }
.filtros { width: 210px; flex-shrink: 0; border: 1px solid var(--borde); align-self: flex-start; }
.filtros__titulo { padding: 12px 16px; border-bottom: 1px solid var(--borde); font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--azul); }
.filtros ul { padding: 12px; }
.filtros a { display: flex; align-items: flex-start; gap: 8px; padding: 6px 4px; border-radius: 4px; font-size: 11px; line-height: 1.25; color: var(--texto-2); }
.filtros a::before { content: ""; width: 16px; height: 16px; flex-shrink: 0; border: 1px solid #b0c0d0; border-radius: 2px; background: #fff; margin-top: 1px; }
.filtros a:hover { color: var(--azul); }
.filtros a[aria-current="page"] { background: var(--fondo-activo); color: var(--azul); font-weight: 600; }
.filtros a[aria-current="page"]::before { background: var(--azul) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='white' stroke-width='2.2' d='M3.5 8.5l3 3 6-6.5'/%3E%3C/svg%3E") center/12px no-repeat; border-color: var(--azul); }
.productos { flex: 1; min-width: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-content: start; }
.producto { border: 1px solid var(--borde-suave); display: flex; flex-direction: column; background: #fff; transition: border-color .2s; }
.producto:hover { border-color: var(--borde-hover); }
.producto__foto { aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; padding: 12px; overflow: hidden; }
.producto__foto img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s; }
.producto:hover .producto__foto img { transform: scale(1.05); }
.producto__cuerpo { padding: 8px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.producto__marca { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--azul); margin-bottom: 4px; }
.producto h3 { font-size: 13px; font-weight: 700; color: var(--azul); text-transform: uppercase; letter-spacing: .06em; line-height: 1.25; margin-bottom: 8px; }
.producto p { font-size: 11px; color: var(--texto-2); line-height: 1.6; letter-spacing: .025em; margin-bottom: 12px; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.producto .btn { width: 100%; font-size: 11px; letter-spacing: .1em; }
@media (max-width: 1023px) { .catalogo { flex-direction: column; } .filtros { width: 100%; } .productos { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px) { .productos { grid-template-columns: 1fr; } }

/* ---------- Ficha de producto ---------- */
.franja-migas { border-bottom: 1px solid var(--borde-suave); }
.franja-migas .migas { font-size: 11px; padding: 12px 0; }
.ficha { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 24px 0 32px; align-items: start; }
.ficha__foto { border: 1px solid var(--borde-suave); padding: 20px; display: flex; align-items: center; justify-content: center; }
.ficha > div { min-width: 0; }
.ficha__foto img { max-height: 260px; width: auto; height: auto; max-width: 100%; object-fit: contain; }
.ficha__datos { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 11px; color: var(--texto); margin-top: 12px; }
.ficha__datos span { display: flex; align-items: center; gap: 6px; }
.ficha__datos i { color: var(--azul); }
.ficha__marca { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.ficha__marca img { height: 40px; width: auto; }
.ficha__marca small { font-size: 9px; color: var(--texto-suave); letter-spacing: .025em; }
.ficha h1 { font-size: 24px; font-weight: 900; color: var(--azul); line-height: 1.25; text-transform: uppercase; letter-spacing: -.025em; margin-bottom: 8px; }
.ficha__resumen { font-size: 12px; color: var(--texto); line-height: 1.7; text-align: justify; margin-bottom: 12px; }
.ficha__acciones { display: flex; gap: 8px; }
.ficha__acciones > * { flex: 1; font-size: 11px; padding: 10px; }
.ficha__garantias { margin-top: 10px; display: flex; gap: 16px; font-size: 10px; color: var(--texto-suave); }
.descargables { background: var(--fondo-celda); border-radius: 2px; padding: 12px; margin-top: 8px; }
.descargables a { display: flex; justify-content: space-between; font-size: 11px; color: var(--texto); padding: 4px 0; }
.descargables a:hover { color: var(--azul); }
.grupo-specs h3 { font-size: 13px; font-weight: 700; color: var(--azul); letter-spacing: .025em; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--borde); }
.grupo-specs { margin-bottom: 24px; font-size: 12px; color: var(--texto); line-height: 1.6; }
.grupo-specs b { color: var(--azul); font-weight: 600; }
.grupo-specs li + li, .grupo-specs p + p { margin-top: 6px; }
.tabla-modelos { border: 1px solid var(--borde); overflow-x: auto; }
.tabla-modelos table { width: 100%; border-collapse: collapse; font-size: 10px; }
.tabla-modelos th { text-align: left; padding: 6px 8px; color: var(--azul); font-weight: 700; border-bottom: 1px solid var(--borde); white-space: pre-line; }
.tabla-modelos td { padding: 6px 8px; color: var(--texto); border-bottom: 1px solid var(--borde-suave); white-space: nowrap; text-align: center; }
.tabla-modelos td:first-child { text-align: left; color: var(--azul); font-weight: 600; }
.tabla-modelos tr:hover td { background: var(--fondo-fila); }
.relacionados { border-top: 1px solid var(--borde-suave); padding: 24px 0 40px; }
.relacionados__cabecera { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.relacionados h2 { font-size: 14px; font-weight: 900; color: var(--azul); text-transform: uppercase; letter-spacing: -.025em; }
.relacionados__cabecera a { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--texto-suave); }
.productos--chicos { grid-template-columns: repeat(5, 1fr); gap: 12px; }
@media (max-width: 1023px) { .ficha { grid-template-columns: 1fr; } .productos--chicos { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px) { .ficha__acciones { flex-direction: column; } .ficha__garantias { flex-wrap: wrap; } }

/* ---------- Artículo ---------- */
.articulo { max-width: var(--ancho-articulo); margin: 0 auto; padding: 0 20px 64px; }
.articulo .migas-cont { max-width: var(--ancho-articulo); }
.articulo__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 12px; color: #64748b; margin-bottom: 12px; }
.pastilla { padding: 4px 10px; background: var(--azul); color: #fff; border-radius: 999px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; font-size: 11px; }
.articulo h1 { font-size: 34px; line-height: 1.2; font-weight: 900; color: var(--azul); margin-bottom: 20px; }
.articulo__portada { width: 100%; border-radius: 12px; margin-bottom: 32px; background: #f1f5f9; }
.articulo__entrada { font-size: 17px; line-height: 2; color: #1e293b; font-weight: 500; border-left: 4px solid var(--azul); padding-left: 16px; }
.articulo section { margin-top: 40px; }
.articulo h2 { color: var(--azul); font-weight: 700; font-size: 20px; margin-bottom: 12px; }
.articulo p, .articulo li { font-size: 15px; line-height: 1.85; color: #334155; }
.articulo p { margin-bottom: 16px; }
.articulo ul.vinetas { padding-left: 20px; list-style: disc; margin-bottom: 16px; }
.articulo a:not(.btn):not(.btn-claro) { color: var(--azul); text-decoration: underline; text-underline-offset: 2px; }
.aviso { display: flex; gap: 12px; border: 1px solid var(--aviso-borde); background: var(--aviso-fondo); border-radius: 8px; padding: 12px 16px; margin: 20px 0; }
.aviso i { color: var(--aviso-icono); font-size: 18px; }
.aviso p { font-size: 14px; line-height: 1.7; color: var(--aviso-texto); margin: 0; }
.tabla { overflow-x: auto; margin: 20px 0; border: 1px solid #e2e8f0; border-radius: 8px; }
.tabla table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 420px; }
.tabla th { background: var(--azul); color: #fff; text-align: left; font-weight: 600; padding: 10px 16px; }
.tabla td { padding: 10px 16px; vertical-align: top; color: #334155; }
.tabla tr:nth-child(even) td { background: #f8fafc; }
.tabla td:first-child { color: var(--azul); font-weight: 500; }
/* Recuadro final: en la web original los enlaces salían azul sobre azul (invisibles). Aquí van en blanco. */
.cierre { margin-top: 48px; border-radius: 12px; background: var(--azul); color: #fff; padding: 32px; }
.cierre p { color: #fff !important; font-size: 15px; line-height: 1.85; margin-bottom: 20px; }
.cierre a:not(.btn-claro) { color: #fff !important; text-decoration: underline; }
.btn-claro { display: inline-block; padding: 12px 24px; background: #fff; color: var(--azul); font-size: 14px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .05em; border-radius: 6px; }
.btn-claro:hover { background: #f1f5f9; }
.enlaces-utiles h3 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .15em; color: var(--azul); margin: 20px 0 8px; }
@media (max-width: 767px) { .articulo h1 { font-size: 24px; } }

/* ---------- Pie ---------- */
.pie { background: #fff; border-top: 1px solid #e5e7eb; color: var(--azul-hondo); }
.pie__arriba { max-width: var(--ancho-noticias); margin: 0 auto; padding: 32px 20px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.pie__arriba img { height: 56px; width: auto; }
.pie__contacto { font-size: 14px; line-height: 1.65; }
.pie__contacto b { font-weight: 600; }
.pie__redes { display: flex; gap: 16px; font-size: 20px; }
.pie__redes a:hover { color: #16a34a; }
.pie__columnas { max-width: var(--ancho-noticias); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding: 40px 20px; border-top: 1px solid #e5e7eb; }
.pie h4 { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.pie__columnas li + li { margin-top: 8px; }
.pie__columnas a { font-size: 12px; line-height: 1.35; }
.pie__columnas a:hover { text-decoration: underline; }
.pie__reclamos { display: flex; align-items: center; gap: 8px; margin-top: 12px; border: 1px solid #e5e7eb; padding: 8px 10px; font-size: 10px; font-weight: 600; }
.pie__legal { border-top: 1px solid #e5e7eb; }
.pie__legal div { max-width: var(--ancho-noticias); margin: 0 auto; padding: 12px 20px; display: flex; justify-content: space-between; font-size: 9px;
  letter-spacing: .1em; text-transform: uppercase; font-weight: 500; }
@media (max-width: 767px) {
  .pie__arriba { flex-direction: column; align-items: flex-start; gap: 16px; padding: 20px; }
  .pie__arriba img { height: 32px; }
  .pie__contacto { font-size: 11px; line-height: 1.8; }
  .pie__columnas { grid-template-columns: 1fr 1fr; gap: 20px 16px; padding: 20px; }
  .pie__columnas a { font-size: 11px; }
  .pie__legal div { flex-direction: column; align-items: center; gap: 4px; text-align: center; }
}

/* ---------- WhatsApp flotante ---------- */
.wa-flotante { position: fixed; left: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: var(--whatsapp);
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 30px; box-shadow: 0 10px 25px -5px rgba(0,0,0,.25); }
.wa-flotante:hover { filter: brightness(.95); }

/* ---------- Formularios ---------- */
.campo { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.campo label { font-size: 10px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--azul); }
.campo input, .campo textarea, .campo select { border: 1px solid var(--borde); padding: 10px 12px; font: inherit; font-size: 13px; color: var(--texto); border-radius: 2px; }
.campo input:focus, .campo textarea:focus, .campo select:focus { outline: 2px solid var(--azul); outline-offset: -1px; }

/* Movimiento reducido */
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* =====================================================================
   Soluciones Electrónicas de Energía — marca propia sobre el kit
   Azul marino de la tienda y verde del logo. Solo se cambian los tokens.
   ===================================================================== */
:root {
  --azul: #1f2440;
  --azul-noche: #1a1f38;
  --azul-hondo: #1c2140;
  --azul-hover: #2b3258;
  --azul-titular: #1f2440;
  --azul-icono: #4d8a1f;
  --azul-curvas: #2b3258;
  --dorado: #86b83a;          /* el acento pasa a ser el verde del logo */
  --verde: #86b83a;
  --verde-oscuro: #5f8d22;
  --celeste: #f2f8ea;
  --celeste-borde: #dcecc6;
}

/* Precio */
.producto__precio, .ficha__precio { display: flex; align-items: baseline; gap: 8px; margin: 6px 0 10px; }
.producto__precio b { font-size: 18px; color: var(--azul); }
.ficha__precio b { font-size: 30px; color: var(--azul); font-weight: 800; }
.producto__precio small, .ficha__precio small { color: var(--texto-suave); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.btn--pedido { background: var(--verde-oscuro); border: 0; cursor: pointer; }
.btn--pedido:hover { background: var(--verde); }
.ficha__acciones .btn--pedido { font-size: 12px; }

/* Carrito */
.carrito-boton { position: fixed; right: 20px; bottom: 90px; z-index: 60; width: 56px; height: 56px; border-radius: 50%;
  border: 0; background: var(--verde-oscuro); color: #fff; font-size: 24px; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.carrito-boton[hidden] { display: none; }
.carrito-boton__n { position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; border-radius: 11px; background: var(--azul);
  font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; padding: 0 5px; }
.carrito { position: fixed; top: 0; right: 0; bottom: 0; z-index: 70; width: min(400px, 100%); background: #fff;
  box-shadow: -8px 0 30px rgba(0,0,0,.2); padding: 20px; display: flex; flex-direction: column; overflow-y: auto; }
.carrito[hidden] { display: none; }
.carrito__cabecera { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid var(--verde); padding-bottom: 10px; }
.carrito__cabecera h2 { font-size: 18px; color: var(--azul); margin: 0; }
.carrito__cabecera button { border: 0; background: none; font-size: 28px; line-height: 1; cursor: pointer; color: var(--texto); }
.carrito__lista { list-style: none; margin: 12px 0; padding: 0; }
.carrito__item { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--borde-suave); }
.carrito__item b { display: block; font-size: 14px; color: var(--azul); }
.carrito__item small { color: var(--texto-suave); }
.carrito__cant { display: flex; align-items: center; gap: 8px; }
.carrito__cant button { width: 30px; height: 30px; border: 1px solid var(--borde); background: #fff; border-radius: 6px; cursor: pointer; font-size: 16px; }
.carrito__total { display: flex; justify-content: space-between; font-size: 18px; color: var(--azul); padding: 12px 0; }
.carrito__nota { font-size: 12px; color: var(--texto-2); }
.carrito__enviar { width: 100%; justify-content: center; background: #25d366; border: 0; cursor: pointer; margin-top: auto; }
@media (max-width: 639px) { .carrito-boton { bottom: 84px; right: 14px; } }
.precio-pendiente { font-size: 14px !important; color: var(--texto-suave) !important; font-weight: 600; }
.productos--vitrina { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); margin-top: 20px; }
/* Puntos con ícono junto a la foto de la portada (rellenan la columna de texto) */
.puntos-iconos { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; }
.puntos-iconos li { display: flex; gap: 12px; align-items: flex-start; }
.puntos-iconos i { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 10px; background: var(--celeste); color: var(--verde-oscuro);
  display: flex; align-items: center; justify-content: center; font-size: 20px; }
.puntos-iconos b { display: block; color: var(--azul); font-size: 14px; }
.puntos-iconos span { font-size: 13px; color: var(--texto-2); line-height: 1.45; }
@media (max-width: 639px) { .puntos-iconos { grid-template-columns: 1fr; } }
/* Franja con 3 accesos: en celular, 3 columnas en vez de 2 + 1 */
@media (max-width: 767px) { .franja__items:has(> a:nth-child(3):last-child) { grid-template-columns: repeat(3, 1fr); } }
/* Sin barra superior (sitio.barraSuperior = false): el contenido baja una sola barra */
.una-barra main { padding-top: var(--alto-barra); }
.una-barra main.con-heroe { padding-top: 0; }

/* Héroe más legible (pedido de Andrés, 14/10/2026): letra gruesa y grande, sombra,
   foto oscurecida detrás del texto y bajada en el verde de la marca. */
.heroe__fondo::after { background:
  radial-gradient(ellipse 70% 55% at 50% 58%, rgba(15,18,38,.72) 0%, rgba(15,18,38,.45) 55%, rgba(15,18,38,.25) 100%); }
.heroe h1 { font-weight: 800; font-size: clamp(30px, 5.2vw, 68px); letter-spacing: .06em; line-height: 1.12;
  text-shadow: 0 3px 18px rgba(0,0,0,.65), 0 1px 3px rgba(0,0,0,.8); max-width: 1100px; padding: 0 16px; }
.heroe__bajada { color: #a6d65a; font-weight: 700; font-size: clamp(14px, 1.6vw, 20px); letter-spacing: .22em;
  text-shadow: 0 2px 10px rgba(0,0,0,.8); margin-top: 18px; }
.heroe__aliados img { height: 56px; filter: drop-shadow(0 2px 8px rgba(0,0,0,.6)); }
@media (max-width: 767px) { .heroe__aliados img { height: 44px; } .heroe__bajada { letter-spacing: .14em; } }

/* Foto + texto de la portada sin vacío a la derecha (14/10/2026): ancho fijo centrado,
   foto a la altura del texto y puntos en tarjetas. */
.foto-texto { max-width: 1200px; margin: 0 auto; grid-template-columns: 42% 1fr; gap: 40px; align-items: stretch; padding: 64px 24px; }
.foto-texto__foto { align-self: stretch; border-radius: 12px; min-height: 420px; }
.foto-texto__foto img { width: 100%; height: 100%; object-fit: cover; object-position: center 70%; }
.foto-texto > div:last-child { display: flex; flex-direction: column; justify-content: center; }
.foto-texto h3 { font-size: 24px; }
.puntos-iconos { gap: 14px; margin-top: 24px; }
.puntos-iconos li { background: #fff; border: 1px solid var(--borde-suave); border-radius: 12px; padding: 16px; box-shadow: 0 2px 10px rgba(31,36,64,.05); }
.puntos-iconos b { font-size: 15px; margin-bottom: 2px; }
@media (max-width: 1023px) { .foto-texto__foto { min-height: 300px; max-height: 420px; } }

/* ===== Celular (revisión 14/10/2026) ===== */
@media (max-width: 1023px) {
  .foto-texto { grid-template-columns: 1fr; gap: 24px; padding: 40px 16px; }
  .foto-texto__foto { min-height: 0; max-height: none; aspect-ratio: 4 / 3; }
}
@media (max-width: 767px) {
  /* foto de portada: en vertical mostrar el cargador, no el texto en inglés */
  .heroe__fondo img { object-position: 16% center; }
  .heroe h1 { font-size: 30px; letter-spacing: .03em; }
  .heroe__bajada { font-size: 13px; }
  /* texto justificado deja huecos en pantallas angostas */
  .texto-justo, .texto-justo p, .ficha__resumen, .intro, .parrafo-acento p { text-align: left !important; }
  /* tarjetas de producto de a dos */
  .productos, .productos--vitrina { grid-template-columns: 1fr 1fr !important; gap: 12px; }
  .producto__cuerpo { padding: 8px 10px 12px; }
  .producto__cuerpo h3 { font-size: 12px; }
  .producto__cuerpo p { font-size: 11px; }
  .producto__precio b { font-size: 15px; }
  .producto .btn { font-size: 10px; padding: 10px 6px; }
  .puntos-iconos li { padding: 12px; }
  .foto-texto h3 { font-size: 18px; letter-spacing: .08em; }
  .titulo-espaciado { font-size: 16px; letter-spacing: .1em; }
  html, body { overflow-x: hidden; }
}
.formulario { display: flex; flex-direction: column; gap: 18px; }
.formulario__rejilla { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; }
.formulario__rejilla[hidden] { display: none; }
.campo { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.campo--ancho { grid-column: 1 / -1; }
.campo span { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--azul); }
.campo input, .campo select, .campo textarea { font: 14px var(--fuente); color: var(--azul); background: #fff; border: 1px solid var(--borde);
  border-radius: 2px; padding: 10px 12px; width: 100%; box-sizing: border-box; }
.campo textarea { resize: vertical; min-height: 110px; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--azul); box-shadow: 0 0 0 1px var(--azul); }
.casilla { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--texto-2); line-height: 1.6; }
.casilla input { margin-top: 3px; accent-color: var(--azul); }
.campo-trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formulario__grupo { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--azul);
  border-bottom: 1px solid var(--dorado); padding-bottom: 8px; margin: 12px 0 0; }
.formulario__proveedor { border-left: 3px solid var(--dorado); padding: 4px 0 4px 16px; font-size: 13px; color: var(--texto-2); line-height: 1.7; }
.formulario__proveedor p { margin: 0; }
.formulario__ayuda { font-size: 12px; color: var(--texto-suave); line-height: 1.7; margin: 0; }
.formulario .btn { align-self: flex-start; }
.formulario .btn[disabled] { opacity: .6; cursor: wait; }
.formulario__resultado { border: 1px solid var(--borde); border-left: 3px solid var(--azul); padding: 14px 16px; font-size: 14px; color: var(--azul); line-height: 1.6; }
.formulario__resultado--error { border-left-color: var(--aviso-icono); background: var(--aviso-fondo); color: var(--aviso-texto); }
.formulario__nota { font-size: 12px; color: var(--texto-2); margin: 0; }
.formulario__nota a { color: var(--azul); font-weight: 700; }
@media (max-width: 640px) { .formulario__rejilla { grid-template-columns: 1fr; } .formulario .btn { align-self: stretch; justify-content: center; } }
/* Contacto: datos del taller + mapa a la izquierda, formulario a la derecha */
.contacto { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: start; padding-top: 8px; padding-bottom: 56px; border-top: 1px solid var(--borde); padding-top: 40px; }
.contacto__titulo { font-size: 14px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--azul); margin: 0 0 20px; padding-bottom: 12px; border-bottom: 1px solid var(--dorado); }
.contacto__lista { display: grid; gap: 14px; margin-bottom: 20px; }
.contacto__lista li { display: flex; gap: 14px; align-items: flex-start; }
.contacto__lista i { width: 36px; height: 36px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--azul); color: #fff; font-size: 16px; }
.contacto__lista span { display: block; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--texto-suave); margin-bottom: 2px; }
.contacto__lista p { font-size: 13px; color: var(--azul); line-height: 1.5; margin: 0; }
.contacto__lista a { color: var(--azul); }
.contacto__lista a:hover { color: var(--dorado); }
.contacto__mapa { display: block; width: 100%; height: 240px; border: 1px solid var(--borde); margin-top: 20px; }
.contacto__form { background: var(--fondo-fila); border: 1px solid var(--borde-suave); padding: 28px; }
@media (max-width: 1023px) { .contacto { grid-template-columns: 1fr; gap: 36px; } .contacto__form { padding: 20px 16px; } }
.contacto__titulo { border-bottom-color: var(--verde); }
.contacto__lista { list-style: none; padding: 0; }
.contacto__lista i { border-radius: 8px; }
.contacto__form { border-radius: 12px; }
.formulario__resultado:not(.formulario__resultado--error) { border-left-color: var(--verde); }
