/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── TOKENS ──────────────────────────────────────────────── */
:root {
  --verde:       #214033;
  --verde-700:   #1a3328;
  --verde-900:   #14241b;
  --gris:        #707F84;
  --gris-claro:  #E7EAE9;
  --beige:       #F4F3EE;
  --crema:       #EDE9DF;
  --orange:      #F07536;
  --orange-600:  #d95f22;
  --texto:       #2b2b2b;
  --white:       #ffffff;
  --text-mid:    #555;
  --leaders-bg:  var(--beige);

  /* Fondo carbón (hero + separador superior) */
  --charcoal:    #45454a;
  --charcoal-2:  #33333a;
  --charcoal-3:  #2c2c31;

  /* Tipografías de marca (idénticas a mbiq-app) */
  --font-display: 'Hanken Grotesk', 'Inter', system-ui, sans-serif; /* ≈ Season Mix  */
  --font-body:    'Inter', 'Helvetica Neue', Arial, sans-serif;     /* ≈ Neue Montreal */
  --font-mono:    'Space Mono', ui-monospace, monospace;            /* ≈ Akkurat Mono  */
  --font:         var(--font-body);                    /* alias de retro-compat */
}

/* ── BASE ────────────────────────────────────────────────── */
html, body {
  font-family: var(--font-body);
  color: var(--texto);
  -webkit-font-smoothing: antialiased;
  background: var(--white);
}

a { text-decoration: none; }

/* ════════════════════════════════════════════════════════════
   HEADER
════════════════════════════════════════════════════════════ */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--gris-claro);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2.5rem;
  height: 68px;
  display: flex;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 34px;
  width: auto;
  display: block;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
}

.logo:hover .logo-img {
  transform: scale(1.04);
  opacity: 0.82;
}

/* ════════════════════════════════════════════════════════════
   HERO  (imagen 8)
════════════════════════════════════════════════════════════ */
.hero {
  background: linear-gradient(-45deg, var(--charcoal), var(--charcoal-2), var(--charcoal), var(--charcoal-3));
  background-size: 400% 400%;
  animation: heroShimmer 14s ease infinite;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2.5rem 4.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.4vw, 2.65rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.28;
  letter-spacing: -0.01em;
  max-width: 620px;
}

/* Botón decorativo gris — imagen 8 */
.hero-btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  background: var(--orange);
  border: 1px solid var(--orange);
  border-radius: 3px;
  cursor: default;
  user-select: none;
}

/* ════════════════════════════════════════════════════════════
   SEPARADOR  (imagen 10)
════════════════════════════════════════════════════════════ */
.separator {
  width: 100%;
}

/* Fila superior: fondo verde con bloques de hatching */
.sep-top {
  background: var(--charcoal);
  height: 22px;
  display: flex;
  gap: 5px;
  padding: 0 0;
}

.sep-hatch {
  height: 100%;
  background-image: repeating-linear-gradient(
    -55deg,
    rgba(255, 255, 255, 0.14) 0px,
    rgba(255, 255, 255, 0.14) 1.5px,
    transparent 1.5px,
    transparent 8px
  );
}

.sh1 { flex: 1.6; }
.sh2 { flex: 1.0; }
.sh3 { flex: 1.4; }
.sh4 { flex: 1.8; }

/* Fila inferior: fondo leaders-bg, bloques naranja y gris */
.sep-bottom {
  background: var(--leaders-bg);
  height: 40px;
  display: flex;
  align-items: stretch;
}

.sep-gap   { height: 100%; }
.sep-block { height: 100%; }

.sg1       { flex: 1.3; }
.sb-orange { flex: 0.85; background: var(--orange); }
.sg2       { flex: 1.15; }
.sb-gray   { flex: 0.72; background: var(--gris); }
.sg3       { flex: 2.2; }

/* ════════════════════════════════════════════════════════════
   LÍDERES EN CO-INVERSIÓN  (imagen 9)
════════════════════════════════════════════════════════════ */
.leaders-section {
  background: var(--leaders-bg);
}

.leaders-banner {
  position: relative;
  height: 150px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Bloques decorativos del fondo del banner */
.ldeco {
  position: absolute;
  pointer-events: none;
}

.ldeco-1 {
  top: 8px;
  left: 180px;
  width: 120px;
  height: 50px;
  background: rgba(0,0,0,0.04);
  background-image: radial-gradient(circle, rgba(0,0,0,0.06) 1px, transparent 1px);
  background-size: 8px 8px;
}

.ldeco-2 {
  top: 12px;
  right: 220px;
  width: 90px;
  height: 35px;
  background: rgba(0,0,0,0.05);
}

.ldeco-3 {
  bottom: 10px;
  right: 80px;
  width: 130px;
  height: 40px;
  background: rgba(0,0,0,0.04);
}

.ldeco-4 {
  top: 10px;
  right: 30px;
  width: 60px;
  height: 55px;
  background: rgba(255,255,255,0.35);
}

/* Título "Líderes en co-inversión" */
.leaders-title {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.6vw, 1.25rem);
  font-weight: 400;
  color: var(--verde);
  letter-spacing: -0.01em;
  text-align: center;
  position: relative;
  z-index: 1;
}

.leaders-title strong {
  font-weight: 700;
  color: var(--orange);
}

/* ════════════════════════════════════════════════════════════
   BOTONES CTA
════════════════════════════════════════════════════════════ */
.cta-section {
  background: var(--white);
  padding: 2.5rem 0 3rem;
}

.cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

.cta-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  perspective: 1200px;
}

.cta-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 2rem;
  border: 1.5px solid var(--gris-claro);
  border-radius: 6px;
  color: var(--texto);
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.25s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  cursor: pointer;
}

.cta-btn:hover {
  border-color: var(--orange);
  box-shadow: 0 6px 24px rgba(240, 117, 54, 0.15);
  transform: translateY(-3px);
}

.cta-btn-name {
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--texto);
}

.cta-btn-arrow {
  font-size: 1.3rem;
  color: var(--orange);
  transition: transform 0.22s ease;
}

.cta-btn:hover .cta-btn-arrow {
  animation: arrowBounce 0.55s ease infinite;
}

/* ════════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════════ */
.footer {
  background: var(--white);
  border-top: 1px solid var(--gris-claro);
  padding: 1.2rem 2.5rem;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  color: var(--gris);
  letter-spacing: 0.06em;
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  .header-inner     { padding: 0 1.2rem; }

  .hero-inner {
    padding: 3.5rem 1.2rem 3rem;
    gap: 1.5rem;
  }

  .sep-top          { height: 18px; gap: 4px; }
  .sep-bottom       { height: 32px; }

  .leaders-banner   { height: 120px; }

  .cta-section      { padding: 2rem 0 2.5rem; }
  .cta-inner        { padding: 0 1.2rem; }
  .cta-buttons      { grid-template-columns: 1fr; }
  .cta-btn          { padding: 1.5rem 1.4rem; }
}

@media (max-width: 400px) {
  .logo-img { height: 28px; }
}

/* ════════════════════════════════════════════════════════════
   ANIMACIONES
════════════════════════════════════════════════════════════ */

/* -- Keyframes -------------------------------------------- */
@keyframes heroShimmer {
  0%   { background-position: 0%   50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0%   50%; }
}

@keyframes headerSlideDown {
  from { opacity: 0; transform: translateY(-100%); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes clipRevealLR {
  to { clip-path: inset(0 0% 0 0); }
}

@keyframes arrowBounce {
  0%, 100% { transform: translateX(0); }
  50%       { transform: translateX(9px); }
}

/* -- Carga: Header ---------------------------------------- */
.header {
  animation: headerSlideDown 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* -- Carga: Hero líneas escalonadas ----------------------- */
.hero-line {
  display: block;
  opacity: 0;
  animation: fadeUp 0.95s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-line:nth-child(1) { animation-delay: 0.15s; }
.hero-line:nth-child(2) { animation-delay: 0.32s; }
.hero-line:nth-child(3) { animation-delay: 0.49s; }

/* -- Carga: Hero botón ------------------------------------ */
.hero-btn {
  opacity: 0;
  animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.68s forwards;
}

/* -- Carga: Separador bloques (clip de izquierda a derecha) */
.sb-orange,
.sb-gray {
  clip-path: inset(0 100% 0 0);
}
.sb-orange { animation: clipRevealLR 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.9s  forwards; }
.sb-gray   { animation: clipRevealLR 0.9s cubic-bezier(0.22, 1, 0.36, 1) 1.12s forwards; }

/* -- Scroll reveal ---------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Stagger: segunda tarjeta CTA entra 150ms después */
.cta-btn.reveal:nth-child(2) {
  transition-delay: 0.15s;
}
