/* =========================================================
   Bull Service — estilos del sitio
   Paleta y tipografía de la marca actual (no cambiar sin revisar la guía).
   Diseño: azul corporativo como base, amarillo para la acción principal,
   rojo para emergencias y verde para WhatsApp y confirmaciones.
   ========================================================= */
:root {
  /* Paleta corporativa Bull Service Group */
  --azul: #002D72;          /* color principal: header, hero, títulos */
  --azul-oscuro: #001F4F;   /* variante más oscura del azul: bandas y footer */
  --rojo: #B22222;          /* emergencias y alertas */
  --verde: #009879;         /* WhatsApp, confirmaciones y capacitación */
  --verde-oscuro: #007A61;  /* verde para fondos con texto blanco (contraste accesible) */
  --amarillo: #FFC107;      /* botón principal y destacados */
  --amarillo-hover: #E0A800;
  --gris: #6E6E6E;          /* textos secundarios */
  --blanco: #FFFFFF;

  --pizarra: #26364D;       /* texto de párrafos (azul grisáceo, derivado del azul) */
  --borde: #E3E8F0;
  --fondo-claro: #F4F6F9;   /* gris clarísimo */
  --antracita: #1A1A1A;     /* gris antracita: textos fuertes y barra superior */
  --texto-claro: #C9D4E5;   /* párrafos sobre azul */

  --f-titulo: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  --f-texto: 'Inter', -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --radio-btn: 6px;
  --radio-card: 10px;
  --sombra: 0 4px 16px rgba(0, 45, 114, 0.08);
  --sombra-hover: 0 10px 28px rgba(0, 45, 114, 0.14);
  --ancho: 1200px;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--blanco);
  color: var(--pizarra);
  font-family: var(--f-texto);
  font-size: 17px;
  line-height: 1.6;
  text-wrap: pretty;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--f-titulo); color: var(--azul); margin: 0; text-wrap: balance; }
h1 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.15; font-weight: 700; }
h2 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.2; font-weight: 700; }
h3 { font-size: clamp(19px, 1.6vw, 21px); line-height: 1.3; font-weight: 600; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--amarillo); outline-offset: 2px; }

.contenedor { max-width: var(--ancho); margin: 0 auto; padding-inline: 24px; }
.seccion { padding-block: 96px; }
.seccion--clara { background: var(--fondo-claro); }
.seccion--azul { background: var(--azul-oscuro); color: var(--texto-claro); }
.seccion--azul h2, .seccion--azul h3 { color: var(--blanco); }
.encabezado-seccion { display: flex; flex-direction: column; gap: 12px; max-width: 700px; margin-bottom: 40px; }
.bajada { font-size: 17px; color: var(--pizarra); max-width: 62ch; }
.seccion--azul .bajada { color: var(--texto-claro); }
.etiqueta { font-family: var(--f-titulo); font-size: 14px; font-weight: 600; color: var(--gris); }
.dos-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 56px; align-items: center; }
.dos-col > * { min-width: 0; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border-radius: var(--radio-btn);
  font-family: var(--f-titulo); font-weight: 600; font-size: 16px; line-height: 1.2;
  border: 2px solid transparent; cursor: pointer; text-align: center;
  transition: background-color .15s ease;
}
.btn--principal { background: var(--amarillo); color: var(--azul); }
.btn--principal:hover { background: var(--amarillo-hover); }
.btn--secundario { border-color: var(--azul); color: var(--azul); background: transparent; }
.btn--secundario:hover { background: rgba(0, 45, 114, 0.06); }
.btn--claro { border-color: var(--blanco); color: var(--blanco); background: transparent; }
.btn--claro:hover { background: rgba(255, 255, 255, 0.08); }
.btn svg { width: 20px; height: 20px; flex: 0 0 auto; }
.botones { display: flex; gap: 14px; flex-wrap: wrap; }
.enlace { font-family: var(--f-titulo); font-weight: 600; font-size: 15px; color: var(--azul); border-bottom: 2px solid var(--amarillo); padding-bottom: 1px; }

/* ---------- Header: vidrio (glassmorphism) que se consolida al hacer scroll ---------- */
:root { --alto-header: 76px; }
.saltar { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--amarillo); color: var(--azul); padding: 10px 16px; border-radius: var(--radio-btn); font-family: var(--f-titulo); font-weight: 600; }
.saltar:focus { top: 12px; }
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0, 45, 114, .42);
  -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  transition: background-color .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.header--solido { background: rgba(0, 31, 79, .94); border-bottom-color: var(--amarillo); box-shadow: 0 8px 28px rgba(0, 16, 42, .28); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .header { background: rgba(0, 45, 114, .96); } }
.header .contenedor { max-width: 1360px; }
.header__fila { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--alto-header); }
.header__logo { flex: 0 0 auto; }
.header__logo img { height: 46px; width: auto; }
.nav-principal { flex: 1 1 auto; display: flex; justify-content: center; }
.menu { display: flex; align-items: center; gap: 2px; }
.menu > li { position: relative; }
.menu__boton, .menu__enlace {
  font-family: var(--f-titulo); font-size: 14px; font-weight: 500; color: var(--blanco);
  background: none; border: 0; padding: 9px 9px; border-radius: 8px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
  transition: background-color .15s ease, color .15s ease;
}
.menu__boton:hover, .menu__enlace:hover, .menu__grupo.abierto .menu__boton { background: rgba(255, 255, 255, .1); }
.menu__enlace[aria-current="page"], .menu__boton--activo { color: var(--amarillo); }
.menu__boton svg:last-child { transition: transform .2s ease; }
.menu__grupo.abierto .menu__boton svg:last-child { transform: rotate(180deg); }
.menu__icono { display: none; }
.menu__solo-movil { display: none; }

/* Mega menú */
.mega {
  position: absolute; top: calc(100% + 12px); left: 50%; width: 580px; z-index: 5;
  background: var(--blanco); border-radius: 14px; box-shadow: 0 24px 60px rgba(0, 22, 58, .28); padding: 12px;
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.menu__grupo:nth-child(1) .mega { left: 0; transform: translate(0, 8px); }
.menu__grupo:nth-child(n+5) .mega { left: auto; right: 0; transform: translate(0, 8px); }
.menu__grupo.abierto .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .2s ease, transform .2s ease; }
.menu__grupo:nth-child(1).abierto .mega, .menu__grupo:nth-child(n+5).abierto .mega { transform: translate(0, 0); }
@media (hover: hover) and (min-width: 1100px) {
  .menu__grupo:hover .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .2s ease, transform .2s ease; }
  .menu__grupo:nth-child(1):hover .mega, .menu__grupo:nth-child(n+5):hover .mega { transform: translate(0, 0); }
}
.mega__lista { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega__item { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 10px; color: var(--azul); transition: background-color .15s ease; }
.mega__item:hover, .mega__item:focus-visible, .mega__item[aria-current="page"] { background: var(--fondo-claro); }
.mega__icono { flex: 0 0 40px; height: 40px; border-radius: 10px; background: rgba(255, 193, 7, .18); color: var(--azul); display: flex; align-items: center; justify-content: center; }
.mega__icono svg { width: 21px; height: 21px; }
.mega__item strong { display: block; font-family: var(--f-titulo); font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.mega__item small { display: block; font-size: 13px; color: var(--gris); line-height: 1.4; margin-top: 2px; }
.mega__pie { display: block; margin-top: 6px; padding: 12px; border-top: 1px solid var(--borde); font-family: var(--f-titulo); font-weight: 600; font-size: 14px; color: var(--azul); }
.mega__pie:hover { color: var(--rojo); }

/* Acciones de la cabecera */
.header__acciones { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.header__buscar {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 10px 0 12px; cursor: pointer;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .08); color: var(--blanco);
  font: 500 14px var(--f-titulo); transition: background-color .15s ease;
}
.header__buscar:hover { background: rgba(255, 255, 255, .16); }
.header__buscar svg { width: 18px; height: 18px; }
.header__buscar-texto { display: none; }
kbd { font-family: var(--f-texto); font-size: 11.5px; font-weight: 600; padding: 2px 6px; border-radius: 5px; border: 1px solid currentColor; opacity: .75; line-height: 1.4; }
.header__icono { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; color: var(--blanco); border-radius: 999px; }
.header__icono:hover { background: rgba(255, 255, 255, .1); }
.header__icono svg { width: 20px; height: 20px; }
.header .btn { min-height: 42px; padding: 0 18px; font-size: 15px; }
.header__hamburguesa { display: none; width: 44px; height: 44px; background: none; border: 0; color: var(--blanco); cursor: pointer; align-items: center; justify-content: center; border-radius: 8px; }
@media (min-width: 1100px) { .menu__nosotros { display: none; } }

/* Menú adaptativo y táctil (tablet y celular) */
@media (max-width: 1099px) {
  :root { --alto-header: 64px; }
  .header__hamburguesa { display: inline-flex; }
  .header__logo img { height: 40px; }
  .header__buscar kbd { display: none; }
  .nav-principal {
    position: absolute; top: 100%; left: 0; right: 0; height: calc(100dvh - var(--alto-header)); overflow-y: auto; overscroll-behavior: contain;
    background: var(--azul-oscuro); padding: 12px 20px 96px; display: block;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  .nav-principal.abierto { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .2s ease; }
  .menu { flex-direction: column; align-items: stretch; gap: 0; max-width: 640px; margin: 0 auto; }
  .menu > li { border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .menu__solo-movil { display: block; }
  .menu__solo-movil > li { border: 0; }
  .menu__boton, .menu__enlace { width: 100%; padding: 16px 4px; font-size: 17px; border-radius: 0; justify-content: flex-start; min-height: 56px; }
  .menu__boton svg:last-child { margin-left: auto; width: 16px; height: 16px; }
  .menu__boton:hover, .menu__enlace:hover, .menu__grupo.abierto .menu__boton { background: transparent; }
  .menu__icono { display: inline-flex; width: 34px; height: 34px; border-radius: 8px; background: rgba(255, 255, 255, .08); align-items: center; justify-content: center; margin-right: 8px; color: var(--amarillo); }
  .menu__icono svg { width: 18px; height: 18px; }
  .mega, .menu__grupo:nth-child(n) .mega { position: static; width: auto; transform: none; box-shadow: none; background: transparent; padding: 0 0 12px; display: none; opacity: 1; visibility: visible; transition: none; }
  .menu__grupo.abierto .mega { display: block; transform: none; }
  .mega::before { display: none; }
  .mega__lista { grid-template-columns: 1fr; }
  .mega__item { color: var(--blanco); padding: 10px 8px; }
  .mega__item:hover, .mega__item[aria-current="page"] { background: rgba(255, 255, 255, .06); }
  .mega__icono { background: rgba(255, 255, 255, .08); color: var(--amarillo); flex-basis: 36px; height: 36px; }
  .mega__item small { color: var(--texto-claro); }
  .mega__pie { color: var(--amarillo); border-top-color: rgba(255, 255, 255, .1); }
  body.menu-abierto { overflow: hidden; }
}
@media (max-width: 480px) {
  .header .btn { display: none; }
  .header__acciones { gap: 4px; }
  .header__buscar { width: 42px; padding: 0; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--azul); overflow: hidden; margin-top: calc(-1 * var(--alto-header)); padding-top: var(--alto-header); }
.hero__foto { position: absolute; right: 0; top: 0; width: 72%; height: 100%; object-fit: cover; }
.hero__velo { position: absolute; inset: 0; background: linear-gradient(90deg, var(--azul) 0%, var(--azul) 34%, rgba(0,45,114,.88) 52%, rgba(0,31,79,.72) 100%); }
.hero__fila { position: relative; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; justify-content: space-between; padding-block: 72px 64px; }
.hero__texto { flex: 1 1 540px; max-width: 680px; display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.hero h1 { color: var(--blanco); }
.hero__bajada { font-size: 18px; color: var(--texto-claro); max-width: 56ch; }
.pildora { align-self: flex-start; padding: 7px 16px; background: var(--amarillo); color: var(--azul); border-radius: 999px; font-family: var(--f-titulo); font-weight: 600; font-size: 13px; }
.sellos { display: flex; gap: 26px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); }
.sello { display: flex; align-items: center; gap: 10px; color: var(--blanco); font-size: 14.5px; font-weight: 600; }
.sello svg { width: 22px; height: 22px; color: var(--amarillo); }
.hero--interior .hero__fila { padding-block: 64px 56px; }
.hero--interior .hero__foto { width: 60%; }
.migas { font-size: 14px; color: var(--texto-claro); }
.migas a:hover { color: var(--amarillo); }

/* ---------- Formularios ---------- */
.formulario { background: var(--blanco); border-radius: var(--radio-card); padding: 28px; display: flex; flex-direction: column; gap: 14px; color: var(--pizarra); }
.hero .formulario { flex: 0 1 400px; width: 100%; max-width: 400px; box-shadow: 0 12px 32px rgba(0,0,0,.25); }
.formulario__titulo { font-family: var(--f-titulo); font-weight: 700; font-size: 20px; color: var(--azul); }
.formulario__nota { font-size: 13px; color: var(--gris); }
.campo { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--pizarra); }
.campo input, .campo select, .campo textarea { min-height: 46px; padding: 10px 12px; border: 1px solid var(--borde); border-radius: var(--radio-btn); font: inherit; font-weight: 400; font-size: 15px; color: var(--pizarra); background: var(--blanco); width: 100%; }
.campo textarea { min-height: 96px; resize: vertical; }
.campo input:focus, .campo select:focus, .campo textarea:focus { border-color: var(--azul); outline: none; box-shadow: 0 0 0 3px rgba(255,193,7,.45); }
.campos-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 14px; }
.formulario .btn { width: 100%; }
.confirmacion { background: #E6F5F1; border: 1px solid var(--verde); color: #00594A; padding: 14px 16px; border-radius: var(--radio-btn); font-size: 15px; }

/* ---------- Logos de clientes ---------- */
.clientes { border-bottom: 1px solid var(--borde); background: var(--blanco); }
.clientes__fila { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; padding-block: 26px; }
.clientes__titulo { font-family: var(--f-titulo); font-size: 14px; font-weight: 600; white-space: nowrap; }
.clientes__logos { display: flex; align-items: center; justify-content: space-between; gap: 36px; flex: 1; flex-wrap: wrap; }
.clientes__logos img { height: 40px; width: auto; filter: grayscale(1); opacity: .7; }

/* ---------- Tarjetas ---------- */
.grilla { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 24px; }
.grilla--2 { grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); }
.grilla--4 { grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); }
.tarjeta { background: var(--blanco); border: 1px solid var(--borde); border-radius: var(--radio-card); box-shadow: var(--sombra); padding: 28px; display: flex; flex-direction: column; gap: 14px; transition: transform .18s ease, box-shadow .18s ease; min-width: 0; }
a.tarjeta:hover { transform: translateY(-2px); box-shadow: var(--sombra-hover); }
.tarjeta p { font-size: 15.5px; line-height: 1.55; }
.tarjeta__mas { font-family: var(--f-titulo); font-weight: 600; font-size: 14.5px; color: var(--azul); margin-top: auto; }
.icono { display: flex; width: 48px; height: 48px; border-radius: 50%; background: var(--azul); align-items: center; justify-content: center; flex: 0 0 auto; }
.icono svg { width: 24px; height: 24px; color: var(--amarillo); }
.lista-check { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.lista-check li { display: flex; gap: 10px; align-items: flex-start; }
.lista-check li::before { content: ""; flex: 0 0 auto; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--amarillo) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23002D72' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.seccion--azul .lista-check li { color: var(--blanco); }

.producto { padding: 0; overflow: hidden; position: relative; gap: 0; }
.producto img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: var(--blanco); }
.producto__info { padding: 18px 20px 22px; border-top: 1px solid var(--borde); display: flex; flex-direction: column; gap: 6px; }
.producto h3 { font-size: 17px; }
.precio { font-family: var(--f-titulo); font-weight: 700; font-size: 18px; color: var(--azul); }
.producto .pildora { position: absolute; top: 14px; left: 14px; font-size: 12px; padding: 5px 12px; }

/* ---------- Filas de marca, fichas y tablas ---------- */
.marcas { border-top: 1px solid var(--borde); }
.marcas li { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--borde); }
.marca { flex: 0 0 auto; min-width: 124px; padding: 6px 10px; background: var(--azul); color: var(--blanco); border-radius: var(--radio-btn); font-family: var(--f-titulo); font-size: 13px; font-weight: 600; text-align: center; }
.ficha { width: 100%; border-collapse: collapse; background: var(--blanco); border: 1px solid var(--borde); border-radius: var(--radio-card); overflow: hidden; font-size: 15.5px; }
.ficha th, .ficha td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--borde); vertical-align: top; }
.ficha tr:last-child th, .ficha tr:last-child td { border-bottom: 0; }
.ficha th { width: 38%; color: var(--azul); font-weight: 600; }
.marco-foto { background: var(--blanco); border: 1px solid var(--borde); border-radius: var(--radio-card); padding: 32px; display: flex; align-items: center; justify-content: center; }
.foto-redonda { width: 100%; border-radius: var(--radio-card); object-fit: cover; }
.foto-pendiente { border: 2px dashed var(--borde); border-radius: var(--radio-card); min-height: 320px; display: flex; align-items: center; justify-content: center; color: var(--gris); font-size: 15px; text-align: center; padding: 24px; background: var(--fondo-claro); }

/* ---------- Pasos (solo para procesos reales) ---------- */
.pasos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 24px; counter-reset: paso; }
.paso { counter-increment: paso; padding: 24px; border-top: 3px solid var(--amarillo); background: var(--blanco); border-radius: 0 0 var(--radio-card) var(--radio-card); box-shadow: var(--sombra); display: flex; flex-direction: column; gap: 8px; }
.paso::before { content: "Paso " counter(paso); font-family: var(--f-titulo); font-size: 13px; font-weight: 600; color: var(--gris); }

/* ---------- Cifras ---------- */
.cifras { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 24px; }
.cifra { display: flex; flex-direction: column; gap: 2px; }
.cifra strong { font-family: var(--f-titulo); font-size: 44px; line-height: 1.1; color: var(--amarillo); font-variant-numeric: tabular-nums; }
.cifra span { color: var(--blanco); font-weight: 600; }

/* ---------- Acordeón (preguntas y líneas de consultoría) ---------- */
.acordeon { border-top: 1px solid var(--borde); }
.acordeon details { border-bottom: 1px solid var(--borde); }
.acordeon summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-family: var(--f-titulo); font-weight: 600; font-size: 17px; color: var(--azul); }
.acordeon summary::-webkit-details-marker { display: none; }
.acordeon summary::after { content: "+"; font-size: 26px; line-height: 1; color: var(--amarillo); flex: 0 0 auto; }
.acordeon details[open] summary::after { content: "−"; }
.acordeon__cuerpo { padding: 0 0 22px; display: flex; flex-direction: column; gap: 12px; color: var(--pizarra); font-size: 16px; }
.pendiente { color: var(--gris); font-style: italic; }

/* ---------- Testimonios ---------- */
.testimonio { margin: 0; background: var(--blanco); border-radius: var(--radio-card); padding: 28px; display: flex; flex-direction: column; gap: 20px; border: 1px dashed #B9C6D8; }
.testimonio blockquote { margin: 0; font-size: 17px; }
.testimonio figcaption { display: flex; flex-direction: column; gap: 2px; font-size: 14px; color: var(--gris); }
.testimonio figcaption strong { font-family: var(--f-titulo); color: var(--azul); font-size: 15px; }

/* ---------- Banda de cierre (CTA) ---------- */
.banda { background: var(--azul-oscuro); padding-block: 56px; }
.banda__fila { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.banda h2 { color: var(--blanco); font-size: clamp(22px, 2.2vw, 28px); }
.banda p { color: var(--texto-claro); margin-top: 8px; max-width: 60ch; }
.archivo { display: flex; width: 64px; height: 76px; border-radius: 6px; background: var(--blanco); align-items: center; justify-content: center; flex: 0 0 auto; }
.archivo svg { width: 30px; height: 30px; color: var(--azul); }

/* ---------- Contacto ---------- */
.contacto-datos { background: var(--azul); border-radius: var(--radio-card); padding: 36px; display: flex; flex-direction: column; gap: 22px; color: var(--blanco); }
.dato { display: flex; align-items: center; gap: 14px; }
.dato__icono { display: flex; width: 44px; height: 44px; border-radius: 50%; background: var(--azul-oscuro); align-items: center; justify-content: center; flex: 0 0 auto; }
.dato__icono svg { width: 20px; height: 20px; color: var(--amarillo); }
.dato small { display: block; font-size: 13px; color: var(--texto-claro); }
.dato strong { font-family: var(--f-titulo); font-weight: 600; font-size: 17px; overflow-wrap: anywhere; }
.contacto-datos hr { border: 0; border-top: 1px solid rgba(255,255,255,.14); margin: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--azul); color: var(--texto-claro); padding-block: 64px 28px; font-size: 14.5px; }
.footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 32px; }
.footer__cols > div { display: flex; flex-direction: column; gap: 12px; }
.footer__titulo { font-family: var(--f-titulo); font-weight: 600; font-size: 15px; color: var(--blanco); }
.footer a:hover { color: var(--amarillo); }
.footer__logo { height: 52px; width: auto; align-self: flex-start; }
.redes { display: flex; gap: 10px; }
.redes a { display: flex; width: 40px; height: 40px; border-radius: 6px; background: var(--azul-oscuro); align-items: center; justify-content: center; }
.redes svg { width: 18px; height: 18px; color: var(--blanco); }
.footer__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13.5px; }

/* ---------- Barra de emergencia (sobre el header) ---------- */
.barra-emergencia { background: var(--rojo); color: var(--blanco); font-size: 14px; }
.barra-emergencia .contenedor { display: flex; justify-content: center; align-items: center; gap: 10px; min-height: 38px; flex-wrap: wrap; text-align: center; padding-block: 6px; }
.barra-emergencia a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.barra-emergencia svg { width: 16px; height: 16px; }

/* ---------- Botón WhatsApp (verde) ---------- */
.btn--whatsapp { background: var(--verde-oscuro); color: var(--blanco); }
.btn--whatsapp:hover { background: #00664F; }

/* ---------- Carrusel de fotos ---------- */
.carrusel { position: relative; border-radius: var(--radio-card); overflow: hidden; background: var(--azul-oscuro); box-shadow: var(--sombra); }
.carrusel__pista { position: relative; aspect-ratio: 16 / 9; max-height: 640px; width: 100%; }
.carrusel__slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s linear .6s; }
.carrusel__slide.activo { opacity: 1; visibility: visible; transition: opacity .6s ease; }
.carrusel__slide img { width: 100%; height: 100%; object-fit: cover; }
.carrusel__slide.vertical img { object-fit: contain; background: #00163A; }
.carrusel__slide figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 24px 20px; background: linear-gradient(transparent, rgba(0, 22, 58, .9)); color: var(--blanco); display: flex; flex-direction: column; gap: 4px; }
.carrusel__slide figcaption strong { font-family: var(--f-titulo); font-size: clamp(16px, 1.6vw, 19px); font-weight: 600; }
.carrusel__slide figcaption span { font-size: 13.5px; color: var(--texto-claro); }
.carrusel__etiqueta { align-self: flex-start; padding: 3px 10px; border-radius: 999px; background: var(--amarillo); color: var(--azul); font-family: var(--f-titulo); font-size: 12px; font-weight: 600; }
.carrusel__flecha { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--azul); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 12px rgba(0, 0, 0, .25); z-index: 2; }
.carrusel__flecha:hover { background: var(--amarillo); }
.carrusel__flecha svg { width: 22px; height: 22px; }
.carrusel__flecha--ant { left: 14px; }
.carrusel__flecha--sig { right: 14px; }
.carrusel__puntos { position: absolute; top: 14px; right: 14px; display: flex; gap: 6px; z-index: 2; background: rgba(0, 22, 58, .55); padding: 7px 10px; border-radius: 999px; }
.carrusel__puntos button { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 2px solid var(--blanco); background: transparent; cursor: pointer; }
.carrusel__puntos button[aria-current="true"] { background: var(--amarillo); border-color: var(--amarillo); }
.carrusel__contador { position: absolute; top: 14px; left: 14px; z-index: 2; background: rgba(0, 22, 58, .55); color: var(--blanco); font-size: 13px; padding: 5px 12px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.carrusel__pausa { position: absolute; bottom: 18px; right: 14px; z-index: 3; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.18); color: var(--blanco); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.carrusel__pausa svg { width: 16px; height: 16px; }
@media (max-width: 720px) {
  .carrusel__pista { aspect-ratio: 4 / 3; }
  .carrusel__flecha { width: 40px; height: 40px; }
  .carrusel__slide figcaption { padding: 40px 16px 52px; }
  .carrusel__puntos { top: auto; bottom: 14px; right: 50%; transform: translateX(50%); }
  .carrusel__pausa { bottom: 10px; }
}

/* ---------- Cartas de referencia y acreditaciones ---------- */
.referencia { background: var(--blanco); border: 1px solid var(--borde); border-radius: var(--radio-card); padding: 24px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.referencia__cabeza { display: flex; align-items: center; gap: 14px; }
.referencia__sigla { display: flex; width: 52px; height: 52px; border-radius: 8px; background: var(--fondo-claro); border: 1px dashed #B9C6D8; align-items: center; justify-content: center; font-family: var(--f-titulo); font-weight: 700; color: var(--azul); font-size: 15px; flex: 0 0 auto; }
.referencia h3 { font-size: 17px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; font-family: var(--f-titulo); }
.chip--carta { background: #E6EEFA; color: var(--azul); }
.chip--acreditacion { background: #E6F5F1; color: #00594A; }
.referencia__accion { margin-top: auto; font-family: var(--f-titulo); font-weight: 600; font-size: 14.5px; color: var(--azul); border-top: 1px solid var(--borde); padding-top: 12px; display: flex; justify-content: space-between; gap: 8px; }
.referencia__accion[aria-disabled="true"] { color: var(--gris); cursor: default; }

/* ---------- Banner y página de noticias ---------- */
.banner-noticias { background: linear-gradient(120deg, var(--azul) 0%, var(--azul-oscuro) 100%); color: var(--blanco); padding-block: 72px; position: relative; overflow: hidden; }
.banner-noticias h2 { color: var(--blanco); }
.banner-noticias .bajada { color: var(--texto-claro); }
.banner-noticias__fila { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.noticias-grilla { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 24px; }
.noticia { background: var(--blanco); border: 1px solid var(--borde); border-radius: var(--radio-card); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--sombra); transition: transform .18s ease, box-shadow .18s ease; min-width: 0; color: var(--pizarra); }
.noticia:hover { transform: translateY(-2px); box-shadow: var(--sombra-hover); }
.noticia__img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; background: var(--fondo-claro); }
.noticia__cuerpo { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.noticia__meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13.5px; color: var(--gris); }
.noticia h3 { font-size: 19px; line-height: 1.3; }
.noticia p { font-size: 15px; line-height: 1.55; }
.noticia .btn { margin-top: auto; align-self: flex-start; min-height: 44px; padding: 0 20px; font-size: 15px; }
.cat { padding: 3px 10px; border-radius: 999px; font-family: var(--f-titulo); font-size: 12px; font-weight: 600; color: var(--blanco); }
.cat--emergencias { background: var(--rojo); }
.cat--capacitacion { background: var(--verde-oscuro); }
.cat--coberturas { background: var(--azul); }
.cat--alianzas { background: #8A6D00; }
.destacada { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); background: var(--blanco); border-radius: var(--radio-card); overflow: hidden; box-shadow: var(--sombra-hover); border: 1px solid var(--borde); }
.destacada img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.destacada .noticia__cuerpo { padding: 32px; justify-content: center; }
.destacada h3 { font-size: clamp(22px, 2.4vw, 30px); }
.secundarias { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 24px; margin-top: 24px; }
@media (max-width: 860px) { .destacada { grid-template-columns: 1fr; } .destacada img { min-height: 220px; aspect-ratio: 16 / 9; } }
.herramientas { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.buscador-noticias { position: relative; flex: 1 1 320px; max-width: 460px; }
.buscador-noticias input { width: 100%; min-height: 48px; padding: 0 16px 0 46px; border: 1px solid var(--borde); border-radius: 999px; font: inherit; font-size: 15.5px; background: var(--blanco); color: var(--pizarra); }
.buscador-noticias input:focus { outline: none; border-color: var(--azul); box-shadow: 0 0 0 3px rgba(255,193,7,.45); }
.buscador-noticias svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--gris); }
.filtros { display: flex; gap: 8px; flex-wrap: wrap; }
.filtros button { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--borde); background: var(--blanco); color: var(--azul); font-family: var(--f-titulo); font-weight: 600; font-size: 14px; cursor: pointer; }
.filtros button[aria-pressed="true"] { background: var(--azul); color: var(--blanco); border-color: var(--azul); }
.resultado-busqueda { font-size: 14.5px; color: var(--gris); margin-bottom: 16px; }
.vacio { text-align: center; padding: 48px 24px; border: 2px dashed var(--borde); border-radius: var(--radio-card); color: var(--gris); }
.lector { border: 0; padding: 0; border-radius: var(--radio-card); width: min(860px, calc(100vw - 32px)); max-height: calc(100vh - 48px); overflow: auto; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.lector::backdrop { background: rgba(0, 22, 58, .7); }
.lector__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.lector__cuerpo { padding: 28px clamp(20px, 4vw, 40px) 36px; display: flex; flex-direction: column; gap: 14px; }
.lector__cerrar { position: sticky; top: 12px; float: right; margin: 12px 12px 0 0; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--blanco); color: var(--azul); cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.25); display: flex; align-items: center; justify-content: center; z-index: 2; }
.lector__cerrar svg { width: 20px; height: 20px; }
.lector__galeria { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.lector__galeria img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; width: 100%; }

/* ---------- WhatsApp flotante ---------- */
.whatsapp-flotante { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 60; display: flex; width: 60px; height: 60px; border-radius: 50%; background: var(--verde-oscuro); border: 2px solid var(--blanco); align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,45,114,.3); }
.whatsapp-flotante svg { width: 28px; height: 28px; color: var(--blanco); }

@media (max-width: 720px) {
  body { font-size: 16px; }
  .seccion { padding-block: 56px; }
  .hero__foto, .hero--interior .hero__foto { width: 100%; }
  .hero__velo { background: linear-gradient(180deg, rgba(0,45,114,.84) 0%, rgba(0,45,114,.95) 60%, var(--azul) 100%); }
  .hero__fila { padding-block: 32px 40px; gap: 32px; }
  .hero .botones .btn { width: 100%; }
  .clientes__fila { flex-direction: column; align-items: flex-start; gap: 16px; }
  .clientes__logos { justify-content: flex-start; gap: 22px 28px; }
  .clientes__logos img { height: 30px; }
  .marca { min-width: 104px; }
  .formulario, .contacto-datos { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tarjeta, .btn, .noticia, .carrusel__slide, .carrusel__slide.activo { transition: none; }
}

/* Texto solo para lectores de pantalla */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 480px) { .barra-emergencia__texto { display: none; } .barra-emergencia .contenedor { flex-wrap: nowrap; } }

/* =========================================================
   v4 · Formularios con validación, buscador, videos, FIDAE
   ========================================================= */
picture { display: contents; }
picture > source { display: none; }

/* ---------- Campos con validación en tiempo real ---------- */
.campo label { font-size: 13.5px; font-weight: 600; color: var(--pizarra); }
.req { color: var(--rojo); font-weight: 700; }
.opcional { font-weight: 400; color: var(--gris); font-size: 12.5px; }
.campo__msg { min-height: 0; font-size: 13px; font-weight: 500; line-height: 1.35; }
.campo__msg:empty { display: none; }
.campo__msg[data-tipo="error"] { color: var(--rojo); }
.campo__msg[data-tipo="aviso"] { color: #7A5A00; }
.campo__pie { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.campo__cuenta { margin-left: auto; font-size: 12px; font-weight: 400; color: var(--gris); font-variant-numeric: tabular-nums; }
.campo--error input, .campo--error textarea { border-color: var(--rojo); background: #FFF7F7; }
.campo--error input:focus, .campo--error textarea:focus { box-shadow: 0 0 0 3px rgba(178, 34, 34, .2); }
.campo--ok input, .campo--ok textarea { border-color: var(--verde); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23007A61' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 16px; background-position: right 12px center; padding-right: 36px; }
.campo--ok textarea { background-position: right 12px top 12px; }

/* Interruptor "¿Eres empresa?" */
.interruptor { display: flex; align-items: center; position: relative; }
.interruptor input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.interruptor label { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; font-family: var(--f-titulo); font-weight: 600; font-size: 15px; color: var(--azul); min-height: 44px; }
.interruptor__pista { position: relative; width: 46px; height: 26px; border-radius: 999px; background: #C9D1DD; transition: background-color .2s ease; flex: 0 0 auto; }
.interruptor__pista::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--blanco); box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s ease; }
.interruptor input:checked + label .interruptor__pista { background: var(--verde-oscuro); }
.interruptor input:checked + label .interruptor__pista::after { transform: translateX(20px); }
.interruptor input:focus-visible + label .interruptor__pista { outline: 3px solid var(--amarillo); outline-offset: 2px; }
.bloque-empresa { display: grid; gap: 14px; padding: 16px; border-radius: var(--radio-card); background: var(--fondo-claro); border: 1px solid var(--borde); animation: desplegar .22s ease; }
@keyframes desplegar { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Buscador global (Ctrl + K) ---------- */
.buscador { border: 0; padding: 0; width: min(680px, calc(100vw - 24px)); max-height: min(640px, calc(100dvh - 48px)); margin: 10vh auto auto; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 16, 42, .45); background: var(--blanco); color: var(--pizarra); }
.buscador[open] { display: flex; flex-direction: column; animation: aparecer .18s ease; }
.buscador::backdrop { background: rgba(0, 22, 58, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
@keyframes aparecer { from { opacity: 0; transform: translateY(-8px) scale(.98); } to { opacity: 1; transform: none; } }
.buscador__caja { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--borde); }
.buscador__caja > svg { width: 22px; height: 22px; color: var(--azul); flex: 0 0 auto; }
.buscador__caja input { flex: 1; min-width: 0; border: 0; font: 400 18px var(--f-texto); color: var(--pizarra); background: transparent; padding: 8px 0; }
.buscador__caja input:focus, .buscador__caja input:focus-visible { outline: none; }
.buscador__cerrar { border: 1px solid var(--borde); background: var(--fondo-claro); color: var(--gris); font: 600 12px var(--f-texto); border-radius: 6px; padding: 6px 8px; cursor: pointer; }
.buscador__resultados { overflow-y: auto; padding: 8px; flex: 1; }
.buscador__resultados [role="option"] a { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 10px; }
.buscador__resultados [aria-selected="true"] a { background: var(--fondo-claro); box-shadow: inset 3px 0 0 var(--amarillo); }
.res__texto { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.res__texto strong { font-family: var(--f-titulo); font-weight: 600; font-size: 15.5px; color: var(--azul); }
.res__texto small { font-size: 13.5px; color: var(--gris); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.res__texto mark { background: rgba(255, 193, 7, .45); color: inherit; border-radius: 3px; padding: 0 1px; }
.res__tipo { flex: 0 0 auto; min-width: 84px; text-align: center; font: 600 11.5px var(--f-titulo); padding: 4px 8px; border-radius: 999px; background: #E6EEFA; color: var(--azul); }
.res__tipo--power-hit { background: var(--azul); color: var(--amarillo); }
.res__tipo--producto { background: #FFF3CD; color: #6B4E00; }
.res__tipo--noticia { background: #E6F5F1; color: #00594A; }
.res__tipo--pagina { background: var(--fondo-claro); color: var(--gris); }
.res__ir { color: var(--gris); opacity: 0; }
[aria-selected="true"] .res__ir { opacity: 1; }
.buscador__vacio { padding: 18px 12px; color: var(--gris); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.buscador__vacio a { color: var(--azul); font-weight: 600; }
.chip-sugerido { border: 1px solid var(--borde); background: var(--blanco); color: var(--azul); border-radius: 999px; padding: 6px 12px; font: 500 14px var(--f-titulo); cursor: pointer; }
.chip-sugerido:hover { border-color: var(--azul); }
.buscador__pie { display: flex; justify-content: space-between; gap: 12px; padding: 10px 16px; border-top: 1px solid var(--borde); font-size: 12.5px; color: var(--gris); background: var(--fondo-claro); }
.buscador__pie kbd { margin-right: 2px; }
@media (max-width: 600px) { .buscador { margin-top: 12px; max-height: calc(100dvh - 24px); } .buscador__pie > span:first-child { display: none; } .res__tipo { min-width: 0; } }
body.buscador-abierto { overflow: hidden; }
body.menu-abierto .whatsapp-flotante { display: none; }

/* ---------- Videos en terreno (reels) ---------- */
.reels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.reel { position: relative; margin: 0; aspect-ratio: 9 / 14; border-radius: 14px; overflow: hidden; background: #00163A; box-shadow: var(--sombra-hover); isolation: isolate; }
.reel video { width: 100%; height: 100%; object-fit: cover; display: block; cursor: pointer; }
.reel__overlay { position: absolute; left: 0; right: 0; bottom: 0; padding: 64px 18px 66px; background: linear-gradient(transparent, rgba(0, 22, 58, .92)); color: var(--blanco); display: flex; flex-direction: column; gap: 4px; pointer-events: none; transition: opacity .3s ease; }
.reel__overlay strong { font-family: var(--f-titulo); font-size: 18px; font-weight: 600; }
.reel__overlay > span:last-child { font-size: 14px; color: var(--texto-claro); }
.reel.reproduciendo .reel__overlay { opacity: .82; }
.reel__controles { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; gap: 8px; }
.reel__btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .18); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--blanco); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.reel__btn:hover { background: rgba(255, 255, 255, .3); }
.reel__btn svg { width: 18px; height: 18px; }
.reel__btn--play { background: var(--amarillo); color: var(--azul); }
.reel__btn--play:hover { background: var(--amarillo-hover); }
.reel__btn[data-accion="completa"] { margin-left: auto; }
@media (max-width: 860px) {
  .reels { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-inline: -24px; padding-inline: 24px; scrollbar-width: thin; }
  .reel { scroll-snap-align: center; }
}

/* ---------- Vitrina FIDAE 2026 · Power Hit ---------- */
.fidae { background: radial-gradient(120% 80% at 100% 0%, rgba(178, 34, 34, .28), transparent 60%), linear-gradient(160deg, var(--azul) 0%, var(--azul-oscuro) 70%); color: var(--texto-claro); }
.fidae h2 { color: var(--blanco); }
.fidae .bajada { color: var(--texto-claro); }
.fidae__cabecera { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.fidae__galeria { margin-bottom: 36px; }
.ph-grilla { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(255px, 100%), 1fr)); gap: 22px; }
.ph { background: var(--blanco); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; color: var(--pizarra); box-shadow: 0 16px 40px rgba(0, 10, 30, .25); transition: transform .2s ease; }
.ph:hover { transform: translateY(-3px); }
.ph__media { position: relative; aspect-ratio: 4 / 3; background: linear-gradient(180deg, #F3F5F9, #E4E9F1); display: flex; align-items: center; justify-content: center; }
.ph__img { width: 100%; height: 100%; object-fit: contain; padding: 16px; mix-blend-mode: multiply; }
.ph__grafico { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: linear-gradient(150deg, #0A3A85, var(--azul-oscuro)); color: var(--amarillo); }
.ph__grafico svg { width: 72px; height: 72px; stroke-width: 1.4; }
.ph__grafico span { font: 700 13px var(--f-titulo); letter-spacing: .14em; text-transform: uppercase; color: var(--blanco); opacity: .8; }
.ph__sello { position: absolute; top: 12px; left: 12px; background: var(--rojo); color: var(--blanco); font: 700 11.5px var(--f-titulo); letter-spacing: .04em; padding: 4px 10px; border-radius: 999px; }
.ph__cuerpo { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.ph__tipo { font: 600 12.5px var(--f-titulo); color: var(--gris); text-transform: uppercase; letter-spacing: .05em; }
.ph__sku { color: var(--azul); }
.ph h3 { font-size: 19px; }
.ph .lista-check li { font-size: 14.5px; }
.ph__acciones { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; padding-top: 6px; }
.ph__acciones .btn { min-height: 44px; padding: 0 16px; font-size: 14.5px; flex: 1 1 auto; }
.ph__acciones .btn svg { width: 18px; height: 18px; }
.fidae__nota { margin-top: 24px; font-size: 13.5px; color: var(--texto-claro); opacity: .85; }
.fidae .btn--secundario { border-color: var(--blanco); color: var(--blanco); }
.ph .btn--secundario { border-color: var(--azul); color: var(--azul); }

/* ---------- Noticias: principal y video ---------- */
.etiqueta-principal { align-self: flex-start; background: var(--rojo); color: var(--blanco); font: 700 12px var(--f-titulo); letter-spacing: .04em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.destacada img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.lector__video video { width: 100%; max-height: 70vh; border-radius: var(--radio-card); background: #000; }
.lector__galeria img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; width: 100%; }

@media (prefers-reduced-motion: reduce) {
  .mega, .nav-principal, .header, .bloque-empresa, .buscador[open], .ph { transition: none !important; animation: none !important; }
}

.confirmacion--error { background: #FFF4F4; border-color: var(--rojo); color: #7A1515; }
.confirmacion--error a { font-weight: 700; text-decoration: underline; }
.trampa { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.formulario button[disabled] { opacity: .7; cursor: progress; }
.ph__tienda { font: 600 14px var(--f-titulo); color: var(--azul); border-bottom: 2px solid var(--amarillo); align-self: flex-start; padding-bottom: 1px; }
.ph__tienda:hover { color: var(--rojo); }
.ph__media picture + .ph__sello, .ph__media .ph__img { background: #fff; }
.ph__media:has(.ph__img) { background: #fff; }

/* v5 · tipografía Montserrat/Inter, SLA y títulos del mega menú */
h1, h2 { font-weight: 800; letter-spacing: -.01em; }
.mega__titulo { display: block; padding: 8px 12px 10px; font: 700 12px var(--f-titulo); letter-spacing: .06em; text-transform: uppercase; color: var(--gris); }
.barra-emergencia__sla { display: inline-flex; align-items: center; gap: 6px; margin-left: 18px; padding-left: 18px; border-left: 1px solid rgba(255,255,255,.35); font-weight: 600; }
.barra-emergencia__sla svg { width: 15px; height: 15px; }
@media (max-width: 760px) { .barra-emergencia__sla { margin: 0; padding: 0; border: 0; width: 100%; justify-content: center; font-size: 13px; } }
@media (max-width: 1099px) { .mega__titulo { color: var(--texto-claro); } }
@media (max-width: 760px) { .barra-emergencia .contenedor { flex-wrap: wrap !important; gap: 0 8px; padding-block: 5px; } .barra-emergencia { font-size: 13px; } }

/* Menú de productos (oct 2026): enlace destacado a Ofertas */
@media (min-width: 1100px) {
  .menu__enlace--ofertas { box-shadow: inset 0 0 0 1.5px rgba(255, 193, 7, .7); }
  .menu__enlace--ofertas:hover { background: rgba(255, 193, 7, .16); }
}

/* Menú: Tienda con todas las categorías (oct 2026) */
.mega--tienda { width: 820px; }
.mega__columnas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 18px; padding: 4px 12px 8px; }
.mega__col-titulo { display: flex; align-items: center; gap: 10px; margin: 6px 0 8px; font-family: var(--f-titulo); font-size: 14.5px; font-weight: 700; color: var(--azul); }
.mega__col-titulo .mega__icono { flex-basis: 34px; height: 34px; }
.mega__col-titulo .mega__icono svg { width: 18px; height: 18px; }
.mega__col ul { display: grid; gap: 1px; }
.mega__enlace { display: block; padding: 7px 10px; margin-left: 34px; border-radius: 8px; font-size: 14px; color: var(--pizarra); }
.mega__enlace:hover, .mega__enlace:focus-visible, .mega__enlace[aria-current="page"] { background: var(--fondo-claro); color: var(--azul); }
.mega__destacados { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: 4px; padding-top: 6px; border-top: 1px solid var(--borde); }
@media (min-width: 1100px) { .menu__nosotros { display: list-item; } }
@media (max-width: 1099px) {
  .mega--tienda { width: auto; }
  .mega__columnas { grid-template-columns: 1fr; padding: 0; gap: 10px; }
  .mega__col-titulo { color: var(--blanco); }
  .mega__enlace { color: var(--texto-claro); margin-left: 44px; }
  .mega__enlace:hover, .mega__enlace:focus-visible { background: rgba(255,255,255,.08); color: var(--blanco); }
  .mega__destacados { grid-template-columns: 1fr; border-top-color: rgba(255,255,255,.12); }
}
