
*{margin:0;padding:0;box-sizing:border-box}
body{font-family:Segoe UI,sans-serif;background:#f4f6fb;color:#222}
.hero{height:100vh;background:linear-gradient(rgba(0,0,0,.5),rgba(0,0,0,.5)),url('https://gorettivirtualmci.com/wp-content/uploads/2023/11/ACT-1024x484.jpeg');background-size:cover;background-position:center;display:flex;align-items:center;justify-content:center;text-align:center;color:#fff}
.overlay{max-width:900px;padding:20px}
h1{font-size:3rem}
h2{margin:15px 0}
nav{background:#003a8c;padding:15px;text-align:center}
nav a{color:white;text-decoration:none;margin:0 15px;font-weight:bold}
.section{max-width:1200px;margin:auto;padding:50px 20px}
.countdown{display:flex;justify-content:center;gap:20px;margin:25px 0}
.countdown div{background:white;color:#003a8c;padding:15px;border-radius:12px;min-width:90px}
.countdown span{font-size:2rem;font-weight:bold;display:block}
.btn{display:inline-block;background:#ffd700;color:black;padding:12px 25px;border-radius:8px;text-decoration:none}
.grid,.gallery,.timeline{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px}
.card{background:white;padding:25px;border-radius:12px;box-shadow:0 5px 15px rgba(0,0,0,.1)}
.placeholder{height:250px;border:3px dashed #003a8c;border-radius:12px;display:flex;align-items:center;justify-content:center;font-weight:bold;margin-top:20px}
.section-title{
    text-align:center;
    margin-bottom:40px;
}

.section-title h2{
    color:#003a8c;
    font-size:2.3rem;
}

.linea{
    width:90px;
    height:4px;
    background:#ffd700;
    margin:15px auto;
    border-radius:10px;
}

.info-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
    align-items:center;
}

.info-texto{
    font-size:1.1rem;
    line-height:1.8;
}

.intro{
    font-size:1.2rem;
}

.grande{
    height:400px;
}

.cards-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:30px;
}

.card-info{
    background:white;
    padding:35px;
    border-radius:15px;
    box-shadow:0 5px 20px rgba(0,0,0,.1);
    transition:.3s;
}

.card-info:hover{
    transform:translateY(-8px);
}

.icono{
    font-size:3rem;
    margin-bottom:15px;
}

.card-info h3{
    color:#003a8c;
    margin-bottom:15px;
}

.stats{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
    gap:25px;
}

.stat-box{
    background:white;
    padding:30px;
    text-align:center;
    border-radius:15px;
    box-shadow:0 5px 15px rgba(0,0,0,.1);
}

.stat-box h3{
    font-size:3rem;
    color:#003a8c;
}

.galeria-home{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:20px;
}

.galeria-home .placeholder{
    height:250px;
}

@media(max-width:768px){

    .info-grid{
        grid-template-columns:1fr;
    }

    .grande{
        height:250px;
    }

}

/* ========================= */
/* BARRA DE NAVEGACIÓN */
/* ========================= */

.navbar{
    background:#003a8c;
    padding:18px;
    text-align:center;
    box-shadow:0 2px 10px rgba(0,0,0,.2);
}

.navbar a{
    color:white;
    text-decoration:none;
    font-weight:600;
    font-size:1.05rem;
    margin:0 15px;
    transition:.3s;
}

.navbar a:hover{
    color:#ffd700;
}

.separador{
    color:#ffd700;
    font-weight:bold;
}

/* ========================= */
/* IMÁGENES */
/* ========================= */

.imagen-box{
    width:100%;
    overflow:hidden;
    border-radius:15px;
    box-shadow:0 5px 20px rgba(0,0,0,.15);
}

.imagen-box img{
    width:100%;
    height:400px;
    object-fit:cover;
    display:block;
}

/* ========================= */
/* GALERÍA */
/* ========================= */

.galeria-home{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:25px;
}

.foto-card{
    overflow:hidden;
    border-radius:15px;
    box-shadow:0 5px 15px rgba(0,0,0,.15);
}

.foto-card img{
    width:100%;
    height:400px;
    object-fit:cover;
    display:block;
    transition:.4s;
}
.foto-card:hover img{
    transform:scale(1.08);
}

/* ========================= */
/* RESPONSIVE */
/* ========================= */

@media(max-width:768px){

    .navbar a{
        display:block;
        margin:12px 0;
    }

    .separador{
        display:none;
    }

    .imagen-box img{
        height:250px;
    }

}
/* ========================= */
/* IMAGEN HISTORIA */
/* ========================= */

.imagen-historia{
    width:100%;
    margin-top:30px;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 5px 20px rgba(0,0,0,.15);
}

.imagen-historia img{
    width:100%;
    height:550px;
    object-fit:cover;
    display:block;

    filter:
        brightness(1.12)
        contrast(1.10)
        saturate(1.18);

    transition:.5s;
}
/* Celular */

@media(max-width:768px){

    .imagen-historia img{
        height:280px;
    }

}
/* ========================= */
/* IMAGEN ANIVERSARIO */
/* ========================= */

.imagen-aniversario{
    width:100%;
    margin-top:35px;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 5px 20px rgba(0,0,0,.15);
}

.imagen-aniversario img{
    width:100%;
    height:500px;
    object-fit:cover;
    display:block;
    transition:.4s;
}

.imagen-aniversario:hover img{
    transform:scale(1.03);
}

/* Celular */

@media(max-width:768px){

    .imagen-aniversario img{
        height:280px;
    }

}
/* ========================= */
/* GALERÍA PROFESIONAL */
/* ========================= */

.galeria-profesional{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:25px;
    margin-top:30px;
}

.foto-galeria{
    overflow:hidden;
    border-radius:18px;
    box-shadow:0 8px 25px rgba(0,0,0,.18);
}

.foto-galeria img{
    width:100%;
    height:320px;
    object-fit:cover;
    display:block;

    /* Más luz y calidad visual */
    filter:
        brightness(1.12)
        contrast(1.08)
        saturate(1.12);

    transition:.5s;
}

.foto-galeria:hover img{
    transform:scale(1.08);
    filter:
        brightness(1.18)
        contrast(1.12)
        saturate(1.18);
}

/* Tablet */

@media(max-width:992px){

    .foto-galeria img{
        height:280px;
    }

}

/* Celular */

@media(max-width:768px){

    .galeria-profesional{
        grid-template-columns:1fr;
    }

    .foto-galeria img{
        height:250px;
    }

}