/* NUNDA COINVEST — estilos globales */
:root {
  --navy: #0e2547;
  --navy-2: #163463;
  --navy-ink: #0a1b35;
  --gold: #e5b414;
  --gold-deep: #9a7608;   /* oro para texto sobre claro (contraste AA) */
  --cream: #faf8f3;
  --tint: #f2efe7;
  --white: #ffffff;
  --ink: #1d2433;
  --muted: #5a6273;
  --line: #e2ddd0;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Helvetica Neue", Helvetica, sans-serif;
  --brand: "Montserrat", "Helvetica Neue", Helvetica, sans-serif;
  --wrap: 1180px;
  --radius: 4px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
h1, h2, h3 { font-family: var(--serif); color: var(--navy); line-height: 1.18; margin: 0; font-weight: 600; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 16px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 26px;
  font-family: var(--brand); font-weight: 600; font-size: .82rem;
  letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  border-radius: var(--radius); border: 1.5px solid transparent;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn-gold { background: var(--gold); color: var(--navy-ink); }
.btn-gold:hover { background: #f0c22a; }
.btn-line { border-color: var(--navy); color: var(--navy); }
.btn-line:hover { background: var(--navy); color: #fff; }

.eyebrow {
  font-family: var(--brand); font-weight: 600; font-size: .78rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep);
  display: flex; align-items: center; gap: 12px; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 32px; height: 2px; background: var(--gold); flex: none; }
.eyebrow--gold { color: var(--gold); }

.link-arrow {
  font-family: var(--brand); font-weight: 600; font-size: .82rem; letter-spacing: .06em;
  text-transform: uppercase; text-decoration: none; color: var(--navy);
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  border-bottom: 2px solid var(--gold);
}
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }
.link-arrow--light { color: #fff; }

/* Cabecera */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(250, 248, 243, .94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px rgba(14, 37, 71, .06); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-height: 44px; }
.brand img { width: 34px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; font-family: var(--brand); }
.brand-nunda { font-weight: 700; font-size: 1.32rem; letter-spacing: .06em; color: var(--navy); }
.brand-coinvest { font-weight: 600; font-size: .6rem; letter-spacing: .42em; color: var(--gold-deep); margin-top: 5px; }
.brand--light .brand-nunda { color: #fff; }
.brand--light .brand-coinvest { color: var(--gold); }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 4px; }
.site-nav ul a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px;
  font-family: var(--brand); font-weight: 500; font-size: .84rem; color: var(--ink);
  text-decoration: none; position: relative;
}
.site-nav ul a::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 8px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.site-nav ul a:hover::after, .site-nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav ul a[aria-current="page"] { color: var(--navy); font-weight: 600; }
.nav-cta { min-height: 44px; padding: 0 20px; }

.nav-toggle {
  display: none; width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 6px; padding: 0;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); transition: transform .25s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 56px 0 88px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.9rem); font-weight: 600; letter-spacing: -.01em; }
.hero h1 span { display: block; color: var(--gold-deep); }
.lede { margin-top: 26px; font-size: 1.2rem; color: var(--muted); max-width: 34em; }
.actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }

.hero-visual { position: relative; height: 600px; }
.hero-photo {
  position: absolute; inset: 0 0 0 8%;
  clip-path: polygon(34% 0, 100% 0, 100% 100%, 0 100%, 0 38%);
  overflow: hidden; background: var(--navy);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero-tri {
  position: absolute; left: 0; bottom: -40px; width: 200px; height: 200px;
  background: var(--gold); clip-path: polygon(0 100%, 100% 100%, 50% 18%);
  opacity: .95;
}
.hero-lines {
  position: absolute; left: -40px; bottom: 30px; width: 260px; height: 160px;
  background: repeating-linear-gradient(-32deg, transparent 0 9px, rgba(229, 180, 20, .55) 9px 10px);
  -webkit-mask: linear-gradient(90deg, #000 30%, transparent);
          mask: linear-gradient(90deg, #000 30%, transparent);
  z-index: -1;
}

/* Secciones */
.section { padding: 104px 0; }
.section--tint { background: var(--tint); }
.section--navy { background: var(--navy); color: #d7deea; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
.section-intro { margin-top: 20px; font-size: 1.12rem; color: var(--muted); }
.section-head--row { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.section-head--row .section-intro { margin-top: 0; }
.section-head--light h2 { color: #fff; }
.section-head--light .section-intro { color: #c3cddd; }

/* Propuesta */
.split { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; }
.split-card { background: var(--white); border: 1px solid var(--line); padding: 44px 40px; border-radius: var(--radius); }
.split-card--navy { background: var(--navy); border-color: var(--navy); color: #d7deea; }
.split-label { font-family: var(--brand); font-weight: 600; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); }
.split-card--navy .split-label { color: var(--gold); }
.split-title { font-family: var(--serif); font-weight: 600; font-size: 1.7rem; line-height: 1.2; color: var(--navy); margin: 14px 0 16px; }
.split-card--navy .split-title { color: #fff; }
.split-join {
  align-self: center; width: 56px; height: 56px; margin: 0 -14px; z-index: 1;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--gold); color: var(--navy-ink); font-family: var(--brand); font-weight: 700; font-size: 1.6rem;
}

/* Pilares */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pillar { background: var(--white); padding: 36px 32px 38px; border-top: 4px solid var(--gold); border-radius: 0 0 var(--radius) var(--radius); }
.pillar-num { font-family: var(--brand); font-weight: 600; font-size: .8rem; letter-spacing: .14em; color: var(--gold-deep); }
.pillar h3 { font-size: 1.5rem; margin: 12px 0 12px; }
.pillar p { color: var(--muted); }

.model { margin-top: 72px; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.model h3 { font-size: 1.7rem; margin-bottom: 24px; }
.checks li { position: relative; padding: 12px 0 12px 34px; border-bottom: 1px solid var(--line); }
.checks li::before {
  content: ""; position: absolute; left: 4px; top: 21px; width: 12px; height: 7px;
  border-left: 2px solid var(--gold-deep); border-bottom: 2px solid var(--gold-deep); transform: rotate(-45deg);
}
.model .link-arrow { margin-top: 28px; }
.model-note { background: var(--navy); color: #d7deea; padding: 36px 34px; border-radius: var(--radius); position: relative; overflow: hidden; }
.model-note::after { content: ""; position: absolute; right: -30px; bottom: -30px; width: 110px; height: 110px; background: var(--gold); clip-path: polygon(0 100%, 100% 100%, 100% 0); opacity: .9; }
.model-note-title { font-family: var(--serif); font-weight: 600; font-size: 1.4rem; color: #fff; margin-bottom: 12px; }
.model-note p:last-child { max-width: 30em; position: relative; z-index: 1; }

/* Líneas */
.lines { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.line-card {
  position: relative; display: flex; flex-direction: column; min-height: 240px; padding: 36px 32px;
  text-decoration: none; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: background .25s, border-color .25s, transform .25s;
}
.line-card::before {
  content: ""; position: absolute; right: 0; top: 0; width: 120px; height: 120px;
  background: var(--tint); clip-path: polygon(100% 0, 0 0, 100% 100%); transition: background .25s;
}
.line-num { font-family: var(--serif); font-weight: 600; font-size: 3.6rem; line-height: 1; color: var(--gold); position: relative; }
.line-card h3 { font-size: 1.6rem; margin-top: auto; padding-top: 40px; }
.line-more { margin-top: 18px; font-family: var(--brand); font-weight: 600; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); }
.line-more::after { content: " →"; }
a.line-card:hover { background: var(--navy); border-color: var(--navy); transform: translateY(-4px); }
a.line-card:hover h3 { color: #fff; }
a.line-card:hover .line-more { color: var(--gold); }
a.line-card:hover::before { background: var(--gold); }

/* Trayectoria */
.stats { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
.stats > div { padding: 34px 24px; border-left: 1px solid rgba(255,255,255,.18); display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 10px; }
.stats > div:first-child { border-left: 0; padding-left: 0; }
.stats dt { font-family: var(--brand); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: #aebad0; }
.stats dd { margin: 0; font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1; color: var(--gold); }
.stats-note { margin-top: 18px; font-size: .92rem; color: #aebad0; max-width: 52em; }

.archive { margin-top: 72px; }
.archive-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 24px; flex-wrap: wrap; }
.archive-title { font-family: var(--serif); font-weight: 600; font-size: 1.6rem; color: #fff; }
.archive-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.archive-strip figure { margin: 0; }
.archive-strip img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; filter: saturate(.85); transition: filter .3s; }
.archive-strip li:hover img { filter: saturate(1); }
.archive-strip figcaption { margin-top: 12px; font-family: var(--brand); font-weight: 500; font-size: .8rem; letter-spacing: .04em; color: #fff; padding-left: 12px; border-left: 2px solid var(--gold); }
.archive-credit { margin-top: 20px; font-size: .85rem; font-style: italic; color: #aebad0; }

/* Equipo */
.team-teaser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.team-teaser .section-head { margin-bottom: 0; }
.team-teaser .btn { margin-top: 32px; }
.areas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.areas li { background: var(--cream); padding: 28px 24px; font-family: var(--serif); font-weight: 600; font-size: 1.12rem; color: var(--navy); line-height: 1.3; position: relative; }
.areas li::before { content: ""; display: block; width: 24px; height: 3px; background: var(--gold); margin-bottom: 14px; }

/* CTA */
.cta { background: var(--gold); padding: 72px 0; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 34%; background: rgba(255,255,255,.18); clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; position: relative; z-index: 1; }
.cta h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); color: var(--navy-ink); }
.cta p { margin-top: 12px; color: var(--navy-ink); font-size: 1.1rem; max-width: 36em; }

/* Pie */
.site-footer { background: var(--navy-ink); color: #aebad0; padding: 72px 0 32px; font-size: .95rem; }
.footer-grid { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand p { margin-top: 20px; max-width: 30em; }
.footer-nav { display: grid; grid-template-columns: repeat(2, auto); gap: 4px 48px; }
.footer-nav a { color: #fff; text-decoration: none; display: inline-flex; min-height: 40px; align-items: center; }
.footer-nav a:hover { color: var(--gold); }
.footer-legal { padding-top: 28px; display: flex; justify-content: space-between; gap: 32px; font-size: .84rem; color: #8e9ab2; }
.footer-legal p:first-child { max-width: 62em; }

/* Animación de entrada */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ---------- Páginas interiores ---------- */
.btn-line-light { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-line-light:hover { background: #fff; color: var(--navy); }
.section--navy .actions { margin-top: 32px; }
.section--tight { padding-top: 64px; }

.page-hero { padding: 72px 0 64px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; right: 0; top: 0; width: 220px; height: 100%;
  background: repeating-linear-gradient(-32deg, transparent 0 11px, rgba(229, 180, 20, .35) 11px 12px);
  -webkit-mask: linear-gradient(270deg, #000 10%, transparent); mask: linear-gradient(270deg, #000 10%, transparent);
  pointer-events: none;
}
.page-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.5rem); max-width: 18em; text-wrap: balance; }
.page-hero .lede { max-width: 40em; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 56px; align-items: center; position: relative; z-index: 1; }
.history-note {
  margin-top: 28px; max-width: 46em; font-size: .95rem; color: var(--ink);
  padding: 14px 18px; background: var(--tint); border-left: 3px solid var(--gold);
}
.portrait { margin: 0; justify-self: end; position: relative; max-width: 360px; width: 100%; }
.portrait img { width: 100%; border-radius: var(--radius); }
.portrait::before { content: ""; position: absolute; left: -18px; bottom: -18px; width: 120px; height: 120px; background: var(--gold); clip-path: polygon(0 100%, 100% 100%, 0 0); z-index: -1; }

.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 64px; align-items: start; }
.two-col .section-head { margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 24px); }
.prose { display: flex; flex-direction: column; gap: 18px; max-width: 42em; min-width: 0; }
.prose strong { color: var(--navy); font-weight: 600; }
.inline-figure { margin: 16px 0 0; }
.inline-figure figcaption { margin-top: 10px; font-size: .9rem; color: var(--muted); font-style: italic; }

.letter { margin: 0; max-width: 46em; background: var(--white); padding: 48px 52px; border-top: 4px solid var(--gold); display: flex; flex-direction: column; gap: 18px; font-family: var(--serif); font-size: 1.18rem; line-height: 1.6; color: var(--ink); }
.letter-sign { margin-top: 10px; font-weight: 600; color: var(--navy); font-size: 1.3rem; }

.team-group { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 40px; padding: 40px 0; border-top: 1px solid var(--line); }
.team-group:first-child { border-top: 0; padding-top: 0; }
.team-group-title { font-family: var(--brand); font-weight: 600; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); line-height: 1.5; }
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.person { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 28px 30px; min-width: 0; }
.person h3 { font-size: 1.35rem; }
.person-role { margin: 6px 0 14px; font-family: var(--brand); font-weight: 500; font-size: .82rem; color: var(--muted); }
.person p:last-child { color: var(--ink); }
.person-list { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; font-size: .97rem; }
.person-list strong { color: var(--navy); }

.figures { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.18); }
.figures > div { padding: 30px 28px 30px 0; border-bottom: 1px solid rgba(255,255,255,.18); display: flex; flex-direction: column; gap: 10px; }
.figures > div:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.18); }
.figures dd { margin: 0; font-family: var(--serif); font-weight: 600; font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1; color: var(--gold); font-variant-numeric: tabular-nums; }
.figures dt { color: #c3cddd; font-size: .98rem; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.data-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.data-table th, .data-table td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table thead th { background: var(--navy); color: #fff; font-family: var(--brand); font-weight: 600; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; }
.data-table tbody th { font-family: var(--serif); font-weight: 600; color: var(--navy); width: 32%; }
.data-table tbody tr:nth-child(even) { background: var(--cream); }
.data-table tbody tr:last-child th, .data-table tbody tr:last-child td { border-bottom: 0; }
.table-note { margin: 18px 0 28px; color: var(--muted); max-width: 52em; }

.promo-group { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 4fr); gap: 40px; padding: 40px 0; border-top: 1px solid var(--line); }
.promo-group:first-child { border-top: 0; padding-top: 0; }
.count { display: inline-grid; place-items: center; min-width: 26px; height: 26px; margin-left: 8px; border-radius: 13px; background: var(--navy); color: #fff; font-size: .72rem; letter-spacing: 0; }
.promo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
.promo { margin: 0; }
.promo-img { display: block; overflow: hidden; border-radius: var(--radius); background: var(--tint); }
.promo-img img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; transition: transform .5s ease; }
.promo-img:hover img { transform: scale(1.03); }
.promo figcaption { margin-top: 14px; display: flex; flex-direction: column; gap: 2px; padding-left: 14px; border-left: 3px solid var(--gold); }
.promo-name { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; color: var(--navy); line-height: 1.25; }
.promo-city { font-family: var(--brand); font-size: .8rem; letter-spacing: .04em; color: var(--muted); }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10, 27, 53, .92); display: grid; place-items: center; padding: 56px 16px 24px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1100px, 100%); }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: var(--radius); }
.lightbox figcaption { margin-top: 12px; color: #fff; text-align: center; font-family: var(--brand); font-size: .9rem; }
.lightbox-close { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 8px); right: 12px; width: 48px; height: 48px; border: 0; background: transparent; color: #fff; font-size: 2.2rem; line-height: 1; cursor: pointer; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.contact-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label, .choice legend { font-family: var(--brand); font-weight: 600; font-size: .8rem; letter-spacing: .04em; color: var(--navy); }
.opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: var(--cream); border: 1px solid #cfc8b8; border-radius: var(--radius);
  padding: 12px 14px; min-height: 48px; width: 100%;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--navy); }
.field.has-error input { border-color: #b3261e; }
.choice { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.choice legend { margin-bottom: 10px; padding: 0; }
.choice-opt { flex: 1 1 200px; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 16px; border: 1px solid #cfc8b8; border-radius: var(--radius); cursor: pointer; background: var(--cream); }
.choice-opt:has(input:checked) { border-color: var(--navy); background: var(--white); box-shadow: inset 0 0 0 1px var(--navy); }
.choice-opt input, .consent input { accent-color: var(--navy); width: 18px; height: 18px; flex: none; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--muted); }
.consent input { margin-top: 4px; }
.contact-form .btn { align-self: flex-start; cursor: pointer; }
.form-status { font-size: .95rem; color: var(--navy); }
.form-status.is-error { color: #b3261e; }
.contact-aside { background: var(--navy); color: #d7deea; padding: 36px 34px; border-radius: var(--radius); }
.checks--light li { border-color: rgba(255,255,255,.16); }
.checks--light li::before { border-color: var(--gold); }
.aside-note { margin-top: 24px; font-size: .92rem; color: #aebad0; }

/* Juan Parada: datos y cronología */
.stats--five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.stats--five dd { font-size: clamp(1.8rem, 2.8vw, 2.5rem); }
.founder-grid { margin-top: 64px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.milestones { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.milestones li { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 20px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.milestones li:first-child { padding-top: 0; }
.ms-year { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; color: var(--gold); line-height: 1.3; font-variant-numeric: tabular-nums; }
.milestones p { color: #d7deea; }
.founder-photo { margin: 0; position: relative; }
.founder-photo img { width: 100%; border-radius: var(--radius); }
.founder-photo::before { content: ""; position: absolute; right: -16px; top: -16px; width: 110px; height: 110px; background: var(--gold); clip-path: polygon(0 0, 100% 0, 100% 100%); z-index: 0; }
.founder-photo img { position: relative; z-index: 1; }
.founder-photo figcaption { margin-top: 12px; font-size: .9rem; font-style: italic; color: #aebad0; }

/* ---------- Landings (oficinas y futuras) ---------- */
.site-header--landing .nav-cta { display: inline-flex; }
.footer-legal-link { color: #fff; }
.footer-legal-link:hover { color: var(--gold); }

.lp-facts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.lp-facts li { display: flex; flex-direction: column; gap: 2px; padding: 12px 18px; background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: var(--radius); }
.lp-facts strong { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; color: var(--navy); line-height: 1.2; }
.lp-facts span { font-size: .85rem; color: var(--muted); }
.lp-hero-visual { height: 520px; }

.photo-slot {
  display: grid; place-items: center; text-align: center; min-height: 220px;
  background: repeating-linear-gradient(-45deg, var(--tint) 0 14px, #ebe6da 14px 15px);
  border: 1.5px dashed #c9bfa8; border-radius: var(--radius); color: var(--muted);
}
.hero-photo.photo-slot { border: 0; border-radius: 0; background: repeating-linear-gradient(-45deg, #e9e3d4 0 14px, #ddd5c2 14px 15px); }
.photo-slot-label { font-family: var(--brand); font-weight: 600; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); line-height: 1.6; padding: 16px; }
.photo-slot-label small { font-family: var(--sans); font-weight: 400; font-size: .95rem; letter-spacing: 0; text-transform: none; color: var(--muted); }
.photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.photo-grid .photo-slot { aspect-ratio: 4 / 5; min-height: 0; }

.rooms { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.room { background: var(--white); border-top: 4px solid var(--gold); padding: 26px 22px; display: flex; flex-direction: column; gap: 6px; border-radius: 0 0 var(--radius) var(--radius); }
.room-qty { font-family: var(--serif); font-weight: 600; font-size: 2.6rem; line-height: 1; color: var(--navy); font-variant-numeric: tabular-nums; }
.room-name { font-family: var(--brand); font-weight: 600; font-size: .9rem; color: var(--ink); }

.audience { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(255,255,255,.18); }
.audience article { padding: 32px 28px 8px 0; }
.audience article + article { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.18); }
.audience h3 { color: var(--gold); font-size: 1.4rem; margin-bottom: 10px; }
.audience p { color: #d7deea; }

.lp-form-intro { min-width: 0; }
.lp-form-intro h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.lp-form-intro .checks { margin-top: 28px; }
.field-error { margin: 0; font-size: .88rem; color: #b3261e; min-height: 0; }
.field-error:empty { display: none; }
.field.has-error input { border-color: #b3261e; }
.contact-form .consent { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; align-items: start; }
.contact-form .consent input { margin-top: 4px; }
.contact-form .consent label { font-size: .95rem; color: var(--ink); cursor: pointer; }
.contact-form .consent .field-error { grid-column: 2; }
.consent.has-error input { outline: 2px solid #b3261e; outline-offset: 2px; }
.turnstile-box { min-height: 65px; }
.contact-form button[disabled] { opacity: .7; cursor: progress; }
.form-status:empty { display: none; }
.form-status { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: var(--radius); background: var(--tint); }
.form-status.is-error { background: #fbeceb; color: #8c1d18; }
.btn-small { min-height: 44px; padding: 0 18px; font-size: .76rem; }
.contact-form .form-status .btn { align-self: flex-start; }

.thanks { padding: 96px 0 104px; }
.thanks .lede { font-size: 1.3rem; color: var(--ink); max-width: 36em; }
.thanks .actions { margin-top: 36px; }

/* ---------- Protección de datos ---------- */
.rgpd { border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream); font-size: .86rem; color: var(--muted); }
.rgpd summary { cursor: pointer; padding: 12px 14px; min-height: 44px; display: flex; align-items: center; font-family: var(--brand); font-weight: 600; font-size: .78rem; color: var(--navy); }
.rgpd dl { margin: 0; padding: 0 14px 14px; display: flex; flex-direction: column; gap: 8px; }
.rgpd dl > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 10px; }
.rgpd dt { font-weight: 600; color: var(--ink); }
.rgpd dd { margin: 0; }

.legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 24px); }
.legal-toc ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 2px; font-size: .95rem; }
.legal-toc a { display: inline-flex; min-height: 36px; align-items: center; color: var(--ink); text-decoration: none; }
.legal-toc a:hover { color: var(--navy); text-decoration: underline; }
.legal-body { max-width: 46em; display: flex; flex-direction: column; gap: 40px; min-width: 0; }
.legal-body section { display: flex; flex-direction: column; gap: 14px; scroll-margin-top: calc(var(--header-h) + 16px); }
.legal-body h2 { font-size: 1.5rem; }
.legal-body ul { list-style: disc; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.legal-data { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.legal-data > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.legal-data > div:last-child { border-bottom: 0; }
.legal-data dt { font-family: var(--brand); font-weight: 600; font-size: .8rem; color: var(--muted); padding-top: 3px; }
.legal-data dd { margin: 0; color: var(--ink); }
.pending { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 10px; background: #fdf0c4; color: #6b5205; font-family: var(--brand); font-weight: 600; font-size: .72rem; letter-spacing: .02em; vertical-align: middle; }
.pending-block { padding: 14px 18px; background: #fdf6dc; border-left: 3px solid var(--gold); color: var(--ink); }
.legal-updated { font-size: .88rem; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .site-nav ul a { padding: 0 7px; font-size: .8rem; }
  .site-nav { gap: 16px; }
}

@media (max-width: 980px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--cream);
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 24px;
    padding: 24px 24px 40px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { width: 100%; min-height: 56px; font-size: 1.15rem; padding: 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-weight: 600; color: var(--navy); }
  .site-nav ul a::after { left: 0; right: auto; width: 32px; bottom: -1px; }
  .nav-cta { min-height: 52px; }
  body.nav-open { overflow: hidden; }

  .hero { padding: 32px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { height: 420px; order: -1; }
  .hero-photo { inset: 0; clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%, 0 30%); }
  .hero-tri { width: 130px; height: 130px; bottom: -20px; left: -10px; }

  .section { padding: 80px 0; }
  .section-head--row { grid-template-columns: 1fr; gap: 0; }
  .section-head--row .section-intro { margin-top: 20px; }
  .split { grid-template-columns: 1fr; }
  .split-join { margin: -14px auto; }
  .pillars, .lines { grid-template-columns: 1fr; }
  .line-card { min-height: 220px; }
  .model { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .stats > div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.18); }
  .archive-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-teaser { grid-template-columns: 1fr; gap: 40px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .stats--five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .legal { grid-template-columns: 1fr; gap: 32px; }
  .legal-toc { position: static; }
  .lp-hero-visual { height: 340px; }
  .rooms { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .audience { grid-template-columns: 1fr; }
  .audience article, .audience article + article { padding: 24px 0; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .stats--five > div:nth-child(5) { grid-column: 1 / -1; border-left: 0; padding-left: 0; }
  .founder-grid { grid-template-columns: 1fr; gap: 48px; }
  .founder-photo { margin-right: 16px; }
  .page-hero { padding: 48px 0; }
  .page-hero-grid, .two-col, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .portrait { justify-self: start; max-width: 300px; margin-left: 18px; }
  .two-col .section-head { position: static; }
  .team-group, .promo-group { grid-template-columns: 1fr; gap: 20px; }
  .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .figures > div, .figures > div:not(:nth-child(3n+1)) { padding: 24px 20px 24px 0; border-left: 0; }
  .figures > div:nth-child(even) { padding-left: 20px; border-left: 1px solid rgba(255,255,255,.18); }
}

@media (max-width: 560px) {
  :root { --header-h: 68px; }
  .wrap { padding: 0 16px; }
  body { font-size: 1rem; }
  .brand-nunda { font-size: 1.15rem; }
  .brand img { width: 30px; }
  .hero-visual { height: 340px; }
  .lede { font-size: 1.08rem; }
  .actions .btn { width: 100%; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 40px; }
  .split-card { padding: 32px 24px; }
  .pillar { padding: 28px 24px; }
  .model-note { padding: 28px 24px; }
  .stats > div { padding: 24px 12px; }
  .stats > div:nth-child(odd) { padding-left: 0; }
  .archive-strip { gap: 12px; }
  .areas { grid-template-columns: 1fr; }
  .areas li { padding: 22px 20px; }
  .cta { padding: 56px 0; }
  .cta .btn { width: 100%; }
  .footer-legal { flex-direction: column; gap: 16px; }
  .footer-nav { grid-template-columns: 1fr; }
  .team-grid, .promo-grid, .field-row { grid-template-columns: 1fr; }
  .letter { padding: 32px 24px; font-size: 1.08rem; }
  .contact-form { padding: 28px 20px; }
  .contact-form .btn { align-self: stretch; }
  .contact-aside { padding: 28px 24px; }
  .page-hero::after { width: 120px; }
  .milestones li { grid-template-columns: 1fr; gap: 4px; }
  .rooms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .room:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .rgpd dl > div, .legal-data > div { grid-template-columns: 1fr; gap: 2px; }
  .site-header--landing .nav-cta { padding: 0 14px; font-size: .72rem; }
  .lp-hero-visual { height: 260px; }
  .thanks { padding: 64px 0 72px; }
}
