/* =========================================================
   Insula — estilos
   Paleta (azul marino + piedra + pizarra) y tipografías en variables: cámbialas aquí.
   ========================================================= */
:root {
  --navy: #0b1f3a;        /* azul marino */
  --navy-2: #16305a;
  --navy-3: #1d3a66;
  --accent: #e9e4da;      /* piedra */
  --accent-dark: #d9d2c4;
  --slate: #5b6675;       /* pizarra */
  --mist: #c9cfd8;
  --paper: #f4f1eb;       /* fondo claro */
  --ink: #18202b;
  --white: #ffffff;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;

  --pad-x: clamp(20px, 5.5vw, 88px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { line-height: 1.75; }
:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 3px; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--white); color: var(--navy); padding: 10px 16px; border-radius: 3px;
}
.skip-link:focus { top: 16px; }

/* ---------- Títulos ---------- */
.display, .section-title {
  font-family: var(--serif);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
  margin: 0;
}
.display em, .section-title em { font-style: italic; font-weight: 500; }
.section-title { font-size: clamp(34px, 4.6vw, 68px); color: var(--navy); }
.section-title.light { color: var(--white); }
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--slate);
  margin: 0 0 18px;
}
.light .eyebrow, .eyebrow.light { color: var(--mist); }
.lead { font-size: clamp(16px, 1.25vw, 18px); max-width: 680px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 15px 30px;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .3s, color .3s, border-color .3s, transform .3s;
}
.btn-sm { padding: 12px 22px; font-size: 11px; }
.btn-accent { background: var(--accent); color: var(--navy); }
.btn-accent:hover { background: var(--accent-dark); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-3); }
.btn-ghost { border-color: rgba(255, 255, 255, .7); color: var(--white); background: transparent; }
.btn-ghost:hover { background: var(--white); color: var(--navy); }
.btn-line { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-line:hover { background: var(--navy); color: var(--white); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
}
.link-arrow::after { content: ""; width: 34px; height: 1px; background: currentColor; transition: width .3s; }
.link-arrow:hover::after { width: 54px; }

/* ---------- Cabecera ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  padding: 26px var(--pad-x);
  transition: background .4s, padding .4s, box-shadow .4s;
}
.brand { justify-self: start; display: block; }
.brand img { height: 52px; width: auto; transition: height .4s; }
.brand .brand-dark { display: none; }
.main-nav { display: flex; gap: 42px; }
.main-nav a {
  color: var(--white);
  font-size: 12px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  position: relative; padding: 6px 0;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 26px; }
.lang { color: var(--white); font-size: 12px; letter-spacing: 0.1em; display: flex; gap: 6px; }
.lang a { opacity: .7; }
.lang a.is-active, .lang a:hover { opacity: 1; }
.burger {
  width: 30px; height: 20px; background: none; border: 0; padding: 0; cursor: pointer;
  display: flex; flex-direction: column; justify-content: space-between;
}
.burger span { display: block; height: 2px; background: var(--white); transition: background .4s; }
.burger span:nth-child(2) { width: 70%; margin-left: auto; }

.site-header.scrolled {
  background: rgba(244, 241, 235, .96);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(11, 31, 58, .08);
  padding-top: 14px; padding-bottom: 14px;
}
.site-header.scrolled .brand img { height: 42px; }
.site-header.scrolled .brand-light { display: none; }
.site-header.scrolled .brand-dark { display: block; }
.site-header.scrolled .main-nav a, .site-header.scrolled .lang { color: var(--navy); }
.site-header.scrolled .burger span { background: var(--navy); }
/* Botón Área inversores: sin relleno, solo borde */
.btn-outline { background: transparent; border-color: rgba(255, 255, 255, .85); color: var(--white); }
.btn-outline:hover { background: rgba(255, 255, 255, .12); border-color: var(--white); }
.site-header.scrolled .btn-outline { border-color: var(--navy); color: var(--navy); }
.site-header.scrolled .btn-outline:hover { background: var(--navy); color: var(--white); }

/* ---------- Menú lateral ---------- */
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 100;
  width: min(460px, 92vw);
  background: var(--navy); color: var(--white);
  padding: 96px 56px 48px;
  display: flex; flex-direction: column; gap: 36px; overflow-y: auto;
  transform: translateX(100%);
  transition: transform .55s cubic-bezier(.7, 0, .2, 1);
}
.drawer.open { transform: translateX(0); }
.drawer nav { display: flex; flex-direction: column; gap: 14px; }
.drawer nav a {
  font-family: var(--serif); font-size: 30px; text-transform: uppercase; letter-spacing: 0.03em;
  opacity: .85; transition: opacity .25s, padding .3s;
}
.drawer nav a:hover, .drawer nav a.is-active { opacity: 1; padding-left: 8px; }
.drawer-contact { font-size: 14px; color: var(--mist); }
.drawer-contact p { margin: 4px 0; line-height: 1.6; }
.drawer .btn { align-self: flex-start; }
.drawer-close {
  position: absolute; top: 26px; right: 32px;
  background: none; border: 0; color: var(--white); font-size: 40px; line-height: 1; cursor: pointer;
}
.drawer-backdrop {
  position: fixed; inset: 0; z-index: 90; background: rgba(5, 12, 24, .5);
  opacity: 0; pointer-events: none; transition: opacity .4s;
}
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }

/* ---------- Portada de inicio (pantalla completa) ---------- */
.video-hero {
  position: relative; height: 100vh; height: 100svh; min-height: 560px;
  overflow: hidden; background: var(--navy);
}
.video-hero__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11, 31, 58, .62) 0%, rgba(11, 31, 58, .18) 24%, rgba(11, 31, 58, .06) 55%, rgba(11, 31, 58, .32) 100%);
}
/* Secuencia tipo vídeo: 3 planos de 7 s con movimiento de cámara y fundido */
.kb { position: absolute; inset: 0; overflow: hidden; }
.kb__shot {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; will-change: opacity, transform;
  animation-duration: 21s; animation-timing-function: linear; animation-iteration-count: infinite; animation-fill-mode: both;
  filter: saturate(1.12) contrast(1.06) brightness(1.04);
}
.kb__shot--1 { animation-name: kb-fade, kb-push; animation-delay: -1.5s, -1.5s; }
.kb__shot--2 { animation-name: kb-fade, kb-pan; animation-delay: 5.5s, 5.5s; background-position: 50% 22%; }
.kb__shot--3 { animation-name: kb-fade, kb-tilt; animation-delay: 12.5s, 12.5s; }
@keyframes kb-fade { 0% { opacity: 0; } 7.2% { opacity: 1; } 33.4% { opacity: 1; } 40.5% { opacity: 0; } 100% { opacity: 0; } }
@keyframes kb-push { 0% { transform: scale(1.02); } 40.5% { transform: scale(1.14); } 100% { transform: scale(1.14); } }
@keyframes kb-pan { 0% { transform: scale(1.12) translateX(2.5%); } 40.5% { transform: scale(1.12) translateX(-2.5%); } 100% { transform: scale(1.12) translateX(-2.5%); } }
@keyframes kb-tilt { 0% { transform: scale(1.14) translateY(-3%); } 40.5% { transform: scale(1.06) translateY(2%); } 100% { transform: scale(1.06) translateY(2%); } }

/* ---------- Cabecera de cada página (pantalla completa, como Impar) ---------- */
.page-hero {
  position: relative; height: 100vh; height: 100svh; min-height: 600px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--white); text-align: center; overflow: hidden; background: var(--navy);
  padding: 120px var(--pad-x) 80px;
}
.bg { position: absolute; inset: -6% 0; background-size: cover; background-position: center; will-change: transform; }
.page-hero .bg { animation: hero-zoom 9s var(--ease) both; }
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 31, 58, .55) 0%, rgba(11, 31, 58, .25) 40%, rgba(11, 31, 58, .55) 100%); }
.page-hero > :not(.bg):not(.shade) { position: relative; }
.page-hero .display { font-size: clamp(46px, 8.2vw, 128px); }
.page-hero .hero-sub {
  margin: 26px auto 0; max-width: 640px; font-size: clamp(15px, 1.2vw, 18px); color: rgba(255, 255, 255, .92);
}
/* Variante: texto abajo a la derecha (como Identidad en Impar) */
.page-hero.page-hero--split > .hero-sub {
  position: absolute; right: var(--pad-x); bottom: 70px; margin: 0; max-width: 420px; text-align: left; font-size: 15px;
}
.page-hero .tag {
  display: inline-block; border: 1px solid rgba(255, 255, 255, .8); padding: 8px 16px; margin-bottom: 26px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
}
.page-hero--left { align-items: flex-start; text-align: left; }
.page-hero--left .hero-sub { margin-left: 0; }
.scroll-cue {
  position: absolute !important; left: 50%; bottom: 28px; width: 1px; height: 54px; background: rgba(255, 255, 255, .35); overflow: hidden;
}
.scroll-cue::after {
  content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--white);
  animation: cue 2.2s var(--ease) infinite;
}
@keyframes cue { to { top: 100%; } }

/* ---------- Secciones ---------- */
.section { padding: clamp(90px, 12vw, 170px) var(--pad-x); position: relative; }
.section--paper { background: var(--paper); }
/* Luz de ventana sobre la pared (textura suave como en Impar) */
.section--light {
  background:
    linear-gradient(118deg, transparent 0 18%, rgba(255, 255, 255, .55) 24%, transparent 31% 46%, rgba(255, 255, 255, .45) 52%, transparent 60%),
    linear-gradient(118deg, transparent 0 62%, rgba(0, 0, 0, .025) 70%, transparent 78%),
    var(--paper);
}
.section--navy { background: var(--navy); color: var(--white); }
.section--navy p { color: rgba(255, 255, 255, .86); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.narrow { max-width: 900px; margin: 0 auto; }

/* Banda a pantalla completa con foto de fondo */
.band {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--white); overflow: hidden; padding: 120px var(--pad-x);
}
.band .shade { background: rgba(11, 31, 58, .58); }
.band__content { position: relative; max-width: 820px; }
.band__content p { color: rgba(255, 255, 255, .9); font-size: clamp(15px, 1.2vw, 18px); margin: 26px auto 34px; max-width: 640px; }
.band--left { justify-content: flex-start; text-align: left; }
.band--left .band__content p { margin-left: 0; }

/* Texto + imagen (bloques alternos) */
.split {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center;
  max-width: 1320px; margin: 0 auto;
}
.split--reverse .split__media { order: 2; }
.split__media { position: relative; overflow: hidden; aspect-ratio: 4 / 5; }
.split__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.split:hover .split__media img { transform: scale(1.03); }
.split__text .section-title { font-size: clamp(32px, 3.6vw, 56px); margin-bottom: 28px; }
.split__text p { max-width: 520px; }
.split__num { font-family: var(--serif); font-size: 64px; color: var(--accent-dark); line-height: 1; margin: 0 0 10px; }
.stack > * + * { margin-top: clamp(80px, 10vw, 150px); }

/* Manifiesto (título grande + imagen + texto) */
.manifesto-title { text-align: center; font-size: clamp(34px, 5vw, 76px); max-width: 1200px; margin: 0 auto clamp(60px, 8vw, 110px); }

/* Cifras */
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center;
  background: #0d1420; color: var(--white); padding: clamp(90px, 10vw, 140px) var(--pad-x);
}
.stat-num { font-family: var(--serif); font-size: clamp(64px, 8vw, 120px); line-height: 1; margin: 0; font-weight: 500; }
.stat-num sup { font-size: .45em; vertical-align: top; position: relative; top: .25em; margin-left: 4px; }
.stat-unit { font-size: 13px; letter-spacing: 0.2em; margin: 10px 0 4px; color: var(--mist); }
.stat-label { font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; margin: 0; }

/* Tríptico de imágenes */
.triptych { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 18px; align-items: end; margin-top: clamp(50px, 6vw, 90px); }
.triptych figure { margin: 0; overflow: hidden; }
.triptych img { width: 100%; height: 100%; object-fit: cover; }
.triptych figure:nth-child(1) { aspect-ratio: 3 / 4; }
.triptych figure:nth-child(2) { aspect-ratio: 4 / 5; }
.triptych figure:nth-child(3) { aspect-ratio: 3 / 4; transform: translateY(-50px); }

/* Tarjetas (vehículos, criterios) */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; max-width: 1320px; margin: clamp(50px, 6vw, 80px) auto 0; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--white); padding: 42px 36px; border-top: 2px solid var(--navy);
  display: flex; flex-direction: column; gap: 14px;
}
.section--navy .card { background: rgba(255, 255, 255, .05); border-top-color: var(--accent); }
.card h3 { font-family: var(--serif); font-weight: 500; font-size: 28px; margin: 0; color: var(--navy); line-height: 1.1; }
.section--navy .card h3 { color: var(--white); }
.card p { margin: 0; font-size: 15px; }
.card ul { margin: 6px 0 0; padding-left: 18px; font-size: 14px; line-height: 1.9; }
.card .pill {
  align-self: flex-start; font-size: 10px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  background: var(--accent); color: var(--navy); padding: 6px 10px;
}

/* Ficha técnica / especificaciones */
.specs {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; text-align: center;
  max-width: 1200px; margin: 0 auto; padding: 46px var(--pad-x);
}
.specs dt { font-size: 11px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--slate); }
.specs dd { margin: 10px 0 0; font-family: var(--serif); font-size: 26px; color: var(--navy); }
.sheet { max-width: 900px; margin: 50px auto 0; border-top: 1px solid rgba(11, 31, 58, .2); }
.sheet div { display: grid; grid-template-columns: 260px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid rgba(11, 31, 58, .12); }
.sheet dt { font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate); }
.sheet dd { margin: 0; color: var(--navy); }
.note { font-size: 13px; color: var(--slate); max-width: 900px; margin: 30px auto 0; }

/* ---------- Proyectos ---------- */
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin: 40px 0 clamp(50px, 6vw, 80px); }
.filters button {
  font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 12px 26px; border: 1px solid var(--accent-dark); background: transparent; color: var(--slate);
  cursor: pointer; border-radius: 2px; transition: all .3s;
}
.filters button:hover { border-color: var(--navy); color: var(--navy); }
.filters button.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.projects-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 70px 44px; max-width: 1240px; margin: 0 auto; }
.project { display: block; }
.project[hidden] { display: none; }
.project__img { overflow: hidden; aspect-ratio: 3 / 2; background: var(--accent); }
.project__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.project:hover .project__img img { transform: scale(1.05); }
.project__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 4px 0; }
.project__meta h3 { margin: 0; font-size: 14px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); }
.project__meta span { font-size: 14px; color: var(--slate); }
.projects-grid--3 { grid-template-columns: repeat(3, 1fr); gap: 40px 28px; }

/* Detalle de proyecto */
.detail-info { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; max-width: 1320px; margin: 0 auto; }
.detail-info figure { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; }
.detail-info img { width: 100%; height: 100%; object-fit: cover; }
.detail-info .text { position: sticky; top: 140px; }
.gallery { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; max-width: 1320px; margin: clamp(60px, 7vw, 100px) auto 0; }
.gallery figure { margin: 0; overflow: hidden; aspect-ratio: 4 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.example-flag { font-size: 12px; color: var(--slate); text-align: center; margin: 40px auto 0; letter-spacing: .04em; }

/* ---------- Equipo ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; max-width: 1320px; margin: 0 auto; }
.member__photo {
  aspect-ratio: 4 / 5; background: linear-gradient(160deg, #e7e3db, #d6d0c4); display: grid; place-items: center;
  font-family: var(--serif); font-size: 64px; color: rgba(11, 31, 58, .35);
}
.member h3 { margin: 18px 0 4px; font-size: 15px; font-weight: 500; color: var(--navy); }
.member p { margin: 0; font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--slate); }

/* ---------- Formularios ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 26px; max-width: 900px; margin: 50px auto 0; }
.form .full { grid-column: 1 / -1; }
.form label { display: flex; flex-direction: column; gap: 8px; font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--slate); }
.form input, .form select, .form textarea {
  font: inherit; font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--ink);
  border: 0; border-bottom: 1px solid rgba(11, 31, 58, .3); background: transparent; padding: 10px 2px; border-radius: 0;
}
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-bottom-color: var(--navy); }
.form .check { flex-direction: row; align-items: flex-start; gap: 12px; text-transform: none; letter-spacing: 0; font-size: 13px; font-weight: 300; }
.form .check input { width: 18px; height: 18px; margin-top: 2px; }
.form .check a { text-decoration: underline; }
.form-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.form-msg { font-size: 14px; color: var(--navy); margin: 0; }
.contact-lines { margin-top: 30px; font-size: clamp(15px, 1.2vw, 18px); line-height: 2; }
.contact-lines a { border-bottom: 1px solid rgba(255, 255, 255, .4); }

/* Lista numerada (documentación necesaria) */
.steps { counter-reset: s; list-style: none; padding: 0; max-width: 900px; margin: 40px auto 0; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 70px 1fr; gap: 10px; padding: 22px 0; border-bottom: 1px solid rgba(11, 31, 58, .12); }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--serif); font-size: 30px; color: var(--accent-dark); line-height: 1; }
.steps strong { display: block; font-weight: 500; color: var(--navy); margin-bottom: 4px; }

/* Páginas legales */
.legal { max-width: 860px; margin: 0 auto; }
.legal h2 { font-family: var(--serif); font-weight: 500; font-size: 30px; color: var(--navy); margin: 46px 0 10px; }
.legal p, .legal li { font-size: 15px; }

/* ---------- Pie ---------- */
.site-footer { background: var(--navy); color: var(--white); padding: 90px var(--pad-x) 34px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr 0.8fr; gap: 40px; max-width: 1400px; margin: 0 auto; }
.footer-brand img { width: 170px; height: auto; margin-bottom: 22px; }
.footer-brand p { font-size: 13px; margin: 0; color: var(--mist); line-height: 1.6; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 13px; }
.footer-links.strong { font-weight: 500; letter-spacing: 0.06em; }
.footer-links a { opacity: .85; } .footer-links a:hover { opacity: 1; }
.footer-contact h4 { margin: 0 0 14px; font-size: 12px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; }
.footer-contact p { margin: 0 0 6px; font-size: 13px; color: var(--mist); line-height: 1.6; }
.footer-bottom {
  max-width: 1400px; margin: 70px auto 0; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 12px; color: var(--mist);
}
.footer-bottom p { margin: 0; }

/* WhatsApp */
.whatsapp {
  position: fixed; right: 24px; bottom: 24px; z-index: 40; width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center; background: var(--white); color: var(--navy);
  border: 1px solid rgba(11, 31, 58, .25); box-shadow: 0 6px 20px rgba(0, 0, 0, .12); transition: transform .3s;
}
.whatsapp:hover { transform: translateY(-3px); }

/* ---------- Animaciones de entrada ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .12s; } .reveal.d2 { transition-delay: .24s; } .reveal.d3 { transition-delay: .36s; }
.page-hero .display, .page-hero .hero-sub, .page-hero .tag { animation: rise 1.4s var(--ease) both; }
.page-hero .hero-sub { animation-delay: .25s; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .kb__shot--1 { opacity: 1; }
}

/* ---------- Página 404 ---------- */
.notfound .display { font-size: clamp(90px, 16vw, 220px); }

/* ---------- Adaptación a tablet y móvil ---------- */
@media (max-width: 1180px) {
  .main-nav { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .specs { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
}
@media (max-width: 860px) {
  .header-actions .btn, .lang { display: none; }
  .brand img { height: 44px; }
  .site-header { padding-top: 18px; padding-bottom: 18px; }
  .page-hero.page-hero--split > .hero-sub { position: relative; right: auto; bottom: auto; margin: 26px auto 0; text-align: center; max-width: 520px; }
  .split, .detail-info { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split__media { aspect-ratio: 4 / 3; }
  .detail-info .text { position: static; }
  .stats { grid-template-columns: 1fr; gap: 60px; }
  .cards, .cards--4 { grid-template-columns: 1fr; }
  .triptych { grid-template-columns: 1fr 1fr; }
  .triptych figure:nth-child(2) { grid-column: 1 / -1; order: -1; aspect-ratio: 4 / 3; }
  .triptych figure:nth-child(3) { transform: none; }
  .projects-grid, .projects-grid--3 { grid-template-columns: 1fr; gap: 50px; }
  .gallery { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .sheet div { grid-template-columns: 1fr; gap: 6px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .specs { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .drawer { padding: 84px 32px 40px; }
  .drawer nav a { font-size: 26px; }
  .filters button { padding: 11px 16px; }
}

/* Cabecera corta (páginas legales) */
.page-hero--short { height: 62vh; min-height: 440px; }
.page-hero--short .display { font-size: clamp(40px, 6vw, 88px); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* =========================================================
   Página de inicio: resumen de cada apartado (como Impar)
   ========================================================= */
/* Bloque azul con foto a un lado */
.feature {
  position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden;
  background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 120px var(--pad-x);
}
.feature--deep { background: #12284a; }
.feature__img { position: absolute; top: 0; bottom: 0; right: 0; width: 62%; background-size: cover; background-position: center; }
.feature__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 0%, rgba(11, 31, 58, .55) 38%, rgba(11, 31, 58, .08) 100%); }
.feature--deep .feature__img::after { background: linear-gradient(90deg, #12284a 0%, rgba(18, 40, 74, .55) 38%, rgba(18, 40, 74, .08) 100%); }
.feature--reverse .feature__img { right: auto; left: 0; }
.feature--reverse .feature__img::after { transform: scaleX(-1); }
.feature__content { position: relative; max-width: 760px; }
.feature .display { font-size: clamp(46px, 7.4vw, 112px); }
.feature__sub { margin: 26px 0 0; font-size: 13px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; }
.feature__content p.text { margin: 18px auto 38px; max-width: 520px; color: rgba(255, 255, 255, .88); }

/* Carrusel de proyectos */
.home-projects { background: #0d1420; color: var(--white); padding: clamp(90px, 10vw, 140px) 0; text-align: center; }
.home-projects .display { font-size: clamp(46px, 7vw, 104px); }
.home-projects .feature__sub { margin-bottom: clamp(50px, 6vw, 80px); }
.carousel { position: relative; }
.carousel__track {
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 0 var(--pad-x); scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__item { flex: 0 0 calc((100% - 44px) / 3); scroll-snap-align: start; color: var(--white); }
.carousel__item .project__img { aspect-ratio: 3 / 2; }
.carousel__item h3 { margin: 22px 0 0; font-size: 13px; font-weight: 400; letter-spacing: 0.16em; text-transform: uppercase; }
.carousel__btn {
  position: absolute; top: calc(50% - 40px); z-index: 2; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .6); background: rgba(11, 31, 58, .45); color: var(--white);
  font-size: 22px; cursor: pointer; display: grid; place-items: center; transition: background .3s;
}
.carousel__btn:hover { background: var(--navy); }
.carousel__btn--prev { left: calc(var(--pad-x) / 2); }
.carousel__btn--next { right: calc(var(--pad-x) / 2); }
.home-projects .btn { margin-top: clamp(50px, 6vw, 70px); }

@media (max-width: 860px) {
  .feature__img, .feature--reverse .feature__img { width: 100%; }
  .feature__img::after, .feature--deep .feature__img::after { background: rgba(11, 31, 58, .72); transform: none; }
  .carousel__item { flex-basis: 82%; }
  .carousel__btn { display: none; }
}
