
        @layer base {
            html, body { margin: 0; padding: 0; }
            body { overscroll-behavior: none; }
            main > :first-child { margin-top: 0 !important; }
            main > :last-child { margin-bottom: 0 !important; }
        }
        ::-webkit-scrollbar { display: none; }

        @keyframes infinite-scroll {
            from { transform: translateX(0); }
            to { transform: translateX(-100%); }
        }
        @keyframes spin-slow {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }
        .animate-infinite-scroll { animation: infinite-scroll 30s linear infinite; }
        .animate-spin-slow { animation: spin-slow 120s linear infinite; }

        .perspective-1000 { perspective: 1000px; }
        .rotate-y-\[-5deg\] { transform: rotateY(-5deg) rotateX(5deg); }
        .hover\:rotate-y-0:hover { transform: rotateY(0deg) rotateX(0deg); }

        .mask-scroll {
            mask-image: linear-gradient(to right, transparent 0%, black 128px, black calc(100% - 128px), transparent 100%);
            -webkit-mask-image: linear-gradient(to right, transparent 0%, black 128px, black calc(100% - 128px), transparent 100%);
        }

        @media (max-width: 768px) {
            .text-display-lg { font-size: 2rem !important; }
        }

        /* ===== TABLA RESPONSIVE ===== */
        .table-wrapper {
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
        }
        .table-wrapper table {
            min-width: 800px;
            width: 100%;
            border-collapse: collapse;
        }
        .table-wrapper th,
        .table-wrapper td {
            padding: 16px 20px;
            text-align: left;
            border-bottom: 1px solid #e2e8f0;
            vertical-align: top;
        }
        .table-wrapper th {
            background: #f8f9fa;
            font-family: 'Montserrat', sans-serif;
            font-weight: 700;
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: #1e1e1e;
        }
        .table-wrapper td {
            font-family: 'Open Sans', sans-serif;
            font-size: 0.95rem;
            color: #555555;
            line-height: 1.6;
        }
        .table-wrapper tr:hover td {
            background: #f8f9fa;
        }
        .table-wrapper .area-header {
            background: #f5821f;
            color: white;
            font-weight: 700;
            font-family: 'Montserrat', sans-serif;
        }
        .table-wrapper .area-header td {
            color: white;
            font-size: 1rem;
        }

        /* ===== TARJETAS DE MÓDULOS OPCIONALES ===== */
        .modulo-card {
            background: white;
            border-radius: 12px;
            padding: 24px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.06);
            border: 1px solid #edeeef;
            transition: all 0.3s ease;
            height: 100%;
        }
        .modulo-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 24px rgba(0,0,0,0.10);
            border-color: #f5821f;
        }
    