/* ===================================================
   BCII Enterprises — Design System
   Light / Evernote-inspired palette
   Fonts loaded via wp_enqueue_style in functions.php
   =================================================== */

*, *::before, *::after { box-sizing: border-box; }

/* ── Custom Properties ── */
:root {
  /* Surfaces — disciplina cromática Evernote-style: blanco dominante, gris muy suave para ritmo */
  --bg:         #ffffff;   /* blanco puro - fondo principal */
  --bg-alt:     #f8f9fa;   /* gris muy claro - bloques de contraste alternados */
  --bg-card:    #ffffff;   /* card blanco */
  --bg-warm:    #f5eee4;   /* tan cálido - sólo para hero / accent puntual */
  --bg-dark:    #1d4d40;   /* teal oscuro - footer / dark sections */

  /* Brand & accents */
  --brand:      #1d4d40;   /* teal del logo */
  --brand-h:    #143630;
  --accent:     #dcf7c4;   /* verde claro Joe - sólo en botones/badges */
  --accent-h:   #c8eda6;   /* hover */
  --accent-ink: #2f5d20;   /* verde oscuro para texto sobre accent */
  --gold:       #c79a3a;   /* dorado de énfasis - CTA secundario / stats */

  /* Inks */
  --ink:        #0a0a0a;   /* CTA negro Evernote */
  --text:       #2c2c2c;
  --text-dim:   #6b6b6b;
  --text-muted: #9a9a9a;
  --on-dark:    #f7f6f2;
  --on-dark-d:  rgba(247,246,242,0.82);   /* body/desc sobre fondos dark — sube de 0.7 a 0.82 */
  --on-dark-bd: rgba(247,246,242,0.18);   /* bordes/dividers en footer */

  /* Borders & shadows */
  --border:     rgba(0,0,0,0.08);
  --border-2:   rgba(0,0,0,0.14);
  --shadow-sm:  0 1px 2px rgba(0,0,0,0.04);
  --shadow:     0 2px 8px rgba(0,0,0,0.06);
  --shadow-lg:  0 8px 24px rgba(0,0,0,0.08);

  /* Typography (Inter para todo) */
  --sans:       'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  --body:       'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  --mono:       'Inter', system-ui, sans-serif;

  /* Layout */
  --nav-h:      72px;
  --radius-sm:  6px;
  --radius:     10px;
  --radius-lg:  16px;
}

html { scroll-behavior: smooth; }

/* Scroll-to-top widget de Vamtam — su CSS/JS está dequeueado en functions.php,
 * sin estilos queda como texto plano "top" en el footer. Lo ocultamos. */
#scroll-to-top { display: none !important; }

body.bcii,
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;                     /* sube de 16 → 17 para lectura más cómoda */
  line-height: 1.75;                   /* respiración Evernote — sube de 1.65 */
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* El nav es position: fixed con backdrop-blur translúcido — el contenido
   pasa por debajo. El home arranca con la imagen banner edge-to-edge a y=0
   (queda preciosa atrás del nav transparente, estilo Apple). Las páginas
   internas que arrancan con texto compensan ellas mismas via .page-hero. */

/* ── Navigation ── */
nav.bcii-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(247,246,242,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 2rem;
}

.nav-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo img,
.nav-logo svg {
  height: 28px;
  width: auto;
  display: block;
}
.nav-logo-text { line-height: 1.1; }
.nav-logo-text .brand {
  display: block;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--brand);
  letter-spacing: 0.04em;
}
.nav-logo-text .sub {
  display: block;
  font-size: 0.62rem;
  color: var(--text-muted);
  letter-spacing: 0.18em;
  margin-top: 2px;
  text-transform: uppercase;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
  list-style: none;
  padding: 0;
}
.nav-links li a {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: color 0.18s, background 0.18s;
  display: block;
}
.nav-links li a:hover,
.nav-links li a.active {
  color: var(--brand);
  background: var(--accent);
}

/* Nav CTA principal — color de marca, prominente.
   Reemplaza al ex .nav-ir (negro) que ahora vive en el dropdown Investors. */
.nav-cta {
  font-size: 0.86rem;
  font-weight: 600;
  color: #ffffff;
  background: var(--brand);
  padding: 0.62rem 1.2rem;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
  white-space: nowrap;
  border: 1px solid var(--brand);
  box-shadow: 0 1px 2px rgba(29,77,64,0.20);
}
.nav-cta:hover {
  background: var(--brand-h);
  border-color: var(--brand-h);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(29,77,64,0.28);
}

/* Dropdown submenu — estilo Evernote: panel blanco, sombra suave, en columna */
.nav-links li.menu-item-has-children { position: relative; }
.nav-links li.menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  margin-left: 0.45rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.6;
  transition: transform 0.18s, opacity 0.18s;
}
.nav-links li.menu-item-has-children:hover > a::after,
.nav-links li.menu-item-has-children.is-open > a::after {
  opacity: 1;
  transform: rotate(225deg) translateY(-2px);
}
.nav-links .sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
  z-index: 5;
}
.nav-links li.menu-item-has-children:hover > .sub-menu,
.nav-links li.menu-item-has-children:focus-within > .sub-menu,
.nav-links li.menu-item-has-children.is-open > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-links .sub-menu li a {
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.55rem 0.85rem;
  display: block;
  color: var(--text);
  border-radius: var(--radius-sm);
}
.nav-links .sub-menu li a:hover {
  background: var(--accent);
  color: var(--brand);
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-2);
  color: var(--text);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 0.4rem 0.7rem;
  border-radius: var(--radius-sm);
  margin-left: auto;
}

/* ── Containers ── */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 2.5rem;
  position: relative;
}
.container-wide {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2.5rem;
  position: relative;
}

/* ── Sections ── */
section {
  padding: 7rem 0;
  position: relative;
}
section.bg-alt   { background: var(--bg-alt); }
section.bg-warm  { background: var(--bg-warm); }
section.bg-white { background: var(--bg-card); }
section.bg-dark  { background: var(--bg-dark); color: var(--on-dark); }
section.bg-dark h1, section.bg-dark h2, section.bg-dark h3 { color: var(--on-dark); }
section.bg-dark p { color: var(--on-dark-d); }
section.bg-dark h2 em { color: var(--accent); }

/* Ritmo zigzag: alterna automáticamente blanco / gris claro cuando se aplica .bcii-rhythm al contenedor padre */
.bcii-rhythm > section:nth-of-type(even) { background: var(--bg-alt); }

/* ── Section Labels ── */
.label-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--brand);
  text-transform: uppercase;
}
.badge {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  display: inline-block;
}
.badge-accent {
  background: var(--accent);
  color: var(--accent-ink);
}
.badge-brand {
  background: var(--brand);
  color: var(--on-dark);
}
.badge-outline {
  background: transparent;
  border: 1px solid var(--border-2);
  color: var(--text-dim);
}

/* ── Typography (escala Evernote: H1 56-64, H2 36-42, body 17-18)
 *   Headlines en Inter ExtraBold/Black, sin cursivas ni subrayados.
 *   El <em> dentro de heading hereda el mismo peso/estilo — solo cambia color
 *   para mantener el énfasis sin tipografía itálica. */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--sans);
  line-height: 1.08;
  font-weight: 800;
  color: var(--ink);
  font-style: normal;
  text-decoration: none;
}
h1 {
  font-size: clamp(2.6rem, 5vw, 4rem);     /* ~42-64px — escala estricta */
  font-weight: 800;
  letter-spacing: -0.032em;
  margin-bottom: 1.5rem;
}
h2 {
  font-size: clamp(2rem, 3vw, 2.625rem);   /* ~32-42px */
  font-weight: 800;
  letter-spacing: -0.028em;
  margin-bottom: 1.25rem;
}
/* Énfasis con <em> dentro de heading — sin italic, mismo peso, color brand */
h1 em, h2 em, h3 em, h4 em, h5 em, h6 em {
  font-style: normal;
  font-weight: inherit;
  color: var(--brand);
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  font-weight: 800;
  letter-spacing: -0.012em;
}
h4 {
  font-size: 0.78rem;
  color: var(--brand);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.gradient-brand {
  background: linear-gradient(135deg, var(--brand) 0%, #2a6e5d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

p {
  color: var(--text);
  line-height: 1.78;                  /* respiración Evernote */
  margin-bottom: 1.1rem;
  font-size: 1rem;                    /* hereda 17px del body */
}
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.18rem;                 /* ~20px — subtítulo dominante */
  color: var(--text-dim);
  line-height: 1.7;
  font-weight: 400;
}

.text-dim   { color: var(--text-dim); }
.text-muted { color: var(--text-muted); }
.text-brand { color: var(--brand); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.18s ease, box-shadow 0.25s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,0,0,0.10); }
.btn:active { transform: translateY(0); box-shadow: var(--shadow-sm); }
.btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

/* Negro sólido — primario al estilo Evernote */
.btn-ink {
  color: #ffffff;
  background: var(--ink);
  border-color: var(--ink);
}
.btn-ink:hover { background: #1f1f1f; transform: translateY(-1px); box-shadow: var(--shadow-lg); }

/* Verde accent — secundario destacado */
.btn-accent {
  color: var(--accent-ink);
  background: var(--accent);
  border-color: var(--accent);
}
.btn-accent:hover { background: var(--accent-h); border-color: var(--accent-h); }

/* Brand teal */
.btn-brand {
  color: #ffffff;
  background: var(--brand);
  border-color: var(--brand);
}
.btn-brand:hover { background: var(--brand-h); }

/* Outline neutro */
.btn-ghost {
  color: var(--text);
  background: transparent;
  border-color: var(--border-2);
}
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }

.btn-outline {
  color: var(--brand);
  background: transparent;
  border-color: var(--brand);
}
.btn-outline:hover { background: var(--brand); color: #ffffff; }

/* Modifier — ghost / outline sobre fondos oscuros (bg-dark). Borde y texto
   con contraste alto, hover invierte. */
.btn-on-dark {
  color: var(--on-dark);
  background: transparent;
  border-color: rgba(247,246,242,0.55);
}
.btn-on-dark:hover {
  background: var(--on-dark);
  color: var(--ink);
  border-color: var(--on-dark);
}

.btn-link {
  color: var(--brand);
  background: transparent;
  border: none;
  padding: 0.5rem 0;
}
.btn-link:hover { text-decoration: underline; }

.btns { display: flex; gap: 0.85rem; flex-wrap: wrap; }

/* ── Cards / Panels ── */
.panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 1.85rem;
  border-radius: var(--radius);
  position: relative;
  transition: border-color 0.25s, transform 0.2s, box-shadow 0.25s;
  box-shadow: var(--shadow-sm);
}
.panel:hover {
  border-color: var(--border-2);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.panel-accent {
  background: var(--accent);
  border: 1px solid transparent;
  color: var(--accent-ink);
  padding: 1.85rem;
  border-radius: var(--radius);
}
.panel-accent h3, .panel-accent .stat-num { color: var(--brand); }
.panel-tan {
  background: var(--bg-alt);
  border: 1px solid transparent;
  padding: 1.85rem;
  border-radius: var(--radius);
}
.panel-dark {
  background: var(--bg-dark);
  color: var(--on-dark);
  padding: 1.85rem;
  border-radius: var(--radius);
}
.panel-dark h3 { color: var(--on-dark); }
.panel-dark p  { color: var(--on-dark-d); }

/* ── Grid Layouts ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.75rem; }
.two-col   { display: grid; grid-template-columns: 1fr 1fr;     gap: 5rem; align-items: center; }
.two-col-r { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 5rem; align-items: start; }
/* Zigzag alternation — flipea la columna visualmente sin tocar el orden DOM
   (preserva accesibilidad: el texto sigue primero para screen readers). */
.two-col.is-flipped > :first-child { order: 2; }
.two-col.is-flipped > :last-child  { order: 1; }

/* Media holder para ilustraciones en two-col — encuadre Evernote con bordes
   redondeados, sombra suave y aspect-ratio fijo para mantener ritmo. */
.two-col-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.06),
    0 24px 48px -20px rgba(0,0,0,0.22),
    0 14px 28px -16px rgba(0,0,0,0.14);
  background: var(--bg-alt);
  aspect-ratio: 4 / 3;
}
.two-col-media img,
.two-col-media picture {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Divider ── */
.divider {
  height: 1px;
  background: var(--border);
  margin: 2.25rem 0;
  border: 0;
}

/* ── Stats ── */
.stat-num {
  font-family: var(--sans);
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat-lbl {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-top: 0.65rem;
}
.stat-desc {
  font-size: 0.95rem;
  color: var(--text-dim);
  margin-top: 0.65rem;
  line-height: 1.65;
}

/* Stats grid — variante card con icono superior y gradiente sutil */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.stat-card {
  background: linear-gradient(160deg, var(--bg-card) 0%, var(--bg-alt) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.85rem;
  text-align: left;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-2);
}
.stat-card .stat-icon {
  width: 44px; height: 44px;
  background: var(--accent);
  color: var(--brand);
  border-radius: 42% 58% 60% 40% / 50% 45% 55% 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  font-size: 1.1rem;
  font-weight: 700;
}
.stat-card .stat-icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.stat-card .stat-num { font-size: clamp(2.4rem, 4vw, 3.2rem); }
section.bg-dark .stat-card {
  background: linear-gradient(160deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  border-color: var(--on-dark-bd);
}
section.bg-dark .stat-card .stat-num { color: var(--on-dark); }
section.bg-dark .stat-card .stat-lbl { color: var(--accent); }
section.bg-dark .stat-card .stat-desc { color: var(--on-dark-d); }

/* ── Data Tables ── */
.data-table-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow-x: auto;
  background: var(--bg-card);
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.data-table thead th {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--brand);
  text-transform: uppercase;
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  background: var(--bg-alt);
  white-space: nowrap;
}
.data-table tbody td {
  padding: 0.85rem 1.1rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  line-height: 1.55;
}
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover td { background: var(--bg); }
.data-table tbody td:first-child { color: var(--ink); font-weight: 600; }

/* ── Investor Relations: section heads + capital cards + chart ── */
.ir-section-head {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--brand);
  text-transform: uppercase;
  margin: 2.5rem 0 1.25rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--border);
}
.ir-section-head:first-child { margin-top: 0; }

.capital-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1rem;
}
.cap-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s;
}
.cap-card:hover { border-color: var(--border-2); box-shadow: var(--shadow); transform: translateY(-2px); }
.cap-val {
  font-size: clamp(1.5rem, 2.2vw, 1.85rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}
.cap-lbl {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-dim);
  line-height: 1.45;
}

.chart-wrap {
  position: relative;
  width: 100%;
  height: 480px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #070A14;
  margin-bottom: 1rem;
}
.chart-wrap iframe { width: 100%; height: 100%; display: block; border: 0; }
@media (max-width: 700px) {
  .chart-wrap { height: 360px; }
}

/* ── Lists ── */
.arrow-list { list-style: none; padding: 0; }
.arrow-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.95rem;
  color: var(--text);
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.55;
}
.arrow-list li::before {
  content: '→';
  color: var(--brand);
  flex-shrink: 0;
  font-weight: 600;
}
.arrow-list li:last-child { border-bottom: none; }

.check-list { list-style: none; padding: 0; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.95rem;
  color: var(--text);
  padding: 0.5rem 0;
  line-height: 1.6;
}
.check-list li::before {
  content: '';
  width: 20px; height: 20px;
  background: var(--accent);
  color: var(--brand);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.05rem;
  font-size: 0.75rem;
  font-weight: 700;
  background-image: linear-gradient(var(--accent), var(--accent));
}
.check-list li::before { content: '✓'; }

/* ── Callout / Blockquote ── */
blockquote, .callout {
  border-left: 3px solid var(--brand);
  padding: 1.25rem 1.5rem;
  background: var(--bg-alt);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 2rem 0;
}
blockquote p, .callout p {
  font-size: 1.1rem;
  color: var(--ink);
  line-height: 1.6;
  margin: 0;
}

/* ── Number Steps ── */
.step-card {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.85rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.step-card:hover { border-color: var(--border-2); box-shadow: var(--shadow); }
.step-n {
  font-family: var(--sans);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  -webkit-text-stroke: 1px var(--brand);
  line-height: 1;
  flex-shrink: 0;
  width: 2.8rem;
  text-align: right;
}

/* Iconos de proceso (Cómo funciona) — reemplazan al número grande con un
   blob orgánico + SVG-stroke. El número queda como label chico arriba para
   conservar el orden secuencial. */
.step-icon {
  width: 64px; height: 64px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--brand);
  border-radius: 42% 58% 60% 40% / 50% 45% 55% 50%;
  position: relative;
  transition: transform 0.4s ease, border-radius 0.6s ease;
}
.step-icon svg { width: 30px; height: 30px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.step-icon::before {
  content: attr(data-step);
  position: absolute;
  top: -10px; right: -8px;
  width: 24px; height: 24px;
  background: var(--ink);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0;
}
.step-card:hover .step-icon {
  transform: rotate(-4deg) scale(1.04);
  border-radius: 60% 40% 42% 58% / 45% 55% 45% 55%;
}
.step-num {
  font-family: var(--sans);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  -webkit-text-stroke: 1px var(--brand);
  line-height: 1;
  margin-bottom: 0.65rem;
}

/* ── Timeline ── */
.timeline { position: relative; padding-left: 2rem; list-style: none; }
.timeline::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 2px;
  height: 100%;
  background: var(--accent);
}
.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.4rem;
  top: 0.4rem;
  width: 10px; height: 10px;
  background: var(--brand);
  border: 2px solid var(--bg);
  border-radius: 50%;
}
.timeline-date {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--brand);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}
.timeline-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.35rem;
}
.timeline-body {
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.65;
}

/* ── Phase Table ── */
.phase-table { border-collapse: collapse; width: 100%; }
.phase-table th {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--brand);
  text-transform: uppercase;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
  text-align: left;
}
.phase-table td {
  font-size: 0.92rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: top;
}
.phase-table tr:last-child td { border-bottom: none; }
.phase-table tr:hover td { background: var(--bg); }
.phase-table td:first-child { color: var(--brand); font-weight: 600; }

/* ── Spec Grid (token spec box) ── */
.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
}
.spec-item {
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
}
.spec-item:nth-child(even) { border-right: none; }
.spec-item:nth-last-child(-n+2) { border-bottom: none; }
.spec-key {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}
.spec-val {
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.45;
}

/* ── Competitive Table ── */
.comp-table { border-collapse: collapse; width: 100%; }
.comp-table th {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--brand);
  text-transform: uppercase;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
  text-align: left;
}
.comp-table td {
  font-size: 0.9rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: top;
}
.comp-table tr.bcii-row td {
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 500;
}
.comp-table tr:hover td { background: var(--bg); }
.comp-table tr.bcii-row:hover td { background: var(--accent-h); }

/* ── Risk Box ── */
.risk-box {
  background: #fff7f5;
  border: 1px solid #f1d4cc;
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius);
}
.risk-box h4 {
  color: #c14a2c;
  margin-bottom: 0.85rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
}

/* ── Press Release item (página /news/) ──
   Cada .pr-item tiene un <a class="pr-link-stretched"> dentro de .pr-title
   que se expande con ::after para cubrir el item entero — toda la fila es
   clickeable y abre OTC Markets en pestaña nueva, sin perder semántica. */
.pr-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.5rem;
  padding: 1.6rem 1.85rem;
  background: var(--bg-card);
  position: relative;
  transition: background 0.18s, transform 0.18s;
}
.pr-item + .pr-item { border-top: 1px solid var(--border); }
.pr-item:hover { background: var(--bg-alt); }
.pr-item:hover .pr-title { color: var(--brand); }

.pr-date-col { padding-top: 0.1rem; }
.pr-date {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--brand);
  line-height: 1.35;
  text-transform: uppercase;
}
.pr-title {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 0.55rem;
  transition: color 0.18s;
}
.pr-body {
  font-size: 0.94rem;
  color: var(--text-dim);
  line-height: 1.65;
  margin-bottom: 0.75rem;
}
.pr-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* Stretched link: el <a> dentro de pr-title se expande para cubrir todo el
   .pr-item. El cursor pointer + hover cubren la card entera, pero el texto
   del título conserva su color heredado (no aparece subrayado azul). */
a.pr-link-stretched {
  color: inherit;
  text-decoration: none;
  position: static;
}
a.pr-link-stretched::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}
a.pr-link-stretched:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: -2px;
}

@media (max-width: 700px) {
  .pr-item { grid-template-columns: 1fr; gap: 0.6rem; padding: 1.25rem 1.25rem; }
  .pr-date { letter-spacing: 0.04em; }
}

/* ── News Card ── */
.news-card {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.25s, transform 0.2s, box-shadow 0.25s;
  position: relative;
  text-decoration: none;
  display: block;
  color: inherit;
}
.news-card:hover {
  border-color: var(--border-2);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.news-date {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--brand);
  margin-bottom: 0.6rem;
  text-transform: uppercase;
}
.news-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 0.6rem;
}
.news-body {
  font-size: 0.92rem;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ── IR Contact Card ── */
.contact-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 1.85rem;
  border-radius: var(--radius);
}
.contact-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}
.contact-row:last-child { border-bottom: none; }
.contact-key {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  min-width: 92px;
}
.contact-val { color: var(--ink); }
.contact-val a { color: var(--brand); text-decoration: none; }
.contact-val a:hover { text-decoration: underline; }

/* ── Hero (homepage) — banda de texto BAJO la imagen banner ──
   La imagen vive como Image widget con clase .bcii-hero-media.is-banner
   (ver más arriba). Esta sección es sólo el bloque de texto que sigue. */
.bcii-hero {
  background: var(--bg-warm);
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.bcii-hero > .container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  z-index: 1;
}
.bcii-hero .hero-tag { align-self: center; }
@media (max-width: 900px) {
  .bcii-hero { padding: 3rem 0; }
}
/* Blobs decorativos de fondo (estilo Evernote) */
.bcii-hero::before,
.bcii-hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}
.bcii-hero::before {
  width: 520px; height: 520px;
  background: var(--accent);
  top: -180px; left: -120px;
}
.bcii-hero::after {
  width: 420px; height: 420px;
  background: rgba(29,77,64,0.18);
  bottom: -160px; right: -80px;
}
.bcii-hero > .container { position: relative; z-index: 1; }
.bcii-hero h1 { max-width: 14ch; margin-left: auto; margin-right: auto; }
.bcii-hero .lead { max-width: 640px; margin: 0 auto 2rem; }
.bcii-hero .btns { justify-content: center; margin-bottom: 3rem; }

/* Hero con imagen — variante moderna full-bleed */
.bcii-hero.has-image { padding: 5rem 0 5rem; }
.bcii-hero-media {
  margin: 3rem auto 0;
  max-width: 980px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}
.bcii-hero-media img,
.bcii-hero-media picture { display: block; width: 100%; height: auto; }

/* ── Page illustration band (debajo del page-hero en páginas internas) ──
   Soporta dos modos de uso:
   1) Widget Image nativo de Elementor con CSS class "bcii-hero-media reveal"
      (se reconoce por .elementor-widget-image.bcii-hero-media). Este es
      el modo recomendado: el cliente cambia la imagen desde el editor
      Elementor (click sobre la imagen → panel izquierdo).
   2) <section class="bcii-page-illustration"> con HTML directo (mantenido
      por compatibilidad con páginas hand-coded). */

.bcii-page-illustration {
  padding: 4rem 0 1rem;
  background: var(--bg);
}

/* Estilo Evernote (sólo páginas internas, NO home banner). La imagen vive
 * DENTRO de la section warm cream, junto al texto. Para evitar strip lateral
 * visible del cream, la imagen se extiende casi hasta el borde del viewport
 * (1rem de breathing room cada lado) — más ancha que el .container del texto
 * (que queda a 1120px). El frame visual (radius + sombra + aspect-ratio)
 * vive en el wrapper interno.
 *
 * `:not(.is-banner)` excluye el home banner full-bleed. */
.bcii-page-illustration .bcii-hero-media,
.elementor-widget-image.bcii-hero-media:not(.is-banner) {
  margin: 2.5rem auto 4rem;
  max-width: 1120px;
  width: 100%;
  padding: 0;
  background: transparent;
}
.bcii-page-illustration .bcii-hero-media { margin-top: 0; }

.elementor-widget-image.bcii-hero-media:not(.is-banner) .elementor-widget-container {
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.08),
    0 24px 48px -20px rgba(0,0,0,0.24),
    0 14px 28px -16px rgba(0,0,0,0.14);
  aspect-ratio: 16 / 9;
  background: var(--bg-alt);
}
.elementor-widget-image.bcii-hero-media:not(.is-banner) .elementor-image,
.elementor-widget-image.bcii-hero-media:not(.is-banner) figure,
.elementor-widget-image.bcii-hero-media:not(.is-banner) a { height: 100%; display: block; margin: 0; }
.elementor-widget-image.bcii-hero-media:not(.is-banner) img,
.bcii-page-illustration .bcii-hero-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* Banner hero full-width — pegado al nav, edge-to-edge, sin radius ni sombra.
   Aplica al Image widget de Elementor con clase .bcii-hero-media.is-banner.
   El widget está fuera del .container y usa toda la ancho del viewport. */
.elementor-widget-image.bcii-hero-media.is-banner,
.bcii-hero-media.is-banner {
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
  max-width: none !important;
  aspect-ratio: 21 / 9;
  border-radius: 0 !important;
  overflow: hidden;
  box-shadow: none !important;
  background: var(--bg-alt);
  position: relative;
  z-index: 1;
}
.elementor-widget-image.bcii-hero-media.is-banner .elementor-widget-container,
.elementor-widget-image.bcii-hero-media.is-banner .elementor-image,
.elementor-widget-image.bcii-hero-media.is-banner figure,
.elementor-widget-image.bcii-hero-media.is-banner a { height: 100%; display: block; margin: 0; padding: 0; }
.elementor-widget-image.bcii-hero-media.is-banner img,
.bcii-hero-media.is-banner img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  border-radius: 0 !important;
}
@media (max-width: 900px) {
  .elementor-widget-image.bcii-hero-media.is-banner,
  .bcii-hero-media.is-banner { aspect-ratio: 4 / 3; }
}

@media (max-width: 700px) {
  .bcii-page-illustration { padding: 2.5rem 0 0.5rem; }
  .bcii-page-illustration .bcii-hero-media,
  .elementor-widget-image.bcii-hero-media:not(.is-banner) { padding: 0; margin-top: 2.5rem; }
  .elementor-widget-image.bcii-hero-media:not(.is-banner) .elementor-widget-container { aspect-ratio: 4 / 3; }
}

.hero-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--brand);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  background: var(--accent);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
}

/* Key facts bar (hero) */
.hero-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 960px;
  margin: 0 auto;
}
.hero-fact {
  padding: 1.25rem 1.25rem;
  border-right: 1px solid var(--border);
  text-align: center;
}
.hero-fact:last-child { border-right: none; }
.hf-val {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  display: block;
  letter-spacing: -0.005em;
}
.hf-lbl {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 0.4rem;
  display: block;
}

/* ── Page Hero (inner pages) ── */
.page-hero {
  padding: calc(var(--nav-h) + 4rem) 0 3rem;   /* ↓ menos bottom — la imagen continúa el flujo */
  background: var(--bg-warm);                  /* warm cream estilo Evernote */
  border-bottom: 0;
  position: relative;
}
.page-hero-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--brand);
  text-transform: uppercase;
  margin-bottom: 1rem;
  background: var(--accent);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}
.page-hero h1 {
  font-size: clamp(1.9rem, 4vw, 3.4rem);
  margin-bottom: 1.1rem;
}
.page-hero .lead { max-width: 680px; }

/* ── Market bars ── */
.mkt-bar-wrap { margin-bottom: 1rem; }
.mkt-bar-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
}
.mkt-bar-lbl {
  font-size: 0.82rem;
  color: var(--text-dim);
  width: 200px;
  flex-shrink: 0;
}
.mkt-bar-track {
  flex: 1;
  height: 8px;
  background: var(--bg-alt);
  border-radius: 999px;
  position: relative;
  overflow: hidden;
}
.mkt-bar-fill {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  background: var(--brand);
  border-radius: 999px;
}
.mkt-bar-val {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  width: 80px;
  text-align: right;
  flex-shrink: 0;
}

/* ── Value props icons (estilo Evernote: blob orgánico detrás del símbolo) ── */
.vp-icon {
  width: 96px; height: 96px;        /* ↑ tamaño hero — los pilares destacan */
  background: var(--accent);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  font-weight: 700;
  border-radius: 42% 58% 60% 40% / 50% 45% 55% 50%;   /* blob orgánico */
  position: relative;
  transition: transform 0.4s ease, border-radius 0.6s ease;
  flex-shrink: 0;
}
.panel:hover .vp-icon,
.vp-icon:hover {
  transform: rotate(-4deg) scale(1.04);
  border-radius: 60% 40% 42% 58% / 45% 55% 45% 55%;
}
.vp-icon svg { width: 44px; height: 44px; display: block; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.vp-icon.is-warm { background: #fbe8c4; color: #8a5b14; }
.vp-icon.is-cool { background: #d6ecff; color: #1f4d7a; }
.vp-icon.is-mint { background: var(--accent); color: var(--brand); }
.vp-title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
  letter-spacing: -0.005em;
}

/* ── Animations ── */
@keyframes pulseBrand {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-up    { animation: fadeUp 0.7s ease-out forwards; }
.animate-up-d1 { animation: fadeUp 0.7s 0.08s ease-out both; }
.animate-up-d2 { animation: fadeUp 0.7s 0.16s ease-out both; }
.animate-up-d3 { animation: fadeUp 0.7s 0.24s ease-out both; }
.animate-up-d4 { animation: fadeUp 0.7s 0.32s ease-out both; }

/* Reveal on scroll (IntersectionObserver toggle vía JS — bcii-nav.js).
   Excluido del editor Elementor (.elementor-editor-active) y de la preview
   admin: en esos modos el JS de nav.js no corre, así que la imagen se
   quedaba en opacity:0 y "desaparecía" al hacer click. */
body:not(.elementor-editor-active):not(.elementor-preview):not(.wp-admin) .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
  will-change: opacity, transform;
}
body:not(.elementor-editor-active):not(.elementor-preview):not(.wp-admin) .reveal.is-visible {
  opacity: 1; transform: translateY(0);
}
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Auto-reveal — aplicar fade-in a tarjetas cuando el JS marca .bcii-rhythm */
body.bcii-rhythm-on .panel,
body.bcii-rhythm-on .news-card,
body.bcii-rhythm-on .leader-card,
body.bcii-rhythm-on .stat-card,
body.bcii-rhythm-on .step-card { transition: opacity 0.6s ease-out, transform 0.6s ease-out, border-color 0.25s, box-shadow 0.25s; }

/* ── Layout: zigzag (texto + imagen alternando) ── */
.zigzag {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.zigzag.is-reverse > .zigzag-text { order: 2; }
.zigzag-text > h2 { margin-top: 0; }
.zigzag-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-alt);
  position: relative;
}
.zigzag-media img,
.zigzag-media picture { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); }
.zigzag-media.has-blob::before {
  content: '';
  position: absolute;
  inset: -8% -6% auto auto;
  width: 60%; aspect-ratio: 1;
  background: var(--accent);
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.45;
  z-index: -1;
  pointer-events: none;
}
@media (max-width: 900px) {
  .zigzag { grid-template-columns: 1fr; gap: 2.5rem; }
  .zigzag.is-reverse > .zigzag-text { order: initial; }
}

/* ── Footer ── */
footer.bcii-footer {
  background: var(--bg-dark);
  color: var(--on-dark);
  padding: 4rem 0 1.75rem;
  position: relative;
}
footer.bcii-footer .container { color: var(--on-dark); }
/* Defensa global: ningún elemento del footer en cursiva o subrayado */
footer.bcii-footer em,
footer.bcii-footer i,
footer.bcii-footer u { font-style: normal; text-decoration: none; color: inherit; }
footer.bcii-footer a { text-decoration: none; }
/* El CTA tiene gradiente teal de fondo — el énfasis va en accent verde claro */
.footer-cta em { color: var(--accent); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.1rem;
  text-decoration: none;
  color: var(--on-dark);
}
.footer-brand-text .name {
  display: block;
  font-family: var(--sans);
  font-weight: 800;
  font-style: normal;
  font-size: 1.15rem;
  color: var(--on-dark);
  letter-spacing: 0.02em;
  line-height: 1;
}
.footer-brand-text .sub {
  display: block;
  font-size: 0.66rem;
  color: var(--accent);
  letter-spacing: 0.22em;
  margin-top: 4px;
  text-transform: uppercase;
}
.footer-desc {
  font-size: 0.92rem;
  color: var(--on-dark);                     /* full opacity */
  line-height: 1.75;
  margin-bottom: 1.1rem;
  max-width: 420px;
}
.footer-ticker-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brand);
  background: var(--accent);
  padding: 0.32rem 0.75rem;
  border-radius: 999px;
}
.footer-ticker-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--brand);
  border-radius: 50%;
  animation: pulseBrand 2.5s infinite;
}
.footer-col-head {
  font-size: 0.82rem;
  font-weight: 800;
  font-style: normal;
  letter-spacing: 0.14em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 0.7rem; }
.footer-links a {
  font-size: 0.98rem;
  font-weight: 400;                          /* peso body — el resto del footer es bold */
  color: var(--on-dark);
  text-decoration: none;
  font-style: normal;
  transition: color 0.18s;
  letter-spacing: 0.005em;
}
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  padding-top: 1.75rem;
  border-top: 1px solid var(--on-dark-bd);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.footer-copyright {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--on-dark);                     /* full opacity */
}
.footer-disclaimer {
  font-size: 0.68rem;                          /* ~10-11px estilo financiero */
  color: var(--on-dark-d);                     /* desaturado */
  line-height: 1.65;
  max-width: 920px;
  border-top: 1px solid var(--on-dark-bd);
  padding-top: 1.25rem;
  margin-top: 1.5rem;
  letter-spacing: 0.005em;
}
.footer-disclaimer strong { color: var(--accent); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.72rem; }

/* ── Footer CTA hero (banda anterior a las columnas) ── */
.footer-cta {
  background: linear-gradient(135deg, var(--brand) 0%, #2a6e5d 100%);
  color: var(--on-dark);
  padding: 3rem 2.5rem;
  border-radius: var(--radius-lg);
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
  margin: -2rem auto 3.5rem;
  max-width: 1120px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.footer-cta::after {
  content: '';
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(220,247,196,0.18);
  filter: blur(30px);
  top: -60px; right: -60px;
  pointer-events: none;
}
.footer-cta-text { flex: 1 1 360px; position: relative; z-index: 1; }
.footer-cta-text h3 { color: var(--on-dark); font-size: 1.6rem; font-weight: 800; line-height: 1.15; letter-spacing: -0.018em; margin-bottom: 0.4rem; }
.footer-cta-text p  { color: var(--on-dark-d); margin: 0; font-size: 0.98rem; }
.footer-cta-actions { display: flex; gap: 0.85rem; flex-wrap: wrap; position: relative; z-index: 1; }
@media (max-width: 700px) {
  .footer-cta { padding: 2.2rem 1.5rem; margin: -1.5rem 1rem 2.5rem; }
  .footer-cta-text h3 { font-size: 1.3rem; }
}

/* ── Person card (person-card / -avatar / -role / -name) ── */
.person-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.85rem;
  transition: border-color 0.25s, transform 0.2s, box-shadow 0.25s;
}
.person-card:hover { border-color: var(--border-2); transform: translateY(-2px); box-shadow: var(--shadow); }
.person-avatar {
  width: 120px; height: 120px;        /* ↑ portraits más prominentes */
  border-radius: 50%;
  background: var(--accent);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  margin-bottom: 1.25rem;
  overflow: hidden;
  border: 3px solid var(--bg-card);
  box-shadow: 0 0 0 1px var(--border), 0 6px 18px rgba(0,0,0,0.06);
}
.person-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.person-role {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}
.person-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.85rem;
}

/* ── Leadership cards (variante con foto grande) ── */
.leader-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s, transform 0.2s, box-shadow 0.25s;
}
.leader-card:hover { border-color: var(--border-2); transform: translateY(-2px); box-shadow: var(--shadow); }
.leader-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  background: var(--bg-alt);
}
.leader-body { padding: 1.25rem 1.5rem 1.5rem; }
.leader-name { font-size: 1.1rem; font-weight: 700; color: var(--ink); margin-bottom: 0.2rem; }
.leader-role { font-size: 0.82rem; font-weight: 600; color: var(--brand); letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 0.85rem; }
.leader-bio { font-size: 0.92rem; color: var(--text-dim); line-height: 1.6; }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links li a { padding: 0.5rem 0.55rem; }
}
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .two-col, .two-col-r { grid-template-columns: 1fr; gap: 3rem; }
  /* En mobile el zigzag pierde sentido — texto siempre primero para lectura. */
  .two-col.is-flipped > :first-child,
  .two-col.is-flipped > :last-child { order: initial; }
  .two-col-media { aspect-ratio: 16 / 10; }
  section { padding: 5rem 0; }
  .bcii-hero { padding: 3rem 0; }
  .page-hero { padding: calc(var(--nav-h) + 2rem) 0 2rem; }
}
@media (max-width: 700px) {
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--bg-card);
    flex-direction: column;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    align-items: stretch;
    gap: 0.25rem;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  /* En mobile el sub-menu pasa de dropdown flotante a lista inline indentada */
  .nav-links li.menu-item-has-children > a::after { display: none; }
  .nav-links .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    padding: 0 0 0 0.75rem;
    margin: 0.25rem 0 0.5rem;
    min-width: 0;
    background: transparent;
  }
  .nav-links .sub-menu li a { padding: 0.45rem 0.6rem; font-size: 0.85rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .spec-grid { grid-template-columns: 1fr; }
  .spec-item { border-right: none; }
  .spec-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
  .spec-item:last-child { border-bottom: none; }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.6rem; }
}

/* ============================================================
   OVERRIDES — Elementor Default Kit
   El Kit (post #6) inyecta `.elementor-kit-6 a { color: ... }`
   con specificity (0,0,1,1) que pisa nuestros selectores de un
   solo .class. Re-scope todo bajo body.bcii para subir specificity
   a (0,0,2,1)+ y ganar sin necesidad de !important.
   ============================================================ */

/* Botones — color de texto */
body.bcii .btn.btn-ink     { color: #ffffff; }
body.bcii .btn.btn-brand   { color: #ffffff; }
body.bcii .btn.btn-accent  { color: var(--accent-ink); }
body.bcii .btn.btn-on-dark { color: var(--on-dark); }
body.bcii .btn.btn-on-dark:hover { color: var(--ink); }
body.bcii .btn.btn-outline { color: var(--brand); }
body.bcii .btn.btn-outline:hover { color: #ffffff; }
body.bcii .btn.btn-ghost   { color: var(--text); }
body.bcii .btn.btn-ghost:hover { color: var(--ink); }
body.bcii .btn.btn-link    { color: var(--brand); }

/* Nav */
body.bcii .bcii-nav .nav-links li a { color: var(--text); }
body.bcii .bcii-nav .nav-links li a:hover,
body.bcii .bcii-nav .nav-links li a.active { color: var(--brand); }
body.bcii .bcii-nav a.nav-cta { color: #ffffff; }
body.bcii .bcii-nav a.nav-cta:hover { color: #ffffff; }
body.bcii .bcii-nav .sub-menu li a:hover { color: var(--brand); }
/* El Elementor Kit aplica `.elementor-kit-6 img { border-radius:8px }` con
 * specificity (0,0,1,1) y se carga DESPUÉS de este CSS — para que el logo
 * quede con esquinas rectas necesitamos (0,0,2,1)+. */
body.bcii .nav-logo img { border-radius: 0; }

/* Footer — links + brand text */
body.bcii .bcii-footer .footer-links a { color: var(--on-dark); }
body.bcii .bcii-footer .footer-links a:hover { color: var(--accent); }
body.bcii .bcii-footer a.footer-logo { color: var(--on-dark); }
body.bcii .bcii-footer a.footer-logo:hover { color: var(--on-dark); }

/* Headings — el Elementor Kit aplica `.elementor-kit-6 hN { color, font-family,
 * font-size, font-weight, line-height }` con specificity (0,0,1,1) y carga
 * DESPUÉS de este CSS, ganando por orden. Re-scope bajo body.bcii (0,0,1,2)
 * para que nuestra tipografía Inter ExtraBold gane site-wide. */
body.bcii h1, body.bcii h2, body.bcii h3,
body.bcii h4, body.bcii h5, body.bcii h6 {
  font-family: var(--sans);
  color: var(--ink);
  font-weight: 800;
  font-style: normal;
  line-height: 1.08;
}
body.bcii h1 { font-size: clamp(2.6rem, 5vw, 4rem);     letter-spacing: -0.032em; }
body.bcii h2 { font-size: clamp(2rem, 3vw, 2.625rem);   letter-spacing: -0.028em; }
body.bcii h3 { font-size: 1.25rem;                       letter-spacing: -0.012em; }
body.bcii h4 { font-size: 0.78rem; color: var(--brand); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
/* Contextos especiales: footer + dark sections necesitan color claro */
body.bcii .footer-cta-text h3 { color: var(--on-dark); font-size: 1.6rem; line-height: 1.15; letter-spacing: -0.018em; }
body.bcii .bcii-footer h1, body.bcii .bcii-footer h2,
body.bcii .bcii-footer h3, body.bcii .bcii-footer h4 { color: var(--on-dark); }
body.bcii section.bg-dark h1, body.bcii section.bg-dark h2,
body.bcii section.bg-dark h3, body.bcii section.bg-dark h4 { color: var(--on-dark); }

/* News card — el card entero es <a> en algunas vistas */
body.bcii a.news-card { color: inherit; }
body.bcii a.news-card .news-title { color: var(--ink); }

/* Contact card values */
body.bcii .contact-card .contact-val a { color: var(--brand); }
body.bcii .contact-card .contact-val a:hover { color: var(--brand-h); }

