/* =========================================================
   CLOSER CAPITAL · Sitio web 2026
   Marca: guía oficial (logo closer.ai)
   Azul marino #001333 · Blanco marfil #F4F6F9 · Dorado #C59246
   Tipografía: Montserrat
   ========================================================= */

:root {
  --navy: #001333;
  --navy-2: #06224f;
  --navy-3: #0c2f66;
  --gold: #c59246;
  --gold-dark: #a8793a;
  --gold-soft: #f3e8d6;
  --ivory: #f4f6f9;
  --white: #ffffff;
  --ink: #0b1a33;
  --text: #33405a;
  --muted: #6b7489;
  --line: #e1e5ec;
  --line-dark: rgba(255, 255, 255, .14);
  --ok: #1f8a5b;
  --err: #c0392b;
  --wa: #25d366;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 18px 40px -22px rgba(0, 19, 51, .35);
  --shadow-sm: 0 6px 18px -10px rgba(0, 19, 51, .25);
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 78px;
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--navy); padding: 8px 14px; z-index: 999; border-radius: 6px; font-weight: 600; }
.skip:focus { left: 8px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--ivory { background: var(--ivory); }
.section--navy { background: var(--navy); color: #c9d2e3; }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
.kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.kicker--plain::before { display: none; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 62ch; }
.section--navy .lead { color: #aebad0; }
.head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 52px); }
.head--center { text-align: center; margin-inline: auto; }
.head--center .lead { margin-inline: auto; }
.gold { color: var(--gold); }
.rule { width: 56px; height: 3px; background: var(--gold); border: 0; margin: 18px 0 22px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; border: 2px solid transparent; background: transparent;
  font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
  line-height: 1.2; text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn--gold { background: var(--gold); color: var(--navy); box-shadow: 0 10px 24px -12px rgba(197, 146, 70, .9); }
.btn--gold:hover { background: #d3a45d; }
.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); }
.btn--ghost:hover { background: var(--white); color: var(--navy); }
.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--sm { padding: 11px 20px; font-size: .74rem; }
.btn--block { width: 100%; }
.btns { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem;
  color: var(--navy); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }
.section--navy .link-arrow { color: var(--gold); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(0, 19, 51, .97);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: block; flex: 0 0 auto; }
.brand img { height: 46px; width: auto; }
.nav { margin-left: auto; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav a, .nav .nav-btn {
  display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-radius: 8px;
  color: #dfe5f0; text-decoration: none; font-size: .84rem; font-weight: 500; background: none; border: 0;
  white-space: nowrap;
}
.nav a:hover, .nav .nav-btn:hover, .nav .is-current > a, .nav .is-current > .nav-btn { color: var(--white); background: rgba(255, 255, 255, .07); }
.nav .is-current > a, .nav .is-current > .nav-btn { box-shadow: inset 0 -2px 0 var(--gold); border-radius: 8px 8px 0 0; }
.nav-btn svg { width: 12px; height: 12px; transition: transform .2s; }
.has-sub { position: relative; }
.sub {
  list-style: none; margin: 0; padding: 10px; position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 250px; background: var(--white); border-radius: 12px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s;
}
.sub::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.sub a { color: var(--ink); padding: 10px 12px; font-weight: 500; }
.sub a:hover { background: var(--ivory); color: var(--navy); }
.has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.open > .sub { opacity: 1; visibility: visible; transform: none; }
.has-sub:hover .nav-btn svg, .has-sub.open .nav-btn svg { transform: rotate(180deg); }
.header-cta { flex: 0 0 auto; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 0; color: var(--white); padding: 8px; }
.menu-toggle svg { width: 28px; height: 28px; }

@media (max-width: 1320px) {
  .site-header .wrap { gap: 14px; }
  .nav a, .nav .nav-btn { padding: 10px 8px; font-size: .8rem; }
  .header-cta { padding: 10px 16px; font-size: .7rem; }
}
@media (max-width: 1180px) {
  .header-cta { display: none; }
}
@media (max-width: 1180px) {
  :root { --header-h: 68px; }
  .site-header { backdrop-filter: none; background: var(--navy); }
  .brand img { height: 40px; }
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--navy); overflow-y: auto;
    padding: 16px var(--gutter) 120px; margin: 0;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  body.menu-open .nav { opacity: 1; visibility: visible; transform: none; }
  body.menu-open { overflow: hidden; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav > ul > li { border-bottom: 1px solid var(--line-dark); }
  .nav a, .nav .nav-btn { font-size: 1rem; padding: 16px 4px; width: 100%; justify-content: space-between; border-radius: 0; }
  .nav .is-current > a, .nav .is-current > .nav-btn { box-shadow: none; color: var(--gold); background: none; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: none; display: none; padding: 0 0 12px 12px; min-width: 0; }
  .has-sub:hover > .sub { display: none; }
  .has-sub.open > .sub { display: block; }
  .sub a { color: #c9d2e3; padding: 10px 4px; font-size: .95rem; }
  .sub a:hover { background: none; color: var(--white); }
  .nav .nav-mobile-cta { display: block; border: 0; padding-top: 24px; }
}
.nav-mobile-cta { display: none; }

/* ---------- Hero principal ---------- */
.hero {
  position: relative; color: #d8dfeb; overflow: hidden; isolation: isolate;
  background: var(--navy);
  min-height: min(88vh, 720px); display: flex; align-items: center;
  padding: clamp(64px, 9vw, 120px) 0;
}
.hero__bg { position: absolute; inset: 0 0 0 30%; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, var(--navy) 0%, var(--navy) 28%, rgba(0, 19, 51, .88) 42%, rgba(0, 19, 51, .35) 70%, rgba(0, 19, 51, .15) 100%),
    linear-gradient(0deg, rgba(0, 19, 51, .65), transparent 40%);
}
.hero h1 { color: var(--white); text-transform: uppercase; font-weight: 800; letter-spacing: -.005em; max-width: 13ch; }
.hero h1 .gold { display: block; }
.hero .lead { color: #d3dbe8; font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 46ch; margin-bottom: 32px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line-dark); max-width: 560px; font-size: .88rem; }
.hero__proof span { display: flex; align-items: center; gap: 8px; }
.hero__proof svg { width: 18px; height: 18px; color: var(--gold); flex: none; }

@media (max-width: 760px) {
  .hero { min-height: 0; align-items: flex-end; padding-top: 220px; }
  .hero__bg { inset: 0; }
  .hero__bg img { object-position: 70% 20%; }
  .hero::before { background: linear-gradient(0deg, var(--navy) 0%, var(--navy) 48%, rgba(0, 19, 51, .55) 75%, rgba(0, 19, 51, .25) 100%); }
}

/* ---------- Hero interior ---------- */
.page-hero { position: relative; isolation: isolate; background: var(--navy); color: #cfd8e7; padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 7vw, 88px); overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0 0 0 40%; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 35%, rgba(0, 19, 51, .82) 55%, rgba(0, 19, 51, .35) 100%); }
.page-hero h1 { color: var(--white); max-width: 18ch; font-size: clamp(2rem, 4.2vw, 3.1rem); }
.page-hero .lead { color: #c9d2e3; margin-bottom: 30px; max-width: 54ch; }
.crumbs { font-size: .8rem; margin-bottom: 26px; color: #93a0b8; }
.crumbs a { color: #c9d2e3; text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
.crumbs span[aria-hidden] { margin: 0 8px; }
@media (max-width: 760px) {
  .page-hero__bg { inset: 0; opacity: .35; }
  .page-hero::before { background: linear-gradient(0deg, var(--navy) 20%, rgba(0, 19, 51, .7)); }
}

/* ---------- Grillas ---------- */
.grid { display: grid; gap: clamp(16px, 2.2vw, 26px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* ---------- Tarjetas de perfil (¿Qué necesitas?) ---------- */
.profile {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s;
  text-decoration: none; color: inherit;
}
.profile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.profile__img { position: relative; aspect-ratio: 16 / 8; overflow: hidden; }
.profile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.profile:hover .profile__img img { transform: scale(1.04); }
.profile__icon {
  position: absolute; left: 22px; bottom: -26px; width: 56px; height: 56px; border-radius: 50%;
  background: var(--white); display: grid; place-items: center; color: var(--gold); box-shadow: var(--shadow-sm);
}
.profile__icon svg { width: 28px; height: 28px; }
.profile__body { padding: 40px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.profile__body h3 { text-transform: uppercase; letter-spacing: .06em; font-size: 1rem; margin-bottom: 6px; }
.profile__body p { color: var(--muted); flex: 1; }
.profile .link-arrow { align-self: flex-start; }

/* ---------- Tarjetas de solución ---------- */
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px;
  display: flex; flex-direction: column; transition: border-color .2s, transform .25s, box-shadow .25s; position: relative;
}
a.card { text-decoration: none; color: inherit; }
a.card:hover, .card--hover:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: var(--shadow); }
.card__icon { width: 52px; height: 52px; border-radius: 12px; background: var(--gold-soft); color: var(--gold-dark); display: grid; place-items: center; margin-bottom: 20px; }
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .95rem; flex: 1; }
.card .link-arrow { align-self: flex-start; margin-top: 6px; }
.section--navy .card { background: rgba(255, 255, 255, .04); border-color: var(--line-dark); }
.section--navy .card p { color: #aebad0; }
.section--navy .card__icon { background: rgba(197, 146, 70, .14); color: var(--gold); }
.card--feature { background: var(--navy); border-color: var(--navy); color: #cfd8e7; overflow: hidden; justify-content: flex-end; min-height: 260px; isolation: isolate; }
.card--feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.card--feature::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(0, 19, 51, .95) 20%, rgba(0, 19, 51, .2)); }
.card--feature strong { color: var(--white); font-size: 1.2rem; line-height: 1.35; display: block; }
.card--feature .rule { margin: 16px 0 0; }

.soluciones { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .soluciones { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .soluciones { grid-template-columns: 1fr; } }

/* ---------- Pasos (¿Cómo funciona?) ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: paso; }
.step { text-align: center; position: relative; padding: 0 6px; }
.step__icon {
  width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center;
  border: 1.5px solid var(--gold); color: var(--gold); background: var(--white); position: relative; z-index: 1;
}
.step__icon svg { width: 34px; height: 34px; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 42px; left: calc(50% + 52px); right: calc(-50% + 52px); border-top: 1.5px dashed #d7c2a0; }
.step__n { display: block; font-size: 1.5rem; font-weight: 300; color: var(--navy); }
.step h3 { margin: 2px 0 8px; font-size: 1.05rem; }
.step p { font-size: .9rem; color: var(--muted); margin: 0; }
.steps-foot { text-align: center; margin-top: 48px; font-size: 1.15rem; color: var(--ink); font-weight: 600; }
.steps-foot strong { color: var(--gold-dark); }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 0; max-width: 520px; margin-inline: auto; }
  .step { display: grid; grid-template-columns: 72px 1fr; gap: 0 20px; text-align: left; padding-bottom: 28px; }
  .step__icon { width: 64px; height: 64px; margin: 0; grid-row: span 3; }
  .step__icon svg { width: 26px; height: 26px; }
  .step:not(:last-child)::after { top: 66px; bottom: 0; left: 32px; right: auto; border-top: 0; border-left: 1.5px dashed #d7c2a0; }
}

/* ---------- Flujo en chevrons ---------- */
.flow { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.flow li {
  display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--navy); background: var(--white); border: 1px solid var(--line); padding: 10px 14px; border-radius: 999px;
}
.flow li:not(:last-child)::after { content: "→"; color: var(--gold); margin-left: 4px; }
.flow li:last-child { background: var(--gold); border-color: var(--gold); }
.section--navy .flow li { background: rgba(255, 255, 255, .05); color: var(--white); border-color: var(--line-dark); }
.section--navy .flow li:last-child { background: var(--gold); color: var(--navy); }

/* ---------- Alianza Billcapital ---------- */
.alliance { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); color: #c9d2e3; }
.alliance__grid { display: grid; grid-template-columns: 1.1fr .9fr 1fr; align-items: stretch; }
.alliance__text { padding: clamp(40px, 6vw, 72px) clamp(20px, 4vw, 48px) clamp(40px, 6vw, 72px) 0; }
.alliance__text h2 { color: var(--white); font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.alliance__text .eyebrow { color: var(--white); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: .92rem; margin-bottom: 14px; display: block; }
.alliance__list { padding: clamp(40px, 6vw, 72px) clamp(20px, 3vw, 40px); border-left: 1px solid var(--line-dark); }
.alliance__photo { position: relative; min-height: 300px; }
.alliance__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.alliance__photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--navy), transparent 35%); }
.alliance-wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
@media (max-width: 1000px) {
  .alliance__grid { grid-template-columns: 1fr 1fr; }
  .alliance__photo { grid-column: 1 / -1; min-height: 240px; order: -1; margin: 0 calc(-1 * var(--gutter)); }
  .alliance__photo::before { background: linear-gradient(0deg, var(--navy), transparent 60%); }
}
@media (max-width: 640px) {
  .alliance__grid { grid-template-columns: 1fr; }
  .alliance__text { padding: 32px 0 8px; }
  .alliance__list { border-left: 0; border-top: 1px solid var(--line-dark); padding: 28px 0 44px; }
}
.partner-mark { display: flex; align-items: center; gap: 10px; color: var(--white); font-weight: 700; font-size: 1.6rem; letter-spacing: -.02em; margin-bottom: 18px; }
.partner-mark svg { width: 26px; height: 26px; color: var(--gold); }
.partner-mark small { font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(197, 146, 70, .5); padding: 4px 8px; border-radius: 6px; margin-left: 4px; }
.partner-mark--ink { color: var(--navy); }

/* ---------- Listas con check ---------- */
.checks { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 32px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%;
  border: 1.5px solid var(--gold);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.2l3 3 6-6.4' fill='none' stroke='%23c59246' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.checks--2 { grid-template-columns: repeat(2, 1fr); gap: 12px 24px; }
@media (max-width: 560px) { .checks--2 { grid-template-columns: 1fr; } }

/* ---------- Rutas comerciales (banners) ---------- */
.route {
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius); color: #cfd8e7;
  padding: 34px 30px; min-height: 360px; display: flex; flex-direction: column; background: var(--navy);
}
.route > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s; }
.route:hover > img { transform: scale(1.04); }
.route::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(0, 19, 51, .96) 30%, rgba(0, 19, 51, .55) 100%); }
.route__head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.route__head svg { width: 38px; height: 38px; color: var(--gold); flex: none; }
.route h3 { color: var(--white); font-size: 1.35rem; margin: 0; }
.route h3 small { display: block; font-size: .85rem; color: #dbe2ee; font-weight: 600; margin-top: 4px; }
.route .checks { font-size: .9rem; gap: 6px; flex: 1; }
.route .checks li::before { width: 16px; height: 16px; background-size: 12px; top: .25em; }
.route .checks li { padding-left: 26px; }
.route .btn { align-self: flex-start; }

/* ---------- Propósito / Modelo ---------- */
.purpose { background: var(--ivory); border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); }
.purpose h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px; }
.pillar { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--navy); font-size: .92rem; }
.pillar svg { width: 34px; height: 34px; color: var(--gold); flex: none; }
@media (max-width: 520px) { .pillars { grid-template-columns: 1fr; } }
.signature { background: var(--navy); border-radius: var(--radius); padding: 26px 30px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 18px; }
.signature img { height: 40px; width: auto; }
.signature span { color: var(--white); font-weight: 700; letter-spacing: .02em; }

.model { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.model > div { padding: 34px 30px; border-right: 1px solid var(--line); }
.model > div:last-child { border-right: 0; }
.model .n { font-size: .74rem; font-weight: 700; letter-spacing: .2em; color: var(--gold); }
.model h3 { font-size: 1.5rem; text-transform: uppercase; letter-spacing: .04em; margin: 8px 0 10px; }
.model p { color: var(--muted); margin: 0; }
@media (max-width: 760px) { .model { grid-template-columns: 1fr; } .model > div { border-right: 0; border-bottom: 1px solid var(--line); } }

/* ---------- Aliados ---------- */
.allies { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 0; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.allies > strong { color: var(--ink); margin-right: 32px; font-size: .95rem; }
.allies > span { display: flex; align-items: center; gap: 10px; padding: 0 26px; border-left: 1px solid var(--line); font-size: .9rem; color: var(--navy); font-weight: 500; }
.allies > span:first-of-type { border-left: 0; padding-left: 0; }
.allies svg { width: 26px; height: 26px; color: var(--gold); }
.allies .partner-mark { margin: 0; font-size: 1.35rem; }
@media (max-width: 760px) { .allies > strong { width: 100%; } .allies > span { padding: 0 16px 0 0; border: 0; width: 50%; } }

/* ---------- CTA final ---------- */
.cta-final { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); color: #cfd8e7; padding: clamp(64px, 9vw, 120px) 0; }
.cta-final > img { position: absolute; inset: 0 0 0 45%; width: 55%; height: 100%; object-fit: cover; z-index: -2; }
.cta-final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--navy) 45%, rgba(0, 19, 51, .6) 75%, rgba(0, 19, 51, .35)); }
.cta-final h2 { color: var(--white); font-size: clamp(1.9rem, 4vw, 3rem); }
.cta-final .lines { font-size: clamp(1rem, 1.5vw, 1.15rem); max-width: 50ch; }
.cta-final .lines p { margin: 0 0 .35em; }
.cta-final .claim { margin: 30px 0; color: var(--white); font-weight: 700; font-size: 1.15rem; }
.cta-final .claim span { display: block; color: var(--gold); font-weight: 600; letter-spacing: .14em; font-size: .8rem; text-transform: uppercase; margin-top: 6px; }
@media (max-width: 760px) { .cta-final > img { inset: 0; width: 100%; opacity: .3; } .cta-final::before { background: rgba(0, 19, 51, .75); } }

/* ---------- Bloques de problema / beneficio ---------- */
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.pill-list li { background: var(--white); border: 1px solid var(--line); padding: 10px 16px; border-radius: 999px; font-weight: 500; font-size: .92rem; color: var(--navy); display: flex; align-items: center; gap: 8px; }
.pill-list li::before { content: ""; width: 7px; height: 7px; background: var(--gold); border-radius: 50%; }

.media { border-radius: var(--radius); overflow: hidden; position: relative; box-shadow: var(--shadow); }
.media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.media--tall img { aspect-ratio: 4 / 5; }
.media__badge { position: absolute; left: 18px; bottom: 18px; right: 18px; background: rgba(0, 19, 51, .9); color: var(--white); padding: 16px 20px; border-radius: 10px; font-weight: 600; font-size: .95rem; border-left: 3px solid var(--gold); }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.stat-row div { border-top: 2px solid var(--gold); padding-top: 12px; }
.stat-row strong { display: block; color: var(--ink); font-size: 1.05rem; }
.stat-row span { font-size: .88rem; color: var(--muted); }
@media (max-width: 560px) { .stat-row { grid-template-columns: 1fr; } }

.divider-quote { font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-weight: 600; color: var(--ink); line-height: 1.35; max-width: 30ch; }
.divider-quote .gold { font-weight: 700; }

/* ---------- Oportunidades / ficha ---------- */
.opp { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.opp__img { aspect-ratio: 16 / 10; position: relative; }
.opp__img img { width: 100%; height: 100%; object-fit: cover; }
.tag { position: absolute; top: 14px; left: 14px; background: var(--gold); color: var(--navy); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px; border-radius: 6px; }
.tag--static { position: static; display: inline-block; margin-bottom: 14px; }
.opp__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.opp__body h3 { margin-bottom: 4px; }
.opp__loc { font-size: .88rem; color: var(--muted); margin-bottom: 14px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin: 0 0 18px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .86rem; }
.facts dt { color: var(--muted); font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; }
.facts dd { margin: 0; color: var(--ink); font-weight: 600; }
.opp .btn { margin-top: auto; }

.spec { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.spec div { padding: 20px 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.spec dt { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.spec dd { margin: 0; font-weight: 700; color: var(--ink); }
@media (max-width: 760px) { .spec { grid-template-columns: 1fr 1fr; } }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 12px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.gallery img:first-child { grid-row: span 2; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 140px 140px; } .gallery img:first-child { grid-column: span 2; grid-row: auto; } }
.docs { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.docs li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); font-weight: 500; color: var(--navy); }
.docs svg { width: 22px; height: 22px; color: var(--gold); flex: none; }
.docs em { margin-left: auto; font-style: normal; font-size: .78rem; color: var(--muted); }

.notice { background: var(--gold-soft); border-left: 4px solid var(--gold); padding: 16px 20px; border-radius: 8px; color: #5b4521; font-size: .92rem; }
.notice strong { color: #3e2e12; }

/* ---------- Formularios ---------- */
.form-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(24px, 4vw, 40px); border-top: 4px solid var(--gold); color: var(--text); }
.form-card h2, .form-card h3 { margin-bottom: 6px; }
.form-card > p { color: var(--muted); font-size: .95rem; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin: 22px 0 18px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
@media (max-width: 600px) { .fields { grid-template-columns: 1fr; } }
.field label, .field .label { font-size: .8rem; font-weight: 600; color: var(--ink); letter-spacing: .02em; }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .95rem; color: var(--ink); background: var(--ivory); border: 1.5px solid transparent;
  border-radius: 10px; padding: 13px 14px; width: 100%; transition: border-color .2s, background .2s; min-height: 48px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23001333' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px; padding-right: 38px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: var(--white); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--err); background: #fff6f5; }
.field .err { font-size: .78rem; color: var(--err); display: none; }
.field.invalid .err { display: block; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .82rem; color: var(--muted); margin-bottom: 18px; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--navy); flex: none; }
.consent a { color: var(--navy); }
.consent.invalid { color: var(--err); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin-top: 14px; font-size: .9rem; padding: 12px 14px; border-radius: 8px; display: none; }
.form-msg.show { display: block; }
.form-msg.error { background: #fdecea; color: var(--err); }
.form-note { font-size: .78rem; color: var(--muted); margin-top: 12px; display: flex; gap: 8px; align-items: center; }
.form-note svg { width: 16px; height: 16px; color: var(--gold); flex: none; }
.btn[disabled] { opacity: .65; pointer-events: none; }

.needs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0 8px; }
@media (max-width: 760px) { .needs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .needs { grid-template-columns: 1fr; } }
.need { position: relative; }
.need input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.need span { display: flex; align-items: center; gap: 10px; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 10px; font-size: .88rem; font-weight: 500; color: var(--navy); background: var(--white); transition: .15s; height: 100%; }
.need span::before { content: ""; width: 18px; height: 18px; border: 1.5px solid #b9c1cf; border-radius: 5px; flex: none; transition: .15s; }
.need input:checked + span { border-color: var(--gold); background: #fdf8f0; }
.need input:checked + span::before { background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23001333' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat; border-color: var(--gold); }
.need input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.needs.invalid .need span { border-color: var(--err); }

/* ---------- Contacto ---------- */
.contact-aside { display: grid; gap: 18px; align-content: start; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-item svg { width: 22px; height: 22px; color: var(--gold); flex: none; margin-top: 3px; }
.contact-item strong { display: block; color: var(--ink); font-size: .85rem; }
.contact-item a, .contact-item span { color: var(--text); text-decoration: none; }
.contact-item a:hover { color: var(--gold-dark); }

/* ---------- Recursos / artículos ---------- */
.post-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: .25s; }
.post-card:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: var(--shadow); }
.post-card .cat { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 12px; }
.post-card h3 { font-size: 1.12rem; line-height: 1.35; }
.post-card p { color: var(--muted); font-size: .92rem; flex: 1; }
.post-card .meta { font-size: .8rem; color: var(--muted); display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.post-card .meta b { color: var(--navy); }
.cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.cats button { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; font-size: .84rem; font-weight: 600; color: var(--navy); }
.cats button[aria-pressed="true"] { background: var(--navy); color: var(--white); border-color: var(--navy); }

.article { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 960px) { .article { grid-template-columns: 1fr; } }
.prose { font-size: 1.05rem; line-height: 1.8; color: #2c3850; max-width: 72ch; }
.prose .lead { font-size: 1.2rem; color: var(--ink); line-height: 1.6; font-weight: 500; }
.prose h2 { font-size: 1.5rem; margin: 1.8em 0 .6em; }
.prose h3 { margin: 1.5em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--gold); }
.prose a { color: var(--navy); font-weight: 600; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.prose .callout { background: var(--ivory); border-left: 4px solid var(--gold); padding: 18px 22px; border-radius: 8px; margin: 1.6em 0; }
.prose .callout strong { color: var(--ink); }
.sticky { position: sticky; top: calc(var(--header-h) + 24px); }
.aside-cta { background: var(--navy); color: #c9d2e3; border-radius: var(--radius); padding: 28px; }
.aside-cta h3 { color: var(--white); }
.aside-cta p { font-size: .92rem; }
.article-meta { display: flex; gap: 18px; flex-wrap: wrap; font-size: .85rem; color: #aebad0; }

/* ---------- Footer ---------- */
.site-footer { background: #000d24; color: #9fabc2; font-size: .9rem; padding: clamp(56px, 7vw, 80px) 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 32px; padding-bottom: 48px; }
.footer-grid h4 { color: var(--white); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-grid a { text-decoration: none; color: #b8c2d4; }
.footer-grid a:hover { color: var(--gold); }
.footer-brand img { height: 50px; width: auto; margin-bottom: 18px; }
.footer-brand p { color: var(--gold); font-weight: 600; letter-spacing: .04em; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0 26px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .8rem; }
.footer-bottom a { color: #b8c2d4; }
.footer-bottom nav { display: flex; gap: 18px; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-contact { grid-column: 1 / -1; } }

/* ---------- Botones flotantes ---------- */
.fabs { position: fixed; right: 22px; bottom: 22px; z-index: 70; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.fab-asesor { box-shadow: 0 14px 30px -12px rgba(0, 19, 51, .6); padding: 15px 22px; }
.fab-asesor svg { width: 18px; height: 18px; }
.fab-wa { width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .5); transition: transform .2s; position: relative; }
.fab-wa:hover { transform: scale(1.06); }
.fab-wa svg { width: 30px; height: 30px; }
.fab-wa .tip { position: absolute; right: 70px; background: var(--white); color: var(--ink); font-size: .78rem; font-weight: 600; padding: 8px 12px; border-radius: 8px; white-space: nowrap; box-shadow: var(--shadow-sm); opacity: 0; transform: translateX(6px); transition: .2s; pointer-events: none; }
.fab-wa:hover .tip, .fab-wa:focus-visible .tip { opacity: 1; transform: none; }
@media (max-width: 760px) {
  body { padding-bottom: 72px; }
  .fabs { left: 0; right: 0; bottom: 0; flex-direction: row; gap: 0; background: var(--white); box-shadow: 0 -8px 24px -12px rgba(0, 19, 51, .35); padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); }
  .fab-asesor { flex: 1 1 0; border-radius: 10px; padding: 14px 8px; box-shadow: none; font-size: .7rem; letter-spacing: .04em; white-space: nowrap; }
  .fab-asesor svg { display: none; }
  .fab-wa { width: auto; height: auto; flex: 1 1 0; white-space: nowrap; border-radius: 10px; margin-left: 10px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 8px; font-weight: 700; font-size: .7rem; letter-spacing: .04em; text-transform: uppercase; box-shadow: none; text-decoration: none; }
  .fab-wa svg { width: 20px; height: 20px; }
  .fab-wa .tip { position: static; opacity: 1; transform: none; background: none; color: inherit; box-shadow: none; padding: 0; font-size: inherit; }
}

/* ---------- Modal asesor ---------- */
.modal { border: 0; padding: 0; border-radius: 18px; width: min(600px, calc(100% - 24px)); max-height: calc(100dvh - 24px); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); color: var(--text); }
.modal::backdrop { background: rgba(0, 13, 36, .72); backdrop-filter: blur(3px); }
.modal__head { background: var(--navy); color: #c9d2e3; padding: 26px 28px 22px; position: relative; }
.modal__head h2 { color: var(--white); font-size: 1.5rem; margin: 0 0 4px; }
.modal__head p { margin: 0; font-size: .92rem; }
.modal__close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .08); color: var(--white); display: grid; place-items: center; }
.modal__close:hover { background: rgba(255, 255, 255, .18); }
.modal__close svg { width: 18px; height: 18px; }
.modal__body { padding: 22px 28px 28px; }
.modal .progress { display: flex; gap: 6px; margin-top: 16px; }
.modal .progress i { height: 3px; flex: 1; background: rgba(255, 255, 255, .18); border-radius: 3px; }
.modal .progress i.on { background: var(--gold); }
.choices { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 480px) { .choices { grid-template-columns: 1fr; } }
.choices button { width: 100%; text-align: left; display: flex; align-items: center; gap: 12px; padding: 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--white); color: var(--navy); font-weight: 600; font-size: .9rem; transition: .15s; }
.choices button:hover, .choices button:focus-visible { border-color: var(--gold); background: #fdf8f0; }
.choices b { width: 30px; height: 30px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-dark); display: grid; place-items: center; font-size: .8rem; flex: none; }
.modal .fields { margin-top: 8px; }
.chosen { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--ivory); padding: 12px 14px; border-radius: 10px; font-size: .88rem; }
.chosen strong { color: var(--navy); }
.chosen button { background: none; border: 0; color: var(--gold-dark); font-weight: 600; font-size: .82rem; text-decoration: underline; }
.done { text-align: center; padding: 16px 0 6px; }
.done svg { width: 64px; height: 64px; color: var(--ok); margin: 0 auto 14px; }

/* ---------- Varios ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } * { transition: none !important; } }
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; } .mb-0 { margin-bottom: 0; }
.muted { color: var(--muted); }
.staging-bar { background: var(--gold); color: var(--navy); text-align: center; font-size: .78rem; font-weight: 600; padding: 6px 12px; }
.table-simple { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table-simple th, .table-simple td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-simple th { color: var(--ink); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; background: var(--ivory); }
.err-page { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.form-card h2.h3 { font-size: 1.35rem; }
details.card summary { list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details.card summary::-webkit-details-marker { display: none; }
details.card summary::after { content: "+"; color: var(--gold); font-size: 1.3rem; line-height: 1; }
details.card[open] summary::after { content: "–"; }
details.card:hover { border-color: var(--gold); }
.kicker svg { width: 22px; height: 22px; }
.purpose .kicker svg { width: 40px; height: 40px; }
.route .checks { align-content: start; }

.split--contact { grid-template-columns: 1.4fr .6fr; }
@media (max-width: 900px) { .split--contact { grid-template-columns: 1fr; } }
@media (max-width: 1180px) { .nav .nav-mobile-cta { display: block; } }
