/* CSS Document */
/* =====================================================
   VT COFFEE
   ALOJAMIENTO
===================================================== */


/* =====================================================
   INTRO
===================================================== */

.stay-intro {
    width: min(1180px, 88%);
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;

    gap: clamp(55px, 7vw, 100px);

    padding:
        clamp(90px, 10vw, 150px)
        0
        clamp(90px, 10vw, 150px);
}


.stay-intro-photo img {
    width: 100%;
    height: auto;

    display: block;
}


.stay-intro-text {
    max-width: 500px;
}


.stay-kicker {
    margin: 0 0 18px;

    font-family: var(--font-hand);
    font-size: 18px;
    font-weight: 500;

    color: #a45f49;
}


.stay-intro h1,
.stay-section-heading h2,
.camping-text h2,
.stay-info-heading h2 {
    margin: 0 0 28px;

    font-family: var(--font-main);
    font-size: clamp(40px, 4vw, 60px);
    font-weight: 500;
    line-height: 1.05;

    color: var(--green);
}


.stay-intro-text p:last-child,
.stay-section-heading p,
.camping-text > p,
.stay-info-heading p {
    margin: 0;

    font-family: var(--font-main);
    font-size: clamp(18px, 1.4vw, 21px);
    font-weight: 300;
    line-height: 1.6;

    color: var(--mineral);
}


/* =====================================================
   SECCIONES
===================================================== */

.stay-section {
    padding:
        clamp(100px, 9vw, 150px)
        6%;
}








/* =====================================================
   HABITACIONES
===================================================== */


.room-type {
    padding: 20px 0;

    border-bottom:
        1px solid rgba(78, 101, 71, 0.22);
}


.room-type h3 {
    margin: 0 0 8px;

    font-size: 22px;
    font-weight: 500;

    color: var(--green);
}


.room-type p {
    margin: 0;

    font-size: 17px;
    font-weight: 300;

    color: var(--mineral);
}


/* =====================================================
   PRECIOS
===================================================== */

.stay-prices {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 18px;

    margin-top: 35px;
}


.stay-price {
    padding: 24px;

    background: var(--paper);
}


.stay-price-label {
    display: block;

    margin-bottom: 10px;

    font-size: 15px;
    font-weight: 400;

    color: var(--mineral);
}


.stay-price strong {
    display: block;

    font-size: 27px;
    font-weight: 500;

    color: var(--green);
}


.stay-price small {
    display: block;

    margin-top: 7px;

    font-size: 14px;

    color: var(--mineral);
}


.stay-price-note {
    margin: 14px 0 0;

    font-size: 14px;
    font-weight: 300;

    color: var(--mineral);
}


.rooms-features {
    display: flex;
    flex-wrap: wrap;

    gap: 9px;

    margin-top: 30px;
}


.rooms-features span {
    padding: 7px 12px;

    border: 1px solid rgba(78, 101, 71, 0.24);
    border-radius: 999px;

    font-size: 14px;

    color: var(--green);
}



/* =====================================================
   INFO PRÁCTICA
===================================================== */

.stay-info {
    padding:
        clamp(100px, 9vw, 150px)
        6%
        clamp(110px, 10vw, 160px);

    background: var(--paper);
}


.stay-info-heading {
    width: min(1180px, 100%);
    margin: 0 auto 80px;

    max-width: 750px;
}


.stay-info-grid {
    width: min(1180px, 100%);
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 55px 45px;
}


.stay-info-item .material-symbols-outlined {
    display: block;

    margin-bottom: 14px;

    font-size: 34px;

    color: #a45f49;
}


.stay-info-item h3 {
    margin: 0 0 8px;

    font-size: 20px;
    font-weight: 500;

    color: var(--green);
}


.stay-info-item p {
    margin: 0;

    font-size: 16px;
    font-weight: 300;
    line-height: 1.45;

    color: var(--mineral);
}


.stay-energy-note {
    width: min(1180px, 100%);
    margin: 90px auto 0;

    text-align: center;
}


.stay-energy-note p {
    margin: 0;

    font-family: var(--font-hand);
    font-size: clamp(24px, 2.6vw, 35px);
    font-weight: 500;
    line-height: 1.3;

    color: #a45f49;
}


.stay-smallprint {
    width: min(760px, 100%);
    margin: 45px auto 0;

    text-align: center;
}


.stay-smallprint p {
    margin: 0;

    font-size: 14px;
    font-weight: 300;
    line-height: 1.55;

    color: var(--mineral);
}


/* =====================================================
   CIERRE
===================================================== */

.stay-closing {
    position: relative;

    min-height: 680px;

    overflow: hidden;
}


.stay-closing > img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


.stay-closing::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        rgba(0, 0, 0, 0.32);
}


.stay-closing-content {
    position: absolute;
    z-index: 2;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    width: min(800px, 84%);

    text-align: center;
}


.stay-closing h2 {
    margin: 0 0 34px;

    font-size: clamp(46px, 5vw, 74px);
    font-weight: 500;
    line-height: 1;

    color: white;

    text-shadow:
        0 3px 12px rgba(0, 0, 0, 0.32);
}


.stay-cta {
    display: inline-flex;

    padding: 14px 28px;

    border-radius: 999px;

    background: #ce6b34;
    color: white;

    font-size: 17px;
    font-weight: 500;
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 768px) {

    .stay-intro {
        width: 86%;

        grid-template-columns: 1fr;

        gap: 45px;

        padding:
            80px
            0
            85px;
    }


    .stay-intro h1,
    .stay-section-heading h2,
    .camping-text h2,
    .stay-info-heading h2 {
        font-size: 38px;
        line-height: 1.08;
    }


    .stay-intro-text p:last-child,
    .stay-section-heading p,
    .camping-text > p,
    .stay-info-heading p {
        font-size: 18px;
        line-height: 1.55;
    }


    .stay-section {
        padding:
            85px
            7%;
    }


    .stay-section-heading {
        margin-bottom: 55px;
    }


    .rooms-layout,
    .camping-inner {
        grid-template-columns: 1fr;

        gap: 55px;
    }


    


    .stay-prices {
        grid-template-columns: 1fr;
    }


    

    .stay-info {
        padding:
            85px
            7%
            100px;
    }


    .stay-info-heading {
        margin-bottom: 60px;
    }


    .stay-info-grid {
        grid-template-columns: 1fr 1fr;

        gap: 45px 28px;
    }


    .stay-energy-note {
        margin-top: 75px;
    }


    .stay-energy-note p {
        font-size: 26px;
    }


    .stay-closing {
        min-height: 620px;
    }


    .stay-closing h2 {
        font-size: 44px;
    }

}


@media (max-width: 480px) {

    .stay-info-grid {
        grid-template-columns: 1fr;
    }

}

/* =====================================================
   HABITACIONES
   Composición editorial
===================================================== */

.stay-rooms {
    position: relative;

    background: #e9dfc9;

    padding:
        clamp(105px, 9vw, 150px)
        0
        clamp(120px, 10vw, 170px);

    overflow: hidden;
}


/* =====================================================
   ENCABEZADO
===================================================== */

.stay-rooms-heading {
    width: min(1180px, 88%);
    margin: 0 auto 90px;
}


.stay-rooms-heading > p:last-child {
    max-width: 700px;

    margin: 0;

    font-family: var(--font-main);
    font-size: clamp(18px, 1.4vw, 21px);
    font-weight: 300;
    line-height: 1.6;

    color: var(--mineral);
}


.stay-rooms-heading h2 {
    max-width: 760px;

    margin: 0 0 28px;

    font-family: var(--font-main);
    font-size: clamp(40px, 4vw, 60px);
    font-weight: 500;
    line-height: 1.05;

    color: var(--green);
}


/* =====================================================
   LAYOUT GENERAL
===================================================== */

.rooms-editorial {
    width: min(1180px, 88%);
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1.18fr 0.82fr;
    align-items: center;

    gap: clamp(70px, 8vw, 120px);
}


/* =====================================================
   BLOQUE FOTOGRÁFICO
===================================================== */

.rooms-visual {
    position: relative;

    min-width: 0;

    /*
       Expandimos el bloque hacia la izquierda
       hasta tocar el borde del viewport.
    */
    width: calc(
        100% +
        ((100vw - min(1180px, 88vw)) / 2)
    );

    margin-left: calc(
        -1 *
        ((100vw - min(1180px, 88vw)) / 2)
    );

    padding-bottom: 95px;
}


/* =====================================================
   FOTO PRINCIPAL
===================================================== */

.rooms-main-photo {
    position: relative;

    width: 88%;

    z-index: 1;
}


.rooms-main-photo::before {
    content: "";

    position: absolute;

    top: -18px;
    right: -18px;

    width: 2px;
    height: 30%;

    background: #a45f49;

    z-index: 3;
}


.rooms-main-photo img {
    display: block;

    width: 100%;
    height: auto;

    box-shadow:
        0 8px 24px rgba(53, 48, 40, 0.12);
}


/* =====================================================
   FOTO SECUNDARIA
===================================================== */

.rooms-secondary-photo {
    position: absolute;

    z-index: 3;

    width: 36%;

    right: 1%;
    bottom: 0;

    padding: 10px;

    background: #f6f1e7;

    box-shadow:
        0 12px 28px rgba(53, 48, 40, 0.22);

    transform: rotate(2deg);
}


.rooms-secondary-photo img {
    display: block;

    width: 100%;
    height: auto;
}


/* =====================================================
   ESTRELLA
===================================================== */

.rooms-star {
    position: absolute;

    z-index: 4;

    width: clamp(58px, 5vw, 78px);

    right: 30%;
    bottom: 52px;

    transform: rotate(-9deg);

    pointer-events: none;
}


/* =====================================================
   INFORMACIÓN
===================================================== */

.rooms-info {
    position: relative;

    z-index: 2;

    min-width: 0;
}


.room-type {
    padding: 20px 0;

    border-bottom:
        1px solid rgba(78, 101, 71, 0.22);
}


.room-type:first-child {
    padding-top: 0;
}


.room-type h3 {
    margin: 0 0 8px;

    font-family: var(--font-main);
    font-size: 22px;
    font-weight: 500;
    line-height: 1.25;

    color: var(--green);
}


.room-type p {
    margin: 0;

    font-family: var(--font-main);
    font-size: 17px;
    font-weight: 300;
    line-height: 1.5;

    color: var(--mineral);
}


/* =====================================================
   PRECIOS
===================================================== */

.rooms-info .stay-prices {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 16px;

    margin-top: 35px;
}


.rooms-info .stay-price {
    padding: 22px;

    background: var(--paper);
}


.rooms-info .stay-price-label {
    display: block;

    margin-bottom: 9px;

    font-size: 15px;
    font-weight: 400;

    color: var(--mineral);
}


.rooms-info .stay-price strong {
    display: block;

    font-size: 28px;
    font-weight: 500;

    color: var(--green);
}


.rooms-info .stay-price-note {
    margin: 14px 0 0;

    font-size: 14px;
    font-weight: 300;

    color: var(--mineral);
}


/* =====================================================
   FEATURES
===================================================== */

.rooms-features {
    display: flex;
    flex-wrap: wrap;

    gap: 9px;

    margin-top: 30px;
}


.rooms-features span {
    padding: 7px 12px;

    border:
        1px solid rgba(78, 101, 71, 0.24);

    border-radius: 999px;

    font-size: 14px;

    color: var(--green);
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 768px) {

    .stay-rooms {
        padding:
            85px
            0
            105px;
    }


    .stay-rooms-heading {
        width: 86%;

        margin-bottom: 60px;
    }


    .stay-rooms-heading h2 {
        font-size: 38px;
        line-height: 1.08;
    }


    .stay-rooms-heading > p:last-child {
        font-size: 18px;
        line-height: 1.55;
    }


    .rooms-editorial {
        width: 100%;

        grid-template-columns: 1fr;

        gap: 70px;
    }


    /*
       En celular la foto principal sigue
       sintiéndose grande y llega al borde.
    */

    .rooms-visual {
        width: 100%;

        margin-left: 0;

        padding-bottom: 110px;
    }


    .rooms-main-photo {
        width: 92%;
    }


    .rooms-main-photo::before {
        top: -13px;
        right: -12px;

        height: 25%;
    }


    .rooms-secondary-photo {
        width: 38%;

        right: 6%;
        bottom: 5px;

        padding: 7px;

        transform: rotate(2deg);
    }


    .rooms-star {
        width: 55px;

        right: 37%;
        bottom: 62px;
    }


    .rooms-info {
        width: 86%;

        margin: 0 auto;
    }


    .rooms-info .stay-prices {
        grid-template-columns: 1fr;
    }

}

/* =====================================================
   CAMPING
   Composición editorial
===================================================== */

.stay-camping {
    position: relative;

    background: var(--green);
    color: #ffffff;

    padding:
        clamp(110px, 10vw, 160px)
        0
        clamp(130px, 11vw, 180px);

    overflow: hidden;
}


/* =====================================================
   LAYOUT
===================================================== */

.camping-editorial {
    width: min(1180px, 88%);
    margin: 0 auto;

    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    align-items: center;

    gap: clamp(70px, 8vw, 120px);
}


/* =====================================================
   INFORMACIÓN
===================================================== */

.camping-info {
    position: relative;
    z-index: 2;

    min-width: 0;
}


.camping-info .stay-kicker {
    color: #e7c6a7;
}


.camping-info h2 {
    margin: 0 0 28px;

    font-family: var(--font-main);
    font-size: clamp(40px, 4vw, 60px);
    font-weight: 500;
    line-height: 1.05;

    color: #ffffff;
}


.camping-copy {
    margin: 0;

    max-width: 480px;

    font-family: var(--font-main);
    font-size: clamp(18px, 1.4vw, 21px);
    font-weight: 300;
    line-height: 1.6;

    color: rgba(255, 255, 255, 0.88);
}


/* =====================================================
   PRECIOS CAMPING
===================================================== */

.stay-prices--camping {
    display: grid;
    grid-template-columns: 1fr;

    gap: 14px;

    margin-top: 38px;
}


.stay-prices--camping .stay-price {
    padding: 22px 24px;

    background: rgba(255, 255, 255, 0.08);

    border:
        1px solid rgba(255, 255, 255, 0.10);
}


.stay-prices--camping .stay-price-label {
    color: rgba(255, 255, 255, 0.68);
}


.stay-prices--camping .stay-price strong {
    color: #ffffff;
}


.stay-prices--camping .stay-price small {
    color: rgba(255, 255, 255, 0.68);
}


.stay-camping .stay-price-note {
    color: rgba(255, 255, 255, 0.72);
}


/* =====================================================
   BLOQUE FOTOGRÁFICO
===================================================== */

.camping-visual {
    position: relative;

    min-width: 0;

    /*
       La composición se extiende hacia la derecha
       hasta tocar el borde del viewport.
    */
    width: calc(
        100% +
        ((100vw - min(1180px, 88vw)) / 2)
    );

    padding-bottom: 105px;
}


/* =====================================================
   FOTO PRINCIPAL
===================================================== */

.camping-main-photo {
    position: relative;

    width: 90%;

    margin-left: auto;

    z-index: 1;
}


.camping-main-photo img {
    display: block;

    width: 100%;
    height: auto;

    box-shadow:
        0 10px 26px rgba(0, 0, 0, 0.18);
}


/*
   Pequeño gesto gráfico diferente al de habitaciones.
   Acá la línea aparece horizontal.
*/

.camping-main-photo::after {
    content: "";

    position: absolute;

    right: 5%;
    bottom: -16px;

    width: 28%;
    height: 2px;

    background: #e7c6a7;
}


/* =====================================================
   FOTO SECUNDARIA
===================================================== */

.camping-secondary-photo {
    position: absolute;

    z-index: 3;

    width: 35%;

    left: 2%;
    bottom: 0;

    padding: 10px;

    background: #f6f1e7;

    box-shadow:
        0 14px 30px rgba(0, 0, 0, 0.28);

    transform: rotate(-2.5deg);
}


.camping-secondary-photo img {
    display: block;

    width: 100%;
    height: auto;
}


/* =====================================================
   ICONO SILVESTRE
===================================================== */

.camping-silvestre {
    position: absolute;

    z-index: 4;

    width: clamp(72px, 7vw, 105px);


    left: 31%;
    bottom: 42px;

    transform: rotate(7deg);

    pointer-events: none;
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 768px) {

    .stay-camping {
        padding:
            90px
            0
            115px;
    }


    .camping-editorial {
        width: 100%;

        grid-template-columns: 1fr;

        gap: 70px;
    }


    .camping-info {
        width: 86%;

        margin: 0 auto;
    }


    .camping-info h2 {
        font-size: 38px;
        line-height: 1.08;
    }


    .camping-copy {
        font-size: 18px;
        line-height: 1.55;
    }


    .camping-visual {
        width: 100%;

        padding-bottom: 115px;
    }


    .camping-main-photo {
        width: 92%;

        margin-left: auto;
    }


    .camping-main-photo::after {
        right: 7%;
        bottom: -12px;

        width: 24%;
    }


    .camping-secondary-photo {
        width: 38%;

        left: 6%;
        bottom: 4px;

        padding: 7px;

        transform: rotate(-2deg);
    }


    .camping-silvestre {
        width: 70px;

        left: 38%;
        bottom: 55px;
    }

}

