        /* Variables y estilos generales */
        :root {
            --primary: #1e3a8a;
            --secondary: #fbbf24;
            --accent: #dc2626;
            --light: #f8fafc;
            --dark: #1e293b;
            --gray: #64748b;
            --transition: all 0.3s ease;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
        }
        
        body {
            background-color: var(--light);
            color: var(--dark);
            line-height: 1.6;
        }
        
        a {
            text-decoration: none;
            color: inherit;
        }
        
        ul {
            list-style: none;
        }
        
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        .btn {
            display: inline-block;
            background-color: var(--primary);
            color: white;
            padding: 12px 18px;
            border-radius: 50px;
            font-weight: 600;
            border: none;
            cursor: pointer;
            transition: var(--transition);
        }
        
        .btn:hover {
            background-color: #1e40af;
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        .btn-secondary {
            background-color: var(--secondary);
            color: var(--dark);
        }
        
        .btn-secondary:hover {
            background-color: #f59e0b;
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 50px;
            font-size: 2.2rem;
            color: var(--primary);
            position: relative;
        }
        
        .section-title:after {
            content: '';
            position: absolute;
            width: 100px;
            height: 4px;
            background-color: var(--secondary);
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
        }
        
        /* Header y navegación */
        header {
            background-color: white;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            top: 0;
            z-index: 100;
            position: relative; /* Needed so mobile nav drops below header */
        }
        
        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .header-logo {
            height: 120px;
        }
        
        .logo {
            display: flex;
            align-items: center;
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--primary);
        }
        
        .nav-menu {
            display: flex;
            gap: 30px;
        }
        
        .nav-menu a {
            font-weight: 600;
            position: relative;
            padding: 5px 0;
        }
        
        .nav-menu a:after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            background-color: var(--primary);
            bottom: 0;
            left: 0;
            transition: var(--transition);
        }
        
        .nav-menu a:hover:after {
            width: 100%;
        }
        
        .auth-buttons {
            display: flex;
            gap: 15px;
        }
        
        .mobile-toggle {
			display: none;
            font-size: 1.5rem;
            cursor: pointer;
            border: 1px solid #cbd5f5;
            border-radius: 10px;
            padding: 1px 8px;
            background-color: #fff;
            color: var(--dark);
        }

        /* Mobile auth links inside menu (hidden on desktop) */
        .nav-menu .mobile-auth { display: none; }
        
        /* Hero Section */
        .hero {
            background: linear-gradient(rgb(30 58 138 / 41%), rgb(30 58 138 / 37%)), url(../images/present.jpg);
            background-size: cover;
            background-position: center;
            color: white;
            text-align: center;
        }
        
        .hero h1 {
            font-size: 3rem;
            margin-bottom: 20px;
            max-width: 800px;
            margin-left: auto;
            margin-right: auto;
        }
        
        .hero p {
            font-size: 1.2rem;
            max-width: 700px;
            margin: 0 auto 30px;
            opacity: 0.9;
        }
        
        .hero-buttons {
            display: flex;
            gap: 20px;
            justify-content: center;
            margin-top: 30px;
        }
        
        /* Secciones */
        section {
            padding: 80px 0;
            background-color: #f1f5f9;
        }
        
        .course-info {
            background-color: #f1f5f9;
        }
        
        .features {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 40px;
        }
        
        .feature-card {
            background-color: white;
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            text-align: center;
            transition: var(--transition);
        }
        
        .feature-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        }
        
        .feature-icon {
            font-size: 2.5rem;
            color: var(--primary);
            margin-bottom: 20px;
        }
        
        .feature-card h3 {
            margin-bottom: 15px;
            color: var(--primary);
        }
        
        /* Test Section */
        .test-section {
            background-color: #f1f5f9;
        }
        
        .test-container {
            background-color: white;
            border-radius: 10px;
            padding: 40px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            max-width: 800px;
            margin: 0 auto;
        }
        
        .test-description {
            text-align: center;
            margin-bottom: 30px;
        }
        
        .test-start {
            text-align: center;
            margin-top: 40px;
        }
        
        /* Dashboard Section */
        .dashboard-section {
            background-color: white;
        }
        
        .dashboard-preview {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
            margin-top: 40px;
        }
        
        .dashboard-card {
            background-color: #f8fafc;
            padding: 25px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            border-left: 4px solid var(--primary);
        }
        
        /* Footer */
        footer {
            background-color: var(--dark);
            color: white;
            padding: 60px 0 30px;
        }
        
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }
        
        .footer-column h3 {
            font-size: 1.3rem;
            margin-bottom: 20px;
            color: var(--secondary);
        }
        
        .footer-column ul li {
            margin-bottom: 10px;
        }
        
        .footer-column ul li a:hover {
            color: var(--secondary);
        }
        
        .social-icons {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }
        
        .social-icons a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background-color: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            transition: var(--transition);
        }
        
        .social-icons a:hover {
            background-color: var(--secondary);
            color: var(--dark);
        }
        
        .copyright {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.9rem;
        }
        
        /* Página de prueba de nivel */
        .test-page {
            padding: 40px 0;
        }
        
        .test-progress {
            height: 10px;
            background-color: #e2e8f0;
            border-radius: 5px;
            margin-bottom: 30px;
            overflow: hidden;
        }
        
        .test-progress-bar {
            height: 100%;
            background-color: var(--primary);
            width: 0%;
            transition: width 0.5s ease;
        }
        
        .test-question {
            background-color: white;
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            margin-bottom: 30px;
            display: none;
        }
        
        .test-question.active {
            display: block;
        }
        
        .question-number {
            color: var(--primary);
            font-weight: 600;
            margin-bottom: 10px;
        }
        
        .question-text {
            font-size: 1.2rem;
            margin-bottom: 25px;
        }
        
        .options-container {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }
        
        .option {
            padding: 15px;
            border: 2px solid #e2e8f0;
            border-radius: 8px;
            cursor: pointer;
            transition: var(--transition);
        }
        
        .option:hover {
            border-color: var(--primary);
            background-color: #f1f5f9;
        }
        
        .option.selected {
            border-color: var(--primary);
            background-color: rgba(30, 58, 138, 0.1);
        }
        
        .test-navigation {
            display: flex;
            justify-content: space-between;
            margin-top: 30px;
        }
        
        .test-result {
            background-color: white;
            padding: 40px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            text-align: center;
            display: none;
        }
        
        .result-icon {
            font-size: 4rem;
            color: var(--primary);
            margin-bottom: 20px;
        }
        
        .result-level {
            font-size: 2rem;
            color: var(--primary);
            margin-bottom: 20px;
        }
        
        .result-description {
            margin-bottom: 30px;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }
        
        /* Página de login/registro */
        .auth-container {
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 70vh;
            padding: 40px 0;
        }
        
        .auth-form {
            background-color: white;
            padding: 40px;
            border-radius: 10px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            width: 100%;
            max-width: 450px;
        }

                /* Language switcher */
                .language-switcher {
                    margin-left: 20px;
                    display: flex;
                    align-items: center;
                }

                .language-switcher select {
                    padding: 6px 10px;
                    border-radius: 999px;
                    border: 1px solid #cbd5f5;
                    font-size: 0.9rem;
                    background-color: #fff;
                    color: var(--dark);
                }

                .language-switcher select:focus {
                    outline: none;
                    border-color: var(--primary);
                }

                .visually-hidden {
                    position: absolute;
                    width: 1px;
                    height: 1px;
                    padding: 0;
                    margin: -1px;
                    overflow: hidden;
                    clip: rect(0, 0, 0, 0);
                    white-space: nowrap;
                    border: 0;
                }
        
        .auth-tabs {
            display: flex;
            margin-bottom: 30px;
            border-bottom: 2px solid #e2e8f0;
        }
        
        .auth-tab {
            flex: 1;
            text-align: center;
            padding: 15px;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
        }
        
        .auth-tab.active {
            color: var(--primary);
            border-bottom: 2px solid var(--primary);
            margin-bottom: -2px;
        }
        
        .form-group {
            margin-bottom: 20px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
        }
        
        .form-group input {
            width: 100%;
            padding: 12px 15px;
            border: 2px solid #e2e8f0;
            border-radius: 8px;
            font-size: 1rem;
            transition: var(--transition);
        }
        
        .form-group input:focus {
            outline: none;
            border-color: var(--primary);
        }
        
        /* Responsive */
        @media (max-width: 1000px) {
            /* Tablet portrait: Galaxy Tab S6 Lite */
            .header-logo { height: 96px; }
            .nav-menu { gap: 22px; }
            .auth-buttons { gap: 12px; }
            .language-switcher { margin-left: 10px; }

			/* Show mobile toggle and prepare for dropdown nav */
			.mobile-toggle { display: block; }

            .section-title { font-size: 2rem; }
            section { padding: 70px 0; }

            .hero h1 { font-size: 2.6rem; }
            .hero p { font-size: 1.1rem; }
            .hero-buttons { gap: 16px; }

            .features { gap: 24px; }
            .feature-card { padding: 24px; }

            .dashboard-preview { gap: 24px; }
            .test-container { padding: 36px; }
            .footer-content { gap: 32px; }

            /* Consolidated pages */
            .about-hero h1, .contact-hero h1 { font-size: 2.6rem; }
        }
        @media (max-width: 992px) {
            .hero h1 {
                font-size: 2.8rem;
            }
            
            .section-title {
                font-size: 2.2rem;
            }
        }
        
        @media (max-width: 1000px) {
            .nav-menu {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                background-color: white;
                flex-direction: column;
                padding: 20px;
                box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
                text-align: center;
            }
            
            .nav-menu.active {
                display: flex;
            }
            
            
            
            .auth-buttons {
                display: none;
            }

            /* Show mobile auth links within the expanded menu */
            .nav-menu .mobile-auth { display: block; margin-top: 8px; }
            .nav-menu .mobile-auth .btn { width: 100%; max-width: 320px; margin: 6px auto 0; }
            
            .hero h1 {
                font-size: 2.3rem;
            }
            
            .hero-buttons {
                flex-direction: column;
                align-items: center;
            }
            
            .section-title {
                font-size: 1.8rem;
            }
        }
        
        @media (max-width: 576px) {
            .hero {
                padding: 70px 0;
            }
            
            .hero h1 {
                font-size: 1.8rem;
            }
            
            section {
                padding: 60px 0;
            }
            
            .test-container, .auth-form {
                padding: 30px 20px;
            }
        }
        
        /* --- Consolidated page-specific styles (About, Contact, Nivel) --- */
        /* About page */
        .about-hero {
            background: linear-gradient(rgba(30, 58, 138, 0.9), rgba(30, 58, 138, 0.8)), url('https://images.unsplash.com/photo-1523580494863-6f3031224c94?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
            background-size: cover;
            background-position: center;
            color: white;
            padding: 90px 0;
            text-align: center;
        }
        .about-hero h1 { font-size: 3rem; margin-bottom: 16px; }
        .about-hero p { font-size: 1.15rem; max-width: 800px; margin: 0 auto; opacity: 0.9; }
        .our-story { background-color: rgb(247, 244, 244); }
        .story-content { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
        .story-text h2 { color: var(--primary); margin-bottom: 16px; font-size: 2rem; }
        .story-text p { margin-bottom: 16px; color: var(--gray); }
        .story-image { position: relative; border-radius: 10px; overflow: hidden; box-shadow: 0 12px 24px rgba(0,0,0,0.1); }
        .story-image img { width: 100%; height: auto; display: block; transition: var(--transition); }
        .story-image:hover img { transform: scale(1.03); }
        .years-badge { position: absolute; top: 16px; right: 16px; background-color: var(--secondary); color: var(--dark); width: 88px; height: 88px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; font-weight: 700; box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
        .years-badge span:first-child { font-size: 2.2rem; line-height: 1; }
        .years-badge span:last-child { font-size: 0.85rem; margin-top: 4px; text-align: center; }
        .our-mission { background-color: #f1f5f9; }
        .mission-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 32px; }
        .mission-card { background-color: white; padding: 32px 24px; border-radius: 10px; text-align: center; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: var(--transition); border-top: 4px solid var(--primary); }
        .mission-card:hover { transform: translateY(-6px); box-shadow: 0 12px 24px rgba(0,0,0,0.1); }
        .mission-icon { font-size: 2.4rem; color: var(--primary); margin-bottom: 20px; }
        .mission-card h3 { color: var(--primary); margin-bottom: 12px; font-size: 1.4rem; }
        .our-team { background-color: white; }
        .team-description { text-align: center; max-width: 800px; margin: 0 auto 40px; color: var(--gray); }
        .team-members { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; margin-top: 32px; }
        .team-member { background-color: #f8fafc; border-radius: 10px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: var(--transition); }
        .team-member:hover { transform: translateY(-6px); box-shadow: 0 12px 24px rgba(0,0,0,0.1); }
        .member-image { height: 230px; overflow: hidden; }
        .member-image img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
        .team-member:hover .member-image img { transform: scale(1.05); }
        .member-info { padding: 20px; }
        .member-name { color: var(--primary); font-size: 1.3rem; margin-bottom: 4px; }
        .member-role { color: var(--secondary); font-weight: 600; margin-bottom: 12px; display: block; }
        .member-bio { color: var(--gray); margin-bottom: 16px; font-size: 0.95rem; }
        .member-social { display: flex; gap: 12px; }
        .member-social a { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; background-color: rgba(30,58,138,0.1); color: var(--primary); border-radius: 50%; transition: var(--transition); }
        .member-social a:hover { background-color: var(--primary); color: white; }
        .our-values { background-color: #f1f5f9; }
        .values-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-top: 32px; }
        .value-item { background-color: white; padding: 24px; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); display: flex; gap: 16px; transition: var(--transition); }
        .value-item:hover { transform: translateY(-4px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
        .value-icon { background-color: rgba(30,58,138,0.1); color: var(--primary); width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; flex-shrink: 0; }
        .value-content h3 { color: var(--primary); margin-bottom: 8px; }
        .stats-section { background: linear-gradient(rgba(30,58,138,0.9), rgba(30,58,138,0.9)), url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80'); background-size: cover; background-position: center; color: white; text-align: center; padding: 70px 0; }
        .stats-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 32px; }
        .stat-item { padding: 16px; }
        .stat-number { font-size: 3rem; font-weight: 700; color: var(--secondary); margin-bottom: 8px; line-height: 1; }
        .stat-text { font-size: 1rem; opacity: 0.9; }
        
        /* Contact page */
        .contact-hero { background: linear-gradient(rgba(30,58,138,0.9), rgba(30,58,138,0.8)), url('https://images.unsplash.com/photo-1519389950473-47ba0277781c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80'); background-size: cover; background-position: center; color: white; padding: 90px 0; text-align: center; }
        .contact-hero h1 { font-size: 3rem; margin-bottom: 16px; }
        .contact-hero p { font-size: 1.15rem; max-width: 800px; margin: 0 auto; opacity: 0.9; }
        .contact-section { padding: 70px 0;}
        .contact-container { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
        .contact-info { padding-right: 16px; }
        .contact-info h2 { color: var(--primary); margin-bottom: 24px; font-size: 2rem; }
        .contact-info p { color: var(--gray); margin-bottom: 24px; font-size: 1.05rem; }
        .contact-details { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
        .contact-item { display: flex; align-items: flex-start; gap: 16px; }
        .contact-icon { background-color: rgba(30,58,138,0.1); color: var(--primary); width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
        .contact-content h3 { color: var(--primary); margin-bottom: 4px; font-size: 1.2rem; }
        .contact-content p { margin-bottom: 0; color: var(--gray); }
        .contact-content a { color: var(--primary); font-weight: 600; transition: var(--transition); }
        .contact-content a:hover { color: var(--accent); text-decoration: underline; }
        .social-contact { margin-top: 24px; }
        .social-contact h3 { color: var(--primary); margin-bottom: 12px; }
        .contact-form-container { background-color: #f8fafc; padding: 32px; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
        .contact-form-container h2 { color: var(--primary); margin-bottom: 20px; font-size: 1.8rem; }
        .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
        .form-message { padding: 12px; border-radius: 8px; margin-bottom: 16px; text-align: center; display: none; }
        .form-message.success { background-color: rgba(21,128,61,0.1); color: #166534; border: 1px solid rgba(21,128,61,0.3); display: block; }
        .form-message.error { background-color: rgba(220,38,38,0.1); color: #991b1b; border: 1px solid rgba(220,38,38,0.3); display: block; }
        .location-section { padding: 70px 0; background-color: #f1f5f9; }
        .location-container { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
        .location-info h2 { color: var(--primary); margin-bottom: 16px; font-size: 2rem; }
        .location-info p { color: var(--gray); margin-bottom: 20px; }
        .location-details { margin-top: 20px; }
        .location-detail { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
        .map-container { border-radius: 10px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.1); height: 380px; }
        .map-placeholder { width: 100%; height: 100%; background: linear-gradient(rgba(30,58,138,0.1), rgba(30,58,138,0.2)), url('https://images.unsplash.com/photo-1569336415962-a4bd9f69cd83?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80'); background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.1rem; font-weight: 600; text-align: center; padding: 16px; }
        .faq-section { padding: 70px 0; background-color: white; }
        .faq-intro { text-align: center; max-width: 800px; margin: 0 auto 40px; color: var(--gray); }
        .faq-container { max-width: 800px; margin: 0 auto; }
        .faq-item { margin-bottom: 16px; border-radius: 8px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); border: 1px solid #e2e8f0; }
        .faq-question { padding: 16px; background-color: #f8fafc; font-weight: 600; color: var(--primary); cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: var(--transition); }
        .faq-question:hover { background-color: rgba(30,58,138,0.05); }
        .faq-item.active .faq-question i { transform: rotate(180deg); }
        .faq-answer { padding: 0 16px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; color: var(--gray); }
        .faq-item.active .faq-answer { padding: 16px; max-height: 300px; }
        
        /* Nivel/Test page */
        .test-hero { background: linear-gradient(rgba(30,58,138,0.9), rgba(30,58,138,0.8)), url('https://images.unsplash.com/photo-1516383740770-fbcc5ccbece0?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80'); background-size: cover; background-position: center; color: white; padding: 70px 0; text-align: center; }
        .test-hero h1 { font-size: 2.6rem; margin-bottom: 12px; }
        .test-hero p { font-size: 1.1rem; max-width: 700px; margin: 0 auto 16px; opacity: 0.9; }
        .test-content { padding: 50px 0 80px; }
        .test-instructions { background-color: white; padding: 24px; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); margin-bottom: 32px; border-left: 5px solid var(--secondary); }
        .test-instructions h2 { color: var(--primary); margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
        .instructions-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 16px; }
        .instruction-item { display: flex; align-items: flex-start; gap: 12px; }
        .instruction-icon { background-color: rgba(30,58,138,0.1); color: var(--primary); width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
        .test-area { background-color: white; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); overflow: hidden; }
        .test-header { background-color: var(--primary); color: white; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
        .test-info { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
        .test-progress { flex-grow: 1; max-width: 300px; }
        .progress-bar { height: 8px; background-color: rgba(255,255,255,0.2); border-radius: 4px; overflow: hidden; margin-top: 5px; }
        .progress-fill { height: 100%; background-color: var(--secondary); width: 0%; transition: width 0.5s ease; }
        .test-body { padding: 32px 24px; }
        .test-start-screen { text-align: center;}
        .test-start-screen h2 { color: var(--primary); margin-bottom: 12px; }
        .test-start-screen p { max-width: 600px; margin: 0 auto 24px; color: var(--gray); }
        .test-icon { font-size: 3.2rem; color: var(--primary); margin-bottom: 20px; opacity: 0.85; }
        .question-container { display: none; }
        .question-container.active { display: block; animation: fadeIn 0.5s ease; }
        @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
        .question-header { margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid #e2e8f0; }
        .question-number { display: inline-block; background-color: var(--primary); color: white; padding: 5px 12px; border-radius: 20px; font-weight: 600; margin-bottom: 12px; }
        .question-text { font-size: 1.2rem; font-weight: 600; color: var(--dark); line-height: 1.5; }
        .question-image { max-width: 100%; height: auto; border-radius: 8px; margin: 16px 0; display: block; }
        .options-container { display: grid; grid-template-columns: 1fr; gap: 12px; margin-bottom: 28px; }
        .option { padding: 16px; border: 2px solid #e2e8f0; border-radius: 8px; cursor: pointer; transition: var(--transition); display: flex; align-items: center; gap: 12px; }
        .option:hover { border-color: var(--primary); background-color: rgba(30,58,138,0.03); }
        .option.selected { border-color: var(--primary); background-color: rgba(30,58,138,0.1); }
        .option-marker { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #cbd5e1; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: var(--transition); }
        .option.selected .option-marker { border-color: var(--primary); background-color: var(--primary); }
        .option.selected .option-marker:after { content: ''; width: 10px; height: 10px; background-color: white; border-radius: 50%; }
        .option-text { flex-grow: 1; }
        .test-navigation { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; border-top: 1px solid #e2e8f0; }
        .btn-outline { background-color: transparent; border: 2px solid var(--primary); color: var(--primary); }
        .btn-outline:hover { background-color: rgba(30,58,138,0.1); }
        .results-container { display: none; text-align: center; padding: 40px 24px; animation: fadeIn 0.8s ease; }
        .results-icon { font-size: 4.2rem; color: var(--primary); margin-bottom: 16px; }
        .results-level { font-size: 2.2rem; color: var(--primary); margin-bottom: 12px; }
        .results-description { max-width: 600px; margin: 0 auto 24px; color: var(--gray); font-size: 1.05rem; }
        .results-details { background-color: #f8fafc; padding: 24px; border-radius: 10px; max-width: 700px; margin: 32px auto; text-align: left; }
        .results-details h3 { color: var(--primary); margin-bottom: 16px; text-align: center; }
        .level-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 16px; }
        .level-item { background-color: white; padding: 16px; border-radius: 8px; box-shadow: 0 3px 10px rgba(0,0,0,0.05); }
        .level-item h4 { color: var(--primary); margin-bottom: 8px; }
        .results-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 24px; }
        
        /* Responsive for consolidated sections */
        @media (max-width: 992px) {
            .about-hero h1, .contact-hero h1 { font-size: 2.4rem; }
            .story-content { grid-template-columns: 1fr; gap: 32px; }
            .story-image { order: -1; }
        }
        @media (max-width: 768px) {
            .contact-container, .location-container { grid-template-columns: 1fr; gap: 32px; }
            .form-row { grid-template-columns: 1fr; }
            .cta-buttons { flex-direction: column; align-items: center; }
            .btn { width: 100%; max-width: 320px; text-align: center; }
            .test-header { flex-direction: column; align-items: flex-start; }
            .test-progress { max-width: 100%; width: 100%; }
        }
        @media (max-width: 576px) {
            .about-hero, .contact-hero { padding: 64px 0; }
            .about-hero h1, .contact-hero h1 { font-size: 2rem; }
            .years-badge { width: 76px; height: 76px; }
            .years-badge span:first-child { font-size: 1.8rem; }
            .test-hero { padding: 56px 0; }
            .test-hero h1 { font-size: 1.9rem; }
        }