        :root {
            --primary: #5c2a80; /* Morado base derivado */
            --primary-dark: #2b0b45; /* Morado oscuro Pawgrid */
            --accent: #ec965f; /* Naranja Pawgrid */
            --accent-hover: #d67e45;
            --bg-light: #F8FAFC; /* Fondo muy claro */
            --text-dark: #1E293B;
            --text-gray: #64748B;
            --white: #FFFFFF;
            --glass: rgba(255, 255, 255, 0.8);
            --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
            --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
            --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
            --gradient-hero: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
            --gradient-accent: linear-gradient(135deg, #ec965f 0%, #ff7e5f 100%);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Mulish', sans-serif;
            background-color: var(--bg-light);
            color: var(--text-dark);
            line-height: 1.6;
            overflow-x: hidden;
        }

        h1, h2, h3, h4, h5 {
            font-family: 'Montserrat', sans-serif;
            font-weight: 700;
            line-height: 1.2;
        }

        a { text-decoration: none; color: inherit; transition: 0.3s; }
        ul { list-style: none; }

        /* --- HEADER / NAV --- */
        header {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(10px);
            z-index: 1000;
            border-bottom: 1px solid rgba(0,0,0,0.05);
            padding: 1rem 0;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        .nav-wrapper {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .header-logo a {
            display: block;
            margin: 0;
            padding: 0;
            outline: 0;
            border: none;
            width: 197px;
            height: 82px;
            background: url(../../content/img/logo_xs.png) no-repeat center;
            background-size: contain;
            font: 0/0 a;
            text-shadow: none;
            color: transparent;
            transition: all 0.5s ease-in-out
        }
        
        .logo i { color: var(--accent); }

        .nav-links {
            display: flex;
            gap: 2rem;
            align-items: center;
        }

        .nav-links a {
            font-weight: 600;
            color: var(--text-dark);
            font-size: 0.95rem;
        }

        .nav-links a:hover { color: var(--accent); }

        .btn-primary {
            background: var(--primary-dark);
            color: white;
            padding: 0.6rem 1.5rem;
            border-radius: 50px;
            font-weight: 600;
            display: inline-block;
        }

        .btn-primary:hover {
            background: var(--primary);
            transform: translateY(-2px);
            box-shadow: var(--shadow-md);
        }

        .btn-accent {
            background: var(--accent);
            color: white;
            padding: 0.8rem 2rem;
            border-radius: 8px;
            font-weight: 700;
            font-family: 'Montserrat', sans-serif;
            border: none;
            cursor: pointer;
        }
        
        .btn-accent:hover { background: var(--accent-hover); box-shadow: var(--shadow-lg); }

        /* --- HERO SECTION --- */
        .hero {
            padding: 160px 0 100px;
            background: radial-gradient(circle at top right, #fcefe9 0%, #ffffff 40%, #f3f0f5 100%);
            min-height: 90vh;
            display: flex;
            align-items: center;
        }

        .hero-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
        }

        .hero-text h1 {
            font-size: 3.5rem;
            color: var(--primary-dark);
            margin-bottom: 1.5rem;
            letter-spacing: -1px;
        }

        .hero-text h1 span {
            background: -webkit-linear-gradient(45deg, var(--primary-dark), var(--accent));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .hero-text p {
            font-size: 1.25rem;
            color: var(--text-gray);
            margin-bottom: 2.5rem;
            max-width: 90%;
        }

        .hero-img {
            position: relative;
        }

        .hero-img img {
            width: 100%;
            height: auto;
            border-radius: 20px;
            box-shadow: 0 20px 40px rgba(43, 11, 69, 0.15);
            transform: perspective(500px) rotateY(-5deg);
            transition: transform 0.5s ease;
            background: radial-gradient(circle at top right, #fcefe9 0%, #ffffff 40%, #fcefe9 100%);
        }
        
        .hero-img:hover img { transform: perspective(1000px) rotateY(0deg); }

        /* --- FEATURES --- */
        .features {
            padding: 6rem 0;
            background: var(--white);
        }

        .section-header {
            text-align: center;
            max-width: 700px;
            margin: 0 auto 4rem;
        }

        .section-header h2 {
            font-size: 2.5rem;
            color: var(--primary-dark);
            margin-bottom: 1rem;
        }

        .section-header p {
            font-size: 1.1rem;
            color: var(--text-gray);
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }

        .feature-card {
            background: var(--bg-light);
            padding: 2.5rem;
            border-radius: 16px;
            transition: all 0.3s ease;
            border: 1px solid transparent;
        }

        .feature-card:hover {
            background: white;
            box-shadow: var(--shadow-lg);
            transform: translateY(-5px);
            border-color: rgba(236, 150, 95, 0.2);
        }

        .icon-box {
            width: 60px;
            height: 60px;
            background: rgba(236, 150, 95, 0.1);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.5rem;
            color: var(--accent);
            font-size: 1.5rem;
        }

        .feature-card h3 {
            margin-bottom: 1rem;
            color: var(--primary-dark);
        }

        .feature-card ul {
            padding-left: 1rem;
        }
        
        .feature-card li {
            font-size: 0.95rem;
            color: var(--text-gray);
            margin-bottom: 0.5rem;
            position: relative;
            padding-left: 1.2rem;
        }

        .feature-card li::before {
            content: "•";
            color: var(--accent);
            position: absolute;
            left: 0;
            font-weight: bold;
        }

        /* --- PRICING --- */
        .pricing {
            padding: 6rem 0;
            background: linear-gradient(180deg, #FFFFFF 0%, #F1F5F9 100%);
        }

        .pricing-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 2rem;
            max-width: 900px;
            margin: 0 auto;
        }

        .price-card {
            background: white;
            padding: 3rem 2rem;
            border-radius: 24px;
            box-shadow: var(--shadow-md);
            position: relative;
            overflow: hidden;
            border: 1px solid #E2E8F0;
        }

        .price-card.popular {
            border: 2px solid var(--primary-dark);
            transform: scale(1.02);
            box-shadow: 0 20px 40px rgba(43, 11, 69, 0.1);
        }

        .popular-badge {
            background: var(--primary-dark);
            color: white;
            position: absolute;
            top: 0;
            right: 0;
            padding: 0.5rem 1.5rem;
            font-size: 0.8rem;
            font-weight: 700;
            border-bottom-left-radius: 12px;
        }

        .price-header h3 {
            font-size: 1.5rem;
            margin-bottom: 0.5rem;
        }

        .price {
            font-size: 4rem;
            font-weight: 800;
            color: var(--primary-dark);
            margin: 1rem 0;
        }

        .price span { font-size: 1rem; font-weight: 500; color: var(--text-gray); }

        .price-features {
            margin: 2rem 0;
            border-top: 1px solid #f0f0f0;
            padding-top: 1.5rem;
        }

        .price-features li {
            margin-bottom: 0.8rem;
            color: var(--text-dark);
            font-size: 0.95rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .price-features li i { color: #10B981; } /* Check verde */
        .price-features li.disabled { color: #cbd5e1; text-decoration: line-through; }

        /* --- FAQ --- */
        .faq { padding: 6rem 0; }
        
        .faq-item {
            background: white;
            border-radius: 12px;
            padding: 1.5rem;
            margin-bottom: 1rem;
            box-shadow: var(--shadow-sm);
            cursor: pointer;
            transition: 0.3s;
        }
        
        .faq-item:hover { box-shadow: var(--shadow-md); }
        .faq-item h4 { color: var(--primary-dark); font-size: 1.1rem; }
        .faq-item p { margin-top: 0.5rem; color: var(--text-gray); font-size: 0.95rem; }

        /* --- FOOTER --- */
        footer {
            background: var(--primary-dark);
            color: white;
            padding: 4rem 0 2rem;
            text-align: center;
        }

        .footer-links a { margin: 0 1rem; color: rgba(255,255,255,0.7); font-size: 0.9rem; }
        .footer-links a:hover { color: white; }
        .copyright { margin-top: 2rem; font-size: 0.8rem; color: rgba(255,255,255,0.4); }

        /* --- RESPONSIVE --- */
        @media (max-width: 768px) {
            .hero-content { grid-template-columns: 1fr; text-align: center; }
            .hero-text h1 { font-size: 2.5rem; }
            .hero-text p { margin: 0 auto 2rem; }
            .nav-links { display: none; } /* En esta demo simplificada ocultamos menú móvil */
            .price-card.popular { transform: scale(1); }
        }

        /* --- ESTILOS DEL BOTÓN DE VIDEO --- */
        .btn-video {
            background: transparent;
            border: none;
            color: var(--primary-dark);
            font-weight: 700;
            font-size: 1rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-family: 'Montserrat', sans-serif;
            transition: 0.3s;
        }

        .btn-video i {
            font-size: 2rem;
            color: var(--accent); /* Naranja Pawgrid */
            transition: 0.3s;
            box-shadow: 0 0 0 0 rgba(236, 150, 95, 0.7);
            border-radius: 50%;
            animation: pulse-orange 2s infinite;
        }

        .btn-video:hover { color: var(--accent); }
        .btn-video:hover i { transform: scale(1.1); }

        @keyframes pulse-orange {
            0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(236, 150, 95, 0.7); }
            70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(236, 150, 95, 0); }
            100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(236, 150, 95, 0); }
        }

        /* --- ESTILOS DEL MODAL (VENTANA EMERGENTE) --- */
        .modal-overlay {
            display: none; /* Oculto por defecto */
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(43, 11, 69, 0.85); /* Morado oscuro semitransparente */
            backdrop-filter: blur(8px); /* Efecto borroso moderno */
            z-index: 9999;
            justify-content: center;
            align-items: center;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .modal-overlay.active {
            display: flex;
            opacity: 1;
        }

        .modal-container {
            position: relative;
            width: 90%;
            max-width: 900px;
            background: transparent;
            border-radius: 16px;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
            transform: scale(0.8);
            transition: transform 0.3s ease;
        }

        .modal-overlay.active .modal-container {
            transform: scale(1);
        }

        .close-modal {
            position: absolute;
            top: -40px;
            right: -10px;
            font-size: 2.5rem;
            color: white;
            cursor: pointer;
            font-weight: bold;
            transition: 0.3s;
            line-height: 1;
        }

        .close-modal:hover { color: var(--accent); transform: rotate(90deg); }

        /* Contenedor responsivo para video 16:9 */
        .video-wrapper {
            position: relative;
            padding-bottom: 56.25%; /* Ratio 16:9 */
            height: 0;
            overflow: hidden;
            border-radius: 16px;
            border: 1px solid rgba(255,255,255,0.2);
        }

        .video-wrapper iframe, 
        .video-wrapper video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }

        /* --- ESTILOS CARRUSEL GALERÍA --- */
        .gallery-section {
            padding: 5rem 0;
            background-color: #f8fafc;
        }

        .carousel-wrapper {
            position: relative;
            display: flex;
            align-items: center;
            /* Un poco de padding lateral para que los botones no tapen el contenido en móviles */
            padding: 0 10px; 
        }

        /* El contenedor que se desplaza */
        .gallery-track {
            display: flex;
            gap: 20px; /* Espacio entre tarjetas */
            overflow-x: auto; /* Permite scroll horizontal */
            scroll-snap-type: x mandatory; /* Efecto de "imán" al soltar */
            scroll-behavior: smooth;
            padding: 20px 5px; /* Padding vertical para la sombra */
            
            /* Ocultar barra de scroll (Estético) */
            -ms-overflow-style: none;  /* IE and Edge */
            scrollbar-width: none;  /* Firefox */
        }
        .gallery-track::-webkit-scrollbar {
            display: none; /* Chrome, Safari, Opera */
        }

        /* Las tarjetas ahora tienen ancho fijo */
        .gallery-card {
            flex: 0 0 auto; /* No encogerse ni estirarse */
            width: 450px; /* Ancho fijo de cada tarjeta */
            scroll-snap-align: center; /* Centrarse al soltar */
            
            background: white;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            transition: transform 0.3s ease;
            cursor: pointer;
        }

        .gallery-card:hover {
            transform: translateY(-5px);
        }

        .gallery-img-wrapper {
            position: relative;
            width: 100%;
            aspect-ratio: 16/9;
            background-color: #eee;
            overflow: hidden;
        }

        .gallery-img-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: top center;
            transition: transform 0.5s ease;
        }

        /* Overlay y textos igual que antes */
        .gallery-overlay {
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            background: rgba(0,0,0,0.4);
            display: flex;
            justify-content: center;
            align-items: center;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        .gallery-overlay i { color: white; font-size: 2rem; }
        .gallery-card:hover .gallery-img-wrapper img { transform: scale(1.05); }
        .gallery-card:hover .gallery-overlay { opacity: 1; }
        .gallery-card h3 {
            font-family: 'Montserrat', sans-serif;
            font-size: 1.1rem;
            font-weight: 700;
            color: #334155;
            text-align: center;
            padding: 1rem;
            margin: 0;
            border-top: 1px solid #f1f5f9;
        }

        /* BOTONES DE NAVEGACIÓN */
        .carousel-btn {
            background: white;
            border: none;
            width: 45px;
            height: 45px;
            border-radius: 50%;
            box-shadow: 0 4px 10px rgba(0,0,0,0.15);
            color: var(--primary-dark); /* Usa tu variable de color o #72366D */
            font-size: 1.2rem;
            cursor: pointer;
            z-index: 2;
            transition: all 0.3s ease;
            
            /* Posicionamiento */
            position: absolute;
        }
        .carousel-btn:hover {
            background: var(--primary-dark); /* O #72366D */
            color: white;
            transform: scale(1.1);
        }
        .prev-btn { left: -20px; }
        .next-btn { right: -20px; }

        /* Ajuste móvil para botones */
        @media (max-width: 768px) {
            .carousel-btn { display: none; } /* En móvil es mejor deslizar con el dedo */
            .gallery-card { width: 260px; } /* Tarjetas un poco más chicas */
        }


        /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

        /* --- Nueva Sección de Funcionalidades Alternas --- */
        .seccion-funcionalidades {
            padding: 100px 0; /* Espaciado superior e inferior generoso */
            background-color: #ffffff; /* Asegura fondo blanco */
            width: 100%;
            display: block;
        }

        /* Contenedor personalizado para que no entre en conflicto con .container de Bootstrap */
        .contenedor-funcionalidades {
            max-width: 1140px; /* Ancho máximo estándar de Bootstrap para el contenido */
            margin: 0 auto;
            padding: 0 15px;
            width: 100%;
            display: block;
        }

        /* Estilos para cada fila de funcionalidad */
        .fila-funcionalidad {
            display: flex; 
            align-items: center; 
            justify-content: space-between; 
            margin-bottom: 90px; 
            gap: 60px; 
            width: 100%;
        }

        /* Elimina el margen inferior de la última fila */
        .fila-funcionalidad:last-child {
            margin-bottom: 0;
        }

        /* Estilos para las columnas (texto e imagen) */
        .bloque-texto {
            flex: 1; /* Cada columna ocupa el 50% del ancho disponible */
            width: 50%;
            display: block;
            /* --- NUEVOS ESTILOS DEL MARCO --- */
            background-color: #ffffff; /* Fondo blanco */
            border: 1px solid #e2e8f0; /* Borde gris fino y moderno */
            border-radius: 16px; /* Esquinas ligeramente redondeadas */
            padding: 50px; /* Espacio interno para que el contenido respire */
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05); /* Sombra muy sutil para resaltarlo del fondo */
        }

        .bloque-imagen {
            flex: 1; /* Cada columna ocupa el 50% del ancho disponible */
            width: 50%;
            display: block;
        }

        /* --- MAGIA CSS: Alternancia de filas --- */
        /* Selecciona cada fila par (2ª, 4ª, etc.) e invierte su orden visual */
        .fila-funcionalidad:nth-child(even) {
            flex-direction: row-reverse; /* Imagen Izq, Texto Der */
        }

        /* Tipografía y estilos de contenido */
        .titulo-funcionalidad {
            font-size: 36px;
            color: #333333;
            margin-bottom: 25px;
            font-weight: 700;
            line-height: 1.3;
        }

        .descripcion-funcionalidad {
            font-size: 19px;
            color: #666666;
            line-height: 1.7;
            margin-bottom: 35px;
        }

        /* Estilos de lista con checks */
        .lista-funcionalidad {
            list-style: none; /* Elimina viñetas por defecto */
            padding: 0;
            margin: 0;
        }

        .lista-funcionalidad li {
            font-size: 17px;
            color: #555555;
            margin-bottom: 18px;
            display: flex;
            align-items: center; /* Alinea icono y texto */
            line-height: 1.5;
        }

        /* Icono de check (usando FontAwesome directamente en el HTML) */
        .lista-funcionalidad li i {
            color: #27ae60; /* Verde */
            margin-right: 15px;
            font-size: 20px;
        }

        /* Estilos de imagen */
        .bloque-imagen img {
            width: 100%;
            height: auto;
            display: block;
            max-width: 550px; /* Ancho máximo para la imagen */
            margin: 0 auto; /* Centra la imagen si es más pequeña */
        }

        /* --- Responsive: Diseño para Móviles --- */
        @media (max-width: 991px) {
            .fila-funcionalidad {
                gap: 40px; /* Reduce espacio en tablets */
            }
            
            .titulo-funcionalidad {
                font-size: 30px;
            }
        }

        @media (max-width: 767px) {
            .fila-funcionalidad {
                flex-direction: column !important; /* Apila verticalmente texto e imagen */
                text-align: center; /* Centra el texto */
                gap: 35px;
                margin-bottom: 60px;
            }

            .bloque-texto,
            .bloque-imagen {
                width: 100%; /* Columnas ocupan el 100% de ancho */
                flex: none;
            }

            /* Asegura que en móviles la imagen siempre vaya después del texto en todas las filas */
            .fila-funcionalidad:nth-child(even) {
                flex-direction: column !important;
            }
            
            /* Reordena los elementos en móvil si es necesario */
            .fila-funcionalidad .bloque-texto {
                order: 1; /* Texto primero */
            }
            
            .fila-funcionalidad .bloque-imagen {
                order: 2; /* Imagen después */
            }

            .lista-funcionalidad {
                display: inline-block; /* Centra la lista inline-block */
                text-align: left; /* Mantiene el texto de la lista a la izquierda */
            }
        }