/* Identidad de marca: azul del logo, blancos y acentos rojos. */
:root {
  --azul: #2d50ba;
  --azul-oscuro: #14265b;
  --rojo: #d51f2c;
  --fondo: #ffffff;
  --panel: #ffffff;
  --oro: var(--azul);
  --texto: #172449;
  --muted: #596580;
  --linea: #dce3f2;
  --papel: #f1f5fc;
  --tinta: #172449;
  color-scheme: light;
}
body { background: linear-gradient(135deg, #edf3ff 0%, #f8faff 45%, #eaf0fc 100%); }
/* Barra de desplazamiento con la identidad del sitio: pulgar azul sobre pista clara. */
html { scrollbar-color: var(--azul) var(--papel); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--papel); }
::-webkit-scrollbar-thumb { background: var(--azul); border-radius: 8px; border: 3px solid var(--papel); }
::-webkit-scrollbar-thumb:hover { background: var(--azul-oscuro); }
::-webkit-scrollbar-corner { background: var(--papel); }
.cabecera { background: #fff; }
.hero { position: relative; }
.resenas { background: #fff; padding-inline: 32px; border-radius: 16px; margin-block: 35px; border: 1px solid var(--linea); }
.cierre-inicio { padding-inline: 28px; border-radius: 12px; background: radial-gradient(ellipse at 100% 0%, #3659b466, transparent 65%), var(--azul-oscuro); color: #fff; margin-bottom: 35px; }
.intro-pagina { border-bottom: 3px solid var(--azul); }
.catalogo { box-shadow: 0 8px 28px #14265b0c; }
h1,h2,h3 { font-family: system-ui, sans-serif; }
h1,h2 { font-weight: 750; letter-spacing: -.055em; }
h1 { font-size: clamp(44px, 5.7vw, 80px); }
h2 { font-size: clamp(30px, 3.3vw, 43px); }
.cabecera { border-bottom: 1px solid var(--linea); }
.cabecera .logo { width: 220px; }
.cabecera nav a { padding-block: 10px; border-bottom: 2px solid transparent; }
.cabecera nav a[aria-current=page] { color: var(--azul); border-bottom-color: var(--rojo); font-weight: 700; }
.boton { background: var(--azul); border-color: var(--azul); color: #fff; border-radius: 6px; }
.boton:hover { background: var(--azul-oscuro); border-color: var(--azul-oscuro); }
.boton.secundario:hover { color: #fff; }
.boton.pequeno { background: var(--rojo); border-color: var(--rojo); }
.boton.pequeno:hover { background: #ad1520; }
.etiqueta { color: var(--rojo); font-size: 11px; }
.enlace { color: var(--azul); font-weight: 600; }
.hero { grid-template-columns: 1fr 1.15fr; gap: 40px; min-height: 620px; padding-block: 60px; }
.hero h1 { line-height: 1.02; }
.hero h1 em { display: inline-block; position: relative; }
.hero h1 em:after { content: ''; position: absolute; left: 0; right: 0; bottom: -9px; height: 5px; background: var(--rojo); transform: rotate(-3deg); }
.hero .bajada { margin-top: 34px; }
.podio-fotos { position: relative; display: grid; grid-template-columns: 1fr 1.1fr 1fr; align-items: end; gap: 12px; padding: 25px 0 55px; }
.podio-fotos:before { content: ''; position: absolute; inset: 12% -10px 8%; border-radius: 50%; z-index: -1; }
.podio-foto { background: #fff; border: 1px solid var(--linea); box-shadow: 0 18px 35px #14265b14; padding: 12px 12px 0; border-radius: 8px; overflow: hidden; }
.podio-foto img { width: 100%; height: 255px; object-fit: contain; }
.podio-foto span { display: block; border-top: 1px solid var(--linea); margin-top: 12px; padding: 15px 0; text-align: center; font-size: 11px; font-weight: 650; color: var(--azul); }
.podio-izq { transform: translateY(18px) rotate(-5deg); }
.podio-centro { transform: translateY(-30px); border-bottom: 4px solid var(--rojo); }
.podio-centro img { height: 345px; }
.podio-der { transform: translateY(28px) rotate(5deg); }
.firma-podio { position: absolute; bottom: 0; left: 0; right: 0; text-align: center; color: var(--muted); letter-spacing: .17em; font-size: 9px; }
.franja { background: var(--azul); color: #fff; border: 0; }
.seccion { padding-block: 65px; }
.producto { box-shadow: 0 5px 20px #14265b07; }
.foto-producto { background: #f2f4f9; }
.producto-info .etiqueta { color: var(--rojo); }
.producto-info h3 { color: var(--azul-oscuro); font-weight: 650; }
.producto-info .enlace { color: var(--azul); }
.destacado:hover { border-color: var(--azul); }
.filtros button[aria-pressed=true],.vistas button[aria-pressed=true] { color: #fff; }
.papel em,.papel .etiqueta { color: var(--azul); }
.papel .micro { color: var(--muted); }
.catalogo { background: #f5f7fc; border-radius: 8px; margin-bottom: 24px; }
.catalogo img { object-fit: contain; background: #fff; border: 1px solid var(--linea); }
.catalogo h3 { font-family: system-ui,sans-serif; font-weight: 700; }
.catalogo h2 { font-size: 32px; }
.portada-pdf { height: 270px; display: grid; place-items: center; font-size: 64px; font-weight: 800; color: var(--azul); background: #e6ecfa; border-bottom: 6px solid var(--rojo); }
.citas figure { border-top-color: var(--rojo); }
.citas blockquote { color: var(--texto); }
.citas figcaption { color: var(--azul); font-weight: 600; }
.contacto p { color: var(--muted); }
.contacto .etiqueta { color: var(--rojo); }
.flotante { display: grid; place-items: center; width: 58px; height: 58px; padding: 13px; border-radius: 50%; background: #168b48; border: 2px solid #fff; color: #fff; box-shadow: 0 5px 20px #14265b33; }
.flotante svg { width: 29px; height: 29px; fill: currentColor; }
.flotante:hover { background: #116e39; }
.visita-local { display: grid; grid-template-columns: 1.45fr 1fr; gap: 0; align-items: center; margin-block: 40px; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--linea); box-shadow: 0 10px 35px #14265b0c; }
.vitrina-local { margin: 0; background: var(--azul-oscuro); }
.vitrina-local img { width: 100%; height: auto; object-fit: contain; }
.vitrina-local figcaption { color: #fff; padding: 20px 24px; font-size: 13px; line-height: 1.6; }
.direccion-local { padding: 36px; }
.direccion-local p { line-height: 1.8; }
.mapa-pendiente { display: block; margin-top: 20px; }
.canales-contacto { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 20px; margin-block: 35px 70px; }
.canal { display: flex; flex-direction: column; align-items: flex-start; padding: 26px; background: #fff; border: 1px solid var(--linea); border-top: 3px solid var(--azul); border-radius: 8px; min-width: 0; }
a.canal:hover { border-top-color: var(--rojo); box-shadow: 0 8px 25px #14265b12; }
.canal h2 { font-size: 22px; letter-spacing: -.03em; }
.canal p { font-size: 13px; line-height: 1.7; color: var(--muted); }
.canal .enlace { margin-top: auto; }
.canal .etiqueta { margin-top: 20px; }
.icono-canal { display: grid; place-items: center; width: 44px; height: 44px; color: var(--azul); background: #edf2ff; border-radius: 12px; font-size: 25px; font-weight: 700; }
.icono-canal svg { width: 24px; height: 24px; }
.icono-canal svg[viewBox="0 0 448 512"] { fill: currentColor; }
footer { flex-wrap: wrap; color: var(--muted); }
footer nav { line-height: 2; }
footer a:hover { color: var(--azul); }
dialog { background: #fff; border-radius: 8px; }
dialog::backdrop { background: #0e1c40cc; }
dialog>img { background: #f2f4f9; }
.cerrar { background: #fff; }
.intro-pagina { padding-top: 65px; padding-bottom: 20px; }
.intro-pagina h1 { font-size: clamp(40px, 4.5vw, 62px); }
.intro-pagina .bajada { max-width: 670px; }
.intro-pagina + .seccion { padding-top: 35px; }
.banda-catalogo { background: var(--azul-oscuro); color: #fff; }
.banda-interior { display: grid; grid-template-columns: .8fr 1.2fr; gap: 75px; align-items: center; padding-block: 50px; }
.banda-interior>img { height: 290px; width: 100%; object-fit: contain; transform: rotate(-4deg); }
.banda-interior .etiqueta { color: #a9c0ff; }
.banda-interior p { line-height: 1.8; max-width: 460px; }
.banda-interior .boton { background: #fff; color: var(--azul); border-color: #fff; }
.cierre-inicio { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 28px; border: 1px solid #30477c; border-left: 3px solid var(--rojo); box-shadow: 0 8px 24px #14265b12; }
.cierre-inicio h2 { font-size: clamp(23px, 2.2vw, 27px); margin-bottom: 10px; color: #fff; }
.cierre-inicio h2 em { color: #adcaff; }
.cierre-inicio p { color: #d8e2f7; line-height: 1.6; margin-bottom: 0; }
.cierre-inicio .etiqueta { margin-bottom: 8px; color: #b7c9ee; }
.cierre-inicio > .boton { flex-shrink: 0; }
.cierre-inicio > .boton:focus-visible { outline-color: #fff; }
@media(max-width:900px) {
  .cabecera nav { gap: 15px; font-size: 12px; }
  .direccion-local { padding: 24px; }
  .cabecera .logo { width: 180px; }
  .hero { gap: 25px; }
  .podio-foto { padding-inline: 7px; }
  .podio-foto img { height: 205px; }
  .podio-centro img { height: 275px; }
  .podio-foto span { font-size: 9px; }
}
@media(max-width:640px) {
  .visita-local { grid-template-columns: 1fr; margin-block: 25px; }
  .canales-contacto { grid-template-columns: 1fr; }
  .resenas { padding-inline: 20px; }
  .cabecera nav { gap: 10px; font-size: 11px; }
  .cierre-inicio { padding-inline: 20px; }
  .cabecera .logo { width: 185px; }
  .hero { grid-template-columns: 1fr; gap: 30px; padding-block: 36px; min-height: 0; }
  .hero h1 { font-size: 62px; }
  .hero .bajada { margin-top: 28px; }
  .podio-fotos { gap: 8px; padding-bottom: 45px; }
  .podio-foto img { height: 190px; }
  .podio-centro img { height: 250px; }
  .podio-foto span { font-size: 8px; padding-block: 12px; }
  .seccion { padding-block: 45px; }
  .intro-pagina { padding-top: 35px; }
  .banda-interior { grid-template-columns: 1fr; gap: 30px; padding-block: 35px; }
  .banda-interior>img { height: 240px; }
  .cierre-inicio { display: block; }
  .cierre-inicio .boton { margin-top: 15px; }
}
