/* ════════════════════════════════════════════
   BrotaInnova Landing v9 — Bold Modern Design
   Brand: #1c3d24 deep · #417f49 mid · #86b154 lime
   Fonts: Baloo 2 (display) · Nunito (body)
════════════════════════════════════════════ */
:root {
  --deep:   #111f14;
  --dark:   #1c3d24;
  --mid:    #2d5c34;
  --green:  #417f49;
  --lime:   #86b154;
  --lime-l: #a8d270;
  --pale:   #f2f8f3;
  --soft:   #e8f4eb;
  --white:  #ffffff;
  --tx:     #111f14;
  --tx2:    #3a5c3e;
  --tx3:    #668569;
  --bd:     #c5dbc9;
  --r-sm:   12px;
  --r-md:   20px;
  --r-lg:   28px;
  --r-xl:   40px;
  --sh:     0 8px 32px rgba(17,31,20,.1);
  --sh-lg:  0 24px 80px rgba(17,31,20,.16);
  --mw:     1140px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Nunito', sans-serif; color: var(--tx); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
h1,h2,h3,h4,h5 { font-family: 'Baloo 2', sans-serif; line-height: 1.1; }
p { line-height: 1.72; }

.bi { overflow-x: hidden; }
.bi-con { width: min(var(--mw), calc(100% - 48px)); margin: 0 auto; }

/* ── ANIMATIONS ── */
.v-up { opacity: 0; transform: translateY(32px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
.v-d1 { transition-delay: .08s; }
.v-d2 { transition-delay: .16s; }
.v-d3 { transition-delay: .24s; }
.v-up.on { opacity: 1; transform: none; }

/* ── BUTTONS ── */
.bi-btn-main {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--lime); color: #fff;
  font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 16px;
  padding: 14px 28px; border-radius: 999px;
  box-shadow: 0 8px 28px rgba(134,177,84,.4);
  transition: all .25s cubic-bezier(.22,1,.36,1);
}
.bi-btn-main:hover { background: var(--lime-l); box-shadow: 0 12px 36px rgba(134,177,84,.5); transform: translateY(-2px); }
.bi-btn-main span { transition: transform .2s; }
.bi-btn-main:hover span { transform: translateX(4px); }

.bi-btn-sec {
  display: inline-flex; align-items: center;
  color: rgba(255,255,255,.8);
  font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 15px;
  padding: 14px 24px; border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.3);
  transition: all .2s;
}
.bi-btn-sec:hover { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.6); }

.bi-btn-inline { margin-top: 8px; }

.bi-btn-xl { padding: 16px 34px; font-size: 17px; }

.bi-btn-outline-dark {
  display: inline-flex; align-items: center;
  border: 2px solid var(--bd); color: var(--green);
  font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 14px;
  padding: 10px 22px; border-radius: 999px; transition: .2s;
}
.bi-btn-outline-dark:hover { background: var(--soft); border-color: var(--green); }

.bi-btn-ghost-cta {
  display: inline-flex; align-items: center;
  color: rgba(255,255,255,.75);
  font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 16px;
  padding: 14px 28px; border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.28);
  transition: all .2s;
}
.bi-btn-ghost-cta:hover { color: #fff; border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.08); }

/* ── NAVBAR ── */
.bi-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  background: rgba(17,31,20,.9);
  backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background .3s;
}
.bi-nav.scrolled { background: rgba(17,31,20,.97); }
.bi-nav-in {
  max-width: var(--mw); margin: 0 auto; padding: 0 24px;
  height: 64px; display: flex; align-items: center; gap: 12px;
}
.bi-nav-brand { display: flex; align-items: center; flex-shrink: 0; }
.bi-nav-logo { height: 36px; width: auto; filter: brightness(0) invert(1); }
.bi-links {
  display: flex; list-style: none; gap: 2px; margin-left: 28px; flex: 1;
}
.bi-links a {
  color: rgba(255,255,255,.65); font-size: 14px; font-weight: 700;
  padding: 7px 13px; border-radius: 8px; transition: .2s; white-space: nowrap;
}
.bi-links a:hover { color: #fff; background: rgba(255,255,255,.07); }
.bi-nav-ctas { display: flex; gap: 8px; margin-left: auto; white-space: nowrap; }
.bi-nav-in-btn {
  color: rgba(255,255,255,.7); font-family: 'Baloo 2', sans-serif; font-weight: 700;
  font-size: 14px; padding: 8px 17px; border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.2); transition: .2s;
}
.bi-nav-in-btn:hover { color: #fff; background: rgba(255,255,255,.08); }
.bi-nav-reg-btn {
  background: var(--lime); color: #fff;
  font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 14px;
  padding: 9px 20px; border-radius: 999px; transition: .2s;
}
.bi-nav-reg-btn:hover { background: var(--lime-l); transform: translateY(-1px); }
.bi-burger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; background: none; border: none; cursor: pointer; padding: 6px; }
.bi-burger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: .3s; transform-origin: center; }

/* ── HERO ── */
.bi-hero {
  position: relative; min-height: 100svh; overflow: hidden;
  background: linear-gradient(150deg, var(--deep) 0%, var(--dark) 40%, #2a5233 70%, #366642 100%);
  display: flex; align-items: center;
  padding: 88px 0 0;
}
.bi-hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.bi-orb {
  position: absolute; border-radius: 50%;
  filter: blur(70px); pointer-events: none;
}
.bi-orb-1 { width: 560px; height: 560px; top: -160px; left: -140px; background: radial-gradient(circle, rgba(134,177,84,.18), transparent 65%); }
.bi-orb-2 { width: 420px; height: 420px; bottom: -80px; right: -80px; background: radial-gradient(circle, rgba(65,127,73,.22), transparent 65%); }
.bi-orb-3 { width: 260px; height: 260px; top: 35%; left: 45%; background: radial-gradient(circle, rgba(168,210,112,.12), transparent 65%); }
.bi-grid-lines { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

.bi-hero .bi-con { position: relative; z-index: 2; width: min(var(--mw), calc(100% - 48px)); margin: 0 auto; }
.bi-hero-body {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px;
  align-items: center; padding: 48px 0 96px;
  min-height: calc(100svh - 88px);
}

.bi-nowrap { white-space: nowrap; }

.bi-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
  color: var(--lime-l); margin-bottom: 22px; display: block;
}

.bi-hero-left h1 {
  font-size: clamp(38px, 5.2vw, 68px);
  font-weight: 900; color: #fff;
  letter-spacing: -.04em; line-height: 1.08;
  margin-bottom: 24px;
}
.bi-hero-left h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--lime) 10%, var(--lime-l) 90%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.bi-hero-left > p {
  font-size: clamp(15px, 1.8vw, 18px); color: rgba(255,255,255,.72); line-height: 1.75;
  max-width: 540px; margin-bottom: 34px;
}
.bi-hero-left > p strong { color: rgba(255,255,255,.95); }
.bi-hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Panel derecho hero */
.bi-panel {
  background: rgba(255,255,255,.97); border-radius: var(--r-lg);
  padding: 32px 28px; box-shadow: var(--sh-lg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.5);
}
.bi-panel-badge {
  display: inline-flex; background: var(--soft); color: var(--green);
  font-size: 12px; font-weight: 800; padding: 6px 14px; border-radius: 999px;
  margin-bottom: 24px; letter-spacing: .03em;
}
.bi-panel-nums {
  display: flex; align-items: center; gap: 0;
  border: 1.5px solid var(--soft); border-radius: var(--r-md);
  overflow: hidden; margin-bottom: 22px;
}
.bi-pn { flex: 1; text-align: center; padding: 18px 12px; }
.bi-pn strong {
  display: block; font-family: 'Baloo 2', sans-serif;
  font-size: 38px; font-weight: 900; color: var(--dark); line-height: 1;
}
.bi-pn span { font-size: 12px; color: var(--tx3); font-weight: 700; line-height: 1.4; display: block; margin-top: 5px; }
.bi-pn-div { width: 1px; background: var(--soft); align-self: stretch; flex-shrink: 0; }

.bi-panel-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.bi-panel-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--tx2); font-weight: 600; line-height: 1.4; }
.bi-check {
  width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%;
  background: var(--soft); color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 900; margin-top: 1px;
}
.bi-panel-cta {
  display: block; text-align: center; width: 100%;
  background: var(--dark); color: #fff;
  font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 15px;
  padding: 14px; border-radius: 14px;
  transition: background .2s, transform .2s;
}
.bi-panel-cta:hover { background: var(--mid); transform: translateY(-2px); }

.bi-hero-wave { position: absolute; bottom: 0; left: 0; right: 0; line-height: 0; }
.bi-hero-wave svg { width: 100%; display: block; }

/* ── SECTIONS GENERAL ── */
.bi-sec { padding: 88px 0; }
.bi-sec-pale { background: var(--pale); }
.bi-sec-white { background: var(--white); }

.bi-tag {
  display: inline-flex; align-items: center;
  background: var(--soft); color: var(--green);
  border-radius: 999px; padding: 6px 16px;
  font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em;
  margin-bottom: 16px;
}
.bi-tag-light {
  background: rgba(255,255,255,.15);
  color: rgba(255,255,255,.9);
}

.bi-sec-hd { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.bi-sec-hd h2 { font-size: clamp(26px, 4vw, 44px); font-weight: 800; letter-spacing: -.025em; margin-bottom: 14px; }
.bi-sec-hd p { font-size: 16px; color: var(--tx2); }

/* ── SPLIT (QUÉ ES) ── */
.bi-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.bi-split-copy h2 { font-size: clamp(24px, 3.5vw, 40px); font-weight: 800; letter-spacing: -.025em; margin-bottom: 18px; }
.bi-split-copy p { font-size: 15px; color: var(--tx2); line-height: 1.75; margin-bottom: 14px; }
.bi-split-copy p strong { color: var(--dark); font-weight: 800; }

.bi-split-cards { display: flex; flex-direction: column; gap: 14px; }
.bi-icon-card {
  background: var(--white); border: 1.5px solid var(--bd);
  border-radius: var(--r-md); padding: 22px 20px;
  transition: transform .3s, box-shadow .3s;
}
.bi-icon-card:hover { transform: translateY(-3px); box-shadow: var(--sh); }
.bi-card-accent {
  background: linear-gradient(135deg, var(--dark), var(--mid));
  border-color: transparent;
}
.bi-card-accent h3, .bi-card-accent p { color: rgba(255,255,255,.9) !important; }
.bi-ic-ico { font-size: 28px; margin-bottom: 10px; }
.bi-icon-card h3 { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 7px; }
.bi-icon-card p { font-size: 13.5px; color: var(--tx2); line-height: 1.6; }

/* ── MÓDULOS ── */
.bi-mod-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.bi-mod {
  background: var(--white); border: 1.5px solid var(--bd);
  border-radius: var(--r-md); padding: 26px 22px;
  position: relative; overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.bi-mod::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--green), var(--lime));
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s cubic-bezier(.22,1,.36,1);
}
.bi-mod:hover { transform: translateY(-5px); box-shadow: var(--sh); border-color: var(--bd); }
.bi-mod:hover::after { transform: scaleX(1); }

.bi-mod-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--pale); color: var(--green);
  font-family: 'Baloo 2', sans-serif; font-weight: 900; font-size: 16px;
  margin-bottom: 16px;
  transition: background .25s, color .25s;
}
.bi-mod:hover .bi-mod-num { background: var(--green); color: #fff; }

.bi-mod h3 { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 10px; line-height: 1.3; }
.bi-mod p { font-size: 13px; color: var(--tx2); line-height: 1.65; }

/* ── EVENTO CIERRE ── */
.bi-cierre-wrap {
  background: linear-gradient(135deg, var(--deep) 0%, var(--dark) 55%, #2a5432 100%);
  padding: 72px 0; position: relative; overflow: hidden;
}
.bi-cierre-wrap::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.07) 1.2px, transparent 1.2px);
  background-size: 30px 30px; pointer-events: none;
}
.bi-cierre {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center;
  position: relative; z-index: 1;
}
.bi-cierre-left { color: #fff; }
.bi-cierre-left h2 { font-size: clamp(24px, 3.5vw, 40px); font-weight: 800; margin: 12px 0 16px; }
.bi-cierre-left p { font-size: 15px; color: rgba(255,255,255,.72); line-height: 1.72; margin-bottom: 24px; }
.bi-cierre-left p strong { color: rgba(255,255,255,.95); }
.bi-cierre-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.bi-cierre-chips span {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.85); padding: 8px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 700;
}
.bi-cierre-right { display: flex; flex-direction: column; gap: 16px; }
.bi-cierre-stat {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-md); padding: 22px 24px;
  display: flex; flex-direction: column; gap: 6px;
}
.bi-cierre-stat strong { font-family: 'Baloo 2', sans-serif; font-size: 32px; font-weight: 900; color: var(--lime-l); line-height: 1; }
.bi-cierre-stat span { font-size: 13px; color: rgba(255,255,255,.6); font-weight: 700; }

/* ── LICEOS ── */
.bi-liceos-wrap {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
  margin-bottom: 36px;
}
.bi-liceo-tag {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--white); border: 1.5px solid var(--bd);
  border-radius: 999px; padding: 12px 20px;
  font-size: 14px; font-weight: 700; color: var(--dark);
  transition: border-color .2s, background .2s, transform .2s;
  cursor: default;
}
.bi-liceo-tag:hover { border-color: var(--green); background: var(--soft); transform: translateY(-2px); }

.bi-liceos-cta { text-align: center; }
.bi-liceos-cta p { font-size: 14px; color: var(--tx3); margin-bottom: 14px; }

/* ── CTA FINAL ── */
.bi-cta-final {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--deep) 0%, var(--dark) 50%, #2d5c34 100%);
  padding: 96px 0;
}
.bi-cta-bg { position: absolute; inset: 0; }
.bi-orb-cta-1 { width: 500px; height: 500px; top: -150px; right: -100px; background: radial-gradient(circle, rgba(134,177,84,.2), transparent 65%); filter: blur(60px); }
.bi-orb-cta-2 { width: 320px; height: 320px; bottom: -100px; left: -60px; background: radial-gradient(circle, rgba(65,127,73,.2), transparent 65%); filter: blur(60px); }

.bi-cta-body {
  position: relative; z-index: 1;
  text-align: center; max-width: 640px; margin: 0 auto;
}
.bi-cta-body h2 {
  font-size: clamp(28px, 4.5vw, 54px); font-weight: 900;
  color: #fff; letter-spacing: -.03em; line-height: 1.05; margin-bottom: 18px;
}
.bi-cta-body p { font-size: 16px; color: rgba(255,255,255,.7); line-height: 1.72; margin-bottom: 32px; }
.bi-cta-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ── FOOTER ── */
.bi-footer { background: var(--deep); padding: 60px 0 0; }

.bi-footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 44px;
  padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.07);
}
.bi-ft-logo { height: 38px; width: auto; filter: brightness(0) invert(1); margin-bottom: 16px; }
.bi-ft-brand p { font-size: 13px; color: rgba(255,255,255,.45); line-height: 1.7; max-width: 300px; }
.bi-ft-nav h5 { font-family: 'Baloo 2', sans-serif; font-size: 11px; font-weight: 800; color: var(--lime); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.bi-ft-nav a { display: block; font-size: 13px; color: rgba(255,255,255,.5); margin-bottom: 9px; transition: color .2s; }
.bi-ft-nav a:hover { color: rgba(255,255,255,.9); }

/* ══ LOGOS INSTITUCIONALES ══
   Orden visual: [CORP grande] | sep | [FOMENTO grande] | sep | [ELEVA pequeño]
   Corporación y Fomento: protagonistas (52px, opacity .9)
   ELEVA: secundario, al final (32px, opacity .45)
════════════════════════════ */
.bi-ft-logos {
  display: flex; align-items: center; justify-content: center;
  padding: 44px 0 40px; gap: 0; flex-wrap: wrap;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.bi-ft-logo-div {
  width: 1px; height: 60px;
  background: rgba(255,255,255,.1); flex-shrink: 0;
  margin: 0 52px;
}

.bi-ft-logo-block {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.bi-fl-label {
  font-size: 10px; font-weight: 800; text-transform: uppercase;
  letter-spacing: .09em; color: rgba(255,255,255,.3);
}

/* Corporación — PROTAGONISTA */
.bi-fl-corp img {
  height: 52px; width: auto;
  filter: brightness(0) invert(1);
  opacity: .9;
  transition: opacity .2s;
}
.bi-fl-corp:hover img { opacity: 1; }

/* Fomento Los Ríos — PROTAGONISTA, mismo peso que Corporación */
.bi-fl-fomento img {
  height: 52px; width: auto;
  filter: brightness(0) invert(1);
  opacity: .9;
  transition: opacity .2s;
}
.bi-fl-fomento:hover img { opacity: 1; }

/* ELEVA — SECUNDARIO, último, más pequeño y tenue */
.bi-fl-eleva img {
  height: 32px; width: auto;
  filter: brightness(0) invert(1);
  opacity: .42;
  transition: opacity .2s;
}
.bi-fl-eleva:hover img { opacity: .65; }

.bi-ft-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap;
  gap: 6px; padding: 18px 0;
}
.bi-ft-bottom small { font-size: 12px; color: rgba(255,255,255,.25); }

/* ══════════ RESPONSIVE ══════════ */
@media (max-width: 1024px) {
  .bi-mod-grid { grid-template-columns: repeat(2, 1fr); }
  .bi-hero-body { gap: 36px; }
}

@media (max-width: 900px) {
  /* Burger nav */
  .bi-links, .bi-nav-ctas { display: none; }
  .bi-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 64px; left: 0; right: 0;
    background: rgba(17,31,20,.98); padding: 14px 24px; gap: 4px; z-index: 999;
  }
  .bi-nav-ctas.open {
    display: flex; flex-direction: column;
    position: absolute; top: 64px; left: 0; right: 0;
    background: rgba(17,31,20,.98); padding: 0 24px 18px; gap: 8px; z-index: 999;
  }
  .bi-burger { display: flex; }

  /* Hero */
  .bi-hero { padding-top: 64px; }
  .bi-hero-body { grid-template-columns: 1fr; min-height: auto; padding: 40px 0 72px; gap: 40px; }
  .bi-hero-left h1 { font-size: clamp(38px, 9vw, 56px); }

  /* Secciones */
  .bi-split { grid-template-columns: 1fr; gap: 40px; }
  .bi-cierre { grid-template-columns: 1fr; gap: 32px; }
  .bi-cierre-right { flex-direction: row; }
  .bi-footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 640px) {
  .bi-mod-grid { grid-template-columns: 1fr; }
  .bi-cierre-right { flex-direction: column; }
  .bi-ft-logos { flex-direction: column; gap: 28px; }
  .bi-ft-logo-div { width: 60px; height: 1px; margin: 0; }
  .bi-footer-top { grid-template-columns: 1fr; }
  .bi-ft-bottom { flex-direction: column; align-items: center; text-align: center; }
  .bi-liceo-tag { font-size: 13px; padding: 10px 16px; }
  .bi-cta-btns { flex-direction: column; align-items: center; }
  .bi-btn-xl { width: 100%; justify-content: center; }
}

/* CFT stat — strong más compacto para que quepa en una línea */
.bi-cierre-stat-cft strong {
  font-size: 22px;
  white-space: nowrap;
}
