:root {
    --blue: #081d2d;
    --blue-2: #12344d;
    --gold: #c6a05a;
    --sand: #f3efe6;
    --gray: #f5f7f8;
    --text: #23313b;
    --muted: #65737e;
    --white: #ffffff;
    --border: #dfe6ea;
    --shadow: 0 18px 45px rgba(8, 29, 45, .12);
    --radius: 18px;
    --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font);
    color: var(--text);
    background: var(--white);
    line-height: 1.65;
}

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

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

p {
    margin-top: 0;
}

h1,
h2,
h3 {
    color: var(--blue);
    line-height: 1.15;
    margin: 0 0 18px;
}

h1 {
    font-size: clamp(2.25rem, 5vw, 4.8rem);
    letter-spacing: -0.05em;
}

h2 {
    font-size: clamp(1.8rem, 3vw, 3rem);
    letter-spacing: -0.035em;
}

h3 {
    font-size: 1.25rem;
}

.container {
    width: min(1180px, calc(100% - 36px));
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 10px;
    background: var(--blue);
    color: var(--white);
    padding: 10px 14px;
    z-index: 999;
}

.skip-link:focus {
    left: 10px;
}

.site-header {
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(12px);
}

.header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    margin-right: auto;
    font-weight: 800;
    color: var(--blue);
    letter-spacing: -0.04em;
    font-size: 1.35rem;
}

.brand-sub {
    color: var(--gold);
}

.primary-nav .menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 0;
    margin: 0;
}

.primary-nav a {
    font-weight: 650;
    color: var(--blue);
}

.primary-nav a:hover {
    color: var(--gold);
}

.header-phone {
    background: var(--blue);
    color: var(--white);
    padding: 11px 16px;
    border-radius: 999px;
    font-weight: 750;
}

.menu-toggle {
    display: none;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--blue);
    border-radius: 999px;
    padding: 9px 14px;
    font-weight: 700;
}

.hero,
.page-hero,
.single-hero {
    background-size: cover;
    background-position: center;
    color: var(--white);
}

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

.hero-content {
    max-width: 900px;
    padding: 90px 0;
}

.hero h1,
.page-hero h1,
.single-hero h1 {
    color: var(--white);
}

.hero-text,
.page-hero p,
.single-hero .hero-text {
    color: rgba(255, 255, 255, .9);
    font-size: 1.18rem;
    max-width: 780px;
}

.page-hero {
    padding: 110px 0;
}

.page-hero.small {
    background: var(--blue);
    padding: 80px 0;
}

.single-hero {
    background: var(--blue);
    padding: 80px 0;
}

.eyebrow {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: .14em;
    font-weight: 800;
    font-size: .8rem;
    margin-bottom: 14px;
}

.hero-actions,
.contact-actions,
.single-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 22px;
    border-radius: 999px;
    font-weight: 800;
    transition: transform .2s ease, background .2s ease, color .2s ease;
    border: 1px solid transparent;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--gold);
    color: var(--blue);
}

.btn-secondary {
    background: transparent;
    color: var(--blue);
    border-color: var(--gold);
}

.hero .btn-secondary,
.page-hero .btn-secondary,
.single-hero .btn-secondary {
    color: var(--white);
}

.btn-light {
    background: var(--white);
    color: var(--blue);
}

.btn.full {
    width: 100%;
}

.section {
    padding: 96px 0;
}

.section-muted {
    background: var(--gray);
}

.section-dark {
    background: var(--blue);
    color: var(--white);
}

.section-dark h2 {
    color: var(--white);
}

.two-cols,
.single-grid,
.contact-grid,
.single-content-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 56px;
    align-items: center;
}

.reverse {
    grid-template-columns: .95fr 1.05fr;
}

.image-card {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.image-card img {
    width: 100%;
    min-height: 360px;
    object-fit: cover;
}

.cards {
    display: grid;
    gap: 24px;
    margin-top: 36px;
}

.cards.three {
    grid-template-columns: repeat(3, 1fr);
}

.cards.four {
    grid-template-columns: repeat(4, 1fr);
}

.card,
.property-card,
.project-card,
.side-panel,
.contact-card,
.empty-state {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
}

.card a,
.text-link {
    color: var(--gold);
    font-weight: 800;
}

.property-card,
.project-card {
    padding: 0;
    overflow: hidden;
}

.property-card img,
.project-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.property-card-body,
.project-card-body {
    padding: 24px;
}

.property-operation {
    display: inline-flex;
    background: var(--sand);
    color: var(--blue);
    border-radius: 999px;
    padding: 5px 12px;
    font-weight: 800;
    font-size: .85rem;
}

.property-data,
.detail-list,
.footer-list,
.check-list {
    list-style: none;
    padding: 0;
    margin: 18px 0;
}

.property-data li,
.detail-list li,
.check-list li {
    padding: 9px 0;
    border-bottom: 1px solid var(--border);
}

.check-list li::before {
    content: "✓";
    color: var(--gold);
    font-weight: 900;
    margin-right: 8px;
}

.service-list {
    display: grid;
    gap: 38px;
}

.service-item {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 42px;
    padding: 42px;
    border-radius: var(--radius);
    background: var(--gray);
}

.cta-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 36px;
}

.filter-box {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: end;
    padding: 24px;
    background: var(--gray);
    border-radius: var(--radius);
    margin-bottom: 36px;
}

label {
    display: grid;
    gap: 7px;
    font-weight: 750;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 13px 14px;
    font: inherit;
    background: var(--white);
    color: var(--text);
}

.contact-form {
    display: grid;
    gap: 16px;
}

.privacy-check {
    grid-template-columns: 18px 1fr;
    align-items: start;
    font-size: .9rem;
    color: var(--muted);
}

.privacy-check input {
    width: 18px;
    margin-top: 5px;
}

.hidden-field {
    position: absolute;
    left: -9999px;
}

.notice {
    padding: 14px 16px;
    border-radius: 12px;
    margin-bottom: 18px;
    font-weight: 750;
}

.notice.success {
    background: #e8f8ef;
    color: #125b33;
}

.notice.error {
    background: #fdecec;
    color: #7a1b1b;
}

.map-box {
    margin-top: 28px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-box iframe {
    width: 100%;
    height: 330px;
    border: 0;
}

.content-body {
    max-width: 820px;
}

.content-body p,
.content-body li {
    font-size: 1.05rem;
}

.side-panel {
    align-self: start;
    position: sticky;
    top: 110px;
}

.site-footer {
    background: #061520;
    color: rgba(255, 255, 255, .78);
    padding: 70px 0 26px;
}

.site-footer h2,
.site-footer .footer-brand {
    color: var(--white);
}

.footer-brand {
    font-size: 1.45rem;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 44px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    margin-top: 44px;
    padding-top: 24px;
    font-size: .9rem;
}

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 60;
    background: #25D366;
    color: #062011;
    padding: 13px 18px;
    border-radius: 999px;
    font-weight: 900;
    box-shadow: 0 14px 35px rgba(0, 0, 0, .25);
}

@media (max-width: 980px) {
    .menu-toggle {
        display: inline-flex;
    }

    .primary-nav {
        display: none;
        position: absolute;
        left: 18px;
        right: 18px;
        top: 78px;
        background: var(--white);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        box-shadow: var(--shadow);
        padding: 18px;
    }

    .primary-nav.is-open {
        display: block;
    }

    .primary-nav .menu {
        display: grid;
        gap: 12px;
    }

    .header-phone {
        display: none;
    }

    .hero {
        min-height: 620px;
    }

    .two-cols,
    .reverse,
    .single-grid,
    .contact-grid,
    .single-content-grid,
    .service-item {
        grid-template-columns: 1fr;
    }

    .cards.three,
    .cards.four,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .cta-block,
    .footer-bottom {
        display: grid;
    }

    .side-panel {
        position: static;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    .section {
        padding: 68px 0;
    }

    .page-hero {
        padding: 82px 0;
    }

    .hero-content {
        padding: 70px 0;
    }

    .service-item {
        padding: 28px;
    }

    .brand {
        font-size: 1.15rem;
    }

    .whatsapp-float {
        left: 18px;
        right: 18px;
        text-align: center;
    }
}
