body{margin:0;}
.header{
    height: 85vh;
    width: 100%;
    color: #fff;
    font-family: "Nunito", sans-serif;
}
#portada {
    position: relative; /* necesario para que el position: absolute funcione dentro */
    text-align: center;
    overflow: hidden; /* evita que elementos desbordados se vean fuera */
    padding: 11rem 0;
}

.fondo {
    position: absolute;
    transform: translate(-50%, -37%); /* centra la imagen */
    width: 130%;
    z-index: -1; /* detrás del texto */
    pointer-events: none; /* para que no interfiera con clicks */
}

.titulos {
    color: #3B3D3D;
    text-align: center;
    margin: 0; /* quitamos el margen que desplazaba el contenido */
}
.navbar{ 
    display: flex;
    justify-content: space-between;
    height: 3rem;
    padding: 1.5rem;
}
.logo {
    height: 3rem;
    width: auto;
}
a{
    text-decoration: none;
}
.subrayado {
    color: #6FB355;
    display: contents;
}
.subrayado2{
    color: #fff6aa;
    display: contents;
}
#portada h1, 
#portada h3, 
#portada p {
    text-shadow: 1px 2px 7px rgba(0, 0, 0, 1);
}
#menu{
    margin-top: 5px;
    height: 1.8rem;
    cursor: pointer;
}
#portada .titulos{
    text-align: center;
    align-items: center;
}

h1{
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    margin: 1rem 0;
    color: #fff;
}
h3{
    font-weight: 700;
    font-size: 1.3rem;
    width: 60%;
    margin: 1rem auto;
    color: #fff; 
}

p{
    font-family: "Quicksand", sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #3B3D3D;
}
.btn-consultar{
    background-color: #537EE7;
    color: #fff;
    padding: 7px 50px;
    font-family: "Nunito", sans-serif;
    font-size: 14px;
    border-radius: 25px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}
.btn-consultar:hover{
    background-color: #3769e3;
    transform: scale(1.01);
}

.quienes-somos{
    background-color: #4dbcf0;
    padding: 1rem 5%;
}

.quienes-somos h1{
    color: #fff;
    text-transform: uppercase;
    font-size: 1.8rem;
    font-family: "Nunito", sans-serif;
    text-shadow: none;
    font-weight: 900;
    margin: 0;
    padding: 2rem 0 0 0;
}

.quienes-somos p,
.section-white p{
    font-family: "Quicksand", sans-serif;
    color: #fff;
    font-size: 1.1rem;
}

p span, label{
    font-weight: bold;
    font-family: "Quicksand", sans-serif;
}

.cards-prof{
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    margin: 3rem 0;
}

.prof{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 45%;
    text-align: center;
}

.prof .nombre{
    font-family: "Nunito", sans-serif;
    color: #fff6aa;
    font-size: 1.2rem;
    font-weight: 900;
    margin-bottom: 0;
}

.prof .profesion{
    font-family: "Quicksand", sans-serif;
    color: #fff;
    font-size: 1rem;
    margin-top: 0;
}

.propuestas{
    padding: 3rem 6%;
    margin: 0;
}
.prop-div{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.prop-div div{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.8rem;
}
.prop-div img{
    width: 100%;
}
.propuestas h1 {
    color: #3B3D3D;
    font-size: 2.3rem;
    font-family: "Nunito", sans-serif;
    text-shadow: none;
    font-weight: 800;
    margin-bottom: 0.5rem;
    position: relative; /* Necesario para el ::after */
    display: inline-block;
}
.propuestas h1::after {
    content: "";
    display: block;
    height: 4px;
    border-radius: 0 5px 5px 0;
    margin-top: 10px;
}
/* Subrayado primer título (izquierda) */
.propuestas .prop-div:nth-of-type(1) h1::after {
    width: 75%;
    background-color: #8CBA42;
    margin-left: 0;
}

/* Subrayado segundo título (derecha) */
.propuestas .prop-div:nth-of-type(2) h1::after {
    width: 40%;
    background-color: #FFDB4A;
    margin-left: auto;
    border-radius: 5px 0 0 5px;
}

/* Subrayado tercer título (izquierda) */
.propuestas .prop-div:nth-of-type(3) h1::after {
    width: 55%;
    background-color: #F9AFBF;
    margin-left: 0;
}

.propuestas p{
    font-family: "Quicksand", sans-serif;
    font-size: 1.1rem;
}
.der{
    text-align: end;
    text-align: right;
}

.section-gray{
    padding: 1rem 6%;
    background-color: #CFC8BB;
    /* A9C9D2 */
    /* CFC8BB */
    /* BFAEC9 */
}

.section-gray p{
    color: #fff;
    font-size: 1.1rem;
}

.section-white{
    padding: 1rem 6%;
}


/* --------------------------------------------------------------------------------------------------- */

.cuadrantes {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 4 columnas iguales */
    gap: 1rem;
    padding: 1rem 0;
    justify-items: center;
}

.cuadro {
    width: 100%;
    height: 90px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: "Nunito", sans-serif;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.cuadro .p-cuadro{
    font-size: 0.6rem;
    width: 90%;
}

.cuadro .p-emoji{
    font-size: 1.2rem;
    margin: 0;
}

.cuadro:hover {
    transform: scale(1.05);
    cursor: pointer;
}

/* Colores */
.verde {
    background-color: #A4CF7D;
}

.celeste {
    background-color: #80CFF4;
}

.azul {
    background-color: #A5D6E3;
}

.rojo {
    background-color: #F58C8C;
}

.beige {
    background-color: #E7B98A;
}

.rosa {
    background-color: #F4A8B6;
}

.amarillo {
    background-color: #F8DC6D;
}

.verdeoscuro {
    background-color: #A0C68B;
}

.naranja{
    background-color: #59B2EE;
}

.cuadro p {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
}

/* --------------------------------------------------------------------------------------------------- */



/* Estilos para el contenedor del carrusel */
.swiper {
    width: 100%;
    height: auto;
    margin: 2rem 0 3rem 0;
  }
  
  /* Estilos para las diapositivas */
  .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Estilos para las imágenes */
  .swiper-slide img {
    width: 145%;
    object-fit: cover; /* Asegura que la imagen cubra completamente el contenedor */
  }

  /* ------------------------------------------------------------------------ */

.apadrina {
    padding: 6%;
    border-radius: 10px;
    font-family: 'Nunito', sans-serif;
    color: #3B3D3D;
    background-color: #FFFEF5;
}

.div-estrella{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.div-corazon{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

.corazon{
    width: 2.2rem;
}

.estrella {
    width: 30%;
}

.apadrina .div-estrella h1 {    
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    font-weight: 750;
    color: #2D2D2D;
}

.apadrina .div-estrella h1 span {
    display: block;
    font-weight: 800;
}

.apadrina h2 {
    font-size: 1.3rem;
    margin: 1rem 0;
}

.apadrina p {
    font-size: 1rem;
    margin: 0.5rem 0;
    text-align: left;
}

.apadrina ul {
    list-style: none;
    padding: 0;
    text-align: left;
    margin: 1rem 0;
}

.apadrina li {
    margin-bottom: 0.5rem;
}

.punto-color{
    color: #815F92;
}

.apadrina .div-corazon .resaltado {
    font-weight: bold;
    font-size: 1.2rem;
    color: #E94E77;
    text-align: left;
    margin: 1rem 0;
}

.apadrina .btn-apadrina{
    margin: 1rem 0;
    padding: 0.6rem 1.8rem;
    background-color: #518BFC;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    gap:0.5rem;
}

.apadrina .btn-apadrina p{
    margin: 0;
    font-size: 1rem;
    font-family: 'Nunito';
    color: #fff;
}

.btn-apadrina img{
    padding-top: 0.1rem;
    width: 0.7rem;
}

.apadrina .btn-apadrina:hover {
    background-color: #3b6cd9;
}

.hor-cont{
    margin:0;
    padding: 6%;
}

.hor-cont h4{
    color: #3B3D3D;
    font-size: 1.2rem;
    font-family: "Nunito", sans-serif;
    text-shadow: none;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.hor-cont p{
    display: flex;
    align-items: center;
}

.hor-cont p img{
    width: 5%;
    margin-right: 0.7rem;
}

.horarios b {
    color: #2D2D2D;
}

/* --------------------------------------------------------------------------------- */

.opciones {
    display: flex;
    justify-content: space-around;
    margin-bottom: 1rem;
}

.opcion {
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.apadrina .donaciones .opciones button{
    font-size: 1.8rem;
    font-weight: 600;
    font-family: "Quicksand", sans-serif;
}

.opcion span {
    font-size: 0.8rem;
    font-weight: 600;
}

.apadrina .donaciones .opciones .opcion-amarilla{
    background-color: #F7CE31;
}

.apadrina .donaciones .opciones .opcion-verde {
    background-color: #6FB355;
}

.donaciones p {
    margin: 1rem 0;
}

.donar-unica-vez {
    background-color: #42A5F5;
    color: #fff;
    border: none;
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    border-radius: 6px;
    cursor: pointer;
    margin-bottom: 1.5rem;
    width: 100%;
    font-family: "Quicksand", sans-serif;
    font-weight: 600;

}

.info {
    text-align: left;
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.icono-bombilla {
    margin-right: 1rem;
    width: 2rem;
}

.contactos .telefonos{
    display: flex;
    gap: 1rem;
}

.contactos p {
    display: flex;
    align-items: center;
    margin: 0.3rem 0;
}


/* ----------------------------------------------------------------------------- */

  footer{
    background-color: #FDFBFA;
    padding: 1rem 6%;
  }

  footer h1{
    color: #3B3D3D;
    text-transform: uppercase;
    font-size: 1.5rem;
    font-family: "Nunito", sans-serif;
    text-shadow: none;
    font-weight: 800;
    margin: 0;
    padding: 2rem 0 0 0;
  }

  nav{
    padding-bottom: 1rem;
    border-bottom: 1px solid #686a6a;
  }

  nav ul{
    color: #3B3D3D;
    padding: 0;
    font-family: "Quicksand", sans-serif;
    font-weight: 600;
    font-size: 1rem;
  }

  footer img{
    width: 1.7rem;
    margin: 1rem 1rem 1rem 0;
  }

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

  .flotante{
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 55px;
    right: 40px;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.5); 
    z-index: 1000;
    border-radius: 100%;
    animation: pulse 2s infinite;
  }

  #ver-menu {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 88%;
    background-color: #4dbcf0;
    opacity: 97%;
    padding: 1.5rem 6% 1rem 6%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
    transform: translateY(-100%);
}

#ver-menu.abierto {
    display: flex;
    transform: translateY(0);
}

#ver-menu ul {
    list-style-type: none;
    padding: 0;
}

#ver-menu li {
    margin: 1.5rem 0;
    font-family: "BenchNine", sans-serif;
    font-size: 1.5rem;
}

#ver-menu a {
    text-decoration: none;
    color: #fff;
}

#ver-menu img {
    width: 2.5rem;
}

.close {
    display: flex;
    justify-content: end;
}



/* Estilos desktop */

@media (min-width: 1200px) {
    body {
        margin: 0;
        font-family: "Bellota Text", sans-serif;
    }

    .navbar {
        padding: 1.5rem 5%;
    }

    .fondo{
        width: 60%;
        padding-top: 7rem;
    }

    #portada{
        overflow: visible;
        height: 85vh;
    }

    .navbar-list {
        display: flex;
        gap: 3rem;
    }

    .navbar-list li a {
        font-size: 1.5rem;
    }

    .header {
        height: 95vh;
    }

    .header .titulos h1 {
        font-size: 4.5rem;
    }

    .header .titulos h3 {
        font-size: 1.2rem;
        margin-top: 1rem;
    }

    .btn-consultar {
        font-size: 1.2rem;
        padding: 12px 60px;
    }

    .quienes-somos {
        text-align: start;
    }

    .quienes-somos h1 {
        font-size: 3rem;
        margin-bottom: 2rem;
    }

    .quienes-somos p {
        font-size: 2rem;
    }

    .quienes-somos .foto {
        width: 60%;
    }

    .quienes-somos{
        padding: 3rem 10%;
    }

    .prof{
        align-items: center;
    }

    .prof .nombre, .profesion{
        font-size: 2rem;
    }

    .propuestas{
        display: flex;
        gap: 4rem;
        text-align: center;
        margin: 4rem 0;
    }

    .der{
        text-align: center;
    }

    .prop-div{
        width: 60%;
    }

    .propuestas .prop-div:nth-of-type(1) h1::after {
        width: 100%;
    }

    .propuestas .prop-div:nth-of-type(2) h1::after {
        width: 100%;
    }

    .propuestas .prop-div:nth-of-type(3) h1::after {
        width: 100%;
    }

    .section-gray{
        padding: 6rem 10%;
    }

    .section-gray p{
        color: #fff;
        font-size: 1.5rem;
    }

    .cuadrantes {
        display: grid;
        grid-template-columns: repeat(3, 1fr); /* 4 columnas iguales */
        gap: 3rem;
        padding: 1rem 0;
        justify-items: center;
    }

    .cuadro {
        width: 70%;
        height: 200px;
    }

    .cuadro .p-cuadro{
        font-size: 1.4rem;
    }

    .cuadro .p-emoji{
        font-size: 2rem;
    }

    .apadrina {
        padding: 6rem 10%;
        border-radius: 10px;
        font-family: 'Nunito', sans-serif;
        color: #3B3D3D;
        background-color: #FFFEF5;
    }

    .estrella {
        width: 15%;
    }

    .apadrina .div-estrella h1 {    
        font-size: 5rem;
        margin-bottom: 0.5rem;
        font-weight: 750;
        color: #2D2D2D;
    }

    .apadrina .div-estrella h1 span {
        display: block;
        font-weight: 800;
    }

    .apadrina h2 {
        font-size: 1.7rem;
        margin: 1rem 0;
    }

    .apadrina p {
        font-size: 1.5rem;
        margin: 0.5rem 0;
        text-align: left;
    }

    .horarios{
        width: 60%;
    }

    .hor-cont{
        padding: 10%;
        display: flex;
        gap: 8rem;
    }

    .hor-cont h4{
        font-size: 1.5rem;
    }

    .hor-cont p{
        display: flex;
        align-items: center;
        font-size: 1.5rem;
    }

    .hor-cont p img{
        width: 15%;
    }
    
    .swiper-slide img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
    }

    .swiper {
        width: 100%;
        height: 700px;
        max-width: 100%; 
    }

    footer{
        padding: 2rem 10%;
    }

}
