
:root {
    --azulvioleta: #111758;
    --rojo: #D60812;
    --amarillopalido: #fde992;
    --bg-azultrans: rgba(17, 23, 88, 0.10);
}

*, html, body {
    font-family: "Signika", sans-serif;
}

.signika {
      font-family: "Signika", sans-serif;
      font-optical-sizing: auto;
      font-style: normal;
      font-variation-settings: "GRAD" 0;
}


.bg-red {
    background-color: var(--rojo);
}

.bg-yellow {
    background-color: var(--amarillopalido);
}

.bg-azul {
    background-color: var(--bg-azultrans);
}

.header_landing {
    background-color: var(--amarillopalido);
    height: calc(660px + (1080 - 660) * ((100vw - 320px) / (1920 - 320)));
    font-family: "Signika", sans-serif !important;
}

.header_landing b {
    color: var(--rojo);
    font-weight: 700;
}

.header_background {
    height: calc(590px + (1000 - 590) * ((100vw - 320px) / (1920 - 320)));
    display: flex;
    font-weight: 700;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: calc(50px + (128 - 50) * ((100vw - 320px) / (1920 - 320)));
    text-shadow: 0 4px 4px #000;
    background-position: right center;
    background-repeat: no-repeat;
    background-size: cover;
    line-height: calc(60px + (106 - 60) * ((100vw - 320px) / (1920 - 320)));
}

.header_description {
    height: 173px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: calc(16px + (28 - 16) * ((100vw - 320px) / (1920 - 320)));
    clip-path: polygon(0 20%, 100% 0%, 100% 100%, 0% 100%);
    position: relative;
    z-index: 5;
    margin-top: -80px;
    line-height: 1.1;
}

.icons {
    background: var(--bg-azultrans);
    min-height: 852px;
    display: flex;
    align-items: center;
    font-size: calc(24px + (40 - 24) * ((100vw - 320px) / (1920 - 320)));
}

.icons_titulo {
    font-size: calc(24px + (40 - 24) * ((100vw - 320px) / (1920 - 320)));
    text-align: center;
    line-height: 1;
}

.icons_list {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columnas por defecto */
    gap: 20px; /* espacio entre columnas */
    margin: 100px auto 0; /* centrar */
    padding: 0 20px; /* espacio lateral */
}

.icons_box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.icons_icon {
    border-radius: 50%;
    background: var(--azulvioleta);
    width: calc(100px + (300 - 100) * ((100vw - 320px) / (1920 - 320)));
    height: calc(100px + (300 - 100) * ((100vw - 320px) / (1920 - 320)));
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.inspiration {
    overflow: hidden;
    padding: 30px 0;
}

.queremos {
    min-height: 820px;
    color: #3A2B23;
    display: flex;
    align-items: center;
    font-size: calc(24px + (40 - 24) * ((100vw - 320px) / (1920 - 320)));
    text-align: center;
    line-height: 1;
}

.queremos b {
    color: var(--azulvioleta);
    font-weight: bold;
}

.botes {
    grid-template-columns: repeat(3, 1fr); /* 3 columnas por defecto */
    gap: 60px; /* espacio entre columnas */
}

.newsletter-landing {
    min-height: 453px;
    text-align: center;
}

.newsletter-landing h3 {
    font-size: calc(24px + (40 - 24) * ((100vw - 320px) / (1920 - 320)));
}

.newsletter-landing h2 {
    color: var(--azulvioleta);
    font-size: calc(44px + (64 - 44) * ((100vw - 320px) / (1920 - 320)));
    font-weight: 700;
    line-height: 1.1;
}

.newsletter-landing_text {
    font-size: calc(24px + (40 - 24) * ((100vw - 320px) / (1920 - 320)));
    text-align: left;
}

.newsletter-landing_text b {
    color: var(--rojo);
    font-weight: 700;
}

.newsletter-landing_text strong {
    font-weight: 700;
}

.newsletter-suscribir {
    min-height: 430px;
    padding-top: 70px;
}

.contenedor-formulario {
    height: 600px;
    width: calc(300px + (659 - 300) * ((100vw - 320px) / (1920 - 320)));
    padding: 25px;
    border-radius: 30px;
    box-shadow: 0 3px 6px 0 rgb(0 0 0 / 10%);
    position: absolute;
    z-index: 10;
    transform: translateY(0rem) skewY(0deg);
    top: -140px;
    left: unset;
}

footer {
    clip-path: polygon(0 20%, 100% 0, 100% 100%, 0% 100%);
    height: 400px;
    z-index: 5;
    position: relative;
    margin-top: -170px;
}

footer::before, footer::after {
    display: none;
}


.swiper-container {
    width: 100%;
    padding: 40px 0;
}

.swiper-wrapper {
    align-items: center; /* Alinea todas las imágenes en la misma altura */
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
}

.swiper-slide img {
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    width: 322px;
    height: 322px;
}

.swiper-slide-active {
    z-index: 10;
}

.swiper-slide-active img {
    width: 600px;
    height: 600px;
}

.swiper-slide-next img,
.swiper-slide-prev img {
    width: 322px;
    height: 322px;
}

/* Menos de 1200px pero más de 768px → 2 columnas */
@media (max-width: 1200px) and (min-width: 768px) {
    .swiper-slide-next img,
    .swiper-slide-prev img,
    .swiper-slide img {
        width: 200px;
        height: 200px;
    }

    .swiper-slide-active img {
        width: 350px;
        height: 350px;
    }
}

/* Menos de 768px → 1 columna */
@media (max-width: 768px) {
    .swiper-slide-next img,
    .swiper-slide-prev img,
    .swiper-slide img {
        width: 175px;
        height: 175px;
    }

    .swiper-slide-active img {
        width: 250px;
        height: 250px;
    }
}

/* Background Header */
@media (max-width: 1440px) and (min-width: 1024px) {
    .header_background{
        background-position: calc(72% + (57 - 72) * ((100vw - 1024px) / (1440 - 1024))) center;
    }
}

@media (max-width: 1024px) and (min-width: 768px) {
    .header_background {
        background-position: calc(78% + (72 - 78) * ((100vw - 768px) / (1024 - 768))) center;
    }
}

@media (max-width: 768px) and (min-width: 320px) {
    .header_landing {
        height: 800px;
    }
    .header_background {
        align-items: unset;
        height: 736px;
        background-size: cover;
        background-position: center bottom;
        padding-top: 100px;
    }
}
@media screen and (max-width: 960px) {
    .newsletter-suscribir {
        height: calc(860px + (500 - 860) * ((100vw - 320px) / (1920 - 320)));
    }

    .contenedor-formulario {
        position: relative;
        top: unset;
        width: calc(310px + (700 - 310) * ((100vw - 320px) / (960 - 320)));
        margin-top: 20px;
    }

    .newsletter-landing {
        min-height: 330px;
    }
}


@media screen and (max-width: 640px) {
    .icons_list, .botes {
        grid-template-columns: 1fr;
    }

    .icons_icon {
        width: 190px;
        height: 190px;
    }
}