/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    background-color: #ffffff;
    color: #333;
    line-height: 1.5;
    scroll-behavior: smooth;
}

html {
    scroll-behavior: smooth;
}

/* Header Styles */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Sección Izquierda: Marca */
.brand-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 36px;
    width: auto;
    display: block;
    align-self: flex-start;
    object-fit: contain;
}

.footer-logo {
    height: 28px;
    width: auto;
    display: block;
}

.brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.1;
}

.brand-name {
    font-weight: 700;
    font-size: 1.125rem;
    color: #000;
}

.brand-tagline {
    font-size: 0.85rem;
    color: #6b7280;
    letter-spacing: 0.01em;
    text-align: center;
}

/* Sección Central: Menú */
.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #374151;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-menu a:hover {
    color: #0091FF;
}

.nav-menu ul {
    align-items: center;
}

.nav-cliente {
    font-weight: 700 !important;
    color: #0074CC !important;
}

.nav-cta {
    background: #0091FF;
    border: 1.5px solid #0091FF;
    color: #ffffff !important;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-weight: 600;
}

.nav-cta:hover {
    background: #0074CC;
    border-color: #0074CC;
    color: #ffffff !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .brand-tagline {
        display: none;
    }

    .brand-container {
        gap: 0.5rem;
    }

    .main-header {
        padding: 0.75rem 1rem;
    }
}

@media (max-width: 380px) {
    .brand-tagline {
        display: none;
    }
}

/* Hero Section */
.hero {
    background-color: #ffffff;
    padding: 6rem 2rem;
    text-align: center;
}

.hero-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: #EAF5FF;
    color: #0074CC;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.5rem 1.2rem;
    border-radius: 9999px;
    margin-bottom: 1.5rem;
}

.hero h1 em {
    font-style: normal;
    color: #0091FF;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #111827;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 2.5rem;
    font-weight: 400;
    max-width: 700px;
}

/* Hero Banner (carrusel) */
.hero-carrusel {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 1;
    max-height: 560px;
    overflow: hidden;
    background: #fff;
}

.carrusel-pista {
    width: 100%;
    height: 100%;
    position: relative;
}

.carrusel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.carrusel-slide.activa {
    opacity: 1;
    pointer-events: auto;
}

.slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.slide-contenido {
    position: absolute;
    left: 4%;
    bottom: 9%;
}

.slide-contenido.derecha {
    left: auto;
    right: 11%;
    bottom: 18%;
}

.slide-cta {
    display: inline-block;
    background: rgba(232, 245, 255, 0.9);
    border: 1.5px solid #c4daf0;
    color: #0074CC;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.8rem 1.8rem;
    border-radius: 9999px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.slide-cta:hover {
    background: #D7ECFF;
    border-color: #0091FF;
    transform: translateY(-1px);
}

.carrusel-flecha {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: #ffffff;
    color: #111827;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.carrusel-flecha:hover {
    background: #EAF5FF;
}

.carrusel-flecha.prev {
    left: 14px;
}

.carrusel-flecha.next {
    right: 14px;
}

.carrusel-puntos {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}

.punto {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    padding: 0;
}

.punto.activo {
    background: #0091FF;
}

@media (max-width: 640px) {
    .slide-cta {
        font-size: 0.78rem;
        padding: 0.5rem 1rem;
    }

    .slide-cta {
        font-size: 0.9rem;
        padding: 0.65rem 1.3rem;
    }

    .carrusel-flecha {
        width: 34px;
        height: 34px;
        font-size: 1.3rem;
    }

    .slide-contenido.derecha {
        right: auto;
        left: 3%;
        bottom: 14%;
    }
}

/* CTA Button */
.hero-botones {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-sec {
    display: inline-block;
    background: transparent;
    border: 1.5px solid #0091FF;
    color: #0074CC;
    font-weight: 600;
    font-size: 1.125rem;
    padding: 1rem 2.5rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}

.hero-sec:hover {
    background: rgba(0, 145, 255, 0.08);
    transform: translateY(-1px);
}

.hero-cta {
    display: inline-block;
    background: transparent;
    border: 1.5px solid #0091FF;
    color: #0074CC;
    font-weight: 600;
    padding: 1rem 2.5rem;
    border-radius: 9999px;
    text-decoration: none;
    font-size: 1.125rem;
    transition: background 0.2s, transform 0.2s;
}

.hero-cta:hover {
    background: rgba(0, 145, 255, 0.08);
    transform: translateY(-1px);
}

@media (max-width: 640px) {
    .hero h1 {
        font-size: 2.25rem;
    }
}

/* Problems Section */
.problems {
    background-color: #ffffff;
    padding: 2rem 2rem;
    display: flex;
    justify-content: center;
}

.problems-grid {
    display: grid;
    grid-template-columns: auto 1fr 1fr 1fr auto;
    gap: 2rem;
    max-width: 1400px;
    width: 100%;
    align-items: center;
}

.question-mark {
    font-size: 8rem;
    font-weight: 300;
    color: #000;
    line-height: 1;
    user-select: none;
}

/* Problem Card */
.problem-card {
    background-color: #EFF5FE;
    /* Celeste suave PromAi */
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-8px);
    background-color: #DFEBFD;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    color: #0091FF;
}

.card-icon svg {
    width: 32px;
    height: 32px;
}

.problem-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
}

.problem-card p {
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.5;
}

/* Responsive for Problems */
@media (max-width: 1024px) {
    .problems-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .question-mark {
        display: none;
    }
}

@media (max-width: 768px) {
    .problems-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .problems {
        padding: 3rem 1.5rem;
    }

    .question-mark {
        display: none;
    }

    .problem-card {
        padding: 1.5rem;
    }
}

/* Método Section (antes Solutions) */
.solutions {
    background-color: #ffffff;
    padding: 6rem 2rem;
    display: flex;
    justify-content: center;
    text-align: center;
}

.solutions-container {
    max-width: 1000px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.solutions-logo img {
    width: 100%;
    max-width: 280px;
    height: auto;
    display: block;
}

.metodo-etiqueta {
    font-size: 1rem;
    font-weight: 700;
    color: #0091FF;
    margin-bottom: -1rem;
}

.solutions h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    color: #111827;
    line-height: 1.25;
    max-width: 900px;
}

/* Pilares del método */
.pilares {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
    margin-top: 1rem;
    text-align: left;
}

.pilar {
    border-top: 3px solid #0091FF;
    padding-top: 1.25rem;
}

.pilar h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

.pilar p {
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.55;
}

@media (max-width: 768px) {
    .solutions {
        padding: 4rem 1.5rem;
    }

    .solutions h2 {
        font-size: 2rem;
    }

    .pilares {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 480px) {
    .solutions h2 {
        font-size: 1.75rem;
    }
}

/* Quién está detrás */
.founder {
    background-color: #F6F9FE;
    padding: 5rem 2rem;
    text-align: center;
}

.founder-container {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.founder h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.5rem;
}

.founder-name {
    font-size: 1.35rem;
    font-weight: 700;
    color: #111827;
}

.founder-role {
    font-size: 1rem;
    font-weight: 600;
    color: #0091FF;
    margin-bottom: 0.75rem;
}

.founder p {
    font-size: 1.05rem;
    color: #4b5563;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .founder {
        padding: 4rem 1.5rem;
    }
}

/* Final CTA Section */
.cta-final {
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
    padding: 6rem 2rem;
    text-align: center;
    border-top: 1px solid #f3f4f6;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.cta-final h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #111827;
    line-height: 1.2;
}

.cta-subtitle {
    font-size: 1.25rem;
    color: #4b5563;
    line-height: 1.6;
    max-width: 700px;
}

.cta-button {
    display: inline-block;
    background: rgba(0, 145, 255, 0.08);
    border: 1.5px solid #c4daf0;
    color: #0074CC;
    font-weight: 600;
    font-size: 1.125rem;
    padding: 1rem 3rem;
    border-radius: 99px;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    margin-top: 1rem;
}

.cta-button:hover {
    transform: translateY(-2px);
    background: rgba(0, 145, 255, 0.16);
    border-color: #0091FF;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

.cta-note {
    font-size: 0.875rem;
    color: #9ca3af;
    margin-top: 1rem;
    font-style: italic;
}

@media (max-width: 768px) {
    .cta-final {
        padding: 4rem 1.5rem;
    }

    .cta-final h2 {
        font-size: 2rem;
    }
}

/* Footer Section */
.site-footer {
    background-color: #ffffff;
    border-top: 2px solid #B9CBDE;
    padding: 3rem 2rem 2rem;
    font-size: 0.875rem;
    color: #4b5563;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 320px;
}

.footer-tagline {
    font-size: 0.8rem;
    color: #6b7280;
    margin: 0;
}

.marca-registrada {
    font-size: 0.8rem;
    color: #0091FF;
    align-self: flex-start;
    margin-left: 2px;
    line-height: 1;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-links a {
    text-decoration: none;
    color: #4b5563;
    transition: color 0.2s;
    font-weight: 500;
}

.footer-links a:hover {
    color: #0091FF;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: #9ca3af;
    transition: color 0.2s;
    display: flex;
    align-items: center;
}

.footer-social a:hover {
    color: #0091FF;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 1.5rem;
    border-top: 1px solid #f3f4f6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.75rem;
    color: #9ca3af;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-brand,
    .footer-links,
    .footer-social {
        align-items: center;
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
}

/* Programa Negocia con Ventaja */
.programa {
    background-color: #0D2B52;
    padding: 9rem 2rem;
    display: flex;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.curva {
    position: absolute;
    left: 0;
    width: 100%;
    height: 90px;
    display: block;
    pointer-events: none;
}

.curva-top {
    top: -1px;
}

.curva-bottom {
    bottom: -1px;
}

.programa-grid {
    max-width: 1150px;
    width: 100%;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: center;
}

.badge-seccion {
    display: inline-block;
    background: #EAF5FF;
    color: #0074CC;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.45rem 1.1rem;
    border-radius: 9999px;
    margin-bottom: 1.25rem;
}

.programa h2 {
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    font-weight: 800;
    color: #111827;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.programa h2 em {
    font-style: normal;
    color: #0091FF;
}

.programa-intro {
    margin-top: 1.25rem;
    font-size: 1.1rem;
    color: #4b5563;
    line-height: 1.6;
    max-width: 34rem;
}

.programa .pilares {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2.2rem;
}

.programa-diagrama img {
    width: 100%;
    max-width: 440px;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.4));
}

@media (max-width: 900px) {
    .programa {
        padding: 6rem 1.5rem;
    }

    .curva {
        height: 50px;
    }

    .programa-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .programa-diagrama {
        order: -1;
    }

    .programa-diagrama img {
        max-width: 320px;
    }
}

/* Programa sobre fondo azul oscuro */
.programa .badge-seccion {
    background: rgba(56, 182, 255, 0.15);
    color: #8FD0FF;
}

.programa h2 {
    color: #ffffff;
}

.programa h2 em {
    color: #38B6FF;
}

.programa-intro {
    color: #C7D6EC;
}

.programa .pilar {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    padding-top: 1.25rem;
}

.programa .pilar h3 {
    color: #ffffff;
}

.programa .pilar p {
    color: #B9C9DE;
}

/* Ecuación */
.ecuacion {
    background: #ffffff;
    padding: 2rem 2rem 5rem;
    text-align: center;
}

.ecuacion-container {
    max-width: 1100px;
    margin: 0 auto;
}

.ecuacion h2 em.azul {
    font-style: normal;
    color: #0091FF;
}

.ecuacion h2 {
    font-size: clamp(1.7rem, 3.5vw, 2.4rem);
    font-weight: 800;
    color: #111827;
    letter-spacing: -0.02em;
    margin-bottom: 3rem;
}

.ecuacion-sub {
    margin: -2.2rem auto 3rem;
    max-width: 46rem;
    color: #6b7280;
    font-size: 1.05rem;
    line-height: 1.6;
}

.ecuacion-grid {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.ecuacion-caja {
    background: #EFF6FE;
    border-radius: 20px;
    padding: 2.2rem 2rem;
    flex: 1 1 240px;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ecuacion-caja h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.4rem;
}

.ecuacion-caja p {
    font-size: 0.98rem;
    color: #6b7280;
}

.ecuacion-caja.resultado {
    background: #0091FF;
}

.ecuacion-caja.resultado h3 {
    color: #ffffff;
}

.ecuacion-caja.resultado p {
    color: #DCEFFF;
}

.ecuacion-signo {
    font-size: 1.8rem;
    font-weight: 800;
    color: #111827;
    align-self: center;
}

@media (max-width: 760px) {
    .ecuacion {
        padding: 1.5rem 1.5rem 4rem;
    }

    .ecuacion-grid {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    .ecuacion-caja {
        width: 100%;
        max-width: 420px;
        flex: none;
    }
}

/* Sección programa estilo caso */
.caso-grid {
    max-width: 1150px;
    width: 100%;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
    align-items: center;
}

.caso-texto h2 {
    font-size: clamp(1.8rem, 3.6vw, 2.6rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.22;
    letter-spacing: -0.02em;
}

.caso-texto h2 em {
    font-style: normal;
    color: #38B6FF;
}

.caso-apoyo {
    margin-top: 1.1rem;
    font-size: 0.95rem;
    color: #CBD5E1;
    line-height: 1.6;
    max-width: 34rem;
}

.caso-apoyo strong {
    color: #ffffff;
}

.caso-cita {
    margin-top: 1.8rem;
    border-left: 3px solid #38B6FF;
    padding-left: 1.4rem;
}

.caso-cita p {
    font-size: 1.15rem;
    font-weight: 600;
    font-style: italic;
    line-height: 1.55;
    color: #BFE2FB;
}

.cita-autor {
    margin-top: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.autor-datos {
    display: flex;
    flex-direction: column;
}

.autor-nombre {
    font-weight: 700;
    color: #ffffff;
}

.autor-rol {
    font-size: 0.9rem;
    color: #8FA6C6;
}

.autor-logo {
    background: #ffffff;
    border-radius: 10px;
    padding: 0.45rem 0.9rem;
    display: inline-flex;
    align-items: center;
}

.autor-logo img {
    height: 20px;
    width: auto;
    display: block;
}

.caso-stat {
    margin-top: 1.8rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 1.2rem 1.6rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    max-width: 30rem;
}

.stat-num {
    font-size: 2.4rem;
    font-weight: 800;
    color: #38B6FF;
    line-height: 1;
}

.stat-texto {
    color: #C7D6EC;
    font-size: 0.98rem;
    line-height: 1.4;
}

.video-marco {
    position: relative;
}

.caso-video img {
    width: 100%;
    border-radius: 20px;
    display: block;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.play {
    position: absolute;
    left: 22px;
    bottom: 22px;
    width: 62px;
    height: 62px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

@media (max-width: 900px) {
    .caso-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .caso-video {
        order: -1;
        max-width: 480px;
        margin: 0 auto;
    }
}

.cta-bloque {
    display: block;
    width: max-content;
    margin: 1.7rem auto 0;
    background: #ffffff;
    color: #0074CC;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 0.95rem 2.4rem;
    border-radius: 9999px;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    transition: background 0.2s, transform 0.2s;
}

.cta-bloque:hover {
    background: #EAF5FF;
    transform: translateY(-1px);
}

/* Ecuación interactiva */
button.ecuacion-caja {
    border: 2px solid transparent;
    cursor: pointer;
    font-family: inherit;
    text-align: center;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

button.ecuacion-caja:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(13, 43, 82, 0.1);
}

button.ecuacion-caja.seleccionada {
    border-color: #0091FF;
}

.panel-servicios {
    margin: 0 auto;
    max-width: 900px;
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 0;
    text-align: left;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: translateY(-12px);
    transition: opacity 0.4s ease, transform 0.4s ease, max-height 0.45s ease, margin 0.45s ease;
}

.panel-servicios.abierto {
    opacity: 1;
    max-height: 900px;
    margin-top: 3rem;
    transform: translateY(0);
}

.servicios-lista {
    list-style: none;
    border-right: 2px solid #D8E6F5;
    padding: 0.5rem 2rem 0.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.servicios-lista li {
    text-align: right;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
    font-size: 0.95rem;
    color: #9ca3af;
    cursor: pointer;
    position: relative;
    padding-right: 1.6rem;
    transition: color 0.2s;
}

.servicios-lista li::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #C9D6E4;
    transition: background 0.2s;
}

.servicios-lista li:hover {
    color: #4b5563;
}

.servicios-lista li.activo {
    color: #111827;
}

.servicios-lista li.activo::after {
    background: #0091FF;
}

.servicio-detalle {
    padding: 0.5rem 0 0.5rem 2.5rem;
}

.detalle-num {
    display: block;
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1;
    color: #D8E6F5;
    margin-bottom: 0.8rem;
}

.detalle-texto {
    white-space: pre-line;
    font-size: 1.08rem;
    color: #374151;
    line-height: 1.65;
    max-width: 30rem;
    margin-bottom: 1.4rem;
}

.detalle-cta {
    display: inline-block;
    background: transparent;
    border: 1.5px solid #0091FF;
    color: #0074CC;
    font-weight: 600;
    font-size: 0.98rem;
    padding: 0.7rem 1.6rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: background 0.2s;
}

.detalle-cta:hover {
    background: rgba(0, 145, 255, 0.08);
}

@media (max-width: 760px) {
    .ecuacion {
        padding-bottom: 4rem;
    }

    .panel-servicios.abierto {
        max-height: 1400px;
    }

    .panel-servicios {
        grid-template-columns: 1fr;
    }

    .servicios-lista {
        border-right: none;
        border-bottom: 2px solid #D8E6F5;
        padding: 0 0 1.4rem;
    }

    .servicios-lista li {
        text-align: left;
        padding-right: 0;
        padding-left: 1.6rem;
    }

    .servicios-lista li::after {
        right: auto;
        left: 0;
    }

    .servicio-detalle {
        padding: 1.6rem 0 0;
    }
}

.click-hint {
    display: block;
    margin-top: 0.6rem;
    font-size: 0.55rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0091FF;
    opacity: 0.8;
}

.ecuacion-caja.resultado .click-hint {
    color: #DCEFFF;
}

/* Descubrimientos */
.insights {
    background: #0D2B52;
    padding: 6rem 2rem 9rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.insights-container {
    max-width: 1150px;
    margin: 0 auto;
}

.insights h2 {
    font-size: clamp(1.9rem, 3.8vw, 2.6rem);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.insights-sub {
    margin: 1rem auto 1.8rem;
    max-width: 42rem;
    color: #C7D6EC;
    font-size: 1.05rem;
    line-height: 1.6;
}

.insights-boton {
    display: inline-block;
    background: transparent;
    border: 1.5px solid #38B6FF;
    color: #BFE2FB;
    font-weight: 600;
    font-size: 0.98rem;
    padding: 0.7rem 1.8rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: background 0.2s;
    margin-bottom: 3rem;
}

.insights-boton:hover {
    background: rgba(56, 182, 255, 0.12);
}

.ver-articulos {
    background: #ffffff;
    text-align: center;
    padding: 0.4rem 2rem 1.2rem;
}

.ver-articulos a {
    color: #0074CC;
    font-weight: 600;
    font-size: 1.02rem;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.ver-articulos a:hover {
    color: #0091FF;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 1.5rem;
}

.insight-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    text-align: left;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s, box-shadow 0.25s;
}

.insight-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.insight-body {
    padding: 1.5rem 1.6rem 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    flex: 1;
}

.insight-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
}

.insight-card h3 {
    font-size: 1.22rem;
    font-weight: 700;
    color: #0091FF;
    line-height: 1.4;
}

.insight-autor {
    margin-top: auto;
    font-size: 0.88rem;
    font-weight: 600;
    color: #6b7280;
}

@media (max-width: 760px) {
    .insights {
        padding: 6rem 1.5rem;
    }
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-legal a {
    text-decoration: none;
    color: #6b7280;
    transition: color 0.2s;
}

.footer-legal a:hover {
    color: #0091FF;
}

.footer-contacto-info {
    margin: 0.4rem 0 0;
    font-size: 0.85rem;
    line-height: 1.7;
}

.footer-contacto-info a {
    color: #4b5563;
    text-decoration: none;
    font-weight: 600;
}

.footer-contacto-info a:hover {
    color: #0091FF;
}

.footer-col-social {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.6rem;
}

.contacto-icono {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: #9ca3af;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.contacto-icono:hover {
    color: #0091FF;
}

.contacto-reveal {
    font-size: 0.9rem;
}

.contacto-reveal a {
    color: #0074CC;
    font-weight: 600;
    text-decoration: none;
}

.contacto-reveal a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer-col-social {
        align-items: center;
    }
}

/* Menú hamburguesa */
.menu-burger {
    display: none;
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: #0D2B52;
}

.menu-burger .icono-cerrar {
    display: none;
}

.menu-burger.abierto .icono-abrir {
    display: none;
}

.menu-burger.abierto .icono-cerrar {
    display: block;
}

@media (max-width: 768px) {
    .menu-burger {
        display: flex;
        align-items: center;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        border-bottom: 1px solid #e5e7eb;
        box-shadow: 0 12px 24px rgba(13, 43, 82, 0.12);
        padding: 1.2rem 1.5rem 1.6rem;
    }

    .nav-menu.abierto {
        display: block;
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.2rem;
    }

    .nav-menu a {
        font-size: 1.05rem;
    }

    .nav-cta {
        display: inline-block;
    }
}
