/* ========== VARIABLES GLOBALES (tus mismas variables) ========== */
:root {
    --azul-cielo: #87CEEB;
    --amarillo-trigo: #F5DEB3;
    --oro-castilla: #E2C185;
    --negro-carbon: #1A1A1A;
    --blanco-limpio: #331F00;
}

/* ========== RESET ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Josefin Sans', sans-serif;
    background-color: var(--blanco-limpio);
    color: white;
    overflow-x: hidden;
}

/* ========== HEADER / HERO ========== */
.parallax-header {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(180deg, var(--azul-cielo) 0%, #B0E0E6 100%);
}

.hero-title {
    text-align: center;
    z-index: 10;
    will-change: transform, opacity;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.hero-title h1 {
    font-size: clamp(4rem, 12vw, 10rem);
    font-weight: 700;
    color: white !important;
    line-height: 0.8;
    text-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.hero-subtitle {
    font-style: italic;
    font-weight: bold;
    font-size: 2rem;
    margin: 0;
    color: white;
}

/* ========== NUBES DE NAVEGACIÓN (tus reglas exactas) ========== */
.nav-cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2.5rem;
    padding: 0 1rem;
}

.nav-card {
    position: relative;
    width: 180px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    animation: float 5s ease-in-out infinite;
    will-change: transform;
    filter: drop-shadow(0 10px 20px rgba(255,255,255,0.5));
}

.cloud-shape {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 50%;
    box-shadow: 
        0 0 15px rgba(255,255,255,0.6),
        inset 0 0 20px rgba(255,255,255,0.5);
}

.cloud-shape::before,
.cloud-shape::after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.473);
    backdrop-filter: inherit;
    -webkit-backdrop-filter: inherit;
    border-radius: 50%;
    box-shadow: inherit;
}

.cloud-shape::before {
    width: 90px;
    height: 90px;
    top: 50px;
    left: -25px;
}

.cloud-shape::after {
    width: 100px;
    height: 100px;
    top: 40px;
    right: -20px;
}

.cloud-text {
    position: relative;
    z-index: 2;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: lowercase;
    color: #2e2416;
    text-shadow: 0 0 8px rgba(255,255,255,0.8);
    pointer-events: none;
    text-align: center;
    line-height: 1.3;
}

.nav-card:hover {
    transform: translateY(-10px) scale(1.06);
    animation-play-state: paused;
}

.nav-card:hover .cloud-shape {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 
        0 0 30px rgba(255,255,255,0.8),
        inset 0 0 25px rgba(255,255,255,0.7);
}

.nav-card:nth-child(1) { animation-delay: 0s; }
.nav-card:nth-child(2) { animation-delay: 0.6s; }
.nav-card:nth-child(3) { animation-delay: 1.2s; }
.nav-card:nth-child(4) { animation-delay: 1.8s; }
.nav-card:nth-child(5) { animation-delay: 2.4s; }
.nav-card:nth-child(6) { animation-delay: 3.0s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ========== SKYLINE ========== */
.skyline-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 5;
    pointer-events: none;
}

.skyline-layer img {
    display: block;
    width: 100%;
    height: auto;
}

/* ========== SECCIONES GENÉRICAS ========== */
section {
    padding: 120px 10%;
    background: var(--blanco-limpio);
}

h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 40px;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--amarillo-trigo);
}

.grid-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.premios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.premio-card {
    padding: 40px;
    border: 1px solid #eee;
    background: white;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.premio-card:hover {
    background: var(--amarillo-trigo);
    transform: scale(1.02);
    border-color: var(--amarillo-trigo);
}

.premio-card span {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.highlight-box {
    background: rgba(245,222,179,0.15);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--oro-castilla);
}

/* ========== FOOTER ========== */
footer {
    background: var(--negro-carbon);
    color: white;
    padding: 100px 10% 50px;
    text-align: center;
}

.email-footer {
    border-radius: 7px;
    color: black;
    padding: 5px;
    font-family: 'Josefin Sans', sans-serif;
}

.unirse {
    border-radius: 7px;
    color: white;
    background-color: rgb(12, 194, 201);
    width: 70px;
    padding: 5px;
    font-family: 'Josefin Sans', sans-serif;
}

/* ========== NUEVOS ESTILOS PARA CONÓCENOS (sin alterar lo anterior) ========== */
.conocenos-hero {
    text-align: center;
    margin-bottom: 60px;
}

.conocenos-hero h2 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1rem;
}

.conocenos-hero .bajada {
    font-size: 1.2rem;
    color: #5c4328;
    font-style: italic;
}

.historia-texto {
    max-width: 800px;
    margin: 0 auto 60px;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
}

.objetivos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin: 60px 0;
}

.objetivo-col h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--amarillo-trigo);
}

.objetivo-item {
    margin-bottom: 25px;
}

.objetivo-item strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--negro-carbon);
}

.organizadores {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin: 60px 0;
    text-align: center;
}

.organizador-grupo {
    flex: 1 1 200px;
}

.organizador-grupo h4 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: #5c4328;
}

.logos-placeholder {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.logo-box {
    width: 80px;
    height: 80px;
    background: #e0d7c3;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: #888;
    border: 1px dashed #bbb;
}

.sede-detalle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
    align-items: center;
}

.img-placeholder {
    background: #ddd;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #666;
}

/* ========== RESPONSIVE (tus reglas originales + nuevas) ========== */
@media (max-width: 900px) {
    .grid-info,
    .objetivos-grid,
    .sede-detalle {
        grid-template-columns: 1fr;
    }

    section {
        padding: 60px 5%;
    }

    .nav-card {
        width: 130px;
        height: 130px;
        font-size: 0.8rem;
    }
    
    .skyline-layer{
        bottom: 35px;
    }
}