:root {
    --navy: #10233f;
    --navy-dark: #09172a;
    --teal: #0f766e;
    --teal-dark: #0b5f59;
    --teal-soft: #e7f4f2;
    --text: #253342;
    --muted: #647180;
    --line: #dfe6eb;
    --surface: #f5f8f8;
    --white: #ffffff;
    --warning: #8a5a00;
    --success: #0b654f;
    --danger: #a12a2a;
    --shadow: 0 18px 45px rgba(16, 35, 63, 0.09);
    --radius: 14px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.65;
}

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

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

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

ul {
    list-style: none;
}

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

.skip-link {
    position: fixed;
    top: -80px;
    left: 18px;
    z-index: 5000;
    padding: 10px 14px;
    color: var(--white);
    background: var(--navy);
    border-radius: 6px;
}

.skip-link:focus {
    top: 18px;
}

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

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

.logo {
    color: var(--navy);
    font-size: 1.46rem;
    font-weight: 900;
    letter-spacing: -0.7px;
    white-space: nowrap;
}

.logo span {
    color: var(--teal);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    padding: 10px 13px;
    color: #344354;
    border-radius: 7px;
    font-size: 0.94rem;
    font-weight: 700;
    transition: 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--teal);
    background: var(--teal-soft);
}

.menu-button {
    width: 44px;
    height: 42px;
    display: none;
    align-content: center;
    gap: 5px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    cursor: pointer;
}

.menu-button span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--navy);
}

.section {
    padding: 88px 0;
}

.section-alt {
    background: var(--surface);
}

.eyebrow {
    margin-bottom: 10px;
    color: var(--teal);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 1.65px;
    text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
    color: var(--navy);
    line-height: 1.16;
}

h1 {
    max-width: 800px;
    font-size: clamp(2.65rem, 6.4vw, 5rem);
    letter-spacing: -2.5px;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.15rem);
    letter-spacing: -1.25px;
}

h3 {
    font-size: 1.3rem;
}

.lead {
    max-width: 720px;
    margin-top: 20px;
    color: var(--muted);
    font-size: 1.06rem;
}

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

.section-heading > div {
    max-width: 720px;
}

.section-heading p:not(.eyebrow) {
    margin-top: 14px;
    color: var(--muted);
}

.btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: 7px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
    color: var(--white);
    background: var(--teal);
}

.btn-primary:hover {
    background: var(--teal-dark);
}

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

.btn-outline {
    color: var(--teal);
    border-color: var(--teal);
    background: transparent;
}

.btn-outline:hover {
    color: var(--white);
    background: var(--teal);
}

.text-link {
    color: var(--teal);
    font-weight: 800;
    white-space: nowrap;
}

.hero {
    min-height: 690px;
    position: relative;
    display: grid;
    place-items: center;
    color: var(--white);
    background: url("images/property-home.png") center / cover no-repeat;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(6, 20, 34, 0.91) 0%, rgba(6, 20, 34, 0.66) 52%, rgba(6, 20, 34, 0.24) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 95px 0;
}

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

.hero .hero-copy {
    max-width: 690px;
    margin-top: 24px;
    color: #e6eef0;
    font-size: 1.1rem;
}

.hero-actions {
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

.trust-strip {
    border-bottom: 1px solid var(--line);
    background: var(--white);
}

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

.trust-item {
    padding: 26px 28px;
    border-right: 1px solid var(--line);
}

.trust-item:last-child {
    border-right: 0;
}

.trust-item strong {
    display: block;
    color: var(--navy);
    font-size: 1.03rem;
}

.trust-item span {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.9rem;
}

.card-grid,
.service-grid,
.value-grid,
.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card,
.value-card,
.process-card,
.info-card {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 12px 30px rgba(16, 35, 63, 0.055);
}

.card-number,
.process-number {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    color: var(--teal);
    border-radius: 50%;
    background: var(--teal-soft);
    font-size: 0.9rem;
    font-weight: 900;
}

.service-card p,
.value-card p,
.process-card p,
.info-card p {
    margin-top: 13px;
    color: var(--muted);
}

.service-card .text-link {
    display: inline-flex;
    margin-top: 20px;
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.property-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.property-image {
    height: 235px;
    position: relative;
    overflow: hidden;
}

.property-image img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.04);
}

.property-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 7px 11px;
    color: var(--white);
    border-radius: 5px;
    background: var(--teal);
    font-size: 0.76rem;
    font-weight: 800;
}

.property-content {
    padding: 23px;
}

.property-price {
    color: var(--teal);
    font-size: 1.25rem;
    font-weight: 900;
}

.property-content h3 {
    margin-top: 6px;
}

.property-location,
.property-summary {
    margin-top: 9px;
    color: var(--muted);
}

.property-summary {
    font-size: 0.93rem;
}

.property-info {
    margin-top: 20px;
    padding-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 9px 14px;
    border-top: 1px solid #edf0f2;
    color: #4d5b67;
    font-size: 0.86rem;
}

.property-card .btn {
    width: 100%;
    margin-top: 21px;
}

.disclaimer {
    margin-top: 24px;
    padding: 15px 18px;
    color: var(--muted);
    border: 1px solid var(--line);
    border-radius: 9px;
    background: var(--surface);
    font-size: 0.86rem;
}

.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 64px;
}

.split-image img {
    min-height: 490px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.split-content p:not(.eyebrow) {
    margin-top: 18px;
    color: var(--muted);
}

.check-list {
    margin: 26px 0;
    display: grid;
    gap: 13px;
}

.check-list li {
    position: relative;
    padding-left: 31px;
    color: #455564;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    color: var(--teal);
    border-radius: 50%;
    background: var(--teal-soft);
    font-size: 0.8rem;
    font-weight: 900;
}

.page-hero {
    position: relative;
    padding: 105px 0 96px;
    color: var(--white);
    background-color: var(--navy-dark);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(6, 20, 34, 0.92) 0%, rgba(6, 20, 34, 0.72) 58%, rgba(6, 20, 34, 0.42) 100%);
}

.page-hero > .container {
    position: relative;
    z-index: 1;
}

.page-hero--about {
    background-image: url("images/property-4.png");
}

.page-hero--properties {
    background-image: url("images/property-1.png");
}

.page-hero--buy-sell {
    background-image: url("images/property-2.png");
}

.page-hero--contact {
    background-image: url("images/property-3.png");
}

.page-hero--privacy {
    background-image: url("images/property-home.png");
}

.page-hero--terms {
    background-image: url("images/property-4.png");
}

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

.page-hero p:not(.eyebrow) {
    max-width: 750px;
    margin-top: 22px;
    color: #dce6ec;
    font-size: 1.08rem;
}

.page-hero .hero-actions {
    margin-top: 28px;
}

.filter-panel {
    margin-bottom: 34px;
    padding: 20px;
    display: grid;
    grid-template-columns: 1.4fr 1fr auto auto;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 10px 28px rgba(16, 35, 63, 0.05);
}

.filter-panel input,
.filter-panel select {
    width: 100%;
    min-height: 48px;
    padding: 11px 14px;
    border: 1px solid #ccd6de;
    border-radius: 7px;
    color: var(--text);
    background: var(--white);
    outline: none;
}

.filter-panel input:focus,
.filter-panel select:focus,
.form-control:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

.results-summary {
    margin: -14px 0 28px;
    color: var(--muted);
}

.empty-state {
    padding: 48px 30px;
    text-align: center;
    border: 1px dashed #bdc9d1;
    border-radius: var(--radius);
    background: var(--surface);
}

.empty-state p {
    margin: 12px auto 22px;
    color: var(--muted);
}

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

.audience-card {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.audience-card p {
    margin-top: 14px;
    color: var(--muted);
}

.audience-card ul {
    margin-top: 20px;
    display: grid;
    gap: 10px;
}

.audience-card li {
    padding-left: 22px;
    position: relative;
    color: #455564;
}

.audience-card li::before {
    content: "•";
    position: absolute;
    left: 4px;
    color: var(--teal);
    font-weight: 900;
}

.form-layout {
    display: grid;
    grid-template-columns: 0.78fr 1.22fr;
    align-items: start;
    gap: 46px;
}

.form-intro {
    position: sticky;
    top: 108px;
}

.form-intro p:not(.eyebrow) {
    margin-top: 18px;
    color: var(--muted);
}

.contact-list {
    margin-top: 28px;
    display: grid;
    gap: 18px;
}

.contact-list div {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.contact-list span {
    display: block;
    color: var(--teal);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.contact-list strong,
.contact-list a,
.contact-list p {
    display: block;
    margin-top: 4px;
    color: var(--navy);
}

.site-form {
    padding: 34px;
    display: grid;
    gap: 19px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.site-form fieldset {
    padding: 0;
    border: 0;
}

.site-form legend,
.site-form label {
    color: #2c3c4e;
    font-size: 0.91rem;
    font-weight: 800;
}

.site-form label {
    display: grid;
    gap: 7px;
}

.two-column-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-control {
    width: 100%;
    min-height: 49px;
    padding: 12px 14px;
    border: 1px solid #ccd6de;
    border-radius: 7px;
    color: var(--text);
    background: var(--white);
    outline: none;
}

textarea.form-control {
    min-height: 135px;
    resize: vertical;
}

.choice-grid {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.choice-grid label {
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 13px;
    border: 1px solid var(--line);
    border-radius: 7px;
    font-weight: 600;
}

.choice-grid input,
.consent-row input {
    width: 17px;
    height: 17px;
    accent-color: var(--teal);
}

.consent-row {
    display: grid !important;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 10px !important;
    color: #536270 !important;
    font-size: 0.78rem !important;
    font-weight: 500 !important;
    line-height: 1.55;
}

.consent-row input {
    margin-top: 3px;
}

.consent-row a {
    color: var(--teal);
    text-decoration: underline;
}

.honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.form-message {
    padding: 13px 15px;
    border-radius: 7px;
    font-size: 0.91rem;
}

.form-message.success {
    color: var(--success);
    border: 1px solid #afdccc;
    background: #e7f7f1;
}

.form-message.error {
    color: var(--danger);
    border: 1px solid #edb8b8;
    background: #fff0f0;
}

.site-form .has-error .form-control,
.site-form .has-error.choice-grid,
.site-form fieldset.has-error .choice-grid,
.site-form .consent-row.has-error {
    border-color: var(--danger);
}

.site-form [aria-invalid="true"] {
    outline: 2px solid rgba(184, 48, 48, 0.16);
    outline-offset: 1px;
}

.field-error {
    display: block;
    margin-top: 2px;
    color: var(--danger);
    font-size: 0.79rem;
    font-weight: 700;
}

.consent-row .field-error {
    grid-column: 1 / -1;
}

.js-form-summary ul {
    margin: 8px 0 0 20px;
    list-style: disc;
}

.js-form-summary li + li {
    margin-top: 3px;
}

.form-note {
    color: var(--muted);
    font-size: 0.8rem;
}

.contact-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.contact-card {
    padding: 27px;
    text-align: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.contact-card span {
    display: block;
    color: var(--teal);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.contact-card strong,
.contact-card a,
.contact-card p {
    display: block;
    margin-top: 9px;
    color: var(--navy);
}

.cta-band {
    padding: 62px 0;
    color: var(--white);
    background: var(--teal);
}

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

.cta-band h2 {
    color: var(--white);
}

.cta-band p {
    max-width: 670px;
    margin-top: 12px;
    color: #e4f4f2;
}

.legal-page {
    padding: 72px 0;
    background: var(--surface);
}

.legal-content {
    max-width: 920px;
    margin: 0 auto;
    padding: 44px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.legal-content h1 {
    font-size: clamp(2.3rem, 5vw, 3.6rem);
}

.legal-content h2 {
    margin: 32px 0 10px;
    font-size: 1.35rem;
    letter-spacing: -0.3px;
}

.legal-content p,
.legal-content li {
    color: #465666;
    line-height: 1.78;
}

.legal-content p {
    margin-bottom: 18px;
}

.legal-content ul {
    margin: 0 0 20px 23px;
    list-style: disc;
}

.legal-content a {
    color: var(--teal);
    text-decoration: underline;
}

.legal-updated {
    margin: 10px 0 28px !important;
    color: var(--muted) !important;
}

.legal-contact {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.site-footer {
    color: #c5d0db;
    background: var(--navy-dark);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.7fr 1fr;
    gap: 48px;
    padding: 52px 0 36px;
}

.footer-logo {
    color: var(--white);
}

.footer-description {
    max-width: 410px;
    margin-top: 14px;
    color: #aebbc8;
}

.footer-grid h4 {
    margin-bottom: 15px;
    color: var(--white);
}

.footer-grid p,
.footer-links li {
    margin-bottom: 7px;
    font-size: 0.9rem;
}

.footer-grid a:hover,
.legal-links a:hover {
    color: var(--white);
}

.footer-bottom {
    padding: 20px 0 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    color: #aebbc8;
    font-size: 0.87rem;
}

.legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

@media (max-width: 980px) {
    .property-grid,
    .service-grid,
    .value-grid,
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .form-intro {
        position: static;
    }

    .split-image img {
        min-height: 390px;
    }

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

    .contact-card-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 760px) {
    .menu-button {
        display: grid;
    }

    .nav-links {
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 5px;
        padding: 16px 4% 20px;
        border-bottom: 1px solid var(--line);
        background: var(--white);
        box-shadow: 0 16px 30px rgba(16, 35, 63, 0.1);
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links a {
        padding: 12px 14px;
    }

    .section {
        padding: 68px 0;
    }

    .hero {
        min-height: 640px;
    }

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

    .page-hero {
        padding: 78px 0 72px;
    }

    .trust-grid,
    .audience-grid,
    .contact-card-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .trust-item {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .trust-item:last-child {
        border-bottom: 0;
    }

    .section-heading,
    .cta-grid,
    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .cta-grid {
        display: flex;
    }

    .footer-grid {
        gap: 28px;
    }
}

@media (max-width: 620px) {
    .property-grid,
    .service-grid,
    .value-grid,
    .process-grid,
    .filter-panel,
    .two-column-fields,
    .choice-grid {
        grid-template-columns: 1fr;
    }

    h1 {
        letter-spacing: -1.6px;
    }

    .site-form,
    .legal-content {
        padding: 25px 19px;
    }

    .split-image img {
        min-height: 310px;
    }

    .hero-actions .btn,
    .cta-grid .btn {
        width: 100%;
    }
}
