* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* GLOBAL - FUENTE GEORGIA */
body, p, h1, h2, h3, a, span, li, button, input, .menu a, .newsletter h2, .social-item p, .card-act h3, .btn-descargar {
    font-family: Georgia, "Times New Roman", Times, serif;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    font-family: Georgia, "Times New Roman", Times, serif;
     padding-top: 90px;
}

/* MENÚ - EXACTAMENTE COMO EL INDEX */
.menu {
    position: fixed;   /* cambiado */
    top: 0;
    left: 0;
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0px 60px;
    background: #ACEFF8;

    z-index: 1000;
}

.logo {
    width: 450px;
    height: auto;
    margin-top: -20px;
}

.links {
    display: flex;
    gap: 60px;
    margin-left: 360px;
}

.menu a {
    text-decoration: none;
    color: #064269;
    font-weight: 600;
    font-size: 29px;
    transition: color 0.3s ease;
}

.menu a:hover {
    text-decoration: none;
    color: #E40E1A; /* Azul brillante */
}

.sociales {
    display: flex;
    gap: 15px;
}

.icono {
    width: 60px;
    height: 60px;
    fill: #E40E1A;
    cursor: pointer;
}

#ingles {
    width: 60px;
    height: 60px;
    fill: #00406A;
    cursor: pointer;
}

.icono:hover {
    fill: #ff3b3b;
}

/* ÁNGEL EN ESQUINA IZQUIERDA */
.angel-esquina {
    position: absolute;
    left: 50px;
    top: 150px;
    width: 350px;
    height: auto;
    z-index: 1;
     animation: float 3s ease-in-out infinite;
}

/* CONTENEDOR PARA TEXTO CENTRADO */
.contenedor-titulo {
    text-align: center;
    padding-top: 80px;
    max-width: 1000px;
    margin: 0 auto;
}

.contenedor-titulo h2 {
    font-size: 90px;
    color: #E40E1A;
    margin-bottom: 20px;
    font-weight: bold;
}

.contenedor-titulo p {
    font-size: 50px;
    color: #000000;
    line-height: 1.4;
    margin-bottom: 40px;
}

/* SECCIÓN ACTIVIDADES */
.actividades {
    background: #ffffff;
    padding: 60px 0 120px 0;
    text-align: center;
}

/* GRID */
.grid-actividades {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
    justify-items: center;
    padding: 0 20px;
}

/* TARJETA */
.card-act {
    background: #DEF7FD;
    border-radius: 15px;
    padding: 50px 35px;
    width: 370px;
    text-align: center;
    transition: 0.3s ease;
}

.card-act:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.card-act img {
    width: 100%;
    height: 240px;
    object-fit: contain;
    margin-bottom: 30px;
}

.card-act h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: #333;
}

.btn-descargar {
    display: inline-block;
    background: #e10600;
    color: white;
    padding: 15px 60px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: bold;
    font-size: 20px;
    transition: 0.3s ease;
}

.btn-descargar:hover {
    background: #ff3b3b;
    transform: scale(1.07);
}

.pluma {
    width: 35%;
    margin-top: 60px;
     animation: float 3s ease-in-out infinite;
}


@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-30px); }
    100% { transform: translateY(0); }
}
/* FOOTER - EXACTAMENTE COMO EL INDEX */
footer {
    background-color: #ACEFF8;
    padding: 100px 120px;
    position: relative;
    width: 100%;
}

.footer-contenedor {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

.mundo {
    width: 50%;
}

.imagen-mundo {
    width: 100%;
    max-width: 900px;
    margin-top: -10%;
}

.columna-derecha {
    width: 45%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-right: 15%;
}

.newsletter h2 {
    font-size: 58px;
    color: #0b2c4a;
    margin-bottom: 30px;
    text-align: center;
}

.newsletter form {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.newsletter input {
    padding: 25px 50px;
    border-radius: 30px;
    border: none;
    width: 500px;
    font-size: 20px;
}

.newsletter .btn {
    background-color: #e10600;
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 40px;
    font-weight: bold;
    cursor: pointer;
    font-size: 20px;
    transition: background-color 0.3s;
}

.newsletter .btn:hover {
    background-color: #b30000;
}

.sociales-footer {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 50px;
}

.social-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-item p {
    font-size: 22px;
    color: #0b2c4a;
    font-weight: 600;
}

#azul {
    fill: #00406A;
}

.logo-footer-contenedor {
    position: absolute;
    right: 40px;
    bottom: 40px;
}

.logo-footer {
    width: 660px;
    max-width: 100%;
}

/* ===== MEDIA QUERY PARA 1080p - EXACTAMENTE COMO EL INDEX ===== */
@media (min-width: 1070px) and (max-width: 1920px) {
    /* MENÚ - IGUAL AL INDEX */
  header {
        height: 100vh;
        margin-top: -120px;
        padding-top: 120px;
    }

    .menu {
        padding: 0px 40px;
    }

    .logo {
        width: 300px;
        margin-top: -10px;
    }

    .links {
        gap: 40px;
        margin-left: 200px;
    }

    .menu a {
        font-size: 20px;
    }

    .texto-header {
        left: 80px;
    }

    .texto-header h1 {
        font-size: 70px;
    }

    .texto-header span {
        font-size: 90px;
    }

    .icono, #ingles {
        width: 45px;
        height: 45px;
    }

    .angel-esquina {
        width: 210px;
        left: 70px;
        top: 150px;
    }

    .contenedor-titulo h2 {
        font-size: 60px;
    }

    .contenedor-titulo p {
        font-size: 25px;
    }

    .grid-actividades {
        max-width: 1200px;
        gap: 40px;
    }

    .card-act {
        width: 320px;
        padding: 40px 25px;
    }

    .card-act img {
        height: 200px;
    }

    .card-act h3 {
        font-size: 22px;
        margin-bottom: 25px;
    }

    .btn-descargar {
        padding: 12px 50px;
        font-size: 18px;
    }

    .pluma {
        width: 30%;
    }

    /* FOOTER - IGUAL AL INDEX */
   footer {
        padding: 20px 60px 40px 60px;  /* Superior reducido, inferior igual */
        align-items: center;
        min-height: auto;
    }

    .footer-contenedor {
        align-items: center;
    }

    .mundo {
        width: 50%;
    }

    .imagen-mundo {
        max-width: 560px;
        margin-top: 0;
    }

    .columna-derecha {
        width: 60%;
        margin-right: 2%;
    }

    .newsletter h2 {
        font-size: 37px;
        margin-bottom: 16px;            /* Menos espacio debajo del título */
        text-align: left;
        white-space: nowrap;
    }

    .newsletter form {
        gap: 10px;
        margin-bottom: 40px;            /* Menos espacio debajo del formulario */
    }

    .newsletter input {
        padding: 18px 20px;
        width: 280px;
        font-size: 14px;
    }

    .newsletter .btn {
        padding: 12px 20px;
        font-size: 14px;
        white-space: nowrap;
    }

    .sociales-footer {
        gap: 30px;
        margin-bottom: 110px;            /* Menos espacio antes del logo */
    }

    .social-item {
        gap: 10px;
    }

    .social-item p {
        font-size: 20px;
        margin: 0;
    }

    .social-item svg {
        width: 28px;
        height: 28px;
    }

    .logo-footer-contenedor {
        right: 30px;
        bottom: 30px;
    }

    .logo-footer {
        width: 480px;
    }

}

/* ===== MEDIA QUERY PARA ESCRITORIO MEDIANO ===== */
@media  (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    /* Reestructuración del menú */
    .menu {
       
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        padding: 30px 15px !important; /* Ajusta el padding si es necesario */
        background: #ACEFF8; /* Fondo sólido en móvil */
        backdrop-filter: none;
    }

    .menu::after {
        display: none;
    }

    /* Primera fila: logo centrado */
    .menu-logo {
        text-align: center;
        margin-bottom: 10px;
    }

    .logo {
        width: 200px; /* Ajusta según necesites */
        margin: 0 auto;
    }

    /* Segunda fila: hamburguesa a la izquierda, sociales a la derecha */
    .menu-controls {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .sociales {
        gap: 12px;
        margin: 0;
    }

    .sociales .icono {
        width: 32px;
        height: 32px;
    }

    /* Enlaces ocultos por defecto */
    .links {
        display: none;
        flex-direction: column;
        width: 100%;
        margin: 15px 0 5px;
        gap: 12px;
        text-align: center;
    }

    .links a {
        font-size: 18px;
        padding: 8px 0;
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }

    /* Clase para mostrar el menú (se activa con JS) */
    .links.show {
        display: flex;
    }
    .angel-esquina {
        display: none;
    }

    .contenedor-titulo h2 {
        font-size: 60px;
    }

    .contenedor-titulo p {
        font-size: 35px;
    }

      .grid-actividades {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* 2 columnas flexibles */
        gap: 20px; /* Reducimos el gap para que quepa mejor */
        max-width: 100%; /* Ocupa todo el ancho disponible */
        padding: 0 15px; /* Padding lateral para que no quede pegado */
        margin: 0 auto;
    }

    .card-act {
        width: 100%; /* La tarjeta ocupa el 100% de su celda */
        max-width: 350px; /* Opcional: límite para que no se estire demasiado */
        margin: 0 auto; /* Centrar si la celda es más ancha */
        padding: 25px 15px; /* Ajustamos padding */
    }

    .card-act img {
        height: 160px; /* Un poco más pequeño */
        object-fit: contain;
    }

    .card-act h3 {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .btn-descargar {
        padding: 8px 30px;
        font-size: 15px;
    }


    footer {
        padding: 50px 60px;
    }

    .footer-contenedor {
        flex-direction: column;
        gap: 40px;
    }

    .mundo {
        width: 100%;
        text-align: center;
    }

    .imagen-mundo {
        max-width: 450px;
        margin: 0 auto;
    }

    .columna-derecha {
        width: 100%;
        margin-right: 0;
        align-items: center;
    }

    .newsletter h2 {
        font-size: 38px;
        text-align: center;
    }

    .newsletter input {
        width: 350px;
    }

    .sociales-footer {
        align-items: center;
    }

    .logo-footer-contenedor {
        position: static;
        text-align: center;
        margin-top: 30px;
    }

    .logo-footer {
        width: 350px;
    }
}
