/* ============================================================
   USIL VENTURES — hoja de estilos global
   1. Tokens
   2. Base
   3. Componentes  (btn, card, chip, metric, section-head, deco, tabs)
   4. Layout       (header, footer, hero)
   5. Home
   6. Responsive
   ============================================================ */

/* ============ 1. TOKENS ============ */
:root {
  /* Marca */
  --lime:        #dbe64c;
  --lime-700:    #c8d335;
  --blue:        #1f4993;
  --blue-hover:  #3c68b5;
  --blue-deep:   #16356e;
  --green:       #2f9b48;
  --green-soft:  #57ad53;
  --green-deep:  #157a3c;
  --gray-menu:   #4d4d4d;

  /* Neutros */
  --ink:    #1c2540;
  --muted:  #5a6b8c;
  --paper:  #ffffff;

  /* Superficies */
  --shadow:      0 14px 34px -18px rgba(13, 26, 70, .45);
  --shadow-soft: 0 8px 22px -14px rgba(13, 26, 70, .35);
  --shadow-pop:  0 18px 40px -16px rgba(13, 26, 70, .55);

  /* Formas */
  --radius:    18px;
  --radius-lg: 22px;
  --radius-sm: 12px;

  /* Tipografía */
  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Mulish", system-ui, sans-serif;

  /* Medidas */
  --wrap: 1180px;

  /* Utilidad: teñir SVG monocromo a lima (para hovers) */
  --filter-lime: brightness(0) saturate(100%) invert(88%) sepia(32%)
                 saturate(804%) hue-rotate(20deg) brightness(103%) contrast(90%);
  --filter-white: brightness(0) invert(1);
  --filter-blue:  brightness(0) saturate(100%) invert(25%) sepia(56%)
                  saturate(1155%) hue-rotate(191deg) brightness(93%) contrast(91%);
  --filter-blue: brightness(0) saturate(100%) invert(25%) sepia(56%)
                 saturate(1155%) hue-rotate(191deg) brightness(93%) contrast(91%);
}

/* ============ 2. BASE ============ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 { font-family: var(--font-head); }
a   { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap {
  width: min(var(--wrap), 92vw);
  margin-inline: auto;
  position: relative;
  z-index: 2;
}

/* Toda sección que aloje shapes necesita esto */
.section {
  position: relative;
  overflow: hidden;
}
.section--light { background: #fff; }
.section--blue  { background: var(--blue); color: #fff; }
.section--pad   { padding: 4.5rem 0 5rem; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Color de fondo del header según la página.
   Se aplica con $bodyClass desde el controlador: 'page--green', etc. */
.page--blue  { --header-bg: var(--blue); }
.page--green { --header-bg: var(--green-deep); }
.page--lime  { --header-bg: var(--lime); }
.page--white { --header-bg: #fff; }

/* ============ 3. COMPONENTES ============ */

/* ---- 3.1 Shapes decorativos ---- */
.deco-layer {
  position: absolute; inset: 0;
  z-index: 0; pointer-events: none;
}
.deco {
  position: absolute;
  pointer-events: none;
  user-select: none;
}

/* ---- 3.2 Botones ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .55rem;
  font-family: var(--font-head); font-weight: 600;
  border: 0; border-radius: 10px; cursor: pointer;
  padding: .8rem 1.6rem; font-size: .95rem; line-height: 1;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }

.btn--pill   { border-radius: 999px; }
.btn--italic { font-style: italic; }
.btn--sm     { padding: .6rem 1.1rem; font-size: .85rem; }

.btn--lime        { background: var(--lime); color: var(--blue); }
.btn--lime:hover  { background: var(--lime-700); }
.btn--green       { background: var(--green-soft); color: var(--blue); }
.btn--green:hover { filter: brightness(.95); }
.btn--green-deep       { background: var(--green-deep); color: #fff; }
.btn--green-deep:hover { filter: brightness(1.08); }
.btn--navy       { background: var(--blue); color: #fff; }
.btn--navy:hover { background: var(--blue-hover); }
/* Outline blanco: Consulting "Ver servicios", Nosotros */
.btn--ghost       { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.btn--ghost:hover { background: #fff; color: var(--blue); }

.btn .arr { transition: transform .15s ease; }
.btn:hover .arr { transform: translateX(3px); }

/* ---- 3.3 Card genérica ----
   Base de métricas, reconocimientos, proyectos, startups, eventos, equipo. */
.card-u {
  background: #fff; color: var(--ink);
  border: 2px solid transparent; border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.card-u--bordered { border-color: var(--blue); }
.card-u--pad      { padding: 1.4rem 1.5rem; }

/* Estado activo/hover de marca: azul + borde lima */
.card-u--hoverable:hover,
.card-u.is-active {
  background: var(--blue-hover); border-color: var(--lime); color: #fff;
}
.card-u--hoverable:hover h3,
.card-u--hoverable:hover h4,
.card-u.is-active h3,
.card-u.is-active h4 { color: var(--lime); }
.card-u--hoverable:hover p,
.card-u.is-active p { color: #dbe3fb; }
.card-u--hoverable:hover img,
.card-u.is-active img { filter: var(--filter-lime); }

/* ---- 3.4 Chip / píldora ---- */
.chip {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .4rem .9rem; border-radius: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: .8rem;
  background: #ecf0f5; color: var(--blue);
  border: 1px solid var(--blue);
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.chip:hover  { background: var(--green-soft); color: #fff; }
.chip--lime   { background: var(--lime); border-color: var(--lime); color: var(--blue); }
.chip--outline{ background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.chip.is-active { background: var(--green-soft); color: #fff; }

/* ---- 3.5 Métricas (3 variantes) ---- */
.metrics-row { display: flex; flex-wrap: wrap; gap: 1rem; }

/* a) Card con ícono — Home */
.metric--card {
  background: #fff; border-radius: 14px; padding: 1.1rem;
  display: flex; gap: .7rem; align-items: center;
  box-shadow: var(--shadow); border: 2px solid transparent;
  height: 100%;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.metric--card .metric__ic  { width: 48px; flex: none; }
.metric--card .metric__num { font-family: var(--font-head); font-weight: 800; font-size: 1.7rem; line-height: 1; color: var(--green); }
.metric--card .metric__u   { font-size: .78rem; font-weight: 700; color: var(--muted); margin-left: 3px; }
.metric--card .metric__lbl { font-size: .72rem; color: var(--blue); line-height: 1.25; font-style: italic; transition: color .18s ease; }

.metric--card:hover,
.metric--card:focus-within {
  background: var(--blue-hover); border-color: var(--lime); color: #fff;
}
.metric--card:hover .metric__num { color: var(--lime); }
.metric--card:hover .metric__u   { color: #e6ecff; }
.metric--card:hover .metric__lbl { color: #fff; }
.metric--card:hover .metric__ic img { filter: var(--filter-lime); }

/* b) Inline sin caja — Nosotros, Startups */
.metric--inline {
  display: flex; align-items: center; gap: .7rem;
  padding: .4rem 1.2rem .4rem 0;
}
.metric--inline .metric__ic  { width: 34px; flex: none; }
.metric--inline .metric__num { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; line-height: 1; color: var(--lime); }
.metric--inline .metric__lbl { font-size: .78rem; font-style: italic; color: #d6def5; line-height: 1.25; }

/* c) Bento — Academy */
.metric--bento {
  background: #eef2fb; border-radius: var(--radius-sm);
  padding: 1rem 1.1rem; height: 100%;
}
.metric--bento .metric__num { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; line-height: 1.1; color: var(--blue); }
.metric--bento .metric__lbl { font-size: .72rem; color: var(--muted); line-height: 1.3; }
.metric--bento.is-featured  { background: var(--blue); }
.metric--bento.is-featured .metric__num { color: var(--lime); }
.metric--bento.is-featured .metric__lbl { color: #dbe3fb; }

/* ---- 3.6 Cabecera de sección ---- */
.section-head {
  display: flex; align-items: center; justify-content: center;
  gap: 5rem; margin-bottom: 3rem;
}
.section-head__text { flex: 0 1 auto; }
.section-head__deco { flex: none; }
.section-head__deco img { width: 120px; height: auto; }

.eyebrow {
  text-align: center; margin: 0;
  font-family: var(--font-head); font-weight: 600;
  text-transform: uppercase;
  color: var(--green);
}
.section--blue .eyebrow {
  color: var(--lime); text-transform: uppercase;
  letter-spacing: .12em; font-size: .82rem;
}
.section-title {
  text-align: center; margin: 5px 0;
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  color: var(--blue);
}
.section--blue .section-title { color: #fff; }
.section-sub {
  text-align: center; margin: .35rem auto 0;
  max-width: 38rem; color: var(--muted); font-style: italic;
}
.section--blue .section-sub { color: #cdd7f3; }

/* ---- 3.7 Tabs (Consulting, Academy, Contacto, Proyectos) ---- */
.tabs__nav  { display: flex; flex-wrap: wrap; gap: .4rem; }
.tabs__btn  {
  font-family: var(--font-head); font-weight: 600; font-size: .9rem;
  padding: .75rem 1.2rem; border: 0; cursor: pointer;
  border-radius: 12px 12px 0 0;
  background: #fff; color: var(--blue);
}
.tabs__btn.is-active { background: var(--lime); color: var(--blue); }
.tabs__panel         { display: none; }
.tabs__panel.is-active { display: block; }

/* ---- 3.8 Acordeón (Consulting) ---- */
.acc__item   { border-bottom: 1px solid rgba(31,73,147,.12); }
.acc__btn    {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .9rem 1rem; font-family: var(--font-head); font-weight: 600;
  color: var(--blue);
}
.acc__btn[aria-expanded="true"] { background: var(--lime); }
.acc__panel  { display: none; padding: .9rem 1rem; font-size: .9rem; color: var(--muted); }
.acc__panel.is-open { display: block; }

/* ============ 4. LAYOUT ============ */

/* ---- 4.1 Header ---- */
.site-header {
  background: var(--header-bg, var(--blue));
  padding: 1.4rem 0 0;
  position: relative; z-index: 100;
}
.site-header .wrap { z-index: 100; }

.nav {
  background: #fff; border-radius: 999px;
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 3.5rem;
  box-shadow: var(--shadow);
  position: relative;
}
.nav__brand      { flex: none; display: flex; align-items: center; }
.nav__brand img  { width: 120px; height: auto; }

.nav__links {
  display: flex; gap: 1.6rem; margin-inline: auto;
  font-family: var(--font-head); font-weight: 500; font-size: .94rem;
}
.nav__links a          { color: var(--gray-menu); padding: .3rem 0; }
.nav__links a:hover    { color: var(--green); }
.nav__links a.is-active{ color: var(--green); font-weight: 600; }

.nav__cta        { flex: none; white-space: nowrap; }
.nav__cta--mobile{ display: none; }

.nav__toggle {
  display: none; background: none; border: 0; cursor: pointer;
  padding: .45rem; flex: none; border-radius: 10px;
}
.nav__toggle span {
  display: block; width: 22px; height: 2.5px; margin: 4px 0;
  background: var(--blue); border-radius: 2px;
  transition: transform .18s ease, opacity .18s ease;
}
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---- 4.2 Hero (variantes por color y composición) ---- */
.hero {
  position: relative; z-index: 1; overflow: hidden;
  background: var(--hero-bg, var(--blue));
  color: var(--hero-fg, #fff);
  padding: 5rem 0 5.5rem;
}
.hero--blue  { --hero-bg: var(--blue);       --hero-fg: #fff; }
.hero--lime  { --hero-bg: var(--lime);       --hero-fg: var(--blue); }
.hero--green { --hero-bg: var(--green-deep); --hero-fg: #fff; }
.hero--white { --hero-bg: #fff;              --hero-fg: var(--ink); }

/* El hero con foto (home) es más compacto */
.hero--photo { padding: 3rem 0 3.5rem; }

.hero__title {
  font-size: clamp(2.6rem, 5.2vw, 3.4rem); font-weight: 800;
  line-height: 1.08; margin: 0 0 1.4rem; letter-spacing: -.02em;
  max-width: 16ch;
}
.hero--photo .hero__title {
  font-size: clamp(2.3rem, 4.6vw, 2.6rem);
  line-height: 1.06; margin-bottom: 1.1rem; max-width: none;
}
/* <em> resalta en lima sin itálica */
.hero__title em { font-style: normal; color: var(--lime); }
.hero--lime .hero__title em { color: var(--green-deep); }

.hero__lead {
  font-size: 1.05rem; line-height: 1.6;
  max-width: 32rem; margin: 0 0 2rem;
  color: color-mix(in srgb, var(--hero-fg) 85%, transparent);
}
.hero--photo .hero__lead { font-size: 1.02rem; max-width: 34rem; margin-bottom: 1.6rem; }
.hero__lead b { color: var(--lime); }
.hero--lime .hero__lead b { color: var(--green-deep); }

.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__actions .btn { padding: 1rem 2rem; font-size: 1rem; }
.hero--photo .hero__actions .btn { padding: .8rem 1.6rem; font-size: .95rem; }

.hero__kicker  { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; margin: 2.4rem 0 0; }

/* Composición con foto */
.hero--photo .hero__grid {
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: 2rem; align-items: center;
}
.hero__photo       { position: relative; align-self: end; }
.hero__photo .frame{ width: 100%; aspect-ratio: 4/4.3; padding: 20px; position: relative; z-index: 2; }
.hero__photo .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__ph {
  display: flex; align-items: flex-end; justify-content: center;
  height: 100%; padding-bottom: 1rem;
  color: #dfe4f2; font-size: .8rem;
}

/* ---- 4.3 Footer ---- */
.site-footer { background: var(--blue); color: #cdd7f3; padding: 3rem 0 2.4rem; }

.news { display: flex; align-items: center; justify-content: center; gap: 1.2rem; flex-wrap: wrap; padding-bottom: 2.6rem; }
.news h3 { font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; margin: 0; color: var(--lime); }
.news__field { display: flex; gap: .6rem; }
.news__field input {
  border: 0; border-radius: 8px; padding: .8rem 1rem;
  width: min(420px, 60vw); font-family: inherit; font-size: .9rem;
}
.news__send {
  width: 48px; border: 0; border-radius: 8px; cursor: pointer;
  background: var(--lime); color: var(--blue);
  display: grid; place-items: center; font-size: 1.1rem;
}
.news__send:hover { background: var(--lime-700); }

.foot-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2rem;
  border-top: 1px solid rgba(255,255,255,.14); padding-top: 2.4rem;
}
.foot-grid h5 { font-family: var(--font-head); font-weight: 600; font-size: .95rem; margin: 0 0 1rem; color: var(--lime); }
.foot-grid a, .foot-grid p { color: #cdd7f3; font-size: .88rem; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .5rem; }
.foot-grid ul a:hover { color: #fff; }

.foot-brand img  { width: 150px; height: auto; }
.foot-brand p    { max-width: 16rem; margin: 1rem 0 0; font-size: .82rem; color: #aebbe2; }
.foot-social     { display: flex; gap: .6rem; margin-top: 1rem; }
.foot-social img { width: 22px; height: 22px; }

.foot-office p         { margin: 0 0 .6rem; }
.foot-office .hours    { display: flex; align-items: center; color: var(--lime); font-weight: 600; }
.foot-office .hours img{ width: 20px; height: 20px; margin-right: .4rem; }
.foot-office .phone    { color: #fff; font-weight: 700; margin-top: .8rem; }
.foot-office .mail     { color: #fff; font-weight: 600; }
.foot-office .phone a, .foot-office .mail a { color: inherit; }

/* Mensaje de respuesta del newsletter */
.news__msg  { width: 100%; text-align: center; font-size: .88rem; color: var(--lime); }
.news--done { justify-content: center; }
.news--done h3 { text-align: center; max-width: none; }

/* Barra inferior */
.foot-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1rem; margin-top: 2.4rem; padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,.14);
}
.foot-bottom__copy  { margin: 0; font-size: .82rem; color: #aebbe2; }
.foot-bottom__links { list-style: none; display: flex; gap: 1.4rem; padding: 0; margin: 0; }
.foot-bottom__links a { font-size: .82rem; color: #aebbe2; }
.foot-bottom__links a:hover { color: #fff; }

/* Variante clara — Contacto, Consulting */
.site-footer--light { background: #fff; color: var(--muted); }
.site-footer--light .news h3   { color: var(--blue); }
.site-footer--light .foot-grid { border-top-color: rgba(31,73,147,.14); }
.site-footer--light .foot-grid h5 { color: var(--blue); }
.site-footer--light .foot-grid a,
.site-footer--light .foot-grid p  { color: var(--muted); }
.site-footer--light .foot-grid ul a:hover { color: var(--blue); }
.site-footer--light .foot-brand p { color: var(--muted); }
.site-footer--light .foot-office .hours { color: var(--blue); }
.site-footer--light .foot-social a img,
.site-footer--light .hours img { filter: var(--filter-blue); }
.site-footer--light .foot-office .phone,
.site-footer--light .foot-office .mail  { color: var(--blue); }
.site-footer--light .news__field input  { border: 1px solid rgba(31,73,147,.25); }
.site-footer--light .news__msg { color: var(--green-deep); }
.site-footer--light .foot-bottom { border-top-color: rgba(31,73,147,.14); }
.site-footer--light .foot-bottom__copy,
.site-footer--light .foot-bottom__links a { color: var(--muted); }
.site-footer--light .foot-bottom__links a:hover { color: var(--blue); }

/* ============ 5. HOME ============ */

/* 5.1 Hero + métricas comparten fondo y capa de shapes */
.home-hero .stats { position: relative; z-index: 2; margin-top: 2.6rem; }
.home-hero .stats .swiper { padding: 6px 4px 8px; }

/* 5.2 Pilares */
.pillars .swiper { padding: 48px 6px 14px; max-width: 1080px; margin-inline: auto; }
.pillars .swiper-slide { height: auto; }

.pcard {
  background: #fff; border: 2px solid var(--blue); border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; text-align: center;
  height: 100%; min-height: 400px; padding-bottom: 2.2rem;
  position: relative;
}
.pcard__head { padding: 3.2rem 1.3rem 1.8rem; border-radius: 20px 20px 0 0; }
.pcard__head h3 {
  margin: 0; font-size: 1.2rem; font-weight: 700;
  line-height: 1.3; letter-spacing: .02em; color: var(--blue);
}
.pcard--startups   .pcard__head { background: var(--lime); }
.pcard--academy    .pcard__head { background: var(--green-soft); }
.pcard--consulting .pcard__head { background: var(--blue); }
.pcard--consulting .pcard__head h3 { color: #fff; }

.pcard__badge {
  width: 74px; height: 74px; border-radius: 50%;
  background: #fff; border: 2px solid var(--blue);
  display: grid; place-items: center;
  position: absolute; top: -37px; left: 50%; transform: translateX(-50%);
  box-shadow: 0 8px 20px -8px rgba(13,26,70,.4); z-index: 3;
}
.pcard__badge img { width: 35px; height: 35px; }
.pcard__body { flex: 1; padding: 1.7rem 1.7rem 1.4rem; font-style: italic; color: #43507a; }
.pcard .btn  { align-self: center; border: 2px solid var(--blue); }

/* 5.3 Reconocimiento */
.recog-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.4rem; align-items: start; }

.achv { display: flex; flex-direction: column; gap: .8rem; }
.achv__item {
  background: #fff; border: 2px solid transparent; border-radius: var(--radius-sm);
  padding: .85rem 1.1rem;
  display: flex; align-items: center; gap: .8rem;
  color: #3a4670; font-style: italic; font-size: .92rem;
  box-shadow: var(--shadow); cursor: default;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.achv__item img { width: 16px; height: 16px; flex: none; }
.achv__item:hover, .achv__item.is-active {
  background: var(--blue-hover); border-color: var(--lime); color: #fff;
}
.achv__item:hover img, .achv__item.is-active img { filter: var(--filter-lime); }

.cta-col { display: flex; flex-direction: column; gap: 1.4rem; }
.ctacard {
  background: #fff; color: var(--ink);
  border: 2px solid transparent; border-radius: var(--radius);
  padding: 1.6rem 1.7rem;
  display: flex; align-items: center; gap: 1.1rem;
  box-shadow: var(--shadow); cursor: default;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.ctacard__ic img { width: 120px; height: 120px; }
.ctacard h4 { margin: 0 0 .25rem; font-size: 1.18rem; font-weight: 700; color: var(--blue); }
.ctacard--green h4 { color: var(--green); }
.ctacard p  { margin: 0 0 1rem; font-size: .9rem; color: var(--muted); }
.ctacard:hover { background: var(--blue-hover); border-color: var(--lime); color: #fff; }
.ctacard:hover h4 { color: var(--lime); }
.ctacard:hover p  { color: #dbe3fb; }
.ctacard:hover .ctacard__ic img { filter: var(--filter-lime); }
.ctacard:hover .btn { background: var(--lime); color: var(--blue); }

/* 5.4 Aliados */
.partners { text-align: center; }
.partners .logos-full { width: 100%; padding-inline: clamp(1rem, 4vw, 4rem); }
.partners .swiper-slide { display: flex; align-items: center; justify-content: center; height: 90px; }
.logo-ph     { font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; color: #6b7794; text-align: center; }
.logo-ph img { max-height: 56px; width: auto; }
.logo-ph span{ display: block; font-weight: 500; font-size: .64rem; line-height: 1.1; }

/* ============ 6. RESPONSIVE ============ */
@media (max-width: 980px) {
  /* Navbar: la hamburguesa queda dentro de la píldora, el CTA baja al panel */
  .nav { padding: .55rem .75rem .55rem 1rem; gap: .5rem; }
  .nav__brand { margin-right: auto; }
  .nav__brand img { width: 100px; }
  .nav > .nav__cta { display: none; }
  .nav__links { display: none; }
  .nav__toggle { display: block; }

  .nav.is-open .nav__links {
    display: flex; flex-direction: column; gap: .2rem;
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    background: #fff; margin-inline: 0;
    padding: .8rem 1.2rem; border-radius: 16px;
    border: 1px solid rgba(31,73,147,.12);
    box-shadow: var(--shadow-pop);
    z-index: 200;
  }
  .nav.is-open .nav__links a { padding: .7rem .2rem; border-bottom: 1px solid rgba(31,73,147,.08); }
  .nav.is-open .nav__links a:last-of-type { border-bottom: 0; }
  .nav__cta--mobile { display: inline-flex; margin-top: .6rem; border-bottom: 0 !important; }

  /* Shapes fuera en mobile: generan scroll horizontal y ruido */
  .deco-layer { display: none; }
  .section-head__deco { display: none; }
  .section-head { margin-bottom: 2rem; }

  .hero--photo .hero__grid { grid-template-columns: 1fr; }
  .hero__photo { max-width: 360px; margin-top: 1rem; }

  .recog-grid { grid-template-columns: 1fr; }
  .foot-grid  { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .news { flex-direction: column; align-items: center; text-align: center; gap: 1rem; }
  .news h3 { font-size: 1.3rem; }
  .news__field { width: 100%; max-width: 420px; justify-content: center; }
  .news__field input { width: 100%; min-width: 0; flex: 1; }
  .news__send { flex: none; }
  .ctacard { flex-direction: column; text-align: center; }
}

@media (max-width: 560px) {
  .foot-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto; }
}

/* ============================================================
   7. STARTUPS
   ============================================================ */

/* ---- 7.1 Banda de métricas inline sobre azul ---- */
.metrics-band { padding: 3rem 0 3.5rem; }
.metrics-band__title {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.2;
  margin: 0 0 2.4rem; color: #fff;
}
.metrics-band__title em { font-style: normal; color: var(--lime); }

.metrics-band .swiper { padding-bottom: .5rem; }
.metrics-band .swiper-slide { height: auto; }
.metrics-band .metric--inline { padding: 0; height: 100%; }
.metric--inline .metric__num { color: #fff; }
.metric--inline .metric__u   { font-size: .78rem; font-weight: 700; margin-left: 3px; color: #cdd7f3; }
.metric--inline .metric__lbl { color: #cdd7f3; }

/* ---- 7.2 Barra de filtros ---- */
.filters {
  display: flex; flex-wrap: wrap; align-items: center; gap: .8rem;
  background: #e6ecf8; border-radius: var(--radius);
  padding: .9rem; margin: 0 auto 2.4rem; max-width: 1000px;
}
.filters__group { flex: 1 1 200px; min-width: 0; }
.filters__search {
  flex: 1 1 240px; min-width: 0;
  padding: .75rem 1rem; border-radius: 10px;
  border: 1px solid rgba(31,73,147,.25); background: #fff;
  font-family: inherit; font-size: .9rem; font-style: italic; color: var(--ink);
}
.filters__search::placeholder { color: #9aa7c4; }
.filters__search:focus { outline: 0; border-color: var(--blue); }

.filters__reset {
  flex: none; width: 46px; height: 44px; cursor: pointer;
  border-radius: 10px; background: #fff; color: var(--blue);
  border: 1px solid rgba(31,73,147,.25);
  display: grid; place-items: center; font-size: 1.1rem; line-height: 1;
}
.filters__reset:hover { background: var(--blue); color: #fff; }

.filters__count { text-align: center; font-size: .82rem; color: var(--muted); margin: 0 0 1.6rem; }

/* Choices.js dentro de la barra: caja blanca igual a los inputs */
.filters .choices { margin: 0; }
.filters .choices__inner {
  background: #fff; border: 1px solid rgba(31,73,147,.25); border-radius: 10px;
  padding: .68rem 1rem !important; min-height: 0;
  font-size: .9rem; font-style: italic; color: #9aa7c4;
}
.filters .choices.is-open .choices__inner { border-color: var(--blue); border-radius: 10px; }
.filters .choices__list--single   { padding: 0; }
.filters .choices__list--dropdown { border-radius: 10px; z-index: 30; font-style: normal; }
.filters .choices[data-type*=select-one]::after { border-color: var(--blue) transparent transparent; right: 14px; }

/* ---- 7.3 Grid + card de startup ---- */
.startups-grid {
  display: grid; gap: 1.4rem;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.scard {
  background: #fff; border: 2px solid var(--blue); border-radius: var(--radius);
  padding: 1.1rem 1.2rem; height: 100%;
  display: flex; flex-direction: column; gap: .5rem;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.scard .scard__ceo img { width: 16px; margin-right: 5px }
.scard:hover { background: var(--lime); border-color: var(--blue); transform: translateY(-3px); }
.scard:hover .scard__top span { color: var(--blue); }
.scard:hover .scard__ceo img { filter: var(--filter-blue); }

.scard__top  { display: flex; align-items: center; gap: .6rem; font-size: .9rem; color: var(--green); }
.scard__logo { width: 30px; height: 30px; border-radius: 8px; object-fit: cover; flex: none; }
.scard__ph {
  width: 30px; height: 30px; border-radius: 8px; flex: none;
  background: var(--green); color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: .72rem;
}

.scard__name {
  display: flex; align-items: center; gap: .45rem;
  margin: .2rem 0 0; font-size: 1.05rem; font-weight: 700; color: var(--blue);
}
.scard__name img { width: 16px; height: 16px; flex: none; }

.scard__ceo  { display: flex; font-size: .8rem; color: var(--blue); }
.scard__desc { margin: .2rem 0 0; font-size: .82rem; font-style: italic; color: #43507a; line-height: 1.5; flex: 1; }

.scard__foot {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  margin-top: .8rem;
  border-top: 1px solid var(--blue);
}
.scard__pill {
  display: inline-flex; align-items: center; gap: .3rem;
  background: var(--blue); color: #fff;
  border-radius: 0 0 8px 8px; padding: .3rem .6rem; font-size: .74rem; font-weight: 600;
}
.scard__pill img { width: 12px; height: 12px; filter: var(--filter-white); }

.scard__link     { display: inline-flex; align-items: center; gap: .35rem; font-size: .76rem; font-weight: 600; color: var(--blue); }
.scard__link img { width: 18px; height: 18px; }

/* En hover (fondo lima) los íconos pasan a azul */
.scard:hover .scard__name img,
.scard:hover .scard__link img { filter: var(--filter-blue); }

.startups-empty,
.startups-loading { text-align: center; padding: 3.5rem 0; color: var(--muted); font-size: .95rem; }
.startups-loading { display: none; }
.spinner {
  width: 38px; height: 38px; margin: 0 auto 1rem;
  border: 4px solid rgba(31,73,147,.15); border-top-color: var(--blue);
  border-radius: 50%; animation: usil-spin .6s linear infinite;
}
@keyframes usil-spin { to { transform: rotate(360deg); } }

/* ---- 7.4 Convocatorias ---- */
.conv-grid {
  display: grid; gap: 1.6rem;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.ccard {
  position: relative; height: 100%;
  display: flex; flex-direction: column; gap: .5rem;
  background: transparent; color: #fff;
  border: 2px solid #fff; border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.ccard:hover, .ccard.is-featured {
  background: var(--blue-hover); border-color: var(--lime); transform: translateY(-3px);
}

.ccard__logo { width: 80px; height: auto; }
.ccard__ph {
  width: 42px; height: 42px; border-radius: 10px;
  background: rgba(255,255,255,.12); color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: .85rem;
}

/* Badge: outline lima, se rellena en hover o si es destacada */
.ccard__badge {
  position: absolute; top: 1.4rem; right: 1.5rem;
  background: transparent; color: var(--lime);
  border: 1px solid var(--lime); border-radius: 999px;
  padding: .25rem .8rem;
  font-family: var(--font-head); font-size: .68rem; font-weight: 700;
  transition: background .18s ease, color .18s ease;
}
.ccard:hover .ccard__badge,
.ccard.is-featured .ccard__badge { background: var(--lime); color: var(--blue); }

.ccard__title { margin: .6rem 0 0; font-size: 1.1rem; font-weight: 700; line-height: 1.3; }
.ccard__type  { font-size: .78rem; color: var(--lime); font-weight: 600; }
.ccard__desc  { margin: .3rem 0 0; font-size: .82rem; font-style: italic; color: #dbe3fb; line-height: 1.5; flex: 1; }
.ccard__meta  { font-size: .74rem; color: #aebbe2; }

/* Botón: outline lima, se rellena en hover o si es destacada */
.ccard .btn {
  align-self: flex-start; margin-top: 1rem;
  background: transparent; color: var(--lime);
  box-shadow: inset 0 0 0 1px var(--lime);
}
.ccard:hover .btn,
.ccard.is-featured .btn { background: var(--lime); color: var(--blue); box-shadow: none; }

.ccard .acc__btn   { color: #fff; padding: .5rem 0; font-size: .8rem; }
.ccard .acc__btn[aria-expanded="true"] { background: transparent; color: var(--lime); }
.ccard .acc__panel { color: #cdd7f3; padding: .4rem 0 .6rem; font-size: .78rem; }
.ccard .acc__item  { border-bottom: 0; }

/* ---- 7.5 FAQ ---- */
.faq { max-width: 800px; margin-inline: auto; }
.faq .acc__item  { background: #fff; border: 1px solid rgba(31,73,147,.14); border-radius: var(--radius-sm); margin-bottom: .7rem; overflow: hidden; }
.faq .acc__btn   { font-size: .95rem; }
.faq .acc__panel { padding-top: 0; }

/* ============================================================
   8. FORMULARIOS  (postular, contacto)
   ============================================================ */
.form-wrap { max-width: 820px; margin-inline: auto; }

/* ---- 8.1 Indicador de pasos ---- */
.steps { display: flex; align-items: center; justify-content: center; gap: .6rem; margin-bottom: 2rem; }
.step  { display: flex; flex-direction: column; align-items: center; gap: .4rem; flex: none; }
.step__circle {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  background: #eef2fb; color: var(--muted);
  border: 2px solid transparent;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.step__label { font-size: .74rem; color: var(--muted); }
.step.is-active .step__circle { background: var(--blue); color: #fff; }
.step.is-active .step__label  { color: var(--blue); font-weight: 600; }
.step.is-done .step__circle   { background: var(--lime); color: var(--blue); }
.step__line { flex: 1 1 40px; height: 2px; background: #e2e8f2; max-width: 90px; }
.step__line.is-done { background: var(--lime); }

/* ---- 8.2 Tarjeta de formulario ---- */
.form-card {
  background: #fff; border: 1px solid rgba(31,73,147,.14);
  border-radius: var(--radius); box-shadow: var(--shadow-soft);
  overflow: hidden; margin-bottom: 1.4rem;
}
.form-card[hidden] { display: none; }
.form-card__head {
  display: flex; align-items: center; gap: .9rem;
  padding: 1.2rem 1.4rem; background: #f5f8ff;
  border-bottom: 1px solid rgba(31,73,147,.1);
}
.form-card__head h3 { margin: 0; font-size: 1.05rem; color: var(--blue); }
.form-card__head p  { margin: 0; font-size: .82rem; color: var(--muted); }
.form-card__ic {
  width: 42px; height: 42px; flex: none; border-radius: 12px;
  background: var(--blue); color: #fff;
  display: grid; place-items: center; font-size: 1rem;
}
.form-card__body { padding: 1.4rem; }

/* ---- 8.3 Campos ---- */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.form-grid > .is-full { grid-column: 1 / -1; }

.form-label {
  display: block; margin-bottom: .35rem;
  font-family: var(--font-head); font-weight: 600; font-size: .82rem;
  color: var(--blue);
}
.form-label .req { color: #e0483c; }

.form-control, .form-select {
  width: 100%; padding: .7rem .9rem;
  font-family: inherit; font-size: .9rem; color: var(--ink);
  background: #eef2fb; border: 1px solid transparent; border-radius: 8px;
  transition: border-color .15s ease, background .15s ease;
}
.form-control::placeholder { color: #9aa7c4; font-style: italic; }
.form-control:focus, .form-select:focus {
  outline: 0; background: #fff; border-color: var(--blue);
}
.form-control.is-invalid, .form-select.is-invalid { border-color: #e0483c; }
textarea.form-control { resize: vertical; min-height: 110px; }

.form-text { margin-top: .3rem; font-size: .74rem; color: var(--muted); }

/* Choices dentro de formularios */
.form-card .choices__inner {
  background: #eef2fb; border: 1px solid transparent; border-radius: 8px;
  padding: .55rem .9rem !important; min-height: 0; font-size: .9rem;
}
.form-card .choices.is-invalid .choices__inner { border-color: #e0483c; }

/* ---- 8.4 Subida de archivo ---- */
.file-drop {
  position: relative; text-align: center;
  padding: 2rem 1rem; border-radius: 12px;
  border: 2px dashed rgba(31,73,147,.3); background: #f5f8ff;
  color: var(--muted); transition: border-color .15s ease, background .15s ease;
}
.file-drop:hover      { border-color: var(--blue); }
.file-drop.has-file   { border-color: var(--green); background: #f0fbf3; }
.file-drop input[type="file"] {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; cursor: pointer;
}
.file-drop__ic    { font-size: 1.8rem; color: var(--blue); margin-bottom: .5rem; }
.file-drop__label { margin: 0 0 .3rem; font-weight: 600; font-size: .9rem; color: var(--blue); }
.file-drop__hint  { font-size: .74rem; }

/* ---- 8.5 Avisos ---- */
.alert-u {
  border-radius: 10px; padding: .85rem 1rem;
  font-size: .85rem; margin-bottom: 1.2rem;
}
.alert-u--error { background: #fdecea; color: #a3271c; border: 1px solid #f5c2bd; }
.alert-u--info  { background: #eef7f0; color: #1d6b38; border: 1px solid #bfe3ca; }

.form-nav { display: flex; justify-content: space-between; gap: .8rem; margin-top: 1.4rem; }
.form-nav .btn:only-child { margin-left: auto; }

/* ---- 8.6 Página de confirmación ---- */
.confirm { text-align: center; max-width: 560px; margin-inline: auto; padding: 4rem 0; }
.confirm__ic {
  width: 84px; height: 84px; margin: 0 auto 1.4rem; border-radius: 50%;
  background: #eef7f0; border: 2px solid #bfe3ca; color: var(--green);
  display: grid; place-items: center; font-size: 2rem;
}
.confirm h1 { font-size: clamp(1.6rem, 3vw, 2rem); color: var(--blue); margin: 0 0 .8rem; }
.confirm p  { color: var(--muted); margin: 0 0 1.8rem; }
.confirm__actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }

/* ---- Responsive formularios / startups ---- */
@media (max-width: 700px) {
  .form-grid { grid-template-columns: 1fr; }
  .steps { gap: .3rem; }
  .step__label { font-size: .68rem; }
  .filters { border-radius: var(--radius); flex-direction: column; align-items: stretch; padding: .8rem; }
  .filters__group, .filters__search { flex: 1 1 auto; }
  .filters__reset { width: 100%; border-radius: 8px; }
  .metrics-band .metric--inline { flex: 1 1 45%; }
}

/* ============================================================
   9. CONSULTING
   ============================================================ */

/* ---- 9.1 Fases (metodología) ---- */
.phase-grid {
  display: grid; gap: 1.2rem; align-items: stretch;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  padding-top: 50px;
}
.phase {
  display: flex;
  flex-direction: column;
  background: #eef2f8;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid var(--blue);
  transition: transform .18s ease, background .18s ease;
}
.phase:hover { transform: translateY(-4px); }

.phase__head {
  background: var(--blue);
  color: #fff;
  padding: 1.1rem 1.2rem 1rem;
  border-radius: 0 0 14px 14px;
}

.phase__icons {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.1rem;
}
.phase__ic  { width: 25px; height: 25px; }
.phase__pin { width: 25px; height: 25px; }

.phase__title { margin: 0 0 .15rem; font-size: 1rem; font-weight: 700; line-height: 1.3; }
.phase__num   { font-size: .8rem; color: #cdd7f3; }

.phase__body {
  flex: 1; background: #eef2f8;
  padding: 1rem 1.2rem 1.1rem;
  display: flex; flex-direction: column; gap: .7rem;
  justify-content: space-between;
}
.phase__desc   { margin: 0; font-size: .84rem; line-height: 1.5; color: var(--ink); }
.phase__result { margin: 0; font-size: .8rem; font-weight: 600; color: var(--blue); }

/* ---- 9.2 Split: imagen + contenido ---- */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: center;
}
.split--reverse .split__media { order: 2; }

.split__media img {
  width: 100%; border-radius: var(--radius);
  border: 1px solid var(--blue);
}
.split__eyebrow {
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  letter-spacing: .04em; margin: 0 0 .3rem;
}
.section--blue .split__eyebrow  { color: var(--lime); }
.section--light .split__eyebrow { color: var(--green); }

.split__title {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(1.7rem, 3.2vw, 2.3rem); line-height: 1.18;
  margin: 0 0 1rem;
}
.section--blue .split__title  { color: #fff; }
.section--light .split__title { color: var(--blue); }
.split__title em { font-style: normal; color: var(--lime); }
.section--light .split__title em { color: var(--green); }

.split__lead { font-size: .92rem; font-style: italic; line-height: 1.6; margin: 0 0 1.6rem; }
.section--blue .split__lead  { color: #cdd7f3; }
.section--light .split__lead { color: var(--muted); }

.split > * { min-width: 0; }

/* ---- 9.3 Acordeón de servicios ---- */
.svc {
  border: 1px solid var(--lime);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.svc .acc__item { border-bottom: 1px solid rgba(219,230,76,.4); }
.svc .acc__item:hover { background: var(--lime); }
.svc .acc__item:hover .acc__btn { color: var(--blue); }
.svc .acc__item:hover .svc__label img { filter: var(--filter-blue); }
.svc .acc__item:hover .svc__arrow { filter: var(--filter-blue); }
.svc .acc__item:last-child { border-bottom: 0; }

.svc .acc__btn {
  background: transparent; color: #fff;
  padding: .85rem 1rem; font-size: .9rem; font-weight: 600;
}
.svc__label { display: flex; align-items: center; gap: .7rem; }
.svc__label img { width: 20px; height: 20px; filter: var(--filter-lime); }

.svc__arrow {
  width: 18px; height: 18px; flex: none;
  transition: filter .18s ease, transform .18s ease;
}

.svc .acc__btn[aria-expanded="true"] {
  background: var(--lime); color: var(--blue);
}
.svc .acc__btn[aria-expanded="true"] .svc__label img { filter: var(--filter-blue); }
.svc .acc__btn[aria-expanded="true"] .svc__arrow {
  filter: var(--filter-blue);
}
.svc .acc__panel {
  background: #fbfce9; color: var(--blue);
  padding: 1rem 1.2rem; font-size: .82rem; line-height: 1.55;
}
.svc .acc__item:has(.acc__btn[aria-expanded="true"]) { border-bottom: 0; background: var(--lime); }

/* ---- 9.4 Bloque 2: métricas + aliados + proyectos ---- */
.section--light .metric--inline .metric__num { color: var(--green); }
.section--light .metric--inline .metric__u   { color: var(--muted); }
.section--light .metric--inline .metric__lbl { color: var(--muted); }

/* Métricas en 3 columnas fijas */
.metrics-row--3 {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem; margin-top: 1.6rem;
}
/* En el bloque 2 el número va arriba y la etiqueta debajo */
.metrics-row--3 .metric--inline { display: block; padding: 0; }
.metrics-row--3 .metric__num { font-size: clamp(1.9rem, 3vw, 2.4rem); margin-bottom: .3rem; }
.metrics-row--3 .metric__lbl { font-size: .84rem; max-width: 14rem; }

/* Slider de aliados */
.ally-slider {
  display: flex; align-items: center; gap: .8rem;
  margin: 1.6rem 0 0;
}
.ally-slider .swiper { flex: 1; min-width: 0; }
.ally-slider .swiper-slide { width: auto; }

/* Desvanecido en los bordes: sugiere que hay más contenido */
.ally-slider .swiper {
  --fade: 48px;
  -webkit-mask-image: linear-gradient(to right,
      transparent 0, #000 var(--fade),
      #000 calc(100% - var(--fade)), transparent 100%);
  mask-image: linear-gradient(to right,
      transparent 0, #000 var(--fade),
      #000 calc(100% - var(--fade)), transparent 100%);
}

/* Sin desvanecido del lado donde ya no hay más slides */
.ally-slider:has(.ally-nav--prev.swiper-button-disabled) .swiper {
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - var(--fade)), transparent 100%);
  mask-image: linear-gradient(to right, #000 calc(100% - var(--fade)), transparent 100%);
}
.ally-slider:has(.ally-nav--next.swiper-button-disabled) .swiper {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--fade));
  mask-image: linear-gradient(to right, transparent 0, #000 var(--fade));
}
.ally-slider:has(.ally-nav--prev.swiper-button-disabled):has(.ally-nav--next.swiper-button-disabled) .swiper {
  -webkit-mask-image: none; mask-image: none;
}

/* Los nombres largos de aliados romperían la fila */
.ally-slider .chip {
  display: block; max-width: 240px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  padding: .6rem 1rem; font-size: .82rem;
}

.ally-nav {
  flex: none; width: 28px; height: 28px; cursor: pointer;
  border-radius: 50%; border: 1px solid var(--blue);
  background: #ecf0f5;
  display: grid; place-items: center;
  transition: background .18s ease;
}
.ally-nav img { width: 14px; height: 14px; transition: filter .18s ease; }
.ally-nav:hover { background: var(--blue); }
.ally-nav:hover img { filter: var(--filter-white); }
.ally-nav--next img { transform: rotate(180deg); }
.ally-nav.swiper-button-disabled { opacity: .35; cursor: default; }
.ally-nav.swiper-button-disabled:hover { background: #1f49932e; }
.ally-nav.swiper-button-disabled:hover img { filter: none; }

/* Cards de proyecto */
.proj-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.6rem; }

.proj {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--blue);
  border-radius: 12px; padding: 1.1rem 1.4rem 1.1rem 2.4rem;
  display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem;
  transition: border-color .18s ease;
}
.proj::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 14px; background: #e6ecf8;
  transition: background .18s ease;
}
.proj[hidden] { display: none; }

.proj__name {
  width: 100%; margin: 0 0 .2rem;
  font-size: 1rem; font-weight: 700; color: var(--blue);
  transition: color .18s ease;
}
.proj__region { width: 100%; margin: 0 0 .1rem; font-size: .85rem; color: var(--muted); }
.proj__result { flex: 1; margin: 0; font-size: .92rem; color: var(--ink); min-width: 240px; }

.proj__ally {
  flex: none; margin: 0;
  background: #fff; color: var(--blue);
  border: 1px solid var(--blue); border-radius: 6px;
  padding: .3rem .7rem; font-size: .72rem; font-weight: 600;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.proj:hover { border-color: var(--green); }
.proj:hover::before  { background: var(--green-soft); }
.proj:hover .proj__name { color: var(--green); }
.proj:hover .proj__ally { background: var(--green-soft); border-color: var(--green-soft); color: #fff; }

.consulting__aliados .title {
    text-align: center;
    margin: 40px 0;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(1rem, 1.8vw, 1.4rem);
    color: var(--blue);
}

@media (max-width: 700px) {
  .metrics-row--3 { grid-template-columns: 1fr; gap: .8rem; }
  .proj { padding-left: 2rem; }
  .proj__result { min-width: 0; }
}


/* ---- 9.5 Logos aliados ---- */
.ally-strip__title {
  text-align: center; font-family: var(--font-head); font-weight: 700;
  font-size: .85rem; color: var(--blue); letter-spacing: .05em;
  text-transform: uppercase; margin: 2.6rem 0 1.2rem;
}
.ally-strip .swiper-slide { display: flex; align-items: center; justify-content: center; height: 70px; }
.ally-strip img { max-height: 46px; width: auto; }

/* ---- 9.6 Bloque CTA de cierre ---- */
.cta-block { text-align: center; padding: 4rem 0 4.5rem; }
.cta-block__title {
  max-width: 800px;
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(1.6rem, 3.2vw, 2.2rem); line-height: 1.25;
  color: var(--lime); margin: 0 auto .8rem;
}
.cta-block__sub {
  font-style: italic; color: #cdd7f3; font-size: .92rem;
  max-width: 40rem; margin: 0 auto 1.8rem;
}
.cta-block__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Botón outline lima (hero y CTA de Consulting) */
.btn--outline-lime {
  background: transparent; color: var(--lime);
  box-shadow: inset 0 0 0 2px var(--lime);
}
.btn--outline-lime:hover { background: var(--lime); color: var(--blue); }

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .split--reverse .split__media { order: 0; }
}

/* ============ UTILIDADES ============ */
.d-none { display: none !important; }
.text-center { text-align: center; }