/*==================================================
    RESET
==================================================*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    color: #222;
    background: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    display: block;
    width: 100%;
    max-width: 100%;
}

button,
input,
textarea,
select {
    font: inherit;
}


/*==================================================
    VARIABLES
==================================================*/

:root {

    --gold: #C5A46D;
    --gold-hover: #ad8b53;

    --black: #181818;
    --dark: #222222;

    --white: #ffffff;

    --gray: #666666;
    --light-gray: #f7f7f7;

    --border: #e1e1e1;

    --shadow:
        0 18px 45px rgba(0, 0, 0, .07);

}


/*==================================================
    CONTENEDOR
==================================================*/

.container {

    width: min(90%, 1300px);

    margin: auto;

}

section {

    padding: 110px 0;

}


/*==================================================
    BOTONES
==================================================*/

.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 16px 34px;

    border: none;

    border-radius: 40px;

    background: var(--gold);

    color: var(--white);

    font-weight: 600;

    cursor: pointer;

    transition: .35s;

}

.btn:hover {

    background: var(--gold-hover);

    transform: translateY(-3px);

    box-shadow:
        0 10px 25px rgba(197, 164, 109, .25);

}

.btn:disabled {

    opacity: .7;

    cursor: not-allowed;

    transform: none;

}


/*==================================================
    BOTÓN OUTLINE
==================================================*/

.btn-outline {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 15px 34px;

    border: 1px solid var(--white);

    border-radius: 40px;

    color: var(--white);

    font-weight: 600;

    transition: .35s;

}

.btn-outline:hover {

    background: var(--white);

    color: var(--black);

    transform: translateY(-3px);

}


/*==================================================
    HERO
==================================================*/

.hero {

    position: relative;

    display: flex;

    align-items: center;

    width: 100%;

    min-height: 100vh;

    background:
        url("../assets/img/hero.jpg")
        center / cover no-repeat;

}

.overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.72),
            rgba(0,0,0,.38)
        );

}

.hero-content {

    position: relative;

    z-index: 2;

    width: min(90%, 1300px);

    margin: auto;

    color: var(--white);

}

.subtitle {

    display: inline-block;

    margin-bottom: 18px;

    color: var(--gold);

    font-size: 14px;

    font-weight: 700;

    letter-spacing: 4px;

}

.hero h1 {

    max-width: 800px;

    font-size: clamp(48px, 7vw, 82px);

    line-height: 1.05;

    font-weight: 700;

}

.hero p {

    max-width: 700px;

    margin: 30px 0;

    color: rgba(255,255,255,.9);

    font-size: 19px;

    line-height: 1.8;

}

.hero-buttons {

    display: flex;

    align-items: center;

    gap: 18px;

    flex-wrap: wrap;

}


/*==================================================
    TÍTULOS DE SECCIÓN
==================================================*/

.section-title {

    max-width: 850px;

    margin: 0 auto 65px;

    text-align: center;

}

.section-title span {

    display: inline-block;

    margin-bottom: 14px;

    color: var(--gold);

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 4px;

}

.section-title h2 {

    margin-bottom: 20px;

    color: var(--black);

    font-size: clamp(32px, 4vw, 48px);

    line-height: 1.2;

}

.section-title p {

    color: var(--gray);

    font-size: 16px;

    line-height: 1.85;

}


/*==================================================
    DATOS DEL DESARROLLO
==================================================*/

.project-stats {

    background: var(--white);

}

.stats-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 24px;

}

.stat-card {

    position: relative;

    padding: 42px 28px;

    overflow: hidden;

    border: 1px solid rgba(197,164,109,.28);

    border-radius: 20px;

    background: var(--white);

    text-align: center;

    box-shadow: var(--shadow);

    transition: .35s;

}

.stat-card::before {

    content: "";

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 4px;

    background: var(--gold);

}

.stat-card:hover {

    transform: translateY(-8px);

    box-shadow:
        0 25px 55px rgba(0,0,0,.10);

}

.stat-number {

    margin-bottom: 14px;

    color: var(--gold);

    font-size: 34px;

    font-weight: 800;

    line-height: 1.2;

}

.stat-card h3 {

    margin-bottom: 12px;

    color: var(--black);

    font-size: 20px;

}

.stat-card p {

    color: var(--gray);

    font-size: 14px;

    line-height: 1.7;

}


/*==================================================
    ABOUT
==================================================*/

.about-project {

    background: var(--light-gray);

}

.about-container {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 80px;

    align-items: center;

}

.about-image {

    overflow: hidden;

    border-radius: 22px;

    box-shadow:
        0 25px 60px rgba(0,0,0,.12);

}

.about-image img {

    transition: .5s;

}

.about-image:hover img {

    transform: scale(1.04);

}

.section-label {

    display: inline-block;

    margin-bottom: 18px;

    color: var(--gold);

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 4px;

}

.about-content h2 {

    margin-bottom: 25px;

    color: var(--black);

    font-size: clamp(34px, 4vw, 52px);

    line-height: 1.2;

}

.about-content p {

    margin-bottom: 22px;

    color: var(--gray);

    font-size: 16px;

    line-height: 1.9;

}


/*==================================================
    CARACTERÍSTICAS
==================================================*/

.project-features {

    background: var(--white);

}

.features-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;

}

.feature-card {

    position: relative;

    min-height: 260px;

    padding: 38px 34px;

    overflow: hidden;

    border: 1px solid #ededed;

    border-radius: 20px;

    background: var(--white);

    box-shadow:
        0 12px 35px rgba(0,0,0,.045);

    transition: .35s;

}

.feature-card:hover {

    transform: translateY(-7px);

    border-color:
        rgba(197,164,109,.45);

    box-shadow:
        0 20px 50px rgba(0,0,0,.09);

}

.feature-card::after {

    content: "";

    position: absolute;

    right: -45px;

    bottom: -45px;

    width: 130px;

    height: 130px;

    border: 1px solid rgba(197,164,109,.22);

    border-radius: 50%;

}

.feature-number {

    display: block;

    margin-bottom: 24px;

    color: var(--gold);

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 3px;

}

.feature-card h3 {

    margin-bottom: 16px;

    color: var(--black);

    font-size: 22px;

    line-height: 1.3;

}

.feature-card p {

    color: var(--gray);

    font-size: 15px;

    line-height: 1.8;

}


/*==================================================
    UBICACIÓN
==================================================*/

.location {

    background: var(--black);

}

.location .section-title h2 {

    color: var(--white);

}

.location .section-title p {

    color: rgba(255,255,255,.65);

}

.location-content {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 60px;

    align-items: stretch;

}

.location-text {

    display: flex;

    flex-direction: column;

    justify-content: center;

}

.location-text h3 {

    margin-bottom: 20px;

    color: var(--white);

    font-size: 34px;

}

.location-text p {

    margin-bottom: 30px;

    color: rgba(255,255,255,.65);

    font-size: 16px;

    line-height: 1.9;

}

.location-list {

    display: flex;

    gap: 12px;

    flex-wrap: wrap;

}

.location-list span {

    padding: 10px 16px;

    border: 1px solid rgba(197,164,109,.4);

    border-radius: 30px;

    color: var(--gold);

    font-size: 13px;

    font-weight: 600;

}

.location-map {

    min-height: 390px;

    overflow: hidden;

    border-radius: 22px;

    background:
        linear-gradient(
            135deg,
            #292929,
            #151515
        );

}

.map-placeholder {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    width: 100%;

    height: 100%;

    min-height: 390px;

    text-align: center;

}

.map-placeholder span {

    margin-bottom: 12px;

    color: var(--gold);

    font-size: 28px;

    font-weight: 700;

}

.map-placeholder p {

    color: rgba(255,255,255,.65);

}


/*==================================================
    GALERÍA
==================================================*/

.gallery {

    background: var(--light-gray);

}

.gallery-grid {

    display: grid;

    grid-template-columns:
        2fr 1fr 1fr;

    grid-template-rows:
        280px 280px;

    gap: 18px;

}

.gallery-item {

    position: relative;

    overflow: hidden;

    border-radius: 18px;

    cursor: pointer;

}

.gallery-item img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: .5s;

}

.gallery-item:hover img {

    transform: scale(1.07);

}

.gallery-item.large {

    grid-row:
        1 / 3;

}


/*==================================================
    ESPACIOS
==================================================*/

.spaces {

    background: var(--white);

}

.spaces-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 35px;

}

.space-card {

    overflow: hidden;

    border: 1px solid #ededed;

    border-radius: 22px;

    background: var(--white);

    box-shadow:
        0 18px 50px rgba(0,0,0,.07);

    transition: .35s;

}

.space-card:hover {

    transform: translateY(-8px);

    box-shadow:
        0 25px 60px rgba(0,0,0,.11);

}

.space-card > img {

    width: 100%;

    height: 330px;

    object-fit: cover;

}

.space-content {

    padding: 38px;

}

.space-content .section-label {

    margin-bottom: 12px;

}

.space-content h3 {

    margin-bottom: 16px;

    color: var(--black);

    font-size: 30px;

    line-height: 1.25;

}

.space-content > p {

    margin-bottom: 25px;

    color: var(--gray);

    line-height: 1.8;

}


/*==================================================
    PRECIO DE PROPIEDAD
==================================================*/

.property-price {

    display: flex;

    flex-direction: column;

    margin: 25px 0;

    padding: 20px;

    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            #faf8f4,
            #f5f1e9
        );

    border-left: 4px solid var(--gold);

}

.property-price small {

    margin-bottom: 7px;

    color: var(--gray);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;

}

.property-price strong {

    color: var(--black);

    font-size: 25px;

    font-weight: 800;

}


/*==================================================
    DATOS DE LA PROPIEDAD
==================================================*/

.property-details {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 12px;

    margin-bottom: 28px;

}

.property-details > div {

    display: flex;

    flex-direction: column;

    padding: 17px;

    border: 1px solid #e8e8e8;

    border-radius: 12px;

    background: var(--white);

}

.property-details strong {

    margin-bottom: 5px;

    color: var(--black);

    font-size: 17px;

}

.property-details span {

    color: var(--gray);

    font-size: 11px;

    line-height: 1.4;

}


/*==================================================
    CARACTERÍSTICAS DE LA PROPIEDAD
==================================================*/

.space-content ul {

    margin: 0 0 30px;

    padding: 0;

    list-style: none;

}

.space-content li {

    padding: 9px 0;

    border-bottom: 1px solid #eeeeee;

    color: var(--gray);

    font-size: 14px;

    line-height: 1.5;

}

.space-content li:last-child {

    border-bottom: none;

}


/*==================================================
    CTA FINAL
==================================================*/

.final-cta {

    background:
        linear-gradient(
            135deg,
            #1a1a1a,
            #282828
        );

}

.final-cta .section-title {

    margin-bottom: 0;

}

.final-cta .section-title h2 {

    color: var(--white);

}

.final-cta .section-title p {

    color: rgba(255,255,255,.7);

}


/*==================================================
    MODAL
==================================================*/

.modal {

    position: fixed;

    inset: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 25px;

    background:
        rgba(0,0,0,.78);

    opacity: 0;

    visibility: hidden;

    transition: .35s;

    z-index: 99999;

}

.modal.active {

    opacity: 1;

    visibility: visible;

}

.modal-content {

    position: relative;

    width: min(94%, 700px);

    max-height: 90vh;

    padding: 45px;

    overflow-y: auto;

    border-radius: 22px;

    background: var(--white);

    box-shadow:
        0 30px 90px rgba(0,0,0,.3);

}


/*==================================================
    BOTÓN CERRAR MODAL
==================================================*/

.close-modal {

    position: absolute;

    top: 15px;

    right: 20px;

    width: 40px;

    height: 40px;

    border: none;

    background: transparent;

    color: var(--gray);

    font-size: 34px;

    line-height: 1;

    cursor: pointer;

    transition: .3s;

}

.close-modal:hover {

    color: var(--gold);

    transform: rotate(90deg);

}


/*==================================================
    HEADER DEL MODAL
==================================================*/

.modal-header {

    margin-bottom: 35px;

    text-align: center;

}

.modal-header span {

    display: inline-block;

    margin-bottom: 12px;

    color: var(--gold);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 3px;

}

.modal-header h2 {

    margin-bottom: 15px;

    color: var(--black);

    font-size: 36px;

    line-height: 1.2;

}

.modal-header p {

    color: var(--gray);

    font-size: 15px;

    line-height: 1.7;

}


/*==================================================
    FORMULARIO
==================================================*/

.contact-form {

    display: flex;

    flex-direction: column;

    gap: 17px;

}

.contact-form input,
.contact-form select,
.contact-form textarea {

    width: 100%;

    padding: 16px 17px;

    border: 1px solid var(--border);

    border-radius: 11px;

    outline: none;

    background: var(--white);

    color: var(--black);

    font-size: 14px;

    transition: .3s;

}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {

    border-color: var(--gold);

    box-shadow:
        0 0 0 3px
        rgba(197,164,109,.13);

}

.contact-form input[readonly] {

    background: #f5f5f5;

    color: #777;

    cursor: default;

}

.contact-form textarea {

    min-height: 120px;

    resize: vertical;

}


/*==================================================
    CAMPOS DE CRÉDITO
==================================================*/

#creditFields {

    display: none;

    flex-direction: column;

    gap: 17px;

}

#creditFields.active {

    display: flex;

}


/*==================================================
    OTRO CRÉDITO
==================================================*/

#otherCredit {

    display: block;

}


/*==================================================
    CHECKBOX
==================================================*/

.checkbox {

    display: flex;

    align-items: flex-start;

    gap: 10px;

    color: var(--gray);

    font-size: 12px;

    line-height: 1.6;

}

.checkbox input {

    width: 18px;

    min-width: 18px;

    height: 18px;

    margin-top: 2px;

    accent-color: var(--gold);

}


/*==================================================
    BOTÓN DEL FORMULARIO
==================================================*/

.contact-form .btn {

    width: 100%;

    margin-top: 5px;

}


/*==================================================
    SCROLLBAR DEL MODAL
==================================================*/

.modal-content::-webkit-scrollbar {

    width: 7px;

}

.modal-content::-webkit-scrollbar-track {

    background: #f3f3f3;

}

.modal-content::-webkit-scrollbar-thumb {

    background: var(--gold);

    border-radius: 20px;

}


/*==================================================
    UTILIDADES
==================================================*/

.hidden {

    display: none !important;

}

.show {

    display: block !important;

}

.show-flex {

    display: flex !important;

}

.pointer {

    cursor: pointer;

}

.mt-20 {

    margin-top: 20px;

}

.mt-40 {

    margin-top: 40px;

}

.mb-20 {

    margin-bottom: 20px;

}

.mb-40 {

    margin-bottom: 40px;

}


/*==================================================
    SELECCIÓN
==================================================*/

::selection {

    background: var(--gold);

    color: var(--white);

}


/*==================================================
    ANIMACIÓN
==================================================*/

@keyframes fadeIn {

    from {

        opacity: 0;

        transform: translateY(20px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}

.fade-in {

    animation:
        fadeIn .6s ease;

}


/*==================================================
    RESPONSIVE BÁSICO
==================================================*/

@media (max-width: 1100px) {

    .stats-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

    .features-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

    .about-container {

        gap: 45px;

    }

    .location-content {

        gap: 35px;

    }

}


@media (max-width: 800px) {

    section {

        padding: 80px 0;

    }

    .hero {

        min-height: 750px;

    }

    .hero h1 {

        font-size: 52px;

    }

    .hero p {

        font-size: 16px;

    }

    .benefits-grid,
    .stats-grid,
    .features-grid,
    .spaces-grid,
    .about-container,
    .location-content {

        grid-template-columns: 1fr;

    }

    .about-image {

        order: 2;

    }

    .about-content {

        order: 1;

    }

    .gallery-grid {

        grid-template-columns:
            1fr 1fr;

        grid-template-rows:
            250px 250px 250px;

    }

    .gallery-item.large {

        grid-column:
            1 / 3;

        grid-row:
            auto;

    }

}


@media (max-width: 550px) {

    section {

        padding: 65px 0;

    }

    .container {

        width: 92%;

    }

    .hero {

        min-height: 680px;

    }

    .hero h1 {

        font-size: 43px;

    }

    .hero-buttons {

        flex-direction: column;

        align-items: stretch;

    }

    .hero-buttons .btn,
    .hero-buttons .btn-outline {

        width: 100%;

        text-align: center;

    }

    .section-title {

        margin-bottom: 45px;

    }

    .section-title h2 {

        font-size: 31px;

    }

    .stat-card {

        padding: 32px 22px;

    }

    .feature-card {

        min-height: auto;

        padding: 32px 26px;

    }

    .space-content {

        padding: 28px 22px;

    }

    .space-content h3 {

        font-size: 26px;

    }

    .property-details {

        grid-template-columns: 1fr;

    }

    .property-price strong {

        font-size: 21px;

    }

    .gallery-grid {

        display: flex;

        flex-direction: column;

    }

    .gallery-item,
    .gallery-item.large {

        height: 250px;

    }

    .modal {

        padding: 12px;

    }

    .modal-content {

        width: 100%;

        padding: 32px 20px;

        max-height: 94vh;

    }

    .modal-header h2 {

        font-size: 29px;

    }

}