/* =========================================================
   PISCINA CLIMATIZADA
   PISCINA-0001A
   ========================================================= */


/* =========================================================
   HERO
   ========================================================= */

.climatizada-hero {
    position: relative;

    width: 100%;
    min-height: 520px;

    overflow: hidden;

    background:
        url("/assets/img/piscina-climatizada/hero-climatizada.jpg")
        center center / cover
        no-repeat;

    color: #ffffff;
}


/* =========================================================
   OVERLAY
   ========================================================= */

.climatizada-hero__overlay {
    position: absolute;
    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(8, 17, 9, 0.80) 0%,
            rgba(8, 17, 9, 0.60) 38%,
            rgba(8, 17, 9, 0.25) 72%,
            rgba(8, 17, 9, 0.18) 100%
        );
}


/* =========================================================
   NAVEGACIÓN
   ========================================================= */

.climatizada-nav {
    position: relative;
    z-index: 10;

    width: min(1240px, calc(100% - 70px));
    height: 120px;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


.climatizada-nav__logo {
    flex: 0 0 auto;

    display: block;
}


.climatizada-nav__logo img {
    display: block;

    width: 230px;
    height: auto;
}


.climatizada-nav__menu {
    display: flex;
    align-items: center;

    gap: 12px;
}


.climatizada-nav__menu a {
    position: relative;

    min-height: 55px;

    padding: 0 10px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;

    font-size: 13px;
    font-weight: 700;

    white-space: nowrap;
}


.climatizada-nav__menu a::after {
    content: "";

    position: absolute;

    left: 10px;
    right: 10px;
    bottom: 3px;

    height: 2px;

    background: #cfad75;

    transform: scaleX(0);

    transition:
        transform 0.25s ease;
}


.climatizada-nav__menu a:hover::after,
.climatizada-nav__menu a.active::after {
    transform: scaleX(1);
}


/* =========================================================
   CONTENIDO HERO
   ========================================================= */

.climatizada-hero__content {
    position: relative;
    z-index: 5;

    width: min(1240px, calc(100% - 70px));

    margin: 48px auto 0;
}


.climatizada-hero__eyebrow {
    margin-bottom: 12px;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 1.4px;
}


.climatizada-hero__content h1 {
    max-width: 780px;

    margin: 0;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: clamp(50px, 5vw, 72px);
    line-height: 1.05;

    font-weight: 500;

    letter-spacing: -1px;
}


.climatizada-hero__content p {
    max-width: 630px;

    margin: 17px 0 0;

    font-size: 17px;
    line-height: 1.55;
}


.climatizada-hero__content p + p {
    margin-top: 4px;
}


.climatizada-hero__button {
    min-height: 56px;

    margin-top: 28px;

    padding: 0 25px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 4px;

    background: #cfad75;

    color: #ffffff;

    font-size: 16px;
    font-weight: 700;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}


.climatizada-hero__button:hover {
    background: #bb965d;

    transform: translateY(-2px);
}


/* =========================================================
   CARACTERÍSTICAS
   ========================================================= */

.climatizada-resumen {
    width: 100%;

    padding: 0 35px;

    display: grid;

    grid-template-columns:
        repeat(6, minmax(0, 1fr));

    background: #f7f4ed;
}


.climatizada-resumen__item {
    position: relative;

    min-height: 145px;

    padding: 22px 12px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;

    color: #24351f;
}


.climatizada-resumen__item:not(:last-child)::after {
    content: "";

    position: absolute;

    top: 27px;
    right: 0;
    bottom: 27px;

    width: 1px;

    background:
        rgba(36, 53, 31, 0.18);
}


.climatizada-resumen__icon {
    min-height: 34px;

    margin-bottom: 8px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 27px;
    line-height: 1;
}


.climatizada-resumen__item strong {
    display: block;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: 17px;
    line-height: 1.25;

    font-weight: 500;
}


.climatizada-resumen__item > span:last-child {
    margin-top: 3px;

    font-size: 13px;
    line-height: 1.35;

    color: #4e514b;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .climatizada-nav {
        width: calc(100% - 40px);
    }


    .climatizada-nav__logo img {
        width: 190px;
    }


    .climatizada-nav__menu {
        gap: 2px;
    }


    .climatizada-nav__menu a {
        padding-left: 7px;
        padding-right: 7px;

        font-size: 11px;
    }


    .climatizada-hero__content {
        width: calc(100% - 60px);
    }


    .climatizada-resumen {
        padding: 0 25px;

        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }


    .climatizada-resumen__item:nth-child(3)::after {
        display: none;
    }


    .climatizada-resumen__item:nth-child(n+4) {
        border-top:
            1px solid rgba(36, 53, 31, 0.12);
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .climatizada-hero {
        min-height: 710px;

        background-position: center center;
    }


    .climatizada-hero__overlay {
        background:
            linear-gradient(
                to bottom,
                rgba(8, 17, 9, 0.46) 0%,
                rgba(8, 17, 9, 0.58) 45%,
                rgba(8, 17, 9, 0.84) 100%
            );
    }


    .climatizada-nav {
        width: calc(100% - 35px);
        height: auto;

        padding-top: 24px;

        display: block;
    }


    .climatizada-nav__logo img {
        width: 170px;

        margin: 0 auto;
    }


    .climatizada-nav__menu {
        margin-top: 20px;

        display: flex;
        flex-wrap: wrap;

        justify-content: center;

        gap: 2px 8px;
    }


    .climatizada-nav__menu a {
        min-height: 38px;

        padding: 0 5px;

        font-size: 10px;
    }


    .climatizada-nav__menu a::after {
        left: 5px;
        right: 5px;
    }


    .climatizada-hero__content {
        width: calc(100% - 42px);

        margin-top: 55px;
    }


    .climatizada-hero__eyebrow {
        font-size: 11px;

        line-height: 1.4;
    }


    .climatizada-hero__content h1 {
        font-size: 42px;
    }


    .climatizada-hero__content p {
        font-size: 15px;
        line-height: 1.55;
    }


    .climatizada-hero__button {
        min-height: 54px;

        margin-top: 25px;

        padding: 0 20px;

        font-size: 15px;
    }


    .climatizada-resumen {
        padding: 0 15px;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .climatizada-resumen__item {
        min-height: 125px;

        padding: 18px 8px;
    }


    .climatizada-resumen__item:nth-child(2n)::after {
        display: none;
    }


    .climatizada-resumen__item:nth-child(n+3) {
        border-top:
            1px solid rgba(36, 53, 31, 0.12);
    }


    .climatizada-resumen__icon {
        font-size: 24px;
    }


    .climatizada-resumen__item strong {
        font-size: 16px;
    }


    .climatizada-resumen__item > span:last-child {
        font-size: 12px;
    }

}

/* =========================================================
   PISCINA-0001B
   PRESENTACIÓN
   ========================================================= */

.climatizada-presentacion {
    padding: 85px 35px;

    background: #ffffff;
}


.climatizada-presentacion__container {
    width: min(1240px, 100%);

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        minmax(0, 0.9fr)
        minmax(0, 1.1fr);

    align-items: center;

    gap: 75px;
}


/* TEXTO */

.climatizada-presentacion__content {
    max-width: 550px;
}


.climatizada-presentacion__eyebrow {
    margin-bottom: 10px;

    color: #bb965d;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 1.5px;
}


.climatizada-presentacion__content h2 {
    margin: 0 0 22px;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    color: #24351f;

    font-size: 46px;
    line-height: 1.08;

    font-weight: 500;

    letter-spacing: -0.5px;
}


.climatizada-presentacion__content p {
    margin: 0 0 15px;

    color: #50524d;

    font-size: 16px;
    line-height: 1.7;
}


.climatizada-presentacion__content p:last-child {
    margin-bottom: 0;
}


/* IMAGEN */

.climatizada-presentacion__image {
    width: 100%;

    overflow: hidden;

    border-radius: 12px;

    background: #e7e4dc;
}


.climatizada-presentacion__image img {
    display: block;

    width: 100%;
    height: 430px;

    object-fit: cover;
    object-position: center;

    transition: transform 0.7s ease;
}


.climatizada-presentacion__image:hover img {
    transform: scale(1.025);
}


/* TABLET */

@media (max-width: 900px) {

    .climatizada-presentacion {
        padding: 70px 25px;
    }


    .climatizada-presentacion__container {
        gap: 40px;

        grid-template-columns:
            minmax(0, 1fr)
            minmax(0, 1fr);
    }


    .climatizada-presentacion__content h2 {
        font-size: 38px;
    }


    .climatizada-presentacion__image img {
        height: 390px;
    }

}


/* MOBILE */

@media (max-width: 700px) {

    .climatizada-presentacion {
        padding: 55px 20px 65px;
    }


    .climatizada-presentacion__container {
        display: flex;

        flex-direction: column;

        gap: 35px;
    }


    .climatizada-presentacion__content {
        max-width: none;
    }


    .climatizada-presentacion__eyebrow {
        font-size: 11px;
    }


    .climatizada-presentacion__content h2 {
        margin-bottom: 19px;

        font-size: 35px;
    }


    .climatizada-presentacion__content p {
        font-size: 15px;
        line-height: 1.65;
    }


    .climatizada-presentacion__image {
        border-radius: 10px;
    }


    .climatizada-presentacion__image img {
        height: 310px;
    }

}


