/* ==========================================
   PROPUESTA 1: DISEÑO CLÁSICO INSTITUCIONAL MODERNO
   Colores PUCP: Azul #003D7A, Magenta #D4237A, Lima #C3D600
   ========================================== */

/* Reset y Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --azul-pucp: #003D7A;
    --azul-pucp-dark: #002850;
    --magenta: #D4237A;
    --magenta-light: #E894B3;
    --lima: #C3D600;
    --lima-dark: #9CAF00;
    --gris-claro: #F5F5F5;
    --gris-medio: #666666;
    --blanco: #FFFFFF;
    --negro: #1A1A1A;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--negro);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================== */
/* HEADER */
/* ========================================== */
.header {
    background: var(--blanco);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logos {
    display: flex;
    gap: 20px;
    align-items: center;
}

.logo-pucp {
    height: 120px;
    width: auto;
    display: block;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    color: var(--negro);
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--azul-pucp);
}

.btn-inscripcion {
    background: var(--magenta);
    color: var(--blanco) !important;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.btn-inscripcion:hover {
    background: var(--azul-pucp);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--azul-pucp);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ========================================== */
/* HERO SLIDER */
/* ========================================== */
.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.geometric-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.circle,
.diamond {
    position: absolute;
    opacity: 0.2;
}

.circle {
    border-radius: 50%;
}

.circle-1 {
    width: 300px;
    height: 300px;
    background: var(--lima);
    top: -100px;
    right: 10%;
}

.circle-2 {
    width: 150px;
    height: 150px;
    background: var(--magenta-light);
    bottom: 50px;
    right: 20%;
}

.circle-3 {
    width: 250px;
    height: 250px;
    background: var(--lima);
    top: 50px;
    left: 10%;
}

.circle-4 {
    width: 200px;
    height: 200px;
    background: var(--magenta);
    top: 100px;
    right: 15%;
}

.circle-5 {
    width: 180px;
    height: 180px;
    background: var(--azul-pucp);
    bottom: 80px;
    left: 15%;
}

.diamond {
    width: 200px;
    height: 200px;
    background: var(--magenta-light);
    transform: rotate(45deg);
}

.diamond-1 {
    bottom: 100px;
    left: 15%;
}

.diamond-2 {
    top: 80px;
    right: 25%;
}

.slide-content {
    position: relative;
    z-index: 10;
    padding-top: 150px;
    max-width: 700px;
}

.slide-title {
    font-family: 'Merriweather', serif;
    font-size: 52px;
    font-weight: 900;
    color: var(--blanco);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.slide-subtitle {
    font-size: 22px;
    color: var(--blanco);
    margin-bottom: 15px;
    line-height: 1.4;
    font-weight: 300;
}

.slide-date {
    font-size: 18px;
    color: var(--blanco);
    font-weight: 700;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.btn-primary {
    display: inline-block;
    background: var(--blanco);
    color: var(--azul-pucp);
    padding: 15px 40px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    background: var(--lima);
    color: var(--negro);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 100;
}

.slider-prev,
.slider-next {
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid var(--blanco);
    color: var(--blanco);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
}

.slider-prev:hover,
.slider-next:hover {
    background: var(--blanco);
    color: var(--azul-pucp);
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--blanco);
    width: 30px;
    border-radius: 6px;
}

/* ========================================== */
/* SECCIONES GENERALES */
/* ========================================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    color: var(--magenta);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.section-title {
    font-family: 'Merriweather', serif;
    font-size: 42px;
    font-weight: 900;
    color: var(--azul-pucp);
    margin-bottom: 20px;
}

/* ========================================== */
/* DESCRIPCIÓN */
/* ========================================== */
.section-description {
    padding: 100px 0;
    background: var(--gris-claro);
}

.description-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
}

.description-text .lead {
    font-size: 22px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--azul-pucp);
}

.description-text p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--gris-medio);
}

.description-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-card {
    background: var(--blanco);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-left: 5px solid var(--magenta);
}

.stat-number {
    font-family: 'Merriweather', serif;
    font-size: 48px;
    font-weight: 900;
    color: var(--azul-pucp);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: var(--gris-medio);
    font-weight: 500;
}

/* ========================================== */
/* OBJETIVOS */
/* ========================================== */
.section-objectives {
    padding: 100px 0;
    background: var(--blanco);
}

.objectives-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.objective-card {
    padding: 40px 30px;
    border-radius: 10px;
    background: var(--gris-claro);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.objective-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--magenta);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.objective-card:hover::before {
    transform: scaleY(1);
}

.objective-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.objective-number {
    font-family: 'Merriweather', serif;
    font-size: 64px;
    font-weight: 900;
    color: var(--lima);
    opacity: 0.3;
    margin-bottom: 20px;
}

.objective-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--azul-pucp);
    margin-bottom: 15px;
}

.objective-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--gris-medio);
}

/* ========================================== */
/* EJES TEMÁTICOS */
/* ========================================== */
.section-ejes {
    padding: 100px 0;
    background: linear-gradient(135deg, #003D7A 0%, #005A9C 100%);
}

.section-ejes .section-tag {
    color: var(--lima);
}

.section-ejes .section-title {
    color: var(--blanco);
}

.ejes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.eje-card {
    background: var(--blanco);
    padding: 40px;
    border-radius: 10px;
    display: flex;
    gap: 25px;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.eje-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.eje-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.eje-icon span {
    font-family: 'Merriweather', serif;
    font-size: 28px;
    font-weight: 900;
    color: var(--blanco);
}

.eje-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--azul-pucp);
    margin-bottom: 10px;
}

.eje-description {
    font-size: 16px;
    color: var(--gris-medio);
    line-height: 1.6;
    margin-bottom: 20px;
}

.btn-eje-detalle {
    background: linear-gradient(135deg, var(--azul-pucp), var(--azul-pucp-dark));
    color: var(--blanco);
    border: none;
    padding: 12px 28px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-eje-detalle:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 61, 122, 0.3);
}

/* ========================================== */
/* MODALES DE EJES TEMÁTICOS */
/* ========================================== */
.modal-eje {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-eje-content {
    background-color: var(--blanco);
    margin: 5% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.4s ease;
    overflow: hidden;
    position: relative;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-eje-close {
    position: absolute;
    right: 25px;
    top: 25px;
    color: var(--blanco);
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    transition: transform 0.3s ease;
    line-height: 1;
}

.modal-eje-close:hover {
    transform: rotate(90deg);
}

.modal-eje-header {
    background: linear-gradient(135deg, var(--azul-pucp) 0%, var(--azul-pucp-dark) 100%);
    padding: 40px 40px 35px;
    color: var(--blanco);
    position: relative;
}

.modal-eje-number {
    font-family: 'Merriweather', serif;
    font-size: 60px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.2);
    position: absolute;
    right: 40px;
    top: 20px;
}

.modal-eje-header h3 {
    font-family: 'Merriweather', serif;
    font-size: 26px;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    padding-right: 80px;
}

.modal-eje-body {
    padding: 40px;
    color: var(--negro);
}

.modal-eje-body p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

.modal-eje-info {
    font-style: italic;
    color: var(--gris-medio);
    text-align: center !important;
}

.modal-eje-subtemas {
    margin-top: 30px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(195, 214, 0, 0.1) 0%, rgba(156, 175, 0, 0.1) 100%);
    border-radius: 10px;
    border-left: 4px solid var(--lima);
}

.modal-eje-subtemas h4 {
    font-family: 'Merriweather', serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--azul-pucp);
    margin-bottom: 15px;
}

.modal-eje-subtemas ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modal-eje-subtemas li {
    padding: 10px 0 10px 30px;
    position: relative;
    font-size: 15px;
    line-height: 1.6;
    color: var(--gris-oscuro);
}

.modal-eje-subtemas li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--magenta);
    font-weight: bold;
    font-size: 18px;
}

/* ========================================== */
/* CALL TO ACTION */
/* ========================================== */
.section-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #D4237A 0%, #E94B93 100%);
}

.cta-content {
    text-align: center;
}

.cta-title {
    font-family: 'Merriweather', serif;
    font-size: 38px;
    font-weight: 900;
    color: var(--blanco);
    margin-bottom: 20px;
}

.cta-text {
    font-size: 20px;
    color: var(--blanco);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-cta {
    display: inline-block;
    background: var(--blanco);
    color: var(--magenta);
    padding: 18px 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-cta:hover {
    background: var(--lima);
    color: var(--negro);
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* ==========================================
   VIDEO GALLERY - PAST EDITIONS
   ========================================== */
.section-videos {
    padding: 100px 0;
    background: linear-gradient(135deg, #D4237A 0%, #E94B93 50%, #D4237A 100%);
    position: relative;
    overflow: hidden;
}

.section-videos::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 0, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.section-videos .container {
    position: relative;
    z-index: 1;
}

.section-videos .section-tag-light {
    display: inline-block;
    color: var(--blanco);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.section-videos .section-title-light {
    font-family: 'Merriweather', serif;
    font-size: 42px;
    font-weight: 900;
    color: var(--blanco);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.video-intro {
    max-width: 900px;
    margin: 0 auto 60px;
    text-align: center;
}

.video-intro-text {
    font-size: 20px;
    line-height: 1.7;
    color: var(--blanco);
    margin-bottom: 25px;
    font-weight: 400;
}

.video-intro-highlight {
    font-size: 22px;
    line-height: 1.6;
    color: var(--blanco);
    margin-bottom: 25px;
    font-weight: 600;
    font-style: italic;
    background: rgba(255, 255, 255, 0.15);
    padding: 20px 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.video-intro-cta {
    font-size: 19px;
    line-height: 1.7;
    color: var(--blanco);
    font-weight: 500;
    letter-spacing: 0.3px;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.video-card {
    position: relative;
    background: var(--blanco);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.video-thumbnail {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    background: #000;
}

.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 35, 122, 0.7) 0%, rgba(0, 61, 122, 0.7) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-card:hover .video-overlay {
    opacity: 1;
}

.video-play-icon {
    font-size: 64px;
    color: var(--blanco);
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    animation: pulse 2s ease-in-out infinite;
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.video-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    margin: auto;
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.video-modal-close {
    position: absolute;
    right: -15px;
    top: -40px;
    color: var(--blanco);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s ease;
    line-height: 1;
    background: rgba(212, 35, 122, 0.8);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-modal-close:hover {
    transform: rotate(90deg);
    background: var(--magenta);
}

.video-modal-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    background: #000;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.video-modal-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 15px;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.9;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}


/* ========================================== */
/* CALL TO ACTION */
/* ========================================== */

.footer {
    background: var(--azul-pucp-dark);
    color: var(--blanco);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--lima);
}

.footer-column p {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--lima);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--lima);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* ========================================== */
/* IMAGE LOADING AND ZOOM EFFECTS */
/* ========================================== */
img {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

img[data-src] {
    opacity: 0;
}

img.loaded {
    opacity: 1;
}

.image-zoom-container {
    overflow: hidden;
    border-radius: 10px;
    position: relative;
}

.image-zoom {
    transition: transform 0.5s cubic-bezier(0.4, 0.0, 0.2, 1);
    will-change: transform;
}

.image-zoom-container:hover .image-zoom {
    transform: scale(1.08);
}

/* ========================================== */
/* ENHANCED TRANSITIONS */
/* ========================================== */
.btn-primary,
.btn-inscripcion,
.btn-eje-detalle,
.btn-cta {
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.objective-card,
.eje-card,
.stat-card {
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
}

/* Add smooth transitions for all links */
a {
    transition: color 0.3s ease, background-color 0.3s ease, transform 0.2s ease;
}

/* ========================================== */
/* LOADING STATE */
/* ========================================== */
.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.6;
}

.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--azul-pucp);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ========================================== */
/* RESPONSIVE */
/* ========================================== */
@media (max-width: 1024px) {
    .main-nav ul {
        gap: 15px;
    }

    .objectives-grid {
        grid-template-columns: 1fr;
    }

    .ejes-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 250px);
    }

    .gallery-item-large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .videos-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .header-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .logos {
        flex: 0 0 auto;
    }

    .logo-pucp {
        height: 45px;
    }

    .mobile-menu-toggle {
        display: flex;
        order: 2;
    }

    .main-nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--blanco);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, box-shadow 0.3s ease;
        box-shadow: none;
        order: 3;
        width: 100%;
        z-index: 999;
    }

    .main-nav.active {
        max-height: 500px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
    }

    .main-nav li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--gris-claro);
    }

    .main-nav a {
        display: block;
        padding: 15px 20px;
    }

    .btn-inscripcion {
        margin: 10px 20px;
        display: inline-block;
        width: calc(100% - 40px);
    }

    .hero-slider {
        height: 500px;
    }

    .slide-title {
        font-size: 36px;
    }

    .description-content {
        grid-template-columns: 1fr;
    }

    .description-stats {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    /* Modales responsive */
    .modal-eje-content {
        width: 95%;
        margin: 10% auto;
    }

    .modal-eje-header {
        padding: 30px 25px 25px;
    }

    .modal-eje-header h3 {
        font-size: 20px;
        padding-right: 50px;
    }

    .modal-eje-number {
        font-size: 40px;
        right: 25px;
    }

    .modal-eje-body {
        padding: 25px;
    }

    .modal-eje-close {
        right: 15px;
        top: 15px;
        font-size: 28px;
    }

    .modal-eje-subtemas {
        padding: 20px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 250px);
    }

    .gallery-item-large,
    .gallery-item-wide {
        grid-column: span 1;
        grid-row: span 1;
    }

    .videos-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .section-videos .section-title-light {
        font-size: 32px;
    }

    .video-intro-text {
        font-size: 18px;
    }

    .video-intro-highlight {
        font-size: 19px;
        padding: 15px 20px;
    }

    .video-intro-cta {
        font-size: 17px;
    }

    .video-modal-content {
        width: 95%;
    }

    .video-modal-close {
        right: 5px;
        top: -50px;
        width: 45px;
        height: 45px;
        font-size: 35px;
    }
}