/* ... Previous styles ... */
:root {
    /* Brand Colors - UGC / Academic Style */
    --primary-red: #C41230;
    --primary-dark: #A00E26;
    --accent-gold:  #F1D79F;
    --bg-light: #F9FAFB;
    --white: #FFFFFF;
    --text-dark: #1F2937;
    --text-grey: #4B5563;

    /* Aliases (compatibilidad con estilos en línea del HTML) */
    --primary-color: var(--primary-red);
    --secondary-color: var(--primary-dark);

    /* Variables */
    --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius: 12px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

/* Utility */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-red);
    border-color: var(--primary-red);
}

.btn-secondary:hover {
    background-color: var(--primary-red);
    color: var(--white);
}

/* Top Bar */
.top-bar {
    background-color: var(--white);
    color: var(--text-grey);
    padding: 6px 0;
    font-size: 0.85rem;
    border-bottom: none;
}

.top-bar-content {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.top-bar i {
    margin-right: 5px;
    color: var(--primary-red);
}

/* Premium Unified Navbar (UGC Style) */
.navbar {
    background: var(--primary-red);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex !important;
    align-items: center;
}

.logo img.sep-logo {
    height: 60px !important;
    width: auto !important;
    border-radius: 4px !important;
}

.logo-text {
    display: none;
}

.nav-links {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
}

/* UGC pill CTA style for Requisitos */
.nav-links a[href="#requisitos"] {
    background-color: var(--accent-gold);
    color: var(--primary-dark);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 800;
    white-space: nowrap;
}
.nav-links a[href="#requisitos"]:hover {
    background-color: var(--white);
    color: var(--primary-red);
}
.nav-links a[href="#requisitos"]::after { display: none; }

.nav-link {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 5px;
    text-transform: uppercase;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-gold);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-gold);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 50%;
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
}

/* Sections */
.section {
    padding: 80px 0;
}

.hero-section {
    padding: 0;
    min-height: 80vh;
}

.hero-card {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    position: relative;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1;
}

.hero-image img {
    display: none;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slider-arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 10;
}

.hero-slider-arrows button {
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.hero-slider-arrows button:hover {
    background: var(--primary-red);
}

.hero-slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-slider-dots span {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.hero-slider-dots span.active {
    background: var(--white);
    transform: scale(1.2);
}

.hero-image img {
    display: none; /* Hide old generic img tag, we use background slides now */
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    background: transparent;
    backdrop-filter: none;
    border: none;
    box-shadow: none;
}

.badge {
    background-color: var(--accent-gold);
    color: var(--primary-dark);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
    font-weight: 900;
    text-transform: uppercase;
    text-shadow: none;
}

.highlight-text {
    color: var(--primary-red);
}

.lead {
    font-size: 1.15rem;
    color: var(--text-grey);
    margin-bottom: 1.5rem;
}

.hero-content .lead {
    font-size: 1.25rem;
    color: var(--text-grey);
    margin-bottom: 2rem;
    font-weight: 500;
    text-shadow: none;
}


.announcement-box {
    background-color: #fff8e1;
    border-left: 5px solid var(--accent-gold);
    padding: 20px;
    margin-bottom: 2rem;
    color: var(--text-dark);
    border-radius: 0 16px 16px 0;
}
.announcement-box h3 {
    color: var(--primary-red);
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--primary-red);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.divider {
    width: 60px;
    height: 4px;
    background-color: var(--accent-gold);
    margin: 0 auto 20px;
}

/* Features & Grids */
.features-grid,
.program-grid,
.requirements-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item,
.program-card {
    background: linear-gradient(to bottom, #C41230 0%, #8a0b20 100%);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Push text to bottom like UGC panels */
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.req-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    cursor: default;
}

.feature-item:hover,
.program-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(196,18,48,0.25);
}

.feature-item i {
    position: absolute;
    top: 30px;
    left: 30px;
    font-size: 4rem;
    color: var(--primary-red);
    opacity: 0.15;
    transition: all 0.4s;
    z-index: 1;
}

.feature-item:hover i {
    transform: scale(1.2);
    opacity: 0.3;
}

/* Program Card specifics */
.program-card h3,
.feature-item h3 {
    margin-bottom: 10px;
    color: #fff;
    font-weight: 800;
    font-size: 1.4rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
    position: relative;
    z-index: 2;
}

.program-card p,
.feature-item p {
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
    margin: 0;
    position: relative;
    z-index: 2;
}

.program-card .meta {
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--primary-red);
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-status {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #28a745;
    background: #e6f9ed;
    padding: 3px 8px;
    border-radius: 4px;
}

.btn-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--accent-gold);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: underline;
}

/* Download Card (Programacion) */
.download-card {
    background: var(--white);
    padding: 50px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    max-width: 800px;
    margin: 40px auto;
    border-top: 6px solid var(--primary-red);
}

.pdf-icon {
    font-size: 4rem;
    color: #b30b00;
    margin-bottom: 20px;
}

.download-card h3 {
    margin-bottom: 15px;
}

.download-card p {
    margin-bottom: 30px;
    color: var(--text-grey);
}

/* Requirements */
.req-card {
    border-top: 5px solid var(--primary-red);
    cursor: default;
}

.req-icon {
    width: 60px;
    height: 60px;
    background-color: #fcecec;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-red);
    margin-bottom: 20px;
}

.check-list {
    list-style: none;
}

.check-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

.check-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary-red);
    margin-right: 10px;
}

/* Location Main */
.location-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
}

.address-info {
    padding: 40px;
    background: #fbfbfb;
}

.address-info h3 {
    color: var(--primary-red);
    margin-bottom: 20px;
}

.address-info p {
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
}

/* Footer */
.main-footer {
    background-color: #222;
    color: #aaa;
    padding: 60px 0 20px;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-red);
    display: inline-block;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a:hover {
    color: var(--accent-gold);
}

.social-icons a {
    font-size: 1.2rem;
    margin-right: 15px;
    color: var(--white);
    transition: var(--transition);
}

.social-icons a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 20px;
    font-size: 0.9rem;
}

/* MODAL / LIGHTBOX STYLES */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s;
}

.modal-content {
    background-color: #fefefe;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    max-width: 650px;
    border-radius: 8px;
    position: relative;
    text-align: center;
}

.modal-content img {
    margin-top: 15px;
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
}

.close-modal:hover,
.close-modal:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-card {
        grid-template-columns: 1fr;
    }

    .hero-image {
        display: none;
    }

    .logo-text {
        display: none;
    }

    .hero-content {
        padding: 2rem;
    }

    .location-card {
        grid-template-columns: 1fr;
    }

    .map-placeholder {
        height: 250px;
    }

    /* Top Bar Mobile Fixes - Stacked */
    .top-bar-content {
        flex-direction: column;
        align-items: center;
        gap: 5px;
        padding: 10px 0;
    }

    .top-email {
        display: block;
        font-size: 0.9rem;
    }

    .top-phone {
        font-size: 1.1rem;
        margin-bottom: 2px;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.5s ease-out;
}

/* REMOVED PREVIOUS OVERRIDES TO ALLOW TWO-TIER SYSTEM */

/* Top Bar Phone & Email Styles */
.top-phone {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

.top-email {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* Step Cards */
.step-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    border-left: 5px solid var(--primary-red);
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateX(10px);
}

.step-number {
    background: var(--primary-red);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    margin: 0 0 10px 0;
    color: var(--text-dark);
}

.step-content p {
    color: var(--text-grey);
    margin-bottom: 10px;
}

.step-list {
    list-style: none;
    padding-left: 10px;
}

.step-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.step-list li::before {
    content: "•";
    color: var(--primary-red);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
    justify-content: center;
}

.gallery-grid .feature-item {
    padding: 15px;
    /* Restored for text-based items */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    /* Lighter shadow */
    transition: all 0.4s ease;
    background: var(--white);
}

/* Galería de fotos premium (Vinculación) */
#gallery-convenio .feature-item,
#gallery-caed .feature-item,
#gallery-comite .feature-item,
#gallery-presidente .feature-item,
#gallery-ceviche .feature-item {
    padding: 0;
    overflow: hidden;
    height: 240px;
    min-height: 0;
    position: relative;
    border: none;
    background: #111;
}

#gallery-convenio .feature-item img,
#gallery-caed .feature-item img,
#gallery-comite .feature-item img,
#gallery-presidente .feature-item img,
#gallery-ceviche .feature-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.3s;
    opacity: 0.95;
    display: block;
}

#gallery-convenio .feature-item:hover img,
#gallery-caed .feature-item:hover img,
#gallery-comite .feature-item:hover img,
#gallery-presidente .feature-item:hover img,
#gallery-ceviche .feature-item:hover img {
    transform: scale(1.1);
    opacity: 1;
}

#gallery-convenio .feature-item:hover,
#gallery-caed .feature-item:hover,
#gallery-comite .feature-item:hover,
#gallery-presidente .feature-item:hover,
#gallery-ceviche .feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
    z-index: 2;
}

/* Lightbox Navigation */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px 15px;
    font-size: 24px;
    cursor: pointer;
    border-radius: 4px;
    user-select: none;
    transition: 0.3s;
}

.nav-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

/* UGC OVERRIDES PARA VINCULACION */
#vinculacion { background-color: var(--primary-red) !important; color: white; }
#vinculacion .section-header h2 { color: var(--accent-gold); }
#vinculacion .divider { background-color: white; }
#vinculacion .news-article-card { background: #111; color: white; padding: 40px; border-radius: 20px; box-shadow: 0 10px 40px rgba(0,0,0,0.3); border:none; }
#vinculacion .news-title { color: white !important; font-size: 1.8rem; text-shadow: none; }
#vinculacion .news-badge { background-color: var(--accent-gold) !important; color: var(--primary-red) !important; font-weight:800; }
#vinculacion p { margin-bottom: 1rem; color: rgba(255,255,255,0.85); text-shadow: none; }
#vinculacion .text-muted { color: rgba(255,255,255,0.6) !important; }
#vinculacion h3 { color: white !important; }

/* =========================================================
   RESPONSIVE DESIGN (TABLETS & MOBILE)
   ========================================================= */
@media (max-width: 1250px) {
    .mobile-toggle {
        display: block;
        background: transparent;
        border: none;
        color: white;
        font-size: 1.8rem;
        cursor: pointer;
        padding: 5px 15px;
    }
    
    .nav-links {
        display: none !important;
        flex-direction: column;
        width: 100%;
        background: #90001a; /* Darker red for mobile menu contrast */
        position: absolute;
        top: 100%;
        left: 0;
        padding: 10px 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.4);
        margin: 0;
    }
    
    .nav-links.active {
        display: flex !important;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
        margin: 0;
    }
    
    .nav-links a {
        display: block;
        padding: 18px 20px;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .hero-slider-arrows {
        padding: 0 10px;
    }
    
    .hero-slider-arrows button {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

@media (min-width: 1251px) {
    /* La barra usa más ancho para que quepan los 11 enlaces sin desbordar */
    .nav-container {
        max-width: 1340px;
        width: 95%;
    }
    .nav-links {
        gap: 0.3rem;
    }
    .nav-links a {
        font-size: 0.74rem;
        padding: 6px 7px;
        letter-spacing: 0.2px;
    }
    .nav-links a[href="#requisitos"] {
        padding: 7px 14px;
    }
}

/* Accesibilidad: foco visible al navegar con teclado */
a:focus-visible,
button:focus-visible,
input:focus-visible,
.chip:focus-visible {
    outline: 3px solid var(--accent-gold);
    outline-offset: 2px;
}

/* Galería del Concurso del Ceviche: muro de fotos más compacto */
#gallery-ceviche .feature-item { height: 170px; }

/* Tarjetas informativas (no clicables): cursor normal */
#que-es .feature-item,
#servicios .feature-item {
    cursor: default;
}

/* AJUSTES PARA MÓVIL (TEXTO, CARRUSEL Y GALERÍAS) */
@media (max-width: 768px) {
    .section { padding: 50px 0; }
    .section-header h2 { font-size: 1.7rem; }

    .hero-content h1 {
        font-size: 2.2rem !important; /* Evita que el texto gigante se corte en celular */
        line-height: 1.2;
    }
    .hero-content .lead { font-size: 1rem !important; }
    .hero-section { padding: 20px 0 !important; }
    .hero-content { padding: 30px !important; }
    #main-carousel { height: 40vh !important; }
    .hero-slide { background-position: center !important; }

    /* Tarjetas y galerías más compactas */
    .features-grid,
    .program-grid,
    .gallery-grid { gap: 16px; }

    .download-card { padding: 30px 22px; }
    #vinculacion .news-article-card { padding: 24px; }
    #vinculacion .news-title { font-size: 1.35rem; }

    /* Galerías de fotos: 2 columnas reales en móvil */
    #gallery-convenio,
    #gallery-caed,
    #gallery-comite {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    #gallery-convenio .feature-item,
    #gallery-caed .feature-item,
    #gallery-comite .feature-item,
    #gallery-presidente .feature-item { height: 150px; }
    #gallery-ceviche .feature-item { height: 120px; }
}

/* Pantallas muy pequeñas */
@media (max-width: 380px) {
    .hero-content h1 { font-size: 1.9rem !important; }
    .top-bar-content { font-size: 0.8rem; }
    .btn { padding: 9px 18px; }
}

/* =========================================================
   TEST VOCACIONAL
   ========================================================= */
.quiz-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-card);
    max-width: 720px;
    margin: 40px auto 0;
    padding: 40px;
    border-top: 6px solid var(--accent-gold);
    text-align: center;
}

.quiz-emoji {
    font-size: 3.5rem;
    line-height: 1;
    margin-bottom: 12px;
}

.quiz-intro h3,
.quiz-result h3 {
    color: var(--primary-red);
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.quiz-intro p {
    color: var(--text-grey);
    max-width: 480px;
    margin: 0 auto 26px;
}

.quiz-progress {
    height: 8px;
    background: #eee;
    border-radius: 50px;
    overflow: hidden;
    margin-bottom: 18px;
}

.quiz-progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--primary-red), var(--accent-gold));
    border-radius: 50px;
    transition: width 0.4s ease;
}

.quiz-step {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-red);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.quiz-question {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 26px;
}

.quiz-options {
    display: grid;
    gap: 12px;
    max-width: 560px;
    margin: 0 auto;
}

.quiz-option {
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
    padding: 16px 20px;
    border: 2px solid #e5e7eb;
    background: #fff;
    border-radius: 12px;
    cursor: pointer;
    color: var(--text-dark);
    transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.quiz-option:hover {
    border-color: var(--primary-red);
    background: #fff5f6;
    transform: translateX(4px);
}

.quiz-result-label {
    display: inline-block;
    background: var(--accent-gold);
    color: var(--primary-dark);
    font-weight: 800;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.quiz-result p {
    color: var(--text-grey);
    max-width: 520px;
    margin: 0 auto 24px;
}

.quiz-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 16px;
}

.quiz-note {
    font-size: 0.9rem;
    color: var(--text-grey);
}

.quiz-note a {
    color: var(--primary-red);
    text-decoration: underline;
    font-weight: 600;
}

@media (max-width: 768px) {
    .quiz-card { padding: 26px 20px; }
    .quiz-question { font-size: 1.2rem; }
    .quiz-option { font-size: 0.95rem; padding: 14px 16px; }
}