/* Tipografía alojada en la propia web (sin depender de Google Fonts) */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo.woff2") format("woff2-variations"), url("../fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================
   Inge&Technik — hoja de estilos común a todas las páginas
   Colores del logotipo (azul y lavanda) y amarillo de los arneses.
   ========================================================== */

:root {
  --azul: #1b3a8f;
  --azul-oscuro: #0f2257;
  --tinta: #121a33;
  --lavanda: #cdd0e6;
  --gris: #eef0f6;
  --amarillo: #f5c400;
  --blanco: #ffffff;
  --texto-suave: #4a5372;
  --ancho: 1200px;
  --radio: 4px;
  --fuente: "Archivo", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0; font-family: var(--fuente); font-size: 1.0625rem; line-height: 1.6;
  color: var(--tinta); background: var(--blanco); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--azul); }
h1, h2, h3 { font-stretch: 112%; font-weight: 800; line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.25rem; font-stretch: 105%; }
:focus-visible { outline: 3px solid var(--amarillo); outline-offset: 3px; }

.contenedor { width: min(100% - 2.5rem, var(--ancho)); margin-inline: auto; }
.oculto, .trampa { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.saltar { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--amarillo); color: var(--tinta); padding: .6rem 1rem; font-weight: 700; }
.saltar:focus { top: 1rem; }

/* ---------- Botones ---------- */
.boton {
  display: inline-block; font: inherit; font-weight: 700; font-size: 1rem;
  padding: .85rem 1.4rem; border-radius: var(--radio); border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.boton--amarillo { background: var(--amarillo); color: var(--tinta); }
.boton--amarillo:hover { background: #ffd633; }
.boton--azul { background: var(--azul); color: var(--blanco); }
.boton--azul:hover { background: var(--azul-oscuro); }
.boton--linea { border-color: var(--blanco); color: var(--blanco); }
.boton--linea:hover { background: var(--blanco); color: var(--tinta); }

/* ---------- Cabecera y menú ---------- */
.cabecera { position: sticky; top: 0; z-index: 50; background: var(--blanco); border-bottom: 1px solid var(--lavanda); }
.cabecera__fila { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 1.5rem; }
.marca img { height: 44px; width: auto; }

.menu { display: flex; align-items: center; gap: 1.6rem; }
.menu__enlace, .desplegable__boton {
  color: var(--tinta); text-decoration: none; font: inherit; font-weight: 600; font-size: .98rem;
  padding: .3rem 0; border: 0; border-bottom: 2px solid transparent; background: none; cursor: pointer;
}
.menu__enlace:hover, .menu__enlace[aria-current="page"],
.desplegable--activo > .desplegable__boton { border-bottom-color: var(--azul); }
.menu .boton { padding: .6rem 1.1rem; }

.desplegable { position: relative; }
.desplegable__boton::after {
  content: ""; display: inline-block; width: 7px; height: 7px; margin-left: .45rem;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
}
.desplegable__panel {
  position: absolute; top: calc(100% + 14px); left: -1rem; min-width: 330px;
  background: var(--blanco); border: 1px solid var(--lavanda); border-top: 3px solid var(--azul);
  border-radius: 0 0 var(--radio) var(--radio); box-shadow: 0 14px 30px rgba(15, 34, 87, .14);
  padding: .5rem 0; display: none;
}
.desplegable__panel::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.desplegable__panel a { display: block; padding: .65rem 1.1rem; color: var(--tinta); text-decoration: none; font-weight: 500; }
.desplegable__panel a:hover, .desplegable__panel a[aria-current="page"] { background: var(--gris); color: var(--azul); }
.desplegable__panel a[aria-current="page"] { font-weight: 700; }
@media (min-width: 1121px) {
  .desplegable:hover .desplegable__panel,
  .desplegable:focus-within .desplegable__panel,
  .desplegable__boton[aria-expanded="true"] + .desplegable__panel { display: block; }
}

.menu-boton { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.menu-boton span:not(.oculto) { display: block; width: 26px; height: 3px; background: var(--azul); margin: 5px 0; transition: transform .2s, opacity .2s; }

@media (max-width: 1120px) {
  .menu-boton { display: block; }
  .menu {
    position: absolute; top: 76px; left: 0; right: 0; max-height: calc(100vh - 76px); overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--blanco); border-bottom: 1px solid var(--lavanda); padding: .5rem 1.25rem 1.25rem; display: none;
  }
  .menu.abierto { display: flex; }
  .menu__enlace, .desplegable__boton { display: block; width: 100%; text-align: left; padding: .9rem 0; border-bottom: 1px solid var(--gris); }
  .desplegable__boton { cursor: default; color: var(--texto-suave); font-size: .9rem; padding-bottom: .3rem; border-bottom: 0; }
  .desplegable__boton::after { display: none; }
  .desplegable__panel { position: static; display: block; border: 0; box-shadow: none; padding: 0 0 .5rem; min-width: 0; }
  .desplegable__panel::before { display: none; }
  .desplegable__panel a { padding: .55rem 0 .55rem .9rem; border-left: 2px solid var(--lavanda); }
  .desplegable__panel a[aria-current="page"] { border-left-color: var(--azul); background: none; }
  .menu .boton { margin-top: 1rem; text-align: center; }
  .menu-boton[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-boton[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-boton[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* ---------- Portada (inicio) ---------- */
.portada { position: relative; min-height: min(88vh, 820px); display: flex; align-items: flex-end; color: var(--blanco); overflow: hidden; background: var(--azul-oscuro); }
.portada__foto, .cab-pagina__foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.portada__foto { object-position: 30% 35%; }
.portada::after, .cab-pagina::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(10, 22, 60, .88) 0%, rgba(10, 22, 60, .55) 42%, rgba(10, 22, 60, 0) 72%),
    linear-gradient(to top, rgba(10, 22, 60, .9) 0%, rgba(10, 22, 60, 0) 60%);
}
@media (max-width: 700px) {
  .portada::after, .cab-pagina::after { background: linear-gradient(to top, rgba(10, 22, 60, .95) 0%, rgba(10, 22, 60, .72) 55%, rgba(10, 22, 60, .25) 100%); }
}
.portada__texto { position: relative; z-index: 1; padding-block: 5rem 4.5rem; }
.portada h1 { font-size: clamp(2.3rem, 5.6vw, 4.6rem); font-stretch: 118%; max-width: 16ch; line-height: 1.02; }
.portada p { font-size: 1.2rem; max-width: 52ch; margin: 1.4rem 0 2rem; color: #e4e7f5; }
.portada__acciones { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- Cabecera de página interior ---------- */
.cab-pagina { position: relative; min-height: 520px; display: flex; align-items: flex-end; color: var(--blanco); background: var(--azul-oscuro); overflow: hidden; }
.cab-pagina__texto { position: relative; z-index: 1; padding-block: 4.5rem 3.5rem; }
.cab-pagina h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-stretch: 118%; max-width: 18ch; line-height: 1.03; }
.cab-pagina p { font-size: 1.15rem; max-width: 56ch; margin: 1.2rem 0 1.8rem; color: #e4e7f5; }

.miga { font-size: .92rem; margin-bottom: 1.2rem; display: flex; flex-wrap: wrap; gap: .5rem; color: #c5cbe6; }
.miga a { color: #fff; }
.cab-simple { background: var(--azul-oscuro); color: var(--blanco); padding-block: 3.5rem 3rem; }
.cab-simple h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-stretch: 118%; }
.cab-simple p { color: #d7dcf2; max-width: 56ch; margin: 1rem 0 0; font-size: 1.15rem; }

/* ---------- Secciones ---------- */
.seccion { padding-block: clamp(4rem, 9vw, 6.5rem); }
.seccion--corta { padding-block: clamp(3rem, 6vw, 4.5rem); }
.seccion--azul { background: var(--azul-oscuro); color: var(--blanco); }
.seccion--gris { background: var(--gris); }
.seccion--borde { border-top: 1px solid var(--lavanda); }

.cabeza { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 4rem; align-items: end; margin-bottom: 3rem; }
.cabeza p { margin: 0; color: var(--texto-suave); max-width: 52ch; }
.cabeza--clara p { color: #c5cbe6; }
@media (max-width: 800px) { .cabeza { grid-template-columns: 1fr; gap: 1rem; } }
.titulo-bloque { margin-bottom: 2.5rem; }

/* ---------- Áreas (inicio) ---------- */
.areas { display: grid; gap: 1.5rem; }
.area { display: grid; grid-template-columns: 1.15fr 1fr; background: var(--gris); border-radius: var(--radio); overflow: hidden; }
.area__texto { padding: clamp(1.75rem, 4vw, 3rem); display: flex; flex-direction: column; justify-content: center; }
.area h3 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-stretch: 118%; color: var(--azul); }
.area p { color: var(--texto-suave); margin: .9rem 0 1.5rem; max-width: 46ch; }
.area .boton { align-self: flex-start; }
.area__enlaces { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--lavanda); }
.area__enlaces a {
  display: flex; justify-content: space-between; align-items: center; padding: .8rem 0;
  border-bottom: 1px solid var(--lavanda); color: var(--tinta); text-decoration: none; font-weight: 700; font-size: 1.08rem;
}
.area__enlaces a::after { content: ""; width: 9px; height: 9px; border-top: 2px solid var(--azul); border-right: 2px solid var(--azul); transform: rotate(45deg); }
.area__enlaces a:hover { color: var(--azul); }
@media (max-width: 800px) {
  .area { grid-template-columns: 1fr; }
}

/* ---------- Sectores ---------- */
.sectores { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--amarillo); }
.sectores li { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1rem 3rem; align-items: center; padding: 1.1rem 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.sectores strong { font-size: clamp(1.6rem, 3.8vw, 3rem); font-weight: 800; font-stretch: 122%; line-height: 1.05; }
.sectores span { color: #c5cbe6; }
@media (max-width: 700px) { .sectores li { grid-template-columns: 1fr; gap: .2rem; } }

/* ---------- Pasos ---------- */
.pasos { list-style: none; margin: 0; padding: 0; counter-reset: paso; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.pasos li { counter-increment: paso; border-top: 3px solid var(--azul); padding-top: 1.1rem; }
.pasos li::before { content: counter(paso); display: block; font-size: 2.6rem; font-weight: 800; font-stretch: 125%; color: var(--azul); line-height: 1; margin-bottom: .8rem; }
.pasos p { margin: .5rem 0 0; color: var(--texto-suave); font-size: .98rem; }
@media (max-width: 900px) { .pasos { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .pasos { grid-template-columns: 1fr; } }

/* ---------- Páginas de servicio ---------- */
.servicios { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 4rem; }
.servicios li { padding: 1.4rem 0 1.5rem; border-top: 1px solid var(--lavanda); }
.servicios h3 { color: var(--azul); }
.servicios p { margin: .45rem 0 0; color: var(--texto-suave); max-width: 52ch; }
@media (max-width: 760px) { .servicios { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split__texto p { color: var(--texto-suave); margin: 1rem 0 1.5rem; max-width: 50ch; }
.split__nota { background: var(--azul); color: var(--blanco); padding: clamp(1.75rem, 4vw, 3rem); border-radius: var(--radio); }
.split__nota p { margin: 0 0 1.5rem; font-size: 1.3rem; font-weight: 600; font-stretch: 108%; line-height: 1.35; color: var(--blanco); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.lista-marcas { margin: 0; padding: 0; list-style: none; }
.lista-marcas li { padding: .65rem 0 .65rem 1.5rem; border-top: 1px solid var(--lavanda); position: relative; }
.lista-marcas li::before { content: ""; position: absolute; left: 0; top: 1.15rem; width: 9px; height: 9px; background: var(--amarillo); }



.info { display: grid; grid-template-columns: 1.7fr 1fr; gap: 2.5rem 4rem; align-items: start; }
.info h2, .relacionados h2 { font-size: 1.35rem; margin-bottom: 1rem; }
.info__sectores { margin: 0; color: var(--texto-suave); font-size: 1.1rem; max-width: 46ch; }
@media (max-width: 760px) { .info { grid-template-columns: 1fr; } }

.relacionados__lista { display: flex; flex-wrap: wrap; gap: .75rem; }
.relacionado {
  display: inline-flex; align-items: center; gap: .7rem; padding: .85rem 1.2rem;
  border: 2px solid var(--azul); border-radius: var(--radio); color: var(--azul);
  font-weight: 700; text-decoration: none; transition: background-color .15s, color .15s;
}
.relacionado::after { content: ""; width: 8px; height: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
.relacionado:hover { background: var(--azul); color: var(--blanco); }

/* ---------- Banda de llamada a la acción ---------- */
.banda { background: var(--amarillo); padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.banda__fila { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.banda h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); max-width: 24ch; }
.banda p { margin: .6rem 0 0; }
.banda a:not(.boton) { color: var(--tinta); font-weight: 700; }
.banda .boton { background: var(--azul-oscuro); color: var(--blanco); }
.banda .boton:hover { background: var(--tinta); }

/* ---------- Contacto ---------- */
.contacto { display: grid; grid-template-columns: 1fr 1.6fr; gap: 4rem; }
.contacto dl { margin: 0; }
.contacto dt { font-size: .9rem; color: var(--texto-suave); margin-top: 1.2rem; }
.contacto dt:first-child { margin-top: 0; }
.contacto dd { margin: .15rem 0 0; font-weight: 700; font-size: 1.25rem; font-stretch: 108%; }
.contacto dd a { color: var(--tinta); text-decoration-color: var(--amarillo); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.contacto dd.contacto__empresa { font-size: 1rem; font-weight: 600; }

.formulario { display: grid; gap: 1.1rem; background: var(--gris); padding: clamp(1.25rem, 3vw, 2.25rem); border-radius: var(--radio); }
.formulario label { display: grid; gap: .35rem; font-weight: 600; font-size: .95rem; }
.formulario input:not([type="checkbox"]), .formulario select, .formulario textarea {
  font: inherit; font-weight: 400; font-size: 1rem; padding: .75rem .85rem; border: 1px solid #b7bcd8;
  border-radius: var(--radio); background: var(--blanco); color: var(--tinta); width: 100%;
}
.formulario input:focus, .formulario select:focus, .formulario textarea:focus { outline: 2px solid var(--azul); outline-offset: 0; border-color: var(--azul); }
.formulario textarea { resize: vertical; }
.formulario .boton { justify-self: start; }
.campo-doble { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.formulario .casilla { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; }
.casilla input { margin-top: .3rem; width: 18px; height: 18px; accent-color: var(--azul); flex: none; }
.aviso { padding: .9rem 1rem; border-radius: var(--radio); font-weight: 600; }
.aviso--ok { background: #dff3e4; color: #12502a; }
.aviso--error { background: #fde3e1; color: #7a1a12; }
.error-campos { margin: 0; color: #a3221a; font-weight: 600; }
@media (max-width: 860px) { .contacto { grid-template-columns: 1fr; gap: 2.5rem; } }
@media (max-width: 540px) { .campo-doble { grid-template-columns: 1fr; } }

/* ---------- Pie ---------- */
.pie { background: var(--tinta); color: #b8bfdc; padding-top: 3.5rem; font-size: .95rem; }
.pie__rejilla { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; }
.pie h2 { font-size: 1rem; color: var(--blanco); margin-bottom: .8rem; font-stretch: 108%; }
.pie ul { list-style: none; margin: 0; padding: 0; }
.pie li { margin-bottom: .45rem; }
.pie a { color: #dfe3f5; text-decoration: none; }
.pie a:hover { text-decoration: underline; }
.pie__logo { height: 34px; width: auto; border-radius: 2px; margin-bottom: 1rem; }
.pie__empresa p { margin: 0 0 .8rem; }
.pie__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.25rem; border-top: 1px solid rgba(255,255,255,.12); }
.pie__legal p { margin: 0; }
.pie__legal nav { display: flex; gap: 1.25rem; }
@media (max-width: 900px) { .pie__rejilla { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pie__rejilla { grid-template-columns: 1fr; } }

/* ---------- Páginas legales ---------- */
.legal { padding-block: 4rem; max-width: 75ch; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 1.5rem; }
.legal h2 { font-size: 1.35rem; margin: 2rem 0 .5rem; }

/* ---------- Bloques de la página de PCI ---------- */
.tipos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.tipos li { border-top: 4px solid var(--amarillo); padding-top: 1rem; }
.tipos p { margin: .5rem 0 0; color: var(--texto-suave); font-size: .98rem; }
@media (max-width: 900px) { .tipos { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .tipos { grid-template-columns: 1fr; } }

.destacados { display: grid; gap: 1.5rem; }
.destacado { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--blanco); border-radius: var(--radio); overflow: hidden; }
.destacado__texto { padding: clamp(1.75rem, 4vw, 3rem); align-self: center; }
.destacado h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-stretch: 118%; color: var(--azul); }
.destacado p { color: var(--texto-suave); margin: .9rem 0 1.25rem; max-width: 48ch; }
@media (max-width: 800px) {
  .destacado { grid-template-columns: 1fr; }
}

.servicios--tres { grid-template-columns: repeat(3, 1fr); gap: 0 2.5rem; }
@media (max-width: 980px) { .servicios--tres { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .servicios--tres { grid-template-columns: 1fr; } }

.seccion--azul a { color: var(--amarillo); }
.split__texto a, .servicios a { font-weight: 600; }

/* ---------- Figuras con pie de foto ----------
   Todas las imágenes de contenido llevan pie debajo, alineado
   con el borde izquierdo de la imagen. */
.figura { margin: 0; display: flex; flex-direction: column; min-width: 0; }
.figura__marco { overflow: hidden; border-radius: var(--radio); background: var(--lavanda); }
.figura__marco img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.figura figcaption {
  display: flex; gap: .65rem; align-items: baseline;
  margin-top: .7rem; font-size: .88rem; line-height: 1.45; color: var(--texto-suave);
}
.figura figcaption::before { content: ""; flex: none; width: 18px; height: 2px; background: var(--amarillo); transform: translateY(-.25em); }

/* Figura dentro de tarjeta (inicio y sistemas de PCI): la foto ocupa
   todo el alto y el pie queda en una franja bajo la foto */
.figura--tarjeta { height: 100%; }
.figura--tarjeta .figura__marco { flex: 1; border-radius: 0; min-height: 320px; }
.figura--tarjeta .figura__marco img { height: 100%; aspect-ratio: auto; }
.figura--tarjeta figcaption { margin: 0; padding: .8rem 1.25rem; background: var(--blanco); border-top: 1px solid var(--lavanda); }
.area .figura--tarjeta figcaption { background: var(--gris); }
.area--invertida .figura, .destacado--invertido .figura { order: 2; }
@media (max-width: 800px) {
  .area--invertida .figura, .destacado--invertido .figura { order: 0; }
  .figura--tarjeta .figura__marco { min-height: 0; }
  .figura--tarjeta .figura__marco img { aspect-ratio: 16 / 10; }
}

.figura--ancha .figura__marco img { aspect-ratio: 21 / 9; }
@media (max-width: 700px) { .figura--ancha .figura__marco img { aspect-ratio: 4 / 3; } }

.split__media .figura__marco img { aspect-ratio: 4 / 3; }

/* ---------- Tablas ---------- */
.tabla-envoltorio { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tabla, .calendario { width: 100%; border-collapse: collapse; font-size: 1rem; }
.tabla caption { text-align: left; }
.tabla th, .tabla td, .calendario th, .calendario td {
  text-align: left; vertical-align: top; padding: 1rem 1.5rem 1rem 0;
}
.tabla thead th, .calendario thead th {
  font-size: .85rem; font-weight: 700; color: var(--texto-suave); padding-top: 0; padding-bottom: .7rem;
  border-bottom: 2px solid var(--azul);
}
.tabla tbody tr { border-bottom: 1px solid var(--lavanda); }
.tabla tbody th { font-weight: 700; color: var(--azul); font-stretch: 105%; width: 30%; }
.tabla td { color: var(--texto-suave); }
.tabla td:last-child, .tabla th:last-child, .calendario td:last-child { padding-right: 0; }
.tabla--compacta { font-size: .95rem; }
.tabla--compacta th, .tabla--compacta td { padding-top: .75rem; padding-bottom: .75rem; }
.tabla--compacta tbody th { width: 38%; color: var(--tinta); }

.calendario thead th { color: #c5cbe6; border-bottom-color: var(--amarillo); }
.calendario tbody tr { border-bottom: 1px solid rgba(255,255,255,.18); }
.calendario tbody th { font-size: 1.2rem; font-weight: 800; font-stretch: 112%; white-space: nowrap; color: var(--blanco); width: 18%; }
.calendario td:nth-child(2) { color: var(--amarillo); font-weight: 600; width: 26%; }
.calendario td:last-child { color: #d7dcf2; }
.calendario__nota { color: #c5cbe6; font-size: .92rem; margin: 1.25rem 0 0; max-width: 70ch; }

/* En móvil, cada fila se convierte en una ficha con sus etiquetas */
@media (max-width: 700px) {
  .tabla thead, .calendario thead { display: none; }
  .tabla tbody tr, .calendario tbody tr { display: block; padding: 1rem 0; }
  .tabla th, .tabla td, .calendario th, .calendario td { display: block; width: auto !important; padding: .15rem 0; white-space: normal; }
  .tabla td[data-label]::before, .calendario td[data-label]::before {
    content: attr(data-label); display: block; font-size: .78rem; font-weight: 700; color: var(--texto-suave); margin-top: .5rem;
  }
  .calendario td[data-label]::before { color: #9aa4cf; }
  .tabla tbody th { font-size: 1.1rem; }
}

.info h2 { margin-bottom: 1.25rem; }
@media (max-width: 700px) { .tabla td:only-of-type::before { display: none; } }

/* Logotipo del pie sobre placa blanca para que se lea bien en fondo oscuro */
.pie__logo { height: auto; width: 190px; background: var(--blanco); padding: 6px; border-radius: var(--radio); box-sizing: content-box; }

.info__sectores { list-style: none; padding: 0; margin: 0; }
.info__sectores li { padding: .7rem 0 .7rem 1.5rem; border-bottom: 1px solid var(--lavanda); position: relative; color: var(--tinta); font-size: 1rem; }
.info__sectores li:first-child { border-top: 2px solid var(--azul); }
.info__sectores li::before { content: ""; position: absolute; left: 0; top: 1.2rem; width: 9px; height: 9px; background: var(--amarillo); }

/* Acceso al área de clientes */
.menu__clientes {
  display: inline-flex; align-items: center; gap: .45rem;
  color: var(--azul); text-decoration: none; font-weight: 700; font-size: .95rem;
  padding: .55rem .95rem; border: 2px solid var(--azul); border-radius: var(--radio);
  transition: background-color .15s, color .15s;
}
.menu__clientes::before {
  content: ""; width: 14px; height: 14px; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12a5 5 0 1 0 0-10 5 5 0 0 0 0 10zm0 2c-5 0-9 2.5-9 6v2h18v-2c0-3.5-4-6-9-6z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12a5 5 0 1 0 0-10 5 5 0 0 0 0 10zm0 2c-5 0-9 2.5-9 6v2h18v-2c0-3.5-4-6-9-6z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.menu__clientes:hover { background: var(--azul); color: var(--blanco); }
.menu { gap: 1.4rem; }
@media (max-width: 1280px) { .menu { gap: 1.1rem; } .menu__enlace, .desplegable__boton { font-size: .94rem; } }
@media (max-width: 1120px) {
  .menu__clientes { justify-content: center; margin-top: 1rem; padding: .8rem; }
  .menu__clientes + .boton { margin-top: .6rem; }
}
.menu > a, .desplegable__boton { white-space: nowrap; }
@media (min-width: 1121px) {
  .marca img { height: 40px; }
  .menu .boton, .menu__clientes { padding: .55rem .9rem; font-size: .93rem; }
}
@media (min-width: 1121px) {
  .menu { gap: 1.15rem; }
  .menu > *, .marca { flex-shrink: 0; }
  .menu__enlace, .desplegable__boton { font-size: .93rem; }
}

/* ---------- Menú de escritorio: siempre en una sola línea ---------- */
.menu a, .menu button, .desplegable__panel a { white-space: nowrap; }
@media (min-width: 1121px) {
  .cabecera__fila { gap: 1.25rem; }
  .marca { flex-shrink: 0; }
  .marca img { height: 38px; }
  .menu { gap: .95rem; flex-wrap: nowrap; }
  .menu > * { flex-shrink: 0; }
  .menu__enlace, .desplegable__boton { font-size: .86rem; }
  .menu .boton, .menu__clientes { font-size: .86rem; padding: .5rem .8rem; }
  .desplegable__boton::after { width: 6px; height: 6px; margin-left: .35rem; }
}

/* ---------- Inicio: trabajos de seguridad ---------- */
.obras { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.obra {
  display: flex; flex-direction: column; background: var(--blanco); border-radius: var(--radio);
  overflow: hidden; text-decoration: none; color: var(--tinta); border: 1px solid var(--lavanda);
  transition: border-color .15s;
}
.obra:hover { border-color: var(--azul); }
.obra__foto { overflow: hidden; }
.obra__foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s ease; }
.obra:hover .obra__foto img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .obra:hover .obra__foto img { transform: none; } }
.obra__texto { padding: 1.5rem 1.75rem 1.75rem; display: flex; flex-direction: column; flex: 1; }
.obra h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); font-stretch: 118%; color: var(--azul); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.obra h3::after { content: ""; flex: none; width: 10px; height: 10px; border-top: 2px solid var(--azul); border-right: 2px solid var(--azul); transform: rotate(45deg); }
.obra p { margin: .6rem 0 0; color: var(--texto-suave); max-width: 48ch; }
@media (max-width: 760px) { .obras { grid-template-columns: 1fr; } }

/* ---------- Descarga del dossier ---------- */
.boton small { font-weight: 500; opacity: .8; font-size: .85em; }
.banda__botones { display: flex; flex-wrap: wrap; gap: .75rem; }
.boton--descarga { background: transparent; color: var(--tinta); border-color: var(--tinta); }
.boton--descarga:hover { background: var(--tinta); color: var(--blanco); }
.boton--linea-azul { background: transparent; color: var(--azul); border-color: var(--azul); }
.boton--linea-azul:hover { background: var(--azul); color: var(--blanco); }
.contacto__dossier { margin-top: 2rem; }
.pie__dossier { text-decoration: underline !important; text-decoration-color: var(--amarillo) !important; text-underline-offset: 3px; }

.dossier { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.dossier__portada img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radio); box-shadow: 0 18px 40px rgba(15, 34, 87, .18); border: 1px solid var(--lavanda); }
.dossier__texto p { color: var(--texto-suave); margin: 1rem 0 1.6rem; max-width: 48ch; }
@media (max-width: 800px) { .dossier { grid-template-columns: 1fr; } }
.banda .boton--descarga { background: transparent; color: var(--tinta); border-color: var(--tinta); }
.banda .boton--descarga:hover { background: var(--tinta); color: var(--blanco); }
