/* =========================================================
   PARQUE / PISCINA
   PARQUE-0001A
   ========================================================= */


/* =========================================================
   HERO
   ========================================================= */

.parque-hero {
    position: relative;

    width: 100%;
    min-height: 520px;

    overflow: hidden;

    background:
        url("/assets/img/parque-piscina/hero-parque.jpg")
        center center / cover
        no-repeat;

    color: #ffffff;
}


/* =========================================================
   OVERLAY
   ========================================================= */

.parque-hero__overlay {
    position: absolute;
    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(8, 17, 9, 0.78) 0%,
            rgba(8, 17, 9, 0.58) 38%,
            rgba(8, 17, 9, 0.25) 70%,
            rgba(8, 17, 9, 0.20) 100%
        );
}


/* =========================================================
   NAVEGACIÓN
   ========================================================= */

.parque-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;
}


.parque-nav__logo {
    flex: 0 0 auto;

    display: block;
}


.parque-nav__logo img {
    display: block;

    width: 230px;
    height: auto;
}


.parque-nav__menu {
    display: flex;
    align-items: center;

    gap: 12px;
}


.parque-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;
}


.parque-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;
}


.parque-nav__menu a:hover::after,
.parque-nav__menu a.active::after {
    transform: scaleX(1);
}


/* =========================================================
   CONTENIDO HERO
   ========================================================= */

.parque-hero__content {
    position: relative;
    z-index: 5;

    width: min(1240px, calc(100% - 70px));

    margin: 58px auto 0;
}


.parque-hero__eyebrow {
    margin-bottom: 12px;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 1.4px;
}


.parque-hero__content h1 {
    max-width: 750px;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: clamp(50px, 5vw, 72px);
    line-height: 1.05;

    font-weight: 500;

    letter-spacing: -1px;
}


.parque-hero__content p {
    max-width: 630px;

    margin-top: 22px;

    font-size: 18px;
    line-height: 1.6;
}


.parque-hero__button {
    min-height: 56px;

    margin-top: 32px;

    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;
}


.parque-hero__button:hover {
    background: #bb965d;

    transform: translateY(-2px);
}


/* =========================================================
   FRANJA DE CARACTERÍSTICAS
   ========================================================= */

.parque-resumen {
    width: 100%;

    padding: 0 35px;

    display: grid;

    grid-template-columns:
        repeat(7, minmax(0, 1fr));

    background: #f7f4ed;
}


.parque-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;
}


.parque-resumen__item:not(:last-child)::after {
    content: "";

    position: absolute;

    top: 27px;
    right: 0;
    bottom: 27px;

    width: 1px;

    background:
        rgba(36, 53, 31, 0.18);
}


.parque-resumen__icon {
    min-height: 34px;

    margin-bottom: 8px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 27px;
    line-height: 1;
}


.parque-resumen__item strong {
    display: block;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: 17px;
    line-height: 1.25;

    font-weight: 500;
}


.parque-resumen__item > span:last-child {
    margin-top: 2px;

    font-size: 13px;
    line-height: 1.35;

    color: #4e514b;
}


/* =========================================================
   NOTEBOOK / TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .parque-nav {
        width: calc(100% - 40px);
    }


    .parque-nav__logo img {
        width: 190px;
    }


    .parque-nav__menu {
        gap: 2px;
    }


    .parque-nav__menu a {
        padding-left: 7px;
        padding-right: 7px;

        font-size: 11px;
    }


    .parque-hero__content {
        width: calc(100% - 60px);
    }


    .parque-resumen {
        grid-template-columns:
            repeat(4, minmax(0, 1fr));

        padding: 0 25px;
    }


    .parque-resumen__item:nth-child(4)::after {
        display: none;
    }


    .parque-resumen__item:nth-child(n+5) {
        border-top:
            1px solid rgba(36, 53, 31, 0.12);
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .parque-hero {
        min-height: 680px;

        background-position: center center;
    }


    .parque-hero__overlay {
        background:
            linear-gradient(
                to bottom,
                rgba(8, 17, 9, 0.48) 0%,
                rgba(8, 17, 9, 0.56) 40%,
                rgba(8, 17, 9, 0.82) 100%
            );
    }


    .parque-nav {
        width: calc(100% - 35px);
        height: auto;

        padding-top: 24px;

        display: block;
    }


    .parque-nav__logo img {
        width: 170px;

        margin: 0 auto;
    }


    .parque-nav__menu {
        margin-top: 20px;

        display: flex;
        flex-wrap: wrap;

        justify-content: center;

        gap: 2px 8px;
    }


    .parque-nav__menu a {
        min-height: 38px;

        padding: 0 5px;

        font-size: 10px;
    }


    .parque-nav__menu a::after {
        left: 5px;
        right: 5px;
    }


    .parque-hero__content {
        width: calc(100% - 42px);

        margin-top: 65px;
    }


    .parque-hero__eyebrow {
        font-size: 11px;

        line-height: 1.4;
    }


    .parque-hero__content h1 {
        font-size: 43px;
    }


    .parque-hero__content p {
        margin-top: 18px;

        font-size: 16px;
        line-height: 1.55;
    }


    .parque-hero__button {
        min-height: 54px;

        margin-top: 27px;

        padding: 0 20px;

        font-size: 15px;
    }


    .parque-resumen {
        padding: 0 15px;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .parque-resumen__item {
        min-height: 125px;

        padding:
            18px 8px;
    }


    .parque-resumen__item:nth-child(2n)::after {
        display: none;
    }


    .parque-resumen__item:nth-child(n+3) {
        border-top:
            1px solid rgba(36, 53, 31, 0.12);
    }


    .parque-resumen__icon {
        font-size: 24px;
    }


    .parque-resumen__item strong {
        font-size: 16px;
    }


    .parque-resumen__item > span:last-child {
        font-size: 12px;
    }

}

/* =========================================================
   PARQUE-0001B
   CONFORT EN PLENA NATURALEZA
   ========================================================= */

.parque-presentacion {
    padding: 85px 35px;

    background: #ffffff;
}


.parque-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
   ========================================================= */

.parque-presentacion__content {
    max-width: 550px;
}


.parque-presentacion__eyebrow {
    margin-bottom: 10px;

    color: #bb965d;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 1.5px;
}


.parque-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;
}


.parque-presentacion__content p {
    margin: 0 0 15px;

    color: #50524d;

    font-size: 16px;
    line-height: 1.7;
}


.parque-presentacion__content p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   IMAGEN
   ========================================================= */

.parque-presentacion__image {
    width: 100%;

    overflow: hidden;

    border-radius: 12px;

    background: #e7e4dc;
}


.parque-presentacion__image img {
    display: block;

    width: 100%;
    height: 430px;

    object-fit: cover;
    object-position: center;

    transition:
        transform 0.7s ease;
}


.parque-presentacion__image:hover img {
    transform: scale(1.025);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .parque-presentacion {
        padding:
            70px 25px;
    }


    .parque-presentacion__container {
        gap: 40px;

        grid-template-columns:
            minmax(0, 1fr)
            minmax(0, 1fr);
    }


    .parque-presentacion__content h2 {
        font-size: 38px;
    }


    .parque-presentacion__image img {
        height: 390px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .parque-presentacion {
        padding:
            55px 20px
            65px;
    }


    .parque-presentacion__container {
        display: flex;

        flex-direction: column;

        gap: 35px;
    }


    .parque-presentacion__content {
        max-width: none;
    }


    .parque-presentacion__eyebrow {
        font-size: 11px;
    }


    .parque-presentacion__content h2 {
        margin-bottom: 19px;

        font-size: 35px;
    }


    .parque-presentacion__content p {
        font-size: 15px;
        line-height: 1.65;
    }


    .parque-presentacion__image {
        border-radius: 10px;
    }


    .parque-presentacion__image img {
        height: 310px;
    }

}



