/* ============================================================
   Atria Capital Partners — styles.css
   Paleta: azul institucional #132033 · dorado apagado #5E87C4
   Tipografía: Playfair Display (titulares) + Inter (cuerpo)
   ============================================================ */

:root {
  --navy: #132033;
  --navy-deep: #0B1420;
  --navy-soft: #2A3C52;
  --gold: #5E87C4;
  --gold-soft: #8BAEDC;
  --bg: #F7F8FA;
  --surface: #FFFFFF;
  --text: #141A24;
  --muted: #5B6472;
  --hairline: rgba(19, 32, 51, 0.11);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --max-w: 1080px;
  --max-w-text: 720px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* ---------- Selector de idioma: se muestra solo el idioma activo ---------- */
html[data-lang="es"] [data-lang="en"],
html[data-lang="en"] [data-lang="es"] { display: none !important; }

/* ---------- Tipografía base ---------- */
h1, h2 { font-family: var(--serif); font-weight: 600; color: var(--navy); line-height: 1.2; letter-spacing: -0.008em; }
h3 { font-family: var(--sans); font-weight: 650; color: var(--navy); line-height: 1.3; letter-spacing: -0.012em; }
h1 { font-size: clamp(2.125rem, 5.2vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.125rem); }
h3 { font-size: 1.1875rem; }
p  { max-width: var(--max-w-text); }

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold); }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }

/* Línea dorada fina — motivo del atrio */
.gold-rule {
  width: 32px; height: 2px;
  background: var(--accent-rule);
  border: none;
  margin: 1.5rem auto;
}
.gold-rule--left { margin-left: 0; margin-right: 0; }

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 250, 248, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hairline);
}
.site-header__inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 1.5rem;
  height: 76px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
}

.brand { display: flex; align-items: center; gap: 0.875rem; }
.brand:hover { color: var(--navy); }
.brand__mark { flex-shrink: 0; width: 42px; height: 42px; }
.brand__name {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: var(--navy);
  line-height: 1.1;
  /* Playfair es una serif de alto contraste: el antialiasing "delgado" de macOS
     le come los trazos finos. Subpixel le devuelve cuerpo al wordmark. */
  -webkit-font-smoothing: subpixel-antialiased;
}
.brand__name small {
  display: block;
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.1875rem;
}

.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text);
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--navy); border-bottom-color: var(--gold); }
.site-nav a.active { color: var(--navy); border-bottom-color: var(--gold); }

/* Toggle ES/EN */
.lang-toggle {
  display: flex; align-items: center;
  border: 1px solid var(--hairline);
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}
.lang-toggle button {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.375rem 0.75rem;
  background: transparent;
  color: var(--muted);
  border: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.lang-toggle button.active { background: var(--navy); color: #fff; }
.lang-toggle button:not(.active):hover { color: var(--navy); }

/* Menú móvil */
.nav-burger {
  display: none;
  background: none; border: none; cursor: pointer;
  padding: 0.5rem;
}
.nav-burger span {
  display: block; width: 22px; height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: transform 0.2s, opacity 0.2s;
}

@media (max-width: 1024px) {
  .nav-burger { display: block; }
  .brand__name { font-size: 1.3125rem; }
  .brand__mark { width: 38px; height: 38px; }
  .brand__name small { font-size: 0.625rem; letter-spacing: 0.18em; white-space: nowrap; }
  .site-nav {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: center; gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--hairline);
    max-height: 0; overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .site-nav.open { max-height: 540px; }
  .site-nav a { padding: 0.875rem 0; width: 100%; text-align: center; border-bottom: 1px solid var(--hairline); }
  .site-nav a.active { border-bottom-color: var(--hairline); }
}

/* ============================================================
   Hero (Home)
   ============================================================ */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: #fff;
  text-align: center;
  padding: 7rem 1.5rem 7.5rem;
  overflow: hidden;
}
/* Luz cenital del atrio: sutil resplandor central desde arriba */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(139, 174, 220, 0.14), transparent 70%);
  pointer-events: none;
}
.hero__inner { position: relative; max-width: 820px; margin: 0 auto; }
.hero h1 { color: #fff; margin-bottom: 0; }
.hero .hero-sub {
  font-size: 1.125rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.82);
  max-width: 660px;
  margin: 0 auto;
}
.hero .atrium-lines {
  display: block;
  margin: 0 auto 2.5rem;
  opacity: 0.9;
}

/* ============================================================
   Botones
   ============================================================ */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.875rem 2.25rem;
  border: 1px solid var(--gold);
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}
.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: transparent; color: var(--gold); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn--outline-light:hover { border-color: var(--gold); color: var(--gold-soft); }
.btn--navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn--navy:hover { background: transparent; color: var(--navy); }

/* ============================================================
   Secciones
   ============================================================ */
.section { padding: 5.5rem 0; }
.section--alt { background: var(--surface); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.section--navy { background: var(--navy); color: #fff; }
.section--navy h2 { color: #fff; }
.section--navy p { color: rgba(255,255,255,0.85); }

.section-head { text-align: center; margin-bottom: 3.5rem; }
.section-head p { margin: 0 auto; color: var(--muted); }

/* Encabezado de página interior */
.page-hero {
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: #fff;
  text-align: center;
  padding: 4.5rem 1.5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 55% 60% at 50% 0%, rgba(139, 174, 220, 0.12), transparent 70%);
  pointer-events: none;
}
.page-hero h1 { color: #fff; position: relative; }
.page-hero .eyebrow { position: relative; display: block; margin-bottom: 0.75rem; }

/* ============================================================
   Tarjetas de pilares / enfoque
   ============================================================ */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.pillar {
  background: var(--surface);
  border: 1px solid var(--hairline);
  box-shadow: 0 1px 2px rgba(19,32,51,0.04), 0 8px 24px rgba(19,32,51,0.05);
  padding: 2.5rem 2rem;
  text-align: center;
}
.pillar .icon { margin: 0 auto 1.5rem; width: 44px; height: 44px; color: var(--gold); }
.pillar .icon svg { width: 100%; height: 100%; }
.pillar h3 { margin-bottom: 0.875rem; }
.pillar p { font-size: 0.9688rem; color: var(--muted); margin: 0 auto; }

/* Bloques de enfoque (About) */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem 3rem;
}
.approach-item { display: flex; gap: 1.25rem; align-items: flex-start; }
.approach-item .icon { flex-shrink: 0; width: 38px; height: 38px; color: var(--gold); margin-top: 0.25rem; }
.approach-item .icon svg { width: 100%; height: 100%; }
.approach-item h3 { margin-bottom: 0.5rem; }
.approach-item p { font-size: 0.9688rem; color: var(--muted); }

/* ============================================================
   Team
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  align-items: start;
}
.team-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  box-shadow: 0 1px 2px rgba(19,32,51,0.04), 0 8px 24px rgba(19,32,51,0.05);
  padding: 3rem 2.5rem;
  text-align: center;
}
/* Retrato: monocromático para unificar fotos de distinta procedencia */
.team-card .portrait {
  width: 132px; height: 132px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--hairline);
  box-shadow: 0 0 0 4px var(--surface), 0 0 0 5px var(--hairline);
}
.team-card .portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.05);
}
/* Marcador cuando aún no hay foto */
.team-card .portrait--empty {
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 2.25rem;
  color: var(--gold);
  background: var(--bg);
}
.team-card h3 { font-size: 1.5rem; margin-bottom: 0.25rem; }
.team-card .role {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.team-card p { color: var(--muted); margin: 0 auto; }

.committee {
  max-width: 720px;
  margin: 3rem auto 0;
  text-align: center;
  padding: 2rem;
  border: 1px dashed var(--hairline);
}
.committee h3 { margin-bottom: 0.75rem; }
.committee p { color: var(--muted); margin: 0 auto; font-size: 0.9688rem; }

/* ============================================================
   Portfolio
   ============================================================ */
.portfolio-intro { text-align: center; }
.portfolio-intro p { margin: 0 auto; }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.holding {
  background: var(--surface);
  border: 1px solid var(--hairline);
  box-shadow: 0 1px 2px rgba(19,32,51,0.04), 0 8px 24px rgba(19,32,51,0.05);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.holding .icon { width: 34px; height: 34px; color: var(--gold); }
.holding .icon svg { width: 100%; height: 100%; }
.holding h3 { font-size: 1.25rem; margin: 0; }
.holding .meta {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.holding p { font-size: 0.9375rem; color: var(--muted); margin: 0; }
.holding .site-link {
  margin-top: auto;
  padding-top: 1.25rem;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  color: var(--navy);
  border-bottom: none;
}
.holding .site-link span { border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.holding .site-link:hover { color: var(--gold); }

/* ============================================================
   Contact
   ============================================================ */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 1024px) { .contact-wrap { grid-template-columns: 1fr; gap: 2.5rem; } }

.contact-info h2 { margin-bottom: 1rem; }
.contact-info p { color: var(--muted); }
.contact-info .email-link {
  display: inline-block;
  margin-top: 1.5rem;
  font-family: var(--serif);
  font-size: 1.125rem;
  color: var(--navy);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
}

.contact-form { background: var(--surface); border: 1px solid var(--hairline); border-top: 2px solid var(--gold); padding: 2.5rem; }
.form-group { margin-bottom: 1.375rem; }
.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--text);
  padding: 0.75rem 0.875rem;
  border: 1px solid var(--hairline);
  border-radius: 6px;
  background: var(--bg);
  transition: border-color 0.15s;
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 140px; }

.form-note { font-size: 0.8125rem; color: var(--muted); margin-top: 1rem; }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band { text-align: center; padding: 5.5rem 1.5rem; }
.cta-band h2 { color: #fff; max-width: 640px; margin: 0 auto 2rem; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.75);
  padding: 3.5rem 0 2.5rem;
  font-size: 0.875rem;
}
.site-footer .container { display: flex; flex-direction: column; gap: 2rem; }
.footer-top {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start;
  gap: 2rem;
}
.footer-brand {
  font-family: var(--serif);
  font-size: 1.375rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.07em;
  line-height: 1.1;
}
.footer-brand small {
  display: block;
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-top: 0.1875rem;
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer-nav a { color: rgba(255,255,255,0.75); font-size: 0.8125rem; letter-spacing: 0.04em; }
.footer-nav a:hover { color: var(--gold-soft); }

.footer-disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.75rem;
  font-size: 0.75rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
}
.footer-disclaimer p { max-width: none; }
.footer-copy { font-size: 0.75rem; color: rgba(255, 255, 255, 0.45); }

/* ============================================================
   Utilidades
   ============================================================ */
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.narrow { max-width: var(--max-w-text); margin-left: auto; margin-right: auto; }

@media (max-width: 600px) {
  .section { padding: 3.5rem 0; }
  .hero { padding: 4.5rem 1.5rem 5rem; }
  .contact-form { padding: 1.75rem 1.5rem; }
}

/* ============================================================
   Registro de empresas (intake.html)
   Formulario por pasos para emprendedores
   ============================================================ */

.intake-wrap { max-width: 780px; margin: 0 auto; }

/* Indicador de pasos */
.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 3rem;
}
.step-dot { display: flex; align-items: center; }
.step-dot__circle {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  background: var(--surface);
  color: var(--muted);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8125rem; font-weight: 600;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.step-dot__label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-left: 0.625rem;
  white-space: nowrap;
}
.step-dot__line {
  width: 40px; height: 1px;
  background: var(--hairline);
  margin: 0 0.875rem;
  flex-shrink: 0;
}
.step-dot.is-active .step-dot__circle { background: var(--navy); border-color: var(--navy); color: #fff; }
.step-dot.is-active .step-dot__label { color: var(--navy); }
.step-dot.is-done .step-dot__circle { background: var(--gold); border-color: var(--gold); color: #fff; }

@media (max-width: 700px) {
  .step-dot__label { display: none; }
  .step-dot__line { width: 28px; }
}

/* Panel del formulario */
.intake-form {
  background: var(--surface);
  border: 1px solid var(--hairline);
  box-shadow: 0 1px 2px rgba(19,32,51,0.04), 0 8px 24px rgba(19,32,51,0.05);
  padding: 3rem;
}
@media (max-width: 600px) { .intake-form { padding: 1.75rem 1.5rem; } }

.fieldset { display: none; }
.fieldset.is-active { display: block; }
.fieldset > h2 { font-size: 1.375rem; margin-bottom: 0.5rem; }
.fieldset > .lede { font-size: 0.9375rem; color: var(--muted); margin-bottom: 2rem; }

/* Filas de dos columnas */
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.375rem;
}
@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; gap: 0; } }

.form-group select {
  width: 100%;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--text);
  padding: 0.75rem 0.875rem;
  border: 1px solid var(--hairline);
  border-radius: 6px;
  background: var(--bg);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%235B6472' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  padding-right: 2.25rem;
}
.form-group select:focus { outline: none; border-color: var(--gold); }
.form-group .hint { font-size: 0.75rem; color: var(--muted); margin-top: 0.375rem; }
.form-group label .opt {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted);
  font-size: 0.75rem;
}

/* Casillas de "qué buscas" */
.option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.75rem;
}
.option-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.125rem;
  border: 1px solid var(--hairline);
  border-radius: 6px;
  background: var(--bg);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.option-card:hover { border-color: var(--gold-soft); }
.option-card input { margin-top: 0.1875rem; accent-color: var(--navy); flex-shrink: 0; width: 16px; height: 16px; cursor: pointer; }
.option-card__text { font-size: 0.9375rem; line-height: 1.5; }
.option-card__text strong { display: block; font-weight: 600; color: var(--navy); }
.option-card__text em { font-style: normal; font-size: 0.8125rem; color: var(--muted); }
.option-card:has(input:checked) { border-color: var(--gold); background: var(--surface); }

/* Navegación entre pasos */
.form-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--hairline);
}
.btn--ghost {
  background: transparent;
  color: var(--muted);
  border-color: var(--hairline);
}
.btn--ghost:hover { color: var(--navy); border-color: var(--navy); }
.form-nav .spacer { margin-left: auto; }

/* Nota de confidencialidad */
.confidential {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg);
  border-left: 2px solid var(--gold);
  box-shadow: 0 1px 2px rgba(19,32,51,0.04), 0 8px 24px rgba(19,32,51,0.05);
}
.confidential svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; margin-top: 0.125rem; }
.confidential p { font-size: 0.8125rem; line-height: 1.65; color: var(--muted); margin: 0; }

/* Consentimiento */
.consent {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-top: 1.75rem;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--muted);
  cursor: pointer;
}
.consent input { margin-top: 0.1875rem; accent-color: var(--navy); width: 16px; height: 16px; flex-shrink: 0; cursor: pointer; }

/* Estado de error */
.field-error { border-color: #B3453A !important; }
.error-msg {
  display: none;
  font-size: 0.75rem;
  color: #B3453A;
  margin-top: 0.375rem;
}
.error-msg.is-visible { display: block; }

/* Pantalla de confirmación */
.intake-done { display: none; text-align: center; padding: 2rem 0; }
.intake-done.is-active { display: block; }
.intake-done .seal {
  width: 64px; height: 64px;
  margin: 0 auto 1.75rem;
  border-radius: 50%;
  border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.intake-done .seal svg { width: 28px; height: 28px; }
.intake-done h2 { margin-bottom: 0.75rem; }
.intake-done p { margin: 0 auto; color: var(--muted); }

/* ============================================================
   Co-inversiones / alianzas (distinto de las compañías propias)
   ============================================================ */
.alliance {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-left: 2px solid var(--gold);
  box-shadow: 0 1px 2px rgba(19,32,51,0.04), 0 8px 24px rgba(19,32,51,0.05);
  padding: 2.75rem 3rem;
  max-width: 860px;
  margin: 0 auto;
}
@media (max-width: 700px) {
  .alliance { grid-template-columns: 1fr; gap: 1.5rem; padding: 2rem 1.75rem; }
}
.alliance .icon { width: 48px; height: 48px; color: var(--gold); }
.alliance .icon svg { width: 100%; height: 100%; }
.alliance h3 { font-size: 1.375rem; margin-bottom: 0.25rem; }
.alliance .meta {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.125rem;
}
.alliance p { font-size: 0.9688rem; color: var(--muted); margin: 0; }

/* Cifras del aliado, claramente atribuidas */
.alliance-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hairline);
}
.alliance-stats div { min-width: 90px; }
.alliance-stats .n {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--navy);
  line-height: 1.2;
}
.alliance-stats .l {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.25rem;
}
.alliance .site-link {
  display: inline-block;
  margin-top: 1.75rem;
  font-size: 0.8125rem;
  color: var(--navy);
}
.alliance .site-link span { border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.alliance .site-link:hover { color: var(--gold); }

/* ============================================================
   Inversionistas — nuevos proyectos y oportunidades
   ============================================================ */

/* Cómo invertimos: dos modos, capital propio y co-inversión */
.modes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.mode {
  background: var(--surface);
  border: 1px solid var(--hairline);
  box-shadow: 0 1px 2px rgba(19,32,51,0.04), 0 8px 24px rgba(19,32,51,0.05);
  padding: 2.5rem 2rem;
}
.mode .icon { width: 40px; height: 40px; color: var(--gold); margin-bottom: 1.25rem; }
.mode .icon svg { width: 100%; height: 100%; }
.mode h3 { margin-bottom: 0.75rem; }
.mode p { font-size: 0.9375rem; color: var(--muted); margin: 0; }

/* Tarjetas de proyecto */
.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.project {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--hairline);
  padding: 2rem 1.875rem;
  transition: border-color 0.2s;
}
.project:hover { border-color: var(--gold-soft); }

.project__status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-start;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.3125rem 0.75rem;
  border-radius: 6px;
  margin-bottom: 1.25rem;
}
.project__status::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.status--open   { background: rgba(94,135,196,0.12); color: #3A5E96; }
.status--soon   { background: rgba(31,58,95,0.08);  color: var(--navy-soft); }
.status--closed { background: rgba(92,100,112,0.10); color: var(--muted); }

.project h3 { margin-bottom: 0.375rem; }
.project__meta {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.project p { font-size: 0.9375rem; color: var(--muted); margin: 0 0 1.5rem; }

.project__facts {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--hairline);
  display: grid;
  gap: 0.625rem;
}
.project__facts div { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.8125rem; }
.project__facts dt { color: var(--muted); }
.project__facts dd { color: var(--navy); font-weight: 600; text-align: right; }

/* Aviso de colocación privada */
.private-notice {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  max-width: 780px;
  margin: 3rem auto 0;
  padding: 1.5rem 1.75rem;
  background: var(--bg);
  border: 1px solid var(--hairline);
  border-left: 2px solid var(--navy);
}
.private-notice svg { width: 20px; height: 20px; color: var(--navy); flex-shrink: 0; margin-top: 0.125rem; }
.private-notice p { font-size: 0.8125rem; line-height: 1.7; color: var(--muted); margin: 0; }

/* ============================================================
   Rol en cada compañía (creada / adquirida / participada)
   ============================================================ */
/* Contenedor para cuando hay más de una etiqueta */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-bottom: 0.875rem;
}
.tags .role-tag { margin-bottom: 0; }

.role-tag {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.25rem 0.625rem;
  border-radius: 6px;
  margin-bottom: 0.875rem;
  align-self: flex-start;
}
.tag--built    { background: rgba(94,135,196,0.14);  color: #3A5E96; }
.tag--acquired { background: rgba(31,58,95,0.09);    color: var(--navy-soft); }
.tag--stake    { background: rgba(92,100,112,0.10);  color: var(--muted); }
/* Secundaria: contorno, para no competir con el rol principal */
.tag--capital  { background: transparent; border: 1px solid rgba(94,135,196,0.55); color: #3A5E96; }

/* ============================================================
   Compañías en el home (versión compacta)
   ============================================================ */
.company-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.company-chip {
  background: var(--surface);
  border: 1px solid var(--hairline);
  box-shadow: 0 1px 2px rgba(19,32,51,0.04), 0 8px 24px rgba(19,32,51,0.05);
  padding: 1.5rem 1.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
}
.company-chip .name {
  font-family: var(--serif);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
}
.company-chip .sector {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.company-chip .role-tag { margin-bottom: 0; margin-top: 0.375rem; align-self: center; }

/* ============================================================
   Equipo resumido en el home
   ============================================================ */
.team-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.team-mini {
  display: block;
  background: var(--surface);
  border: 1px solid var(--hairline);
  box-shadow: 0 1px 2px rgba(19,32,51,0.04), 0 8px 24px rgba(19,32,51,0.05);
  padding: 2.75rem 1.75rem 2.25rem;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}
.team-mini:hover { border-color: var(--gold-soft); transform: translateY(-2px); }
.team-mini img {
  width: 136px; height: 136px;
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.05);
  background: var(--bg);
  border: 1px solid var(--hairline);
  box-shadow: 0 0 0 5px var(--surface), 0 0 0 6px var(--hairline);
  margin: 0 auto 1.5rem;
}
.team-mini .n {
  font-family: var(--serif);
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.25;
}
.team-mini:hover .n { color: var(--navy); }
.team-mini .r {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.375rem;
}
/* Línea de función: da sustancia a la tarjeta en vez de dejarla decorativa */
.team-mini .d {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 1.125rem;
  padding-top: 1.125rem;
  border-top: 1px solid var(--hairline);
}

/* ============================================================
   Modalidades: con capital / sin capital (equity por equipo)
   ============================================================ */
.deal-models {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.deal-model {
  padding: 2.5rem 2.25rem;
  border: 1px solid var(--hairline);
  background: var(--surface);
  display: flex;
  flex-direction: column;
}
/* La segunda modalidad es la diferencial: va en azul para que domine */
.deal-model--highlight {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.deal-model__label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.deal-model h3 { margin-bottom: 1rem; }
.deal-model--highlight h3 { color: #fff; }
.deal-model p { font-size: 0.9688rem; color: var(--muted); margin: 0; }
.deal-model--highlight p { color: rgba(255,255,255,0.84); }

/* Cifra del trato */
.deal-model__figure {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hairline);
  display: flex;
  align-items: baseline;
  gap: 0.625rem;
}
.deal-model--highlight .deal-model__figure { border-top-color: rgba(255,255,255,0.18); }
.deal-model__figure .num {
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1;
  color: var(--navy);
}
.deal-model--highlight .deal-model__figure .num { color: var(--gold-soft); }
.deal-model__figure .lbl {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.4;
}
.deal-model--highlight .deal-model__figure .lbl { color: rgba(255,255,255,0.7); }


/* ============================================================
   Ajustes del tema moderno
   ============================================================ */
:root {
  --accent-rule: rgba(94,135,196,0.85);
}
/* Eyebrow más técnico */
.eyebrow { letter-spacing: 0.16em; font-size: 0.6875rem; color: var(--navy-soft); }
.section--navy .eyebrow, .page-hero .eyebrow, .hero .eyebrow { color: var(--gold-soft); }

/* Marca: el wordmark conserva la serif como ancla institucional */
.brand__name { font-family: var(--serif); letter-spacing: 0.02em; }
.brand__name small { color: var(--navy-soft); letter-spacing: 0.2em; }
.footer-brand { font-family: var(--serif); }

/* Botones: menos mayúsculas espaciadas, más contemporáneo */
.btn {
  text-transform: none;
  letter-spacing: 0.005em;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.8125rem 1.75rem;
  border-radius: 6px;
}
.btn--gold { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn--gold:hover { background: #4C76B2; border-color: #4C76B2; color: #fff; }
.btn--navy:hover { background: var(--navy-soft); border-color: var(--navy-soft); color: #fff; }

/* Hero: degradado más plano y frío */
.hero, .page-hero { background: linear-gradient(170deg, #0B1420 0%, #16253A 100%); }
.hero::before, .page-hero::before { background: radial-gradient(ellipse 70% 55% at 50% -5%, rgba(94,135,196,0.20), transparent 70%); }

/* Navegación */
.site-nav a { font-weight: 450; }
.site-nav a.active, .site-nav a:hover { border-bottom-color: var(--gold); }

/* Etiquetas de rol */
.role-tag { border-radius: 4px; letter-spacing: 0.08em; }

/* Retratos: sin doble anillo, más limpio */
.team-card .portrait, .team-mini img {
  box-shadow: none;
  border: 3px solid var(--surface);
  outline: 1px solid var(--line, rgba(19,32,51,0.10));
}


/* ============================================================
   Mix: estructura moderna + voz institucional
   ============================================================ */

/* Acento con dos pesos: claro sobre oscuro, profundo sobre claro */
:root {
  --accent-deep: #3E6396;
  --accent-rule: rgba(62,99,150,0.75);
}

/* Sobre fondo claro el acento va más profundo, para peso y contraste */
.eyebrow { color: var(--accent-deep); letter-spacing: 0.17em; font-weight: 600; }
.section--navy .eyebrow,
.page-hero .eyebrow,
.hero .eyebrow { color: var(--gold-soft); }

.team-card .role,
.team-mini .r,
.project__meta,
.alliance .meta,
.holding .meta { color: var(--accent-deep); }

/* La línea divisoria recupera presencia sin volverse ornamento */
.gold-rule { width: 44px; background: var(--accent-deep); opacity: 0.85; }

/* Cifras y nombres de compañía en serif: ahí vive la elegancia */
.company-chip .name,
.team-mini .n,
.team-card h3,
.holding h3,
.project h3,
.alliance h3 { font-family: var(--serif); font-weight: 600; letter-spacing: 0.005em; }

/* Botones: forma moderna, texto con un punto más de autoridad */
.btn { font-weight: 600; letter-spacing: 0.01em; }
.btn--gold { background: var(--accent-deep); border-color: var(--accent-deep); }
.btn--gold:hover { background: var(--navy); border-color: var(--navy); }

/* Enlaces de sitio en las tarjetas */
.site-link span, .alliance .site-link span { border-bottom-color: var(--accent-deep); }

/* Navegación activa */
.site-nav a.active, .site-nav a:hover { border-bottom-color: var(--accent-deep); }

/* El bloque destacado de modalidad conserva el azul profundo */
.deal-model--highlight { background: var(--navy); border-color: var(--navy); }
.deal-model__label { color: var(--gold-soft); }
.deal-model--highlight .deal-model__figure .num { color: var(--gold-soft); }
.deal-model:not(.deal-model--highlight) .deal-model__label { color: var(--accent-deep); }
