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

        :root {
            --primary: #2D9B9B;
            --primary-dark: #1A7373;
            --primary-light: #3db9b9;
            --accent: #3D3D3D;
            --success: #27AE60;
            --whatsapp: #25D366;
            --bg-light: #ffffff;
            --bg-secondary: #F5F7FA;
            --text-dark: #2C3E50;
            --text-muted: #7F8C8D;
            --border-light: #e2e8f0;
            --bg-dark: #0a1628;
            --bg-dark-card: #0f2847;
            --bg-dark-secondary: #1e3a5f;
            --text-light: #f1f5f9;
            --text-dark-muted: #94a3b8;
            --radius: 12px;
            --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
            --transition: all 0.3s ease;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Poppins', sans-serif;
            background-color: var(--bg-light);
            color: var(--text-dark);
            line-height: 1.6;
            transition: background-color 0.5s ease, color 0.5s ease;
        }

        body.dark {
            background-color: var(--bg-dark);
            color: var(--text-light);
        }

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

        a {
            text-decoration: none;
            color: inherit;
        }

        img {
            max-width: 100%;
            height: auto;
        }

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

        /*============================================
          ANIMACIONES
        ============================================*/
        @keyframes float-up {
            from { opacity: 0; transform: translateY(60px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @keyframes fade-in-down {
            from { opacity: 0; transform: translateY(-30px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @keyframes pulse-ring {
            0% { transform: scale(1); opacity: 1; }
            100% { transform: scale(1.5); opacity: 0; }
        }

        @keyframes pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.5; }
        }

        @keyframes bounce {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-10px); }
        }

        .animate-on-scroll {
            opacity: 0;
            transform: translateY(60px);
            transition: opacity 0.8s ease, transform 0.8s ease;
        }

        .animate-on-scroll.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .delay-100 { transition-delay: 0.1s; }
        .delay-200 { transition-delay: 0.2s; }
        .delay-300 { transition-delay: 0.3s; }
        .delay-400 { transition-delay: 0.4s; }

        /*============================================
          HEADER - GLASSMORPHISM
        ============================================*/
        .header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            padding: 15px 0;
            transition: var(--transition);
        }

        .header.scrolled {
            background: rgba(255, 255, 255, 0.85);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
        }

        body.dark .header.scrolled {
            background: rgba(10, 22, 40, 0.9);
        }

        .header-content {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .logo-img {
            width: 45px;
            height: 45px;
            border-radius: 12px;
            object-fit: contain;
        }

        .logo-text {
            font-family: 'Montserrat', sans-serif;
            font-size: 28px;
            font-weight: 800;
            color: var(--primary);
        }

        .nav-desktop {
            display: none;
        }

        @media (min-width: 768px) {
            .nav-desktop {
                display: flex;
                align-items: center;
                gap: 32px;
            }
        }

        .nav-link {
            font-size: 15px;
            font-weight: 500;
            color: var(--text-dark);
            transition: var(--transition);
            position: relative;
        }

        body.dark .nav-link {
            color: var(--text-light);
        }

        .nav-link:hover {
            color: var(--primary);
        }

        .nav-link::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--primary);
            transition: width 0.3s ease;
        }

        .nav-link:hover::after {
            width: 100%;
        }

        .header-actions {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        /* Indicador de Estado */
        .status-indicator {
            display: none;
            align-items: center;
            gap: 8px;
            padding: 8px 14px;
            background: rgba(39, 174, 96, 0.1);
            border-radius: 50px;
            font-size: 13px;
            font-weight: 500;
            color: var(--success);
        }

        @media (min-width: 640px) {
            .status-indicator {
                display: flex;
            }
        }

        .status-dot {
            position: relative;
            width: 10px;
            height: 10px;
            background: var(--success);
            border-radius: 50%;
        }

        .status-dot::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--success);
            border-radius: 50%;
            animation: pulse-ring 1.5s ease-out infinite;
        }

        /* Toggle de Tema */
        .theme-toggle {
            width: 44px;
            height: 44px;
            border: none;
            border-radius: 12px;
            background: var(--bg-secondary);
            color: var(--text-dark);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition);
        }

        body.dark .theme-toggle {
            background: var(--bg-dark-secondary);
            color: var(--text-light);
        }

        .theme-toggle:hover {
            background: var(--primary);
            color: white;
        }

        .theme-toggle svg {
            width: 22px;
            height: 22px;
        }

        body.dark .moon-icon { display: none; }
        body:not(.dark) .sun-icon { display: none; }

        /* Botón Menú Móvil */
        .mobile-menu-btn {
            display: flex;
            width: 44px;
            height: 44px;
            border: none;
            border-radius: 12px;
            background: var(--bg-secondary);
            color: var(--text-dark);
            cursor: pointer;
            align-items: center;
            justify-content: center;
            transition: var(--transition);
        }

        body.dark .mobile-menu-btn {
            background: var(--bg-dark-secondary);
            color: var(--text-light);
        }

        @media (min-width: 768px) {
            .mobile-menu-btn { display: none; }
        }

        /* Menú Móvil */
        .mobile-menu {
            position: fixed;
            top: 80px;
            left: 0;
            right: 0;
            background: white;
            padding: 20px;
            box-shadow: var(--shadow-lg);
            transform: translateY(-120%);
            opacity: 0;
            transition: var(--transition);
            z-index: 999;
        }

        body.dark .mobile-menu {
            background: var(--bg-dark-card);
        }

        .mobile-menu.open {
            transform: translateY(0);
            opacity: 1;
        }

        .mobile-menu a {
            display: block;
            padding: 15px 0;
            font-size: 16px;
            font-weight: 500;
            border-bottom: 1px solid var(--border-light);
        }

        body.dark .mobile-menu a {
            border-bottom-color: var(--bg-dark-secondary);
        }

        /*============================================
          HERO
        ============================================*/
        .hero {
            padding: 140px 0 80px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -25%;
            width: 150%;
            height: 150%;
            background: radial-gradient(ellipse at center, rgba(45, 155, 155, 0.08) 0%, transparent 70%);
            pointer-events: none;
        }

        body.dark .hero::before {
            background: radial-gradient(ellipse at center, rgba(45, 155, 155, 0.15) 0%, transparent 70%);
        }

        .hero-content {
            position: relative;
            z-index: 1;
            animation: fade-in-down 1s ease-out;
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 20px;
            background: rgba(45, 155, 155, 0.1);
            border: 1px solid rgba(45, 155, 155, 0.2);
            border-radius: 50px;
            font-size: 14px;
            font-weight: 500;
            color: var(--primary);
            margin-bottom: 24px;
        }

        .hero h1 {
            font-size: clamp(32px, 6vw, 56px);
            margin-bottom: 20px;
            color: var(--text-dark);
        }

        body.dark .hero h1 {
            color: var(--text-light);
        }

        .hero h1 span {
            color: var(--primary);
        }

        .hero-subtitle {
            font-size: clamp(16px, 2.5vw, 20px);
            color: var(--text-muted);
            max-width: 700px;
            margin: 0 auto 40px;
            line-height: 1.7;
        }

        body.dark .hero-subtitle {
            color: var(--text-dark-muted);
        }

        .hero-buttons {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 16px;
            margin-bottom: 60px;
        }

        /* Botones */
        .btn {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 16px 32px;
            border-radius: var(--radius);
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            border: none;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: white;
            box-shadow: 0 4px 15px rgba(45, 155, 155, 0.35);
        }

        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(45, 155, 155, 0.45);
        }

        .btn-outline {
            background: transparent;
            color: var(--text-dark);
            border: 2px solid var(--border-light);
        }

        body.dark .btn-outline {
            color: var(--text-light);
            border-color: var(--bg-dark-secondary);
        }

        .btn-outline:hover {
            border-color: var(--primary);
            color: var(--primary);
        }

        /* Estadísticas Hero */
        .hero-stats {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
            max-width: 600px;
            margin: 0 auto;
        }

        @media (min-width: 640px) {
            .hero-stats {
                grid-template-columns: repeat(4, 1fr);
            }
        }

        .stat-item {
            text-align: center;
        }

        .stat-number {
            font-family: 'Montserrat', sans-serif;
            font-size: 32px;
            font-weight: 800;
            color: var(--primary);
            display: block;
        }

        .stat-label {
            font-size: 14px;
            color: var(--text-muted);
        }

        body.dark .stat-label {
            color: var(--text-dark-muted);
        }

        /*============================================
          BANNER CRC
        ============================================*/
        .crc-banner {
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            padding: 20px 0;
            text-align: center;
        }

        .crc-content {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: center;
            gap: 16px;
            color: white;
        }

        .crc-icon {
            width: 50px;
            height: 50px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .crc-text h3 {
            font-size: 16px;
            font-weight: 700;
        }

        .crc-text p {
            font-size: 14px;
            opacity: 0.9;
        }

        /*============================================
          SERVICIOS
        ============================================*/
        .services {
            padding: 100px 0;
        }

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

        .section-badge {
            display: inline-block;
            padding: 6px 16px;
            background: rgba(45, 155, 155, 0.1);
            border-radius: 50px;
            font-size: 14px;
            font-weight: 600;
            color: var(--primary);
            margin-bottom: 16px;
        }

        .section-title {
            font-size: clamp(28px, 4vw, 40px);
            margin-bottom: 16px;
            color: var(--text-dark);
        }

        body.dark .section-title {
            color: var(--text-light);
        }

        .section-subtitle {
            font-size: 18px;
            color: var(--text-muted);
            max-width: 600px;
            margin: 0 auto;
        }

        body.dark .section-subtitle {
            color: var(--text-dark-muted);
        }

        .services-grid {
            display: grid;
            gap: 24px;
        }

        @media (min-width: 768px) {
            .services-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (min-width: 1024px) {
            .services-grid {
                grid-template-columns: repeat(4, 1fr);
            }
        }

        .service-card {
            background: white;
            border-radius: var(--radius);
            padding: 32px 24px;
            text-align: center;
            box-shadow: var(--shadow);
            transition: var(--transition);
            border: 1px solid var(--border-light);
        }

        body.dark .service-card {
            background: var(--bg-dark-card);
            border-color: var(--bg-dark-secondary);
        }

        .service-card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-lg);
        }

        .service-icon {
            width: 70px;
            height: 70px;
            margin: 0 auto 20px;
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .service-icon.sms { background: linear-gradient(135deg, #3B82F6, #1D4ED8); }
        .service-icon.whatsapp { background: linear-gradient(135deg, #25D366, #128C7E); }
        .service-icon.email { background: linear-gradient(135deg, #F59E0B, #D97706); }
        .service-icon.voice { background: linear-gradient(135deg, #8B5CF6, #6D28D9); }

        .service-icon svg {
            width: 32px;
            height: 32px;
            color: white;
        }

        .service-card h3 {
            font-size: 20px;
            margin-bottom: 12px;
            color: var(--text-dark);
        }

        body.dark .service-card h3 {
            color: var(--text-light);
        }

        .service-card p {
            font-size: 15px;
            color: var(--text-muted);
            margin-bottom: 20px;
            line-height: 1.6;
        }

        body.dark .service-card p {
            color: var(--text-dark-muted);
        }

        .service-features {
            list-style: none;
            text-align: left;
            margin-bottom: 24px;
        }

        .service-features li {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 14px;
            color: var(--text-muted);
            padding: 8px 0;
            border-bottom: 1px dashed var(--border-light);
        }

        body.dark .service-features li {
            color: var(--text-dark-muted);
            border-bottom-color: var(--bg-dark-secondary);
        }

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

        .check-icon {
            width: 18px;
            height: 18px;
            color: var(--success);
            flex-shrink: 0;
        }

        .service-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 12px 24px;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 600;
            transition: var(--transition);
            border: none;
            cursor: pointer;
        }

        .service-btn.sms { background: rgba(59, 130, 246, 0.1); color: #3B82F6; }
        .service-btn.whatsapp { background: rgba(37, 211, 102, 0.1); color: #25D366; }
        .service-btn.email { background: rgba(245, 158, 11, 0.1); color: #F59E0B; }
        .service-btn.voice { background: rgba(139, 92, 246, 0.1); color: #8B5CF6; }

        .service-btn:hover {
            transform: translateX(5px);
        }

        /*============================================
          INTEGRACIONES
        ============================================*/
        .integrations {
            padding: 80px 0;
            background: var(--bg-secondary);
        }

        body.dark .integrations {
            background: var(--bg-dark-secondary);
        }

        .integrations-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 24px;
            margin-top: 40px;
        }

        @media (min-width: 640px) {
            .integrations-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        @media (min-width: 1024px) {
            .integrations-grid {
                grid-template-columns: repeat(6, 1fr);
            }
        }

        .integration-card {
            background: white;
            padding: 24px;
            border-radius: var(--radius);
            text-align: center;
            box-shadow: var(--shadow);
            transition: var(--transition);
        }

        body.dark .integration-card {
            background: var(--bg-dark-card);
        }

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

        .integration-icon {
            width: 48px;
            height: 48px;
            margin: 0 auto 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 12px;
        }

        .integration-card span {
            font-size: 14px;
            font-weight: 500;
            color: var(--text-dark);
        }

        body.dark .integration-card span {
            color: var(--text-light);
        }

        /*============================================
          TECNOLOGIA
        ============================================*/
        .technology {
            padding: 100px 0;
        }

        .tech-grid {
            display: grid;
            gap: 24px;
            margin-top: 40px;
        }

        @media (min-width: 768px) {
            .tech-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        .tech-card {
            background: white;
            padding: 32px;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            border: 1px solid var(--border-light);
            transition: var(--transition);
        }

        body.dark .tech-card {
            background: var(--bg-dark-card);
            border-color: var(--bg-dark-secondary);
        }

        .tech-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-lg);
        }

        .tech-icon {
            width: 56px;
            height: 56px;
            background: rgba(45, 155, 155, 0.1);
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
        }

        .tech-icon svg {
            width: 28px;
            height: 28px;
            color: var(--primary);
        }

        .tech-card h3 {
            font-size: 20px;
            margin-bottom: 12px;
            color: var(--text-dark);
        }

        body.dark .tech-card h3 {
            color: var(--text-light);
        }

        .tech-card p {
            font-size: 15px;
            color: var(--text-muted);
            line-height: 1.6;
        }

        body.dark .tech-card p {
            color: var(--text-dark-muted);
        }

        /*============================================
          VALORES
        ============================================*/
        .values {
            padding: 100px 0;
            background: var(--bg-secondary);
        }

        body.dark .values {
            background: var(--bg-dark-secondary);
        }

        .values-grid {
            display: grid;
            gap: 24px;
            margin-top: 40px;
        }

        @media (min-width: 768px) {
            .values-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (min-width: 1024px) {
            .values-grid {
                grid-template-columns: repeat(4, 1fr);
            }
        }

        .value-card {
            background: white;
            padding: 32px;
            border-radius: var(--radius);
            text-align: center;
            box-shadow: var(--shadow);
            transition: var(--transition);
        }

        body.dark .value-card {
            background: var(--bg-dark-card);
        }

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

        .value-icon {
            width: 64px;
            height: 64px;
            margin: 0 auto 20px;
            background: rgba(45, 155, 155, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .value-icon svg {
            width: 28px;
            height: 28px;
            color: var(--primary);
        }

        .value-card h3 {
            font-size: 18px;
            margin-bottom: 10px;
            color: var(--text-dark);
        }

        body.dark .value-card h3 {
            color: var(--text-light);
        }

        .value-card p {
            font-size: 14px;
            color: var(--text-muted);
            line-height: 1.6;
        }

        body.dark .value-card p {
            color: var(--text-dark-muted);
        }

        /*============================================
          PROCESO
        ============================================*/
        .process {
            padding: 100px 0;
        }

        .process-grid {
            display: grid;
            gap: 24px;
            margin-top: 40px;
        }

        @media (min-width: 768px) {
            .process-grid {
                grid-template-columns: repeat(4, 1fr);
            }
        }

        .process-step {
            text-align: center;
            position: relative;
        }

        .step-number {
            width: 60px;
            height: 60px;
            margin: 0 auto 20px;
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: 'Montserrat', sans-serif;
            font-size: 24px;
            font-weight: 800;
            color: white;
        }

        .process-step h3 {
            font-size: 18px;
            margin-bottom: 10px;
            color: var(--text-dark);
        }

        body.dark .process-step h3 {
            color: var(--text-light);
        }

        .process-step p {
            font-size: 14px;
            color: var(--text-muted);
        }

        body.dark .process-step p {
            color: var(--text-dark-muted);
        }

        /*============================================
          FAQ
        ============================================*/
        .faq {
            padding: 100px 0;
            background: var(--bg-secondary);
        }

        body.dark .faq {
            background: var(--bg-dark-secondary);
        }

        .faq-list {
            max-width: 800px;
            margin: 40px auto 0;
        }

        .faq-item {
            background: white;
            border-radius: var(--radius);
            margin-bottom: 16px;
            overflow: hidden;
            box-shadow: var(--shadow);
        }

        body.dark .faq-item {
            background: var(--bg-dark-card);
        }

        .faq-question {
            width: 100%;
            padding: 20px 24px;
            background: none;
            border: none;
            text-align: left;
            font-size: 16px;
            font-weight: 600;
            color: var(--text-dark);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            transition: var(--transition);
        }

        body.dark .faq-question {
            color: var(--text-light);
        }

        .faq-question:hover {
            color: var(--primary);
        }

        .faq-icon {
            width: 24px;
            height: 24px;
            color: var(--primary);
            transition: transform 0.3s ease;
            flex-shrink: 0;
        }

        .faq-item.open .faq-icon {
            transform: rotate(180deg);
        }

        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
        }

        .faq-item.open .faq-answer {
            max-height: 300px;
        }

        .faq-answer-content {
            padding: 0 24px 20px;
            font-size: 15px;
            color: var(--text-muted);
            line-height: 1.7;
        }

        body.dark .faq-answer-content {
            color: var(--text-dark-muted);
        }

        /*============================================
          CONTACTO
        ============================================*/
        .contact {
            padding: 100px 0;
        }

        .contact-grid {
            display: grid;
            gap: 40px;
            margin-top: 40px;
        }

        @media (min-width: 768px) {
            .contact-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        .contact-info {
            display: flex;
            flex-direction: column;
            gap: 24px;
        }

        .contact-item {
            display: flex;
            align-items: flex-start;
            gap: 16px;
        }

        .contact-icon {
            width: 50px;
            height: 50px;
            background: rgba(45, 155, 155, 0.1);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .contact-icon svg {
            width: 24px;
            height: 24px;
            color: var(--primary);
        }

        .contact-item h4 {
            font-size: 16px;
            margin-bottom: 4px;
            color: var(--text-dark);
        }

        body.dark .contact-item h4 {
            color: var(--text-light);
        }

        .contact-item p {
            font-size: 15px;
            color: var(--text-muted);
        }

        body.dark .contact-item p {
            color: var(--text-dark-muted);
        }

        .contact-form {
            background: white;
            padding: 32px;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
        }

        body.dark .contact-form {
            background: var(--bg-dark-card);
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            font-size: 14px;
            font-weight: 500;
            margin-bottom: 8px;
            color: var(--text-dark);
        }

        body.dark .form-group label {
            color: var(--text-light);
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 14px 16px;
            border: 1px solid var(--border-light);
            border-radius: 8px;
            font-size: 15px;
            font-family: inherit;
            transition: var(--transition);
            background: white;
            color: var(--text-dark);
        }

        body.dark .form-group input,
        body.dark .form-group textarea {
            background: var(--bg-dark-secondary);
            border-color: var(--bg-dark-secondary);
            color: var(--text-light);
        }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--primary);
        }

        .form-group textarea {
            resize: vertical;
            min-height: 120px;
        }

        /*============================================
          LEGAL SECTION
        ============================================*/
        .legal-section {
            padding: 100px 0;
            background: var(--bg-secondary);
        }

        body.dark .legal-section {
            background: var(--bg-dark-secondary);
        }

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

        .legal-header .badge {
            display: inline-block;
            padding: 6px 16px;
            background: rgba(45, 155, 155, 0.1);
            border-radius: 50px;
            font-size: 14px;
            font-weight: 600;
            color: var(--primary);
            margin-bottom: 16px;
        }

        .legal-header h2 {
            font-size: clamp(28px, 4vw, 40px);
            margin-bottom: 16px;
        }

        .legal-header p {
            font-size: 18px;
            color: var(--text-muted);
            max-width: 600px;
            margin: 0 auto;
        }

        body.dark .legal-header p {
            color: var(--text-dark-muted);
        }

        .legal-cards {
            display: grid;
            gap: 24px;
            grid-template-columns: 1fr;
        }

        @media (min-width: 768px) {
            .legal-cards {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        .legal-card {
            background: var(--bg-light);
            border-radius: 16px;
            padding: 32px 28px;
            box-shadow: var(--shadow);
            border: 1px solid var(--border-light);
            cursor: pointer;
            text-align: left;
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
            gap: 16px;
            width: 100%;
            font-family: inherit;
        }

        body.dark .legal-card {
            background: var(--bg-dark-card);
            border-color: var(--bg-dark-secondary);
        }

        .legal-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
        }

        .legal-card-icon {
            width: 56px;
            height: 56px;
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

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

        .legal-card h3 {
            font-size: 18px;
            margin-bottom: 8px;
            line-height: 1.3;
        }

        .legal-card p {
            font-size: 15px;
            color: var(--text-muted);
            line-height: 1.6;
            margin: 0;
        }

        body.dark .legal-card p {
            color: var(--text-dark-muted);
        }

        .legal-card-link {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            font-weight: 600;
            margin-top: auto;
        }

        .legal-card-link svg {
            width: 16px;
            height: 16px;
            transition: transform 0.3s ease;
        }

        .legal-card:hover .legal-card-link svg {
            transform: translateX(4px);
        }

        /* Footer Legal Links */
        .footer-legal-links {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 24px;
            margin-bottom: 20px;
        }

        .footer-legal-links a {
            font-size: 14px;
            color: rgba(255,255,255,0.7);
            transition: color 0.3s ease;
        }

        .footer-legal-links a:hover {
            color: var(--primary-light);
        }

        /* Legal Modal */
        .legal-modal-overlay {
            position: fixed;
            inset: 0;
            z-index: 2000;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 16px;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease;
        }

        .legal-modal-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .legal-modal-backdrop {
            position: absolute;
            inset: 0;
            background: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(4px);
            -webkit-backdrop-filter: blur(4px);
        }

        .legal-modal {
            position: relative;
            width: 100%;
            max-width: 800px;
            max-height: 85vh;
            background: white;
            border-radius: 20px;
            box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
            overflow: hidden;
            transform: scale(0.95);
            transition: transform 0.3s ease;
        }

        body.dark .legal-modal {
            background: var(--bg-dark-card);
        }

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

        .legal-modal-header {
            position: sticky;
            top: 0;
            z-index: 10;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 20px 24px;
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: white;
        }

        .legal-modal-header-left {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .legal-modal-header-icon {
            width: 40px;
            height: 40px;
            border-radius: 12px;
            background: rgba(255, 255, 255, 0.2);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .legal-modal-header-icon svg {
            width: 20px;
            height: 20px;
        }

        .legal-modal-header h2 {
            font-size: 16px;
            font-weight: 700;
            letter-spacing: -0.02em;
        }

        @media (min-width: 640px) {
            .legal-modal-header h2 {
                font-size: 18px;
            }
        }

        .legal-modal-close {
            width: 36px;
            height: 36px;
            border-radius: 10px;
            background: rgba(255, 255, 255, 0.2);
            border: none;
            color: white;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.3s ease;
            flex-shrink: 0;
        }

        .legal-modal-close:hover {
            background: rgba(255, 255, 255, 0.3);
        }

        .legal-modal-close svg {
            width: 20px;
            height: 20px;
        }

        .legal-modal-body {
            padding: 24px;
            overflow-y: auto;
            max-height: calc(85vh - 80px);
            color: var(--text-dark);
            line-height: 1.7;
        }

        body.dark .legal-modal-body {
            color: var(--text-light);
        }

        .legal-modal-body .doc-subtitle {
            font-weight: 600;
            text-align: center;
            font-size: 13px;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: var(--text-muted);
            padding-bottom: 20px;
            border-bottom: 1px solid var(--border-light);
            margin-bottom: 28px;
        }

        body.dark .legal-modal-body .doc-subtitle {
            border-bottom-color: var(--bg-dark-secondary);
            color: var(--text-dark-muted);
        }

        .legal-modal-body .doc-section {
            margin-bottom: 28px;
        }

        .legal-modal-body .doc-section h3 {
            font-size: 17px;
            color: var(--primary);
            margin-bottom: 10px;
        }

        .legal-modal-body .doc-section p {
            font-size: 15px;
            line-height: 1.7;
            margin-bottom: 12px;
        }

        .legal-modal-body .doc-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .legal-modal-body .doc-list li {
            display: flex;
            gap: 12px;
            padding: 10px 0;
            border-bottom: 1px dashed var(--border-light);
            font-size: 14px;
            line-height: 1.6;
        }

        body.dark .legal-modal-body .doc-list li {
            border-bottom-color: var(--bg-dark-secondary);
        }

        .legal-modal-body .doc-list li svg {
            flex-shrink: 0;
            margin-top: 2px;
            width: 18px;
            height: 18px;
        }

        .legal-modal-body .doc-note {
            background: rgba(245, 158, 11, 0.08);
            padding: 12px 16px;
            border-radius: 8px;
            border-left: 3px solid #F59E0B;
            font-size: 15px;
            line-height: 1.7;
        }

        body.dark .legal-modal-body .doc-note {
            background: rgba(245, 158, 11, 0.12);
        }

        .legal-modal-body .doc-note-blue {
            background: rgba(59, 130, 246, 0.06);
            padding: 12px 16px;
            border-radius: 8px;
            border-left: 3px solid #3B82F6;
            font-size: 15px;
            line-height: 1.7;
        }

        body.dark .legal-modal-body .doc-note-blue {
            background: rgba(59, 130, 246, 0.12);
        }

        .legal-modal-body .doc-contact {
            background: rgba(45, 155, 155, 0.06);
            padding: 16px 20px;
            border-radius: 12px;
            margin-bottom: 16px;
        }

        body.dark .legal-modal-body .doc-contact {
            background: rgba(45, 155, 155, 0.12);
        }

        .legal-modal-body .doc-contact a {
            color: var(--primary);
            font-weight: 600;
        }

        .legal-modal-body .doc-contact-red {
            background: rgba(239, 68, 68, 0.06);
            padding: 16px 20px;
            border-radius: 12px;
            margin-bottom: 16px;
        }

        body.dark .legal-modal-body .doc-contact-red {
            background: rgba(239, 68, 68, 0.12);
        }

        .legal-modal-body .doc-contact-red a {
            color: #EF4444;
            font-weight: 600;
        }

        .legal-modal-body .doc-list-alpha li .alpha-marker {
            flex-shrink: 0;
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background: rgba(45, 155, 155, 0.1);
            color: var(--primary);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            font-weight: 700;
        }

        /*============================================
          FOOTER
        ============================================*/
        .footer {
            background: var(--accent);
            color: white;
            padding: 40px 0;
            text-align: center;
        }

        .footer-logo {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            margin-bottom: 20px;
        }

        .footer-logo img {
            width: 40px;
            height: 40px;
            border-radius: 10px;
        }

        .footer-logo span {
            font-family: 'Montserrat', sans-serif;
            font-size: 24px;
            font-weight: 800;
            color: var(--primary-light);
        }

        .footer p {
            font-size: 14px;
            opacity: 0.8;
        }

        /*============================================
          ELEMENTOS FLOTANTES
        ============================================*/
        /* WhatsApp */
        .whatsapp-float {
            position: fixed;
            bottom: 30px;
            right: 30px;
            z-index: 999;
        }

        .whatsapp-btn {
            width: 60px;
            height: 60px;
            background: var(--whatsapp);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
            transition: var(--transition);
            position: relative;
        }

        .whatsapp-btn::before {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            background: var(--whatsapp);
            border-radius: 50%;
            animation: pulse-ring 2s ease-out infinite;
        }

        .whatsapp-btn:hover {
            transform: scale(1.1);
        }

        .whatsapp-btn svg {
            width: 30px;
            height: 30px;
            color: white;
            position: relative;
            z-index: 1;
        }

        /* Scroll to Top */
        .scroll-top {
            position: fixed;
            bottom: 30px;
            left: 30px;
            z-index: 999;
            opacity: 0;
            visibility: hidden;
            transition: var(--transition);
        }

        .scroll-top.visible {
            opacity: 1;
            visibility: visible;
        }

        .scroll-top-btn {
            width: 50px;
            height: 50px;
            background: var(--primary);
            border: none;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(45, 155, 155, 0.3);
            transition: var(--transition);
        }

        .scroll-top-btn:hover {
            transform: translateY(-5px);
            background: var(--primary-dark);
        }

        .scroll-top-btn svg {
            width: 24px;
            height: 24px;
            color: white;
        }

        /*============================================
          UTILIDADES
        ============================================*/
        .sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }

/* Bloque PQR */
#pqr select.pqr-select{
            width:100%;
            padding:12px 16px;
            border-radius:8px;
            border:1px solid #d1d5db;
            font-family:inherit;
            font-size:1rem;
            background:#fff;
            color:#111827;
        }
