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

html,
body {
    width: 100%;
    overflow-x: hidden;
    background: #000;
    font-family: 'Poppins', sans-serif;
    color: #fff;
    scroll-behavior: smooth;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    cursor: none;
    background: #000;
}

/* --- Capa inferior: Videos revelados --- */
.hero__revealed {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero__video-half {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero__video-half video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__video-half--left {
    clip-path: inset(0 50% 0 0);
}

.hero__video-half--right {
    clip-path: inset(0 0 0 50%);
}

/* --- Capa superior: Video base + Canvas máscara --- */
.hero__mask-layer {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.hero__mask-layer video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#maskCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
}

/* ===== Hero Content Interface ===== */
.hero__content {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    padding: 0 10%;
    pointer-events: none;
    /* Allow mouse to "pass through" to interactive layers */
}

.hero__content-inner {
    max-width: 600px;
    pointer-events: auto;
    /* Re-enable pointer events for the button */
}

.hero__title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #000;
}

.hero__subtitle {
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 40px;
    color: #000;
    opacity: 0.8;
}

/* Global Button Base */
.btn {
    display: inline-block;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn--hero {
    background: linear-gradient(135deg, #08ddbf 0%, #7efbf3 100%);
    color: #000;
    padding: 16px 36px;
    font-size: 16px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    font-weight: 700;
}

.btn--hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(8, 221, 191, 0.4);
    opacity: 0.9;
}

/* --- Hint indicator --- */
.hero__hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(0, 0, 0, 0.6);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    pointer-events: none;
    animation: hintPulse 2s ease-in-out infinite;
}

.hero__hint.hidden {
    opacity: 0;
}

@keyframes hintPulse {

    0%,
    100% {
        opacity: 0.4;
        transform: translate(-50%, 0);
    }

    50% {
        opacity: 0.8;
        transform: translate(-50%, -5px);
    }
}

/* --- Custom Cursor --- */
.hero__cursor {
    position: fixed;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    pointer-events: none;
    z-index: 1000;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, opacity 0.3s ease, border-color 0.3s ease;
    mix-blend-mode: difference;
    opacity: 0;
}

/* --- Divider line --- */
.hero__divider {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    z-index: 5;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.hero__divider.visible {
    opacity: 1;
}

/* ===== Header ===== */
.site-header {
    position: fixed;
    top: 65px;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0 5%;
    pointer-events: none;
    /* Let clicks through to container */
}

.site-header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    border-radius: 100px;
    padding: 8px 8px 8px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
    pointer-events: auto;
    /* Re-enable clicks */
}

.site-header__logo img {
    height: 50px;
    width: auto;
}

.site-header__nav ul {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.site-header__nav a {
    color: #000;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: opacity 0.3s ease;
    position: relative;
}

.site-header__nav a:hover {
    opacity: 0.7;
}

.site-header__nav a:not(.btn--cta)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: #000;
    transition: width 0.3s ease;
}

.site-header__nav a:not(.btn--cta-premium):hover::after {
    width: 100%;
}

/* --- CTA Premium Button --- */
.btn--cta-premium {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #08ddbf 0%, #7efbf3 100%);
    color: #000 !important;
    text-decoration: none;
    border-radius: 12px;
    padding: 6px 6px 6px 20px;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn--cta-premium:hover {
    transform: translateY(-2px);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(8, 221, 191, 0.4);
}

@media (max-width: 600px) {

    .btn--cta-premium,
    .btn--cta,
    .btn--footer-cta,
    .btn--final-cta {
        min-height: 48px;
    }
}

.btn--cta-premium .btn__text {
    margin-right: 12px;
    text-transform: none;
    letter-spacing: -0.2px;
    color: #000;
}

.btn--cta-premium .btn__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #08ddbf;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    /* Square with rounded corners like in the reference */
    transition: transform 0.3s ease;
}

.btn--cta-premium:hover .btn__icon {
    transform: translateX(2px);
}

.btn--cta {
    background: transparent;
    color: #000;
    padding: 10px 24px;
    border: 2px solid #000;
    border-radius: 0;
    font-size: 13px;
}

.btn--cta:hover {
    background: #000;
    color: #fff;
}

/* ===== Hamburger Button ===== */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 200;
    padding: 0;
}

.hamburger__line {
    display: block;
    width: 24px;
    height: 2px;
    background: #000;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger.active .hamburger__line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .hamburger__line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger__line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Mobile Navigation Overlay ===== */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 150;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-nav.open {
    opacity: 1;
    visibility: visible;
}

.mobile-nav__close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: #fff;
    font-size: 40px;
    line-height: 1;
    cursor: pointer;
    z-index: 151;
    padding: 10px;
    transition: transform 0.3s ease;
}

.mobile-nav__close:hover {
    transform: rotate(90deg);
}

.mobile-nav__inner ul {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.mobile-nav__link {
    color: #fff;
    text-decoration: none;
    font-size: 22px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: opacity 0.3s ease;
}

.mobile-nav__link:hover {
    opacity: 0.7;
}

.mobile-nav .btn--cta {
    color: #fff;
    border-color: #fff;
    padding: 16px 32px;
    font-size: 16px;
    min-height: 48px;
}

/* ===== Floating WhatsApp Button ===== */
.floating-wa {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 100;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.floating-wa:hover {
    transform: scale(1.1);
}

.floating-wa svg {
    width: 32px;
    height: 32px;
    fill: #fff;
}

/* ===== Promo Video Section ===== */
.promo-video {
    padding: 100px 5%;
    background: #0a0a0a;
    position: relative;
}

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

.promo-video__content {
    text-align: center;
}

.promo-video__title {
    font-size: clamp(28px, 4vw, 42px);
    margin-bottom: 24px;
    background: linear-gradient(90deg, #fff, #888);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.promo-video__description {
    font-size: clamp(16px, 1.5vw, 18px);
    color: #aaa;
    max-width: 700px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

.promo-video__wrapper {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 60px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
    background: #000;
    line-height: 0;
    aspect-ratio: 16 / 9;
}

/* --- Tools Marquee (Cintillo) --- */
.tools-marquee {
    width: 100%;
    overflow: hidden;
    margin-bottom: 80px;
    position: relative;
    /* Fade edges */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.tools-marquee__track {
    display: flex;
    align-items: center;
    gap: 60px;
    width: max-content;
    animation: marquee-scroll 40s linear infinite;
}

.tools-marquee img {
    height: 40px;
    width: auto;
    object-fit: contain;
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.tools-marquee img:hover {
    transform: scale(1.1);
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* --- Features Grid --- */
/* --- Features Grid (Spotlight Glow Cards) --- */
.promo-features {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.promo-feature {
    --x: 0;
    --y: 0;
    --border-size: 1px;
    --spotlight-size: 250px;
    --hue: 170;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 20px;
    background: hsl(0 0% 8% / 0.85);
    padding: 36px 20px;
    border-radius: 16px;
    border: var(--border-size) solid hsl(0 0% 100% / 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    position: relative;
    overflow: hidden;
    cursor: default;
    isolation: isolate;
}

/* Spotlight gradient fill — subtle bg glow following mouse */
.promo-feature::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(var(--spotlight-size) var(--spotlight-size) at calc(var(--x) * 1px) calc(var(--y) * 1px),
            hsl(var(--hue) 100% 70% / 0.08),
            transparent);
    pointer-events: none;
    z-index: 1;
}

/* Glowing border that follows cursor */
.promo-feature::after {
    content: '';
    position: absolute;
    inset: calc(var(--border-size) * -1);
    border: var(--border-size) solid transparent;
    border-radius: 16px;
    background: radial-gradient(calc(var(--spotlight-size) * 0.7) calc(var(--spotlight-size) * 0.7) at calc(var(--x) * 1px) calc(var(--y) * 1px),
            hsl(var(--hue) 100% 60% / 0.55),
            transparent 100%);
    background-attachment: fixed;
    background-size: calc(100% + 2px) calc(100% + 2px);
    background-position: 50% 50%;
    mask: linear-gradient(transparent, transparent), linear-gradient(white, white);
    -webkit-mask: linear-gradient(transparent, transparent), linear-gradient(white, white);
    mask-clip: padding-box, border-box;
    -webkit-mask-clip: padding-box, border-box;
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    pointer-events: none;
    z-index: 2;
}

/* Outer blur glow div */
.promo-feature__glow-inner {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
    filter: blur(18px);
    background: radial-gradient(calc(var(--spotlight-size) * 0.5) calc(var(--spotlight-size) * 0.5) at calc(var(--x) * 1px) calc(var(--y) * 1px),
            hsl(var(--hue) 100% 65% / 0.18),
            transparent);
}

.promo-feature:hover .promo-feature__glow-inner {
    opacity: 1;
}

.promo-feature:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(8, 221, 191, 0.12);
}

.promo-feature__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    color: #7efbf3;
    filter: drop-shadow(0 0 10px rgba(126, 251, 243, 0.35));
    position: relative;
    z-index: 3;
}

.promo-feature__text {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    line-height: 1.45;
    position: relative;
    z-index: 3;
}

/* Responsive: wrap on smaller screens */
@media (max-width: 900px) {
    .promo-features {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 560px) {
    .promo-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .promo-feature {
        padding: 24px 16px;
    }
}

/* ═══════════════════════════════════════════════
   SECTION 3 — Programa: Interactive Accordion
   ═══════════════════════════════════════════════ */
.programa {
    background: #ffffff;
    padding: 100px 40px;
    position: relative;
    overflow: hidden;
    margin: 40px 20px;
    border-radius: 40px;
}

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

/* --- Left: Text --- */
.programa__text {
    flex: 0 0 38%;
    max-width: 420px;
}

.programa__title {
    font-family: 'Poppins', sans-serif;
    font-size: 42px;
    font-weight: 800;
    color: #0c0c0c;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
}

.programa__description {
    font-size: 18px;
    color: #4a4a4a;
    line-height: 1.6;
    margin-bottom: 36px;
}

.btn--programa {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #08ddbf 0%, #7efbf3 100%);
    color: #000;
    font-weight: 700;
    font-size: 15px;
    padding: 14px 30px;
    border-radius: 12px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn--programa:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(8, 221, 191, 0.35);
}

.btn--programa svg {
    transition: transform 0.3s ease;
}

.btn--programa:hover svg {
    transform: translateX(4px);
}

/* --- Right: Image Accordion --- */
.programa__accordion {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    height: 480px;
    overflow: hidden;
    min-width: 0;
}

.accordion-panel {
    position: relative;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    flex: 0 0 50px;
    min-width: 50px;
    transition: flex 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-panel.active {
    flex: 1 1 400px;
}

.accordion-panel img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.accordion-panel:hover img {
    transform: scale(1.05);
}

.accordion-panel__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.15) 50%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

/* --- Label: rotated when collapsed, horizontal when active --- */
.accordion-panel__label {
    position: absolute;
    z-index: 2;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

/* Collapsed: vertical text */
.accordion-panel:not(.active) .accordion-panel__label {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) rotate(180deg);
    font-size: 13px;
    letter-spacing: 0.5px;
}

/* Active: horizontal at bottom */
.accordion-panel.active .accordion-panel__label {
    bottom: 28px;
    left: 28px;
    font-size: 20px;
    writing-mode: horizontal-tb;
    transform: none;
}

/* --- Responsive --- */
/* Old responsive styles removed to favor new Mobile Carousel logic at the end of file */

.promo-video__wrapper video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Ensure full video is visible within the 16:9 container even if actual ratio differs slightly, but cover is usually better for filling. Let's start with contain to avoid cutting off info if aspect ratio is weird. */
    display: block;
}

/* Ensure the hero section remains a full viewport experience */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* Cursor is shown/hidden via JS opacity when entering/leaving the hero */

/* Responsive adjustments */
@media (max-width: 1024px) {
    .hero__content {
        padding: 0 5%;
    }
}

@media (max-width: 768px) {

    /* Dark gradient overlay rising from bottom for text readability */
    .hero::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 60%;
        background: linear-gradient(to top,
                rgba(0, 0, 0, 0.92) 0%,
                rgba(0, 0, 0, 0.75) 30%,
                rgba(0, 0, 0, 0.3) 65%,
                transparent 100%);
        z-index: 8;
        pointer-events: none;
    }

    .hero__content {
        text-align: center;
        flex-direction: column;
        justify-content: flex-end;
        align-items: center;
        padding: 0 8% 55px;
    }

    .hero__content-inner {
        position: relative;
        z-index: 9;
        max-width: 100%;
    }

    .hero__title {
        font-size: 24px;
        color: #fff;
        text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
        margin-bottom: 10px;
    }

    .hero__subtitle {
        font-size: 14px;
        color: rgba(255, 255, 255, 0.85);
        margin-bottom: 24px;
        opacity: 1;
    }

    .btn--hero {
        background: #fff;
        color: #000;
        padding: 14px 32px;
        font-size: 14px;
        width: 100%;
        text-align: center;
        border-radius: 8px;
    }

    .btn--hero:hover {
        background: #eee;
    }

    .site-header {
        top: 55px;
        padding: 0 15px;
    }

    .site-header__container {
        padding: 6px 6px 6px 20px;
        border-radius: 50px;
    }

    .site-header__logo img {
        height: 30px;
    }

    .site-header__nav {
        display: none;
    }

    .hamburger {
        display: flex;
        background: transparent;
        border: none;
        padding: 10px;
        margin-right: 5px;
    }

    .hamburger__line {
        background: #000;
        height: 2px;
    }

    .hamburger.active .hamburger__line {
        background: #fff;
    }

    .hero__hint {
        color: rgba(255, 255, 255, 0.5);
        bottom: 24px;
    }

    .promo-video {
        padding: 60px 5%;
    }

    /* Hide ElevenLabs widget on mobile to avoid overlapping CTA */
    elevenlabs-convai {
        display: none;
    }

    .mobile-nav__close {
        color: #fff;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        width: 44px;
        height: 44px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        top: 20px;
        right: 20px;
    }
}

/* ===== Bot Typing Effect (Modelos & Prompts) ===== */
.bot-typing-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    z-index: 5;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Only show when active */
.accordion-panel.active .bot-typing-effect {
    opacity: 1;
}

.bot-message {
    background: rgba(0, 0, 0, 0.75);
    color: #00ffea;
    /* Cyan tech color */
    padding: 8px 14px;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    border: 1px solid rgba(0, 255, 234, 0.25);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);

    /* Initial state for animation */
    opacity: 0;
    transform: translateY(15px);
    width: fit-content;
}

.bot-id {
    color: #fff;
    opacity: 0.7;
    margin-right: 4px;
    font-size: 12px;
}

/* Animations ONLY when active */
.accordion-panel.active .bot-message {
    animation: botMessageSlideIn 0.5s ease-out forwards;
}

.accordion-panel.active .bot-message:nth-child(1) {
    animation-delay: 0.1s;
}

.accordion-panel.active .bot-message:nth-child(2) {
    animation-delay: 0.25s;
}

.accordion-panel.active .bot-message:nth-child(3) {
    animation-delay: 0.4s;
}

.accordion-panel.active .bot-message:nth-child(4) {
    animation-delay: 0.55s;
}

@keyframes botMessageSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Imagen IA & 3D Transition Effect ===== */
/* Apply to both index 1 (Imagen IA) and index 4 (3D & VFX) */
.accordion-panel[data-index="1"] .img-final,
.accordion-panel[data-index="4"] .img-final {
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 2;
    /* Ensure it's above base */
}

.accordion-panel[data-index="1"] .img-base,
.accordion-panel[data-index="4"] .img-base {
    z-index: 1;
}

.accordion-panel[data-index="1"].active .img-final,
.accordion-panel[data-index="4"].active .img-final {
    opacity: 1;
    transition-delay: 0.2s;
}

/* ===== Video Hover Effect ===== */
.video-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 2;
}

.accordion-panel.active .video-hover {
    opacity: 1;
}

/* ═══════════════════════════════════════════════
   MOBILE CAROUSEL (PROGRAMA)
   ═══════════════════════════════════════════════ */
@media (max-width: 900px) {
    .programa {
        padding: 60px 20px;
        margin: 20px 10px;
        border-radius: 24px;
    }

    .programa__container {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }

    .programa__text {
        flex: auto;
        max-width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }

    .programa__title {
        font-size: 32px;
    }

    .programa__description {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .btn--programa {
        width: 100%;
        justify-content: center;
    }

    /* --- Horizontal Slider --- */
    .programa__accordion {
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: row;
        /* Horizontal */
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding-bottom: 30px;
        /* Space for dots/shadow */
        -webkit-overflow-scrolling: touch;
        /* Smooth scroll iOS */
        scrollbar-width: none;
        /* Firefox */
    }

    .programa__accordion::-webkit-scrollbar {
        display: none;
        /* Chrome/Safari */
    }

    .accordion-panel {
        flex: 0 0 85%;
        /* Shows a peek of next card */
        height: 400px;
        /* Fixed height for consistency */
        scroll-snap-align: center;
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease;
    }

    .accordion-panel.active {
        /* No expansion needed in carousel, just play video */
        flex: 0 0 85%;
    }

    /* --- Labels --- */
    .accordion-panel__label {
        font-size: 20px;
        bottom: 20px;
        left: 20px;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    }

    /* --- Pagination Dots --- */
    .programa__dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: -10px;
        /* Move up slightly */
        width: 100%;
    }

    .dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #ddd;
        transition: all 0.3s ease;
    }

    .dot.active {
        width: 24px;
        border-radius: 4px;
        background: #08ddbf;
    }
}

/* ensure labels are horizontal on mobile even if not active */
@media (max-width: 900px) {
    .accordion-panel:not(.active) .accordion-panel__label {
        writing-mode: horizontal-tb;
        transform: none;
        bottom: 20px;
        left: 20px;
        font-size: 20px;
        text-orientation: mixed;
    }
}

/* ═══════════════════════════════════════════════
   SECTION 4 — Is this for you? (Target Audience)
   ═══════════════════════════════════════════════ */
.target-audience {
    background-color: #0a0a0a;
    padding: 100px 5%;
    position: relative;
    overflow: hidden;
}

.target-audience__container {
    max-width: 1100px;
    margin: 0 auto;
}

.target-audience__header {
    text-align: center;
    margin-bottom: 60px;
}

.target-audience__title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.target-audience__subtitle {
    font-size: clamp(18px, 1.5vw, 22px);
    color: #bbb;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
}

.target-audience__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
}

/* --- Card Styles --- */
.target-card {
    background: #111;
    border-radius: 24px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 60px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.target-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 80px rgba(0, 0, 0, 0.7);
}

.target-card--yes {
    background: linear-gradient(135deg, rgba(8, 221, 191, 0.05) 0%, rgba(0, 0, 0, 0) 100%);
    border-left: 2px solid #08ddbf;
}

.target-card--no {
    background: linear-gradient(135deg, rgba(255, 69, 69, 0.05) 0%, rgba(0, 0, 0, 0) 100%);
    border-left: 2px solid #ff4545;
}

.target-card__title-no {
    font-size: 24px;
    color: #ff4545;
    margin-bottom: 30px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* --- Lists --- */
.target-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.target-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    font-size: 16px;
    line-height: 1.5;
    color: #e0e0e0;
}

/* Icons */
.icon-check {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: rgba(8, 221, 191, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #08ddbf;
}

.icon-check svg {
    width: 16px;
    height: 16px;
}

.icon-cross {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: rgba(255, 69, 69, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff4545;
}

.icon-cross svg {
    width: 16px;
    height: 16px;
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .target-audience__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .target-audience {
        padding: 60px 20px;
    }

    .target-card {
        padding: 30px 20px;
    }
}

/* ═══════════════════════════════════════════════
   SECTION 5 — Instructor
   ═══════════════════════════════════════════════ */
.instructor {
    background-color: #0f0f0f;
    /* Slightly lighter than pure black for contrast */
    padding: 100px 5%;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.instructor__header {
    text-align: center;
    margin-bottom: 80px;
}

.instructor__title {
    font-size: clamp(32px, 5vw, 42px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.instructor__subtitle {
    font-size: clamp(18px, 1.5vw, 22px);
    color: #bbb;
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto;
    letter-spacing: 0.5px;
}

.instructor__grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

/* Image */
.instructor__image-wrapper {
    position: relative;
    width: 100%;
    /* max-width removed to allow it to grow and match text height better */
    aspect-ratio: 4 / 5;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    background: #111;
}

.instructor__image {
    position: absolute;
    /* Enforces aspect ratio by taking image out of flow */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Crops the image to fill the 4:5 container */
    object-position: center top;
    /* Focus on face usually */
    display: block;
    filter: grayscale(20%) contrast(1.1);
    transition: filter 0.3s ease, transform 0.5s ease;
}

.instructor__image:hover {
    filter: grayscale(0%) contrast(1.1);
    transform: scale(1.03);
    /* Subtle zoom on hover */
}

/* Info */
.instructor__info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Bullets */
.instructor__bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.instructor__bullets li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
}

.bullet-icon {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #08ddbf;
    flex-shrink: 0;
}

.bullet-icon svg {
    width: 16px;
    height: 16px;
}

/* Bio */
.instructor__bio {
    color: #ccc;
    font-size: 18px;
    line-height: 1.6;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    padding-left: 20px;
    margin: 10px 0;
}

/* Quote */
.instructor__quote {
    font-size: clamp(24px, 3vw, 32px);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    /* Explicitly serif or decorative if desired */
    font-weight: 700;
    line-height: 1.3;
    padding-top: 20px;
    position: relative;
}

.quote-mark {
    color: #08ddbf;
    font-size: 60px;
    line-height: 1;
    vertical-align: middle;
    margin-right: 10px;
    display: inline-block;
}

.quote-mark--closing {
    margin-right: 0;
    margin-left: 10px;
    vertical-align: middle;
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .instructor__grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .instructor__bullets li {
        justify-content: center;
        text-align: left;
    }

    .instructor__bio {
        text-align: left;
        border-left: none;
        padding-left: 0;
        background: rgba(255, 255, 255, 0.03);
        padding: 20px;
        border-radius: 12px;
    }
}

/* ═══════════════════════════════════════════════
   SECTION 6 — Cómo Funciona
   ═══════════════════════════════════════════════ */

.como-funciona {
    background: #080808;
    padding: 120px 5%;
    position: relative;
    overflow: hidden;
}

/* Subtle radial bg */
.como-funciona::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(8, 221, 191, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.como-funciona__container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Header */
.como-funciona__header {
    text-align: center;
    margin-bottom: 80px;
}

.como-funciona__badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #08ddbf;
    background: rgba(8, 221, 191, 0.08);
    border: 1px solid rgba(8, 221, 191, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 24px;
}

.como-funciona__title {
    font-size: clamp(34px, 5vw, 48px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.text-accent {
    color: #08ddbf;
}

.como-funciona__subtitle {
    font-size: clamp(16px, 1.5vw, 20px);
    color: #999;
    max-width: 500px;
    margin: 0 auto;
}

/* Grid */
.como-funciona__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* Card */
.cf-card {
    position: relative;
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 44px 36px;
    cursor: default;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
        border-color 0.4s ease,
        box-shadow 0.4s ease;
    /* Scroll Reveal */
    opacity: 0;
    transform: translateY(40px);
}

.cf-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.cf-card:hover {
    transform: translateY(-6px);
    border-color: rgba(8, 221, 191, 0.25);
    box-shadow: 0 20px 60px rgba(8, 221, 191, 0.08);
}

/* Glow effect on hover */
.cf-card__glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(8, 221, 191, 0.08), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    border-radius: 20px;
}

.cf-card:hover .cf-card__glow {
    opacity: 1;
}

/* Inner */
.cf-card__inner {
    position: relative;
    z-index: 1;
}

/* Number watermark */
.cf-card__number {
    position: absolute;
    top: -10px;
    right: -5px;
    font-size: 100px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

/* Icon */
.cf-card__icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(8, 221, 191, 0.08);
    border: 1px solid rgba(8, 221, 191, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.cf-card:hover .cf-card__icon-wrap {
    background: rgba(8, 221, 191, 0.15);
    transform: scale(1.08);
}

.cf-card__icon {
    width: 32px;
    height: 32px;
    color: #08ddbf;
}

/* Title & Text */
.cf-card__title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.cf-card__text {
    font-size: 16px;
    color: #aaa;
    line-height: 1.6;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .como-funciona__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .como-funciona {
        padding: 80px 5%;
    }

    .como-funciona__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cf-card {
        padding: 32px 24px;
    }

    .cf-card__number {
        font-size: 72px;
    }
}

/* ═══════════════════════════════════════════════
   SECTION — Resultados: Module Tabs + Stage
   ═══════════════════════════════════════════════ */

.resultados {
    background: #0a0a0a;
    padding: 120px 5%;
    position: relative;
    overflow: hidden;
}

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

/* Header */
.resultados__header {
    text-align: center;
    margin-bottom: 72px;
}

.resultados__badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #08ddbf;
    background: rgba(8, 221, 191, 0.08);
    border: 1px solid rgba(8, 221, 191, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 24px;
}

.resultados__title {
    font-size: clamp(34px, 5vw, 52px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.resultados__subtitle {
    font-size: clamp(16px, 1.5vw, 20px);
    color: #888;
    max-width: 520px;
    margin: 0 auto;
}

/* ── Layout ── */
.resultados__layout {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

/* Hide Mobile Stack on Desktop */
.resultados__mobile-stack {
    display: none;
}


/* ── Module Tabs ── */
.modulos-tabs {
    width: 30%;
    min-width: 260px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    flex-shrink: 0;
}

.modulo-tab {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 16px 20px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    text-align: left;
    color: #fff;
    font-family: inherit;
}

.modulo-tab:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
}

.modulo-tab.is-active {
    background: rgba(8, 221, 191, 0.06);
    border-color: rgba(8, 221, 191, 0.3);
    box-shadow: 0 0 24px rgba(8, 221, 191, 0.08);
}

.modulo-tab__number {
    font-size: 28px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.1);
    transition: color 0.35s ease;
    line-height: 1;
    min-width: 40px;
}

.modulo-tab.is-active .modulo-tab__number {
    color: #08ddbf;
}

.modulo-tab__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.modulo-tab__title {
    font-size: 14px;
    font-weight: 600;
    color: #ccc;
    transition: color 0.35s ease;
}

.modulo-tab.is-active .modulo-tab__title {
    color: #fff;
}

.modulo-tab__tag {
    font-size: 12px;
    color: #555;
    transition: color 0.35s ease;
}

.modulo-tab.is-active .modulo-tab__tag {
    color: rgba(8, 221, 191, 0.6);
}

/* ── Stage Panel ── */
.modulo-stage {
    flex: 1;
    position: relative;
    min-height: 450px;
    border-radius: 20px;
    overflow: hidden;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.stage-panel {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0s 0.5s;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* Fix for content flashing outside */
    z-index: 1;
}

.stage-panel.is-active {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease, visibility 0s 0s;
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
}

/* ══════════════════════════════
   Stage Type 1 — threeStep
   ══════════════════════════════ */
.stage-threeStep {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 40px 32px;
    width: 100%;
}

.threeStep__step {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 24px 20px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
}

.threeStep__label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #08ddbf;
    margin-bottom: 14px;
}

.threeStep__content {
    font-size: 15px;
    color: #bbb;
    line-height: 1.6;
    font-style: italic;
}

.threeStep__blocks {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.threeStep__block {
    display: block;
    font-size: 13px;
    color: #ddd;
    background: rgba(8, 221, 191, 0.06);
    border: 1px solid rgba(8, 221, 191, 0.12);
    border-radius: 8px;
    padding: 8px 12px;
    font-family: 'Courier New', monospace;
}

.threeStep__arrow {
    color: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.threeStep__image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 8px;
}

.threeStep__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* ══════════════════════════════
   Stage Type 2 — beforeAfter
   ══════════════════════════════ */
.stage-beforeAfter {
    width: 100%;
    padding: 32px;
}

.ba__container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 14px;
    overflow: hidden;
    cursor: ew-resize;
}

.ba__base-img,
.ba__overlay-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.ba__overlay-img {
    z-index: 2;
    clip-path: inset(0 50% 0 0);
}

.ba__slider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: #08ddbf;
    z-index: 5;
    cursor: ew-resize;
}

.ba__handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: #08ddbf;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0a0a0a;
    box-shadow: 0 4px 16px rgba(8, 221, 191, 0.3);
}

.ba__labels {
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
}

.ba__label {
    font-size: 13px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ══════════════════════════════
   Stage Type 3 — video
   ══════════════════════════════ */
.stage-video {
    width: 100%;
    height: 100%;
    position: relative;
    min-height: 450px;
}

.stage-video__player {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.stage-video__overlay {
    position: absolute;
    bottom: 24px;
    left: 24px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
}

.stage-video__badge {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #08ddbf;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid rgba(8, 221, 191, 0.2);
}

.stage-video__mute-toggle {
    width: 40px;
    height: 36px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.stage-video__mute-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.stage-video__mute-toggle svg {
    width: 20px;
    height: 20px;
}

/* ══════════════════════════════
   Stage Type 4 — audio
   ══════════════════════════════ */
.stage-audio {
    width: 100%;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.stage-audio__visual {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    overflow: hidden;
}

.stage-audio__cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stage-audio__waveform {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 3px;
    padding: 0 20px 12px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
}

.stage-audio__waveform span {
    display: block;
    width: 4px;
    height: 8px;
    background: rgba(8, 221, 191, 0.4);
    border-radius: 2px;
    transition: height 0.15s ease;
}

/* Playing animation */
.stage-audio.is-playing .stage-audio__waveform span {
    animation: audioWave 0.6s ease-in-out infinite alternate;
}

.stage-audio__waveform span:nth-child(odd) {
    animation-delay: 0s;
}

.stage-audio__waveform span:nth-child(2n) {
    animation-delay: 0.1s;
}

.stage-audio__waveform span:nth-child(3n) {
    animation-delay: 0.2s;
}

.stage-audio__waveform span:nth-child(5n) {
    animation-delay: 0.05s;
}

.stage-audio__waveform span:nth-child(7n) {
    animation-delay: 0.15s;
}

@keyframes audioWave {
    0% {
        height: 6px;
        background: rgba(8, 221, 191, 0.3);
    }

    100% {
        height: 40px;
        background: rgba(8, 221, 191, 0.8);
    }
}

.stage-audio__play {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #08ddbf;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0a0a0a;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 20px rgba(8, 221, 191, 0.25);
}

.stage-audio__play:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 28px rgba(8, 221, 191, 0.4);
}

.stage-audio__caption {
    font-size: 13px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* ══════════════════════════════
   Stage Type 5 — transform
   ══════════════════════════════ */
/* ══════════════════════════════
   Stage Type 5 — transform
   ══════════════════════════════ */
.stage-transform {
    width: 100%;
    height: 100%;
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.stage-transform__side {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    height: 100%;
    justify-content: center;
}

.stage-transform__img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
}

.sketchfab-embed-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.sketchfab-embed-wrapper iframe {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    aspect-ratio: 1/1;
    /* Keep square for 3D viewer preference, but allow shrinking */
    border-radius: 12px;
    display: block;
}

.stage-transform__label {
    font-size: 13px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.stage-transform__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #08ddbf;
    animation: pulseArrow 2s infinite ease-in-out;
}

@keyframes pulseArrow {

    0%,
    100% {
        transform: translateX(0);
        opacity: 0.8;
    }

    50% {
        transform: translateX(4px);
        opacity: 1;
    }
}

/* ══════════════════════════════
   Stage Type 6 — collage
   ══════════════════════════════ */
.stage-collage {
    width: 100%;
    height: 100%;
    position: relative;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.stage-collage__main {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.stage-collage__float {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    pointer-events: none;
}

.stage-collage__float--1 {
    width: 120px;
    height: 120px;
    background: #08ddbf;
    top: 10%;
    right: 8%;
    animation: collageFloat 6s ease-in-out infinite alternate;
}

.stage-collage__float--2 {
    width: 80px;
    height: 80px;
    background: #533483;
    bottom: 15%;
    left: 5%;
    animation: collageFloat 8s ease-in-out infinite alternate-reverse;
}

.stage-collage__float--3 {
    width: 60px;
    height: 60px;
    background: #0f3460;
    top: 55%;
    right: 20%;
    animation: collageFloat 5s ease-in-out infinite alternate;
    animation-delay: 1s;
}

@keyframes collageFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(15px, -20px) scale(1.1);
    }
}

.stage-collage__caption {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    z-index: 2;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(6px);
    padding: 12px;
    border-radius: 10px;
}

/* ══════════════════════════════
   Responsive — Resultados
   ══════════════════════════════ */
@media (max-width: 900px) {
    .resultados__layout {
        flex-direction: column;
    }

    .modulos-tabs {
        width: 100%;
        min-width: unset;
        grid-template-columns: repeat(3, 1fr);
    }

    .modulo-stage {
        min-height: 380px;
    }
}

@media (max-width: 600px) {
    .resultados {
        padding: 80px 5%;
    }

    .modulos-tabs {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    .modulo-tab {
        padding: 12px 14px;
        gap: 10px;
    }

    .modulo-tab__number {
        font-size: 22px;
    }

    .modulo-tab__title {
        font-size: 14px;
    }

    .modulo-tab__tag {
        font-size: 12px;
    }

    .modulo-stage {
        min-height: 300px;
    }

    .stage-threeStep {
        flex-direction: column;
        padding: 24px 16px;
    }

    .threeStep__arrow {
        transform: rotate(90deg);
    }

    .threeStep__step {
        min-height: auto;
    }

    .stage-beforeAfter,
    .stage-audio {
        padding: 20px 16px;
    }


    .stage-transform {
        padding: 20px 16px;
    }

    .stage-transform__base,
    .stage-transform__render {
        top: 20px;
        left: 16px;
        right: 16px;
        width: calc(100% - 32px);
    }
}

/* ═══════════════════════════════════════════════
   SECTION 7 — FAQ
   ═══════════════════════════════════════════════ */
.faq {
    padding: 100px 5%;
    background: #000;
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.faq__container {
    max-width: 900px;
    margin: 0 auto;
}

.faq__header {
    text-align: center;
    margin-bottom: 60px;
}

.faq__badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #08ddbf;
    border: 1px solid rgba(8, 221, 191, 0.3);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 20px;
}

.faq__title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    margin-bottom: 16px;
}

.faq__subtitle {
    font-size: 18px;
    color: #888;
}

.faq__grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: background 0.3s ease;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.faq-item__question {
    padding: 24px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    list-style: none;
    /* Remove default triangle */
}

.faq-item__question::-webkit-details-marker {
    display: none;
}

.faq-item__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #08ddbf;
    transition: transform 0.3s ease, background 0.3s ease;
}

.faq-item[open] .faq-item__icon {
    transform: rotate(180deg);
    background: #08ddbf;
    color: #000;
}

.faq-item__answer {
    padding: 0 30px 24px 30px;
    color: #aaa;
    line-height: 1.6;
    font-size: 16px;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ═══════════════════════════════════════════════
   SECTION 8 — Final CTA
   ═══════════════════════════════════════════════ */
.final-cta {
    padding: 120px 5%;
    background: #000;
    position: relative;
    overflow: hidden;
}

/* Background glow effect */
.final-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(circle, rgba(8, 221, 191, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.final-cta__container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    text-align: center;
}

.final-cta__content {
    background: rgba(15, 15, 15, 0.8);
    backdrop-filter: blur(20px);
    padding: 60px 40px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.8);
}

.final-cta__title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.1;
    background: linear-gradient(135deg, #fff 30%, #aaa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.final-cta__subtitle {
    font-size: 18px;
    color: #999;
    margin-bottom: 40px;
    font-weight: 400;
}

.final-cta__price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.final-cta__price-old {
    font-size: 24px;
    color: #666;
    text-decoration: line-through;
    font-weight: 500;
}

.final-cta__price-new {
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.final-cta__price-tag {
    background: rgba(8, 221, 191, 0.15);
    color: #08ddbf;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transform: translateY(-10px);
}

.btn--final-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #08ddbf 0%, #7efbf3 100%);
    color: #000;
    font-size: 20px;
    font-weight: 800;
    padding: 20px 48px;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    margin-bottom: 30px;
    width: 100%;
    max-width: 400px;
}

.btn--final-cta:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 40px rgba(8, 221, 191, 0.3);
}

.final-cta__guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: #888;
}

.final-cta__guarantee span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.final-cta__guarantee svg {
    color: #08ddbf;
}

.final-cta__guarantee .separator {
    color: #444;
}

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
.site-footer {
    padding: 80px 5% 40px;
    background: #050505;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 14px;
}

.site-footer__container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 80px;
}

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

.site-footer__logo-text {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -1px;
}

.site-footer__tagline {
    color: #888;
    line-height: 1.6;
    max-width: 250px;
}

.site-footer__heading {
    font-size: 14px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 5px;
}

.site-footer__nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.site-footer__nav a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-footer__nav a:hover {
    color: #fff;
}

.btn--footer-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 14px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn--footer-cta:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.site-footer__small-text {
    font-size: 12px;
    color: #666;
    text-align: center;
}

.site-footer__bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: #444;
    font-size: 12px;
}

/* Responsive Footer & Sections */
@media (max-width: 900px) {

    /* Hide Desktop Layout on Mobile */
    .resultados__layout {
        display: none;
    }

    /* Show Mobile Stack */
    .resultados__mobile-stack {
        display: flex;
        flex-direction: column;
        gap: 24px;
        padding: 0 16px;
        margin-top: 32px;
    }

    .mobile-card {
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        overflow: hidden;
    }

    .mobile-card__header {
        display: flex;
        align-items: center;
        padding: 16px;
        background: rgba(255, 255, 255, 0.02);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .mobile-card__number {
        font-size: 24px;
        font-weight: 700;
        color: rgba(255, 255, 255, 0.1);
        margin-right: 16px;
        font-variant-numeric: tabular-nums;
    }

    .mobile-card__title {
        font-size: 16px;
        font-weight: 600;
        color: #fff;
        margin: 0 0 4px 0;
    }

    .mobile-card__tag {
        font-size: 13px;
        color: #08ddbf;
    }

    .mobile-card__content {
        padding: 16px;
    }

    /* Content Specific Styles */
    .mobile-threeStep {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .mobile-threeStep__label {
        display: block;
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: #08ddbf;
        margin-bottom: 4px;
        font-weight: 600;
    }

    .mobile-threeStep__item p {
        font-size: 14px;
        color: #ccc;
        line-height: 1.4;
        margin: 0;
    }

    .mobile-threeStep__item img {
        width: 100%;
        border-radius: 8px;
        margin-top: 8px;
    }

    .mobile-threeStep__arrow {
        text-align: center;
        color: rgba(255, 255, 255, 0.2);
    }

    .mobile-ba {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .mobile-ba__label {
        display: block;
        margin-bottom: 8px;
        font-size: 12px;
        color: #aaa;
    }

    .mobile-ba img {
        width: 100%;
        border-radius: 8px;
    }

    .mobile-video-wrapper video {
        width: 100%;
        border-radius: 8px;
        background: #000;
    }

    .mobile-media-caption {
        display: block;
        margin-top: 8px;
        font-size: 12px;
        color: rgba(255, 255, 255, 0.5);
        text-align: center;
    }

    .mobile-audio-wrapper {
        text-align: center;
    }

    .mobile-audio-cover {
        width: 100%;
        max-width: 200px;
        border-radius: 8px;
        margin-bottom: 16px;
    }

    .mobile-audio-wrapper audio {
        width: 100%;
        margin-bottom: 8px;
    }

    .mobile-3d-stack {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .mobile-3d__item img {
        width: 100%;
        border-radius: 8px;
    }

    .mobile-3d__arrow {
        text-align: center;
        color: rgba(255, 255, 255, 0.2);
    }

    .mobile-3d__label {
        display: block;
        margin-bottom: 8px;
        font-size: 12px;
        color: #aaa;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .section-header p {
        font-size: 1rem;
    }
}

@media (max-width: 900px) {
    .site-footer__container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .site-footer__container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .site-footer__tagline {
        margin: 0 auto;
    }

    .site-footer__col {
        align-items: center;
    }

    .final-cta {
        padding: 80px 5%;
    }

    .final-cta__content {
        padding: 40px 20px;
    }

    .final-cta__price-new {
        font-size: 40px;
    }

    .final-cta__guarantee span {
        width: 100%;
        justify-content: center;
    }

    .final-cta__guarantee .separator {
        display: none;
    }
}

/* --- Scroll Down Mobile Button --- */
.hero__scroll-down {
    display: none;
    /* Desktop hidden */
}

@media (max-width: 900px) {
    .hero__scroll-down {
        display: flex;
        position: absolute;
        bottom: 30px;
        right: 30px;
        z-index: 100;
        flex-direction: column;
        align-items: center;
        gap: 5px;
        color: rgba(255, 255, 255, 0.9);
        text-decoration: none;
        font-size: 14px;
        font-weight: 600;
        animation: heroBounce 2s infinite;
        pointer-events: auto;
    }

    .hero__scroll-down svg {
        stroke: #fff;
    }
}

@keyframes heroBounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* --- Accordion Panel Mobile Tap Hint --- */
.accordion-panel__hint {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    pointer-events: none;
    z-index: 10;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
    animation: hintPulse 2s infinite;
}

@media (max-width: 900px) {
    .accordion-panel:not(.active) .accordion-panel__hint {
        display: block;
    }
}

/* ══════════════════════════════════════════════
   Testimonios y Countdown Banner
   ══════════════════════════════════════════════ */

/* Countdown Banner */
.countdown-banner {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%;
    background: linear-gradient(90deg, #08ddbf 0%, #03a89e 100%);
    color: #000; 
    text-align: center; 
    padding: 12px 20px;
    font-size: 14px; 
    font-weight: 600; 
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(8, 221, 191, 0.3);
}
.countdown-timer { 
    font-family: monospace; 
    font-size: 16px; 
    background: rgba(0,0,0,0.1); 
    padding: 4px 8px; 
    border-radius: 4px; 
    margin: 0 4px; 
    letter-spacing: 1px; 
}
body { 
    padding-top: 45px; 
} 
@media (max-width: 768px) { 
    body { padding-top: 60px; } 
    .countdown-banner { font-size: 13px; padding: 10px; } 
    .countdown-timer { font-size: 14px; display: inline-block; margin-top: 4px; } 
}

/* Testimonios */
.testimonials { 
    padding: 80px 5%; 
    background: #000; 
    color: #fff; 
    position: relative;
    z-index: 2;
}
.testimonials__container { 
    max-width: 1200px; 
    margin: 0 auto; 
}
.testimonials__header { 
    text-align: center; 
    margin-bottom: 60px; 
}
.testimonials__title { 
    font-size: clamp(32px, 5vw, 48px); 
    font-weight: 800; 
    margin-bottom: 16px; 
    background: linear-gradient(135deg, #fff 30%, #aaa 100%); 
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent; 
}
.testimonials__subtitle { 
    font-size: 18px; 
    color: #999; 
}
.testimonials__grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px; 
}
.testimonial-card { 
    background: #111; 
    border: 1px solid #222; 
    border-radius: 16px; 
    padding: 30px; 
    display: flex; 
    flex-direction: column; 
    transition: transform 0.3s ease; 
}
.testimonial-card:hover { 
    transform: translateY(-5px); 
    border-color: #333; 
}
.testimonial-card__stars { 
    color: #08ddbf; 
    font-size: 20px; 
    margin-bottom: 16px; 
    letter-spacing: 2px; 
}
.testimonial-card__text { 
    font-size: 16px; 
    color: #ddd; 
    line-height: 1.6; 
    margin-bottom: 30px; 
    font-style: italic; 
    flex-grow: 1; 
}
.testimonial-card__author { 
    display: flex; 
    align-items: center; 
    gap: 16px; 
    border-top: 1px solid #222; 
    padding-top: 20px; 
}
.testimonial-card__avatar { 
    width: 44px; 
    height: 44px; 
    background: #08ddbf; 
    color: #000; 
    border-radius: 50%; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    font-weight: 800; 
    font-size: 16px; 
}
.testimonial-card__info { 
    display: flex; 
    flex-direction: column; 
}
.testimonial-card__name { 
    font-weight: 600; 
    font-size: 16px; 
    color: #fff; 
}
.testimonial-card__role { 
    font-size: 13px; 
    color: #888; 
}
/* ══════════════════════════════════════════════
   Suscripción footer — MailerLite
   ══════════════════════════════════════════════ */
.footer-news {
    max-width: 1200px;
    margin: 0 auto 70px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
}

.footer-news__title {
    font-size: 24px;
    color: #fff;
    font-weight: 700;
    margin: 0 0 8px;
}

.footer-news__subtitle {
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 24px;
    max-width: 520px;
    line-height: 1.5;
}

.footer-news__form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.footer-news__input {
    flex: 1 1 260px;
    min-width: 0;
    padding: 14px 18px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    transition: border-color .2s ease;
}

.footer-news__input::placeholder { color: rgba(255, 255, 255, 0.35); }

.footer-news__input:focus {
    outline: none;
    border-color: #08ddbf;
}

.footer-news__input[aria-invalid="true"] { border-color: #ff6b6b; }

.footer-news__btn {
    padding: 14px 28px;
    border: none;
    border-radius: 10px;
    background: #08ddbf;
    color: #000;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .2s ease, opacity .2s ease;
}

.footer-news__btn:hover:not(:disabled) { transform: translateY(-2px); }
.footer-news__btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }

/* Honeypot: invisible para personas, visible para bots */
.footer-news__hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.footer-news__msg {
    margin: 14px 0 0;
    font-size: 14px;
    min-height: 20px;
}

.footer-news__msg--ok { color: #08ddbf; }
.footer-news__msg--err { color: #ff6b6b; }

.footer-news__legal {
    margin: 16px 0 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

.footer-news__legal a { color: rgba(255, 255, 255, 0.6); text-decoration: underline; }

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

@media (max-width: 640px) {
    .footer-news { padding: 28px 22px; }
    .footer-news__title { font-size: 20px; }
    .footer-news__btn { width: 100%; }
}
