/* ============================================================
   LM Eléctricos — hoja de estilos del sitio
   Manual de Identidad Visual v1.0 (jul 2024)
   Colores: Azul Eléctrico #2A7DE1 · Gris Profundo #243746
            Azul Real #001F60 · Amarillo Oro #FFC600 · Gris Delfín #DAE1E9
   Tipografía: Anton (grandes títulos) · Kreadon (todo lo demás)
   Figura maestra: rectángulo con esquinas a 45° (una o dos)
   ============================================================ */

@font-face { font-family: "Anton"; src: url("../fonts/Anton-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Kreadon"; src: url("../fonts/Kreadon-Light.woff2") format("woff2");   font-weight: 300; font-display: swap; }
@font-face { font-family: "Kreadon"; src: url("../fonts/Kreadon-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Kreadon"; src: url("../fonts/Kreadon-Medium.woff2") format("woff2");  font-weight: 500; font-display: swap; }
@font-face { font-family: "Kreadon"; src: url("../fonts/Kreadon-Demi.woff2") format("woff2");    font-weight: 600; font-display: swap; }
@font-face { font-family: "Kreadon"; src: url("../fonts/Kreadon-Bold.woff2") format("woff2");    font-weight: 700; font-display: swap; }

:root {
  --azul: #2A7DE1;
  --azul-oscuro: #1F64B8;      /* solo hover, derivado del azul eléctrico */
  --azul-real: #001F60;
  --gris: #243746;
  --amarillo: #FFC600;
  --delfin: #DAE1E9;
  --delfin-claro: #EEF2F6;
  --blanco: #FFFFFF;
  --negro: #000000;

  --f-titulo: "Anton", "Arial Narrow", Impact, sans-serif;
  --f-texto: "Kreadon", "Segoe UI", Roboto, Arial, sans-serif;

  --ancho: 1180px;
  --gutter: 20px;
  --chaflan: 28px;             /* tamaño del corte a 45° de la figura maestra */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-texto);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.5;
  color: var(--gris);
  background: var(--blanco);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--azul); text-decoration: none; }
a:hover { color: var(--azul-oscuro); }
.contenedor { max-width: var(--ancho); margin: 0 auto; padding: 0 var(--gutter); }

/* ---- Tipografía según manual ---- */
h1, .t-anton { font-family: var(--f-titulo); font-weight: 400; text-transform: uppercase; letter-spacing: 0; line-height: 1.05; margin: 0; }
h2 { font-family: var(--f-titulo); font-weight: 400; text-transform: uppercase; font-size: clamp(30px, 4.2vw, 46px); line-height: 1.05; margin: 0 0 14px; color: var(--gris); }
h3 { font-family: var(--f-texto); font-weight: 700; font-size: 22px; line-height: 1.15; margin: 0 0 8px; color: var(--gris); }
h4 { font-family: var(--f-texto); font-weight: 600; font-size: 17px; line-height: 1.1; margin: 0 0 6px; }
p { margin: 0 0 14px; }
.sobretitulo {
  display: inline-block; font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--azul); margin-bottom: 10px;
}
.intro { font-size: 18px; max-width: 680px; color: #3F5262; }
.centro { text-align: center; }
.centro .intro { margin-left: auto; margin-right: auto; }

/* ---- Figura maestra (esquinas a 45°) ---- */
.fm {      /* dos esquinas opuestas: superior derecha e inferior izquierda */
  clip-path: polygon(0 0, calc(100% - var(--chaflan)) 0, 100% var(--chaflan), 100% 100%, var(--chaflan) 100%, 0 calc(100% - var(--chaflan)));
}
.fm-1 {    /* una esquina: superior derecha */
  clip-path: polygon(0 0, calc(100% - var(--chaflan)) 0, 100% var(--chaflan), 100% 100%, 0 100%);
}
.fm-xs { --chaflan: 14px; }
.fm-sm { --chaflan: 20px; }
.fm-lg { --chaflan: 44px; }

/* ---- Botones ---- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-texto); font-weight: 700; font-size: 16px; line-height: 1;
  padding: 16px 26px; border: 0; cursor: pointer; white-space: nowrap;
  transition: background .15s, color .15s, transform .15s;
  --chaflan: 14px;
  clip-path: polygon(0 0, calc(100% - var(--chaflan)) 0, 100% var(--chaflan), 100% 100%, var(--chaflan) 100%, 0 calc(100% - var(--chaflan)));
}
.btn:active { transform: translateY(1px); }
.btn-azul { background: var(--azul); color: var(--blanco); }
.btn-azul:hover { background: var(--azul-oscuro); color: var(--blanco); }
.btn-amarillo { background: var(--amarillo); color: var(--gris); }
.btn-amarillo:hover { background: #E6B200; color: var(--gris); }
.btn-gris { background: var(--gris); color: var(--blanco); }
.btn-gris:hover { background: var(--azul-real); color: var(--blanco); }
.btn-borde { background: transparent; color: var(--gris); box-shadow: inset 0 0 0 2px var(--gris); }
.btn-borde:hover { background: var(--gris); color: var(--blanco); }
.btn-borde-blanco { background: transparent; color: var(--blanco); box-shadow: inset 0 0 0 2px var(--blanco); }
.btn-borde-blanco:hover { background: var(--blanco); color: var(--gris); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ============ Barra superior ============ */
.barra-top {
  background: var(--gris); color: var(--delfin); font-size: 14px; font-weight: 500;
}
.barra-top .contenedor { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 14px; }
.barra-top a { color: var(--blanco); }
.barra-top a:hover { color: var(--amarillo); }
.barra-top .datos { display: flex; gap: 22px; flex-wrap: wrap; }
.barra-top .datos span { display: inline-flex; align-items: center; gap: 7px; }
.barra-top svg { width: 15px; height: 15px; }

/* ============ Header ============ */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--blanco); border-bottom: 1px solid var(--delfin);
}
.header .contenedor { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 20px; }
.logo img { height: 48px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { font-weight: 600; font-size: 16px; color: var(--gris); padding: 10px 14px; border-bottom: 3px solid transparent; }
.nav a:hover, .nav a.activo { color: var(--azul); border-bottom-color: var(--azul); }
.nav .btn { margin-left: 10px; padding: 13px 22px; --chaflan: 11px; }
.hamburguesa { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.hamburguesa span { display: block; width: 26px; height: 3px; background: var(--gris); margin: 5px 0; transition: .2s; }

/* ============ Hero ============ */
.hero {
  position: relative; overflow: hidden;
  background: var(--azul-real); color: var(--blanco);
}
.hero .video-fondo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero .velo { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,31,96,.78) 0%, rgba(0,31,96,.55) 48%, rgba(0,31,96,.18) 100%); z-index: 1; }
.hero .patron {
  position: absolute; inset: 0;
  background-image: url("../img/patron-fm.svg");
  background-size: 120px 120px;
  opacity: 0; z-index: 2;
  mask-image: linear-gradient(90deg, transparent 0 45%, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0 45%, #000 100%);
}
.hero .contenedor {
  position: relative; z-index: 3; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
  padding-top: 72px; padding-bottom: 72px; min-height: 560px;
}
.hero .etiqueta {
  display: inline-flex; align-items: center; gap: 8px; background: var(--azul); color: var(--blanco);
  font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; padding: 8px 14px; margin-bottom: 22px;
}
.hero .etiqueta::before { content: ""; width: 8px; height: 8px; background: var(--amarillo); }
.hero h1 { font-size: clamp(38px, 6vw, 72px); color: var(--blanco); text-shadow: 0 2px 18px rgba(0,0,0,.45); }
.hero h1 em { font-style: normal; color: var(--amarillo); }
.hero .bajada { font-size: 19px; font-weight: 400; max-width: 560px; margin: 22px 0 32px; color: #F2F6FB; text-shadow: 0 1px 10px rgba(0,0,0,.5); }
.hero .acciones { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .foto { position: relative; }
.hero .foto img { width: 100%; max-height: 520px; object-fit: contain; object-position: center; }
.hero .sello {
  position: absolute; right: -8px; bottom: -14px; background: var(--amarillo); color: var(--gris);
  padding: 14px 18px; font-weight: 700; line-height: 1.15; font-size: 15px; max-width: 220px;
}
.hero .sello strong { display: block; font-family: var(--f-titulo); font-weight: 400; font-size: 34px; text-transform: uppercase; }

/* Franja de datos */
.franja { background: var(--azul); color: var(--blanco); }
.franja .contenedor { display: grid; grid-template-columns: repeat(4, 1fr); }
.franja .dato { padding: 22px 18px; border-left: 1px solid rgba(255,255,255,.22); }
.franja .dato:first-child { border-left: 0; }
.franja .dato b { display: block; font-family: var(--f-titulo); font-weight: 400; font-size: 34px; line-height: 1; margin-bottom: 4px; }
.franja .dato span { font-size: 14px; font-weight: 500; opacity: .92; }

/* ============ Secciones genéricas ============ */
.seccion { padding: 84px 0; }
.seccion-gris { background: var(--delfin-claro); }
.seccion-oscura { background: var(--gris); color: var(--blanco); }
.seccion-oscura h2, .seccion-oscura h3 { color: var(--blanco); }
.seccion-oscura .intro { color: var(--delfin); }
.seccion-oscura .sobretitulo { color: var(--amarillo); }
.cabecera { margin-bottom: 44px; }

/* Tableros */
.doble { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.doble img { width: 100%; aspect-ratio: 4/3.2; object-fit: cover; }
.lista-check { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 10px; }
.lista-check li { position: relative; padding-left: 32px; font-weight: 500; }
.lista-check li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; background: var(--azul);
  clip-path: polygon(0 0, 70% 0, 100% 30%, 100% 100%, 0 100%);
}
.lista-check li::after {
  content: ""; position: absolute; left: 6px; top: 7px; width: 5px; height: 9px;
  border: solid var(--blanco); border-width: 0 2px 2px 0; transform: rotate(45deg);
}

/* Tarjetas de materiales */
.rejilla { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tarjeta {
  background: var(--blanco); padding: 28px 24px 24px; display: flex; flex-direction: column; gap: 10px;
  border-top: 4px solid var(--azul); transition: transform .15s, box-shadow .15s;
}
.tarjeta:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(36,55,70,.10); }
.tarjeta .icono { width: 52px; height: 52px; background: var(--delfin-claro); color: var(--azul); display: grid; place-items: center; }
.tarjeta .icono svg { width: 26px; height: 26px; }
.tarjeta p { font-size: 15px; color: #3F5262; margin: 0; flex: 1; }
.tarjeta a.mas { font-weight: 700; font-size: 15px; }
.tarjeta a.mas::after { content: " →"; }

/* Quiénes somos */
.somos { position: relative; }
.somos .foto-equipo { width: 100%; aspect-ratio: 16/8; object-fit: cover; }
.somos .texto { max-width: 820px; margin: 0 auto; }
.somos .texto strong { color: var(--amarillo); font-weight: 600; }

/* Marcas */
.marcas { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.marcas span {
  background: var(--blanco); border: 1px solid var(--delfin); padding: 12px 20px;
  font-weight: 700; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--gris);
}

/* Por qué elegirnos */
.pilares { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pilar { background: var(--blanco); padding: 34px 28px; border-left: 4px solid var(--amarillo); }
.pilar .num { font-family: var(--f-titulo); font-size: 40px; color: var(--delfin); line-height: 1; margin-bottom: 14px; }
.pilar p { color: #3F5262; font-size: 16px; margin: 0; }

/* Reseñas */
.resenas { display: grid; grid-template-columns: 1.1fr 2fr; gap: 24px; align-items: start; }
.google-card { background: var(--blanco); padding: 30px; }
.google-card .estrellas { color: var(--amarillo); font-size: 26px; letter-spacing: 2px; line-height: 1; }
.google-card .nota { font-family: var(--f-titulo); font-size: 56px; line-height: 1; margin: 8px 0 4px; }
.google-card small { display: block; color: #5B6F80; font-weight: 500; margin-bottom: 18px; }
.cuotas { display: grid; gap: 14px; }
.cuota { background: var(--blanco); padding: 22px 24px; border-left: 4px solid var(--azul); }
.cuota p { margin: 0 0 10px; font-size: 16px; }
.cuota footer { font-size: 14px; font-weight: 600; color: #5B6F80; }
.cuota footer b { color: var(--gris); font-weight: 700; }

/* Formulario de cotización */
.cotizar .contenedor { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: start; }
.cotizar .lado h2 { color: var(--blanco); }
.cotizar .lado ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.cotizar .lado li { display: flex; gap: 12px; align-items: flex-start; color: var(--delfin); }
.cotizar .lado li svg { width: 22px; height: 22px; flex: none; color: var(--amarillo); margin-top: 2px; }
.cotizar .lado li a { color: var(--blanco); font-weight: 600; }
.cotizar .lado li a:hover { color: var(--amarillo); }
.form { background: var(--blanco); color: var(--gris); padding: 36px; }
.form .fila { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: block; font-weight: 600; font-size: 14px; margin: 0 0 6px; }
.form .campo { margin-bottom: 16px; }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; font-size: 16px; padding: 13px 14px; border: 1.5px solid var(--delfin); background: var(--blanco); color: var(--gris); border-radius: 0;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-color: var(--azul); box-shadow: 0 0 0 3px rgba(42,125,225,.18); }
.form textarea { min-height: 120px; resize: vertical; }
.form .consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #3F5262; margin-bottom: 18px; }
.form .consent input { width: auto; margin-top: 3px; }
.form .btn { width: 100%; justify-content: center; }
.form .nota { font-size: 13px; color: #5B6F80; margin: 12px 0 0; }

/* Ubicación */
.ubicacion { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ubicacion .bloque { background: var(--blanco); padding: 30px; }
.ubicacion .bloque h3 { margin-bottom: 14px; }
.ubicacion dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; font-size: 16px; }
.ubicacion dt { font-weight: 700; }
.ubicacion dd { margin: 0; }
.ubicacion .mapa { aspect-ratio: 4/3; width: 100%; border: 0; background: var(--delfin); }
.ubicacion .aviso { margin-top: 18px; background: var(--delfin-claro); padding: 14px 16px; font-size: 15px; border-left: 4px solid var(--amarillo); }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { background: var(--blanco); border: 1px solid var(--delfin); margin-bottom: 10px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 54px 18px 22px; font-weight: 700; font-size: 17px; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; display: grid; place-items: center; background: var(--delfin-claro); color: var(--azul); font-weight: 700; font-size: 20px;
}
.faq details[open] summary::after { content: "–"; background: var(--azul); color: var(--blanco); }
.faq .resp { padding: 0 22px 20px; color: #3F5262; font-size: 16px; }

/* ============ Footer ============ */
.footer { background: var(--negro); color: var(--delfin); padding: 64px 0 0; }
.footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.footer img { height: 54px; width: auto; margin-bottom: 18px; }
.footer h4 { color: var(--blanco); font-size: 15px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 15px; }
.footer a { color: var(--delfin); }
.footer a:hover { color: var(--amarillo); }
.footer .legal { font-size: 14px; line-height: 1.6; }
.footer .borde-patron { margin-top: 48px; height: 6px; background: linear-gradient(90deg, var(--azul) 0 40%, var(--amarillo) 40% 55%, var(--azul-real) 55% 75%, var(--delfin) 75%); }
.footer .copy { background: var(--gris); color: var(--delfin); font-size: 14px; padding: 16px 0; }
.footer .copy .contenedor { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* WhatsApp flotante */
.wa {
  position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 60px; height: 60px; background: #25D366;
  display: grid; place-items: center; color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.25);
  border-radius: 50%;
}
.wa svg { width: 30px; height: 30px; }

/* ============ Responsive ============ */
@media (max-width: 980px) {
  .hero .contenedor { grid-template-columns: 1fr; padding-top: 52px; padding-bottom: 56px; }
  .hero .foto { order: -1; }
  .hero .sello { right: 8px; bottom: -10px; }
  .franja .contenedor { grid-template-columns: repeat(2, 1fr); }
  .franja .dato:nth-child(3) { border-left: 0; }
  .rejilla { grid-template-columns: repeat(2, 1fr); }
  .pilares { grid-template-columns: 1fr; }
  .doble, .resenas, .ubicacion, .cotizar .contenedor { grid-template-columns: 1fr; }
  .footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .seccion { padding: 60px 0; }
  .barra-top .datos span:nth-child(2), .barra-top .datos span:nth-child(3), .barra-top .datos:last-child { display: none; }
  .barra-top .contenedor { justify-content: center; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--blanco); flex-direction: column; align-items: stretch; padding: 10px var(--gutter) 18px; border-bottom: 1px solid var(--delfin); box-shadow: 0 16px 30px rgba(36,55,70,.12); }
  .nav.abierta { display: flex; }
  .nav a { padding: 12px 6px; border-bottom: 1px solid var(--delfin-claro); }
  .nav .btn { margin: 14px 0 0; justify-content: center; }
  .hamburguesa { display: block; }
  .rejilla { grid-template-columns: 1fr; }
  .form { padding: 24px 18px; }
  .form .fila { grid-template-columns: 1fr; gap: 0; }
  .footer .cols { grid-template-columns: 1fr; }
  .hero .sello { position: static; margin-top: 14px; max-width: none; display: flex; align-items: center; gap: 14px; }
  .hero .sello strong { font-size: 28px; }
}

/* ============ Páginas interiores ============ */
.hero-int {
  position: relative; overflow: hidden; background: var(--azul-real); color: var(--blanco);
}
.hero-int .fondo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.hero-int .velo { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,31,96,.95) 0%, rgba(0,31,96,.75) 55%, rgba(0,31,96,.35) 100%); }
.hero-int .contenedor { position: relative; padding: 64px var(--gutter) 60px; max-width: var(--ancho); }
.hero-int .miga { font-size: 14px; font-weight: 500; color: var(--delfin); margin-bottom: 18px; }
.hero-int .miga a { color: var(--delfin); } .hero-int .miga a:hover { color: var(--amarillo); }
.hero-int h1 { font-size: clamp(36px, 5.2vw, 64px); color: var(--blanco); max-width: 820px; text-shadow: 0 2px 18px rgba(0,0,0,.45); }
.hero-int h1 em { font-style: normal; color: var(--amarillo); }
.hero-int .bajada { font-size: 19px; max-width: 640px; margin: 18px 0 28px; color: #F2F6FB; text-shadow: 0 1px 10px rgba(0,0,0,.5); }
.hero-int .acciones { display: flex; gap: 14px; flex-wrap: wrap; }

/* Tipos de tablero */
.tipos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tipo { background: var(--blanco); display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.tipo:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(36,55,70,.10); }
.tipo .img { aspect-ratio: 4/3; background: var(--delfin); overflow: hidden; position: relative; }
.tipo .img img { width: 100%; height: 100%; object-fit: cover; }
.tipo .img .pendiente { position: absolute; inset: 0; display: grid; place-items: center; color: var(--gris-medio, #4A5A6B); font-weight: 600; font-size: 14px; text-align: center; padding: 20px; background: repeating-linear-gradient(45deg, var(--delfin) 0 12px, #CFD8E2 12px 24px); }
.tipo .cuerpo { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tipo .cuerpo p { font-size: 15px; color: #3F5262; margin: 0; flex: 1; }
.tipo .specs { list-style: none; padding: 0; margin: 6px 0 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.tipo .specs li { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; background: var(--delfin-claro); color: var(--gris); padding: 5px 9px; }
.tipo a.mas { font-weight: 700; font-size: 15px; } .tipo a.mas::after { content: " →"; }

/* Proceso */
.proceso { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: paso; }
.paso { padding: 28px 24px 28px 0; position: relative; counter-increment: paso; }
.paso::before { content: "0" counter(paso); font-family: var(--f-titulo); font-size: 44px; line-height: 1; color: var(--azul); display: block; margin-bottom: 10px; }
.paso::after { content: ""; position: absolute; left: 0; top: 0; width: calc(100% - 24px); height: 4px; background: var(--delfin); }
.paso:first-child::after { background: var(--amarillo); }
.paso h3 { font-size: 19px; }
.paso p { font-size: 15px; color: #3F5262; margin: 0; }

/* Galería */
.galeria { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.galeria figure { margin: 0; aspect-ratio: 1; background: var(--delfin); overflow: hidden; position: relative; }
.galeria figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.galeria figure:hover img { transform: scale(1.04); }
.galeria figure:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.galeria .pendiente { position: absolute; inset: 0; display: grid; place-items: center; color: #4A5A6B; font-weight: 600; font-size: 13px; text-align: center; padding: 16px; background: repeating-linear-gradient(45deg, var(--delfin) 0 12px, #CFD8E2 12px 24px); }

/* Normativa */
.normas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.norma { background: var(--blanco); padding: 28px; border-top: 4px solid var(--amarillo); }
.norma b { display: block; font-family: var(--f-titulo); font-size: 28px; color: var(--gris); margin-bottom: 8px; letter-spacing: .02em; }
.norma p { font-size: 15px; color: #3F5262; margin: 0; }

/* CTA banda */
.cta-banda { background: var(--azul); color: var(--blanco); }
.cta-banda .contenedor { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 44px; padding-bottom: 44px; flex-wrap: wrap; }
.cta-banda h2 { color: var(--blanco); margin: 0; font-size: clamp(26px, 3.4vw, 38px); }
.cta-banda p { margin: 6px 0 0; color: #E3EDFA; }

@media (max-width: 980px) {
  .tipos, .normas { grid-template-columns: 1fr 1fr; }
  .proceso { grid-template-columns: 1fr 1fr; }
  .galeria { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .tipos, .normas, .proceso { grid-template-columns: 1fr; }
  .paso { padding-right: 0; } .paso::after { width: 100%; }
}

/* Texto largo (páginas interiores) */
.texto-largo p { font-size: 17px; color: #3F5262; margin: 0 0 18px; line-height: 1.65; }
.texto-largo p:last-child { margin-bottom: 0; }
.norma b a { color: inherit; text-decoration: none; }
.norma b a:hover { color: var(--azul); }
