:root {
    --bg: #f6f4ef;
    --surface: rgba(255,255,255,0.88);
    --text: #1f2a24;
    --muted: #5c685f;
    --line: rgba(31, 42, 36, 0.12);
    --accent: #7d8f75;
    --accent-deep: #4e6554;
    --warm: #c7ae7a;
    --shadow: 0 18px 45px rgba(26, 35, 30, 0.10);
    --radius: 20px;
    --max: 1220px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    color: var(--text);
    background:
        radial-gradient(circle at top, rgba(199,174,122,0.12), transparent 32%),
        linear-gradient(180deg, #eef2eb 0%, #f6f4ef 36%, #f3efe7 100%);
    line-height: 1.6;
}

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

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

.container {
    width: min(calc(100% - 2rem), var(--max));
    margin: 0 auto;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(12px);
    background: rgba(246, 244, 239, 0.78);
    border-bottom: 1px solid var(--line);
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
}

.brand {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.brand-title {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.brand-subtitle {
    font-size: 0.88rem;
    color: var(--muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.95rem;
}

.nav a {
    color: var(--muted);
    transition: color 0.2s ease;
}

.nav a:hover,
.nav a:focus-visible {
    color: var(--accent-deep);
}

.hero {
    padding: 6rem 0 4rem;
}

.hero-panel {
    background: linear-gradient(135deg, rgba(255,255,255,0.90), rgba(255,255,255,0.75));
    border: 1px solid rgba(255,255,255,0.45);
    border-radius: 28px;
    padding: clamp(2rem, 3vw, 4rem);
    box-shadow: var(--shadow);
    max-width: 760px;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(125, 143, 117, 0.12);
    color: var(--accent-deep);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

h1, h2, h3 {
    line-height: 1.15;
    margin: 0 0 1rem;
    font-weight: 700;
}

h1 {
    font-size: clamp(2.6rem, 5vw, 5rem);
    max-width: 10ch;
}

h2 {
    font-size: clamp(2rem, 3.2vw, 3rem);
}

h3 {
    font-size: 1.25rem;
}

.hero p,
.section-intro {
    font-size: 1.05rem;
    color: var(--muted);
    max-width: 62ch;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.75rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.3rem;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-primary {
    background: var(--accent-deep);
    color: #fff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
    transform: translateY(-1px);
}

.btn-secondary {
    background: rgba(255,255,255,0.68);
    color: var(--text);
    border: 1px solid var(--line);
}

section {
    padding: 2rem 0 4rem;
}

.section-head {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}

.grid {
    display: grid;
    gap: 1.25rem;
}

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

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

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.4rem;
    box-shadow: var(--shadow);
}

.card p {
    color: var(--muted);
    margin-bottom: 0;
}

.property-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.property-image {
    aspect-ratio: 4 / 3;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(125,143,117,0.30), rgba(199,174,122,0.22));
    border: 1px solid rgba(31,42,36,0.08);
}

.meta {
    font-size: 0.84rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-deep);
}

.split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 1.5rem;
    align-items: stretch;
}

.callout {
    background: linear-gradient(135deg, rgba(78,101,84,0.95), rgba(63,83,68,0.95));
    color: #f7f5f0;
    border-radius: 24px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.callout p {
    color: rgba(247,245,240,0.82);
}

footer {
    padding: 2rem 0 3rem;
    border-top: 1px solid var(--line);
    background: rgba(255,255,255,0.55);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1.5rem;
}

.footer-note,
.footer-links {
    color: var(--muted);
    font-size: 0.95rem;
}

.footer-links a {
    color: var(--accent-deep);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    align-content: start;
}

@media (max-width: 980px) {
    .grid-3,
    .grid-4,
    .split,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .topbar-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .hero {
        padding-top: 4rem;
    }

    .hero-panel,
    .callout,
    .card {
        padding: 1.2rem;
    }

    .nav {
        gap: 0.75rem;
        font-size: 0.9rem;
    }
}


.subscribe-card {
    display: grid;
    gap: 1.25rem;
}

.subscribe-copy .eyebrow {
    margin-bottom: 0.85rem;
}

.subscribe-form {
    display: grid;
    gap: 0.9rem;
}

.field-group {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
}

.field-optional {
    font-weight: 400;
    color: var(--muted);
}

.text-input {
    width: 100%;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(31, 42, 36, 0.16);
    border-radius: 14px;
    background: rgba(255,255,255,0.88);
    color: var(--text);
    font: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.text-input:focus {
    outline: none;
    border-color: var(--accent-deep);
    box-shadow: 0 0 0 4px rgba(78, 101, 84, 0.10);
}

.subscribe-btn {
    width: 100%;
    margin-top: 0.35rem;
}

.form-alert {
    padding: 0.9rem 1rem;
    border-radius: 14px;
    font-size: 0.95rem;
}

.form-alert.success {
    background: rgba(78, 101, 84, 0.10);
    color: var(--accent-deep);
    border: 1px solid rgba(78, 101, 84, 0.20);
}

.form-alert.error {
    background: rgba(145, 82, 82, 0.10);
    color: #7a3737;
    border: 1px solid rgba(145, 82, 82, 0.20);
}
