:root {
    --navy: #082b58;
    --deep: #061f42;
    --gold: #dca52f;
    --light: #f6f3ed;
    --ink: #152b45
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    color: var(--ink);
    font-family: "DM Sans", Arial, sans-serif
}

.container {
    width: min(1140px, calc(100% - 48px));
    margin: auto
}

.hero {
    min-height: 760px;
    color: #fff;
    background: linear-gradient(90deg, rgba(4, 26, 56, .97), rgba(4, 26, 56, .77) 43%, rgba(4, 26, 56, .08)), url('assets/hero-residencia.png') center/cover;
    overflow: hidden
}

.topbar {
    height: 142px;
    display: flex;
    align-items: flex-start
}

.brand {
    display: inline-flex;
    margin: 20px 0 0 22px;
    padding: 5px 9px;
    background: #fff
}

.brand img {
    width: 232px;
    height: 130px;
    display: block;
    object-fit: contain
}

.hero-content {
    min-height: 534px;
    display: flex;
    align-items: center
}

.hero-copy {
    max-width: 650px
}

.hero h1,
.section h2,
.contact h2 {
    font: 600 clamp(45px, 5.5vw, 77px)/1.03 "Playfair Display", Georgia, serif;
    margin: 0;
    letter-spacing: -.045em
}

.hero h1 em,
.section h2 em {
    color: var(--gold);
    font-weight: 500
}

.hero-copy p {
    max-width: 570px;
    margin: 28px 0 0;
    color: #e0e8ef;
    font-size: 18px;
    line-height: 1.7
}

.hero-bottom {
    height: 84px;
    border-top: 1px solid rgba(255, 255, 255, .3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #d9e0e8;
    font-size: 11px;
    letter-spacing: .18em
}

.section {
    padding: 120px 0
}

.about {
    background: var(--light)
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 120px
}

.eyebrow {
    margin: 0 0 18px;
    color: #bd7e14;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .2em
}

.section h2 {
    color: var(--navy);
    font-size: clamp(38px, 4.2vw, 61px)
}

.about-copy {
    padding-top: 42px;
    font-size: 17px;
    line-height: 1.75
}

.about-copy p {
    margin: 0 0 22px
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 40px;
    margin-bottom: 52px
}

.section-heading>p {
    max-width: 320px;
    line-height: 1.65;
    color: #607080;
    font-size: 15px
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid #d8dee4
}

.service-grid article {
    min-height: 280px;
    padding: 27px;
    position: relative;
    border-right: 1px solid #d8dee4
}

.service-grid article:first-child {
    padding-left: 0
}

.service-grid article:last-child {
    border: 0
}

.service-grid span {
    color: #c88b21;
    font-size: 13px
}

.service-grid h3 {
    font: 600 29px "Playfair Display", Georgia, serif;
    color: var(--navy);
    margin: 55px 0 13px
}

.service-grid p {
    color: #667789;
    line-height: 1.7;
    font-size: 14px;
    max-width: 280px
}

.contact {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    color: #fff;
    padding: 115px 0;
    background: var(--deep)
}

.contact:before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(rgba(6, 31, 66, .72), rgba(6, 31, 66, .72)), url('assets/contact-residencia.png') center/cover;
    opacity: .42;
    transform: scale(1.08)
}

.contact-box {
    text-align: center
}

.contact h2 {
    color: #e4a935;
    font: 700 clamp(52px, 6vw, 80px)/.88 "Cormorant Garamond", Georgia, serif;
    letter-spacing: -.055em;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .45)
}

.contact p {
    font: 500 16px/1.55 "Cormorant Garamond", Georgia, serif;
    letter-spacing: .02em;
    color: #e2e7eb;
    margin: 28px auto 0;
    max-width: 600px
}

footer {
    background: #05182f;
    color: #d1d9e2;
    padding: 28px 0
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    font-size: 13px
}

.footer-content a {
    color: #fff;
    text-decoration: none;
    font-size: 15px
}

.footer-content a strong {
    color: #e4a935;
    margin-left: 7px
}

.footer-content small {
    color: #92a2b4;
    font-size: 10px
}

.whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #25d366;
    color: #fff;
    text-decoration: none;
    font-size: 38px;
    font-family: Arial;
    box-shadow: 0 8px 24px #0005;
    z-index: 4
}

@media(max-width:760px) {
    .container {
        width: min(100% - 36px, 1140px)
    }

    .hero {
        min-height: 650px;
        background: linear-gradient(90deg, rgba(4, 26, 56, .94), rgba(4, 26, 56, .54)), url('assets/hero-residencia.png') 62% center/cover
    }

    .topbar {
        height: 122px
    }

    .brand {
        margin: 18px 0 0
    }

    .brand img {
        width: 150px;
        height: 84px
    }

    .hero-content {
        min-height: 450px
    }

    .hero h1 {
        font-size: 51px
    }

    .hero-bottom {
        height: 60px;
        font-size: 8px;
        gap: 15px
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 20px
    }

    .section {
        padding: 76px 0
    }

    .about-copy {
        padding: 0
    }

    .section-heading {
        display: block
    }

    .section-heading>p {
        margin-top: 20px
    }

    .service-grid {
        grid-template-columns: 1fr
    }

    .service-grid article,
    .service-grid article:first-child {
        min-height: 210px;
        padding: 23px 0;
        border-right: 0;
        border-bottom: 1px solid #d8dee4
    }

    .service-grid h3 {
        margin: 30px 0 10px
    }

    .contact {
        padding: 84px 0
    }

    .contact h2 {
        font-size: 56px
    }

    .footer-content {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px
    }
}