:root {
    --brand: #a67c52;
    --brand-dark: #7d5b38;
    --brand-soft: #f4ede5;

    --text: #1f2937;
    --muted: #6b7280;
    --bg: #f8f7f4;
    --card: #ffffff;
    --border: #e5e7eb;

    --shadow-sm: 0 6px 20px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);

    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 24px;
}

html, body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background-color: #fff;
}

body {
    line-height: 1.6;
}

a {
    color: var(--brand-dark);
    text-decoration: none;
}

a:hover {
    color: var(--brand);
}

.site-topbar {
    background: #f8f5f1;
    border-bottom: 1px solid #eee7df;
}

.topbar-link {
    color: var(--text);
}

.site-header .navbar {
    min-height: 58px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
}

.navbar-brand {
    letter-spacing: 0.02em;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    color: #fff;
    font-weight: 800;
    box-shadow: var(--shadow-sm);
}

.brand-text {
    font-size: 1.15rem;
    color: var(--text);
}

.nav-link {
    color: var(--text);
    font-weight: 500;
    padding-left: 0.85rem !important;
    padding-right: 0.85rem !important;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--brand-dark);
}

.btn-brand {
    background-color: var(--brand);
    border-color: var(--brand);
    color: #fff;
    border-radius: 999px;
    padding: 0.7rem 1.15rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.btn-brand:hover,
.btn-brand:focus {
    background-color: var(--brand-dark);
    border-color: var(--brand-dark);
    color: #fff;
}

.btn-outline-brand {
    background: #fff;
    border: 1px solid rgba(166, 124, 82, 0.35);
    color: var(--brand-dark);
    border-radius: 999px;
    padding: 0.7rem 1.15rem;
    font-weight: 600;
}

.btn-outline-brand:hover,
.btn-outline-brand:focus {
    background: var(--brand-soft);
    color: var(--brand-dark);
    border-color: rgba(166, 124, 82, 0.55);
}

.site-main {
    min-height: 60vh;
}

.page-hero-wrap {
    background:
        radial-gradient(circle at top left, rgba(166, 124, 82, 0.10), transparent 30%),
        linear-gradient(180deg, #fbfaf8 0%, #ffffff 100%);
    border-bottom: 1px solid #f1ece6;
}

.section {
    padding: 4rem 0;
}

.section-sm {
    padding: 2.5rem 0;
}

.section-title {
    font-size: clamp(1.75rem, 2vw, 2.5rem);
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--muted);
    max-width: 760px;
}

.card-modern {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease;fcard-modern:hover
}

.card-modern:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.card-modern .card-body {
    padding: 1.25rem;
}

.hero-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.hero-card .btn-outline-light:hover,
.hero-card .btn-outline-light:focus {
    background: #fff;
    color: #00395A;
}

.hero-card .badge-soft-light {
    background: rgba(255,255,255,.18);
    color: #fff;
    padding: .5rem .75rem;
    border-radius: 999px;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.hero-panel {
    padding: 2rem;
}

.hero-kicker {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-dark);
    background: var(--brand-soft);
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.05;
    font-weight: 800;
    margin-bottom: 1rem;
}

.hero-text {
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 700px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.stat-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.6rem 0.85rem;
    background: #fff;
    font-size: 0.92rem;
    color: var(--text);
}

.filter-bar {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 1rem;
}

.form-control,
.form-select {
    border-radius: 12px;
    border-color: #d8dde3;
    min-height: 48px;
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(166, 124, 82, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(166, 124, 82, 0.15);
}

.image-cover {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.badge-soft-brand {
    background: var(--brand-soft);
    color: var(--brand-dark);
    border-radius: 999px;
    font-weight: 600;
    padding: 0.45rem 0.7rem;
}

.empty-state {
    border: 1px dashed #d7dbe0;
    border-radius: var(--radius-md);
    padding: 3rem 1.5rem;
    text-align: center;
    background: #fafafa;
}

.site-footer {
    background: #fbfaf8;
    border-top: 1px solid #eee8e1;
}

.site-footer a {
    color: var(--text);
}

.site-footer a:hover {
    color: var(--muted);
}

.footer-links li + li {
    margin-top: 0.65rem;
}

.footer-cta-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.rounded-4xl {
    border-radius: 2rem;
}

.bg-soft {
    background: var(--bg);
}

.text-muted-custom {
    color: var(--muted);
}

@media (max-width: 991.98px) {
    .site-header .navbar {
        min-height: 58px;
    }

    .hero-panel {
        padding: 1.5rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

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


.footer-links a.active {
    font-weight: 700;
}



/* Active Nav Styling */
.navbar .nav-link {
    color: #243746;
    font-weight: 500;
    transition: color .2s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
    color: #00395A;
}

.navbar .nav-link.active {
    color: #00395A;
    font-weight: 700;
    position: relative;
}

.navbar .nav-link.active::after {
    content: '';
    position: absolute;
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.2rem;
    height: 2px;
    background: #00395A;
    border-radius: 999px;
}

@media (max-width: 991.98px) {
    .navbar .nav-link.active::after {
        display: none;
    }
}


/* Pagination */
.pagination {
    --bs-pagination-padding-x: 0.9rem;
    --bs-pagination-padding-y: 0.55rem;
    --bs-pagination-font-size: 0.95rem;
    --bs-pagination-color: #00395A;
    --bs-pagination-bg: #fff;
    --bs-pagination-border-color: rgba(0, 57, 90, 0.18);
    --bs-pagination-border-radius: 0.75rem;
    --bs-pagination-hover-color: #fff;
    --bs-pagination-hover-bg: #00395A;
    --bs-pagination-hover-border-color: #00395A;
    --bs-pagination-focus-color: #fff;
    --bs-pagination-focus-bg: #00395A;
    --bs-pagination-focus-border-color: #00395A;
    --bs-pagination-focus-box-shadow: 0 0 0 0.2rem rgba(0, 57, 90, 0.15);
    --bs-pagination-active-color: #fff;
    --bs-pagination-active-bg: #00395A;
    --bs-pagination-active-border-color: #00395A;
    --bs-pagination-disabled-color: #8aa0af;
    --bs-pagination-disabled-bg: #f8fafb;
    --bs-pagination-disabled-border-color: rgba(0, 57, 90, 0.12);
}

.pagination .page-link {
    font-weight: 600;
    transition: all 0.2s ease;
    border-radius: 0.75rem !important;
}

.pagination .page-item:not(:first-child) .page-link {
    margin-left: 0.35rem;
}

.pagination .page-item.active .page-link {
    box-shadow: 0 0.35rem 0.9rem rgba(0, 57, 90, 0.18);
}

.pagination .page-link:hover {
    text-decoration: none;
}


/* Inventory Badge Status */
.badge-status-available,
.badge-status-move-in-ready {
    background: #90aba5;
    color: #fff;
}

.badge-status-under-contract,
.badge-status-planning {
    background: #909090;
    color: #fff;
}

.badge-status-under-construction,
.badge-status-sold {
    background: #ad967f;
    color: #fff;
}



/* Land Search */
#land-search-map,
#land-property-map {
    background: #eef2f5;
}

.card-modern ul {
    padding-left: 1.25rem;
}



/* Gen-Flex */
.badge-soft-light {
    background: rgba(255,255,255,.18);
    color: #fff;
    padding: .5rem .75rem;
    border-radius: 999px;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.btn-outline-light:hover,
.btn-outline-light:focus {
    color: #00395A;
}



/* Blogs */
.blog-content {
    font-size: 1.05rem;
    line-height: 1.8;
}

.blog-content p:last-child {
    margin-bottom: 0;
}



/* Contact Us */
.honey-pot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

#contact-map {
    background: #eef2f5;
}

.form-control,
.form-select {
    border-radius: 0.9rem;
    padding: 0.85rem 1rem;
}

textarea.form-control {
    min-height: 180px;
}



/* ============================================
   Home Page: Cinematic Hero (CHOV-4)
   Full-bleed hero section replacing split card
   ============================================ */

.page-hero-wrap--cinematic {
    background: none;
    border-bottom: none;
}

.home-hero {
    position: relative;
    height: 92vh;
    min-height: 580px;
    max-height: 900px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.home-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.home-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.72) 0%,
        rgba(0, 0, 0, 0.45) 50%,
        rgba(0, 0, 0, 0.20) 100%
    );
}

.home-hero-kicker {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    margin-bottom: 1.25rem;
}

.home-hero-title {
    font-size: clamp(2rem, 5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.08;
    color: #fff;
    margin-bottom: 1.25rem;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.home-hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.65;
    max-width: 560px;
    margin-bottom: 2rem;
}

.btn-hero-cta {
    background: var(--brand);
    border: none;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.9rem 2rem;
    border-radius: 999px;
    box-shadow: 0 4px 20px rgba(166, 124, 82, 0.5);
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-hero-cta:hover,
.btn-hero-cta:focus {
    background: var(--brand-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(166, 124, 82, 0.6);
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.9rem 2rem;
    border-radius: 999px;
    backdrop-filter: blur(4px);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-hero-secondary:hover,
.btn-hero-secondary:focus {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.65);
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

@media (max-width: 575.98px) {
    .home-hero {
        height: auto;
        min-height: 80vh;
        padding: 6rem 0 4rem;
    }

    .home-hero-actions {
        flex-direction: column;
    }

    .home-hero-actions .btn {
        width: 100%;
        text-align: center;
    }
}

/* Warranty page — quality commitment icons */
.warranty-commitment-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--brand-soft);
    display: flex;
    align-items: center;
    justify-content: center;
}

.warranty-commitment-icon i {
    font-size: 1.5rem;
    color: var(--brand);
}

/* Our Process page — step timeline */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.process-step-row {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.process-step-number-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.process-step-number {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.process-step-connector {
    width: 2px;
    flex: 1;
    min-height: 32px;
    background: var(--brand-soft);
    margin: 6px 0;
}

.process-step-content {
    flex: 1;
    min-width: 0;
}

.process-step-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--brand-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.process-step-icon i {
    font-size: 1.3rem;
    color: var(--brand);
}

/* CHOV-17: Favorite heart button */
.btn-favorite {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.88);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: background 0.15s ease, transform 0.15s ease;
    padding: 0;
    line-height: 1;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.btn-favorite:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.btn-favorite:disabled {
    opacity: 0.6;
    cursor: default;
    transform: none;
}

.btn-favorite .bi-heart {
    color: #6b7280;
    font-size: 16px;
}

.btn-favorite .bi-heart-fill {
    color: #e03c31;
    font-size: 16px;
}

/* CHOV-18: Search Our Models */
.model-search-form-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
}

.model-search-feature-check {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 0.5rem 0.85rem 0.5rem 2.25rem;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.model-search-feature-check:has(.form-check-input:checked) {
    border-color: var(--brand);
    background: color-mix(in srgb, var(--brand) 8%, #fff);
}

.model-search-feature-check .form-check-input {
    margin-top: 0.15rem;
}

.model-search-no-results {
    padding: 2rem 0;
}

.model-search-no-results-icon {
    font-size: 3.5rem;
    color: var(--brand);
    line-height: 1;
}

.model-search-cta-icon {
    font-size: 1.75rem;
    color: var(--brand);
    line-height: 1;
}
