/* =========================================================
   VARIABLES
========================================================= */

:root {
    --green-dark: #16251b;
    --green: #294b32;
    --green-light: #75835f;
    --olive: #8e915e;

    --cream: #f3f0e7;
    --cream-dark: #e9e4d8;

    --white: #ffffff;
    --black: #111111;

    --text: #263028;
    --text-light: #677069;

    --border: rgba(22, 37, 27, 0.14);

    --font-title: "Playfair Display", serif;
    --font-body: "DM Sans", sans-serif;

    --container: 1240px;

    --transition: all 0.3s ease;
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family: var(--font-body);
    background: var(--cream);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}


img {
    display: block;
    width: 100%;
}


a {
    text-decoration: none;
    color: inherit;
}


.container {
    width: min(90%, var(--container));
    margin: 0 auto;
}


.section {
    padding: 120px 0;
}


/* =========================================================
   BOTONES
========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;

    padding: 0 30px;

    font-size: 14px;
    font-weight: 600;

    letter-spacing: 0.02em;

    border-radius: 2px;

    transition: var(--transition);

    cursor: pointer;
}


.btn-primary {
    background: var(--green-dark);
    color: var(--white);
}


.btn-primary:hover {
    background: var(--green);
    transform: translateY(-2px);
}


.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
}


.btn-secondary:hover {
    background: var(--white);
    color: var(--green-dark);
}


.btn-light {
    background: var(--cream);
    color: var(--green-dark);
}


.btn-light:hover {
    background: var(--white);
    transform: translateY(-2px);
}


/* =========================================================
   HEADER
========================================================= */

.header {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;

    z-index: 100;

    color: var(--white);

    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(10, 18, 13, 0.1);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    transition: var(--transition);
}


.header.is-scrolled {
    background: rgba(17, 24, 18, 0.9);
    box-shadow: 0 10px 30px rgba(16, 25, 18, 0.18);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}


.header-container {
    height: 105px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;
}


.brand {
    display: flex;
    align-items: center;

    gap: 13px;
}


.brand-logo {
    width: 62px;
    height: 62px;

    object-fit: contain;
}


.brand-text {
    display: flex;
    flex-direction: column;

    line-height: 1;
}


.brand-text span {
    font-family: var(--font-title);
    font-size: 21px;
    font-weight: 600;
}


.brand-text small {
    font-family: var(--font-title);
    font-size: 14px;

    margin-top: 5px;
}


.navigation {
    display: flex;
    align-items: center;

    gap: 34px;
}


.navigation a {
    font-size: 14px;
    font-weight: 500;

    position: relative;
}


.navigation a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -8px;

    width: 0;
    height: 1px;

    background: var(--white);

    transition: var(--transition);
}


.navigation a:hover::after {
    width: 100%;
}


.btn-header {
    border: 1px solid rgba(255, 255, 255, 0.5);
}


.btn-header:hover {
    background: var(--white);
    color: var(--green-dark);
}


/* =========================================================
   HERO
========================================================= */

.hero {
    min-height: 100vh;

    position: relative;

    display: flex;
    align-items: center;

    color: var(--white);

    background-image: url("assets/imagen2.jpg");
    background-size: cover;
    background-position: center;
}


.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(9, 17, 11, 0.84) 0%,
            rgba(9, 17, 11, 0.58) 42%,
            rgba(9, 17, 11, 0.12) 100%
        );
}


.hero-content {
    position: relative;
    z-index: 2;

    padding-top: 80px;
}


.hero-eyebrow {
    display: inline-block;

    margin-bottom: 25px;

    font-size: 12px;
    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 0.22em;
}


.hero h1 {
    font-family: var(--font-title);

    font-size: clamp(60px, 7vw, 105px);

    line-height: 0.96;

    font-weight: 500;

    max-width: 950px;
}


.hero h1 span {
    font-style: italic;
    font-weight: 500;
}


.hero-content > p {
    max-width: 590px;

    margin-top: 34px;

    font-size: 18px;
    line-height: 1.8;

    color: rgba(255, 255, 255, 0.87);
}


.hero-actions {
    display: flex;

    gap: 15px;

    margin-top: 40px;
}


.hero-bottom {
    position: absolute;

    bottom: 0;
    left: 0;

    width: 100%;

    z-index: 3;

    border-top: 1px solid rgba(255, 255, 255, 0.2);
}


.hero-data {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}


.hero-data-item {
    padding: 28px 28px;

    border-right: 1px solid rgba(255, 255, 255, 0.2);
}


.hero-data-item:first-child {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}


.hero-data-item span {
    display: block;

    margin-bottom: 5px;

    font-size: 11px;
    font-weight: 500;

    text-transform: uppercase;
    letter-spacing: 0.12em;

    opacity: 0.7;
}


.hero-data-item strong {
    font-family: var(--font-title);

    font-size: 18px;
    font-weight: 500;
}


/* =========================================================
   TÍTULOS
========================================================= */

.section-eyebrow {
    display: block;

    margin-bottom: 18px;

    color: var(--olive);

    font-size: 12px;
    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.18em;
}


/* =========================================================
   ABOUT
========================================================= */

.about {
    background: var(--cream);
}


.about-grid {
    display: grid;
    grid-template-columns: 1fr 0.9fr;

    gap: 110px;

    align-items: center;
}


.about-content h2 {
    font-family: var(--font-title);

    max-width: 650px;

    font-size: clamp(42px, 5vw, 68px);

    line-height: 1.08;

    font-weight: 500;

    color: var(--green-dark);
}


.about-lead {
    margin-top: 35px;

    font-size: 20px;
    line-height: 1.65;

    color: var(--text);
}


.about-content > p:not(.about-lead) {
    max-width: 600px;

    margin-top: 22px;

    color: var(--text-light);

    line-height: 1.9;
}


.about-features {
    margin-top: 50px;

    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 35px;
}


.about-feature {
    display: flex;

    gap: 17px;

    padding-top: 20px;

    border-top: 1px solid var(--border);
}


.feature-number {
    font-size: 12px;

    color: var(--olive);

    margin-top: 3px;
}


.about-feature strong {
    font-size: 15px;
}


.about-feature p {
    margin-top: 8px;

    font-size: 13px;

    color: var(--text-light);
}


.about-image-wrapper {
    position: relative;
}


.about-image {
    height: 660px;

    object-fit: cover;
}


.about-image-card {
    position: absolute;

    left: -55px;
    bottom: 45px;

    width: 205px;

    padding: 28px;

    background: var(--green-dark);

    color: var(--white);
}


.about-image-card span {
    display: block;

    margin-bottom: 10px;

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 0.16em;

    opacity: 0.7;
}


.about-image-card strong {
    font-family: var(--font-title);

    font-size: 24px;

    line-height: 1.2;

    font-weight: 500;
}


/* =========================================================
   STATEMENT
========================================================= */

.statement {
    padding: 130px 0;

    background: var(--green-dark);

    color: var(--white);
}


.statement-content {
    max-width: 930px;

    margin: auto;

    text-align: center;
}


.statement-content > span {
    display: block;

    margin-bottom: 28px;

    color: #b1b48b;

    font-size: 11px;

    letter-spacing: 0.2em;
}


.statement h2 {
    font-family: var(--font-title);

    font-size: clamp(46px, 6vw, 80px);

    font-weight: 500;

    line-height: 1.15;
}


/* =========================================================
   AMENITIES
========================================================= */

.amenities {
    background: var(--white);
}


.section-header {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 80px;

    margin-bottom: 65px;
}


.section-header h2 {
    font-family: var(--font-title);

    font-size: clamp(42px, 5vw, 66px);

    line-height: 1.08;

    font-weight: 500;

    color: var(--green-dark);
}


.section-header > p {
    width: 430px;

    color: var(--text-light);

    line-height: 1.8;
}


.amenities-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}


.amenity-card {
    position: relative;

    min-height: 330px;

    padding: 36px;

    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);

    transition: var(--transition);
}


.amenity-card:hover {
    background: var(--cream);

    transform: translateY(-4px);
}


.amenity-number {
    position: absolute;

    right: 30px;
    top: 30px;

    font-size: 11px;

    color: var(--olive);
}


.amenity-icon {
    margin-bottom: 50px;

    font-size: 35px;
}


.amenity-card h3 {
    margin-bottom: 15px;

    font-family: var(--font-title);

    font-size: 27px;
    font-weight: 500;

    color: var(--green-dark);
}


.amenity-card p {
    max-width: 300px;

    font-size: 14px;

    line-height: 1.8;

    color: var(--text-light);
}


/* =========================================================
   FEATURED IMAGE
========================================================= */

.featured-image {
    height: 780px;

    position: relative;

    overflow: hidden;
}


.featured-image > img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


.featured-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(10, 20, 13, 0.75),
            rgba(10, 20, 13, 0.05)
        );
}


.featured-content {
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    color: var(--white);
}


.featured-content span {
    display: block;

    margin-bottom: 25px;

    font-size: 11px;

    letter-spacing: 0.2em;
}


.featured-content h2 {
    font-family: var(--font-title);

    font-size: clamp(52px, 6vw, 88px);

    line-height: 1.02;

    font-weight: 500;
}


/* =========================================================
   GALERÍA
========================================================= */

.gallery {
    background: var(--cream);
}


.gallery-header {
    max-width: 730px;

    margin-bottom: 60px;
}


.gallery-header h2 {
    font-family: var(--font-title);

    font-size: clamp(44px, 5vw, 68px);

    line-height: 1.08;

    font-weight: 500;

    color: var(--green-dark);
}


.gallery-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    grid-auto-rows: 360px;

    gap: 12px;
}


.gallery-item {
    overflow: hidden;
}


.gallery-item img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.7s ease;
}


.gallery-item:hover img {
    transform: scale(1.04);
}


.gallery-large {
    grid-row: span 2;
}


.gallery-wide {
    grid-column: span 2;
}


/* =========================================================
   LOCATION
========================================================= */

.location {
    background: var(--white);
}


.location-grid {
    display: grid;

    grid-template-columns: 0.8fr 1.2fr;

    gap: 90px;

    align-items: stretch;
}


.location-info {
    padding: 30px 0;
}


.location-info h2 {
    font-family: var(--font-title);

    font-size: clamp(45px, 5vw, 66px);

    line-height: 1.05;

    font-weight: 500;

    color: var(--green-dark);
}


.location-info > p {
    margin-top: 30px;

    max-width: 480px;

    color: var(--text-light);

    line-height: 1.9;
}


.location-details {
    margin: 45px 0;
}


.location-detail {
    padding: 18px 0;

    border-bottom: 1px solid var(--border);
}


.location-detail:first-child {
    border-top: 1px solid var(--border);
}


.location-detail span {
    display: block;

    margin-bottom: 4px;

    font-size: 11px;

    color: var(--olive);

    text-transform: uppercase;

    letter-spacing: 0.1em;
}


.location-detail strong {
    font-size: 15px;

    font-weight: 500;
}


.map-wrapper {
    min-height: 610px;

    overflow: hidden;
}


.map-wrapper iframe {
    width: 100%;
    height: 100%;

    min-height: 610px;
}


/* =========================================================
   FINAL CTA
========================================================= */

.final-section {
    min-height: 700px;

    position: relative;

    display: flex;
    align-items: center;

    overflow: hidden;

    color: var(--white);
}


.final-background {
    position: absolute;

    inset: 0;
}


.final-background img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


.final-overlay {
    position: absolute;

    inset: 0;

    background: rgba(9, 20, 12, 0.58);
}


.final-content {
    position: relative;

    z-index: 3;

    text-align: center;
}


.final-content > span {
    display: block;

    margin-bottom: 25px;

    font-size: 11px;

    letter-spacing: 0.22em;
}


.final-content h2 {
    font-family: var(--font-title);

    font-size: clamp(50px, 6vw, 85px);

    line-height: 1.08;

    font-weight: 500;

    margin-bottom: 40px;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    background: #101812;

    color: rgba(255, 255, 255, 0.76);
}


.footer-main {
    padding: 80px 0;

    display: grid;

    grid-template-columns: 2fr 1fr 1fr;

    gap: 100px;
}


.footer-logo {
    color: var(--white);
}


.footer-brand p {
    max-width: 380px;

    margin-top: 25px;

    font-size: 14px;

    line-height: 1.8;

    color: rgba(255, 255, 255, 0.6);
}


.footer-navigation,
.footer-social {
    display: flex;

    flex-direction: column;

    gap: 12px;
}


.footer-navigation strong,
.footer-social strong {
    margin-bottom: 8px;

    color: var(--white);

    font-size: 13px;
}


.footer-navigation a,
.footer-social a,
.footer-social span {
    font-size: 13px;

    color: rgba(255, 255, 255, 0.6);
}


.footer-navigation a:hover,
.footer-social a:hover {
    color: var(--white);
}


.footer-bottom {
    padding: 24px 0;

    border-top: 1px solid rgba(255, 255, 255, 0.12);

    display: flex;

    justify-content: space-between;

    font-size: 12px;

    color: rgba(255, 255, 255, 0.45);
}


.footer-bottom a:hover {
    color: var(--white);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1024px) {

    .navigation {
        display: none;
    }


    .about-grid {
        grid-template-columns: 1fr;

        gap: 60px;
    }


    .about-image-wrapper {
        max-width: 750px;
    }


    .about-image-card {
        left: 30px;
    }


    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    .location-grid {
        grid-template-columns: 1fr;
    }


    .map-wrapper {
        min-height: 500px;
    }


    .footer-main {
        grid-template-columns: 1.5fr 1fr 1fr;

        gap: 50px;
    }

}



@media (max-width: 768px) {

    .section {
        padding: 85px 0;
    }


    .header-container {
        height: 85px;
    }


    .brand-logo {
        width: 52px;
        height: 52px;
    }


    .btn-header {
        display: none;
    }


    .hero {
        min-height: 880px;

        align-items: flex-start;

        padding-top: 190px;

        background-position: center;
    }


    .hero h1 {
        font-size: 58px;
    }


    .hero-content > p {
        font-size: 16px;
    }


    .hero-actions {
        flex-direction: column;

        align-items: flex-start;
    }


    .hero-actions .btn {
        width: 100%;
    }


    .hero-data {
        grid-template-columns: repeat(2, 1fr);
    }


    .hero-data-item {
        padding: 17px;
    }


    .about-features {
        grid-template-columns: 1fr;
    }


    .about-image {
        height: 480px;
    }


    .about-image-card {
        left: 20px;
        bottom: 20px;
    }


    .section-header {
        flex-direction: column;

        align-items: flex-start;

        gap: 25px;
    }


    .section-header > p {
        width: 100%;
    }


    .amenities-grid {
        grid-template-columns: 1fr;
    }


    .amenity-card {
        min-height: auto;

        padding: 30px;
    }


    .amenity-icon {
        margin-bottom: 30px;
    }


    .featured-image {
        height: 600px;
    }


    .gallery-grid {
        grid-template-columns: 1fr;

        grid-auto-rows: 330px;
    }


    .gallery-large,
    .gallery-wide {
        grid-row: auto;
        grid-column: auto;
    }


    .map-wrapper,
    .map-wrapper iframe {
        min-height: 430px;
    }


    .final-section {
        min-height: 580px;
    }


    .footer-main {
        grid-template-columns: 1fr;

        gap: 50px;
    }


    .footer-bottom {
        flex-direction: column;

        gap: 10px;
    }

}



@media (max-width: 480px) {

    .container {
        width: 88%;
    }


    .hero h1 {
        font-size: 48px;
    }


    .hero {
        min-height: 900px;
    }


    .hero-data-item strong {
        font-size: 15px;
    }


    .about-content h2,
    .section-header h2,
    .gallery-header h2,
    .location-info h2 {
        font-size: 40px;
    }


    .statement h2 {
        font-size: 43px;
    }


    .featured-content h2 {
        font-size: 48px;
    }


    .final-content h2 {
        font-size: 46px;
    }

}