/* =====================
           ESTILOS GENERALES
        ===================== */
        body {
            background-color: #f8f9fa;
        }

        h1,
        h2 {
            color: #1a96d3;
        }

        .jost-custom {
            font-family: "Jost", sans-serif;
            font-optical-sizing: auto;
            font-weight: 400;
            font-style: normal;
        }

        /* =====================
           HEADER Y NAVEGACIÓN
        ===================== */
        #header {
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 1000;
            padding: 10px 0;
            transition: background-color 0.3s ease;
        }

        #header::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: white;
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: -1;
        }

        #header.scrolled::before {
            opacity: 1;
        }

        #logo {
            width: 250px;
            transition: width 0.3s ease;
            display: block;
            margin: 0 auto;
        }

        #logo.shrink {
            width: 200px;
        }

        /* =====================
           TARJETAS Y SECCIONES
        ===================== */
        .card {
            margin: 15px;
            transition: transform 0.3s ease-in-out;
        }

        .card:hover {
            transform: scale(1.05);
        }

        .card-img-top {
            height: 280px;
            object-fit: cover;
        }

        .card-img-mp {
            height: 200px;
            object-fit: contain;
            padding: 20px;
        }

        .card-header {
            background-color: #1a96d3;
            color: white;
        }

        .card-footer {
            background-color: #f8f9fa;
        }

        .features {
            margin-top: 30px;
            padding: 20px;
            border-radius: 8px;
            background-color: #e9ecef;
        }

        .hidden-card {
            display: none;
        }

        /* =====================
           BOTONES
        ===================== */
        .btn {
            color: white;
            margin-right: 5px;
            font-size: 0.8rem;
        }

        .btn-primary,
        .btn-play {
            background-color: #1a96d3 !important;
            border-color: #1a96d3 !important;
            color: white !important;
        }

        .btn-primary:hover,
        .btn-play:hover {
            background-color: #157bb0 !important;
            border-color: #157bb0 !important;
        }

        .btn-stop,
        .btn-download {
            background-color: #dc3545;
        }

        /* =====================
           VIDEO/BANNER PRINCIPAL
        ===================== */
        .video-banner-container {
            position: relative;
            width: 100vw !important;
            min-width: 100vw !important;
            max-width: 100vw !important;
            left: 0 !important;
            aspect-ratio: 12/5;
            overflow: hidden;
            background: #12384e;
        }

        .video-banner-container video {
            width: 100vw !important;
            min-width: 100vw !important;
            max-width: 100vw !important;
            height: 100%;
            object-fit: cover;
            display: block;
            background: #fff;
            position: absolute;
            top: 0;
            left: 0;
        }

        .hero-copy {
            position: absolute;
            z-index: 2;
            left: clamp(18px, 7vw, 96px);
            top: 50%;
            transform: translateY(-50%);
            width: min(660px, calc(100vw - 36px));
            color: #fff;
        }

        .conversion-kicker {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 6px 12px;
            border-radius: 999px;
            background: rgba(255, 158, 27, 0.96);
            color: #112231;
            font-weight: 700;
            font-size: 0.88rem;
            margin-bottom: 12px;
        }

        .hero-title {
            color: #fff;
            font-size: clamp(2rem, 4.5vw, 4.6rem);
            line-height: 1;
            font-weight: 800;
            margin-bottom: 14px;
            max-width: 12ch;
        }

        .hero-subtitle {
            font-size: clamp(1rem, 1.8vw, 1.35rem);
            line-height: 1.35;
            margin-bottom: 20px;
            max-width: 640px;
        }

        .hero-actions,
        .conversion-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            align-items: center;
            justify-content: center;
        }

        .hero-actions {
            justify-content: flex-start;
        }

        .btn-whatsapp,
        .btn-outline-light-strong {
            border-radius: 999px;
            padding: 12px 20px;
            font-size: 1rem;
            font-weight: 700;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 9px;
        }

        .btn-whatsapp {
            background: #25D366;
            border: 1px solid #25D366;
            color: white !important;
        }

        .btn-whatsapp:hover {
            background: #1fb75a;
            border-color: #1fb75a;
            color: white !important;
        }

        .btn-outline-light-strong {
            background: rgba(255, 255, 255, 0.12);
            border: 1px solid rgba(255, 255, 255, 0.8);
            color: #fff !important;
        }

        .conversion-band {
            background: #ffffff;
            border-top: 1px solid #e7eef3;
            border-bottom: 1px solid #e7eef3;
            padding: 36px 0;
        }

        .conversion-panel {
            display: grid;
            grid-template-columns: 1.25fr 0.75fr;
            gap: 28px;
            align-items: center;
        }

        .conversion-panel h2 {
            font-size: clamp(1.8rem, 3vw, 3rem);
            font-weight: 800;
            margin-bottom: 12px;
        }

        .conversion-list {
            list-style: none;
            padding: 0;
            margin: 18px 0 0;
            display: grid;
            gap: 10px;
        }

        .conversion-list li {
            display: flex;
            gap: 10px;
            align-items: flex-start;
            color: #22313a;
            font-size: 1rem;
        }

        .conversion-list i {
            color: #1a96d3;
            margin-top: 4px;
        }

        .conversion-score {
            background: #12384e;
            color: #fff;
            border-radius: 8px;
            padding: 22px;
        }

        .conversion-score strong {
            color: #ff9e1b;
            font-size: 2.4rem;
            display: block;
            line-height: 1;
        }

        .floating-whatsapp {
            position: fixed;
            right: 20px;
            bottom: 78px;
            z-index: 1100;
            width: 64px;
            height: 64px;
            border-radius: 50%;
            background: #25D366;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            box-shadow: 0 12px 24px rgba(37, 211, 102, 0.4);
            text-decoration: none;
        }

        .floating-whatsapp:hover {
            background: #1fb75a;
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 14px 28px rgba(37, 211, 102, 0.5);
        }

        .post-video-hero {
            background: #ffffff;
            padding: 52px 0 46px;
            border-bottom: 1px solid #e7eef3;
        }

        .post-video-hero .hero-copy-section {
            max-width: 920px;
            margin: 0 auto;
            text-align: center;
        }

        .post-video-hero h1 {
            color: #12384e;
            font-size: clamp(2rem, 4vw, 4rem);
            line-height: 1.05;
            font-weight: 800;
            margin-bottom: 14px;
        }

        .rotating-verb {
            color: #1a96d3;
            display: inline-block;
            min-width: 4.8em;
            transition: opacity .22s ease, transform .22s ease;
        }

        .rotating-verb.is-changing {
            opacity: 0;
            transform: translateY(6px);
        }

        .post-video-hero p {
            color: #33444f;
            font-size: clamp(1rem, 1.45vw, 1.22rem);
            line-height: 1.5;
            max-width: 800px;
            margin: 0 auto 22px;
        }

        .post-video-hero .hero-actions {
            justify-content: center;
        }

        .post-video-hero .btn-outline-light-strong {
            background: #ffffff;
            border-color: #1a96d3;
            color: #1a96d3 !important;
        }

        .post-video-hero .btn-outline-light-strong:hover {
            background: #eef7fc;
            color: #157bb0 !important;
        }

        .products-section {
            background: #f7fafc;
            padding: 52px 0;
            border-bottom: 1px solid #e0edf4;
        }

        .products-section h2 {
            color: #12384e;
            font-size: clamp(1.8rem, 3vw, 3rem);
            font-weight: 800;
            margin-bottom: 10px;
        }

        .products-intro {
            color: #4e5d66;
            max-width: 780px;
            margin: 0 auto 24px;
        }

        .product-tabs {
            border: 0;
            justify-content: center;
            gap: 10px;
            margin-bottom: 26px;
        }

        .product-tabs .nav-link {
            border: 1px solid #cfe5f1;
            border-radius: 999px;
            color: #157bb0;
            font-weight: 700;
            padding: 10px 22px;
            background: #fff;
        }

        .product-tabs .nav-link.active {
            background: #1a96d3;
            border-color: #1a96d3;
            color: #fff;
        }

        .product-card {
            background: #fff;
            border: 1px solid #dceaf1;
            border-radius: 8px;
            padding: 22px;
            height: 100%;
            box-shadow: 0 10px 24px rgba(18, 56, 78, 0.06);
        }

        .product-card h3 {
            color: #12384e;
            font-size: 1.35rem;
            font-weight: 800;
            margin-bottom: 8px;
        }

        .product-card > p {
            color: #4e5d66;
            min-height: 48px;
        }

        .playlist {
            display: grid;
            gap: 12px;
            margin-top: 16px;
        }

        .product-carousel {
            position: relative;
        }

        .product-carousel .carousel-inner {
            max-height: 392px;
            overflow-y: auto;
            overflow-x: hidden;
            padding: 22px 4px;
            scroll-snap-type: y proximity;
            scrollbar-width: none;
            -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 16%, #000 84%, transparent 100%);
            mask-image: linear-gradient(to bottom, transparent 0, #000 16%, #000 84%, transparent 100%);
        }

        .product-carousel .carousel-inner::-webkit-scrollbar {
            display: none;
        }

        .product-carousel .carousel-item {
            display: block !important;
            float: none;
            margin-right: 0;
            transition: none;
            transform: none !important;
        }

        .product-carousel .carousel-item + .carousel-item {
            margin-top: 12px;
        }

        .product-carousel .carousel-control-prev,
        .product-carousel .carousel-control-next,
        .playlist-controls {
            display: none;
        }

        .playlist-item {
            display: grid;
            grid-template-columns: 46px 1fr auto;
            gap: 12px;
            align-items: center;
            padding: 10px;
            border: 1px solid #edf3f7;
            border-radius: 8px;
            background: #fbfdfe;
            scroll-snap-align: center;
        }

        .playlist-avatar {
            width: 46px;
            height: 46px;
            border-radius: 50%;
            object-fit: cover;
            background: #e7eef3;
        }

        .playlist-title {
            margin: 0;
            font-weight: 800;
            color: #12384e;
            line-height: 1.2;
        }

        .playlist-meta {
            margin: 2px 0 0;
            color: #61717a;
            font-size: 0.88rem;
            line-height: 1.25;
        }

        .playlist-play {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            border: 0;
            background: #ff9e1b;
            color: #102417;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

        .playlist-play:hover {
            background: #eb8d10;
        }

        .header-placeholder {
            height: 80px;
        }

        /* =====================
           BARRA DE NAVEGACIÓN (NAV)
        ===================== */
        .navbar-nav .nav-link {
            color: #1a96d3;
            font-weight: 500;
            border-radius: 20px;
            padding: 8px 22px;
            margin: 0 4px;
            transition: background 0.2s, color 0.2s;
        }

        .navbar-nav .nav-link:hover,
        .navbar-nav .nav-link:focus {
            background: #157bb0;
            color: #fff;
        }

        .navbar-nav .nav-link.active,
        .navbar-nav .nav-link.selected {
            background: #ff9e1b;
            color: #fff !important;
        }

        /* =====================
           RESPONSIVE DESIGN
        ===================== */
        @media (max-width: 1200px) {
            .video-banner-container {
                aspect-ratio: 12/5;
            }
            #logo {
                width: 180px;
            }
        }
        @media (max-width: 992px) {
            .video-banner-container {
                aspect-ratio: 12/5;
            }
            #logo {
                width: 140px;
            }
            .footer-logo img {
                height: 48px;
                max-width: 120px;
            }
        }
        @media (max-width: 768px) {
            .video-banner-container {
                aspect-ratio: 12/5;
                width: 100vw !important;
                max-width: 100vw !important;
                margin: 0 !important;
                padding: 0 !important;
                left: 0 !important;
                right: 0 !important;
            }
            .video-banner-container video {
                width: 100vw !important;
                max-width: 100vw !important;
                height: 100% !important;
                object-fit: contain !important;
                object-position: center center;
                background: #12384e;
            }
            /* Ocultar logo del hero en móvil */
            .logo-top-right {
                display: none !important;
            }
            /* Mostrar logo en navbar siempre en móvil */
            #logo-navbar-mobile {
                display: block !important;
            }
            #logo {
                width: 110px;
                height: 60px !important;
                max-width: 110px;
            }
            .footer-logo img {
                height: 36px;
                max-width: 90px;
            }
            .hero-copy {
                top: 50%;
            }
            .hero-title {
                max-width: 10ch;
            }
            .hero-subtitle {
                max-width: 92vw;
            }
            .conversion-panel {
                grid-template-columns: 1fr;
            }
            /* Ocultar TODOS los botones de carrusel en móvil */
            .carousel-control-prev,
            .carousel-control-next,
            button[data-bs-slide],
            a[data-bs-slide],
            button[data-bs-slide="prev"],
            button[data-bs-slide="next"],
            a[data-bs-slide="prev"],
            a[data-bs-slide="next"],
            [class*="carousel-control"],
            [class*="slick-arrow"],
            [class*="swiper-button"],
            .prev-button,
            .next-button {
                display: none !important;
                visibility: hidden !important;
                opacity: 0 !important;
                pointer-events: none !important;
            }
        }
        @media (max-width: 576px) {
            .video-banner-container {
                aspect-ratio: 12/5;
                width: 100vw !important;
                max-width: 100vw !important;
                margin: 0 !important;
                padding: 0 !important;
                left: 0 !important;
                right: 0 !important;
            }
            .video-banner-container video {
                width: 100vw !important;
                max-width: 100vw !important;
                height: 100% !important;
                object-fit: contain !important;
                object-position: center center;
                background: #12384e;
            }
            /* Ocultar logo del hero en móvil */
            .logo-top-right {
                display: none !important;
            }
            /* Mostrar logo en navbar siempre en móvil */
            #logo-navbar-mobile {
                display: block !important;
            }
            #logo {
                width: 80px;
                height: 40px !important;
                max-width: 80px;
            }
            .footer-logo img {
                height: 28px;
                max-width: 60px;
            }
            h1, h2 {
                font-size: 1.3rem !important;
            }
            .card-img-top, .card-img-mp {
                height: 280px;
            }
            .hero-actions,
            .conversion-actions {
                align-items: stretch;
                flex-direction: column;
            }
            .btn-whatsapp,
            .btn-outline-light-strong {
                justify-content: center;
                width: 100%;
            }
            .floating-whatsapp {
                right: 16px;
                bottom: 72px;
            }
            /* Ocultar TODOS los botones de carrusel y navegación en móvil */
            .carousel-control-prev,
            .carousel-control-next,
            button[data-bs-slide],
            a[data-bs-slide],
            button[data-bs-slide="prev"],
            button[data-bs-slide="next"],
            a[data-bs-slide="prev"],
            a[data-bs-slide="next"],
            .carousel-indicators,
            [class*="carousel-control"],
            [class*="slick-arrow"],
            [class*="swiper-button"],
            .prev-button,
            .next-button {
                display: none !important;
                visibility: hidden !important;
                opacity: 0 !important;
                pointer-events: none !important;
            }
        }
        /* =====================
           MENÚ HAMBURGUESA RESPONSIVE
        ===================== */
        @media (max-width: 992px) {
            .custom-navbar .container-fluid {
                display: flex !important;
                flex-direction: row !important;
                align-items: center !important;
                justify-content: space-between !important;
                padding-left: 10px !important;
                padding-right: 10px !important;
            }
            .navbar-toggler.d-lg-none {
                margin-left: auto !important;
            }
            .custom-navbar .navbar-collapse {
                background: rgba(255,255,255,0.92);
                position: absolute;
                top: 60px;
                left: 0;
                width: 100vw;
                box-shadow: 0 4px 16px rgba(0,0,0,0.08);
                padding: 1rem 0;
                z-index: 2000;
                display: flex !important;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                min-height: 60vh;
                transition: opacity 0.4s cubic-bezier(.4,0,.2,1), transform 0.4s cubic-bezier(.4,0,.2,1);
                opacity: 1;
                transform: translateY(0);
            }
            .custom-navbar .navbar-collapse.collapsing,
            .custom-navbar .navbar-collapse:not(.show) {
                opacity: 0;
                transform: translateY(-30px);
                pointer-events: none;
            }
            .custom-navbar .navbar-nav {
                flex-direction: column !important;
                align-items: center !important;
                width: 100%;
            }
            .custom-navbar .nav-link {
                width: 100%;
                text-align: center;
                padding: 16px 0;
                font-size: 1.2rem;
                color: #157bb0;
                font-weight: 500;
                transition: color 0.2s;
            }
            .custom-navbar .nav-link.active,
            .custom-navbar .nav-link.selected {
                background: #ff9e1b;
                color: #fff !important;
            }
        }
        @media (min-width: 993px) {
            .navbar-toggler {
                display: none !important;
            }
        }
        /* =====================
           LOGO SUPERIOR DERECHO SIEMPRE VISIBLE
        ===================== */
        .logo-top-right {
            position: absolute;
            top: 20px;
            right: 40px;
            z-index: 10;
            text-align: right;
        }
        .logo-top-right img {
            height: 110px;
            width: auto;
            max-width: 220px;
            object-fit: contain;
            image-rendering: auto;
            cursor: pointer;
        }
        /* NAVBAR ADAPTATIVA */
        .custom-navbar .navbar-toggler {
            border: none;
            background: transparent;
            font-size: 1.5rem;
        }
        /* Cambia el color del icono hamburguesa */
        .custom-navbar .navbar-toggler .navbar-toggler-icon {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(21,123,176,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
        }