/* Reset y Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00CED1;
    --primary-dark: #00B8BA;
    --primary-light: #40E0E0;
    --secondary-color: #00A8AA;
    --accent-color: #00D4D8;
    --light-bg: #FFFFFF;
    --light-card: #F0FFFE;
    --light-accent: #E0FFFF;
    --text-primary: #1A1A1A;
    --text-secondary: #4A4A4A;
    --text-muted: #787878;
    --border-color: #D0F5F5;
    --shadow-light: rgba(0, 206, 209, 0.1);
    --shadow-medium: rgba(0, 206, 209, 0.2);
    --shadow-strong: rgba(0, 206, 209, 0.3);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--light-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: var(--primary-light);
    border-radius: 50%;
    opacity: 0.15;
    z-index: -1;
    animation: swooshFloat 20s ease-in-out infinite;
}

body::after {
    content: '';
    position: fixed;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: var(--accent-color);
    border-radius: 50%;
    opacity: 0.1;
    z-index: -1;
    animation: swooshFloat 15s ease-in-out infinite reverse;
}

@keyframes swooshFloat {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(50px, -50px) rotate(120deg);
    }
    66% {
        transform: translate(-30px, 30px) rotate(240deg);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navegación */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px var(--shadow-light);
    border-bottom-color: var(--primary-color);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
}

.tech {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.tech::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    animation: swooshLine 2s ease-in-out infinite;
}

@keyframes swooshLine {
    0%, 100% {
        transform: scaleX(1);
        opacity: 1;
    }
    50% {
        transform: scaleX(0.7);
        opacity: 0.7;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-color);
    transition: width 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-radius: 2px;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, var(--light-accent) 0%, var(--light-bg) 100%);
    overflow: hidden;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 80%;
    height: 80%;
    background: var(--primary-light);
    opacity: 0.2;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: swooshMorph 15s ease-in-out infinite;
}

.hero-background::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -15%;
    width: 70%;
    height: 70%;
    background: var(--accent-color);
    opacity: 0.15;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: swooshMorph 20s ease-in-out infinite reverse;
}

@keyframes swooshMorph {
    0%, 100% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
        transform: rotate(0deg) scale(1);
    }
    25% {
        border-radius: 60% 40% 50% 50% / 30% 60% 40% 70%;
        transform: rotate(90deg) scale(1.1);
    }
    50% {
        border-radius: 50% 50% 40% 60% / 50% 40% 60% 50%;
        transform: rotate(180deg) scale(0.9);
    }
    75% {
        border-radius: 40% 60% 60% 40% / 60% 50% 50% 60%;
        transform: rotate(270deg) scale(1.05);
    }
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: swooshParticle 8s ease-in-out infinite;
    animation-delay: var(--delay);
    left: var(--x);
    top: var(--y);
    box-shadow: 0 0 30px var(--primary-light);
}

@keyframes swooshParticle {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    50% {
        transform: translateY(-150px) translateX(100px) rotate(360deg);
        opacity: 1;
    }
    90% {
        opacity: 0.8;
    }
}

.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 900px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.title-line {
    display: block;
    animation: slideUp 0.8s ease forwards;
    opacity: 0;
}

.title-line:nth-child(1) {
    animation-delay: 0.2s;
}

.title-line:nth-child(2) {
    animation-delay: 0.4s;
}

.title-line:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
    from {
        opacity: 0;
        transform: translateY(30px);
    }
}

.gradient-text {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.gradient-text::before {
    content: attr(data-text);
    position: absolute;
    left: 3px;
    top: 3px;
    color: var(--primary-light);
    opacity: 0.3;
    z-index: -1;
    animation: swooshShadow 3s ease-in-out infinite;
}

@keyframes swooshShadow {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(8px, 8px);
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    animation: fadeIn 1s ease 0.8s forwards;
    opacity: 0;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeIn 1s ease 1s forwards;
    opacity: 0;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 20px var(--shadow-medium);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 30px var(--shadow-strong);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: fadeIn 1s ease 1.5s forwards;
    opacity: 0;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--primary-light);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 10px;
    background: var(--primary-light);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s ease-in-out infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

/* Sections */
section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: var(--light-bg);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 10%;
    right: 5%;
    width: 300px;
    height: 300px;
    background: var(--primary-light);
    opacity: 0.1;
    border-radius: 50%;
    filter: blur(80px);
    animation: swooshPulse 6s ease-in-out infinite;
}

@keyframes swooshPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.1;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.15;
    }
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.about-card {
    background: var(--light-card);
    padding: 2.5rem;
    border-radius: 25px;
    border: 2px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    opacity: 0;
    transform: translateY(30px) rotate(-2deg);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: var(--primary-light);
    opacity: 0;
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.about-card[data-aos="fade-up"] {
    animation: fadeUp 0.6s ease forwards;
}

.about-card:nth-child(1) {
    animation-delay: 0.1s;
}

.about-card:nth-child(2) {
    animation-delay: 0.2s;
}

.about-card:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-card:hover {
    transform: translateY(-15px) rotate(0deg) scale(1.05);
    border-color: var(--primary-color);
    box-shadow: 0 15px 50px var(--shadow-medium);
}

.about-card:hover::before {
    opacity: 0.1;
    top: -10%;
    right: -10%;
}

.card-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    animation: swooshBounce 3s ease-in-out infinite;
}

.card-icon::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 20px;
    border: 3px solid var(--primary-light);
    opacity: 0.3;
    animation: swooshRing 2s ease-in-out infinite;
}

@keyframes swooshBounce {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(5deg);
    }
}

@keyframes swooshRing {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.2);
        opacity: 0;
    }
}

.card-icon svg {
    width: 30px;
    height: 30px;
    color: white;
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.about-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.about-text {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.highlight-text {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.8;
    padding: 2.5rem;
    background: var(--light-accent);
    border-radius: 20px;
    border-left: 6px solid var(--primary-color);
    position: relative;
    box-shadow: 0 10px 40px var(--shadow-light);
}

.highlight-text::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.2;
    font-family: Georgia, serif;
}

/* Program Section */
.program {
    background: var(--light-accent);
    position: relative;
    overflow: hidden;
}

.program::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: var(--primary-color);
    opacity: 0.05;
    border-radius: 50%;
    animation: swooshRotate 25s linear infinite;
}

@keyframes swooshRotate {
    0% {
        transform: rotate(0deg) translate(100px) rotate(0deg);
    }
    100% {
        transform: rotate(360deg) translate(100px) rotate(-360deg);
    }
}

.program-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.program-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    opacity: 0;
    transform: translateX(-30px);
}

.feature[data-aos="slide-right"] {
    animation: slideRight 0.6s ease forwards;
}

.feature:nth-child(1) {
    animation-delay: 0.1s;
}

.feature:nth-child(2) {
    animation-delay: 0.2s;
}

.feature:nth-child(3) {
    animation-delay: 0.3s;
}

.feature:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes slideRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.feature-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    min-width: 70px;
    position: relative;
    animation: swooshNumber 4s ease-in-out infinite;
}

@keyframes swooshNumber {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.feature h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.feature p {
    color: var(--text-secondary);
}

.program-image {
    opacity: 0;
    transform: translateX(30px);
}

.program-image[data-aos="fade-left"] {
    animation: fadeLeft 0.8s ease 0.3s forwards;
}

@keyframes fadeLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.image-placeholder {
    background: white;
    border-radius: 30px;
    padding: 3rem;
    border: 3px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    box-shadow: 0 20px 60px var(--shadow-light);
    position: relative;
    overflow: hidden;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, var(--primary-light), transparent);
    opacity: 0.1;
    animation: swooshShine 3s ease-in-out infinite;
}

@keyframes swooshShine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(0deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(360deg);
    }
}

.placeholder-content svg {
    width: 100%;
    height: auto;
    color: var(--primary-color);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

/* Impact Section */
.impact {
    background: var(--primary-color);
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.impact::before,
.impact::after {
    content: '';
    position: absolute;
    background: white;
    opacity: 0.1;
}

.impact::before {
    width: 500px;
    height: 500px;
    top: -250px;
    right: -100px;
    border-radius: 50%;
    animation: swooshImpact1 10s ease-in-out infinite;
}

.impact::after {
    width: 400px;
    height: 400px;
    bottom: -200px;
    left: -100px;
    border-radius: 50%;
    animation: swooshImpact2 12s ease-in-out infinite;
}

@keyframes swooshImpact1 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-50px, 50px) scale(1.2);
    }
}

@keyframes swooshImpact2 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(50px, -30px) scale(1.1);
    }
}

.impact-title,
.impact-text {
    position: relative;
    z-index: 1;
    color: white;
}

.impact-content {
    max-width: 800px;
    margin: 0 auto;
}

.impact-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.impact-text {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Institutions Section */
.institutions {
    background: white;
}

.institutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.institution-card {
    background: var(--light-card);
    padding: 3rem 2rem;
    border-radius: 25px;
    text-align: center;
    border: 3px solid var(--border-color);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    opacity: 0;
    transform: scale(0.9) rotate(-5deg);
    position: relative;
    overflow: hidden;
}

.institution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
    opacity: 0.3;
    transition: left 0.6s ease;
}

.institution-card[data-aos="zoom-in"] {
    animation: zoomIn 0.5s ease forwards;
}

.institution-card:nth-child(1) {
    animation-delay: 0.1s;
}

.institution-card:nth-child(2) {
    animation-delay: 0.2s;
}

.institution-card:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes zoomIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.institution-card:hover {
    transform: translateY(-15px) scale(1.05) rotate(0deg);
    border-color: var(--primary-color);
    box-shadow: 0 20px 60px var(--shadow-medium);
}

.institution-card:hover::before {
    left: 100%;
}

.institution-logo {
    margin-bottom: 1.5rem;
}

.logo-circle {
    width: 100px;
    height: 100px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 10px 30px var(--shadow-medium);
    position: relative;
    animation: swooshSpin 8s linear infinite;
}

@keyframes swooshSpin {
    0%, 100% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(180deg);
    }
}

.join-card {
    background: var(--primary-color);
    color: white;
}

.join-card h3,
.join-card p {
    color: white;
}

.plus-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.join-card h3 {
    margin-bottom: 0.5rem;
}

.join-card p {
    opacity: 0.9;
}

/* Contact Section */
.contact {
    background: var(--light-accent);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 20px;
    border: 2px solid var(--border-color);
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 5px 20px var(--shadow-light);
}

.contact-item:hover {
    transform: translateX(15px) scale(1.05);
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px var(--shadow-medium);
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.email {
    background: linear-gradient(135deg, #EA4335 0%, #FBBC04 100%);
}

.instagram {
    background: linear-gradient(135deg, #833AB4 0%, #FD1D1D 100%);
}

.contact-text {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.contact-value {
    font-weight: 600;
    color: var(--text-primary);
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 25px;
    border: 2px solid var(--border-color);
    box-shadow: 0 10px 40px var(--shadow-light);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--light-card);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px var(--shadow-light);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: white;
    padding: 3rem 0;
    border-top: 3px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.footer-copy p {
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        padding: 2rem 0;
        border-top: 2px solid var(--border-color);
        box-shadow: 0 10px 30px var(--shadow-light);
    }

    .nav-menu.active {
        left: 0;
    }

    .program-content,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    section {
        padding: 4rem 0;
    }

    .about-grid,
    .institutions-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }
}

/* Animaciones de scroll */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}