/* ============ RESET & BASE ============ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --blue: #44A4DC;
    --green: #46AC37;
    --dark: #05141E;
    --dark-surface: #0A1E2E;
    --dark-card: #112A3F;
    --gray-text: #A9C5D8;
    --white: #FFFFFF;
    --font: 'Noto Sans', sans-serif;
}

html { scroll-behavior: smooth; background-color: var(--blue); }

body {
    font-family: var(--font);
    background: var(--dark);
    color: var(--white);
    overflow-x: hidden;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ============ HEADER / NAV ============ */
.header-wrapper {
    position: relative;
    width: 100%;
    z-index: 1000;
}

.top-bar {
    background: var(--green);
    padding: 6px 48px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.top-bar__socials {
    display: flex;
    gap: 16px;
}

.top-bar__socials a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-bar__socials svg {
    width: 16px;
    height: 16px;
    fill: var(--white);
    transition: opacity 0.3s;
}

.top-bar__socials a:hover svg {
    opacity: 0.8;
}

.header {
    background: var(--blue);
    padding: 24px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__logo {
    position: relative;
    z-index: 10;
}

.header__logo::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.06) 40%, transparent 65%);
    filter: blur(8px);
    z-index: -1;
}

.header__logo img {
    height: 200px;
    width: auto;
    margin-top: -64px;
    margin-bottom: -64px;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

@media (max-width: 1200px) {
    .header__nav {
        gap: 18px;
    }
    .header__nav a {
        font-size: 13px;
        letter-spacing: 1px;
    }
}

.header__nav a {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--white);
    position: relative;
    transition: color 0.3s;
}

.header__nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--dark);
    transition: width 0.3s;
}

.header__nav a:hover { color: var(--dark); }
.header__nav a.btn-cta:hover { color: var(--white); }
.header__nav a:hover::after { width: 100%; }
.header__nav a.btn-cta:hover::after { width: 0; } /* Remove underline on hover for the button */

/* ============ CTA BUTTONS ============ */
.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}

.btn-cta--green {
    background: var(--green);
    color: var(--white);
}

.btn-cta--green:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(70, 172, 55, 0.4);
}

.btn-cta--blue {
    background: var(--blue);
    color: var(--white);
}

.btn-cta--blue:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(68, 164, 220, 0.4);
}

.btn-cta--dark {
    background: var(--dark);
    color: var(--white);
}

.btn-cta--dark:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(13, 13, 13, 0.4);
}

.btn-cta--outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--green);
}

.btn-cta--outline:hover {
    background: var(--green);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(70, 172, 55, 0.4);
}

.btn-cta--soft-blue {
    background: rgba(68, 164, 220, 0.12);
    color: var(--blue);
    border: 1px solid rgba(68, 164, 220, 0.3);
}

.btn-cta--soft-blue:hover {
    background: rgba(68, 164, 220, 0.22);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(68, 164, 220, 0.2);
}

.btn-cta--small {
    padding: 10px 20px;
    font-size: 12px;
}

/* ============ HERO ============ */
.hero {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__bg {
    width: 100%;
}

.hero__bg img {
    width: 100%;
    height: auto;
    display: block;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.15) 0%,
        rgba(0, 0, 0, 0.35) 40%,
        rgba(0, 0, 0, 0.75) 70%,
        #000000 100%
    );
    z-index: 1;
}

.hero__content {
    position: absolute;
    bottom: 170px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    width: 100%;
    text-align: center;
    max-width: 1200px;
    padding: 0 24px;
}

/* ============ VIDEO PLAYER ============ */
.video-section {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    height: 0;
    overflow: visible;
}

.video-preview {
    position: relative;
    transform: translateY(-38%);
    width: 650px;
    max-width: 92vw;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid rgba(68, 164, 220, 0.4);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(68, 164, 220, 0.15);
    background: #000000;
}

.video-preview video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ============ HERO TEXT ============ */
.hero__tag {
    display: inline-block;
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
    animation: fadeInUp 0.8s ease 0.05s both;
}

.hero__title {
    font-weight: 700;
    font-size: clamp(32px, 4.5vw, 58px);
    line-height: 1.15;
    margin-bottom: 22px;
    animation: fadeInUp 0.8s ease 0.15s both;
}

.hero__subtitle {
    font-size: clamp(14px, 1.35vw, 18px);
    color: #FFFFFF;
    max-width: 1200px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
    white-space: nowrap;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
    animation: fadeInUp 0.8s ease 0.25s both;
}

@media (max-width: 992px) {
    .hero__subtitle {
        white-space: normal;
    }
}

/* ============ SECTION SHARED ============ */
.section {
    padding: 120px 48px;
}

.section__label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 16px;
}

.section__title {
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
}

.section__desc {
    font-size: 16px;
    color: var(--gray-text);
    line-height: 1.75;
    max-width: 620px;
}

/* ============ MÉTODO ============ */
.metodo {
    background: linear-gradient(to bottom, #000000 0%, #141720 30%, #030406 100%);
    padding-top: 300px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
}

.metodo__wrapper {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* --- Header dividido --- *//* --- Header dividido --- */
.metodo__header {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: end;
    margin-bottom: 80px;
}

.metodo__heading {
    font-size: 44px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.5px;
}

.metodo__header-right {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding-bottom: 6px;
}

.metodo__header-line {
    flex-shrink: 0;
    width: 3px;
    min-height: 100%;
    background: linear-gradient(to bottom, var(--green), var(--blue));
    border-radius: 4px;
}

.metodo__intro {
    font-size: 16px;
    color: var(--gray-text);
    line-height: 1.75;
}

/* ===== PIZARRA TÁCTICA ===== */
.pizarra {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.pizarra__step {
    position: relative;
    z-index: 1;
}

/* Cada paso */
.pizarra__step {
    position: relative;
    width: 45%; /* Menos ancho para que no sea tan horizontal */
    max-width: 450px;
    padding-bottom: 0px; /* Más unidos verticalmente */
    margin-bottom: -10px; /* Para acercarlos aún más si hace falta */
}

.pizarra__step--left {
    align-self: flex-start;
    padding-right: 80px; /* Más espacio para la flecha grande */
}

.pizarra__step--right {
    align-self: flex-end;
    padding-left: 80px;
}

/* Contenido sin caja */
.pizarra__content {
    position: relative;
    padding: 16px 0; /* Sin padding lateral pesado, solo vertical sutil */
    transition: transform 0.3s;
}

.pizarra__step:hover .pizarra__content {
    transform: translateY(-3px);
}

.pizarra__number {
    display: block;
    font-size: 56px;
    font-weight: 700;
    line-height: 1;
    color: rgba(255,255,255,0.15);
    text-shadow: 0 0 25px rgba(255, 255, 255, 0.4);
    margin-bottom: 4px;
}

/* hover removido a peticion del usuario */

.pizarra__title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
    /* Efecto relieve para destacar del fondo */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9), 0px 4px 12px rgba(0, 0, 0, 0.6);
}

.pizarra__text {
    font-size: 15px;
    color: var(--gray-text);
    line-height: 1.65;
    /* Efecto relieve para destacar del fondo */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.9), 0px 2px 8px rgba(0, 0, 0, 0.5);
}

/* ===== FLECHAS DIAGONALES DE IMAGEN ===== */
.pizarra__arrow {
    position: absolute;
    bottom: -5px;  /* Más arriba (antes estaba en -35px) */
    width: 240px;  /* Bastante más grandes (antes 150px) */
    height: auto;
    z-index: 5;
    pointer-events: none;
    /* Efecto relieve igual que el texto */
    filter: drop-shadow(1px 1px 3px rgba(0, 0, 0, 0.9)) drop-shadow(0px 4px 12px rgba(0, 0, 0, 0.6));
}

/* Flecha que va hacia abajo-derecha */
.pizarra__arrow--right-down {
    right: -250px; /* Desplazada más hacia la derecha */
}

/* Flecha que va hacia abajo-izquierda */
.pizarra__arrow--left-down {
    left: -250px; /* Desplazada más hacia la izquierda */
}

/* ============ STATS BAR ============ */
.stats-bar {
    background-image: url('../assets/images/fondohorizontal_opt.webp?v=5');
    background-size: 110% 100%;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 48px;
    margin-top: -100px;
    margin-bottom: -100px;
    position: relative;
    z-index: 10;
}

.stats-bar__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat__number {
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
}

.stat__label {
    font-size: 14px;
    font-weight: 400;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* ============ LIGHT BACKGROUND WRAPPER ============ */
.light-bg-wrapper {
    background-color: #E2E8F0;
    background-image: url('../assets/images/nuevofondo_opt.webp?v=5');
    background-position: top center;
    background-size:  100% auto;
    background-repeat: repeat-y; /* Cambiado de 100% auto a cover para que se adapte libremente */
    
    position: relative;
    color: #0F1B22;
}

.light-bg-content {
    position: relative;
    width: 100%;
    /* Se elimina cualquier min-height estricto basado en dimensiones fijas */
}

/* Para que la imagen de fondo no dificulte la lectura si tiene mucho contraste, podemos ponerle un overlay muy sutil en la misma imagen, o dejarlo así si es claro */

/* ============ BENEFICIOS ============ */
.beneficios {
    background: transparent;
    color: #0F1B22;
}

.beneficios .section__title {
    color: #0F1B22;
}

.beneficios .section__desc {
    color: #2F4858; /* Gris azulado mucho más oscuro para lectura */
    font-weight: 500;
}

.beneficios__wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.beneficios__content {
    background: rgba(255, 255, 255, 0.95); /* Se mantiene blanco */
    backdrop-filter: blur(20px);
    padding: 48px;
    border-radius: 24px;
    /* Sombras aumentadas drásticamente para "elevar" la caja y hacer que destaque mucho más */
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(68,164,220, 0.15);
}

.beneficios__visual {
    position: relative;
}

.beneficios__visual-img {
    display: block;
}

.beneficios__visual-img img {
    width: 100%;
    height: auto;
}

.beneficios__btn-wrap {
    text-align: center;
    margin-top: 24px;
}

@media (min-width: 769px) {
    .beneficios__btn-wrap {
        transform: translateX(45px);
    }
}

.beneficios__list {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 32px;
}

.beneficio-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.beneficio-item__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(70,172,55,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}

.beneficio-item__icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--green);
    fill: none;
    stroke-width: 2;
}

.beneficio-item__title {
    font-weight: 700;
    font-size: 17px;
    margin-bottom: 4px;
    color: #0F1B22;
}

.beneficio-item__text {
    font-size: 15px;
    color: #2F4858;
    line-height: 1.65;
    font-weight: 500;
}

/* ============ TESTIMONIALS ============ */
.testimonials {
    background: transparent;
    color: #0F1B22;
}

.testimonials .section__title {
    color: #0F1B22;
}

.testimonials__wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials__header {
    text-align: center;
    margin-bottom: 64px;
}

/* Fila de vídeos verticales: 3 columnas */
.testimonials__row-vertical {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

/* Fila de vídeos horizontales: 2 columnas */
.testimonials__row-horizontal {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* Cada vídeo: marco elegante, sin caja blanca */
.testimonial-item {
    border-radius: 12px;
    overflow: hidden;
    border: 3px solid rgba(68, 164, 220, 0.25);
    background: #0F1B22;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.testimonial-item:hover {
    transform: translateY(-4px);
    border-color: rgba(68, 164, 220, 0.6);
}

.testimonial-video {
    width: 100%;
    height: auto;
    display: block;
    background: #0F1B22;
}

/* Móvil: todo apilado en 1 columna */
@media (max-width: 768px) {
    .testimonials__row-vertical {
        grid-template-columns: 1fr;
    }
    .testimonials__row-horizontal {
        grid-template-columns: 1fr;
    }
}

/* ============ NUESTRO EQUIPO ============ */
.team__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.team__member {
    text-align: center;
}

.team__member-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0 auto 24px;
    overflow: hidden;
    background: #e0e0e0;
    border: 4px solid var(--white);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.team__member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team__member-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.team__member-role {
    font-size: 14px;
    font-weight: 700;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.team__member-desc {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

/* ============ FAQ ============ */
.faq {
    padding-top: 40px;
    padding-bottom: 80px;
    background: #010203;
}

.faq__wrapper {
    max-width: 860px;
    margin: 0 auto;
}

.faq__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Base Card (Closed) */
.faq__item {
    background: #ffffff;
    border-radius: 16px;
    border: 2px solid #edf2f7;
    padding: 24px 32px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Hover state (Closed) */
.faq__item:hover:not(.active) {
    border-color: #cbd5e1;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.06);
}

/* ACTIVE STATE (Open) -> The Impact */
.faq__item.active {
    background: #0e2438;
    border-color: #0e2438;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 24px 48px rgba(14, 36, 56, 0.25), inset 0 0 0 1px rgba(68, 164, 220, 0.2);
    padding: 32px;
    z-index: 10;
}

/* Question Wrapper */
.faq__question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    position: relative;
    z-index: 2;
}

/* Question Text */
.faq__question h3 {
    font-size: 19px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    line-height: 1.4;
    transition: color 0.4s ease;
}

/* Question Text when Active */
.faq__item.active .faq__question h3 {
    color: #ffffff;
}

/* Icon (Closed) */
.faq__icon {
    font-size: 24px;
    font-weight: 300;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #f1f5f9;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Icon Hover */
.faq__item:hover:not(.active) .faq__icon {
    background: #e2e8f0;
    color: #0f172a;
}

/* Icon (Active) */
.faq__item.active .faq__icon {
    transform: rotate(225deg) scale(1.1);
    background: #44A4DC;
    color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 24px rgba(68, 164, 220, 0.5);
}

/* Answer Grid */
.faq__answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s cubic-bezier(0.25, 1, 0.5, 1), margin-top 0.5s ease;
    margin-top: 0;
    position: relative;
    z-index: 2;
}

/* Answer Text (Closed) */
.faq__answer p {
    overflow: hidden;
    margin: 0;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    opacity: 0;
    /* 3D Fold out effect */
    transform: perspective(600px) rotateX(-40deg) translateY(-20px);
    transform-origin: top;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease;
}

/* Answer Text (Active) */
.faq__item.active .faq__answer {
    grid-template-rows: 1fr;
    margin-top: 20px;
}


.faq__item.active .faq__answer p {
    opacity: 1;
    transform: perspective(600px) rotateX(0deg) translateY(0);
    transition-delay: 0.15s;
}

/* ============ CTA FINAL ============ */
.cta-final {
    background: #010203;
    color: #FFFFFF;
    padding: 100px 48px 250px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-final .section__label {
    color: #44A4DC;
}







.cta-final__content {
    position: relative;
    z-index: 1;
    max-width: 580px;
    margin: 0 auto;
}

.cta-final__title {
    color: #FFFFFF;
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

.cta-final__desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.cta-final__card {
    background: #FFFFFF;
    border-radius: 24px;
    padding: 48px;
    text-align: center;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);
    max-width: 480px;
    margin: 0 auto;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.cta-final__card-badge {
    display: inline-block;
    background: #f0fdf4;
    color: #166534;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 24px;
}

.cta-final__card-name {
    font-size: 32px;
    font-weight: 800;
    color: #0e2438;
    margin-bottom: 8px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.cta-final__card-features {
    list-style: none;
    padding: 0;
    margin: 32px 0;
    text-align: left;
}

.cta-final__card-features li {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 16px;
    color: #475569;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}

.cta-final__card-features li:last-child {
    border-bottom: none;
}

.cta-final__card-features li svg {
    flex-shrink: 0;
}

.cta-final__card-btn:hover {
    background: #1a3b56;
    transform: translateY(-2px);
    box-shadow: 0 12px 20px rgba(14, 36, 56, 0.2);
    color: #fff;
}
.cta-final__card-btn {
    display: block;
    width: 100%;
    background: #0e2438;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    padding: 18px 32px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 16px rgba(14, 36, 56, 0.15);
    text-decoration: none;
}

/* ============ OTROS PRODUCTOS (v2) ============ */
.secondary-products {
    background: linear-gradient(to bottom, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    padding: 100px 48px 250px 48px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.secondary-products::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    opacity: 0.65;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
    background-size: 200px 200px;
    mix-blend-mode: overlay;
}

.secondary-products > * {
    position: relative;
    z-index: 1;
}


.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.product-card-v2 {
    display: flex;
    flex-direction: column;
    background: #1c1c1c;
    border: 2px solid rgba(0, 0, 0, 0.6);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: #FFF;
    position: relative;
    z-index: 2;
    transition: all 0.35s ease;
}

.product-card-v2:hover {
    border-color: rgba(68, 164, 220, 0.5);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(68, 164, 220, 0.15);
}

.product-card-v2__img {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card-v2__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.product-card-v2:hover .product-card-v2__img img {
    transform: scale(1.04);
}

.product-card-v2__body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card-v2__body h3 {
    font-size: 17px;
    font-weight: 700;
    color: #FFF;
    margin-bottom: 16px;
    line-height: 1.35;
    flex: 1;
}

.product-card-v2__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #44A4DC;
    transition: all 0.3s ease;
}

.product-card-v2:hover .product-card-v2__btn {
    color: #6BBEF0;
    gap: 10px;
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    .secondary-products { padding: 80px 24px 350px 24px !important; }
}


/* ============ STACKING SECTIONS (parallax cards) ============ */
.stacking-wrapper {
    position: relative;
}

.stacking-section {
    position: sticky;
    top: 0;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.4);
}

.stacking-section--1 { z-index: 10; }
.stacking-section--2 { z-index: 20; }
.stacking-section--3 { z-index: 30; }


/* ============ FOOTER ============ */
.footer {
    background: var(--blue);
    padding: 16px 48px;
    box-shadow: none !important;
    border-top: none !important;
    margin-top: auto;
}

.footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer__logo img {
    height: 160px;
    width: auto;
    display: block;
    margin: -30px 0;
}

.footer__text {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer__copy {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.footer__legal-links {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin: 4px 0;
}

.footer__legal-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer__legal-links a:hover {
    color: var(--green);
}

.footer__dev {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.footer__dev-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer__dev-link:hover {
    color: var(--white);
    text-decoration: none;
}

.footer__socials {
    display: flex;
    gap: 16px;
}

.footer__socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, transform 0.3s;
}

.footer__socials a:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-3px);
}

.footer__socials svg {
    width: 18px;
    height: 18px;
    fill: var(--white);
}

/* ============ HAMBURGER MOBILE ============ */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 2px;
    background: var(--white);
    transition: 0.3s;
}

/* ============ ANIMATIONS ============ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Scroll-triggered animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .beneficios__wrapper { grid-template-columns: 1fr; gap: 48px; }
    
    .header { padding: 20px 32px; }
    .top-bar { padding: 6px 32px; }
    
    .header__logo img {
        height: 160px;
        margin-top: -48px;
        margin-bottom: -48px;
    }
    
    .header__logo::before {
        width: 140px;
        height: 140px;
    }
    
    .section { padding: 100px 32px; }
    
    .hero__title { font-size: 48px; }
    
    .metodo__header {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    
    .metodo__heading { font-size: 38px; }
    
    /* Pizarra en Tablet/Móvil: Todo centrado y limpio para que nunca desborde */
    .pizarra__step {
        width: 100%;
        max-width: 100%;
        padding-bottom: 120px; /* Mucho más espacio entre puntos */
        margin-bottom: 0;
        text-align: center;
    }
    
    .pizarra__step--left,
    .pizarra__step--right {
        align-self: center;
        padding-left: 0;
        padding-right: 0;
    }
    
    /* Flechas centradas apuntando hacia abajo, más grandes */
    .pizarra__arrow {
        display: block;
        width: 130px; 
        bottom: 10px; /* Centradas dentro del hueco generado por el padding */
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .top-bar { padding: 6px 20px; }
    .header { padding: 16px 20px; }
    
    .header__logo img {
        height: 120px;
        margin-top: -32px;
        margin-bottom: -32px;
    }
    
    .header__logo::before {
        width: 100px;
        height: 100px;
    }
    
    .section { padding: 72px 20px; }
    .stats-bar { padding: 95px 10px 65px; }

    .hamburger { display: flex; }

    .header__nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        flex-direction: column;
        justify-content: center;
        background: rgba(13,13,13,0.98);
        backdrop-filter: blur(16px);
        transition: right 0.4s ease;
        gap: 32px;
    }

    .header__nav.open { right: 0; }

    .metodo__header {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .metodo__heading {
        font-size: 32px;
    }
    
    .pizarra__content { padding: 20px 0; }
    .pizarra__number { font-size: 48px; } /* Más grande en móvil */
    
    .testimonials__grid { grid-template-columns: 1fr; }

    .hero__tag {
        font-size: 11px;
        letter-spacing: 2px;
        margin-bottom: 10px;
    }

    .hero__title { 
        font-size: 24px; 
        margin-bottom: 10px;
    }

    .hero__subtitle {
        font-size: 13px;
        line-height: 1.5;
    }
    
    .hero__content { 
        bottom: 20px;
        padding: 0 16px;
    }

    .video-preview { 
        width: 90%; 
        transform: translateY(-2%); /* Bajamos el vídeo un poquitito más */
    }
    
    .metodo { padding-top: 300px; }
    
    .beneficios__content {
        padding: 32px 24px;
    }
    
    .video-preview__play-btn {
        width: 60px;
        height: 60px;
    }
    .video-preview__play-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .video-preview__caption p { font-size: 14px; }
    
    .stats-bar__inner { 
        grid-template-columns: repeat(3, 1fr); 
        gap: 10px; 
    }
    .stat__number { font-size: 20px; }
    .stat__label { font-size: 8px; }

    .cta-final__title { font-size: 28px; }
    .cta-final__desc { font-size: 15px; }
    
    .btn-cta { padding: 14px 28px; font-size: 13px; }

    .footer__inner { 
        flex-direction: column;
        justify-content: center; 
        text-align: center; 
        gap: 20px;
    }
}























/* --- NUEVA CARD V2 --- */


.v2-card {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    border: 1px solid #dfe3e6;
    border-radius: 6px;
    padding: 0;
    overflow: hidden;
    background: #ffffff;
    font-family: 'Inter', -apple-system, sans-serif;
    color: #15181b;
    text-align: left;
}
.v2-card__top {
    padding: 36px 36px 28px;
}
.v2-kicker {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 18px;
}
.v2-kicker__mark {
    width: 8px;
    height: 8px;
    background: #3ea1d9;
}
.v2-kicker span {
    font-size: 13px;
    color: #656d74;
    font-weight: 500;
}
.v2-card__title {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: 30px;
    line-height: 1.14;
    letter-spacing: 0.002em;
    margin: 0 0 20px;
    color: #15181b;
}
.v2-rule {
    width: 44px;
    height: 3px;
    background: #3ea1d9;
    margin: 0 0 26px;
}
.v2-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}
.v2-features li {
    display: flex;
    align-items: baseline;
    gap: 12px;
    font-size: 14.5px;
    line-height: 1.5;
    color: #363c41;
    padding: 11px 0;
    border-top: 1px solid #dfe3e6;
}
.v2-features li:first-child {
    border-top: none;
    padding-top: 0;
}
.v2-features li::before {
    content: "";
    width: 4px;
    height: 4px;
    background: #2c86ba;
    flex-shrink: 0;
    transform: translateY(-2px);
}
.v2-card__bottom {
    padding: 26px 36px 32px;
    background: #eaf5fb;
    border-top: 1px solid #dfe3e6;
}
a.v2-cta {
    display: block;
    text-align: center;
    text-decoration: none;
    background: #3ea1d9;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 20px;
    border-radius: 4px;
    letter-spacing: 0.01em;
    transition: background 0.18s ease;
}
a.v2-cta:hover {
    background: #2c86ba;
}
a.v2-cta:focus-visible {
    outline: 2px solid #2c86ba;
    outline-offset: 3px;
}

.hero__title, .section__title, .metodo__heading, .cta-final__title, .pizarra__title {
    font-family: 'Unbounded', sans-serif !important;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

/* Estilo guapo y elegante para el titulo principal */
.hero__title {
    font-family: 'Playfair Display', serif !important;
    text-transform: none !important;
    letter-spacing: 0px !important;
    font-weight: 700;
}
.hero__title span {
    font-style: italic;
    color: #e2e8f0; /* un gris perla muy elegante */
}

