/*==================================================
    VARIABLES
==================================================*/

:root{

    --primary:#B5965A;
    --primary-dark:#8C703E;

    --secondary:#687064;

    --dark:#202321;
    --dark-soft:#343834;

    --text:#565B56;
    --muted:#858A84;

    --background:#F2F0EA;
    --section:#F8F7F3;

    --white:#FFFFFF;

    --border:#DDD9CF;
    --soft:#E8E5DC;

    --gold-light:#C6AE79;

    --shadow:
        0 18px 45px rgba(32,35,33,.09);

    --shadow-heavy:
        0 30px 70px rgba(25,28,26,.18);

}


/*==================================================
    RESET
==================================================*/

*{

    margin:0;
    padding:0;

    box-sizing:border-box;

}


html{

    scroll-behavior:smooth;

}


body{

    font-family:'Montserrat',sans-serif;

    background:var(--white);

    color:var(--text);

    overflow-x:hidden;

}


img{

    display:block;

    width:100%;

}


a{

    color:inherit;

    text-decoration:none;

}


button,
input,
select,
textarea{

    font-family:inherit;

}


button{

    cursor:pointer;

}


/*==================================================
    CONTAINER
==================================================*/

.container{

    width:90%;

    max-width:1220px;

    margin:auto;

}


/*==================================================
    SECTIONS
==================================================*/

section{

    padding:110px 0;

}


.section-header{

    max-width:850px;

    margin:0 auto 60px;

    text-align:center;

}


.section-header span{

    display:block;

    margin-bottom:18px;

    color:var(--primary);

    font-size:.68rem;

    font-weight:700;

    letter-spacing:4px;

    text-transform:uppercase;

}


.section-header h2{

    color:var(--dark);

    font-family:'Cormorant Garamond',serif;

    font-size:3.25rem;

    line-height:1.05;

    font-weight:600;

}


.section-header p{

    max-width:700px;

    margin:22px auto 0;

    color:var(--muted);

    font-size:.9rem;

    line-height:1.9;

}


/*==================================================
    HERO
==================================================*/

.hero{

    min-height:100vh;

    position:relative;

    display:flex;

    align-items:center;

    overflow:hidden;

    background:

        linear-gradient(

            120deg,

            #F6F4EE 0%,

            #F6F4EE 62%,

            #E8E4D9 100%

        );

}


.hero .overlay{

    position:absolute;

    inset:0;

    background:

        radial-gradient(

            circle at 85% 30%,

            rgba(181,150,90,.10),

            transparent 35%

        );

}


.hero::before{

    content:"";

    position:absolute;

    width:600px;

    height:600px;

    right:-270px;

    top:-220px;

    border:1px solid rgba(181,150,90,.28);

    transform:rotate(45deg);

}


.hero::after{

    content:"";

    position:absolute;

    width:280px;

    height:280px;

    left:-170px;

    bottom:-170px;

    border:1px solid rgba(104,112,100,.22);

    transform:rotate(45deg);

}


.hero .container{

    position:relative;

    z-index:2;

}


.hero-content{

    max-width:800px;

}


.hero-content span{

    display:inline-block;

    margin-bottom:25px;

    color:var(--primary-dark);

    font-size:.72rem;

    font-weight:700;

    letter-spacing:5px;

}


.hero-content h1{

    margin-bottom:25px;

    color:var(--dark);

    font-family:'Cormorant Garamond',serif;

    font-size:7rem;

    line-height:.82;

    font-weight:600;

    letter-spacing:-2px;

}


.hero-content p{

    max-width:700px;

    margin-bottom:40px;

    color:var(--text);

    font-size:.98rem;

    line-height:2;

}


.hero-buttons{

    display:flex;

    align-items:center;

    gap:14px;

    flex-wrap:wrap;

}


/*==================================================
    BUTTONS
==================================================*/

.btn{

    min-height:50px;

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:14px 30px;

    background:var(--dark);

    border:1px solid var(--dark);

    color:var(--white);

    font-size:.75rem;

    font-weight:600;

    letter-spacing:.4px;

    transition:.3s ease;

}


.btn:hover{

    background:var(--primary);

    border-color:var(--primary);

    transform:translateY(-2px);

}


.btn-outline{

    min-height:50px;

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:14px 30px;

    background:transparent;

    border:1px solid var(--dark);

    color:var(--dark);

    font-size:.75rem;

    font-weight:600;

    letter-spacing:.4px;

    transition:.3s ease;

}


.btn-outline:hover{

    background:var(--dark);

    color:var(--white);

    transform:translateY(-2px);

}


/*==================================================
    ABOUT
==================================================*/

.about{

    background:var(--white);

}


.about-content{

    display:grid;

    grid-template-columns:1.05fr .95fr;

    gap:85px;

    align-items:center;

}


.about-text{

    display:flex;

    flex-direction:column;

    gap:22px;

}


.about-text p{

    color:var(--text);

    font-size:.94rem;

    line-height:2;

}


.about-image{

    position:relative;

}


.about-image::before{

    content:"";

    position:absolute;

    width:75px;

    height:75px;

    top:-16px;

    left:-16px;

    border-top:2px solid var(--primary);

    border-left:2px solid var(--primary);

    z-index:0;

}


.about-image::after{

    content:"";

    position:absolute;

    width:75px;

    height:75px;

    right:-16px;

    bottom:-16px;

    border-right:1px solid var(--secondary);

    border-bottom:1px solid var(--secondary);

    z-index:0;

}


.about-image img{

    position:relative;

    z-index:1;

    height:470px;

    object-fit:cover;

    box-shadow:var(--shadow);

}


/*==================================================
    BENEFITS
==================================================*/

.benefits{

    background:var(--background);

}


.benefits-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:18px;

}


.benefit-card{

    position:relative;

    padding:42px 28px;

    background:var(--white);

    border:1px solid var(--border);

    text-align:center;

    transition:.35s ease;

}


.benefit-card::before{

    content:"";

    position:absolute;

    top:0;

    left:0;

    width:100%;

    height:2px;

    background:var(--primary);

    transform:scaleX(0);

    transform-origin:left;

    transition:.35s ease;

}


.benefit-card:hover{

    transform:translateY(-6px);

    box-shadow:var(--shadow);

}


.benefit-card:hover::before{

    transform:scaleX(1);

}


.benefit-icon{

    width:60px;

    height:60px;

    display:flex;

    align-items:center;

    justify-content:center;

    margin:0 auto 22px;

    border:1px solid rgba(181,150,90,.45);

    color:var(--primary);

    font-size:1.25rem;

}


.benefit-card h3{

    margin-bottom:12px;

    color:var(--dark);

    font-family:'Cormorant Garamond',serif;

    font-size:1.45rem;

    font-weight:600;

}


.benefit-card p{

    color:var(--muted);

    font-size:.82rem;

    line-height:1.8;

}


/*==================================================
    GALLERY
==================================================*/

.gallery{

    background:var(--white);

}


.gallery-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:15px;

}


.gallery-item{

    position:relative;

    height:290px;

    overflow:hidden;

    background:var(--soft);

    cursor:pointer;

}


.gallery-item::after{

    content:"";

    position:absolute;

    inset:0;

    background:rgba(32,35,33,.10);

    opacity:0;

    transition:.35s ease;

}


.gallery-item img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.6s ease;

}


.gallery-item:hover img{

    transform:scale(1.05);

}


.gallery-item:hover::after{

    opacity:1;

}


/*==================================================
    SPACES / TORRES
==================================================*/

.spaces{

    background:var(--background);

}


.towers-grid{

    display:flex;

    flex-direction:column;

    gap:30px;

}


/*==================================================
    TORRE
==================================================*/

.tower-block{

    position:relative;

    overflow:hidden;

    background:var(--white);

    border:1px solid var(--border);

    box-shadow:0 8px 30px rgba(30,34,31,.04);

}


.tower-block::before{

    content:"";

    position:absolute;

    top:0;

    left:0;

    width:100%;

    height:3px;

    background:var(--primary);

}


/*==================================================
    TORRE HEADER
==================================================*/

.tower-header{

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:40px;

    padding:35px 38px;

    border-bottom:1px solid var(--border);

}


.tower-title{

    display:flex;

    align-items:center;

    gap:18px;

}


.tower-icon{

    width:58px;

    height:58px;

    display:flex;

    align-items:center;

    justify-content:center;

    border:1px solid var(--border);

    color:var(--primary);

    flex-shrink:0;

}


.tower-icon i{

    font-size:1.3rem;

}


.tower-title span{

    display:block;

    margin-bottom:5px;

    color:var(--primary);

    font-size:.62rem;

    font-weight:700;

    letter-spacing:3px;

    text-transform:uppercase;

}


.tower-title h3{

    color:var(--dark);

    font-family:'Cormorant Garamond',serif;

    font-size:2.25rem;

    line-height:1;

    font-weight:600;

}


.tower-description{

    max-width:420px;

    color:var(--muted);

    font-size:.8rem;

    line-height:1.8;

    text-align:right;

}


/*==================================================
    DATOS GENERALES DE TORRE
==================================================*/

.tower-general-details{

    display:flex;

    align-items:center;

    flex-wrap:wrap;

    gap:0;

    padding:18px 38px;

    background:#FAF9F6;

    border-bottom:1px solid var(--border);

}


.tower-general-details span{

    display:flex;

    align-items:center;

    gap:8px;

    padding:0 22px;

    color:var(--muted);

    font-size:.74rem;

    border-right:1px solid var(--border);

}


.tower-general-details span:first-child{

    padding-left:0;

}


.tower-general-details span:last-child{

    border-right:none;

}


.tower-general-details i{

    color:var(--primary);

    font-size:.8rem;

}


/*==================================================
    UNIDADES
==================================================*/

.units-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:15px;

    padding:28px 30px 32px;

}


/*==================================================
    UNIDAD
==================================================*/

.unit-card{

    position:relative;

    display:flex;

    flex-direction:column;

    min-height:280px;

    padding:22px;

    background:var(--white);

    border:1px solid var(--border);

    transition:.35s ease;

}


.unit-card:hover{

    transform:translateY(-5px);

    box-shadow:var(--shadow);

}


.unit-card.available{

    border-top:3px solid var(--primary);

}


.unit-card.sold{

    opacity:.7;

    border-top:3px solid #999;

}


/*==================================================
    UNIDAD HEADER
==================================================*/

.unit-card-top{

    display:flex;

    align-items:center;

    justify-content:space-between;

    margin-bottom:18px;

}


.unit-label{

    color:var(--muted);

    font-size:.58rem;

    font-weight:700;

    letter-spacing:2px;

}


.unit-number{

    color:var(--primary-dark);

    font-family:'Cormorant Garamond',serif;

    font-size:1.7rem;

    font-weight:600;

}


/*==================================================
    PRECIO
==================================================*/

.unit-price{

    margin-bottom:20px;

    color:var(--dark);

    font-size:1.05rem;

    font-weight:700;

}


/*==================================================
    DATOS UNIDAD
==================================================*/

.unit-details{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:10px;

    padding:15px 0;

    margin-bottom:15px;

    border-top:1px solid var(--border);

    border-bottom:1px solid var(--border);

}


.unit-details span{

    display:flex;

    align-items:center;

    gap:7px;

    color:var(--muted);

    font-size:.67rem;

}


.unit-details i{

    color:var(--primary);

    font-size:.72rem;

}


/*==================================================
    ESTADO
==================================================*/

.unit-status{

    display:flex;

    align-items:center;

    gap:7px;

    margin-bottom:17px;

    color:var(--secondary);

    font-size:.62rem;

    font-weight:700;

    letter-spacing:1.5px;

    text-transform:uppercase;

}


.unit-status i{

    color:#75806F;

    font-size:.42rem;

}


/*==================================================
    BOTÓN UNIDAD
==================================================*/

.unit-card .btn{

    width:100%;

    margin-top:auto;

    min-height:44px;

    padding:11px 15px;

    font-size:.68rem;

}


/*==================================================
    TORRE SIN UNIDADES
==================================================*/

.tower-empty{

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:center;

    padding:50px 30px;

    text-align:center;

}


.tower-empty > i{

    margin-bottom:18px;

    color:var(--primary);

    font-size:2rem;

}


.tower-empty p{

    max-width:500px;

    margin-bottom:25px;

    color:var(--muted);

    font-size:.82rem;

    line-height:1.8;

}


/*==================================================
    CONTACTO
==================================================*/

.contact{

    position:relative;

    overflow:hidden;

    background:

        linear-gradient(

            135deg,

            #F7F5F0 0%,

            #E9E5DB 100%

        );

}


.contact::before{

    content:"";

    position:absolute;

    width:420px;

    height:420px;

    right:-220px;

    top:-220px;

    border:1px solid rgba(181,150,90,.22);

    transform:rotate(45deg);

}


.contact-content{

    position:relative;

    z-index:2;

    max-width:820px;

    margin:auto;

    text-align:center;

}


.contact-content span{

    display:block;

    margin-bottom:15px;

    color:var(--primary);

    font-size:.68rem;

    font-weight:700;

    letter-spacing:4px;

    text-transform:uppercase;

}


.contact-content h2{

    margin-bottom:20px;

    color:var(--dark);

    font-family:'Cormorant Garamond',serif;

    font-size:3.3rem;

    line-height:1;

    font-weight:600;

}


.contact-content p{

    max-width:680px;

    margin:0 auto 35px;

    color:var(--text);

    font-size:.88rem;

    line-height:1.9;

}


/*==================================================
    MODAL
==================================================*/

.modal{

    position:fixed;

    inset:0;

    z-index:9999;

    display:flex;

    align-items:center;

    justify-content:center;

    padding:20px;

    background:rgba(24,27,25,.78);

    opacity:0;

    visibility:hidden;

    transition:.35s ease;

}


.modal.active{

    opacity:1;

    visibility:visible;

}


.modal-content{

    position:relative;

    width:100%;

    max-width:650px;

    max-height:92vh;

    overflow-y:auto;

    padding:42px;

    background:var(--white);

    border-top:3px solid var(--primary);

    box-shadow:var(--shadow-heavy);

}


/*==================================================
    CERRAR MODAL
==================================================*/

.close-modal{

    position:absolute;

    top:17px;

    right:20px;

    width:36px;

    height:36px;

    display:flex;

    align-items:center;

    justify-content:center;

    padding:0;

    background:transparent;

    border:none;

    color:#888;

    font-size:1.7rem;

    line-height:1;

    transition:.25s ease;

}


.close-modal:hover{

    color:var(--dark);

}


/*==================================================
    MODAL HEADER
==================================================*/

.modal-header{

    padding-right:35px;

    margin-bottom:30px;

}


.modal-eyebrow{

    display:block;

    margin-bottom:12px;

    color:var(--primary);

    font-size:.64rem;

    font-weight:700;

    letter-spacing:3px;

}


.modal-content h2{

    margin-bottom:10px;

    color:var(--dark);

    font-family:'Cormorant Garamond',serif;

    font-size:2.35rem;

    line-height:1;

    font-weight:600;

}


.modal-header p{

    color:var(--muted);

    font-size:.8rem;

    line-height:1.7;

}


/*==================================================
    FORMULARIO
==================================================*/

.contact-form{

    display:flex;

    flex-direction:column;

    gap:19px;

}


.form-group{

    display:flex;

    flex-direction:column;

    gap:7px;

}


.form-group label{

    color:var(--dark);

    font-size:.7rem;

    font-weight:600;

}


.form-group label span{

    color:var(--primary);

}


.contact-form input,
.contact-form select,
.contact-form textarea{

    width:100%;

    padding:14px 15px;

    background:var(--white);

    border:1px solid var(--border);

    border-radius:0;

    color:var(--text);

    font-size:.82rem;

    transition:.3s ease;

}


.contact-form input::placeholder,
.contact-form textarea::placeholder{

    color:#A5A7A3;

}


.contact-form select{

    appearance:none;

    -webkit-appearance:none;

    padding-right:40px;

    background-image:

        linear-gradient(
            45deg,
            transparent 50%,
            #777 50%
        ),

        linear-gradient(
            135deg,
            #777 50%,
            transparent 50%
        );

    background-position:

        calc(100% - 17px) 20px,

        calc(100% - 12px) 20px;

    background-size:

        5px 5px,

        5px 5px;

    background-repeat:no-repeat;

}


.contact-form textarea{

    min-height:120px;

    resize:vertical;

}


.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus{

    outline:none;

    border-color:var(--primary);

    box-shadow:
        0 0 0 3px
        rgba(181,150,90,.08);

}


.contact-form button{

    width:100%;

    margin-top:4px;

}


/*==================================================
    CAMPOS DE CRÉDITO
==================================================*/

#creditFields{

    display:none;

    flex-direction:column;

    gap:19px;

}


#creditFields.active{

    display:flex;

}


#otherCreditGroup{

    display:none;

}


/*==================================================
    FOOTER
==================================================*/

footer{

    padding:55px 0 35px;

    background:var(--dark);

    color:var(--white);

    text-align:center;

}


footer p{

    margin-bottom:16px;

    color:#D8D4CC;

    font-size:.78rem;

    letter-spacing:2px;

}


footer small{

    color:#898E89;

    font-size:.65rem;

}


/*==================================================
    SCROLLBAR MODAL
==================================================*/

.modal-content::-webkit-scrollbar{

    width:6px;

}


.modal-content::-webkit-scrollbar-track{

    background:#F0EEE8;

}


.modal-content::-webkit-scrollbar-thumb{

    background:#B6A98F;

}


/*==================================================
    SELECCIÓN
==================================================*/

::selection{

    background:var(--primary);

    color:var(--white);

}


/*==================================================
    RESPONSIVE
==================================================*/

@media(max-width:1100px){

    .hero-content h1{

        font-size:5.8rem;

    }


    .benefits-grid{

        grid-template-columns:repeat(2,1fr);

    }


    .units-grid{

        grid-template-columns:repeat(3,1fr);

    }


    .tower-header{

        align-items:flex-start;

        flex-direction:column;

    }


    .tower-description{

        max-width:600px;

        text-align:left;

    }

}


/*==================================================
    TABLET
==================================================*/

@media(max-width:800px){

    section{

        padding:85px 0;

    }


    .section-header h2{

        font-size:2.8rem;

    }


    .hero{

        min-height:85vh;

    }


    .hero-content h1{

        font-size:5rem;

    }


    .about-content{

        grid-template-columns:1fr;

        gap:55px;

    }


    .about-image{

        max-width:700px;

        margin:auto;

    }


    .gallery-grid{

        grid-template-columns:repeat(2,1fr);

    }


    .units-grid{

        grid-template-columns:repeat(2,1fr);

        padding:22px;

    }


    .tower-header{

        padding:30px;

    }


    .tower-general-details{

        padding:17px 30px;

    }


    .tower-general-details span{

        margin-bottom:8px;

    }

}


/*==================================================
    MOBILE
==================================================*/

@media(max-width:600px){

    section{

        padding:70px 0;

    }


    .container{

        width:88%;

    }


    .section-header{

        margin-bottom:42px;

    }


    .section-header h2{

        font-size:2.35rem;

    }


    .section-header p{

        font-size:.82rem;

    }


    /*----------------------------------------------
        HERO
    ----------------------------------------------*/

    .hero{

        min-height:90vh;

    }


    .hero-content{

        max-width:100%;

    }


    .hero-content span{

        font-size:.62rem;

        letter-spacing:3px;

    }


    .hero-content h1{

        font-size:4rem;

        letter-spacing:-1px;

    }


    .hero-content p{

        font-size:.85rem;

        line-height:1.8;

    }


    .hero-buttons{

        flex-direction:column;

        align-items:stretch;

    }


    .hero-buttons .btn,
    .hero-buttons .btn-outline{

        width:100%;

    }


    /*----------------------------------------------
        BENEFITS
    ----------------------------------------------*/

    .benefits-grid{

        grid-template-columns:1fr;

    }


    /*----------------------------------------------
        GALLERY
    ----------------------------------------------*/

    .gallery-grid{

        grid-template-columns:1fr;

    }


    .gallery-item{

        height:250px;

    }


    /*----------------------------------------------
        TORRES
    ----------------------------------------------*/

    .tower-header{

        padding:25px 22px;

        gap:25px;

    }


    .tower-title{

        gap:13px;

    }


    .tower-icon{

        width:48px;

        height:48px;

    }


    .tower-title h3{

        font-size:1.85rem;

    }


    .tower-description{

        font-size:.75rem;

    }


    .tower-general-details{

        padding:17px 22px;

        gap:10px 0;

    }


    .tower-general-details span{

        width:50%;

        padding:4px 12px;

        border-right:1px solid var(--border);

    }


    .tower-general-details span:nth-child(2){

        border-right:none;

    }


    .tower-general-details span:nth-child(3){

        padding-left:12px;

    }


    .units-grid{

        grid-template-columns:1fr;

        padding:18px;

        gap:13px;

    }


    .unit-card{

        min-height:260px;

    }


    /*----------------------------------------------
        CONTACT
    ----------------------------------------------*/

    .contact-content h2{

        font-size:2.6rem;

    }


    /*----------------------------------------------
        MODAL
    ----------------------------------------------*/

    .modal{

        padding:10px;

    }


    .modal-content{

        max-height:95vh;

        padding:34px 20px 24px;

    }


    .modal-content h2{

        font-size:2rem;

    }

}


/*==================================================
    SMALL MOBILE
==================================================*/

@media(max-width:420px){

    .hero-content h1{

        font-size:3.4rem;

    }


    .section-header h2{

        font-size:2.1rem;

    }


    .about-image img{

        height:330px;

    }


    .tower-general-details span{

        width:100%;

        border-right:none;

        padding-left:0;

    }


    .tower-general-details span:nth-child(3){

        padding-left:0;

    }


    .unit-details{

        grid-template-columns:1fr 1fr;

    }


    .contact-content h2{

        font-size:2.25rem;

    }

}