/* ============================================================
   NET-X SCHOOL — STYLES.CSS
   Corporate white theme · Neural network background
   Font: Lato (Google Fonts)
   ============================================================ */

/* ─── VARIABLES ────────────────────────────────────────────── */
:root {
    --blue: #0ea5e9;
    --blue-dark: #0369a1;
    --blue-mid: #0284c7;
    --blue-light: #e0f2fe;
    --blue-xlight: #f0f9ff;
    --navy: #0c1a2e;
    --navy-mid: #1e3a5f;
    --white: #ffffff;
    --off-white: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-400: #94a3b8;
    --gray-600: #475569;
    --gray-800: #1e293b;
    --green: #22c55e;
    --red: #ef4444;
    --amber: #f59e0b;
    --font: 'Lato', sans-serif;
    --radius: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.10), 0 4px 12px rgba(0, 0, 0, 0.06);
    --shadow-blue: 0 8px 32px rgba(14, 165, 233, 0.20);
}

/* ─── RESET ─────────────────────────────────────────────────── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font);
    background: var(--white);
    color: var(--gray-800);
    overflow-x: hidden;
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

input,
select,
textarea,
button {
    font-family: var(--font);
}

/* ─── NEURAL CANVAS ─────────────────────────────────────────── */
#neuralCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.45;
}

/* ─── LAYOUT HELPERS ─────────────────────────────────────────── */
.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 28px;
    position: relative;
    z-index: 2;
}

/* ─── TYPOGRAPHY HELPERS ─────────────────────────────────────── */
.label-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--blue);
    background: var(--blue-xlight);
    border: 1px solid #bae6fd;
    border-radius: 50px;
    padding: 5px 14px;
    margin-bottom: 18px;
}

.label-tag--white {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.section-h2 {
    font-size: clamp(28px, 3.8vw, 48px);
    font-weight: 900;
    line-height: 1.12;
    color: var(--navy);
    margin-bottom: 16px;
}

.section-h2--white {
    color: #fff;
}

.accent {
    color: var(--blue);
}

.section-p {
    font-size: 17px;
    color: var(--gray-600);
    line-height: 1.75;
    max-width: 580px;
}

.section-p--white {
    color: rgba(255, 255, 255, 0.75);
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-header .section-p {
    margin: 0 auto;
}

.section-header--light {
    text-align: center;
    margin-bottom: 56px;
}

/* ─── BUTTONS ─────────────────────────────────────────────────── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: var(--shadow-blue);
    white-space: nowrap;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(14, 165, 233, 0.35);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: transparent;
    color: var(--blue);
    font-weight: 700;
    font-size: 15px;
    border-radius: 50px;
    border: 2px solid var(--blue);
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-outline:hover {
    background: var(--blue);
    color: #fff;
}

/* ─── NAV ─────────────────────────────────────────────────────── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 14px 0;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 var(--gray-200);
}

.nav__inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.nav__logo-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 50%;
}

.nav__brand-name {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 1px;
    color: var(--navy);
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav__link {
    font-size: 14px;
    font-weight: 700;
    color: var(--gray-600);
    transition: color 0.2s;
    letter-spacing: 0.3px;
}

.nav__link:hover {
    color: var(--blue);
}

.nav__link.active {
    color: var(--blue);
}

.nav__cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    border-radius: 50px;
    transition: all 0.25s;
    box-shadow: 0 4px 14px rgba(14, 165, 233, 0.3);
}

.nav__cta-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.4);
}

.nav__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav__burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ─── HERO ─────────────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 28px 80px;
    background: linear-gradient(160deg,
            #f0f9ff 0%,
            #ffffff 40%,
            #f8fafc 70%,
            #e0f2fe 100%);
}

.hero__wrap {
    max-width: 1160px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--blue-dark);
    background: var(--blue-xlight);
    border: 1px solid #bae6fd;
    border-radius: 50px;
    padding: 7px 16px;
    margin-bottom: 28px;
}

.eyebrow__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--blue);
    animation: blink 2s ease infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.hero__title {
    font-size: clamp(38px, 4.5vw, 64px);
    font-weight: 900;
    line-height: 1.08;
    color: var(--navy);
    margin-bottom: 24px;
}

.hero__em {
    font-style: normal;
    color: var(--blue);
    position: relative;
}

.hero__em::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), transparent);
    border-radius: 2px;
}

.hero__body {
    font-size: 17px;
    color: var(--gray-600);
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 480px;
}

.hero__body strong {
    color: var(--blue-dark);
}

.hero__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 52px;
}

.hero__metrics {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.metric {
    display: flex;
    flex-direction: column;
}

.metric__num {
    font-size: 34px;
    font-weight: 900;
    color: var(--blue);
    line-height: 1;
}

.metric__unit {
    font-size: 20px;
    font-weight: 900;
    color: var(--blue);
    display: inline;
    line-height: 1;
}

.metric__label {
    font-size: 12px;
    color: var(--gray-400);
    margin-top: 4px;
    font-weight: 700;
}

.metric__sep {
    width: 1px;
    height: 44px;
    background: var(--gray-200);
}

/* Hero right - phone scene */
.hero__right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__phone-scene {
    position: relative;
    padding: 40px;
}

/* Main phone shell */
.phone-shell {
    width: 300px;
    height: 620px;
    background: var(--navy);
    border-radius: 40px;
    position: relative;
    z-index: 3;
    box-shadow:
        0 30px 80px rgba(12, 26, 46, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset,
        0 8px 24px rgba(14, 165, 233, 0.15);
    overflow: hidden;
    border: 8px solid #1e3a5f;
    animation: phoneFloat 5s ease-in-out infinite;
}

@keyframes phoneFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

.phone-shell__notch {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 22px;
    background: var(--navy);
    border-radius: 0 0 16px 16px;
    z-index: 10;
}

.phone-shell__screen {
    width: 100%;
    height: 100%;
    border-radius: 34px;
    overflow: hidden;
    background: #f1f5f9;
    position: relative;
}

.phone-shell__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--gray-400);
    text-align: center;
    padding: 24px;
    font-size: 12px;
    line-height: 1.5;
    background: linear-gradient(160deg, #f0f9ff, #f8fafc);
}

.phone-shell__placeholder svg {
    color: var(--blue);
    opacity: 0.5;
}

.phone-shell__placeholder small {
    font-size: 10px;
    color: var(--gray-400);
}

.phone-shell__placeholder code {
    font-size: 10px;
    background: #e2e8f0;
    padding: 2px 5px;
    border-radius: 4px;
}

.phone-shell__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.phone-shell__btn {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

/* Floating tags */
.float-tag {
    position: absolute;
    background: #fff;
    border-radius: 14px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-lg);
    font-size: 12px;
    white-space: nowrap;
    border: 1px solid var(--gray-100);
    animation: tagFloat 4s ease-in-out infinite;
}

.float-tag strong {
    font-size: 13px;
    color: var(--navy);
    display: block;
}

.float-tag small {
    color: var(--gray-400);
}

.ft__icon {
    font-size: 22px;
}

.float-tag--1 {
    left: -60px;
    top: 20%;
    animation-delay: 0s;
}

.float-tag--2 {
    right: -50px;
    top: 38%;
    animation-delay: 1.5s;
}

.float-tag--3 {
    left: -40px;
    bottom: 20%;
    animation-delay: 0.8s;
}

@keyframes tagFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* Scroll cue */
.hero__scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--blue), transparent);
    animation: scrollDown 1.5s ease infinite;
}

.hero__scroll span {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gray-400);
}

@keyframes scrollDown {
    0% {
        opacity: 0;
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        opacity: 1;
        transform: scaleY(1);
        transform-origin: top;
    }

    100% {
        opacity: 0;
        transform: scaleY(1);
        transform-origin: bottom;
    }
}
/* ============================================================
   TRUST BAR — CSS COMPLETO
   Reemplaza el bloque .trust-bar {...} en styles.css
   ============================================================ */

/* ── Wrapper ──────────────────────────────────────────────── */
.trust-bar {
  position: relative;
  z-index: 2;
  background: linear-gradient(160deg, #f8fbff 0%, #ffffff 50%, #f0f7ff 100%);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 52px 28px 44px;
  overflow: hidden;
}

/* Fondo decorativo sutil */
.trust-bar::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(14,165,233,0.05) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.trust-bar::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(14,165,233,0.04) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

/* ── Inner ────────────────────────────────────────────────── */
.trust-bar__inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* ── Título centrado ──────────────────────────────────────── */
.trust-bar__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
}
.trust-bar__title span {
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--navy);
}
.trust-bar__title-line {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-dark));
  border-radius: 2px;
}

/* ── Fila principal de iconos ────────────────────────────── */
.trust-bar__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  width: 100%;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  overflow: hidden; /* para que los hover no se salgan */
  margin-bottom: 0;
}

/* Separadores verticales */
.trust-divider {
  width: 1px;
  height: 80px;
  background: var(--gray-200);
  flex-shrink: 0;
}

/* Cada item */
.trust-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 28px 20px;
  flex: 1 1 0;
  cursor: default;
  transition: background 0.25s ease;
  min-width: 0;
}
.trust-logo:hover {
  background: var(--blue-xlight);
}
.trust-logo__icon {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  transition: transform 0.25s ease;
}
.trust-logo:hover .trust-logo__icon {
  transform: translateY(-3px);
}
.trust-logo__icon svg,
.trust-logo__icon i {
  width: 42px !important;
  height: 42px !important;
  stroke-width: 1.4;
}
.trust-logo span {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  line-height: 1.3;
  white-space: nowrap;
}

/* ── Segunda fila: chips ─────────────────────────────────── */
.trust-bar__chips {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  width: 100%;
  border: 1px solid var(--gray-200);
  border-top: none; /* se une visualmente con la fila de arriba */
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  background: var(--off-white);
  overflow: hidden;
}

.trust-chip-sep {
  width: 1px;
  height: 40px;
  background: var(--gray-200);
  flex-shrink: 0;
}

.trust-chip {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 16px 24px;
  flex: 1 1 0;
  justify-content: center;
  transition: background 0.2s;
  min-width: 0;
}
.trust-chip:hover {
  background: rgba(14,165,233,0.06);
}
.trust-chip svg,
.trust-chip i {
  width: 18px !important;
  height: 18px !important;
  color: var(--blue);
  flex-shrink: 0;
  stroke-width: 1.6;
}
.trust-chip span {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-600);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */

/* Tablet: 3 items por fila, logo y chip */
@media (max-width: 1024px) {
  .trust-logo span { font-size: 11px; white-space: normal; text-align: center; }
  .trust-logo { padding: 24px 12px; }
  .trust-logo__icon { width: 48px; height: 48px; }
  .trust-logo__icon svg, .trust-logo__icon i { width: 34px !important; height: 34px !important; }
  .trust-chip span { font-size: 12px; }
  .trust-chip { padding: 14px 16px; }
}

@media (max-width: 768px) {
  .trust-bar { padding: 40px 16px 32px; }

  /* Logos: 2 columnas × 3 filas */
  .trust-bar__logos {
    flex-wrap: wrap;
    border-radius: var(--radius-lg);
  }
  .trust-divider { display: none; }
  .trust-logo {
    flex: 0 0 33.333%;
    border-bottom: 1px solid var(--gray-200);
    padding: 20px 10px;
  }
  /* Quitar borde inferior de la última fila (items 4,5,6) */
  .trust-logo:nth-child(n+9) { border-bottom: none; }
  /* Separador visual entre columnas */
  .trust-logo:not(:nth-child(3n+1)) {
    border-left: 1px solid var(--gray-200);
  }

  /* Chips: 2×2 */
  .trust-bar__chips {
    flex-wrap: wrap;
    border-radius: var(--radius-lg);
    margin-top: 12px;
    border-top: 1px solid var(--gray-200);
  }
  .trust-chip-sep { display: none; }
  .trust-chip {
    flex: 0 0 50%;
    border-bottom: 1px solid var(--gray-200);
    justify-content: flex-start;
    padding: 12px 14px;
  }
  .trust-chip:nth-child(n+5) { border-bottom: none; }
  .trust-chip:nth-child(even) { border-left: 1px solid var(--gray-200); }
  .trust-chip span { font-size: 12px; white-space: normal; line-height: 1.4; }

  .trust-bar__title span { font-size: 16px; letter-spacing: 1px; }
}

@media (max-width: 480px) {
  /* Logos: 2 × 3 */
  .trust-logo { flex: 0 0 50%; }
  .trust-logo:not(:nth-child(3n+1)) { border-left: none; }
  .trust-logo:not(:nth-child(2n+1)) { border-left: 1px solid var(--gray-200); }

  /* Chips: 1 columna */
  .trust-chip { flex: 0 0 100%; border-left: none !important; }
  .trust-chip:nth-child(even) { border-left: none; }
}

/* ─── EL RETO ───────────────────────────────────────────────── */
.reto {
    padding: 100px 0;
    position: relative;
    background: var(--white);
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.split-layout__text .section-h2 {
    max-width: 440px;
}

.split-layout__text .section-p {
    margin-bottom: 32px;
}

.reto__quote {
    border-left: 3px solid var(--blue);
    padding: 20px 24px;
    background: var(--blue-xlight);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.reto__quote svg {
    margin-bottom: 10px;
}

.reto__quote p {
    font-size: 16px;
    color: var(--navy);
    font-weight: 700;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 8px;
}

.reto__quote cite {
    font-size: 13px;
    color: var(--blue-dark);
    font-weight: 700;
    font-style: normal;
}

.split-layout__cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stat-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
    transition: all 0.35s ease;
    border-left: 4px solid var(--blue);
}

.stat-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--blue);
    transform: translateX(4px);
}

.stat-card__num {
    font-size: 44px;
    font-weight: 900;
    color: var(--blue);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-card__age {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: 12px;
}

.stat-card p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ─── PLATAFORMA ─────────────────────────────────────────────── */
.plataforma {
    padding: 100px 0;
    background: var(--off-white);
    position: relative;
}

.roles {}

.roles__tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 50px;
    padding: 6px;
    width: fit-content;
    max-width: 100%;
    box-shadow: var(--shadow-sm);
}

.rtab {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 10px 20px;
    border-radius: 50px;
    border: none;
    background: transparent;
    color: var(--gray-600);
    font-family: var(--font);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s;
    white-space: nowrap;
}

.rtab.active,
.rtab:hover {
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    color: #fff;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.roles__panels {}

.rpanel {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    animation: panelIn 0.4s ease;
}

.rpanel.active {
    display: grid;
}

@keyframes panelIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.rpanel__info h3 {
    font-size: 26px;
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 10px;
}

.rpanel__info p {
    font-size: 15px;
    color: var(--gray-600);
    margin-bottom: 24px;
    line-height: 1.7;
}

.feat-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feat-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--gray-700, #374151);
    padding: 8px 14px;
    background: var(--white);
    border-radius: 10px;
    border: 1px solid var(--gray-200);
    transition: border-color 0.2s;
}

.feat-list li:hover {
    border-color: var(--blue);
}

.feat-list li span {
    font-size: 18px;
    flex-shrink: 0;
}

/* ─── SCREEN FRAMES ──────────────────────────────────────────── */
.screen-frame {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.screen-frame--mobile {
    max-width: 300px;
    margin: 0 auto;
}

.screen-frame--desktop {
    width: 100%;
}

.screen-frame__chrome {
    background: var(--gray-100);
    border-bottom: 1px solid var(--gray-200);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.screen-frame__chrome--bar {
    padding: 10px 14px;
}

.sf-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.sf-dot--r {
    background: #ff5f57;
}

.sf-dot--y {
    background: #febc2e;
}

.sf-dot--g {
    background: #28c840;
}

.sf-url {
    flex: 1;
    background: var(--white);
    border-radius: 6px;
    padding: 4px 12px;
    font-size: 11px;
    color: var(--gray-400);
    margin-left: 8px;
    text-align: center;
    border: 1px solid var(--gray-200);
}

.screen-frame__body {
    position: relative;
    min-height: 450px;
    background: #f8fafc;
}

.screen-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--gray-400);
    text-align: center;
    padding: 24px;
    font-size: 13px;
    line-height: 1.5;
    border: 2px dashed var(--gray-200);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.screen-placeholder svg {
    color: var(--blue);
    opacity: 0.4;
}

.screen-placeholder span {
    color: var(--gray-600);
    font-weight: 700;
}

.screen-placeholder small {
    font-size: 11px;
    color: var(--gray-400);
}

.screen-placeholder code {
    font-size: 10px;
    background: var(--gray-100);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
}

.screen-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ─── IA SECTION ─────────────────────────────────────────────── */
.ia-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.ia-section__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--navy) 0%, #1e3a5f 60%, #0c2d4a 100%);
    z-index: 0;
}

.ia-section .container {
    position: relative;
    z-index: 2;
}

.ia-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.ia-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: all 0.35s ease;
    backdrop-filter: blur(8px);
}

.ia-card:hover {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(14, 165, 233, 0.5);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(14, 165, 233, 0.15);
}

.ia-card__icon {
    font-size: 36px;
    margin-bottom: 18px;
}

.ia-card h4 {
    font-size: 17px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.3;
}

.ia-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

/* ─── SHOWCASE ───────────────────────────────────────────────── */
.showcase {
    padding: 100px 0;
    background: var(--white);
}

/* Phone row */
.phones-row {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.phone-showcase {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.ps-shell {
    width: 200px;
    height: 420px;
    background: var(--navy);
    border-radius: 30px;
    position: relative;
    box-shadow: 0 20px 60px rgba(12, 26, 46, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    overflow: hidden;
    border: 6px solid #1e3a5f;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ps-shell:hover {
    transform: translateY(-8px);
    box-shadow: 0 32px 80px rgba(14, 165, 233, 0.2), 0 0 0 1px rgba(14, 165, 233, 0.2) inset;
}

.phone-showcase--tall .ps-shell {
    height: 420px;
    transform: none;
    box-shadow: 0 28px 80px rgba(14, 165, 233, 0.18), 0 0 0 1px rgba(14, 165, 233, 0.15) inset;
}

.phone-showcase--tall .ps-shell:hover {
    transform: translateY(-10px);
}

.ps-shell__notch {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 16px;
    background: var(--navy);
    border-radius: 0 0 10px 10px;
    z-index: 10;
}

.ps-shell__screen {
    width: 100%;
    height: 100%;
    border-radius: 25px;
    overflow: hidden;
    background: #f1f5f9;
    position: relative;
}

.ps-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--gray-400);
    text-align: center;
    padding: 16px;
    background: linear-gradient(160deg, #f0f9ff, #f8fafc);
}

.ps-placeholder svg {
    color: var(--blue);
    opacity: 0.4;
}

.ps-placeholder small {
    font-size: 9px;
    line-height: 1.5;
}

.ps-placeholder code {
    font-size: 9px;
    background: #e2e8f0;
    padding: 2px 5px;
    border-radius: 3px;
    font-family: monospace;
}

.ps-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ps-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--gray-600);
    text-align: center;
}

/* Web screens */
.web-screens {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.web-screen-wrap {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ws-shell {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: transform 0.3s, box-shadow 0.3s;
}

.ws-shell:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(14, 165, 233, 0.12);
}

.ws-shell__bar {
    background: var(--gray-100);
    border-bottom: 1px solid var(--gray-200);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.ws-url {
    flex: 1;
    background: var(--white);
    border-radius: 6px;
    padding: 4px 12px;
    font-size: 11px;
    color: var(--gray-400);
    margin-left: 8px;
    border: 1px solid var(--gray-200);
}

.ws-shell__screen {
    position: relative;
    min-height: 460px;
    background: #f8fafc;
}

.ws-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ─── RESULTADOS ─────────────────────────────────────────────── */
.resultados {
    padding: 100px 0;
    background: var(--off-white);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.res-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px 24px;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all 0.35s ease;
}

.res-card:hover {
    border-color: var(--blue);
    box-shadow: var(--shadow-blue);
    transform: translateY(-4px);
}

.res-card__icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.res-card__flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
}

.res-from {
    font-size: 22px;
    font-weight: 900;
    color: var(--gray-400);
}

.res-card__flow svg {
    color: var(--blue);
    flex-shrink: 0;
}

.res-to {
    font-size: 28px;
    font-weight: 900;
    color: var(--blue);
}

.res-card__big {
    font-size: 36px;
    font-weight: 900;
    color: var(--blue);
    line-height: 1;
    margin-bottom: 12px;
}

.res-card__big--green {
    color: var(--green);
}

.res-card__title {
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
    line-height: 1.4;
}

.res-card__badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: var(--blue-dark);
    background: var(--blue-xlight);
    border-radius: 50px;
    padding: 4px 12px;
}

/* ============================================================
   EUREKA SECTION — CSS COMPLETO
   Reemplaza TODOS los bloques .eureka-* previos en styles.css
   ============================================================ */

/* ── Wrapper ──────────────────────────────────────────────── */
.eureka-banner {
    padding: 90px 0;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.eureka-banner::before {
    content: '';
    position: absolute;
    top: -140px;
    right: -140px;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.05) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

/* ── Body: 2 columnas ──────────────────────────────────────── */
.eureka-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* ══════════════════════════════════════════════════════════════
   COLUMNA IZQUIERDA
   ══════════════════════════════════════════════════════════════ */

/* Header badge + título + subtítulo */
.eureka-header {
    margin-bottom: 28px;
}

.eureka-header__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #fef9c3, #fef08a);
    border: 1px solid #fde047;
    color: #854d0e;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 50px;
    padding: 6px 16px;
    margin-bottom: 16px;
}

.eureka-header__badge svg,
.eureka-header__badge i {
    color: #ca8a04;
    width: 16px;
    height: 16px;
}

.eureka-header__title {
    font-size: clamp(28px, 3.8vw, 50px);
    font-weight: 900;
    color: var(--navy);
    line-height: 1.08;
    margin-bottom: 14px;
}

.eureka-header__sub {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
    max-width: 440px;
}

.eureka-header__sub strong {
    color: var(--blue);
}

/* ¿Qué es Eureka? */
.eureka-what {
    background: var(--blue-xlight);
    border: 1px solid #bae6fd;
    border-radius: var(--radius);
    padding: 20px 22px;
    margin-bottom: 20px;
}

.eureka-what__label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--blue-dark);
    margin-bottom: 10px;
}

.eureka-what__label svg,
.eureka-what__label i {
    color: var(--blue);
}

.eureka-what p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.7;
}

.eureka-what p strong {
    color: var(--navy);
}

/* Stats */
.eureka-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.eureka-stat {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 16px 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.eureka-stat:hover {
    border-color: var(--blue);
    box-shadow: var(--shadow-blue);
}

.eureka-stat--highlight {
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    border-color: transparent;
    color: #fff;
}

.eureka-stat__icon-wrap {
    width: 40px;
    height: 40px;
    background: var(--blue-xlight);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2px;
}

.eureka-stat__icon-wrap--white {
    background: rgba(255, 255, 255, 0.2);
}

.eureka-stat__num {
    font-size: 32px;
    font-weight: 900;
    color: var(--blue);
    line-height: 1;
}

.eureka-stat__num--sm {
    font-size: 15px;
    letter-spacing: 1px;
    font-weight: 900;
    color: #fff;
}

.eureka-stat--highlight .eureka-stat__num {
    color: #fff;
}

.eureka-stat__label {
    font-size: 11px;
    font-weight: 700;
    color: var(--gray-600);
    line-height: 1.4;
    text-align: center;
}

.eureka-stat--highlight .eureka-stat__label {
    color: rgba(255, 255, 255, 0.85);
}

.eureka-stat__label--center {
    text-align: center;
}

/* Destacado */
.eureka-highlight {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--blue-xlight);
    border: 1px solid #bae6fd;
    border-radius: var(--radius);
    padding: 16px 18px;
    margin-bottom: 24px;
}

.eureka-highlight p {
    font-size: 14px;
    color: var(--navy);
    line-height: 1.65;
    font-weight: 600;
}

/* LinkedIn btn */
.eureka-linkedin-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 22px;
    background: #0a66c2;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    border-radius: 50px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 16px rgba(10, 102, 194, 0.28);
    width: 100%;
    justify-content: center;
}

.eureka-linkedin-btn svg,
.eureka-linkedin-btn i {
    flex-shrink: 0;
}

.eureka-linkedin-btn:hover {
    background: #004182;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(10, 102, 194, 0.38);
}

/* ══════════════════════════════════════════════════════════════
   COLUMNA DERECHA — SLIDER
   ══════════════════════════════════════════════════════════════ */
.eureka-photo-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 90px;
}

/* Slider container */
.eureka-slider {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(12, 26, 46, 0.14), 0 4px 16px rgba(14, 165, 233, 0.1);
    border: 1px solid var(--gray-200);
    background: var(--gray-100);
    /* Altura generosa para que las fotos se vean bien */
    aspect-ratio: 4/4.1;
}

/* Track */
.eureka-slider__track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Cada slide */
.eureka-slider__slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.eureka-slide-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.eureka-slider__slide:hover .eureka-slide-img {
    transform: scale(1.03);
}

/* Placeholder cuando no hay imagen */
.es-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(160deg, #f0f9ff, #f8fafc);
    color: var(--gray-400);
    font-size: 12px;
    text-align: center;
    padding: 20px;
}

.es-placeholder svg,
.es-placeholder i {
    color: var(--blue);
    opacity: 0.35;
}

/* Ocultar placeholder cuando imagen carga */
.eureka-slider__slide:not(.es-no-img) .es-placeholder {
    display: none;
}

.eureka-slider__slide.es-no-img .eureka-slide-img {
    display: none !important;
}

/* Badge superior — oscuro semitransparente como en la imagen */
.eureka-photo__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(12, 26, 46, 0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.eureka-photo__badge svg,
.eureka-photo__badge i {
    color: #fbbf24;
    /* dorado */
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* Chip inferior — tarjeta blanca con borde redondeado como en la imagen */
.eureka-photo__chip {
    position: absolute;
    bottom: 14px;
    left: 14px;
    right: 14px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 14px;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    font-size: 13px;
    color: var(--navy);
    font-weight: 500;
    line-height: 1.45;
}

.eureka-chip__icon {
    width: 34px;
    height: 34px;
    background: var(--blue-xlight);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.eureka-chip__icon svg,
.eureka-chip__icon i {
    color: var(--blue);
}

/* Dots */
.eureka-slider__dots {
    position: absolute;
    bottom: 82px;
    /* encima del chip */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 11;
}

.eureka-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s;
}

.eureka-dot.active {
    background: #fff;
    width: 20px;
    border-radius: 4px;
}

/* Progress bar */
.eureka-slider__progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 11;
}

.eureka-slider__progress-bar {
    height: 100%;
    background: var(--blue);
    width: 0%;
    transition: width 0.1s linear;
}

/* ── Logos aliados — UNA sola línea ────────────────────────── */
.eureka-allies {
    background: var(--off-white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 18px 20px;
}

.eureka-allies__label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: 14px;
    text-align: center;
}

.eureka-allies__logos {
    display: flex;
    flex-wrap: nowrap;
    /* una sola línea */
    gap: 8px;
    align-items: center;
    justify-content: space-between;
    overflow-x: auto;
    /* scroll si no caben */
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.eureka-allies__logos::-webkit-scrollbar {
    display: none;
}

.ally-logo {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s, box-shadow 0.2s;
    flex: 1 1 0;
    min-width: 0;
    min-height: 52px;
}

.ally-logo:hover {
    border-color: var(--blue);
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.12);
}

.ally-logo img {
    max-height: 34px;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

/* Fallback tipográfico */
.ally-logo__fallback {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    font-size: 10px;
    color: var(--gray-600);
    text-align: center;
    line-height: 1.3;
    font-family: var(--font);
    white-space: nowrap;
}

.ally-script {
    font-style: italic;
    font-size: 10px;
}

.ally-logo__fallback em {
    font-style: italic;
    font-weight: 400;
    font-size: 10px;
}

.ally-logo__fallback strong {
    font-weight: 900;
    font-size: 11px;
    letter-spacing: 0.5px;
    font-style: normal;
}

.ally-logo__fallback--paren {
    font-size: 10px;
    font-weight: 700;
    font-style: normal;
}

/* ── Ocultar img ally si carga, mostrar fallback si falla ───── */
.ally-logo img+.ally-logo__fallback {
    display: none;
}

/* Cuando img falla (display:none por onerror) → fallback visible */
.ally-logo img[style*="display: none"]+.ally-logo__fallback,
.ally-logo img[style*="display:none"]+.ally-logo__fallback {
    display: flex;
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .eureka-body {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .eureka-photo-col {
        position: static;
        order: -1;
    }

    /* foto primero mobile */
    .eureka-slider {
        aspect-ratio: 16/9;
    }

    .eureka-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .eureka-banner {
        padding: 60px 0;
    }

    .eureka-header__title {
        font-size: 30px;
    }

    .eureka-stats {
        grid-template-columns: 1fr 1fr;
    }

    .eureka-stats .eureka-stat:last-child {
        grid-column: 1 / -1;
    }

    .eureka-linkedin-btn {
        font-size: 13px;
        padding: 11px 18px;
    }

    .eureka-allies__logos {
        flex-wrap: wrap;
        justify-content: center;
    }

    .ally-logo {
        flex: 0 0 calc(50% - 4px);
    }

    .eureka-photo__chip {
        font-size: 11px;
    }

    .eureka-slider {
        aspect-ratio: 1/1;
    }
}

/* ─── EQUIPO ─────────────────────────────────────────────────── */
.equipo {
    padding: 100px 0;
    background: var(--off-white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.team-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px 22px;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all 0.35s ease;
}

.team-card:hover {
    border-color: var(--blue);
    box-shadow: var(--shadow-blue);
    transform: translateY(-4px);
}

.team-card__avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    color: #fff;
    font-size: 22px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.3);
}

.team-card h4 {
    font-size: 16px;
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 6px;
    line-height: 1.3;
}

.team-card__role {
    font-size: 12px;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 16px;
}

.team-card__bio {
    text-align: left;
}

.team-card__bio li {
    font-size: 12.5px;
    color: var(--gray-600);
    padding: 3px 0 3px 12px;
    position: relative;
    line-height: 1.5;
}

.team-card__bio li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--blue);
    font-size: 10px;
}

/* ─── CONTACTO ───────────────────────────────────────────────── */
.contacto {
    padding: 100px 0;
    position: relative;
    background: linear-gradient(160deg, #f0f9ff 0%, #fff 50%, #f0f9ff 100%);
}

.contacto__neural {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(14, 165, 233, 0.04) 0%, transparent 50%, rgba(14, 165, 233, 0.04) 100%);
    pointer-events: none;
}

.contacto__box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    position: relative;
    z-index: 2;
}

.contacto__logo {
    width: 60px;
    margin-bottom: 20px;
}

.contacto__title {
    font-size: clamp(26px, 3vw, 40px);
    font-weight: 900;
    color: var(--navy);
    line-height: 1.15;
    margin: 12px 0 18px;
}

.contacto__body {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.75;
    margin-bottom: 32px;
}

.contacto__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}

.contacto__actions .btn-primary,
.contacto__actions .btn-outline {
    width: 100%;
    justify-content: center;
}

/* Contact form */
.contact-form {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px 36px;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
}

.contact-form h3 {
    font-size: 20px;
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 28px;
}

.cf-group {
    margin-bottom: 18px;
}

.cf-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--gray-600);
    margin-bottom: 6px;
}

.cf-group input,
.cf-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: 10px;
    font-size: 14px;
    color: var(--navy);
    background: var(--white);
    transition: border-color 0.2s, box-shadow 0.2s;
    appearance: none;
    -webkit-appearance: none;
}

.cf-group input:focus,
.cf-group select:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.12);
}

.cf-group input::placeholder {
    color: var(--gray-400);
}

.cf-note {
    font-size: 11px;
    color: var(--gray-400);
    text-align: center;
    margin-top: 14px;
    line-height: 1.5;
}

/* ─── FOOTER ─────────────────────────────────────────────────── */
.footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.7);
}

.footer__top {
    padding: 72px 0 56px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
}

.footer__logo {
    width: 56px;
    margin-bottom: 16px;
}

.footer__brand p {
    font-size: 14px;
    line-height: 1.75;
    max-width: 280px;
    margin-bottom: 24px;
}

.footer__social {
    display: flex;
    gap: 10px;
}

.social-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.25s;
}

.social-btn:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
}

.footer__col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__col h5 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 6px;
}

.footer__col a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s;
}

.footer__col a:hover {
    color: var(--blue);
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
}

.footer__bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer__bottom p {
    font-size: 13px;
}

.footer__tagline {
    color: var(--blue) !important;
    font-weight: 700;
}

/* ─── WHATSAPP FLOAT ─────────────────────────────────────────── */
.wa-float {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 999;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4), 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.wa-float:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 32px rgba(37, 211, 102, 0.5), 0 4px 12px rgba(0, 0, 0, 0.15);
}

.wa-float__tooltip {
    position: absolute;
    right: calc(100% + 12px);
    white-space: nowrap;
    background: var(--navy);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 7px 14px;
    border-radius: 8px;
    pointer-events: none;
    opacity: 0;
    transform: translateX(6px);
    transition: opacity 0.25s, transform 0.25s;
}

.wa-float__tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border: 4px solid transparent;
    border-left-color: var(--navy);
}

.wa-float:hover .wa-float__tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* ─── REVEAL ANIMATION ───────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .hero__wrap {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hero__right {
        display: none;
    }

    .hero__content {
        max-width: 100%;
    }

    .split-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .rpanel {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .ia-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .contacto__box {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .eureka-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .web-screens {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero__wrap {
        display: flex;
        flex-direction: column-reverse;
    }

    .nav__menu {
        display: none;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 24px 28px;
        gap: 20px;
        border-bottom: 1px solid var(--gray-200);
        box-shadow: var(--shadow-lg);
        z-index: 999;
    }

    .nav__menu.open {
        display: flex;
    }

    .nav__burger {
        display: flex;
    }

    .ia-grid {
        grid-template-columns: 1fr;
    }

    .results-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .phones-row {
        gap: 12px;
    }

    .ps-shell {
        width: 150px;
        height: 300px;
    }

    .phone-showcase--tall .ps-shell {
        height: 340px;
    }

    .hero__actions {
        flex-direction: column;
    }

    .btn-primary,
    .btn-outline {
        justify-content: center;
    }

    .float-tag {
        display: none;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer__bottom .container {
        flex-direction: column;
        text-align: center;
    }

    .roles__tabs {
        width: 100%;
        border-radius: var(--radius);
        flex-wrap: wrap;
        gap: 6px;
    }

    .rtab {
        padding: 8px 14px;
        font-size: 13px;
    }

    .eureka-inner {
        padding: 32px 24px;
    }

    .eureka-inner__left {
        flex-direction: column;
        text-align: center;
    }

    .eureka-quote {
        border-left: none;
        padding-left: 0;
        border-top: 3px solid var(--blue);
        padding-top: 20px;
    }

    .contact-form {
        padding: 28px 20px;
    }

    .wa-float {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
    }
}

@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: 1fr;
    }

    .phones-row {
        gap: 8px;
    }

    .ps-shell {
        width: 130px;
        height: 260px;
    }

    .phone-showcase--tall .ps-shell {
        height: 300px;
    }

    .hero__metrics {
        gap: 16px;
    }
}


/* ============================================================
   NET-X — CSS PATCHES (añadir al final de styles.css)
   Cubre: iconos Lucide, menú mobile mejorado, foto equipo,
   celular en hero mobile, red neuronal más visible,
   animaciones adicionales, gestor admin, equipo 5 cols.
   ============================================================ */

/* ── LUCIDE ICONS en feat-list ────────────────────────────── */
.feat-list li {
    /* ya existe — solo asegura que el icono SVG tenga tamaño fijo */
    gap: 12px;
}

.feat-list li svg,
.feat-list li i {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--blue);
    stroke-width: 1.8;
}

/* ── LUCIDE en trust-bar ───────────────────────────────────── */
.trust-logo {
    display: flex;
    align-items: center;
    gap: 6px;
}

.trust-logo svg,
.trust-logo i {
    color: var(--blue);
    flex-shrink: 0;
}

/* ── NAV icon pequeño ──────────────────────────────────────── */
.nav__link-icon {
    width: 14px !important;
    height: 14px !important;
    display: none;
    /* solo visible en mobile menu */
}

/* ── IA CARD icon con Lucide ───────────────────────────────── */
.ia-card__icon {
    width: 52px;
    height: 52px;
    background: rgba(14, 165, 233, 0.12);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    transition: background 0.3s;
}

.ia-card__icon svg,
.ia-card__icon i {
    width: 26px !important;
    height: 26px !important;
    color: var(--blue);
    stroke-width: 1.6;
}

.ia-card:hover .ia-card__icon {
    background: rgba(14, 165, 233, 0.22);
}

/* ── RES-CARD icon con Lucide ──────────────────────────────── */
.res-card__icon {
    width: 48px;
    height: 48px;
    background: var(--blue-xlight);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.res-card__icon svg,
.res-card__icon i {
    width: 24px !important;
    height: 24px !important;
    color: var(--blue);
    stroke-width: 1.8;
}

/* ══════════════════════════════════════════════════════════════
   MOBILE MENU REDISEÑADO
   ══════════════════════════════════════════════════════════════ */
/* Ocultamos el menú original en mobile, lo manejamos con .mobile-menu */
@media (max-width: 768px) {
    .nav__menu {
        display: none !important;
    }

    .nav__burger {
        display: flex;
    }
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: min(360px, 90vw);
    height: 100vh;
    background: #fff;
    z-index: 1100;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -8px 0 40px rgba(12, 26, 46, 0.18);
    overflow-y: auto;
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-menu__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-200);
    flex-shrink: 0;
}

.mobile-menu__close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gray-100);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    transition: background 0.2s;
}

.mobile-menu__close:hover {
    background: var(--gray-200);
}

.mobile-menu__close svg,
.mobile-menu__close i {
    width: 18px;
    height: 18px;
}

.mobile-menu__links {
    padding: 16px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-800);
    transition: all 0.2s;
}

.mobile-link svg,
.mobile-link i {
    width: 20px !important;
    height: 20px !important;
    color: var(--blue);
    flex-shrink: 0;
}

.mobile-link:hover {
    background: var(--blue-xlight);
    color: var(--blue);
}

.mobile-link span {
    flex: 1;
}

.mobile-menu__cta {
    padding: 20px 24px 32px;
    border-top: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
}

.mobile-wa-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 20px;
    background: #25d366;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    border-radius: 50px;
    transition: all 0.25s;
}

.mobile-wa-btn:hover {
    background: #1ebe5d;
}

/* Overlay */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(12, 26, 46, 0.45);
    z-index: 1090;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    backdrop-filter: blur(3px);
}

.mobile-overlay.open {
    opacity: 1;
    pointer-events: all;
}

/* ══════════════════════════════════════════════════════════════
   HERO PHONE — VISIBLE EN MOBILE
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {

    /* Mostrar en mobile pero adaptado */
    .hero__wrap {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero__right {
        display: flex !important;
        /* sobreescribir el display:none anterior */
        justify-content: center;
    }

    .hero__phone-scene {
        padding: 20px 60px;
        /* menos lateral para no cortar tags */
        transform: scale(0.82);
        transform-origin: center top;
    }

    /* Reducir tamaño del celular */
    .phone-shell {
        width: 230px;
        height: 470px;
        border-radius: 36px;
    }

    /* Reposicionar floating tags para que no se corten */
    .float-tag {
        display: flex !important;
    }

    .float-tag--1 {
        left: -40px;
        top: 15%;
    }

    .float-tag--2 {
        right: -36px;
        top: 36%;
    }

    .float-tag--3 {
        left: -24px;
        bottom: 14%;
    }

    .float-tag {
        padding: 8px 12px;
        font-size: 11px;
        border-radius: 10px;
    }

    .float-tag strong {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .hero__wrap {
        gap: 0;
    }

    .phone-shell {
        width: 200px;
        height: 420px;
    }

    .float-tag--1 {
        left: -32px;
    }

    .float-tag--2 {
        right: -28px;
    }

    .float-tag--3 {
        left: -18px;
    }
}

/* ══════════════════════════════════════════════════════════════
   RED NEURONAL — MÁS VISIBLE
   (el canvas lo controla el JS — aquí solo la opacidad)
   ══════════════════════════════════════════════════════════════ */
#neuralCanvas {
    z-index: 9;
    opacity: 0.45;
    /* antes era 0.45 */
}

/* ══════════════════════════════════════════════════════════════
   ANIMACIONES ADICIONALES
   ══════════════════════════════════════════════════════════════ */

/* Entrada de sección con fade+slide desde abajo */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeLeft {
    from {
        opacity: 0;
        transform: translateX(-32px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeRight {
    from {
        opacity: 0;
        transform: translateX(32px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.92);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Hero con animación de entrada */
.hero__left {
    animation: fadeLeft 0.8s 0.1s both ease;
}

.hero__right {
    animation: fadeRight 0.8s 0.2s both ease;
}

/* Trust bar deslizante sutil */
.trust-bar__logos {
    animation: trustSlide 30s linear infinite;
}

@keyframes trustSlide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-40px);
    }
}

/* Solo aplicar si hay espacio suficiente */
@media (max-width: 900px) {
    .trust-bar__logos {
        animation: none;
    }
}

/* Hover en stat-card con borde que crece */
.stat-card {
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--blue), var(--blue-dark));
    transform: scaleY(0.4);
    transform-origin: center;
    transition: transform 0.35s ease;
    border-radius: 0 2px 2px 0;
}

.stat-card:hover::before {
    transform: scaleY(1);
}

/* Hover en ia-card con línea superior */
.ia-card {
    position: relative;
    overflow: hidden;
}

.ia-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.6), transparent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.ia-card:hover::after {
    transform: scaleX(1);
}

/* Hover en res-card con efecto de elevación suave */
.res-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.res-card:hover {
    transform: translateY(-6px);
}

/* Hover en feat-list item: desliza ícono */
.feat-list li {
    transition: background 0.2s, border-color 0.2s, padding-left 0.25s;
}

.feat-list li:hover {
    padding-left: 18px;
}

/* Animación de entrada de tarjetas del equipo */
.team-card {
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

/* Línea inferior en hover */
.team-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--blue), transparent);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.35s ease;
}

.team-card {
    position: relative;
    overflow: hidden;
}

.team-card:hover::after {
    transform: scaleX(1);
}

/* Pulso en el eyebrow del hero */
.hero__eyebrow {
    animation: fadeUp 0.6s 0.05s both ease;
}

.hero__title {
    animation: fadeUp 0.7s 0.15s both ease;
}

.hero__body {
    animation: fadeUp 0.7s 0.25s both ease;
}

.hero__actions {
    animation: fadeUp 0.7s 0.35s both ease;
}

.hero__metrics {
    animation: fadeUp 0.7s 0.45s both ease;
}

/* Scan line en screen frames */
.screen-frame__body::after,
.ws-shell__screen::after {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--blue), transparent);
    animation: scanLine 3s ease-in-out infinite;
    pointer-events: none;
    z-index: 5;
    opacity: 0.5;
}

@keyframes scanLine {
    0% {
        top: 0%;
        opacity: 0;
    }

    10% {
        opacity: 0.5;
    }

    90% {
        opacity: 0.5;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

/* Botón CTA con shimmer */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: skewX(-20deg);
    transition: left 0.5s ease;
}

.btn-primary:hover::after {
    left: 160%;
}

/* ══════════════════════════════════════════════════════════════
   EQUIPO — FOTO + FALLBACK INICIALES
   ══════════════════════════════════════════════════════════════ */
.team-card__photo-wrap {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 18px;
}

.team-card__photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.3);
    z-index: 2;
}

/* El avatar (iniciales) queda debajo como fallback */
.team-card__avatar {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    color: #fff;
    font-size: 22px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.3);
    z-index: 1;
    /* ya no usar margin:auto porque el wrap lo centra */
    margin: 0;
}

/* Si la foto carga, esconde el avatar */
.team-card__photo-wrap:has(.team-card__photo[style*="display: none"]) .team-card__avatar,
.team-card__photo-wrap:not(:has(.team-card__photo)) .team-card__avatar {
    z-index: 2;
}

/* Grid equipo — 5 miembros → 3+2 centrado */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Los últimos 2 se centran con subgrid trick */
.team-grid .team-card:nth-child(4),
.team-grid .team-card:nth-child(5) {
    /* en un grid de 3 cols, col 4 y 5 quedan centrados naturalmente */
}

/* Alineación: los 2 últimos se centran en la fila */
@supports (grid-template-columns: subgrid) {
    /* nativo */
}

/* Hack simple: wrap los últimos 2 */
/* Mejor: usar CSS grid con auto-fit */
.team-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    justify-items: center;
}

.team-card {
    width: 100%;
    max-width: 280px;
}

/* ── Responsive team ─────────────────────────────────────── */
@media (max-width: 900px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-card {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* ══════════════════════════════════════════════════════════════
   SCREEN PLACEHOLDER — icono Lucide compatible
   ══════════════════════════════════════════════════════════════ */
.screen-placeholder svg,
.screen-placeholder i,
.ps-placeholder svg,
.ps-placeholder i,
.phone-shell__placeholder svg,
.phone-shell__placeholder i {
    color: var(--blue);
    opacity: 0.4;
}


/* ============================================================
   EUREKA SECTION — CSS (reemplaza el bloque .eureka-banner
   que ya tenías en styles.css o css-patches.css)
   ============================================================ */

/* ── Wrapper principal ─────────────────────────────────────── */
.eureka-banner {
    padding: 90px 0;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

/* Fondo decorativo sutil */
.eureka-banner::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.06) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

/* ── Header del logro ──────────────────────────────────────── */
.eureka-header {
    text-align: center;
    margin-bottom: 56px;
}

.eureka-header__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #fef9c3, #fef08a);
    border: 1px solid #fde047;
    color: #854d0e;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 50px;
    padding: 7px 18px;
    margin-bottom: 18px;
}

.eureka-header__badge svg,
.eureka-header__badge i {
    color: #ca8a04;
    width: 16px;
    height: 16px;
}

.eureka-header__title {
    font-size: clamp(30px, 4vw, 50px);
    font-weight: 900;
    color: var(--navy);
    line-height: 1.12;
    margin-bottom: 16px;
}

.eureka-header__sub {
    font-size: 16px;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.75;
}

.eureka-header__sub strong {
    color: var(--navy);
}

/* ── Body: 2 columnas ──────────────────────────────────────── */
.eureka-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}

/* ══ COLUMNA IZQUIERDA ══════════════════════════════════════ */

/* ── Qué es Eureka ─────────────────────────────────────────── */
.eureka-what {
    background: var(--blue-xlight);
    border: 1px solid #bae6fd;
    border-radius: var(--radius);
    padding: 22px 24px;
    margin-bottom: 24px;
}

.eureka-what__label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--blue-dark);
    margin-bottom: 10px;
}

.eureka-what__label svg,
.eureka-what__label i {
    color: var(--blue);
}

.eureka-what p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.7;
}

.eureka-what p strong {
    color: var(--navy);
}

/* ── Stats del logro ───────────────────────────────────────── */
.eureka-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.eureka-stat {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 18px 14px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.eureka-stat:hover {
    border-color: var(--blue);
    box-shadow: var(--shadow-blue);
}

.eureka-stat--highlight {
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    border-color: transparent;
    color: #fff;
}

.eureka-stat__num {
    font-size: 36px;
    font-weight: 900;
    color: var(--blue);
    line-height: 1;
}

.eureka-stat--highlight .eureka-stat__num {
    color: #fff;
}

.eureka-stat__label {
    font-size: 11px;
    font-weight: 700;
    color: var(--gray-600);
    line-height: 1.4;
    text-align: center;
}

.eureka-stat--highlight .eureka-stat__label {
    color: rgba(255, 255, 255, 0.85);
}

/* ── Cita ───────────────────────────────────────────────────── */
.eureka-quote {
    position: relative;
    background: var(--off-white);
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    padding: 24px 24px 24px 28px;
    margin-bottom: 24px;
}

.eureka-quote::before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    bottom: 16px;
    width: 3px;
    background: linear-gradient(to bottom, var(--blue), var(--blue-dark));
    border-radius: 2px;
}

.eureka-quote__icon {
    width: 20px;
    height: 20px;
    color: var(--blue);
    opacity: 0.5;
    margin-bottom: 8px;
    display: block;
}

.eureka-quote p {
    font-size: 14px;
    color: var(--gray-600);
    font-style: italic;
    line-height: 1.75;
    margin-bottom: 10px;
}

.eureka-quote footer {
    font-size: 12px;
    font-weight: 700;
    color: var(--blue-dark);
    font-style: normal;
}

/* ── Botón LinkedIn ─────────────────────────────────────────── */
.eureka-linkedin-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 22px;
    background: #0a66c2;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    border-radius: 50px;
    transition: all 0.25s ease;
    margin-bottom: 32px;
    box-shadow: 0 4px 16px rgba(10, 102, 194, 0.3);
}

.eureka-linkedin-btn svg,
.eureka-linkedin-btn i {
    flex-shrink: 0;
}

.eureka-linkedin-btn:hover {
    background: #004182;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(10, 102, 194, 0.4);
}

/* ── Logos aliados ──────────────────────────────────────────── */
.eureka-allies {
    border-top: 1px solid var(--gray-200);
    padding-top: 24px;
}

.eureka-allies__label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: 16px;
}

.eureka-allies__logos {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    align-items: center;
}

.ally-logo {
    width: 22%;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    padding: 10px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s, box-shadow 0.2s;
    min-height: 48px;
}

.ally-logo:hover {
    border-color: var(--blue);
    box-shadow: var(--shadow-sm);
}

.ally-logo img {
    height: 50px;
    max-width: 100%;
    object-fit: contain;
}

/* Cuando no hay imagen, muestra el fallback */
.ally-logo__fallback {
    font-size: 12px;
    font-weight: 700;
    color: var(--gray-600);
    white-space: nowrap;
}

/* Ocultar fallback si la imagen carga */
.ally-logo img+.ally-logo__fallback {
    display: none;
}

/* ══ COLUMNA DERECHA ════════════════════════════════════════ */

/* ── Foto ───────────────────────────────────────────────────── */
.eureka-photo-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 100px;
}

.eureka-photo-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    background: var(--gray-100);
    aspect-ratio: 4/3;
}

.eureka-photo-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--gray-400);
    text-align: center;
    padding: 24px;
    border: 2px dashed var(--gray-200);
    border-radius: var(--radius-lg);
    background: linear-gradient(160deg, #f0f9ff, #f8fafc);
}

.eureka-photo-placeholder svg,
.eureka-photo-placeholder i {
    color: var(--blue);
    opacity: 0.4;
}

.eureka-photo-placeholder span {
    font-size: 14px;
    font-weight: 700;
    color: var(--gray-600);
}

.eureka-photo-placeholder small {
    font-size: 11px;
    color: var(--gray-400);
}

.eureka-photo-placeholder code {
    font-size: 10px;
    background: #e2e8f0;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
}

.eureka-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Badge superpuesto en la foto */
.eureka-photo__badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, #fef9c3, #fde047);
    border: 1px solid #fbbf24;
    color: #78350f;
    font-size: 12px;
    font-weight: 700;
    padding: 7px 14px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    z-index: 5;
}

.eureka-photo__badge svg,
.eureka-photo__badge i {
    color: #d97706;
    width: 14px;
    height: 14px;
}

.eureka-photo__chip {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(12, 26, 46, 0.75);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 5;
}

/* ── Proyectos ganadores ────────────────────────────────────── */
.eureka-winners {
    background: var(--off-white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 20px 22px;
}

.eureka-winners__label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: 14px;
}

.eureka-winners__label svg,
.eureka-winners__label i {
    flex-shrink: 0;
}

.eureka-winners__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.winner-chip {
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 50px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    color: var(--gray-600);
    transition: all 0.2s;
}

.winner-chip:hover {
    border-color: var(--blue);
    color: var(--blue);
}

/* NET-X destacado */
.winner-chip--netx {
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    color: #fff !important;
    border-color: transparent !important;
    box-shadow: 0 3px 12px rgba(14, 165, 233, 0.35);
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 900px) {
    .eureka-body {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .eureka-photo-col {
        position: static;
        /* Foto primero en mobile para impacto visual */
        order: -1;
    }

    .eureka-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .eureka-allies__logos {
        gap: 10px;
    }
}

@media (max-width: 600px) {
    .eureka-stats {
        grid-template-columns: 1fr 1fr;
    }

    .eureka-stats .eureka-stat:last-child {
        grid-column: 1 / -1;
    }

    .eureka-linkedin-btn {
        width: 100%;
        justify-content: center;
    }

    .ally-logo {
        min-width: 100px;
    }

    .eureka-banner {
        padding: 60px 0;
    }

    .hero__metrics {
        justify-content: space-between;
        gap: 0;
    }

    .metric {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .metric__num {
        font-size: 25px;
    }

    .metric__unit {
        font-size: 15px;
    }

    .metric__label {
        font-size: 11px;
        text-align: center;
    }

    .hero__eyebrow,
    .hero__title,
    .hero__body {
        text-align: center;
    }

    .reto,
    .showcase,
    .resultados,
    .equipo,
    .contacto,
    .ia-section {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    #neuralCanvas {
        opacity: 0.25;
    }
}