/* COSUMAG, C.A. — hoja de estilos propia.
   Composición inspirada en la plantilla «Hadiman» (cabecera
   transparente sobre foto, etiquetas rosadas, bloques marinos, tarjetas con
   foto inclinadas, pestañas, proceso en círculos). Código e iconos propios.
   Paleta provisional hasta recibir el manual de marca. */

:root {
  --azul: #171c38;          /* marino de marca: fondos con texto blanco */
  --azul-osc: #0f1329;
  --azul-2: #20264a;
  --cian: #2b7fd4;          /* acento decorativo (azul del logo) */
  --accion: #1f6fc5;        /* azul del logo, ajustado para texto blanco (5:1) */
  --accion-hover: #17589e;
  --rojo-texto: #175ba8;    /* azul para texto pequeño sobre claro */
  --rosa: #e6f0fb;
  --tinta: #202020;
  --texto: #5b5e6b;
  --gris: #f7f7f7;
  --borde: #e7e7ec;
  --negro: #171c38;
  --negro-2: #20264a;
  --sombra: 0 10px 30px rgba(23, 28, 56, 0.08);
  --titulos: 'Oxygen', system-ui, sans-serif;
  --cuerpo: 'Oxygen', system-ui, sans-serif;
  --condensada: 'Oxygen', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1rem/1.7 var(--cuerpo); color: var(--texto); background: #fff; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--azul); }
h1, h2, h3 { font-family: var(--titulos); color: var(--tinta); line-height: 1.25; margin: 0; font-weight: 700; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
:focus-visible { outline: 3px solid var(--accion); outline-offset: 3px; }
main:focus { outline: none; }
.visualmente-oculto {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.saltar { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--accion); color: #fff; padding: 0.75rem 1.25rem; text-decoration: none; }
.saltar:focus { top: 1rem; }
.envoltura { width: 100%; max-width: 75rem; margin: 0 auto; padding: 0 1.25rem; }

/* ---------- Botones, etiquetas, enlaces ---------- */
.boton {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 3rem; padding: 0.8rem 1.75rem;
  font: 700 1rem/1.2 var(--titulos); color: #fff; background: var(--accion); border: 2px solid var(--accion);
  text-decoration: none; cursor: pointer; transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.boton:hover { background: var(--accion-hover); border-color: var(--accion-hover); }
.boton--grande { min-height: 3.5rem; padding: 1rem 2rem; }
.boton--bloque { width: 100%; }
.boton--claro, .boton--blanco { background: transparent; border-color: #fff; color: #fff; }
.boton--claro:hover, .boton--blanco:hover { background: #fff; border-color: #fff; color: var(--azul); }
.boton--contorno { background: transparent; color: var(--azul); border-color: var(--azul); }
.boton--contorno:hover { background: var(--azul); border-color: var(--azul); color: #fff; }
.boton--sm { min-height: 2.5rem; padding: 0.55rem 1.2rem; font-size: 0.875rem; }
.acciones { display: flex; flex-wrap: wrap; gap: 1rem; }

.etiqueta {
  display: inline-block; margin: 0 0 1rem; padding: 0.45rem 0.95rem;
  font: 700 0.8125rem/1.3 var(--titulos); text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--rojo-texto); background: var(--rosa);
}
.etiqueta--clara { color: #fff; background: rgba(31, 111, 197, 0.9); }

.enlace-flecha { font-weight: 700; color: var(--azul); text-decoration: underline; text-underline-offset: 0.3em; }
.enlace-flecha::after { content: ' ↗'; }
.enlace-flecha:hover { color: var(--accion); }
.enlace-flecha--claro { color: #fff; }
.enlace-flecha--claro:hover { color: #fff; text-decoration-color: var(--accion); }

.titulo-grande { font: 700 clamp(1.9rem, 3.6vw, 2.75rem)/1.2 var(--titulos); color: var(--tinta); }
.titulo-grande--claro { color: #fff; }

/* ---------- Cabecera ---------- */
.cabecera { position: absolute; top: 0; left: 0; right: 0; z-index: 20; color: #fff; }
.barra-sup { background: var(--azul); font-size: 0.875rem; }
.barra-sup__fila { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 2.75rem; }
.barra-sup__datos { display: flex; flex-wrap: wrap; gap: 0.3rem 2rem; margin: 0; padding: 0; list-style: none; }
.barra-sup__datos li { display: flex; align-items: center; gap: 0.5rem; }
.barra-sup__datos .icono { width: 1rem; height: 1rem; color: #fff; }
.barra-sup a { color: #fff; text-decoration: none; }
.barra-sup a:hover { text-decoration: underline; }
.barra-sup__rif { margin: 0; color: rgba(255, 255, 255, 0.85); }

.cabecera > .envoltura { max-width: none; padding: 0 2rem; background: rgba(23, 28, 56, 0.25); border-bottom: 1px solid rgba(255, 255, 255, 0.15); backdrop-filter: blur(2px); }
.barra-nav { position: relative; display: flex; align-items: center; gap: 2rem; min-height: 5.25rem; max-width: 90rem; margin: 0 auto; }
.marca { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; flex-shrink: 0; }
.marca__simbolo { position: relative; width: 2.5rem; height: 2.5rem; background: var(--accion); transform: rotate(45deg) scale(0.85); }
.marca__simbolo::before { content: ''; position: absolute; inset: 0.55rem; border: 3px solid #fff; }
.marca__logo { width: auto; height: 2.75rem; flex-shrink: 0; }
.marca__texto { display: flex; align-items: baseline; gap: 0.35rem; line-height: 1; }
.marca__nombre { font: 700 2.4rem/1 var(--titulos); color: #fff; letter-spacing: -0.02em; }
.marca__ca { font: 700 0.75rem/1 var(--titulos); color: rgba(255, 255, 255, 0.7); letter-spacing: 0.05em; }
.marca--clara .marca__nombre { color: #fff; }
.pie .marca__nombre { color: var(--azul); }
.pie .marca__ca { color: var(--texto); }

.menu { display: flex; align-items: center; flex: 1; gap: 1.5rem; }
.menu__lista { display: flex; align-items: center; gap: 0.25rem; margin: 0 auto; padding: 0; list-style: none; }
.menu__lista a { position: relative; display: block; padding: 0.5rem 0.8rem; font: 400 1rem/1.5 var(--titulos); color: #fff; text-decoration: none; white-space: nowrap; }
.menu__lista a::after { content: ''; position: absolute; left: 0.8rem; right: 0.8rem; bottom: 0.2rem; height: 2px; background: var(--accion); transform: scaleX(0); transition: transform 0.2s; }
.menu__lista a:hover::after, .menu__lista a[aria-current='page']::after { transform: scaleX(1); }
.menu__lista a[aria-current='page'] { font-weight: 700; }
.menu__cta {
  display: inline-flex; align-items: center; min-height: 3rem; padding: 0 1.5rem;
  font: 700 0.9375rem/1 var(--titulos); color: #fff; background: var(--accion); text-decoration: none; white-space: nowrap; transition: background 0.2s;
}
.menu__cta:hover { background: var(--accion-hover); }
.cabecera__tel { display: flex; align-items: center; gap: 0.75rem; color: #fff; text-decoration: none; white-space: nowrap; }
.cabecera__tel-icono { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; color: var(--accion); background: #fff; }
.cabecera__tel-icono .icono { width: 1.25rem; height: 1.25rem; }
.cabecera__tel-rotulo { display: block; font-size: 0.8125rem; color: rgba(255, 255, 255, 0.8); }
.cabecera__tel-numero { display: block; font-weight: 700; }

.menu-boton {
  display: inline-flex; align-items: center; gap: 0.6rem; margin-left: auto; min-height: 2.75rem; padding: 0 0.9rem;
  font: 700 0.875rem/1 var(--titulos); color: #fff; background: transparent; border: 1px solid rgba(255, 255, 255, 0.4); cursor: pointer;
}
.menu-boton[hidden] { display: none; }
.menu-boton__icono, .menu-boton__icono::before, .menu-boton__icono::after { position: relative; display: block; width: 1.25rem; height: 2px; background: currentColor; transition: transform 0.2s; }
.menu-boton__icono::before, .menu-boton__icono::after { content: ''; position: absolute; left: 0; }
.menu-boton__icono::before { top: -6px; }
.menu-boton__icono::after { top: 6px; }
.menu-boton[aria-expanded='true'] .menu-boton__icono { background: transparent; }
.menu-boton[aria-expanded='true'] .menu-boton__icono::before { top: 0; transform: rotate(45deg); }
.menu-boton[aria-expanded='true'] .menu-boton__icono::after { top: 0; transform: rotate(-45deg); }

/* ---------- Banner interior y franja con foto ---------- */
.banner, .pregunta {
  position: relative; color: #fff;
  background: linear-gradient(rgba(23, 28, 56, 0.72), rgba(23, 28, 56, 0.72)), var(--foto, none) center / cover no-repeat, var(--azul);
}
.banner { padding: 14rem 0 5.5rem; text-align: center; }
@media screen {
  .p-servicios .banner {
    background: linear-gradient(90deg, rgba(7, 14, 33, .78), rgba(7, 14, 33, .65) 53%, rgba(7, 14, 33, .22)),
      var(--foto, none) center 42% / cover no-repeat, var(--azul);
  }
}
.banner__titulo { max-width: 22ch; margin: 0 auto; font-size: clamp(2rem, 4.4vw, 3.25rem); color: #fff; }
.migas ol { display: flex; flex-wrap: wrap; justify-content: center; margin: 1.1rem 0 0; padding: 0; list-style: none; font-size: 0.9375rem; }
.migas li + li::before { content: '/'; margin: 0 0.6rem; color: rgba(255, 255, 255, 0.6); }
.migas a { color: #fff; text-decoration: none; }
.migas a:hover { text-decoration: underline; }
.migas [aria-current] { color: #9ccbf7; }
.banner--error { padding-bottom: 7rem; }
.banner__codigo { margin: 0 0 0.5rem; font: 700 clamp(5rem, 12vw, 8rem)/1 var(--titulos); color: #fff; }
.banner__barras { display: none; }
.banner__intro { max-width: 40rem; margin: 1.25rem auto 2rem; color: rgba(255, 255, 255, 0.9); }
.banner .acciones { justify-content: center; }
.banner .boton--contorno { color: #fff; border-color: #fff; }
.banner .boton--contorno:hover { background: #fff; color: var(--azul); }

.entradilla { padding: 4.5rem 0 0; }
.entradilla__texto { max-width: 52rem; margin: 0 auto; text-align: center; font-size: 1.125rem; line-height: 1.8; color: #44475a; }

/* ---------- Secciones interiores ---------- */
.principios, .familias, .catalogo, .equipo { padding: 5.5rem 0; }
.principios--fotos, .familias, .catalogo { background: var(--gris); }
.entradilla + .principios { padding-top: 3.5rem; background: #fff; }
.entradilla + .principios--fotos { margin-top: 4rem; padding-top: 5.5rem; background: var(--gris); }
.entradilla + .familias { margin-top: 4rem; }
.cabeza-seccion { max-width: 46rem; margin: 0 auto 3.25rem; text-align: center; }
.titulo-seccion { font-size: clamp(1.75rem, 3vw, 2.35rem); }
.cabeza-seccion p { margin-top: 0.75rem; color: #44475a; }
.titulo-seccion--izq { text-align: left; }
.rejilla { display: grid; gap: 1.875rem; }
.rejilla--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rejilla--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rejilla--1 { grid-template-columns: minmax(0, 1fr); max-width: 46rem; margin: 0 auto; }

.tarjeta-foto { display: flex; flex-direction: column; background: #fff; overflow: hidden; box-shadow: var(--sombra); }
.tarjeta-foto__img { aspect-ratio: 3 / 2; overflow: hidden; background: #dfe0e6; }
.tarjeta-foto__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.tarjeta-foto:hover .tarjeta-foto__img img { transform: scale(1.06); }
.tarjeta-foto__cuerpo { display: flex; flex-direction: column; flex: 1; padding: 1.5rem 1.5rem 1.75rem; }
.tarjeta-foto__titulo { font-size: 1.3rem; margin-bottom: 0.6rem; }
.tarjeta-foto__texto { flex: 1; font-size: 0.9375rem; }
.tarjeta-foto__texto a { font-weight: 700; }
.tarjeta-foto__cuerpo > .boton { align-self: flex-start; margin-top: 1.25rem; }
.tarjeta-foto__acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; margin-top: 1.25rem; }

.caja-icono { position: relative; margin-left: 2rem; padding: 1.9rem 1.9rem 1.9rem 3.4rem; background: var(--gris); }
.caja-icono__num { position: absolute; left: -2rem; top: 1.9rem; display: grid; place-items: center; width: 4rem; height: 4rem; font: 700 1.5rem/1 var(--titulos); color: #fff; background: var(--accion); }
.caja-icono__titulo { font-size: 1.2rem; margin-bottom: 0.75rem; }
.caja-icono__texto { font-size: 0.9375rem; }
.lista { margin: 0; padding: 0; list-style: none; }
.lista li { position: relative; padding-left: 1.2rem; margin-bottom: 0.45rem; }
.lista li::before { content: ''; position: absolute; left: 0; top: 0.7em; width: 0.45rem; height: 0.45rem; background: var(--accion); }

/* Franja de pregunta (páginas interiores) */
.pregunta { padding: 6rem 0; text-align: center; }
.pregunta--sin-foto { background: var(--azul); }
.pregunta__contenido { display: flex; flex-direction: column; align-items: center; }
.pregunta__titulo { max-width: 24ch; font-size: clamp(1.8rem, 3.6vw, 2.75rem); color: #fff; }
.pregunta__texto { max-width: 48rem; margin: 1.25rem 0 2.25rem; font-size: 1.0625rem; color: rgba(255, 255, 255, 0.9); }
.pregunta__texto a { color: #fff; font-weight: 700; }
.pregunta__guia { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; width: 100%; max-width: 62rem; margin: -0.5rem 0 2.5rem; padding: 0; list-style: none; }
.pregunta__guia li { padding: 1.15rem 1.25rem; text-align: left; color: rgba(255, 255, 255, 0.88); background: rgba(255, 255, 255, 0.06); border-top: 3px solid var(--accion); }
.pregunta__guia-tipo { display: block; margin-bottom: 0.3rem; font-weight: 700; color: #fff; }
.pregunta__accion { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; }
.pregunta__alternativas { margin: 0; color: rgba(255, 255, 255, 0.85); }
.pregunta__alternativas a { color: #fff; font-weight: 700; text-underline-offset: 0.25em; }
.pregunta__enlace { margin-top: 1.75rem; color: #fff; font-weight: 700; }

/* Catálogo de fichas */
.fichas { display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
.ficha { position: relative; display: flex; flex-direction: column; padding: 1.75rem 1.6rem 1.6rem; background: #fff; box-shadow: var(--sombra); border-bottom: 3px solid transparent; scroll-margin-top: 2rem; transition: transform 0.25s, border-color 0.25s; }
.ficha::before { content: ''; width: 2.5rem; height: 3px; margin-bottom: 1rem; background: var(--accion); }
.ficha:hover, .ficha:target { transform: translateY(-4px); border-bottom-color: var(--accion); }
.ficha__nombre { font-size: 1.0625rem; margin-bottom: 0.6rem; }
.ficha__texto { flex: 1; font-size: 0.9rem; line-height: 1.7; }
.ficha__cta { align-self: flex-start; margin-top: 1.25rem; padding: 0.6rem 1rem; font: 700 0.875rem/1.3 var(--titulos); color: #fff; background: var(--azul); text-decoration: none; transition: background 0.2s; }
.ficha__cta:hover { background: var(--accion); }

/* Empresa */
.empresa { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 2.5rem; align-items: start; padding-top: 4rem; padding-bottom: 5rem; }
.empresa__datos .titulo-seccion { margin-bottom: 1.5rem; }
.tabla-datos { width: 100%; border-collapse: collapse; background: #fff; box-shadow: var(--sombra); }
.tabla-datos th, .tabla-datos td { padding: 1rem 1.25rem; text-align: left; border-bottom: 1px solid var(--borde); }
.tabla-datos thead th { font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.05em; color: #fff; background: var(--azul); border: 0; }
.tabla-datos tbody th { width: 40%; font-weight: 700; color: var(--tinta); background: var(--gris); }
.tabla-datos td { color: var(--tinta); }
.caja-azul { padding: 2.25rem; color: rgba(255, 255, 255, 0.92); background: var(--azul); }
.caja-azul__titulo { font-size: 1.35rem; color: #fff; margin-bottom: 1rem; }
.caja-azul__lista { margin: 0; padding: 0; list-style: none; }
.caja-azul__lista li { border-top: 1px solid rgba(255, 255, 255, 0.2); }
.caja-azul__lista a { display: block; padding: 0.85rem 0; color: #fff; text-decoration: none; }
.caja-azul__lista a::after { content: ' →'; }
.caja-azul__lista a:hover { text-decoration: underline; }
.empresa .caja-azul { margin-top: 4.1rem; }
.cierre { padding: 0 0 5.5rem; text-align: center; }

/* Contacto */
.contacto { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 2.5rem; align-items: start; padding-top: 4rem; padding-bottom: 5.5rem; }
.contacto .titulo-seccion { margin-bottom: 1.5rem; }
.datos-contacto { display: grid; gap: 1rem; margin: 0; }
.dato-contacto { position: relative; min-height: 5.5rem; padding: 1.1rem 1.25rem 1.1rem 5.75rem; background: var(--gris); }
.dato-contacto__cabeza { font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--tinta); }
.dato-contacto__icono { position: absolute; left: 1.1rem; top: 1.1rem; display: grid; place-items: center; width: 3.4rem; height: 3.4rem; color: #fff; background: var(--accion); }
.dato-contacto__icono .icono { width: 1.6rem; height: 1.6rem; }
.dato-contacto__cuerpo { margin: 0.3rem 0 0; color: var(--tinta); overflow-wrap: anywhere; }
.contacto__form { padding: 2.5rem; background: #fff; box-shadow: var(--sombra); border-top: 4px solid var(--accion); scroll-margin-top: 2rem; }
.contacto__nota { margin-top: -0.5rem; }
.contacto__faq { grid-column: 1 / -1; }
.contacto__faq .caja-azul__titulo { margin-bottom: 0.6rem; }

.formulario { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1.5rem; margin-top: 1.75rem; }
.campo--ancho, .producto-sel { grid-column: 1 / -1; }
.campo label { display: block; margin-bottom: 0.4rem; font-size: 0.875rem; font-weight: 700; color: var(--tinta); }
.campo__req { font-weight: 400; font-size: 0.8125rem; color: var(--texto); }
.campo input, .campo select, .campo textarea {
  width: 100%; min-height: 3.1rem; padding: 0.75rem 1rem; font: inherit; color: var(--tinta); background: #fff;
  border: 1px solid #d8d9e0; border-radius: 0; transition: border-color 0.2s;
}
.campo textarea { resize: vertical; min-height: 9rem; }
.campo input:focus, .campo select:focus, .campo textarea:focus { border-color: var(--azul); outline: 2px solid var(--azul); outline-offset: -1px; }
.campo [aria-invalid='true'] { border-color: #b3261e; background: #fff7f6; }
.campo__error { margin: 0.35rem 0 0; font-size: 0.8125rem; font-weight: 700; color: #b3261e; }
.producto-sel { padding: 0.9rem 1.2rem; background: var(--rosa); border-left: 4px solid var(--accion); }
.producto-sel__rotulo { margin: 0; font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--rojo-texto); }
.producto-sel__nombre { margin: 0.2rem 0 0; font-weight: 700; color: var(--tinta); }
.formulario__acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.formulario__estado { padding: 1rem 1.2rem; color: var(--tinta); background: var(--rosa); border-left: 4px solid var(--accion); }

/* Empresa: equipo y misión/visión */
.equipo { background: var(--gris); }
.equipo__lista { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 22rem)); justify-content: center; gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
.miembro { padding: 2rem; background: #fff; border-top: 4px solid var(--accion); box-shadow: var(--sombra); }
.miembro__foto { aspect-ratio: 4 / 5; margin: -2rem -2rem 1.5rem; overflow: hidden; background: #dfe0e6; }
.miembro__foto img { width: 100%; height: 100%; object-fit: cover; }
.miembro__icono { display: grid; place-items: center; width: 3.4rem; height: 3.4rem; margin-bottom: 1.25rem; color: #fff; background: var(--azul); }
.miembro__icono .icono { width: 1.6rem; height: 1.6rem; }
.miembro__nombre { font-size: 1.3rem; margin-bottom: 0.3rem; }
.miembro__cargo { margin: 0 0 0.75rem; font-weight: 700; color: var(--tinta); }
.miembro__area { margin-bottom: 1rem; }
.miembro__contacto { margin: 0; line-height: 1.9; overflow-wrap: anywhere; }
.mision-vision { padding: 4.5rem 0; }
.mision-vision--borrador .envoltura { padding-top: 1.5rem; padding-bottom: 1.5rem; outline: 2px dashed var(--accion); outline-offset: 0.75rem; }
.aviso-borrador { display: inline-block; margin: 0 0 1.25rem; padding: 0.35rem 0.75rem; font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: #fff; background: var(--accion); }
.ficha-mv { padding: 2rem; background: #fff; border: 1px solid var(--borde); }
.ficha-mv__titulo { margin-bottom: 0.75rem; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.1em; }

/* ---------- Inicio ---------- */
/* Hero */
.hero {
  position: relative; display: flex; align-items: center; min-height: min(100vh, 51rem); padding: 11rem 0 5rem; color: #fff;
  background: linear-gradient(90deg, rgba(23, 28, 56, 0.92) 0%, rgba(23, 28, 56, 0.75) 45%, rgba(23, 28, 56, 0.15) 100%), var(--foto, none) center / cover no-repeat, var(--azul);
}
.hero > .envoltura { width: 100%; }
.hero--conceptual {
  background: linear-gradient(90deg, rgba(4, 9, 20, .76), rgba(4, 9, 20, .42) 48%, transparent 76%),
    var(--foto, none) center right / cover no-repeat, #040914;
}
.hero__principal { max-width: 44rem; }
.carrusel__pista { display: grid; }
.carrusel__item { grid-area: 1 / 1; transition: opacity 0.5s ease, visibility 0.5s; }
.carrusel__item:not(.es-activo) { opacity: 0; visibility: hidden; }
.hero__titulo { margin: 0; font: 700 clamp(2.4rem, 5vw, 4.25rem)/1.1 var(--titulos); color: #fff; }
.hero__oferta { max-width: 36rem; margin: 1.5rem 0 2.25rem; font-size: 1.1875rem; line-height: 1.6; color: rgba(255, 255, 255, 0.9); }
.hero__acciones { display: flex; flex-wrap: wrap; gap: 1rem; }
.carrusel__controles { display: flex; align-items: center; gap: 0.5rem; margin-top: 2.5rem; }
.carrusel__controles[hidden] { display: none; }
.carrusel__boton { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; font: 700 1.1rem/1 var(--titulos); color: #fff; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 50%; cursor: pointer; transition: background 0.2s; }
.carrusel__boton:hover { background: var(--accion); border-color: var(--accion); }
.carrusel__icono-pausa { width: 0.75rem; height: 0.85rem; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.esta-detenido .carrusel__icono-pausa { width: 0; height: 0; border-style: solid; border-width: 0.45rem 0 0.45rem 0.75rem; border-color: transparent transparent transparent currentColor; margin-left: 0.2rem; }
.carrusel__contador { margin: 0 0 0 0.5rem; font-size: 0.9375rem; font-weight: 700; color: rgba(255, 255, 255, 0.8); }

/* Quiénes somos */
.quienes { padding: 6.5rem 0; background: #fff; }
.quienes__rejilla { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 4rem; align-items: center; }
.quienes__lead { margin: 1.25rem 0 1.75rem; font-size: 1.0625rem; }
.destacado { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.destacado__icono { display: grid; place-items: center; flex-shrink: 0; width: 3.5rem; height: 3.5rem; color: var(--tinta); background: var(--gris); }
.destacado__icono .icono { width: 1.6rem; height: 1.6rem; }
.destacado__texto { margin: 0; font-size: 1.125rem; font-weight: 700; color: var(--tinta); }
.lista-check { display: grid; gap: 0.6rem; margin: 0 0 2rem; padding: 0; list-style: none; }
.lista-check li { display: flex; align-items: flex-start; gap: 0.6rem; color: var(--tinta); }
.lista-check .check { flex-shrink: 0; width: 1.15rem; height: 1.15rem; margin-top: 0.25rem; color: var(--accion); }
.lista-check--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem 1.5rem; }
.lista-check--claro li { color: rgba(255, 255, 255, 0.9); }
.lista-check--claro strong { color: #fff; }
.quienes__acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; }
.llamada { display: flex; align-items: center; gap: 0.75rem; color: var(--tinta); text-decoration: none; }
.llamada__icono { display: grid; place-items: center; width: 3rem; height: 3rem; color: var(--accion); border: 1px solid var(--accion); }
.llamada__icono .icono { width: 1.25rem; height: 1.25rem; }
.llamada__rotulo { display: block; font-size: 0.875rem; color: var(--texto); }
.llamada__numero { display: block; font-weight: 700; }
.quienes__fotos { position: relative; padding: 0 0 6rem 0; }
.quienes__foto { overflow: hidden; background: #dfe0e6; }
.quienes__foto img { width: 100%; height: 100%; object-fit: cover; }
.quienes__foto--a { width: 78%; aspect-ratio: 4 / 5; }
.quienes__foto--b { position: absolute; right: 0; bottom: 0; width: 55%; aspect-ratio: 1 / 1; border: 8px solid #fff; box-shadow: var(--sombra); }

/* Qué hacemos: bloque marino con tarjetas inclinadas */
.lineas { padding: 6rem 0 6.5rem; background: var(--azul); color: rgba(255, 255, 255, 0.85); overflow: hidden; }
.cabeza-partida { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: center; margin-bottom: 3.5rem; }
.cabeza-partida__texto p { margin-bottom: 0.9rem; }
.lineas__rejilla { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; width: 100%; margin: 0; padding: 0; list-style: none; }
.linea { position: relative; min-height: 36rem; margin: 0 -1.25rem; overflow: hidden; clip-path: polygon(2.5rem 0, 100% 0, calc(100% - 2.5rem) 100%, 0 100%); }
.linea:first-child { clip-path: polygon(0 0, 100% 0, calc(100% - 2.5rem) 100%, 0 100%); margin-left: 0; }
.linea:last-child { clip-path: polygon(2.5rem 0, 100% 0, 100% 100%, 0 100%); margin-right: 0; }
.linea__foto { position: absolute; inset: 0; background: #2a3058; }
.linea__foto img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.linea::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23, 28, 56, 0) 25%, rgba(23, 28, 56, 0.93) 72%); }
.linea:hover .linea__foto img { transform: scale(1.06); }
.linea__flecha { position: absolute; z-index: 2; top: 1.5rem; right: 3.5rem; display: grid; place-items: center; width: 3rem; height: 3rem; font-size: 1.2rem; color: #fff; background: rgba(255, 255, 255, 0.25); border-radius: 50%; backdrop-filter: blur(4px); transition: background 0.2s; }
.linea:last-child .linea__flecha { right: 1.5rem; }
.linea:hover .linea__flecha { background: var(--accion); }
.linea__panel { position: absolute; z-index: 2; left: 3.5rem; right: 3.5rem; bottom: 2rem; color: rgba(255, 255, 255, 0.88); }
.linea:first-child .linea__panel { left: 2rem; }
.linea__rotulo { margin: 0 0 0.4rem; font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #9ccbf7; }
.linea__titulo { margin-bottom: 0.6rem; font-size: 1.5rem; color: #fff; }
.linea__titulo a { color: inherit; text-decoration: none; }
.linea__titulo a::after { content: ''; position: absolute; inset: -40rem -10rem; z-index: 3; }
.linea__titulo a:focus-visible { outline: none; }
.linea:focus-within { outline: 3px solid #fff; outline-offset: -6px; }
.linea__texto { margin-bottom: 0.9rem; font-size: 0.9375rem; }
.linea__cta { display: inline-block; font-weight: 700; color: #fff; border-bottom: 2px solid var(--accion); }
.linea__cta::after { content: ' →'; }

/* Equipo (inicio) */
.equipo-inicio { padding: 6.5rem 0; background: var(--gris); }
.equipo-inicio__rejilla { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 4rem; align-items: center; }
/* Galería con foto anterior y siguiente visibles */
.galeria { position: relative; }
.galeria__pista { position: relative; aspect-ratio: 1 / 1; margin: 0; padding: 0; list-style: none; overflow: hidden; }
.galeria__item {
  position: absolute; top: 3%; left: 50%; width: 70%; height: 94%; overflow: hidden; background: #dfe0e6;
  transform: translateX(-50%) scale(0.78); opacity: 0; z-index: 1;
  transition: transform 0.6s ease, opacity 0.6s ease, box-shadow 0.6s ease;
}
.galeria__item img { width: 100%; height: 100%; object-fit: cover; }
.galeria__item.es-actual { transform: translateX(-50%) scale(1); opacity: 1; z-index: 3; box-shadow: 0 20px 40px rgba(23, 28, 56, 0.25); }
.galeria__item.es-anterior { transform: translateX(-118%) scale(0.82); opacity: 0.55; z-index: 2; }
.galeria__item.es-siguiente { transform: translateX(18%) scale(0.82); opacity: 0.55; z-index: 2; }
.galeria__controles { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1rem; }
.galeria__controles[hidden] { display: none; }
.galeria__boton { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; font: 700 1.1rem/1 var(--titulos); color: var(--azul); background: #fff; border: 1px solid var(--borde); border-radius: 50%; cursor: pointer; transition: background 0.2s, color 0.2s; }
.galeria__boton:hover { color: #fff; background: var(--accion); border-color: var(--accion); }
.galeria .esta-detenido .carrusel__icono-pausa, .galeria__boton.esta-detenido .carrusel__icono-pausa { width: 0; height: 0; border-style: solid; border-width: 0.45rem 0 0.45rem 0.75rem; border-color: transparent transparent transparent currentColor; margin-left: 0.2rem; }
.equipo-inicio__texto > p:not(.etiqueta) { margin: 1.25rem 0 1.5rem; }
.pestanas { margin-bottom: 2rem; }
.pestanas__lista { display: flex; flex-wrap: wrap; gap: 0.25rem 1.75rem; margin-bottom: 1.25rem; border-bottom: 1px solid #d8d9e0; }
.pestanas__boton { position: relative; padding: 0.6rem 0; font: 700 1rem/1.3 var(--titulos); color: var(--texto); background: none; border: 0; cursor: pointer; }
.pestanas__boton[aria-selected='true'] { color: var(--tinta); }
.pestanas__boton[aria-selected='true']::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accion); }
.pestanas__panel .lista-check { margin-bottom: 0; }

/* Proceso */
.proceso { padding: 6.5rem 0; background: #fff; }
.proceso__lista { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; margin: 0; padding: 0; list-style: none; }
.paso { position: relative; text-align: center; }
.paso:not(:last-child)::after {
  content: ''; position: absolute; top: 3.75rem; left: calc(50% + 4.5rem); width: calc(100% - 9rem + 2rem); height: 0;
  border-top: 2px dashed #c9cad3;
}
.paso__circulo { display: grid; place-items: center; width: 7.5rem; height: 7.5rem; margin: 0 auto 1.25rem; color: var(--accion); background: var(--rosa); border: 6px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px var(--borde); }
.paso__circulo .icono { width: 2.75rem; height: 2.75rem; stroke-width: 1.7; }
.paso__num { margin: 0 0 0.3rem; font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--rojo-texto); }
.paso__titulo { margin-bottom: 0.5rem; font-size: 1.25rem; }
.paso__texto { margin: 0 auto; max-width: 16rem; font-size: 0.9375rem; }

/* ¿Qué necesitas cotizar? (inicio) */
.cotizar { padding: 6.5rem 0; color: rgba(255, 255, 255, 0.85); background: var(--azul); scroll-margin-top: 1rem; }
.cotizar__rejilla { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; align-items: stretch; }
.cotizar__texto > p:not(.etiqueta) { margin: 1.25rem 0 1.75rem; }
.cotizar__datos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin: 2rem 0 0; padding: 2rem 0 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, 0.15); }
.cotizar__datos li { display: flex; flex-direction: column; gap: 0.7rem; align-items: flex-start; font-size: 0.9375rem; overflow-wrap: anywhere; }
.cotizar__icono { display: grid; place-items: center; flex-shrink: 0; width: 2.75rem; height: 2.75rem; color: #fff; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 50%; }
.cotizar__icono .icono { width: 1.15rem; height: 1.15rem; }
.cotizar__rotulo { display: block; font-size: 0.8125rem; color: rgba(255, 255, 255, 0.65); }
.cotizar__datos a { color: #fff; text-decoration: none; font-weight: 700; }
.cotizar__datos a:hover { text-decoration: underline; }
.cotizar__tarjeta { display: flex; flex-direction: column; justify-content: center; padding: 2.5rem; color: var(--texto); background: #fff; }
.cotizar__tarjeta-titulo { margin-bottom: 0.5rem; font-size: 1.6rem; }
.cotizar__tarjeta .campo { margin: 1.5rem 0; }
.cotizar__nota { margin: 1rem 0 0; font-size: 0.9375rem; text-align: center; }

/* ---------- Pie ---------- */
.pie__arriba { padding: 5rem 0 3.5rem; color: var(--texto); background: #fff; border-top: 4px solid var(--accion); }
.pie__rejilla { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 3rem; }
.pie__titulo { margin-bottom: 1.4rem; font-size: 1.0625rem; font-weight: 700; color: var(--azul); }
.pie__enlaces, .pie__contacto { margin: 0; padding: 0; list-style: none; }
.pie__enlaces li { margin-bottom: 0.6rem; }
.pie__enlaces a { color: var(--accion); text-decoration: none; }
.pie a:hover { color: var(--azul); text-decoration: underline; }
.pie__contacto li { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 0.9rem; overflow-wrap: anywhere; }
.pie__contacto .icono { flex-shrink: 0; width: 1.15rem; height: 1.15rem; margin-top: 0.3rem; color: var(--accion); }
.pie__contacto a { color: var(--accion); text-decoration: none; }
.pie__caja { padding: 0; background: none; }
.pie__caja .marca { margin-bottom: 1.1rem; }
.pie__caja p { color: var(--azul); font-size: 0.9375rem; }
.pie__caja .boton { margin-top: 1.25rem; }
.pie__caja .boton:hover { color: #fff; text-decoration: none; }
.pie__base { padding: 1.4rem 0; font-size: 0.875rem; color: var(--texto); background: #fff; border-top: 1px solid var(--borde); }
.pie__base p { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 80rem) {
  .cabecera__tel { display: none; }
}
@media (max-width: 72rem) {
  .js .menu-boton[hidden] { display: inline-flex; }
  .js .menu {
    display: none; position: absolute; top: 100%; left: -2rem; right: -2rem; flex-direction: column; align-items: stretch; gap: 0;
    padding: 0.5rem 1.5rem 1.5rem; background: #fff; box-shadow: 0 16px 30px rgba(0, 0, 0, 0.2);
  }
  .js .menu.abierto { display: flex; }
  .js .menu__lista { flex-direction: column; align-items: stretch; margin: 0 0 1rem; }
  .js .menu__lista a { padding: 0.9rem 0; color: var(--tinta); border-bottom: 1px solid var(--borde); }
  .js .menu__lista a::after { display: none; }
  .js .menu__lista a[aria-current='page'] { color: var(--rojo-texto); }
  .js .menu__cta { justify-content: center; min-height: 3.25rem; }
  .menu__lista a { padding: 0.5rem 0.5rem; font-size: 0.9375rem; }
}
@media (max-width: 64rem) {
  .rejilla--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .empresa, .contacto, .quienes__rejilla, .equipo-inicio__rejilla, .cotizar__rejilla, .cabeza-partida { grid-template-columns: minmax(0, 1fr); gap: 3rem; }
  .empresa .caja-azul { margin-top: 0; }
  .pie__rejilla { grid-template-columns: 1fr 1fr; }
  .pie__caja { grid-column: 1 / -1; }
  .lineas__rejilla { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; padding: 0 1.25rem; max-width: 40rem; }
  .linea, .linea:first-child, .linea:last-child { min-height: 24rem; margin: 0; clip-path: none; }
  .linea__panel, .linea:first-child .linea__panel { left: 1.75rem; right: 1.75rem; }
  .linea__flecha, .linea:last-child .linea__flecha { right: 1.5rem; }
  .proceso__lista { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 3rem; }
  .paso::after { display: none; }
  .galeria__pista { aspect-ratio: 4 / 3; }
  .galeria__item { width: 58%; }
}
@media (max-width: 48rem) {
  .barra-sup__rif { display: none; }
  .cabecera > .envoltura { padding: 0 1.25rem; }
  .js .menu { left: -1.25rem; right: -1.25rem; }
  .rejilla--3, .rejilla--2, .lista-check--2, .cotizar__datos { grid-template-columns: minmax(0, 1fr); }
  .banner { padding: 12rem 0 4rem; }
  .principios, .familias, .catalogo, .equipo { padding: 4rem 0; }
  .entradilla { padding-top: 3rem; }
  .formulario { grid-template-columns: minmax(0, 1fr); }
  .contacto__form, .cotizar__tarjeta { padding: 1.75rem 1.25rem; }
  .pregunta__guia { grid-template-columns: minmax(0, 1fr); }
  .hero { min-height: 0; padding: 10.5rem 0 3.5rem; }
  .hero--conceptual {
    background: linear-gradient(rgba(4, 9, 20, .48), rgba(4, 9, 20, .87) 62%, #040914),
      var(--foto, none) 79% top / auto 100% no-repeat, #040914;
  }
  .hero__oferta { font-size: 1.0625rem; margin: 1.25rem 0 1.75rem; }
  .hero__acciones .boton { width: 100%; }
  .quienes, .lineas, .equipo-inicio, .proceso, .cotizar { padding: 4rem 0; }
  .quienes__fotos { padding-bottom: 4rem; }
  .quienes__foto--b { border-width: 6px; }
  .proceso__lista { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 36rem) {
  .barra-sup__datos { font-size: 0.8125rem; gap: 0.2rem 1rem; }
  .marca__nombre { font-size: 1.9rem; }
  .marca__logo { height: 2.2rem; }
  .menu-boton__texto { font-size: 0.75rem; }
  .pie__rejilla { grid-template-columns: minmax(0, 1fr); }
  .caja-icono { margin-left: 1.25rem; padding-left: 2.75rem; }
  .caja-icono__num { left: -1.25rem; width: 3.25rem; height: 3.25rem; font-size: 1.25rem; }
  .fichas { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
@media print {
  .cabecera, .pie, .saltar, .ficha__cta, .formulario { display: none; }
  .banner, .pregunta, .hero, .lineas, .cotizar { background: none; color: #000; padding: 2rem 0; }
  .banner__titulo, .pregunta__titulo, .hero__titulo { color: #000; }
}
