/* 01-tokens.css */
/* =========================================================================
   Grupo CCP — Tokens de diseño
   Concepto: bandas alternas azul marino / blanco con filetes dorados,
   fotografía arquitectónica y tarjetas con icono circular.
   Paleta corporativa fija (identidad de marca): no cambia con el modo oscuro.
   ========================================================================= */

:root {
  /* Color de marca */
  --navy-950: #071430;
  --navy-900: #0B1E3F;
  --navy-800: #13294F;
  --steel:    #3D6496;   /* barra azul del logotipo */
  --gold:     #C49A3A;   /* barra dorada del logotipo: fondos, filetes y texto sobre azul */
  --gold-lt:  #E2C068;
  --gold-ink: #85621A;   /* dorado para TEXTO sobre fondos claros (contraste AA 5,6:1) */
  --teal:     #145A5C;
  --green:    #1E6B4F;

  /* Neutros con sesgo azul */
  --ink:      #0E1B33;
  --muted:    #55627A;
  --mist:     #EEF2F7;
  --line:     #D9E0EA;
  --paper:    #FFFFFF;
  --on-navy:  #E7ECF4;
  --on-navy-muted: #A9B6CB;

  /* Tipografía */
  --font-display: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --fs-xs: 0.78rem;
  --fs-sm: 0.9rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.2rem;
  --fs-h3: 1.125rem;
  --fs-h2: clamp(1.55rem, 1.1rem + 1.6vw, 2.25rem);
  --fs-h1: clamp(2.2rem, 1.3rem + 3.6vw, 4.1rem);
  --fs-h1-int: clamp(2rem, 1.3rem + 2.6vw, 3.2rem);

  /* Espaciado y forma */
  --gutter: 16px;
  --section-y: clamp(4rem, 3rem + 4vw, 7rem);
  --radius: 14px;
  --header-h: 72px;
  --shadow: 0 1px 2px rgba(11, 30, 63, .06), 0 8px 24px rgba(11, 30, 63, .08);
  --shadow-hover: 0 2px 4px rgba(11, 30, 63, .08), 0 18px 40px rgba(11, 30, 63, .16);
  --ease: cubic-bezier(.22, .61, .36, 1);

  color-scheme: light;
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

/* 02-base.css */
/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before { /* franja superior en teléfonos con notch */
  content: ""; position: fixed; inset: 0 0 auto; z-index: 60;
  height: env(safe-area-inset-top, 0px); background: var(--navy-950);
}
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0; text-wrap: balance; color: inherit; }
p { margin: 0; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--navy-950); padding: .6rem 1rem; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

.ico {
  width: 1.4em; height: 1.4em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}

/* Tipografía utilitaria */
.eyebrow {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--steel);
}
.eyebrow-gold { color: var(--gold-ink); }
.on-navy .eyebrow-gold, .eyebrow-gold.on-dark { color: var(--gold); }
.h2 { font-size: var(--fs-h2); font-weight: 700; color: var(--navy-900); letter-spacing: -.01em; }
.lead-text { font-size: var(--fs-lg); color: var(--muted); line-height: 1.65; max-width: 60ch; }

/* 03-layout.css */
/* ---------- Estructura general ---------- */
.wrap {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.section { padding-block: var(--section-y); }
.section-mist { background: var(--mist); border-top: 1px solid var(--line); }
.section-head { display: grid; gap: .9rem; max-width: 46rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem); }
.section-foot { margin-top: clamp(2rem, 1.5rem + 1.5vw, 2.75rem); display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- Encabezado ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(7, 20, 48, .94);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(196, 154, 58, .25);
  color: var(--on-navy);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); position: relative; }

.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--paper); }
.brand-bars { width: 38px; height: 40px; flex: none; }
.brand-text { display: grid; line-height: 1; }
.brand-word { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; letter-spacing: .01em; }
.brand-sub { font-family: var(--font-display); font-size: .6rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--on-navy-muted); margin-top: .3rem; }

/* ---------- Pie de página ---------- */
.site-footer { background: var(--navy-950); color: var(--on-navy-muted); padding-block: 3.5rem 2rem; border-top: 1px solid rgba(196, 154, 58, .25); }
.footer-inner { display: grid; gap: 2.25rem; }
@media (min-width: 900px) { .footer-inner { grid-template-columns: 1.1fr 1fr 1fr; align-items: start; } }
.footer-brand { display: grid; gap: 1rem; justify-items: start; }
.footer-motto { font-family: var(--font-display); font-size: var(--fs-xs); letter-spacing: .18em; text-transform: uppercase; }
.footer-col { display: grid; gap: .8rem; align-content: start; }
.footer-title { font-family: var(--font-display); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.footer-links { display: grid; gap: .45rem; }
.footer-links a { text-decoration: none; font-size: .93rem; color: var(--on-navy); }
.footer-links a:hover { color: var(--gold-lt); text-decoration: underline; text-underline-offset: 3px; }
.footer-mail { font-weight: 600; color: var(--paper); text-decoration: none; overflow-wrap: anywhere; }
.footer-mail:hover { color: var(--gold-lt); }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; margin-top: 2.75rem; padding-top: 1.5rem; border-top: 1px solid rgba(231, 236, 244, .12); font-size: .85rem; }

/* 04-navegacion.css */
/* ---------- Navegación principal ---------- */
.nav { display: flex; align-items: center; }
.nav-list { display: flex; align-items: center; gap: 1.6rem; }
.nav-link {
  text-decoration: none; font-size: .93rem; font-weight: 500; color: var(--on-navy);
  padding-block: .4rem; background: linear-gradient(var(--gold), var(--gold)) no-repeat left bottom / 0 2px;
  transition: background-size .3s var(--ease), color .2s;
}
.nav-link:hover, .nav-link[aria-current="page"] { background-size: 100% 2px; color: var(--paper); }

.nav-item-sub { position: relative; }
.nav-sub-row { display: flex; align-items: center; gap: .2rem; }
.sub-toggle {
  display: inline-grid; place-items: center; width: 28px; height: 28px; padding: 0;
  background: none; border: 0; border-radius: 6px; color: var(--on-navy); cursor: pointer;
}
.sub-toggle .ico { width: 1rem; height: 1rem; transition: transform .25s var(--ease); }
.sub-toggle[aria-expanded="true"] .ico { transform: rotate(180deg); }
.sub-toggle:hover { color: var(--gold-lt); }

.nav-sub {
  position: absolute; top: calc(100% + 18px); right: -1rem;
  width: min(620px, calc(100vw - 32px));
  background: var(--paper); color: var(--ink);
  border-radius: var(--radius); box-shadow: 0 24px 60px rgba(7, 20, 48, .35);
  padding: 1.1rem; border-top: 3px solid var(--gold);
}
.nav-sub-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .15rem; }
.nav-sub-link {
  display: flex; align-items: center; gap: .75rem; padding: .6rem .7rem; border-radius: 10px;
  text-decoration: none; font-size: .92rem; font-weight: 600; color: var(--navy-900);
  transition: background-color .2s var(--ease);
}
.nav-sub-link .sub-ico {
  width: 2.1rem; height: 2.1rem; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--navy-900); color: var(--paper); transition: background-color .2s var(--ease), color .2s var(--ease);
}
.nav-sub-link .sub-ico .ico { width: 1.05rem; height: 1.05rem; }
.nav-sub-link:hover, .nav-sub-link[aria-current="page"] { background: var(--mist); }
.nav-sub-link:hover .sub-ico { background: var(--gold); color: var(--navy-950); }
.nav-sub-all {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  margin-top: .7rem; padding: .8rem .9rem .2rem; border-top: 1px solid var(--line);
  font-family: var(--font-display); font-size: .85rem; font-weight: 600; color: var(--steel); text-decoration: none;
}
.nav-sub-all .ico { width: 1.1rem; height: 1.1rem; }
.nav-sub-all:hover { color: var(--navy-900); }

.nav-cta { margin-left: .4rem; }

.nav-toggle {
  display: none; background: none; border: 1px solid rgba(231, 236, 244, .3); color: var(--paper);
  width: 44px; height: 44px; border-radius: 10px; align-items: center; justify-content: center; cursor: pointer;
}

/* ---------- Navegación en teléfono y tableta ---------- */
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    display: block;
    max-height: calc(100dvh - var(--header-h) - env(safe-area-inset-top, 0px));
    overflow-y: auto; overscroll-behavior: contain;
    background: var(--navy-950);
    padding: .5rem max(var(--gutter), env(safe-area-inset-right, 0px)) 1.5rem max(var(--gutter), env(safe-area-inset-left, 0px));
    border-bottom: 1px solid rgba(196, 154, 58, .25);
  }
  /* Sin JavaScript el menú queda visible; con JavaScript se pliega */
  .js .nav:not(.is-open) { display: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid rgba(231, 236, 244, .1); }
  .nav-link { display: block; padding: .9rem 0; background: none; font-size: 1rem; }
  .nav-link[aria-current="page"] { color: var(--gold-lt); }
  .nav-sub-row { justify-content: space-between; }
  .nav-sub-row .nav-link { flex: 1; }
  .sub-toggle { width: 44px; height: 44px; border: 1px solid rgba(231, 236, 244, .2); }
  .nav-sub {
    position: static; transform: none; width: auto; box-shadow: none;
    background: transparent; color: var(--on-navy); padding: 0 0 .9rem; border-top: 0;
  }
  .nav-sub-grid { grid-template-columns: 1fr; }
  .nav-sub-link { color: var(--on-navy); font-weight: 500; padding: .55rem .2rem; }
  .nav-sub-link .sub-ico { background: var(--navy-800); }
  .nav-sub-link:hover, .nav-sub-link[aria-current="page"] { background: rgba(231, 236, 244, .06); }
  .nav-sub-all { color: var(--gold-lt); border-top-color: rgba(231, 236, 244, .1); padding-inline: .2rem; }
  .nav-sub-all:hover { color: var(--paper); }
  .nav-list > li.nav-item-cta { border-bottom: 0; padding-top: 1.1rem; }
  .nav-cta { margin-left: 0; display: flex; justify-content: center; }
}

/* 05-componentes.css */
/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  padding: .9rem 1.4rem; border-radius: 999px; text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .25s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.btn .ico { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease); }
.btn:hover .ico-arrow { transform: translateX(3px); }
.btn-gold { background: var(--gold); color: var(--navy-950); }
.btn-gold:hover { background: var(--gold-lt); }
.btn-ghost { border-color: rgba(231, 236, 244, .45); color: var(--on-navy); background: transparent; }
.btn-ghost:hover { border-color: var(--gold-lt); color: var(--paper); }
.btn-outline { border-color: var(--line); color: var(--navy-900); background: var(--paper); }
.btn-outline:hover { border-color: var(--navy-900); }
.btn-sm { padding: .55rem 1.1rem; font-size: .88rem; }

/* ---------- Encabezado de página interior ---------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 120% at 90% 0%, var(--navy-800) 0%, var(--navy-900) 50%, var(--navy-950) 100%);
  color: var(--on-navy);
}
.page-hero::after { /* filete dorado inferior */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--gold);
}
.page-hero-media {
  position: absolute; inset: 0 0 0 auto; width: 46%; z-index: -1; opacity: .5;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 60%);
          mask-image: linear-gradient(to right, transparent 0%, #000 60%);
}
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; }
.page-hero-inner { padding-block: clamp(2.75rem, 2rem + 3vw, 4.5rem) clamp(3rem, 2rem + 3.5vw, 5rem); display: grid; gap: 1.1rem; }
.page-hero-inner > * { max-width: 46rem; }
.page-hero h1 { font-size: var(--fs-h1-int); font-weight: 700; color: var(--paper); letter-spacing: -.015em; line-height: 1.1; }
.page-hero .lead-text { color: var(--on-navy); }
@media (max-width: 720px) { .page-hero-media { width: 100%; opacity: .22; -webkit-mask-image: none; mask-image: none; } }

/* ---------- Migas de pan ---------- */
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .35rem; font-size: .85rem; color: var(--on-navy-muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: .35rem; color: var(--gold); }
.breadcrumbs a { color: var(--on-navy); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Metodología y atributos ---------- */
.method { border-top: 1px solid var(--line); padding-top: 1.4rem; display: grid; gap: 1rem; }
.method-label { font-family: var(--font-display); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.method-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; counter-reset: paso; }
@media (min-width: 560px) and (max-width: 959px) { .method-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.method-steps li {
  counter-increment: paso; position: relative;
  font-family: var(--font-display); font-weight: 600; font-size: .92rem; color: var(--navy-900);
  padding: .85rem .9rem; background: var(--mist); border-radius: 10px; line-height: 1.25;
}
.method-steps li::before {
  content: counter(paso, decimal-leading-zero); display: block;
  font-size: .72rem; color: var(--gold-ink); letter-spacing: .1em; margin-bottom: .35rem;
}
.section-mist .method-steps li { background: var(--paper); }
.traits { display: flex; flex-wrap: wrap; gap: .5rem; }
.traits li {
  font-size: var(--fs-sm); font-weight: 500; color: var(--navy-800);
  padding: .4rem .85rem; border: 1px solid var(--line); border-radius: 999px; background: var(--paper);
}

/* ---------- Pilares ---------- */
.pillars { display: grid; gap: .25rem; background: var(--paper); border-radius: var(--radius); padding: .5rem 1.5rem; box-shadow: var(--shadow); }
.pillar { display: flex; align-items: center; gap: 1.1rem; padding: 1.15rem 0; }
.pillar + .pillar { border-top: 1px solid var(--line); }
.pillar-icon {
  width: 3.4rem; height: 3.4rem; border-radius: 50%; display: grid; place-items: center; flex: none;
  color: var(--paper); box-shadow: inset 0 0 0 4px rgba(255, 255, 255, .18);
  transition: transform .35s var(--ease);
}
.tone-steel { background: var(--steel); }
.tone-gold  { background: var(--gold); }
.tone-teal  { background: var(--teal); }
.tone-green { background: var(--green); }
.pillar:hover .pillar-icon { transform: rotate(-8deg) scale(1.06); }
.pillar h3 { font-size: var(--fs-h3); font-weight: 700; color: var(--navy-900); letter-spacing: .04em; text-transform: uppercase; }
.pillar p { color: var(--muted); font-size: .98rem; }

/* ---------- Tarjeta de unidad ---------- */
.units-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 600px) { .units-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .units-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* Si en el futuro hay 9 unidades, la grilla pasa sola a 3 columnas */
@media (min-width: 900px) { .units-grid:has(> .unit:nth-child(9)):not(:has(> .unit:nth-child(10))) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.unit {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.unit::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.unit:hover, .unit:focus-within { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: transparent; }
.unit:hover::after, .unit:focus-within::after { transform: scaleX(1); }
.unit-photo { aspect-ratio: 3 / 2; overflow: hidden; background: var(--navy-900); max-width: 100%; }
.unit-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.unit:hover .unit-photo img { transform: scale(1.06); }
.unit-icon {
  width: 3.25rem; height: 3.25rem; border-radius: 50%;
  display: grid; place-items: center; margin: -1.65rem auto 0; position: relative; z-index: 1;
  background: var(--navy-900); color: var(--paper);
  box-shadow: 0 0 0 4px var(--paper);
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
.unit:hover .unit-icon { background: var(--gold); color: var(--navy-950); }
.unit-body { display: grid; gap: .55rem; padding: .9rem 1.35rem 1rem; text-align: center; flex: 1; align-content: start; }
.unit-body h3 { font-size: 1.06rem; font-weight: 700; color: var(--navy-900); }
.unit-prefix { display: block; font-size: .78rem; letter-spacing: .2em; color: var(--gold-ink); margin-bottom: .2rem; }
.unit-body p { color: var(--muted); font-size: .96rem; line-height: 1.55; }
.unit-link {
  display: flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .8rem 1rem 1rem; margin: 0 1.35rem; border-top: 1px solid var(--line);
  font-family: var(--font-display); font-size: .82rem; font-weight: 600; color: var(--steel); text-decoration: none;
}
.unit-link .ico { width: 1rem; height: 1rem; transition: transform .25s var(--ease); }
.unit-link::before { content: ""; position: absolute; inset: 0; z-index: 2; } /* toda la tarjeta es clicable */
.unit:hover .unit-link { color: var(--navy-900); }
.unit:hover .unit-link .ico { transform: translateX(3px); }

/* ---------- Beneficios ---------- */
.benefits {
  background: var(--navy-950); color: var(--on-navy);
  padding-block: clamp(3.5rem, 2.5rem + 3vw, 5rem);
  border-top: 3px solid var(--gold);
}
.benefits-inner { display: grid; gap: 2.5rem; }
@media (min-width: 900px) {
  .benefits-inner { grid-template-columns: 1fr minmax(0, 22rem); align-items: center; column-gap: 3rem; }
  .benefits-list { grid-column: 1 / -1; grid-row: 2; padding-top: 2.25rem; border-top: 1px solid rgba(231, 236, 244, .12); }
}
.benefits-title { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.75rem); font-weight: 700; color: var(--paper); text-transform: uppercase; letter-spacing: .04em; line-height: 1.2; }
.benefits-title .accent { color: var(--gold); }
.benefits-list { display: grid; gap: 1.75rem 2rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .benefits-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .benefits-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.benefits-list li { display: grid; grid-template-columns: auto 1fr; column-gap: .9rem; row-gap: .25rem; align-items: start; min-width: 0; }
.benefits-list .ico { grid-row: span 2; width: 2.2rem; height: 2.2rem; color: var(--paper); stroke-width: 1.5; }
.benefits-list h3 { font-size: 1rem; font-weight: 600; color: var(--paper); }
.benefits-list p { font-size: .92rem; color: var(--on-navy-muted); }
.benefits-cta {
  display: flex; align-items: center; gap: .9rem; padding: 1.2rem 1.4rem; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--gold-lt), var(--gold)); color: var(--navy-950);
  font-family: var(--font-display); font-weight: 700; font-size: .92rem; text-transform: uppercase; letter-spacing: .05em; line-height: 1.35;
  text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.benefits-cta .ico { width: 1.8rem; height: 1.8rem; fill: var(--navy-950); stroke: none; }
.benefits-cta:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(196, 154, 58, .3); }

/* ---------- Correo de contacto ---------- */
.mailbox {
  display: grid; gap: 1rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--paper); box-shadow: var(--shadow); min-width: 0;
}
.mailbox-label { font-family: var(--font-display); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.mailbox-address {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.15rem, 1rem + 1vw, 1.6rem);
  color: var(--navy-900); overflow-wrap: anywhere; user-select: all;
}
.mailbox-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.mailbox-status { font-size: .9rem; color: var(--green); }
.mailbox-status:empty { display: none; }

/* ---------- Bloque de llamada a contacto ---------- */
.cta-band { background: var(--mist); border-top: 1px solid var(--line); }
.cta-grid { display: grid; gap: 2rem; }
@media (min-width: 960px) { .cta-grid { grid-template-columns: 1.15fr 1fr; align-items: center; gap: 3rem; } }
.cta-copy { display: grid; gap: 1rem; min-width: 0; }
.method-note { display: block; margin-top: .35rem; font-family: var(--font-body); font-size: .85rem; font-weight: 400; line-height: 1.45; color: var(--muted); }

/* 06-paginas.css */
/* ---------- Inicio: portada ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 90% at 85% 10%, var(--navy-800) 0%, var(--navy-900) 45%, var(--navy-950) 100%);
  color: var(--on-navy);
}
/* Ancho de la foto: ~24 % menos que la versión 2.0 (58 %), con tope para no ampliar el original */
.hero { --hero-foto: min(44vw, 760px); }
.hero-media {
  position: absolute; inset: 0 0 0 auto; width: var(--hero-foto); z-index: -1;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 32%);
          mask-image: linear-gradient(to right, transparent 0%, #000 32%);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 35%; animation: heroImg 1.6s var(--ease) both; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 20, 48, .1), rgba(7, 20, 48, .45)); }
.hero-inner { padding-block: clamp(4rem, 2.5rem + 6vw, 7.5rem) clamp(3.75rem, 2.5rem + 4.5vw, 6.5rem); display: grid; }
.hero-copy { display: grid; gap: 1.4rem; width: 100%; max-width: 41rem; min-width: 0; }
/* Escritorio: el bloque de texto se centra en el espacio libre a la izquierda de la foto */
@media (min-width: 821px) {
  .hero-inner { padding-right: max(var(--gutter), calc(var(--hero-foto) - (100vw - min(100vw, 1240px)) / 2)); justify-items: center; }
}
.hero-title { font-size: clamp(2.1rem, 1.2rem + 2.6vw, 3.2rem); font-weight: 700; color: var(--paper); letter-spacing: -.02em; line-height: 1.1; text-wrap: balance; }
.hero-pillars { display: flex; flex-wrap: wrap; gap: .4rem 0; font-size: var(--fs-lg); color: var(--on-navy); padding-top: 1.1rem; position: relative; }
.hero-pillars::before { content: ""; position: absolute; top: 0; left: 0; width: 72px; height: 2px; background: var(--gold); }
.hero-pillars li + li::before { content: "·"; color: var(--gold); margin: 0 .75rem; font-weight: 700; }
.hero-motto { font-family: var(--font-display); font-size: var(--fs-sm); letter-spacing: .16em; text-transform: uppercase; color: var(--on-navy-muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: .6rem; }
@media (max-width: 559px) {
  .hero-pillars { display: grid; grid-template-columns: repeat(2, auto); justify-content: start; column-gap: 1.75rem; }
  .hero-pillars li::before,
  .hero-pillars li + li::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 .55rem 0 0; background: var(--gold); vertical-align: middle; transform: rotate(45deg); }
}
@media (max-width: 820px) {
  .hero-media {
    width: 100%; opacity: .55;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.55) 45%, transparent 100%);
            mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.55) 45%, transparent 100%);
  }
}
/* Secuencia de entrada (retardos con clases: sin estilos en línea) */
.hero-anim { animation: rise .9s var(--ease) both; }
.d0 { animation-delay: 120ms; } .d1 { animation-delay: 230ms; } .d2 { animation-delay: 340ms; }
.d3 { animation-delay: 450ms; } .d4 { animation-delay: 560ms; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes heroImg { from { transform: scale(1.06); } to { transform: none; } }

/* ---------- Definición estratégica ---------- */
.strategy-grid { display: grid; gap: clamp(2rem, 1rem + 4vw, 5rem); grid-template-columns: 1fr; }
@media (min-width: 960px) { .strategy-grid { grid-template-columns: 1.15fr 1fr; align-items: start; } }
.strategy-lead { display: grid; gap: 1.1rem; min-width: 0; }
.strategy-lead .h2 { font-size: clamp(1.45rem, 1.05rem + 1.4vw, 2.05rem); font-weight: 600; line-height: 1.3; }
.strategy-body { display: grid; gap: 2rem; min-width: 0; padding-top: .3rem; }
.text-link {
  display: inline-flex; align-items: center; gap: .45rem; font-family: var(--font-display); font-weight: 600; font-size: .92rem;
  color: var(--steel); text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: .15rem; justify-self: start;
}
.text-link .ico { width: 1rem; height: 1rem; transition: transform .25s var(--ease); }
.text-link:hover { color: var(--navy-900); }
.text-link:hover .ico { transform: translateX(3px); }

/* ---------- Propuesta de valor ---------- */
.value-grid { display: grid; gap: clamp(2.5rem, 1.5rem + 4vw, 5rem); }
@media (min-width: 1000px) { .value-grid { grid-template-columns: 1.2fr 1fr; align-items: center; } }
.value-copy { display: grid; gap: 1.4rem; min-width: 0; }
.value-title { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.1rem); font-weight: 700; color: var(--navy-900); letter-spacing: -.02em; line-height: 1.12; }
.value-title span { display: block; color: var(--steel); }
.value-text { font-size: var(--fs-lg); color: var(--muted); max-width: 58ch; padding-left: 1.2rem; border-left: 2px solid var(--gold); }

/* ---------- El Grupo: estructura corporativa ---------- */
.org { display: grid; justify-items: center; }
.org-holding {
  display: grid; justify-items: center; gap: .55rem; text-align: center;
  background: var(--navy-900); color: var(--on-navy); border-radius: var(--radius);
  padding: 1.4rem 2rem 1.3rem; box-shadow: var(--shadow); border-bottom: 3px solid var(--gold);
  max-width: 100%;
}
.org-holding .brand-bars { width: 44px; height: 46px; }
.org-holding strong { font-family: var(--font-display); font-size: 1.05rem; color: var(--paper); }
.org-holding span { font-size: .85rem; color: var(--on-navy-muted); letter-spacing: .06em; }
.org-stem { width: 2px; height: 2.25rem; background: var(--gold); }
.org-units {
  position: relative; width: 100%; display: grid; gap: .9rem;
  grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 1.75rem;
  border-top: 2px solid var(--gold);
}
@media (min-width: 900px) { .org-units { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 480px) { .org-units { grid-template-columns: 1fr; } }
.org-unit {
  display: flex; align-items: center; gap: .8rem; padding: .95rem 1rem; min-width: 0;
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  text-decoration: none; color: var(--navy-900); font-family: var(--font-display); font-weight: 600; font-size: .92rem; line-height: 1.25;
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.org-unit .sub-ico { width: 2.3rem; height: 2.3rem; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--navy-900); color: var(--paper); }
.org-unit .sub-ico .ico { width: 1.1rem; height: 1.1rem; }
.org-unit:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: var(--shadow); }
.org-unit .org-prefix { display: block; font-size: .7rem; letter-spacing: .18em; color: var(--gold-ink); }
.org-note { margin-top: 1.5rem; font-size: .95rem; color: var(--muted); text-align: center; max-width: 60ch; justify-self: center; }

/* ---------- Unidades: catálogo ampliado ---------- */
.catalog { display: grid; gap: clamp(1.5rem, 1rem + 2vw, 2.25rem); }
.catalog-item {
  display: grid; gap: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
}
@media (min-width: 820px) {
  .catalog-item { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  /* Filas pares: la foto pasa a la derecha y conserva su columna de 5/12 */
  .catalog-item:nth-child(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .catalog-item:nth-child(even) .catalog-photo { order: 2; }
}
/* Altura mínima 3:2 (relleno según el ancho); si el texto es más alto, la foto se estira con él */
.catalog-photo { position: relative; background: var(--navy-900); }
.catalog-photo::before { content: ""; display: block; padding-top: 66.667%; }
.catalog-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.catalog-body { display: grid; gap: 1rem; padding: clamp(1.4rem, 1rem + 2vw, 2.25rem); align-content: center; min-width: 0; }
.catalog-head { display: flex; align-items: center; gap: 1rem; }
.catalog-head .unit-icon { margin: 0; box-shadow: none; }
.catalog-head h2 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.65rem); font-weight: 700; color: var(--navy-900); }
.catalog-head .unit-prefix { margin-bottom: .1rem; }
.catalog-lead { font-size: 1.08rem; color: var(--ink); line-height: 1.6; max-width: 62ch; }
.catalog-more { color: var(--muted); max-width: 62ch; }
.catalog-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .3rem; }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; gap: 3.5rem; } }
.contact-copy { display: grid; gap: 1.1rem; min-width: 0; }
.topic-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.topic-list a {
  display: inline-block; font-size: var(--fs-sm); font-weight: 500; color: var(--navy-800); text-decoration: none;
  padding: .45rem .9rem; border: 1px solid var(--line); border-radius: 999px; background: var(--paper);
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.topic-list a:hover { border-color: var(--gold); color: var(--navy-950); }

/* ---------- 404 ---------- */
.notfound { min-height: 50vh; display: grid; align-content: center; }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-anim, .hero-media img { animation: none !important; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; }
}
