
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Montserrat', sans-serif;
            line-height: 1.6;
        }

        ::-webkit-scrollbar {
            width: 10px;
        }

        ::-webkit-scrollbar-track {
            background: #f6f3ea;
        }

        ::-webkit-scrollbar-thumb {
            background: #0058ac;
            border-radius: 10px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: #303854;
        }

        .dark ::-webkit-scrollbar-track {
            background: #2d3340;
        }

        .gradient-text {
            background: linear-gradient(135deg, #0058ac 0%, #0074d9 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .accent-gradient {
            background: linear-gradient(135deg, #0058ac 0%, #0074d9 100%);
        }

        /* Nav underline animation */
        .nav-link {
            position: relative;
            transition: color 0.3s;
        }

        .nav-link::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 50%;
            width: 0;
            height: 3px;
            background: linear-gradient(135deg, #0058ac, #0074d9);
            transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
            transform: translateX(-50%);
            border-radius: 2px;
        }

        .nav-link:hover::after,
        .nav-link.active::after {
            width: 100%;
        }

        .nav-link:hover,
        .nav-link.active {
            color: #0058ac;
        }

        /* Theme toggle */
        .theme-toggle-slider::after {
            content: '☀️';
            font-size: 0.85rem;
        }

        .dark .theme-toggle-slider {
            transform: translateX(26px);
        }

        .dark .theme-toggle-slider::after {
            content: '🌙';
        }

        /* Hamburger */
        .hamburger.active span:nth-child(1) {
            transform: rotate(45deg) translate(8px, 8px);
        }

        .hamburger.active span:nth-child(2) {
            opacity: 0;
            transform: translateX(-20px);
        }

        .hamburger.active span:nth-child(3) {
            transform: rotate(-45deg) translate(8px, -8px);
        }

        /* Mobile nav */
        #navMenu {
            transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        }

        #navMenu.open {
            right: 0 !important;
        }

        /* Screens */
        .screen {
            display: none;
            opacity: 0;
        }

        .screen.active {
            display: block;
            animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Hero image 3D tilt */
        .hero-img-wrap {
            transform: perspective(1000px) rotateY(-5deg);
            transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
        }

        .hero-img-wrap:hover {
            transform: perspective(1000px) rotateY(0deg) scale(1.02);
        }

        /* CTA button shimmer */
        .cta-btn {
            position: relative;
            overflow: hidden;
        }

        .cta-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
            transition: left 0.6s;
        }

        .cta-btn:hover::before {
            left: 100%;
        }

        /* Feature card top accent bar */
        .feature-card {
            position: relative;
            overflow: hidden;
        }

        .feature-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(135deg, #0058ac, #0074d9);
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
        }

        .feature-card:hover::before {
            transform: scaleX(1);
        }

        /* Option radio checked state */
        .option-label:has(input[type="radio"]:checked) {
            border-color: #0058ac;
            background: #fff;
            box-shadow: 0 4px 20px rgba(0, 88, 172, 0.15);
        }

        .dark .option-label:has(input[type="radio"]:checked) {
            background: #2d3340;
        }

        .option-label input[type="radio"]:checked~span {
            font-weight: 700;
            color: #0058ac;
        }

        /* Career card left accent */
        .career-card {
            position: relative;
            overflow: hidden;
        }

        .career-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 5px;
            height: 100%;
            background: linear-gradient(135deg, #0058ac, #0074d9);
            transform: scaleY(0);
            transform-origin: top;
            transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
        }

        .career-card:hover::before {
            transform: scaleY(1);
        }

        /* Pensum card header overlay */
        .pensum-hdr::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 150%;
            height: 150%;
            background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
            pointer-events: none;
        }

        /* Results summary radial spin */
        .results-summary::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
            animation: rotateSlow 20s linear infinite;
            pointer-events: none;
        }

        @keyframes rotateSlow {
            from {
                transform: rotate(0deg);
            }

            to {
                transform: rotate(360deg);
            }
        }

        /* Question animations */
        .question {
            opacity: 0;
            animation: slideIn 0.5s ease forwards;
        }

        .question:nth-child(1) {
            animation-delay: 0.1s;
        }

        .question:nth-child(2) {
            animation-delay: 0.2s;
        }

        .question:nth-child(3) {
            animation-delay: 0.3s;
        }

        .question:nth-child(4) {
            animation-delay: 0.4s;
        }

        .question:nth-child(5) {
            animation-delay: 0.5s;
        }

        .question:nth-child(6) {
            animation-delay: 0.6s;
        }

        .question:nth-child(7) {
            animation-delay: 0.7s;
        }

        .question:nth-child(8) {
            animation-delay: 0.8s;
        }

        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateX(-20px);
            }

            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        /* Progress shimmer */
        .progress-fill {
            position: relative;
            overflow: hidden;
        }

        .progress-fill::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
            animation: shimmer 2s infinite;
        }

        @keyframes shimmer {
            0% {
                transform: translateX(-100%);
            }

            100% {
                transform: translateX(100%);
            }
        }

        /* Select arrow */
        select {
            appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%230058ac' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 1rem center;
            background-size: 20px;
        }

        /* Questions container custom scrollbar */
        #questionsContainer::-webkit-scrollbar {
            width: 8px;
        }

        #questionsContainer::-webkit-scrollbar-track {
            background: #e9edf0;
            border-radius: 10px;
        }

        #questionsContainer::-webkit-scrollbar-thumb {
            background: #0058ac;
            border-radius: 10px;
        }

        /* ============================================================
           RESPONSIVE — ajustes para móviles (≤768px)
           ============================================================ */
        @media (max-width: 768px) {
            /* La imagen del hero tiene una inclinación 3D (rotateY) que en
               pantallas angostas se salía y generaba scroll horizontal.
               En móvil la dejo recta. */
            .hero-img-wrap {
                transform: none;
            }
            /* La imagen del hero es muy alta en móvil (550px ocupaba casi
               toda la pantalla); la bajo a una altura más cómoda. */
            #inicio .hero-img-wrap img {
                height: 360px;
            }
        }
