/* =====================================================
   1. BASIC SETTINGS
===================================================== */

:root {

    --navy: #10243a;
    --navy2: #18334e;
    --gold: #c7a45a;
    --cream: #f6f4ef;
    --ink: #17283a;
    --muted: #697887;
    --line: #e7e9eb;
    --white: #fff;

    --shadow: 0 18px 50px rgba(16, 36, 58, 0.10);
}


/* Apply box sizing to everything */

* {
    box-sizing: border-box;
}


/* Smooth page scrolling */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}


/* Body */

body {
    margin: 0;

    font-family: 'DM Sans', sans-serif;

    color: var(--ink);

    background: #fff;
}


/* Links */

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


/* Form elements use the same font */

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


/* Main container */

.container {
    width: min(1180px, calc(100% - 44px));

    margin: auto;
}



/* =====================================================
   2. TOP BAR
===================================================== */

.topbar {

    background: #0b1b2c;

    color: #dce3e9;

    font-size: 11px;

    letter-spacing: 0.02em;
}


.top-inner {

    min-height: 36px;

    display: flex;

    justify-content: space-between;

    align-items: center;
}


.top-inner a {
    color: #fff;
}


.top-sep {

    padding: 0 12px;

    color: #6f8090;
}



/* =====================================================
   3. HEADER / NAVBAR
===================================================== */

.header {

    height: 82px;

    background: #fff;

    position: sticky;

    top: 0;

    z-index: 20;

    box-shadow: 0 4px 22px rgba(10, 30, 50, 0.06);
}


.nav-wrap {

    height: 100%;

    display: flex;

    align-items: center;

    justify-content: space-between;
}


/* Logo area */

.brand {

    display: flex;

    align-items: center;

    gap: 10px;

    min-width: 225px;
}


.brand img {

    width: 54px;

    height: 54px;

    object-fit: contain;

    border-radius: 7px;
}


.brand span {

    display: flex;

    flex-direction: column;

    line-height: 1.15;
}


.brand b {

    font: 800 20px Manrope, sans-serif;

    letter-spacing: 0.07em;

    color: var(--navy);
}


.brand small {

    font-size: 8px;

    letter-spacing: 0.105em;

    color: #68717a;

    font-weight: 700;

    margin-top: 4px;
}


/* Navigation */

.nav {

    display: flex;

    align-items: center;

    gap: 30px;

    font-size: 13px;

    font-weight: 600;

    color: #3e4b58;
}


/* Navigation hover */

.nav > a:not(.nav-cta):hover {

    color: #b18b3e;
}


/* WhatsApp button in navbar */

.nav-cta {

    background: var(--navy);

    color: #fff;

    padding: 14px 19px;

    border-radius: 3px;
}


.nav-cta span {

    color: #e4c67f;

    margin-left: 8px;
}


/* Mobile menu button */

.menu-toggle {

    display: none;

    border: 0;

    background: transparent;

    font-size: 25px;

    color: var(--navy);
}



/* =====================================================
   4. HERO SECTION
===================================================== */

.hero {

    height: 610px;

    position: relative;

    display: flex;

    align-items: center;

    overflow: hidden;

    background: #162c42;

    color: #fff;
}


/* Hero background */

.hero-bg {

    position: absolute;

    inset: 0;

    background-image:
        linear-gradient(
            90deg,
            rgba(5, 18, 32, 0.88),
            rgba(7, 24, 40, 0.72)
        ),
        url('assets/1bf53c95-30c2-4f96-a753-a697b3f002e6.jfif');

    background-position: center;

    background-size: cover;

    transform: scale(1.08);

    animation: heroZoom 12s ease-in-out infinite alternate;

    transition: opacity 1.25s ease;
}


/* Hero background changing effect */

.hero-bg.changing {

    opacity: 0.12;
}


/* Hero zoom animation */

@keyframes heroZoom {

    from {
        transform: scale(1.04);
    }

    to {
        transform: scale(1.16);
    }
}


/* Hero content */

.hero-content {

    position: relative;

    z-index: 1;

    padding-top: 4px;

    text-align: center;

    display: flex;

    flex-direction: column;

    align-items: center;
}


.hero-content > p {

    margin-left: auto;

    margin-right: auto;
}


.hero-actions {

    justify-content: center;
}


.hero-note {

    justify-content: center;
}



/* =====================================================
   5. SMALL HEADINGS
===================================================== */

.eyebrow,
.section-kicker {

    font-size: 10px;

    letter-spacing: 0.2em;

    font-weight: 700;

    color: var(--gold);
}


.eyebrow {

    display: flex;

    align-items: center;

    gap: 10px;

    color: #e4c77f;
}


.eyebrow span {

    width: 27px;

    height: 1px;

    background: var(--gold);
}



/* =====================================================
   6. HEADINGS
===================================================== */

h1,
h2,
h3,
h4,
p {

    margin-top: 0;
}


h1 {

    font: 800 clamp(48px, 6.3vw, 82px) / 1.04 Manrope, sans-serif;

    letter-spacing: -0.055em;

    margin: 23px 0 20px;

    max-width: 680px;
    color: #ffffff;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.55);
}


h1 em {

    font-style: normal;

    color: #d8b66e;
}


.hero-content > p {

    max-width: 650px;
    color: #ffffff;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.75;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75);
}



/* =====================================================
   7. HERO BUTTONS
===================================================== */

.hero-actions {

    display: flex;

    gap: 13px;

    margin-top: 30px;
}


.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 25px;

    padding: 16px 21px;

    border: 1px solid transparent;

    border-radius: 3px;

    font-size: 12px;

    font-weight: 700;

    cursor: pointer;

    transition: 0.25s;
}


.btn span {

    font-size: 17px;
}


/* Gold button */

.btn-gold {

    background: var(--gold);

    color: #17283a;
}


.btn-gold:hover {

    background: #dfc27e;

    transform: translateY(-2px);
}


/* Outline button */

.btn-outline {

    border-color: rgba(255, 255, 255, 0.55);

    color: #fff;
}


.btn-outline:hover {

    background: #fff;

    color: var(--navy);
}



/* =====================================================
   8. HERO NOTE
===================================================== */

.hero-note {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-top: 49px;
}


.note-icon {

    width: 39px;

    height: 39px;

    border: 1px solid rgba(255, 255, 255, 0.35);

    display: grid;

    place-items: center;

    color: #e4c77f;

    font-size: 20px;
}


.hero-note span:last-child {

    display: flex;

    flex-direction: column;

    gap: 4px;
}


.hero-note b {

    font-size: 11px;
}


.hero-note small {

    font-size: 10px;

    color: #b8c4cf;
}


.hero-side-label {

    position: absolute;

    right: 34px;

    bottom: 45px;

    writing-mode: vertical-rl;

    letter-spacing: 0.25em;

    font-size: 9px;

    color: #fff9;
}



/* =====================================================
   9. SEARCH SECTION
===================================================== */

.search-section {

    position: relative;

    z-index: 3;

    margin-top: -48px;
}


.search-panel {

    background: #fff;

    padding: 29px 34px 20px;

    box-shadow: var(--shadow);

    border-top: 3px solid var(--gold);
}


.search-heading {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 18px;
}


.search-heading h2 {

    font: 700 20px Manrope;

    margin: 6px 0 0;
}


.search-mark {

    font-size: 29px;

    color: var(--gold);
}


/* Search form */

.search-grid {

    display: grid;

    grid-template-columns: 1fr 1fr 1fr auto;

    gap: 14px;

    align-items: end;
}


.search-grid label,
.contact-form label {

    display: flex;

    flex-direction: column;

    gap: 8px;

    font-size: 11px;

    font-weight: 700;

    color: #536272;
}


.search-grid select,
.contact-form input,
.contact-form select,
.contact-form textarea {

    width: 100%;

    background: #fafafa;

    border: 1px solid #e4e7e9;

    border-radius: 2px;

    padding: 14px 12px;

    color: #263747;

    outline: none;

    font-size: 12px;
}


/* Input focus */

.search-grid select:focus,
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {

    border-color: var(--gold);
}


/* Navy button */

.btn-navy {

    background: var(--navy);

    color: #fff;

    min-height: 45px;
}


.btn-navy:hover {

    background: #23425e;
}


.search-hint {

    font-size: 10px;

    color: #88939d;

    margin: 13px 0 0;
}



/* =====================================================
   10. GENERAL SECTION
===================================================== */

.section {

    padding: 105px 0;
}



/* =====================================================
   11. ABOUT SECTION
===================================================== */

.intro-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 85px;

    align-items: center;
}


.intro-photo {

    height: 440px;

    position: relative;
}


.intro-photo img {

    width: 100%;

    height: 100%;

    object-fit: cover;
}


.photo-tag {

    position: absolute;

    bottom: 22px;

    right: -25px;

    background: var(--navy);

    color: #fff;

    padding: 18px 22px;

    display: flex;

    flex-direction: column;

    gap: 5px;

    box-shadow: var(--shadow);
}


.photo-tag b {

    font: 700 10px Manrope;

    letter-spacing: 0.12em;

    color: #e0bf73;
}


.photo-tag span {

    font-size: 11px;
}



/* =====================================================
   12. ABOUT TEXT
===================================================== */

.intro-copy h2,
.section-head h2,
.contact-copy h2 {

    font: 750 clamp(30px, 3.3vw, 43px) / 1.2 Manrope;

    letter-spacing: -0.04em;

    color: var(--navy);

    margin: 15px 0 19px;
}


.intro-copy p,
.section-head p,
.contact-copy > p {

    font-size: 13px;

    line-height: 1.9;

    color: #657381;
}


.intro-copy .muted {

    color: #8b969f;
}


/* Text link */

.text-link {

    display: inline-flex;

    gap: 24px;

    align-items: center;

    color: #9b762f;

    font-size: 12px;

    font-weight: 700;

    border-bottom: 1px solid #d6c08e;

    padding-bottom: 8px;

    margin-top: 12px;
}


/* Trust line */

.trust-line {

    display: flex;

    align-items: center;

    gap: 13px;

    border-top: 1px solid var(--line);

    margin-top: 30px;

    padding-top: 22px;
}


.trust-line > span {

    font-size: 25px;

    color: var(--gold);
}


.trust-line div {

    display: flex;

    flex-direction: column;

    gap: 4px;
}


.trust-line b {

    font-size: 12px;
}


.trust-line small {

    font-size: 10px;

    color: #87919b;
}



/* =====================================================
   13. PROPERTY LISTINGS
===================================================== */

.listings {

    background: #f7f8f8;

    padding-top: 92px;
}


.section-head {

    display: flex;

    justify-content: space-between;

    align-items: end;

    margin-bottom: 34px;
}


.section-head h2 {

    margin-bottom: 10px;
}


.section-head p {

    margin-bottom: 0;
}


.desktop-link {

    margin-bottom: 8px;
}


/* Property cards grid */

.property-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 18px;
}


/* Property card */

.property-card {

    background: #fff;

    box-shadow: 0 9px 30px rgba(20, 40, 60, 0.06);

    transition:
        transform 0.3s,
        box-shadow 0.3s;

    min-width: 0;
}


.property-card:hover {

    transform: translateY(-6px);

    box-shadow: 0 18px 38px rgba(20, 40, 60, 0.13);
}


/* Property image */

.property-image {

    height: 205px;

    position: relative;

    overflow: hidden;

    background: #e7e9e9;
}


.property-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform 0.5s;
}


.property-card:hover .property-image img {

    transform: scale(1.05);
}


/* Property label */

.pill {

    position: absolute;

    left: 13px;

    top: 13px;

    background: var(--gold);

    color: #17283a;

    padding: 7px 9px;

    font-size: 8px;

    letter-spacing: 0.1em;

    font-weight: 800;
}


/* Save button */

.save {

    position: absolute;

    right: 12px;

    top: 10px;

    width: 30px;

    height: 30px;

    border: 0;

    border-radius: 50%;

    background: #fff;

    color: #34485a;

    font-size: 20px;

    cursor: pointer;
}


.save.active {

    color: #b34e4e;
}


/* Property information */

.property-body {

    padding: 19px 17px 17px;
}


.price {

    font: 800 15px Manrope;

    color: #a17b32;
}


.property-body h3 {

    font: 700 15px Manrope;

    margin: 8px 0;
}


.location {

    font-size: 10px;

    color: #7d8994;
}


.property-meta {

    border-top: 1px solid #edf0f1;

    border-bottom: 1px solid #edf0f1;

    padding: 12px 0;

    margin: 13px 0;

    display: flex;

    justify-content: space-between;

    gap: 4px;

    font-size: 9px;

    color: #71808c;
}


.card-link {

    display: flex;

    justify-content: space-between;

    align-items: center;

    font-size: 10px;

    font-weight: 700;

    color: var(--navy);
}


.card-link b {

    font-size: 17px;

    color: #b18b3e;
}



/* =====================================================
   14. PROPERTY BOTTOM BUTTON
===================================================== */

.center-action {

    text-align: center;

    margin-top: 35px;
}


.btn-outline-dark {

    border-color: #9ba6ae;

    color: var(--navy);
}


.btn-outline-dark:hover {

    background: var(--navy);

    color: #fff;
}


.empty-state {

    text-align: center;

    padding: 35px;

    color: #657381;

    font-size: 13px;
}



/* =====================================================
   15. SERVICES
===================================================== */

.services {

    background: var(--navy);

    color: #fff;

    padding: 82px 0 88px;

    position: relative;

    overflow: hidden;
}


.services:after {

    content: 'A';

    position: absolute;

    right: 5%;

    top: -125px;

    font: 800 390px Manrope;

    color: rgba(255, 255, 255, 0.025);
}


.light-head {

    position: relative;

    z-index: 1;
}


.light-head h2 {

    color: #fff;

    max-width: 600px;
}


.light-head p {

    color: #bdc9d3;

    max-width: 530px;
}


/* Services grid */

.service-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 30px;

    position: relative;

    z-index: 1;

    margin-top: 39px;
}


.service-item {

    border-top: 1px solid rgba(255, 255, 255, 0.22);

    padding-top: 22px;
}


.service-icon {

    font-size: 26px;

    color: #d8b66e;
}


.service-item h3 {

    font: 700 15px Manrope;

    margin: 19px 0 10px;
}


.service-item p {

    font-size: 11px;

    line-height: 1.8;

    color: #bdc9d3;
}



/* =====================================================
   16. GALLERY
===================================================== */

.gallery {

    padding: 90px 0;
}


.gallery-grid {

    display: grid;

    grid-template-columns: 1.25fr 1fr 1fr;

    gap: 14px;

    height: 310px;
}


.gallery-grid img {

    width: 100%;

    height: 100%;

    object-fit: cover;
}



/* =====================================================
   17. CONTACT
===================================================== */

.contact-section {

    background: var(--cream);

    padding: 95px 0;
}


.contact-grid {

    display: grid;

    grid-template-columns: 0.9fr 1.1fr;

    gap: 90px;

    align-items: start;
}


.contact-copy h2 {

    max-width: 450px;
}


.contact-method {

    display: flex;

    gap: 15px;

    align-items: flex-start;

    margin-top: 27px;
}


.contact-method > span {

    width: 37px;

    height: 37px;

    background: #fff;

    display: grid;

    place-items: center;

    color: #a7833e;

    font-size: 18px;
}


.contact-method div {

    display: flex;

    flex-direction: column;

    gap: 6px;
}


.contact-method small {

    font-size: 9px;

    letter-spacing: 0.13em;

    color: #8c969e;

    font-weight: 700;
}


.contact-method a,
.contact-method b {

    font-size: 12px;

    font-weight: 700;

    color: #293d50;
}



/* =====================================================
   18. CONTACT FORM
===================================================== */

.contact-form {

    background: #fff;

    padding: 33px 34px;

    box-shadow: 0 12px 40px rgba(25, 45, 65, 0.07);
}


.contact-form h3 {

    font: 750 22px Manrope;

    margin-bottom: 7px;
}


.contact-form > p {

    font-size: 11px;

    color: #85909a;

    margin-bottom: 23px;
}


.contact-form label {

    margin-bottom: 15px;
}


.contact-form textarea {

    resize: vertical;
}


.form-row {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 14px;
}


.form-submit {

    width: 100%;

    margin-top: 3px;
}


.form-note {

    display: block;

    text-align: center;

    color: #98a1a9;

    font-size: 9px;

    margin-top: 12px;
}



/* =====================================================
   19. FOOTER
===================================================== */

.footer {

    background: #0b1b2c;

    color: #c0cbd4;

    padding-top: 57px;
}


.footer-main {

    display: grid;

    grid-template-columns: 1.5fr 0.8fr 1.2fr 0.9fr;

    gap: 45px;

    padding-bottom: 45px;
}


.footer .brand b {

    color: #fff;
}


.footer .brand small {

    color: #9eabb6;
}


.footer-brand p,
.footer-main p {

    font-size: 11px;

    line-height: 1.8;

    color: #9eabb6;

    max-width: 250px;

    margin-top: 17px;
}


.footer h4 {

    font: 700 12px Manrope;

    color: #fff;

    margin: 8px 0 20px;
}


.footer-main > div:not(:first-child) {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 12px;
}


.footer-main > div > a:not(.brand),
.footer-main > div > span {

    font-size: 10px;

    color: #aab6c0;
}


.footer-main a:hover {

    color: #e3c477;
}


.footer-wa {

    color: #e1c277 !important;

    border-bottom: 1px solid #9a7b40;

    padding-bottom: 6px;
}



/* =====================================================
   20. FOOTER BOTTOM
===================================================== */

.footer-bottom {

    border-top: 1px solid rgba(255, 255, 255, 0.12);

    padding: 17px 0;

    display: flex;

    justify-content: space-between;

    font-size: 9px;

    color: #7f909d;
}



/* =====================================================
   21. FLOATING WHATSAPP BUTTON
===================================================== */

.floating-wa {

    position: fixed;

    right: 20px;

    bottom: 20px;

    z-index: 25;

    background: #218c5b;

    color: white;

    border-radius: 30px;

    padding: 13px 18px;

    box-shadow: 0 8px 25px #071a2b55;

    font-size: 12px;

    font-weight: 700;

    display: flex;

    align-items: center;

    gap: 8px;
}


.floating-wa:hover {

    background: #176c46;

    transform: translateY(-2px);
}



/* =====================================================
   22. TABLET
===================================================== */

@media (max-width: 980px) {

    .nav {

        gap: 17px;
    }


    .property-grid {

        grid-template-columns: repeat(2, 1fr);
    }


    .intro-grid {

        gap: 48px;
    }


    .contact-grid {

        gap: 45px;
    }


    .footer-main {

        gap: 25px;
    }


    .hero {

        height: 560px;
    }

}



/* =====================================================
   23. MOBILE
===================================================== */

@media (max-width: 700px) {


    /* Container */

    .container {

        width: min(100% - 30px, 560px);
    }


    /* Top bar */

    .top-inner {

        min-height: 34px;
    }


    .top-inner > span {

        display: none;
    }


    .top-inner {

        justify-content: center;
    }


    .top-inner a {

        font-size: 10px;
    }


    /* Header */

    .header {

        height: 70px;
    }


    .brand {

        min-width: 0;
    }


    .brand img {

        width: 45px;

        height: 45px;
    }


    .brand b {

        font-size: 17px;
    }


    .brand small {

        font-size: 7px;
    }


    /* Mobile menu button */

    .menu-toggle {

        display: block;
    }


    /* Mobile navigation */

    .nav {

        display: none;

        position: absolute;

        top: 70px;

        left: 0;

        right: 0;

        background: #fff;

        padding: 15px 22px 22px;

        box-shadow: 0 15px 20px #10243a15;

        align-items: stretch;

        flex-direction: column;

        gap: 0;
    }


    /* Open mobile menu */

    .nav.open {

        display: flex;
    }


    .nav > a {

        padding: 13px 3px;

        border-bottom: 1px solid #f0f1f2;
    }


    .nav .nav-cta {

        text-align: center;

        margin-top: 12px;

        padding: 14px;
    }


    /* Hero */

    .hero {

        height: 590px;

        align-items: flex-start;

        padding-top: 83px;
    }


    .hero-bg {

        background-position: center;

        background-size: cover;
    }


    .hero-content {

        padding-top: 0;
    }


    h1 {

        font-size: 54px;
    }


    .hero-content > p {

        font-size: 13px;

        max-width: 390px;
    }


    .hero-actions {

        flex-wrap: wrap;
    }


    .btn {

        padding: 14px 16px;
    }


    .hero-note {

        margin-top: 36px;
    }


    .hero-side-label {

        display: none;
    }


    /* Search */

    .search-section {

        margin-top: -30px;
    }


    .search-panel {

        padding: 23px 19px 17px;
    }


    .search-grid {

        grid-template-columns: 1fr 1fr;

        gap: 12px;
    }


    .search-grid .btn {

        grid-column: 1 / -1;

        width: 100%;
    }


    .search-heading h2 {

        font-size: 18px;
    }


    /* General section */

    .section {

        padding: 70px 0;
    }


    /* About */

    .intro-grid,
    .contact-grid {

        grid-template-columns: 1fr;

        gap: 43px;
    }


    .intro-photo {

        height: 330px;

        margin-right: 13px;
    }


    .photo-tag {

        right: -13px;

        bottom: 15px;
    }


    .intro-copy h2,
    .section-head h2,
    .contact-copy h2 {

        font-size: 32px;
    }


    /* Property heading */

    .section-head {

        display: block;
    }


    .desktop-link {

        display: none;
    }


    /* Properties */

    .property-grid {

        grid-template-columns: 1fr;

        gap: 17px;
    }


    .property-image {

        height: 240px;
    }


    /* Services */

    .services {

        padding: 68px 0;
    }


    .service-grid {

        grid-template-columns: 1fr 1fr;

        gap: 24px 18px;
    }


    /* Gallery */

    .gallery {

        padding: 70px 0;
    }


    .gallery-grid {

        height: auto;

        grid-template-columns: 1fr 1fr;

        grid-template-rows: 160px 160px;
    }


    .gallery-grid img:first-child {

        grid-column: 1 / -1;
    }


    /* Contact */

    .contact-section {

        padding: 70px 0;
    }


    .contact-form {

        padding: 25px 19px;
    }


    .form-row {

        grid-template-columns: 1fr;

        gap: 0;
    }


    /* Footer */

    .footer-main {

        grid-template-columns: 1fr 1fr;

        gap: 30px 20px;
    }


    .footer-brand {

        grid-column: 1 / -1;
    }


    .footer-bottom {

        gap: 10px;

        flex-direction: column;
    }


    /* WhatsApp */

    .floating-wa {

        right: 12px;

        bottom: 12px;

        padding: 12px 15px;
    }


    .floating-wa span {

        display: none;
    }

}



/* =====================================================
   24. REDUCE ANIMATION IF USER PREFERS
===================================================== */

@media (prefers-reduced-motion: reduce) {

    html {

        scroll-behavior: auto;
    }


    *,
    *:before,
    *:after {

        transition: none !important;

        animation: none !important;
    }

}