:root {
    --ink: #102019;
    --muted: #66746d;
    --line: #e3e9e5;
    --cream: #f7f2e8;
    --sand: #efe4cf;
    --green: #0f5132;
    --green-2: #153f2c;
    --gold: #d7a94b;
    --white: #ffffff;
    --shadow: 0 24px 70px rgba(16, 32, 25, 0.12);
    --radius: 28px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.6;
}

p {
    font-size: 1.12rem;
}

img {
    display: block;
    width: 100%;
    max-width: 100%;
    object-fit: cover;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.narrow {
    width: min(820px, calc(100% - 40px));
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.86);
    border-bottom: 1px solid rgba(227, 233, 229, 0.75);
    backdrop-filter: blur(18px);
}

.nav {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    color: var(--white);
    background: linear-gradient(135deg, var(--green), var(--gold));
    border-radius: 15px;
    box-shadow: 0 14px 30px rgba(15, 81, 50, 0.22);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
    color: var(--muted);
    font-size: 1.2rem;
    font-weight: 700;
}

.nav-links a {
    transition: color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--green);
}

.nav-cta,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nav-cta,
.btn.primary {
    color: var(--white) !important;
    background: var(--green);
    box-shadow: 0 18px 36px rgba(15, 81, 50, 0.2);
}

.btn.ghost {
    color: var(--green);
    background: rgba(15, 81, 50, 0.08);
}

.btn.light {
    color: var(--green) !important;
    background: var(--white);
}

.nav-cta:hover,
.btn:hover {
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 11px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
}

.nav-toggle span:not(.sr-only) {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--ink);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 50px 0;
    background:
        radial-gradient(circle at top left, rgba(215, 169, 75, 0.24), transparent 32%),
        linear-gradient(135deg, #f9f5eb 0%, #ffffff 52%, #edf7f1 100%);
}

.hero-grid,
.split,
.contact-grid {
    display: grid;
    grid-template-columns: 1.03fr 0.97fr;
    gap: 56px;
    align-items: center;
}

.hero-copy h1,
.page-hero h1,
.section-heading h2,
.split h2,
.cta-card h2,
.article h1 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(2.35rem, 6vw, 5.35rem);
    line-height: 0.96;
    letter-spacing: -0.08em;
}

.page-hero h1,
.article h1 {
    font-size: clamp(1.725rem, calc(6vw - 10px), 4.725rem);
}

.hero-copy p,
.page-hero p,
.section-heading p,
.split p,
.cta-card p {
    max-width: 660px;
    color: var(--muted);
    font-size: 1.05rem;
}

.eyebrow {
    display: inline-flex;
    margin-bottom: 16px;
    color: var(--green);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 34px 0;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 36px;
}

.hero-stats div {
    padding: 18px;
    border: 1px solid rgba(15, 81, 50, 0.12);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.62);
}

.hero-stats strong {
    display: block;
    font-size: 1.45rem;
}

.hero-stats span,
.property-meta,
.location,
.blog-card span,
.footer-bottom {
    color: var(--muted);
    font-size: 0.9rem;
}

.hero-card {
    position: relative;
}

.hero-card img {
    height: 620px;
    border-radius: 42px;
    box-shadow: var(--shadow);
}

.floating-card {
    position: absolute;
    right: -18px;
    bottom: 36px;
    width: min(270px, 85%);
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 24px;
    color: var(--white);
    background: rgba(15, 81, 50, 0.84);
    backdrop-filter: blur(14px);
}

.floating-card span {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.76);
}

.section,
.page-hero,
.article-hero {
    padding: 50px 0;
}

.page-hero,
.article-hero {
    background: linear-gradient(135deg, var(--cream), #ffffff);
    text-align: center;
}

.section-heading {
    margin-bottom: 38px;
    text-align: center;
}

.section-heading h2,
.split h2,
.cta-card h2 {
    font-size: clamp(2rem, 4vw, 3.6rem);
}

.section-heading.left {
    text-align: left;
}

.muted {
    background: #f7faf8;
}

.property-grid,
.blog-grid,
.services-grid,
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.property-card,
.blog-card,
.service-card,
.values-grid article,
.contact-form,
.contact-panel {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 18px 50px rgba(16, 32, 25, 0.07);
}

.property-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.property-image {
    position: relative;
}

.property-image img {
    height: 260px;
}

.property-image span {
    position: absolute;
    top: 18px;
    left: 18px;
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--white);
    background: var(--green);
    font-size: 0.78rem;
    font-weight: 800;
}

.property-body,
.service-card,
.values-grid article,
.contact-panel {
    padding: 26px;
}

.property-body {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.property-body h3,
.blog-card h3,
.blog-card h2,
.service-card h2 {
    margin: 6px 0 10px;
    line-height: 1.18;
    letter-spacing: -0.04em;
}

.property-body strong {
    color: var(--green);
    font-size: 1.22rem;
}

.property-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: auto;
    padding-top: 18px;
}

.property-meta span {
    padding: 7px 10px;
    border-radius: 999px;
    background: #f1f6f3;
}

.property-link {
    display: inline-flex;
    margin-top: 20px;
    font-weight: 800;
}

.feature-list {
    display: grid;
    gap: 18px;
}

.feature-list div {
    padding: 24px;
    border-left: 4px solid var(--gold);
    border-radius: 18px;
    background: var(--white);
}

.blog-card {
    display: grid;
    grid-template-rows: 230px 1fr;
    height: 100%;
}

.blog-card img {
    height: 100%;
}

.blog-card div {
    display: flex;
    flex-direction: column;
    padding: 24px;
}

.blog-card p {
    margin-bottom: 14px;
}

.blog-card a:hover,
.text-link,
.service-card a {
    color: var(--green);
}

.blog-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    margin-top: auto;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    color: var(--white) !important;
    background: var(--green);
    font-weight: 900;
    box-shadow: 0 14px 28px rgba(15, 81, 50, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(15, 81, 50, 0.24);
}

.blog-grid.large {
    grid-template-columns: repeat(2, 1fr);
}

.center-action {
    display: flex;
    justify-content: center;
    margin-top: 36px;
}

.rounded-image,
.article-hero img {
    border-radius: 34px;
    box-shadow: var(--shadow);
}

.values-grid article span,
.service-card span {
    display: inline-flex;
    margin-bottom: 18px;
    color: var(--gold);
    font-size: 0.9rem;
    font-weight: 900;
}

.city-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.city-tags span {
    padding: 13px 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    font-weight: 800;
}

.process {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 42px;
    align-items: start;
}

.process-steps {
    display: grid;
    gap: 14px;
}

.process-steps div {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 18px;
    align-items: center;
    padding: 18px;
    border-radius: 18px;
    background: var(--white);
}

.process-steps strong {
    color: var(--gold);
}

.cta-section {
    padding: 50px 0;
}

.cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 48px;
    border-radius: 36px;
    color: var(--white);
    background:
        linear-gradient(135deg, rgba(15, 81, 50, 0.93), rgba(21, 63, 44, 0.95)),
        url("https://images.unsplash.com/photo-1560185008-b033106af5c3?auto=format&fit=crop&w=1200&q=80") center/cover;
}

.cta-card h2,
.cta-card .eyebrow {
    color: var(--white);
}

.cta-card .btn {
    flex-shrink: 0;
    padding: 0 30px;
    white-space: nowrap;
}

.contact-grid {
    align-items: start;
}

.contact-side {
    display: grid;
    gap: 22px;
}

.contact-panel a,
.contact-panel span {
    display: block;
    margin-top: 12px;
    color: var(--muted);
}

.office-hours {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.contact-map {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 18px 50px rgba(16, 32, 25, 0.07);
}

.contact-map p {
    color: var(--muted);
    margin-top: 6px;
}

.contact-form {
    display: grid;
    gap: 18px;
    padding: 30px;
}

.contact-form label {
    display: grid;
    gap: 8px;
    color: var(--ink);
    font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 15px 16px;
    border: 1px solid var(--line);
    border-radius: 15px;
    color: var(--ink);
    background: #fbfdfc;
    font: inherit;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: 3px solid rgba(215, 169, 75, 0.24);
    border-color: var(--gold);
}

.map-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.map-card iframe {
    display: block;
    width: 100%;
    height: 430px;
    border: 0;
}

.map-card.compact {
    margin-top: 14px;
    border-radius: 20px;
    box-shadow: none;
}

.map-card.compact iframe {
    height: 260px;
}

.alert {
    display: grid;
    gap: 5px;
    padding: 14px 16px;
    border-radius: 16px;
    font-weight: 700;
}

.alert.success {
    color: #0f5132;
    background: #e9f7ef;
}

.alert.error {
    color: #842029;
    background: #f8d7da;
}

.article-hero {
    text-align: left;
}

.article-hero .container:first-child {
    margin-bottom: 38px;
}

.article-hero img {
    height: min(540px, 58vw);
}

.article-body {
    width: min(760px, calc(100% - 40px));
    padding: 50px 0;
}

.article-body p {
    color: #37453e;
    font-size: 1.1rem;
}

.listing-hero {
    padding: 50px 0;
    background: linear-gradient(135deg, var(--cream), #ffffff 58%, #edf7f1);
}

.listing-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 54px;
    align-items: center;
}

.listing-grid h1 {
    margin: 0;
    font-size: clamp(1.725rem, calc(5vw - 10px), 3.975rem);
    line-height: 1;
    letter-spacing: -0.08em;
}

.listing-grid strong {
    display: block;
    margin-top: 18px;
    color: var(--green);
    font-size: 1.8rem;
}

.listing-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 28px 0;
}

.listing-meta span {
    padding: 11px 14px;
    border: 1px solid rgba(15, 81, 50, 0.14);
    border-radius: 999px;
    background: var(--white);
    font-weight: 800;
}

.listing-description {
    color: var(--muted);
}

.listing-image img {
    height: 610px;
    border-radius: 42px;
    box-shadow: var(--shadow);
}

.site-footer {
    padding: 52px 0;
    color: rgba(255, 255, 255, 0.72);
    background: #07140e;
    font-size: 1.05rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.7fr 0.9fr;
    gap: 34px;
}

.footer-brand,
.site-footer h3 {
    color: var(--white);
}

.site-footer h3 {
    font-size: 1.22rem;
}

.site-footer a,
.site-footer span {
    display: block;
    margin-top: 10px;
    font-size: 1.05rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-top: 42px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 920px) {
    .nav-toggle {
        display: inline-block;
    }

    .nav-links {
        position: absolute;
        top: 82px;
        left: 20px;
        right: 20px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
        border: 1px solid var(--line);
        border-radius: 22px;
        background: var(--white);
        box-shadow: var(--shadow);
    }

    .nav-links.open {
        display: flex;
    }

    .hero-grid,
    .split,
    .contact-grid,
    .process,
    .listing-grid {
        grid-template-columns: 1fr;
    }

    .hero-card img,
    .listing-image img {
        height: 440px;
    }

    .property-grid,
    .blog-grid,
    .blog-grid.large,
    .services-grid,
    .values-grid,
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .container,
    .narrow,
    .article-body {
        width: min(100% - 28px, 1180px);
    }

    .hero,
    .section,
    .page-hero,
    .article-hero {
        padding: 50px 0;
    }

    .hero-copy h1,
    .page-hero h1,
    .article h1 {
        font-size: 2.65rem;
    }

    .page-hero h1,
    .article h1 {
        font-size: 2.025rem;
    }

    .hero-stats,
    .property-grid,
    .blog-grid,
    .blog-grid.large,
    .services-grid,
    .values-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .cta-card,
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-card .btn {
        width: 100%;
        white-space: normal;
        text-align: center;
    }
}
