/* SORAIN – páginas internas (About, Services, How We Work, Experience)
   Usa las variables de css/styles.css. Componentes tomados del Figma:
   hero interno · encabezados centrados · tarjetas de capacidad · bloques de servicio ·
   misión/visión · equipo · valores sobre fondo estrellado · casos de éxito. */

:root {
  --acc: #a78bfa; /* color de acento por sección (lila por defecto) */
  --card-a: #15154a;
  --card-b: #0e0e2c;
  --txt-2: #a6a6c8;
  --txt-3: #b8b5cc;
  --font-card: Outfit, Cabin, Roboto, system-ui, sans-serif;
}
.acc-blue {
  --acc: #60a5fa;
}
.acc-pink {
  --acc: #d08cff;
}
.acc-indigo {
  --acc: #818cf8;
}
.acc-violet {
  --acc: #a946db;
}

/* ---------- títulos de dos tonos ---------- */
.pg h2 em,
.pg h1 em {
  display: block;
  font-style: normal;
  color: var(--acc);
}
.pg h2 {
  font-weight: 500;
}
.pg .eyebrow {
  color: var(--acc);
  font-weight: 700;
  letter-spacing: 0.18em;
}
.pg .lead {
  color: #b4b4d0;
  font-size: 17px;
  line-height: 1.6;
}

/* ---------- hero interno: mismo hero del index, grulla 3D a la derecha ---------- */
.pg-hero {
  padding-block: 96px 120px;
  min-height: 620px;
  display: flex;
  align-items: center;
}
.pg-hero .wrap {
  max-width: 1240px;
}
.pg-hero h1 {
  max-width: 660px;
}
.pg-hero h1 em {
  height: auto;
  padding-bottom: 0.08em;
  background-image: linear-gradient(90deg, #b996f5, #8b8cf5);
}
.pg-hero .lead {
  max-width: 50ch;
  font-size: 17px;
}
.pg-hero .btn {
  margin-top: 36px;
}
.pg-hero .loc {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 40px;
  font-size: 14px;
  color: var(--mute);
}

/* ---------- secciones ---------- */
.pg-sec {
  position: relative;
  padding-block: 120px;
  overflow: hidden;
  background: var(--bg);
}
.pg-sec.alt {
  background: #0c0d24;
}
.pg-sec.deep {
  background: #08081c;
}
.pg-sec > .glow {
  position: absolute;
  width: 620px;
  height: 420px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(123, 66, 210, 0.22), transparent);
  filter: blur(10px);
}
.glow.r {
  right: -80px;
  top: 18%;
}
.glow.l {
  left: -120px;
  top: 12%;
}
.glow.b {
  left: 50%;
  bottom: -160px;
  transform: translateX(-50%);
}
.pg-sec .wrap {
  position: relative;
  z-index: 2;
}

.center-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.center-head .lead {
  margin: 22px auto 0;
  max-width: 62ch;
}

/* ---------- tarjeta de capacidad (componente "Capability Card" del Figma) ---------- */
.cap {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 24px;
  border-radius: 14px;
  background: linear-gradient(152deg, var(--card-a) 7%, var(--card-b) 79%);
  border: 1px solid color-mix(in srgb, var(--acc) 28%, transparent);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}
.cap:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--acc) 60%, transparent);
  box-shadow: 0 22px 44px -26px color-mix(in srgb, var(--acc) 70%, transparent);
}
.cap .ib {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--acc) 16%, transparent);
}
.cap .ib .material-symbols-outlined {
  font-size: 21px;
  color: var(--acc);
}
.cap h3 {
  font-family: var(--font-card);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.005em;
}
.cap p {
  font-size: 14px;
  line-height: 22px;
  color: var(--txt-2);
}
.cap-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

/* ---------- bloque texto + tarjetas (servicios, "who we are", "working together") ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 470px) minmax(0, 600px);
  justify-content: space-between;
  gap: 56px;
  align-items: center;
}
.split.rev > :first-child {
  order: 2;
}
.split h2 {
  font-size: clamp(32px, 3.6vw, 44px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-top: 4px;
}
.split .lead {
  margin-top: 22px;
}
.bestfor {
  margin-top: 28px;
  display: grid;
  gap: 12px;
}
.bestfor small {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #77779a;
  text-transform: uppercase;
}
.bestfor li {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 14px;
  color: #e2e2f0;
  list-style: none;
}
.bestfor ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.bestfor .material-symbols-outlined {
  font-size: 18px;
  color: var(--acc);
}
.pg .more {
  color: var(--acc);
  font-size: 16px;
  margin-top: 32px;
}

/* ---------- About: who we are (3 tarjetas) ---------- */
.who3 {
  grid-template-columns: minmax(0, 470px) minmax(0, 710px);
}
.who3 .cap-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.who3 .cap {
  min-height: 237px;
}
.who3 .lead {
  text-align: justify;
}

/* ---------- About: misión y visión ---------- */
.mv {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 64px;
}
.mv article {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: 10px;
  border: 1px solid #3b2fa0;
  display: grid;
  gap: 12px;
}
.mv article::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 220px;
  height: 100%;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.08) 40.5%, rgba(255, 255, 255, 0.03));
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}
.mv .m {
  background: linear-gradient(136deg, #5470e0 16%, #2b3a93 85%);
}
.mv .v {
  background: linear-gradient(136deg, #9a4fdc 16%, #452d8b 85%);
}
.mv .ic {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
  display: grid;
  place-items: center;
}
.mv .ic .material-symbols-outlined {
  font-size: 32px;
  color: #fff;
}
.mv h3 {
  font-size: 24px;
  font-weight: 600;
}
.mv p {
  font-size: 16px;
  line-height: 23px;
  color: #d9d6f2;
}

/* Misión y visión: animación
   · Entrada: Misión llega desde la izquierda y Visión desde la derecha, con un leve giro 3D (site.js agrega .mv-in).
   · Siempre: un brillo cruza la tarjeta cada pocos segundos y el ícono "respira" con un anillo que se expande.
   · Hover (o .in-focus en móvil, cuando la tarjeta pasa por el centro de la pantalla): se eleva, brilla y el ícono gira. */
.mv {
  perspective: 1200px;
}
.mv article {
  transition:
    transform 0.6s cubic-bezier(0.22, 0.7, 0.18, 1),
    box-shadow 0.6s ease,
    border-color 0.6s ease,
    opacity 0.9s ease;
}
.mv article > * {
  position: relative;
  z-index: 1;
}
.mv article::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.16) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: mvShine 7s ease-in-out infinite;
  pointer-events: none;
}
.mv .v::before {
  animation-delay: 3.5s;
}
.mv .ic {
  position: relative;
  transition:
    transform 0.6s cubic-bezier(0.22, 0.7, 0.18, 1),
    background-color 0.6s ease;
}
.mv .ic::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: inherit;
  animation: mvPulse 2.8s ease-out infinite;
  pointer-events: none;
}
.mv .v .ic::after {
  animation-delay: 1.4s;
}
.mv .ic .material-symbols-outlined {
  animation: mvFloat 4s ease-in-out infinite;
}
.mv article h3 {
  transition: letter-spacing 0.6s ease;
}

/* entrada (solo si hay JS: site.js agrega .mv-pre al cargar y .mv-in al aparecer) */
.mv article.mv-pre {
  opacity: 0;
}
.mv .m.mv-pre {
  transform: translateX(-70px) rotateY(14deg);
}
.mv .v.mv-pre {
  transform: translateX(70px) rotateY(-14deg);
}
.mv article.mv-pre.mv-in {
  opacity: 1;
  transform: none;
}
.mv .v.mv-pre.mv-in {
  transition-delay: 0.15s;
}

.mv article.in-focus,
.mv article:hover {
  transform: translateY(-8px);
  border-color: rgba(214, 200, 255, 0.7);
  box-shadow:
    0 0 18px rgba(165, 43, 235, 0.45),
    0 30px 60px -28px rgba(70, 40, 160, 0.95);
  transition-delay: 0s;
}
.mv article.in-focus .ic,
.mv article:hover .ic {
  transform: rotate(-8deg) scale(1.1);
  background: rgba(255, 255, 255, 0.24);
}
.mv article.in-focus h3,
.mv article:hover h3 {
  letter-spacing: 0.01em;
}

@keyframes mvShine {
  0%,
  62% {
    transform: translateX(-120%);
  }
  88%,
  100% {
    transform: translateX(120%);
  }
}
@keyframes mvPulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  80%,
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}
@keyframes mvFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .mv article,
  .mv .ic {
    transition: none;
  }
  .mv article::before,
  .mv .ic::after,
  .mv .ic .material-symbols-outlined {
    animation: none;
  }
  .mv article::before {
    display: none;
  }
}

/* ---------- About: equipo ---------- */
.team {
  display: grid;
  grid-template-columns: minmax(0, 465px) minmax(0, 710px);
  justify-content: space-between;
  gap: 48px;
  align-items: start;
}
.team h2 {
  font-size: clamp(32px, 3.6vw, 44px);
  line-height: 1.18;
  letter-spacing: -0.02em;
}
.team .lead {
  margin-top: 22px;
}
.people {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}
.person {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(167, 139, 250, 0.28);
  background: linear-gradient(180deg, #15154a, #0e0e2c);
  transition: transform 0.3s ease;
}
.person:hover {
  transform: translateY(-4px);
}
.person .ph {
  position: relative;
  height: 180px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #2a1f86, #1a1656 70%);
}
.person .ph > .material-symbols-outlined {
  font-size: 44px;
  color: rgba(214, 200, 255, 0.55);
}
.person .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.person .in {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.14);
  font: 700 12px/1 var(--font);
  color: #fff;
}
.person .in:hover {
  background: var(--purple);
}
.person .info {
  padding: 18px;
}
.person h3 {
  font-size: 17px;
  font-weight: 600;
}
.person .role {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--lilac);
  margin-top: 6px;
  text-transform: uppercase;
}
.person .ct {
  margin-top: 14px;
  display: grid;
  gap: 4px;
  font-size: 12.5px;
  color: var(--txt-2);
}
.person .ct a:hover {
  color: #fff;
}

/* ---------- valores sobre fondo estrellado ---------- */
.stars {
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(7, 7, 26, 0.35) 18%, rgba(7, 7, 26, 0.35) 82%, var(--bg) 100%),
    url('../images/starfield-bg.png') center / cover no-repeat,
    var(--bg);
}
.vals {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  margin-top: 56px;
}
.vals.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.vals .cap {
  background: linear-gradient(152deg, rgba(31, 27, 110, 0.75) 7%, rgba(17, 16, 60, 0.8) 79%);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-color: rgba(129, 140, 248, 0.28);
  --acc: #818cf8;
  min-height: 199px;
}
.vals .cap h3 {
  color: #fff;
}

/* ---------- How we work: loop con descripciones ---------- */
.loop-sec .loopwrap {
  margin-top: 40px;
  padding-top: 60px;
  padding-bottom: 84px;
  margin-bottom: -40px;
}

/* ---------- How we work: puntos de entrada ---------- */
.entry-list {
  display: grid;
  gap: 22px;
}
.ecard {
  display: flex;
  gap: 22px;
  padding: 26px 28px;
  border-radius: 12px;
  background: #121132;
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
}
.ecard:hover {
  transform: translateX(-4px);
  border-color: rgba(169, 70, 219, 0.5);
}
.ecard .ib {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(123, 66, 210, 0.2);
  border: 1px solid rgba(185, 150, 245, 0.25);
}
.ecard .ib .material-symbols-outlined {
  font-size: 22px;
  color: var(--lilac);
}
.ecard small {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #a946db;
}
.ecard h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 4px 0 6px;
}
.ecard p {
  font-size: 14px;
  color: var(--txt-3);
  line-height: 1.5;
}

/* ---------- Experience: caso de éxito ---------- */
.case-head {
  display: grid;
  grid-template-columns: minmax(0, 560px) minmax(0, 390px);
  justify-content: space-between;
  gap: 48px;
  align-items: end;
}
.case-head .tagline {
  font-size: 13px;
  font-weight: 500;
  color: #a946db;
  margin-bottom: 12px;
  display: block;
}
.case-head h2 {
  font-size: clamp(34px, 3.8vw, 50px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.case-head > p {
  font-size: 16px;
  line-height: 27px;
  color: var(--txt-3);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.chip {
  font-size: 12px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(167, 139, 250, 0.35);
  background: rgba(123, 66, 210, 0.14);
  color: #d8d0ff;
}
.case-body {
  display: grid;
  grid-template-columns: minmax(0, 530px) minmax(0, 540px);
  justify-content: space-between;
  gap: 56px;
  margin-top: 68px;
  align-items: start;
}
.case-body.rev > :first-child {
  order: 2;
}

.story {
  position: relative;
  display: grid;
  gap: 64px;
  padding-top: 2px;
}
.story::before {
  content: '';
  position: absolute;
  left: 21px;
  top: 44px;
  bottom: 60px;
  width: 2px;
  background: linear-gradient(180deg, rgba(167, 139, 250, 0.6), rgba(167, 139, 250, 0.1));
}
.story li {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 24px;
  list-style: none;
}
.story {
  margin: 0;
  padding: 0;
}
.story .dotc {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #15123f;
  border: 1.5px solid #7b5cf0;
  box-shadow: 0 0 16px rgba(123, 92, 240, 0.45);
  z-index: 1;
}
.story .dotc .material-symbols-outlined {
  font-size: 20px;
  color: #c6b4ff;
}
.story small {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #a946db;
  margin-top: 4px;
}
.story h3 {
  font-size: 22px;
  font-weight: 600;
  margin: 4px 0 10px;
  letter-spacing: -0.01em;
}
.story p {
  font-size: 14.5px;
  line-height: 24px;
  color: var(--txt-3);
}

.panel {
  padding: 32px;
  border-radius: 16px;
  background: linear-gradient(160deg, #15154a, #0e0e2c 75%);
  border: 1px solid rgba(167, 139, 250, 0.25);
}
.panel .kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #77779a;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.flow {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
}
.flow li {
  list-style: none;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 20px;
  align-items: center;
  padding: 20px 22px;
  border-radius: 12px;
  background: rgba(123, 66, 210, 0.12);
  border: 1px solid rgba(167, 139, 250, 0.3);
}
.flow li + li {
  margin-top: 32px;
  position: relative;
}
.flow li + li::before {
  content: 'arrow_downward';
  font-family: 'Material Symbols Outlined';
  position: absolute;
  left: 50%;
  top: -29px;
  transform: translateX(-50%);
  font-size: 20px;
  color: var(--lilac);
  line-height: 1;
}
.flow .ib {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(123, 66, 210, 0.25);
}
.flow .ib .material-symbols-outlined {
  font-size: 20px;
  color: #d7c6ff;
}
.flow b {
  display: block;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
}
.flow span.s {
  font-size: 12.5px;
  color: var(--txt-2);
}
.flow-foot {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 20px;
  padding: 14px 22px;
  border-radius: 12px;
  border: 1px dashed rgba(167, 139, 250, 0.5);
  font-size: 14px;
  color: #e2dcff;
}
.flow-foot .material-symbols-outlined {
  font-size: 18px;
  color: var(--lilac);
}

.tline {
  position: relative;
  display: grid;
  gap: 34px;
  margin: 0;
  padding: 0;
}
.tline::before {
  content: '';
  position: absolute;
  left: 21px;
  top: 22px;
  bottom: 22px;
  width: 2px;
  background: rgba(167, 139, 250, 0.3);
}
.tline li {
  list-style: none;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  align-items: center;
  position: relative;
}
.tline .dotc {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #15123f;
  border: 1.5px solid var(--c);
  z-index: 1;
}
.tline .dotc .material-symbols-outlined {
  font-size: 19px;
  color: var(--c);
}
.tline small {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--c);
}
.tline b {
  font-size: 15px;
  font-weight: 500;
}
.big24 {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  align-items: center;
  margin-top: 40px;
  padding: 24px 26px;
  border-radius: 12px;
  background: linear-gradient(90deg, #3a2a9e, #2b2a86);
  border: 1px solid rgba(185, 150, 245, 0.45);
}
.big24 strong {
  display: flex;
  gap: 14px;
  align-items: center;
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 600;
}
.big24 strong .material-symbols-outlined {
  font-size: 26px;
  color: #d7c6ff;
}
.big24 span.s {
  font-size: 13px;
  color: #dcd5ff;
  max-width: 18ch;
  line-height: 1.4;
}

/* ---------- Experience: primera conversación ---------- */
.conv {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 56px;
}
.conv .cap {
  --acc: #818cf8;
  min-height: 200px;
}
.conv .cap h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
}
.center-cta {
  display: flex;
  justify-content: center;
  margin-top: 56px;
}

/* ---------- servicio: separación entre bloques ---------- */
.svc + .svc {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}
.svc {
  scroll-margin-top: 80px;
}
[id] {
  scroll-margin-top: 80px;
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  /* "Who we are" (About): con 3 tarjetas al lado del texto quedaban de ~90px y palabras como
     "Innovación" se salían. Debajo de 1100px el texto va arriba y las tarjetas debajo. */
  .who3 {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .who3 > :first-child {
    max-width: 640px;
  }
  .vals {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .vals.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 1000px) {
  /* .sec reserva espacio arriba para la grulla en el index; aquí solo el hero y el CTA la usan */
  .pg-sec {
    padding-block: 80px;
  }
  .pg-hero {
    min-height: 0;
    padding-top: calc(72vw + 8px);
    padding-bottom: 80px;
  }
  .split,
  .split.rev,
  .who3,
  .team,
  .case-head,
  .case-body,
  .case-body.rev {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .split.rev > :first-child,
  .case-body.rev > :first-child {
    order: 0;
  }
  .who3 .cap-grid,
  .people {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .mv {
    grid-template-columns: minmax(0, 1fr);
  }
  .conv {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 720px) {
  .cap-grid,
  .who3 .cap-grid,
  .people {
    grid-template-columns: minmax(0, 1fr);
  }
  .vals,
  .vals.four {
    grid-template-columns: minmax(0, 1fr);
  }
  .person .ph {
    height: 200px;
  }
  .who3 .lead {
    text-align: left;
  }
  .pg-sec {
    padding-block: 64px;
  }
  .panel {
    padding: 22px;
  }
  .flow li {
    padding: 16px;
    gap: 14px;
  }
  .big24 strong {
    font-size: 26px;
  }
  .story {
    gap: 44px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cap,
  .person,
  .ecard {
    transition: none;
  }
}

/* ---------- Experience: caso 3 (migración en 140 aeropuertos) ---------- */
.budget {
  display: grid;
  gap: 16px;
  padding: 22px;
  border-radius: 12px;
  background: rgba(123, 66, 210, 0.1);
  border: 1px solid rgba(167, 139, 250, 0.25);
}
.brow {
  display: grid;
  grid-template-columns: 128px 1fr 64px;
  gap: 14px;
  align-items: center;
}
.brow .bl {
  font-size: 12.5px;
  color: var(--txt-2);
}
.brow .bar {
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.brow .bar i {
  display: block;
  height: 100%;
  width: var(--w);
  border-radius: inherit;
  background: rgba(167, 139, 250, 0.45);
}
.brow.now .bar i {
  background: linear-gradient(90deg, #8b3dd9, #6c7cf5);
  box-shadow: 0 0 14px rgba(123, 92, 240, 0.6);
}
.brow b {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  text-align: right;
}
.brow:not(.now) b {
  color: var(--txt-2);
}
.budget .save {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13.5px;
  font-weight: 500;
  color: #5eead4;
}
.budget .save .material-symbols-outlined {
  font-size: 18px;
}
.kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0 0;
  padding: 0;
}
.kpis li {
  list-style: none;
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  border-radius: 12px;
  background: #121236;
  border: 1px solid rgba(167, 139, 250, 0.18);
}
.kpis strong {
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.1;
  background: linear-gradient(90deg, #ffffff, #c6b4ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.kpis span {
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--txt-2);
}
.panel .budget + .kpis + .flow-foot {
  margin-top: 16px;
}

/* seis iniciativas: fila propia debajo del caso */
.inits {
  margin-top: 72px;
}
.inits .kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #77779a;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.inits ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  counter-reset: none;
}
.inits li {
  list-style: none;
  position: relative;
  padding: 22px 22px 22px 70px;
  border-radius: 14px;
  background: rgba(18, 18, 54, 0.7);
  border: 1px solid rgba(167, 139, 250, 0.16);
  transition:
    border-color 0.3s ease,
    transform 0.3s ease;
}
.inits li:hover {
  border-color: rgba(167, 139, 250, 0.45);
  transform: translateY(-3px);
}
.inits .n {
  position: absolute;
  left: 22px;
  top: 22px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  background: #15123f;
  border: 1.5px solid #7b5cf0;
  color: #e6deff;
}
.inits h3 {
  font-family: var(--font-card);
  font-size: 16.5px;
  font-weight: 500;
  margin: 4px 0 6px;
}
.inits p {
  font-size: 13.5px;
  line-height: 21px;
  color: var(--txt-3);
}
@media (max-width: 1000px) {
  .inits ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .inits ol,
  .kpis {
    grid-template-columns: minmax(0, 1fr);
  }
  .brow {
    grid-template-columns: 1fr 64px;
  }
  .brow .bl {
    grid-column: 1 / -1;
  }
  .inits {
    margin-top: 56px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .inits li {
    transition: none;
  }
}
