/* ===============================
   RESET
=============================== */
*
html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: #f4f4f4;
    color: #333;
    overflow-x: hidden;
}

/* ===============================
   NAVBAR
=============================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 65px;
    background: #003366;
    display: flex;
    align-items: center;
    padding: 0 20px;
    z-index: 1000;
}

/* Logo + nombre */
.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    height: 45px;
    width: auto;
}

.school-name {
    color: white;
    font-weight: 600;
    font-size: clamp(14px, 3vw, 20px);
    white-space: nowrap;
}

/* Botón hamburguesa */
.menu-toggle {
    margin-left: auto;
    font-size: 30px;
    color: white;
    cursor: pointer;
    display: none;
}

/* Links desktop */
.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin-left: auto;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    padding: 6px 12px;
}

/* ===============================
   HERO
=============================== */
.home .page-hero {
    margin-top: 65px;
    width: 100vw;
    max-width: 100vw;
    height: 70vh;
    position: relative;
    overflow: hidden;
}


/* Slider */
.home .hero-slider {
    display: flex;
    width: 300vw;
    height: 100%;
    transition: transform 0.6s ease-in-out;
}

.home .hero-slide img {
    width: 100vw;
    height: 100%;
    object-fit: cover;
}

/* Texto hero */
.home .hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    max-width: 90%;
    z-index: 5;
}

.hero-text h1 {
    font-size: clamp(22px, 4vw, 36px);
}

.hero-text p {
    font-size: clamp(14px, 2vw, 20px);
    margin-top: 10px;
}

/* Flechas */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    border: none;
    color: white;
    font-size: 2.5rem;
    padding: 10px 16px;
    cursor: pointer;
    z-index: 10;
    border-radius: 6px;
}

.hero-arrow.prev {
    left: 20px;
}

.hero-arrow.next {
    right: 20px;
}

/* ===============================
   SECCIONES
=============================== */
section {
    background: white;
    max-width: 900px;
    margin: 30px auto;
    padding: 40px 20px;
    border-radius: 8px;
}

.page-hero {
    padding: 0 !important;
    margin: 65px 0 0 0 !important; /* solo baja lo justo por la navbar */
    max-width: none !important;
    background: none !important;
    border-radius: 0 !important;
}

h2 {
    color: #003366;
}

/* Botones */
.btn {
    background: #003366;
    color: white;
    padding: 6px 14px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
}

.btn:hover {
    background: #b30000;
}

/* ===============================
   FOOTER
=============================== */
.footer {
    background: #003366;
    color: white;
    padding: 30px 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;              /* ← MÁS separación entre columnas */
    max-width: 1200px;      /* ← controla el ancho total */
    margin: 0 auto;         /* ← centra el footer */
    padding: 0 20px;        /* ← aire lateral */
}


.footer-logo {
    height: 50px;
}
.social-icons {
    display: flex;
    gap: 18px;
    margin-top: 10px;
}

.social-icons a {
    color: white;
    font-size: 22px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-icons a:hover {
    transform: scale(1.15);
    opacity: 0.85;
    text-decoration: none;
}


/* ===============================
   RESPONSIVE
=============================== */
@media (max-width: 768px) {

    /* ===============================
       NAVBAR
    =============================== */

    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 16px;
        height: 70px;
        position: relative;
    }

    .logo-container {
        display: flex;
        align-items: center;
        gap: 8px;
        max-width: 80%;
    }

    .logo {
        height: 40px;
        width: auto;
    }

    .school-name {
        font-size: 14px;
        line-height: 1.2;
        white-space: normal;
    }

    .menu-toggle {
        display: block;
        font-size: 1.8rem;
        cursor: pointer;
        z-index: 1001;
    }

    .nav-links {
        position: absolute;
        top: 70px; /* JUSTO DEBAJO DEL HEADER */
        left: 0;
        width: 100%;
        background: #003366;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 25px 0;
        transform: translateY(-120%);
        transition: transform 0.3s ease;
        z-index: 1000;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    /* ===============================
       HERO
    =============================== */

    .page-hero {
        width: 100vw;
        height: 40vh;
        margin: 0;
    }

    .hero-arrow {
        font-size: 2rem;
        padding: 8px 12px;
    }
}
@media (max-width: 768px) {

    /* Asegura ancho completo en TODA la página */
    body, html {
        width: 100%;
        overflow-x: hidden;
    }

    section,
    footer,
    .about,
    .news-preview,
    .footer,
    .footer-container {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding-left: 16px;
        padding-right: 16px;
        box-sizing: border-box;
    }

    /* Footer en columna */
    .footer-container {
        display: flex;
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-left,
    .footer-center,
    .footer-right {
        width: 100%;
        align-items: center;
    }

    .footer-logo {
        max-width: 120px;
        height: auto;
    }
}
.footer-cambridge {
    margin-top: 12px;
    max-width: 180px;
    width: 100%;
    height: auto;
    display: block;
}

/* ====== BLOQUE LISTA DE MATERIALES (INFO) ====== */

.materiales-info {
    display: flex;
    justify-content: center;
    margin: 60px 20px;
}

.materiales-link {
    text-decoration: none;
    background-color: #f2f2f2;
    color: #1f1f1f;
    padding: 40px;
    max-width: 400px;
    width: 100%;
    text-align: center;
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.materiales-link i {
    font-size: 48px;
    margin-bottom: 15px;
    color: #b30000;
}

.materiales-link h2 {
    margin-bottom: 10px;
}

.materiales-link:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* ===============================
   MATERIAL STYLE – AL ESTILO CSS.EDU.UY
=============================== */

/* CONTENEDOR GENERAL */
.materiales {
    max-width: 1200px;
    margin: 100px auto 60px;
    padding: 0 20px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

/* TÍTULO PRINCIPAL */
.materiales > h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #003366;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* GRID DOS COLUMNAS PARA SECCIONES */
.materiales-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

/* SECCIÓN INDIVIDUAL */
.materiales-seccion {
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 30px 20px;
    box-shadow: 0px 3px 12px rgba(0,0,0,0.08);
}

/* ENCABEZADO DE SECCIÓN */
.materiales-seccion h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #003366;
    margin-bottom: 15px;
    text-transform: uppercase;
    border-bottom: 2px solid #003366;
    padding-bottom: 8px;
}

/* LISTA DE TARJETAS EN CADA SECCIÓN */
.materiales-lista {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 15px;
}

/* TARJETA INDIVIDUAL */
.material-card {
    display: block;
    padding: 14px 20px;
    background: #f9f9f9;
    color: #003366;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid #003366;
    border-radius: 8px;
    transition: 0.3s ease;
    text-align: left;
}

/* EFECTO HOVER EN TARJETAS */
.material-card:hover {
    background: #003366;
    color: #ffffff;
    transform: translateY(-3px);
    border-color: #002244;
}

/* ===============================
   RESPONSIVE – UNA COLUMNA EN MÓVIL
=============================== */
@media (max-width: 768px) {
    .materiales-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .material-card {
        text-align: center;
    }
}/* ===============================
   HERO MATERIALES
=============================== */
.hero-materiales {
    width: 100vw;
    height: 260px; /* hero más angosto */
    background-image: url("images/utiles.jpg");
    background-size: cover;
    background-position: center;
    position: relative;

}

.hero-materiales-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 51, 102, 0.55); /* azul UAS translúcido */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 20px;
}

.hero-materiales-overlay h1 {
    font-size: clamp(26px, 5vw, 42px);
    margin-bottom: 10px;
}

.hero-materiales-overlay p {
    font-size: clamp(14px, 3vw, 20px);
    font-weight: 400;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-materiales {
        height: 30vh;
    }
    }
/* ===============================
   NOVEDADES – ESTILO VISUAL
=============================== */

/* HERO DE NOVEDADES */
.hero {
    margin-top: 65px;
    height: 260px;
    background: linear-gradient(135deg, #003366, #0055a5);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 40px;
    background: white;
    border-top-left-radius: 100% 80px;
    border-top-right-radius: 100% 80px;
}

.hero-text {
    color: white;
    max-width: 800px;
    padding: 20px;
    z-index: 2;
}

.hero-text h1 {
    font-size: clamp(32px, 6vw, 46px);
    font-weight: 800;
    margin-bottom: 10px;
}

.hero-text p {
    font-size: clamp(15px, 3vw, 20px);
    opacity: 0.95;
}

/* CONTENEDOR NOVEDADES */
.news-content {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
}

.news-content > h2 {
    text-align: center;
    font-size: 2.4rem;
    color: #003366;
    margin-bottom: 10px;
}

.news-content > p {
    text-align: center;
    margin-bottom: 40px;
    color: #555;
}

/* TARJETAS DE NOTICIAS */
.news-item {
    background: #e9f0fa;
    border-left: 6px solid #003366;
    border-radius: 16px;
    padding: 22px 26px;
    margin-bottom: 22px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-item::before {
    content: "●";
    color: #b30000;
    font-size: 28px;
    position: absolute;
    top: 18px;
    left: -18px;
}

.news-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.12);
}

.news-item h3 {
    color: #003366;
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.news-item p {
    color: #333;
    margin-bottom: 12px;
}

.news-item .btn {
    background: transparent;
    color: #b30000;
    font-weight: 700;
    padding: 0;
}

.news-item .btn:hover {
    background: none;
    text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero {
        height: 200px;
    }

    .news-item {
        padding: 18px;
    }
}
/* ================================
   FONDO GENERAL DEL SITIO
   ================================ */

/* Asegura que todo el sitio tenga fondo */
html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    background-color: #eef6fb; /* azul muy clarito, NO blanco */
    font-family: Arial, Helvetica, sans-serif;
}

/* Si usás un contenedor principal */
main, 
.container, 
.contenido, 
.wrapper {
    background-color: transparent;
}

/* Evita fondos blancos heredados */
section,
article,
div {
    background-color: transparent;
}

/* ================================
   FONDO GENERAL DEL SITIO
   ================================ */

html, body {
    background-color: #eef6fb; /* celeste muy clarito */
}

/* ================================
   RECUADROS DE CONTENIDO
   ================================ */

section,
article,
.texto,
.contenido,
.card,
main p,
main ul,
main ol {
    background-color: rgba(255, 255, 255, 0.96); /* blanco opaco */
    border-radius: 22px;
    padding: 20px 25px;
    margin: 20px auto;
    max-width: 1000px;
    box-shadow: 0 10px 25px rgba(0, 80, 140, 0.12);
    position: relative;
}

/* ================================
   DETALLE CURVO SUPERIOR
   ================================ */

section::before,
article::before {
    content: "";
    position: absolute;
    top: -12px;
    left: 20px;
    width: 60px;
    height: 12px;
    background: #9ecdf0; /* azul institucional suave */
    border-radius: 0 0 50px 50px;
}

/* ================================
   TEXTO
   ================================ */

p {
    line-height: 1.6;
}

/* ================================
   EFECTO SUAVE
   ================================ */

section,
article {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section:hover,
article:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(0, 80, 140, 0.18);
}
section::before,
article::before {
    display: none;
}

/* ================================
   MATERIALES – ESTILO MODERNO
   ================================ */

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

.materiales-card {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 18px;
    padding: 25px 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.materiales-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.12);
}

/* Barra de color arriba */
.materiales-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 6px;
    width: 100%;
    background: linear-gradient(90deg, #1e5aa8, #d62828);
}

/* Título */
.materiales-card h3 {
    margin-top: 10px;
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: #1e5aa8;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Icono */
.materiales-card h3 i {
    color: #d62828;
    font-size: 1.3rem;
}

/* Lista */
.materiales-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.materiales-card li {
    padding: 8px 0;
    border-bottom: 1px dashed #ddd;
    font-size: 0.95rem;
}

.materiales-card li:last-child {
    border-bottom: none;
}

.materiales-card ul li a {
    display: block;
    padding: 10px 14px;
    border-radius: 12px;
    text-decoration: none;
    color: #0b3c6d;
    font-weight: 600;
    transition: all 0.3s ease;
}

.materiales-card ul li a:hover {
    background-color: #e6f1fb;
    color: #c62828;
    transform: translateX(6px);
}

/* ==================================================
   NUEVO ESTILO GLOBAL MODERNO UAS
================================================== */

/* Fondo general */
body {
    background: linear-gradient(to bottom, #eef4ff, #f7f9fc);
}


/* Subrayado elegante debajo de títulos */
h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: #b30000;
    margin-top: 8px;
    border-radius: 4px;
}

/* Botones más modernos */
.btn {
    background: linear-gradient(135deg, #003366, #004c99);
    border-radius: 8px;
    font-weight: 600;
    padding: 8px 16px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    background: #b30000;
}

/* Artículos / noticias */
.news-item {
    background: white;
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 6px solid #003366;
    box-shadow: 0 5px 18px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

.news-item:hover {
    transform: translateY(-4px);
}


/* Textos hero */
.hero h1 {
    font-size: clamp(30px, 5vw, 48px);
    color: white;
}

.hero p {
    color: white;
    font-size: 18px;
}

.equipo-home{
  padding: 60px 20px;
  text-align: center;
  background: #f4f6f8;
}

.btn-equipo{
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background: #2b6cb0;
  color: white;
  text-decoration: none;
  border-radius: 8px;
}

.hero-equipo{
  padding: 60px 20px;
  text-align: center;
  background: #e9eef5;
}


.botones-equipo{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 50px;
}


/* botón */
.boton-equipo{
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}


/* imagen */
.boton-equipo img{
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.4s ease;
}


/* oscurecedor */
.boton-equipo::after{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  transition: background 0.3s ease;
}


/* texto */
.boton-equipo span{
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 16px;
  color: white;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  z-index: 2;
}


/* efectos hover */
.boton-equipo:hover img{
  transform: scale(1.08);
}

.boton-equipo:hover::after{
  background: rgba(0,0,0,0.55);
}

/* ===============================
   EQUIPO – BOTONES PDF
=============================== */

.hero-equipo{
  padding: 70px 20px;
  text-align: center;
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  color: white;
}

.hero-equipo h1{
  margin-bottom: 10px;
  font-size: 38px;
}

.hero-equipo p{
  font-size: 18px;
  opacity: 0.95;
}


/* grilla */
.botones-equipo{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 35px;
  padding: 60px;
  background: #f4f7fb;
}


/* tarjeta */
.boton-equipo{
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  transform: translateY(0);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}


/* imagen */
.boton-equipo img{
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.5s ease;
}


/* capa azul */
.boton-equipo::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30,60,114,0.85), rgba(0,0,0,0.1));
}


/* texto */
.boton-equipo span{
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 18px;
  color: white;
  font-size: 22px;
  font-weight: bold;
  text-align: center;
  z-index: 2;
  letter-spacing: 0.5px;
}


/* animaciones */
.boton-equipo:hover{
  transform: translateY(-6px);
  box-shadow: 0 16px 35px rgba(0,0,0,0.25);
}

.boton-equipo:hover img{
  transform: scale(1.1);
}
/* ============================
   EQUIPO
=============================== */
/* HERO */

.hero-equipo{
    background-image:url("images/hero-equipo.jpg");
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    min-height:520px;

    display:flex;
    align-items:center;
    justify-content:center;
}

.hero-overlay{

    width:100%;
    height:520px;

    background:rgba(0,0,0,.50);

    display:flex;
    align-items:center;
    justify-content:center;

    padding:40px;

}

.hero-equipo .hero-text{

    max-width:850px;
    text-align:center;
    color:white;

}

.hero-equipo h1{

    font-size:56px;
    margin-bottom:25px;
    text-shadow:2px 2px 12px rgba(0,0,0,.6);

}

.hero-equipo p{

    font-size:22px;
    line-height:1.8;
    text-shadow:1px 1px 8px rgba(0,0,0,.5);

}

/* BOTONES */
.botones-equipo{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:35px;
    max-width:1200px;
    margin:60px auto;
    padding:0 30px;
}

.boton-equipo{
    position:relative;
    display:block;
    height:420px;
    overflow:hidden;
    border-radius:20px;
    text-decoration:none;
    box-shadow:0 12px 30px rgba(0,0,0,.18);
    transition:transform .35s ease, box-shadow .35s ease;
}

.boton-equipo img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    transition:transform .5s ease;
}
}

.boton-equipo:hover img{
    transform:scale(1.08);
}

.boton-equipo:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 40px rgba(0,0,0,.25);
}

/* CAPA OSCURA + TEXTO */
.overlay{
    position:absolute;
    inset:0;
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    padding:30px;
    background:linear-gradient(
        to top,
        rgba(0,0,0,.82),
        rgba(0,0,0,.18)
    );
    color:white;
    transition:background .35s ease;
}

.boton-equipo:hover .overlay{
    background:linear-gradient(
        to top,
        rgba(0,0,0,.92),
        rgba(0,0,0,.35)
    );
}

.overlay h2{
    margin:0;
    font-size:32px;
    font-weight:700;
    letter-spacing:1px;
}

.overlay p{
    margin-top:12px;
    font-size:17px;
    line-height:1.6;
}

/* RESPONSIVE */
@media (max-width:768px){

    .hero-equipo h1{
        font-size:30px;
    }

    .hero-equipo p{
        font-size:16px;
    }

    .botones-equipo{
        padding:0 20px;
    }

    .boton-equipo{
        height:300px;
    }

    .overlay h2{
        font-size:26px;
    }

    .overlay p{
        font-size:15px;
    }

}

/* ===============================
   GLOBAL – HERO INTERNO MODERNO
=============================== */

.hero {
  width: 100%;
  padding: 120px 20px 80px;
  text-align: center;
  color: white;
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  background-size: 200% 200%;
  animation: gradientShift 12s ease infinite;
  position: relative;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-text h1 {
  font-size: 44px;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-text p {
  margin-top: 12px;
  font-size: 18px;
  opacity: 0.9;
}

/* Separa bien el contenido siguiente */
main, .news-content, .page-content {
  margin-top: 40px;
}
/* ======================================
   HERO INTERNO COMPACTO (GLOBAL)
====================================== */

.hero{
  width: 100%;
  padding: 60px 20px 40px;
  text-align: center;
  color: white;
  background: linear-gradient(120deg, #1e3c72, #2a5298);
}

/* título */
.hero-text h1{
  margin: 0;
  font-size: 32px;
  font-weight: 700;
}

/* subtítulo */
.hero-text p{
  margin-top: 8px;
  font-size: 16px;
  opacity: 0.95;
}

/* ======================================
   HERO SLIM CON PRESENCIA
====================================== */

.hero{
  width: 100%;
  padding: 45px 20px 35px;   /* más finito */
  text-align: center;
  color: white;
  background: linear-gradient(120deg, #1e3c72, #2a5298);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* título con fuerza */
.hero-text h1{
  margin: 0;
  font-size: 30px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* bajada */
.hero-text p{
  margin-top: 6px;
  font-size: 15px;
  opacity: 0.95;
}
/* ======================================
   HERO SLIM CON PRESENCIA
====================================== */

.hero{
  width: 100%;
  padding: 45px 20px 35px;   /* más finito */
  text-align: center;
  color: white;
  background: linear-gradient(120deg, #1e3c72, #2a5298);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* título con fuerza */
.hero-text h1{
  margin: 0;
  font-size: 30px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* bajada */
.hero-text p{
  margin-top: 6px;
  font-size: 15px;
  opacity: 0.95;
}

/* ===== ANUARIO EQUIPO ===== */

.team-page .team-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.team-page .team-gallery img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 15px;
}


/* TABLET */
@media(max-width:900px){

    .team-page .team-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* CELULAR */
@media(max-width:600px){

    .team-page .team-gallery {
        grid-template-columns: 1fr;
    }


/* ===== FORCE ADMINISTRATION GALLERY ===== */

section.team-page .team-gallery {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    width: 100% !important;
}

section.team-page .team-gallery .team-card {
    height: 280px !important;
    width: 100% !important;
    overflow: hidden !important;
}

section.team-page .team-gallery .team-card img {
    width: 100% !important;
    height: 280px !important;
    max-width: 100% !important;
    max-height: 280px !important;
    object-fit: cover !important;
    display: block !important;
}


/* TABLET */
@media(max-width:900px){

    section.team-page .team-gallery {
        grid-template-columns: repeat(2,1fr) !important;
    }

}


/* CELULAR */
@media(max-width:600px){

    section.team-page .team-gallery {
        grid-template-columns:1fr !important;
    }

}
   /* FOTO AMPLIADA */

.image-overlay{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.8);
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:9999;
    cursor:pointer;
}


.image-overlay img{
    max-width:90%;
    max-height:90%;
    object-fit:contain;
    border-radius:15px;
}

   /* ===== IMAGEN AMPLIADA LIGHTBOX ===== */

.image-overlay{
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0,0,0,0.85) !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    z-index: 99999 !important;
}


.image-overlay img{
    width: auto !important;
    height: auto !important;
    max-width: 90vw !important;
    max-height: 90vh !important;
    object-fit: contain !important;
    border-radius: 15px;
}

   .image-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
}

.image-overlay img {
    max-width: 90%;
    max-height: 90%;
    width: auto;
    height: auto;
}
