:root {
    --brand: #0f4c5c;
    --brand-dark: #0a3440;
    --accent: #e76f51;
    --bg: #f4f7fb;
    --surface: #ffffff;
    --text: #1f2933;
    --muted: #6b7280;
    --border: #e5e7eb;
    --shadow-sm: 0 8px 24px rgba(15, 76, 92, 0.08);
    --shadow-md: 0 18px 40px rgba(15, 76, 92, 0.14);
    --radius: 14px;
}

body.site-shell {
    background: var(--bg);
    color: var(--text);
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
}

.site-shell a {
    color: var(--brand);
}

.site-shell a:hover {
    color: var(--bg);
    text-decoration: none;
}

.site-topbar {
    background: #0a1620;
    color: #d9e3ea;
    font-size: 0.82rem;
}

.site-topbar-inner {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.6rem 0;
}

.site-topbar-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.site-topbar .icon {
    color: #fff;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1025;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(15, 76, 92, 0.1);
}

.site-navbar {
    padding: 0.95rem 0;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
    margin-right: 0.4rem;
}

.site-brand-logo {
    display: block;
    width: auto;
    height: 48px;
    max-height: 48px;
    object-fit: contain;
}

.site-brand span {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brand-dark);
}

.site-brand small {
    font-size: 0.67rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted);
    margin-top: 0.1rem;
}

.site-menu-btn {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.4rem 0.6rem;
    color: var(--brand-dark);
}

.site-nav-list {
    gap: 0.3rem;
    padding-top: 0.65rem;
}

.site-nav-list .nav-link {
    color: var(--brand-dark) !important;
    padding: 0.55rem 0.9rem !important;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 500;
}

.site-nav-list .nav-link:hover {
    background: rgba(15, 76, 92, 0.1);
}

.site-main {
    min-height: 62vh;
    padding-bottom: 1rem;
}

.site-section {
    padding: 2rem 0 3rem;
}

.section-soft {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.95));
}

.home-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 4.6rem 0 3rem;
}

.home-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(130deg, rgba(8, 26, 35, 0.88), rgba(12, 48, 59, 0.62));
}

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

.home-hero-title {
    color: #fff;
    font-size: 1.9rem;
    line-height: 1.15;
    margin-bottom: 0.9rem;
    max-width: 18ch;
}

.home-hero-brand {
    max-width: none;
    margin-bottom: 1rem;
}

.home-hero-logo {
    display: block;
    width: clamp(220px, 68vw, 440px);
    max-width: 100%;
    height: auto;
}

.home-hero-text {
    color: rgba(255, 255, 255, 0.94);
    font-size: 1rem;
    max-width: 52ch;
}

.home-search-card {
    margin-top: 1.1rem;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--radius);
    padding: 1rem;
    box-shadow: var(--shadow-md);
}

.home-service-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 1.35rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    height: 100%;
}

.home-service-card h3 {
    font-size: 1.12rem;
    margin-bottom: 0.45rem;
}

.section-head h2,
.site-shell h1,
.site-shell h2 {
    color: #0d2430;
}

.site-shell .home-hero-title {
    color: #fff;
}

.section-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
}

.city-chip {
    border-radius: 999px;
    font-weight: 500;
}

.home-map-frame iframe {
    border-radius: var(--radius);
    overflow: hidden;
}

.listing-page {
    padding-top: 0.2rem;
}

.listing-title {
    font-size: 1.45rem;
    color: #122a36;
}

.filter-box {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    padding: 1rem;
    margin-bottom: 1rem;
}

.filter-box h4 {
    font-size: 1rem;
    margin-bottom: 0.8rem;
}

.filter-box .btn + .btn {
    margin-top: 0.55rem;
}

.property-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.property-card-image {
    display: block;
    height: 210px;
    overflow: hidden;
}

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

.property-card-body {
    padding: 0.95rem;
}

.property-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.65rem;
}

.property-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: rgba(231, 111, 81, 0.14);
    color: #a24029;
    padding: 0.25rem 0.6rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.property-badge-light {
    background: rgba(15, 76, 92, 0.12);
    color: var(--brand-dark);
}

.property-card-title {
    font-size: 1.02rem;
    line-height: 1.35;
    margin-bottom: 0.45rem;
}

.property-card-title a {
    color: #1b2f3b;
}

.property-price {
    font-weight: 700;
    font-size: 1.06rem;
    color: var(--accent);
}

.property-meta {
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.35;
}

.property-card-details {
    font-size: 0.85rem;
    color: #415163;
}

.site-breadcrumb {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 3.2rem 0 1.6rem;
}

.site-breadcrumb-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(8, 18, 25, 0.82), rgba(8, 18, 25, 0.46));
}

.site-breadcrumb .container {
    position: relative;
    z-index: 1;
}

.site-breadcrumb .bread,
.site-breadcrumb .breadcrumbs,
.site-breadcrumb .breadcrumbs a {
    color: #fff;
}

.site-breadcrumb .bread {
    font-size: 1.4rem;
}

.property-show-title {
    font-size: 1.6rem;
}

.property-show-gallery {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.property-show-gallery .carousel-item img {
    height: 230px;
    object-fit: cover;
}

.property-contact-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.1rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1rem;
}

.related-card {
    margin-bottom: 0.75rem;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
}

.property-info-table {
    background: var(--surface);
    border: 1px solid var(--border) !important;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.25rem;
    min-width: 100% !important;
    width: 100%;
}

.property-info-table th,
.property-info-table td {
    border-color: #ecf1f6 !important;
    padding: 0.82rem 0.95rem;
    vertical-align: middle;
    text-align: center !important;
}

.property-info-table tbody tr th,
.property-info-table tbody tr td {
    text-align: center !important;
    padding: 0.82rem 0.95rem !important;
}

.property-info-table th {
    width: 36%;
    font-size: 0.78rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #466072;
    background: #f8fafc;
    font-weight: 700;
}

.property-info-table td {
    color: #162a36;
    font-weight: 500;
    background: #fff;
}

.property-info-table tbody tr:hover td,
.property-info-table tbody tr:hover th {
    background: #f6fbff;
}

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

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

.contact-page .col-md-6 {
    margin-bottom: 1rem;
}

.contact-map-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.contact-map-frame {
    margin-top: 0.6rem;
    border-radius: 12px;
    overflow: hidden;
    flex: 1 1 auto;
    min-height: 540px;
}

.contact-map-frame iframe {
    width: 100% !important;
    height: 100% !important;
    border: 0;
}

.contact-map-placeholder {
    height: 100%;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--muted);
    background: #f8fafc;
}

.contact-form-card {
    height: 100%;
}

.site-footer {
    padding: 2.5rem 0 1.8rem;
    background: #0f1f2a;
    color: #d1dae2;
}

.site-footer h2,
.site-footer p,
.site-footer li {
    color: #d1dae2;
}

.site-footer .ftco-heading-2 {
    color: #fff;
    font-size: 1.2rem;
}

.site-shell .form-control,
.site-shell .custom-select,
.site-shell select.form-control {
    border-radius: 10px;
    border: 1px solid #d7dee6;
    min-height: 44px;
    font-size: 0.94rem;
}

.site-shell .form-control:focus,
.site-shell select.form-control:focus {
    border-color: rgba(15, 76, 92, 0.6);
    box-shadow: 0 0 0 0.18rem rgba(15, 76, 92, 0.15);
}

.site-shell .btn {
    border-radius: 10px;
    font-weight: 600;
    min-height: 42px;
}

.site-shell .btn-primary {
    background: var(--brand);
    border-color: var(--brand);
}

.site-shell .btn-primary:hover {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
}

.site-shell .btn-outline-primary {
    color: var(--brand);
    border-color: var(--brand);
}

.site-shell .btn-outline-primary:hover {
    background: var(--brand);
    border-color: var(--brand);
}

.site-shell .pagination {
    gap: 0.35rem;
}

.site-shell .page-item .page-link {
    border: 1px solid var(--border);
    color: #1f3542;
    border-radius: 10px;
    min-width: 40px;
    text-align: center;
}

.site-shell .page-item.active .page-link {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.site-shell .alert {
    border: 1px solid var(--border);
    border-radius: 10px;
}

.whatsapp-float {
    width: 54px;
    height: 54px;
    font-size: 1.35rem;
    background: #22c55e;
    box-shadow: 0 10px 24px rgba(34, 197, 94, 0.35);
}

@media (min-width: 768px) {
    .site-topbar-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .home-hero {
        padding: 5.8rem 0 4rem;
    }

    .home-hero-title {
        font-size: 2.7rem;
    }

    .home-hero-logo {
        width: clamp(340px, 44vw, 560px);
    }

    .site-breadcrumb .bread {
        font-size: 2rem;
    }

    .property-show-gallery .carousel-item img {
        height: 420px;
    }

    .site-section {
        padding: 2.2rem 0 3.2rem;
    }

    .site-brand-logo {
        height: 60px;
        max-height: 60px;
    }
}

@media (max-width: 767.98px) {
    .property-info-table,
    .property-info-table tbody,
    .property-info-table tr,
    .property-info-table th,
    .property-info-table td {
        display: block;
        width: 100%;
    }

    .property-info-table tr {
        padding: 0.7rem 0.9rem;
        border-bottom: 1px solid #ecf1f6;
    }

    .property-info-table tr:last-child {
        border-bottom: 0;
    }

    .property-info-table th,
    .property-info-table td {
        padding: 0;
        border: 0 !important;
        background: transparent;
    }

    .property-info-table th {
        margin-bottom: 0.2rem;
    }

    .property-info-table td {
        font-size: 0.98rem;
    }

    .contact-map-frame {
        min-height: 340px;
    }
}

@media (min-width: 992px) {
    .site-nav-list {
        padding-top: 0;
    }

    .site-nav-list .nav-link {
        padding: 0.45rem 0.8rem !important;
    }

    .filter-box {
        position: sticky;
        top: 92px;
    }

    .listing-title {
        font-size: 1.8rem;
    }
}
