:root{
    --green:#0d7139;
    --green-dark:#06371f;
    --green-deep:#041f13;
    --gold:#d7b24a;
    --gold-light:#efd98c;
    --ivory:#f6f4ed;
    --white:#ffffff;
    --dark:#111713;
    --text:#5d655f;
    --line:#dfe4df;
    --danger:#b42318;
    --shadow:0 24px 70px rgba(6,45,25,.13);
    --container:1220px;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    background:var(--ivory);
    color:var(--dark);
    font-family:"Manrope",Arial,sans-serif;
    line-height:1.65;
    overflow-x:hidden;
}

body.menu-open,
body.dialog-open{
    overflow:hidden;
}

img{
    display:block;
    max-width:100%;
}

a{
    color:inherit;
    text-decoration:none;
}

button,
input,
select,
textarea{
    font:inherit;
}

button{
    border:0;
    cursor:pointer;
}

[hidden]{
    display:none !important;
}

.container{
    width:min(92%,var(--container));
    margin:auto;
}

.section-label,
.eyebrow{
    display:inline-block;
    color:var(--gold);
    font-size:.68rem;
    font-weight:800;
    letter-spacing:2px;
    text-transform:uppercase;
}

/* Header */

.site-header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:1000;
    border-bottom:1px solid rgba(255,255,255,.12);
    transition:
        background .3s ease,
        box-shadow .3s ease;
}

.site-header.scrolled{
    background:rgba(4,31,19,.97);
    box-shadow:0 10px 35px rgba(0,0,0,.18);
    backdrop-filter:blur(16px);
}

.header-inner{
    min-height:88px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:28px;
}

.brand{
    display:flex;
    align-items:center;
    gap:13px;
    color:var(--white);
}

.brand img{
    width:53px;
    height:53px;
    border-radius:12px;
    object-fit:cover;
}

.brand > span{
    display:flex;
    flex-direction:column;
    line-height:1.05;
}

.brand strong{
    font-size:1.02rem;
    letter-spacing:1.8px;
}

.brand small{
    margin-top:6px;
    color:var(--gold-light);
    font-size:.6rem;
    letter-spacing:1.6px;
    text-transform:uppercase;
}

.main-navigation{
    display:flex;
    align-items:center;
    gap:34px;
}

.main-navigation a{
    position:relative;
    padding:10px 0;
    color:rgba(255,255,255,.82);
    font-size:.78rem;
    font-weight:700;
}

.main-navigation a:hover,
.main-navigation a.active{
    color:var(--white);
}

.main-navigation a::after{
    content:"";
    position:absolute;
    left:0;
    right:100%;
    bottom:3px;
    height:2px;
    background:var(--gold);
    transition:right .25s ease;
}

.main-navigation a:hover::after,
.main-navigation a.active::after{
    right:0;
}

.header-cta{
    padding:11px 18px;
    border:1px solid rgba(255,255,255,.35);
    border-radius:999px;
    color:var(--white);
    font-size:.7rem;
    font-weight:800;
    transition:.25s ease;
}

.header-cta:hover{
    background:var(--gold);
    border-color:var(--gold);
    color:var(--green-deep);
}

.menu-button{
    display:none;
    width:45px;
    height:45px;
    padding:11px;
    border-radius:50%;
    background:rgba(255,255,255,.1);
}

.menu-button span{
    display:block;
    width:100%;
    height:2px;
    margin:4px 0;
    background:var(--white);
    transition:.25s ease;
}

/* Hero */

.contact-hero{
    position:relative;
    min-height:650px;
    display:flex;
    align-items:flex-end;
    overflow:hidden;
    background:var(--green-deep);
    color:var(--white);
}

.hero-image{
    position:absolute;
    inset:0;
    background:
        url("../images/properties/property2.jpg")
        center/cover
        no-repeat;
    transform:scale(1.02);
}

.hero-overlay{
    position:absolute;
    inset:0;
    background:
        linear-gradient(
            90deg,
            rgba(3,26,15,.94),
            rgba(3,26,15,.4)
        ),
        linear-gradient(
            to top,
            rgba(3,26,15,.76),
            transparent 64%
        );
}

.hero-content{
    position:relative;
    z-index:2;
    padding-bottom:82px;
}

.hero-content h1{
    max-width:880px;
    margin-top:16px;
    font-family:"Cormorant Garamond",Georgia,serif;
    font-size:clamp(4.6rem,8.5vw,8rem);
    font-weight:600;
    line-height:.87;
    letter-spacing:-3px;
}

.hero-content h1 em{
    display:block;
    color:var(--gold-light);
    font-style:normal;
}

.hero-content p{
    margin-top:24px;
    color:rgba(255,255,255,.72);
    font-size:.84rem;
    letter-spacing:1.2px;
    text-transform:uppercase;
}

/* Main contact */

.contact-section{
    padding:110px 0;
}

.contact-layout{
    display:grid;
    grid-template-columns:.85fr 1.15fr;
    gap:85px;
    align-items:start;
}

.contact-information h2{
    max-width:470px;
    margin-top:9px;
    font-family:"Cormorant Garamond",Georgia,serif;
    font-size:clamp(3rem,5vw,4.7rem);
    font-weight:600;
    line-height:.97;
    letter-spacing:-1.5px;
}

.contact-introduction{
    max-width:470px;
    margin-top:22px;
    color:var(--text);
    font-size:.9rem;
    line-height:1.85;
}

.contact-methods{
    margin-top:37px;
    border-top:1px solid var(--line);
}

.contact-method{
    min-height:92px;
    display:grid;
    grid-template-columns:42px 1fr 35px;
    align-items:center;
    gap:12px;
    padding:16px 4px;
    border-bottom:1px solid var(--line);
    transition:
        padding .25s ease,
        color .25s ease;
}

.contact-method:hover{
    padding-left:12px;
    color:var(--green);
}

.method-number{
    color:var(--gold);
    font-family:"Cormorant Garamond",Georgia,serif;
    font-size:1.35rem;
}

.contact-method div{
    min-width:0;
    display:flex;
    flex-direction:column;
}

.contact-method small{
    color:var(--text);
    font-size:.64rem;
    letter-spacing:1px;
    text-transform:uppercase;
}

.contact-method strong{
    margin-top:3px;
    overflow-wrap:anywhere;
    font-size:.86rem;
}

.method-arrow{
    color:var(--green);
    font-size:1.15rem;
    text-align:right;
    transition:transform .25s ease;
}

.contact-method:hover .method-arrow{
    transform:translateX(6px);
}

.office-address{
    margin-top:30px;
    padding:24px;
    background:var(--green-deep);
    color:var(--white);
}

.office-address span{
    color:var(--gold-light);
    font-size:.63rem;
    font-weight:800;
    letter-spacing:1.4px;
    text-transform:uppercase;
}

.office-address p{
    margin-top:8px;
    color:rgba(255,255,255,.76);
    font-size:.8rem;
    line-height:1.8;
}

/* Form */

.contact-form-panel{
    padding:42px;
    background:var(--white);
    box-shadow:var(--shadow);
}

.form-heading{
    margin-bottom:32px;
}

.form-heading > span{
    color:var(--gold);
    font-size:.65rem;
    font-weight:800;
    letter-spacing:1.6px;
    text-transform:uppercase;
}

.form-heading h2{
    margin-top:5px;
    font-family:"Cormorant Garamond",Georgia,serif;
    font-size:2.8rem;
    font-weight:600;
    line-height:1;
}

.form-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:19px;
}

.field-wide{
    grid-column:1 / -1;
}

.field label{
    display:block;
    margin-bottom:7px;
    color:#3f4943;
    font-size:.7rem;
    font-weight:800;
}

.field input,
.field select,
.field textarea{
    width:100%;
    border:0;
    border-bottom:1px solid #cfd7d2;
    border-radius:0;
    background:transparent;
    color:var(--dark);
    outline:0;
    padding:12px 2px;
    font-size:.82rem;
}

.field input,
.field select{
    height:49px;
}

.field textarea{
    resize:vertical;
    line-height:1.7;
}

.field input:focus,
.field select:focus,
.field textarea:focus{
    border-bottom-color:var(--green);
}

.submit-button{
    min-height:54px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:15px;
    margin-top:28px;
    padding:13px 27px;
    border-radius:999px;
    background:var(--green-deep);
    color:var(--white);
    font-size:.75rem;
    font-weight:800;
    transition:.25s ease;
}

.submit-button:hover{
    background:var(--green);
    transform:translateY(-2px);
}

.submit-button span{
    transition:transform .25s ease;
}

.submit-button:hover span{
    transform:translateX(5px);
}

.submit-button:disabled{
    opacity:.65;
    cursor:not-allowed;
    transform:none;
}

.form-status{
    min-height:22px;
    margin-top:12px;
    color:var(--green);
    font-size:.7rem;
    font-weight:700;
}

.form-status.error{
    color:var(--danger);
}

/* Location */

.location-section{
    padding:0 0 110px;
}

.location-panel{
    min-height:480px;
    display:grid;
    grid-template-columns:1.25fr .75fr;
    background:var(--green-deep);
    color:var(--white);
}

.location-image{
    position:relative;
    min-height:480px;
    overflow:hidden;
}

.location-image img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.location-shade{
    position:absolute;
    inset:0;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(4,31,19,.25)
        );
}

.location-content{
    display:flex;
    align-items:flex-start;
    justify-content:center;
    flex-direction:column;
    padding:48px;
}

.location-content .section-label{
    color:var(--gold-light);
}

.location-content h2{
    margin-top:9px;
    font-family:"Cormorant Garamond",Georgia,serif;
    font-size:3.7rem;
    font-weight:600;
    line-height:1;
}

.location-content p{
    margin-top:18px;
    color:rgba(255,255,255,.7);
    font-size:.8rem;
    line-height:1.8;
}

.location-content a{
    display:inline-flex;
    align-items:center;
    gap:12px;
    margin-top:28px;
    padding-bottom:5px;
    border-bottom:1px solid var(--gold);
    color:var(--gold-light);
    font-size:.72rem;
    font-weight:800;
}

.location-content a span{
    transition:transform .25s ease;
}

.location-content a:hover span{
    transform:translateX(5px);
}

/* Final statement */

.final-contact{
    padding:95px 0;
    background:var(--white);
}

.final-contact-inner{
    text-align:center;
}

.final-contact-inner > span{
    color:var(--gold);
    font-size:.66rem;
    font-weight:800;
    letter-spacing:2px;
    text-transform:uppercase;
}

.final-contact-inner h2{
    max-width:900px;
    margin:15px auto 0;
    font-family:"Cormorant Garamond",Georgia,serif;
    font-size:clamp(3rem,6vw,5.8rem);
    font-weight:600;
    line-height:.95;
}

/* Footer */

.site-footer{
    padding:55px 0 23px;
    background:#07100b;
    color:var(--white);
}

.footer-main{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:35px;
    padding-bottom:35px;
}

.footer-brand{
    display:flex;
    align-items:center;
    gap:13px;
}

.footer-brand img{
    width:56px;
    height:56px;
    border-radius:12px;
    object-fit:cover;
}

.footer-brand > span{
    display:flex;
    flex-direction:column;
    line-height:1.1;
}

.footer-brand strong{
    letter-spacing:1.5px;
}

.footer-brand small{
    margin-top:5px;
    color:var(--gold);
    font-size:.58rem;
    letter-spacing:1.3px;
    text-transform:uppercase;
}

.footer-main nav{
    display:flex;
    align-items:center;
    gap:27px;
}

.footer-main nav a{
    color:rgba(255,255,255,.67);
    font-size:.74rem;
    font-weight:600;
}

.footer-main nav a:hover{
    color:var(--gold-light);
}

.footer-bottom{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:25px;
    padding-top:22px;
    border-top:1px solid rgba(255,255,255,.09);
}

.footer-bottom p{
    color:rgba(255,255,255,.43);
    font-size:.67rem;
}

/* Floating WhatsApp */

.floating-whatsapp{
    position:fixed;
    z-index:900;
    right:21px;
    bottom:21px;
    width:58px;
    height:58px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#21b866;
    color:var(--white);
    font-size:.67rem;
    font-weight:900;
    box-shadow:0 18px 42px rgba(33,184,102,.3);
    transition:.25s ease;
}

.floating-whatsapp:hover{
    transform:translateY(-4px);
}

/* Success dialog */

.success-dialog{
    position:fixed;
    inset:0;
    z-index:4000;
    display:none;
    align-items:center;
    justify-content:center;
    padding:20px;
}

.success-dialog.open{
    display:flex;
}

.dialog-backdrop{
    position:absolute;
    inset:0;
    background:rgba(2,20,11,.82);
    backdrop-filter:blur(7px);
}

.dialog-card{
    position:relative;
    z-index:2;
    width:min(100%,480px);
    padding:45px 38px;
    background:var(--white);
    text-align:center;
    box-shadow:0 35px 100px rgba(0,0,0,.3);
}

.dialog-mark{
    width:68px;
    height:68px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:0 auto 20px;
    border-radius:50%;
    background:var(--green-deep);
    color:var(--gold);
    font-size:1.5rem;
}

.dialog-card h2{
    font-family:"Cormorant Garamond",Georgia,serif;
    font-size:2.6rem;
    font-weight:600;
    line-height:1;
}

.dialog-card p{
    margin:15px 0 23px;
    color:var(--text);
    font-size:.8rem;
    line-height:1.75;
}

.dialog-card button{
    min-height:48px;
    padding:11px 25px;
    border-radius:999px;
    background:var(--gold);
    color:var(--green-deep);
    font-size:.73rem;
    font-weight:800;
}

/* Reveal */

.reveal{
    opacity:0;
    transform:translateY(28px);
    transition:
        opacity .7s ease,
        transform .7s ease;
}

.reveal.visible{
    opacity:1;
    transform:translateY(0);
}

/* Tablet */

@media(max-width:950px){

    .header-cta{
        display:none;
    }

    .contact-layout{
        gap:45px;
    }

    .location-panel{
        grid-template-columns:1fr 1fr;
    }

}

/* Mobile */

@media(max-width:780px){

    .header-inner{
        min-height:76px;
    }

    .brand img{
        width:47px;
        height:47px;
    }

    .brand strong{
        font-size:.9rem;
    }

    .menu-button{
        display:block;
        margin-left:auto;
    }

    .menu-button.open span:first-child{
        transform:
            translateY(6px)
            rotate(45deg);
    }

    .menu-button.open span:nth-child(2){
        opacity:0;
    }

    .menu-button.open span:last-child{
        transform:
            translateY(-6px)
            rotate(-45deg);
    }

    .main-navigation{
        position:fixed;
        top:76px;
        left:0;
        right:0;
        bottom:0;
        display:flex;
        align-items:flex-start;
        flex-direction:column;
        gap:0;
        padding:48px 7%;
        background:var(--green-deep);
        opacity:0;
        visibility:hidden;
        transform:translateY(-15px);
        transition:.25s ease;
    }

    .main-navigation.open{
        opacity:1;
        visibility:visible;
        transform:translateY(0);
    }

    .main-navigation a{
        width:100%;
        padding:18px 0;
        border-bottom:1px solid rgba(255,255,255,.1);
        font-family:"Cormorant Garamond",Georgia,serif;
        font-size:2rem;
        font-weight:600;
    }

    .main-navigation a::after{
        display:none;
    }

    .contact-hero{
        min-height:570px;
    }

    .hero-content{
        padding-bottom:62px;
    }

    .hero-content h1{
        font-size:4.8rem;
    }

    .contact-section{
        padding:78px 0;
    }

    .contact-layout{
        grid-template-columns:1fr;
        gap:55px;
    }

    .contact-form-panel{
        padding:31px 25px;
    }

    .location-panel{
        grid-template-columns:1fr;
    }

    .location-image{
        min-height:390px;
    }

    .location-content{
        padding:40px 29px;
    }

    .footer-main,
    .footer-bottom{
        align-items:flex-start;
        flex-direction:column;
    }

    .footer-main nav{
        flex-wrap:wrap;
    }

}

/* Small phones */

@media(max-width:470px){

    .container{
        width:min(90%,var(--container));
    }

    .brand > span{
        display:none;
    }

    .hero-content h1{
        font-size:3.9rem;
        letter-spacing:-2px;
    }

    .contact-information h2{
        font-size:2.9rem;
    }

    .form-grid{
        grid-template-columns:1fr;
    }

    .field-wide{
        grid-column:auto;
    }

    .submit-button{
        width:100%;
    }

    .location-image{
        min-height:330px;
    }

    .location-content h2{
        font-size:3rem;
    }

    .floating-whatsapp{
        width:54px;
        height:54px;
        right:16px;
        bottom:16px;
    }

    .dialog-card{
        padding:38px 24px;
    }

}
