/* =========================================================
   BEULAND PROPERTIES - MAIN STYLESHEET
   Brand colors extracted from logo: black + gold gradient
   ========================================================= */

:root {
    /* Brand palette (from logo) */
    --primary-color:   #B8860B;   /* deep gold */
    --primary-light:   #E8C766;   /* light gold / highlight */
    --primary-dark:    #8a6508;
    --secondary-color: #0d0d0d;   /* near-black */
    --secondary-soft:  #1a1a1a;
    --accent-color:    #E8C766;
    --text-color:      #262320;
    --text-muted:      #6b6459;
    --light-bg:        #FBF8F1;   /* warm off-white */
    --white:           #ffffff;
    --border-color:    #ece5d6;
    --success-color:   #2e7d32;
    --danger-color:    #c0392b;

    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --shadow-sm: 0 2px 8px rgba(13,13,13,0.06);
    --shadow-md: 0 8px 24px rgba(13,13,13,0.10);
    --shadow-lg: 0 20px 50px rgba(13,13,13,0.16);
    --radius: 14px;
    --radius-sm: 8px;
    --header-height: 84px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background: var(--light-bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

h1, h2, h3, h4, h5 { font-family: var(--font-heading); line-height: 1.2; font-weight: 700; color: var(--secondary-color); }

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

section { padding: 88px 0; }
@media (max-width: 768px) { section { padding: 56px 0; } }

.section-label {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 12px;
}

.section-title { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 16px; }
.section-subtitle { color: var(--text-muted); max-width: 640px; font-size: 1.05rem; }
.section-header { text-align: center; margin-bottom: 52px; }
.section-header .section-subtitle { margin: 0 auto; }

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.25s ease;
    white-space: nowrap;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    color: var(--secondary-color);
    box-shadow: var(--shadow-sm);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline {
    background: transparent;
    border-color: var(--primary-color);
    color: var(--primary-dark);
}
.btn-outline:hover { background: var(--primary-color); color: var(--white); transform: translateY(-2px); }
.btn-outline-light { background: transparent; border-color: var(--primary-light); color: var(--primary-light); }
.btn-outline-light:hover { background: var(--primary-light); color: var(--secondary-color); }
.btn-whatsapp { background: #25D366; border-color: #25D366; color: var(--white); }
.btn-whatsapp:hover { background: #1ebd5a; border-color: #1ebd5a; color: var(--white); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(37,211,102,0.35); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* ============ HEADER ============ */
.header-spacer { height: var(--header-height); }
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(13,13,13,0.92);
    backdrop-filter: blur(10px);
    height: var(--header-height);
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(232,199,102,0.15);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; flex-shrink: 1; }
.brand-logo { width: 52px; height: 52px; object-fit: contain; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand-name { font-family: var(--font-heading); font-weight: 700; font-size: 1.25rem; color: var(--primary-light); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-tagline { font-size: 0.7rem; color: var(--white); letter-spacing: 0.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.main-nav { display: flex; align-items: center; gap: 16px; }
.main-nav ul { display: flex; gap: 16px; }
.main-nav > ul { align-items: center; }   /* FIX: vertically center every top-level nav item */
/* FIX: make every <li> a flex container so plain links and the dropdown
   toggle all sit on the same vertical center line */
.main-nav > ul > li { display: flex; align-items: center; }
.main-nav a {
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.65;            /* FIX: identical line-height on every link */
    padding: 8px 0;
    position: relative;
    white-space: nowrap;
    transition: color 0.2s;
}
.main-nav a::after {
    content: '';
    position: absolute; bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--primary-light);
    transition: width 0.25s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--primary-light); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }

/* ---- Listings dropdown ---- */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle { display: inline-flex; align-items: center; gap: 4px; }
.nav-dropdown-toggle .caret { font-size: 0.7rem; line-height: 1; transition: transform 0.2s; }
.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%; left: 0;
    margin-top: 14px;
    background: var(--secondary-color);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    min-width: 190px;
    box-shadow: var(--shadow-lg);
    padding: 8px;
    z-index: 60;
}
.nav-dropdown-menu li { width: 100%; }
.nav-dropdown-menu a { display: block; padding: 10px 14px; border-radius: 6px; font-size: 0.9rem; white-space: nowrap; }
.nav-dropdown-menu a::after { display: none; }
.nav-dropdown-menu a:hover, .nav-dropdown-menu a.active { background: rgba(232,199,102,0.12); color: var(--primary-light); }
.nav-dropdown.open .nav-dropdown-toggle .caret { transform: rotate(180deg); }

/* FIX: smaller padding so the CTA no longer squeezes the links */
.nav-cta { padding: 14px 24px; font-size: 0.92rem; white-space: nowrap; flex-shrink: 0; }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-shrink: 0;
}
.hamburger span { width: 26px; height: 2px; background: var(--white); border-radius: 2px; transition: 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 480px) {
    .brand-logo { width: 40px; height: 40px; }
    .brand-name { font-size: 1.02rem; }
    .brand-tagline { display: none; }
    .container { padding: 0 16px; }
}

/* FIX: collapse to hamburger a bit earlier (was 1300px) so desktop nav never gets cramped */
@media (max-width: 1400px) {
    .hamburger { display: flex; }
    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: 0; right: 0;
        background: var(--secondary-color);
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
        transform: translateY(-150%);
        opacity: 0;
        transition: all 0.3s ease;
        gap: 20px;
        border-bottom: 1px solid rgba(232,199,102,0.15);
    }
    .main-nav.open { transform: translateY(0); opacity: 1; }
    .main-nav ul { flex-direction: column; align-items: flex-start; gap: 18px; width: 100%; }
    .main-nav > ul > li { display: block; width: 100%; }
    .nav-cta { width: 100%; }

    /* Mobile: Listings submenu is CLOSED by default and opens when .open is added (on tap).
       !important overrides any inline display style set by desktop hover JS. */
    .nav-dropdown { width: 100%; flex-direction: column; align-items: flex-start; }
    .nav-dropdown-toggle { width: 100%; justify-content: space-between; }
    .nav-dropdown-toggle .caret { display: inline-block; font-size: 0.8rem; }
    .nav-dropdown-menu {
        display: none !important;
        position: static;
        background: transparent;
        border: 0;
        box-shadow: none;
        padding: 6px 0 0 16px;
        margin-top: 10px;
        width: 100%;
    }
    .nav-dropdown.open .nav-dropdown-menu { display: block !important; }
    .nav-dropdown.open .nav-dropdown-toggle .caret { transform: rotate(180deg); }
}

/* ============ HERO ============ */
.hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    color: var(--white);
    background: linear-gradient(180deg, rgba(13,13,13,0.75), rgba(13,13,13,0.85)),
                url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="1600" height="900"><rect width="1600" height="900" fill="%230d0d0d"/></svg>');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}
.hero-bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(13,13,13,0.55) 0%, rgba(13,13,13,0.85) 100%);
    z-index: 1;
}
.hero-content { position: relative; z-index: 2; max-width: 720px; }
.hero-eyebrow {
    display: inline-block;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); color: var(--white); margin-bottom: 22px; }
.hero h1 span { color: var(--primary-light); }
.hero p { font-size: 1.15rem; color: rgba(255,255,255,0.85); margin-bottom: 34px; max-width: 560px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 56px; flex-wrap: wrap; }
.hero-stat strong { display: block; font-size: 1.8rem; color: var(--primary-light); font-family: var(--font-heading); }
.hero-stat span { color: rgba(255,255,255,0.7); font-size: 0.85rem; }

/* ============ INTRO / ABOUT SNIPPET ============ */
.intro-section { background: var(--white); }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.intro-image { position: relative; }
.intro-image img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.intro-badge {
    position: absolute; bottom: -24px; left: -24px;
    background: var(--secondary-color);
    color: var(--white);
    padding: 20px 26px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
}
.intro-badge strong { display: block; font-size: 1.6rem; color: var(--primary-light); font-family: var(--font-heading); }
.intro-badge span { font-size: 0.8rem; color: rgba(255,255,255,0.75); }
.intro-content p { margin-bottom: 18px; color: var(--text-muted); }
@media (max-width: 860px) {
    .intro-grid { grid-template-columns: 1fr; }
    .intro-image { margin-bottom: 40px; }
}

/* ============ WHY CHOOSE US ============ */
.why-section { background: var(--light-bg); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.why-card {
    background: var(--white);
    padding: 36px 28px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s, box-shadow 0.25s;
    border: 1px solid var(--border-color);
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.why-icon {
    width: 64px; height: 64px;
    margin: 0 auto 20px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: 50%;
    font-size: 1.6rem;
}
.why-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.why-card p { color: var(--text-muted); font-size: 0.92rem; }
@media (max-width: 860px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .why-grid { grid-template-columns: 1fr; } }

/* ============ PROPERTY CARDS / GRID ============ */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
@media (max-width: 992px) { .properties-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .properties-grid { grid-template-columns: 1fr; } }

.property-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: transform 0.25s, box-shadow 0.25s;
    display: flex;
    flex-direction: column;
}
.property-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.property-thumb { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--secondary-soft); }
.property-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.property-card:hover .property-thumb img { transform: scale(1.06); }
.property-badge {
    position: absolute; top: 14px; left: 14px;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.badge-available { background: #e7f6ec; color: var(--success-color); }
.badge-sold_out { background: #fdecea; color: var(--danger-color); }
.badge-coming_soon { background: #fff4e0; color: #a86b00; }
.property-body { padding: 22px; display: flex; flex-direction: column; flex-grow: 1; }
.property-body h3 { font-size: 1.2rem; margin-bottom: 6px; }
.property-location { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.house-quick-facts { display: flex; flex-wrap: wrap; gap: 14px; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 10px; }
.property-meta { display: flex; justify-content: space-between; align-items: center; margin: 14px 0; padding-top: 14px; border-top: 1px dashed var(--border-color); }
.property-price { font-family: var(--font-heading); font-weight: 700; color: var(--primary-dark); font-size: 1.1rem; }
.property-size { color: var(--text-muted); font-size: 0.85rem; }
.property-desc { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 16px; flex-grow: 1; }

/* ============ CTA BANNER ============ */
.cta-banner {
    background: linear-gradient(135deg, var(--secondary-color), #24200f);
    color: var(--white);
    text-align: center;
    border-radius: var(--radius);
    padding: 70px 40px;
    margin: 0 24px;
    max-width: 1192px;
    margin-inline: auto;
}
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,0.8); max-width: 560px; margin: 0 auto 30px; }

/* ============ TESTIMONIALS ============ */
.testimonials-section { background: var(--secondary-color); color: var(--white); }
.testimonials-section .section-subtitle { color: rgba(255,255,255,0.65); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 900px) { .testimonials-grid { grid-template-columns: 1fr; } }
.testimonial-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(232,199,102,0.2);
    border-radius: var(--radius);
    padding: 30px;
}
.testimonial-stars { color: var(--primary-light); margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-text { color: rgba(255,255,255,0.85); margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; color: var(--secondary-color);
}
.testimonial-name { font-weight: 600; }
.testimonial-role { font-size: 0.8rem; color: rgba(255,255,255,0.55); }

/* ============ FOOTER ============ */
.site-footer { background: #0a0a0a; color: rgba(255,255,255,0.75); padding-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; min-width: 0; }
.footer-grid > * { min-width: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo-link { margin-bottom: 16px; }
.footer-about { font-size: 0.9rem; margin: 16px 0 20px; color: rgba(255,255,255,0.6); }
.footer-col h4 { color: var(--white); font-size: 1rem; margin-bottom: 18px; }
.footer-links li, .footer-contact li { margin-bottom: 12px; font-size: 0.9rem; }
.footer-links a:hover, .footer-contact a:hover { color: var(--primary-light); }
.social-icons { display: flex; gap: 10px; flex-wrap: wrap; }
.social-icon {
    width: 38px; height: 38px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--white);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    border: 1px solid rgba(255,255,255,0.1);
}
.social-icon:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); opacity: 0.92; }
.social-fb { background: #1877F2; }
.social-ig { background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.social-x { background: #000000; }
.social-tiktok { background: #010101; box-shadow: inset 0 0 0 1px rgba(37,244,238,0.25); }
.social-yt { background: #FF0000; }
.social-li { background: #0A66C2; }
.footer-map { border-radius: var(--radius-sm); overflow: hidden; width: 100%; max-width: 100%; }
.footer-map iframe { width: 100%; max-width: 100%; display: block; border: 0; }
.footer-map iframe:not([height]) { height: 200px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 22px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.85rem; }
.footer-legal a:hover { color: var(--primary-light); }
.footer-legal span { margin: 0 8px; opacity: 0.4; }

/* ============ FLOATING ACTION BUTTONS (back-to-top / call / whatsapp) ============ */
.floating-actions {
    position: fixed;
    bottom: 26px; right: 26px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
.float-btn {
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    cursor: pointer;
}
.float-btn:hover { transform: scale(1.08); }

.back-to-top {
    width: 42px; height: 42px;
    background: var(--secondary-color);
    color: var(--primary-light);
    font-size: 1.1rem;
    display: none;
}
.back-to-top.visible { display: flex; }

.call-float {
    width: 54px; height: 54px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    color: var(--secondary-color);
}

.whatsapp-float {
    width: 54px; height: 54px;
    background: #25D366;
    color: var(--white);
    box-shadow: 0 8px 24px rgba(37,211,102,0.45);
    animation: pulse-wa 2.4s infinite;
}
@keyframes pulse-wa {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.55); }
    70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

@media (max-width: 480px) {
    .floating-actions {
        bottom: calc(16px + env(safe-area-inset-bottom, 0px));
        right: calc(16px + env(safe-area-inset-right, 0px));
        gap: 12px;
    }
    .back-to-top { width: 38px; height: 38px; font-size: 1rem; }
    .call-float, .whatsapp-float { width: 48px; height: 48px; }
}

/* ============ COOKIE BANNER ============ */
.cookie-banner {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--secondary-color);
    color: rgba(255,255,255,0.9);
    padding: 20px 24px;
    z-index: 1200;
    transform: translateY(120%);
    transition: transform 0.4s ease;
    border-top: 2px solid var(--primary-color);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cookie-banner-inner p { font-size: 0.88rem; max-width: 700px; }
.cookie-banner-inner a { color: var(--primary-light); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* ============ PAGE HERO (inner pages) ============ */
.page-hero {
    background: linear-gradient(180deg, rgba(13,13,13,0.82), rgba(13,13,13,0.9)), var(--secondary-color);
    color: var(--white);
    padding: 90px 0 60px;
    text-align: center;
}
.page-hero h1 { color: var(--white); font-size: clamp(1.9rem, 4vw, 2.8rem); }
.page-hero p { color: rgba(255,255,255,0.7); max-width: 600px; margin: 14px auto 0; }
.breadcrumb { margin-top: 18px; font-size: 0.85rem; color: rgba(255,255,255,0.55); }
.breadcrumb a { color: var(--primary-light); }

/* ============ FORMS ============ */
.form-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; min-width: 0; }
.form-row > * { min-width: 0; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 8px; }
.form-group .required { color: var(--danger-color); }
.form-control {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 13px 16px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    background: var(--light-bg);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(184,134,11,0.15);
    background: var(--white);
}
textarea.form-control { resize: vertical; min-height: 120px; }
.form-checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: 0.88rem; color: var(--text-muted); }
.form-checkbox input { margin-top: 4px; }
.form-error { color: var(--danger-color); font-size: 0.82rem; margin-top: 6px; }
.form-honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.alert { padding: 16px 20px; border-radius: var(--radius-sm); margin-bottom: 24px; font-size: 0.92rem; }
.alert-success { background: #e7f6ec; color: var(--success-color); border: 1px solid #b9e4c3; }
.alert-error { background: #fdecea; color: var(--danger-color); border: 1px solid #f5c6c0; }

/* ============ FILTER BAR ============ */
.filter-bar {
    background: var(--white);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    margin-bottom: 44px;
}
.filter-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr auto; gap: 14px; align-items: end; }
@media (max-width: 992px) { .filter-grid { grid-template-columns: 1fr 1fr; } }
.filter-grid label { display: block; font-size: 0.78rem; font-weight: 600; margin-bottom: 6px; color: var(--text-muted); text-transform: uppercase; }

/* ============ PAGINATION ============ */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination a, .pagination span {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--text-color);
}
.pagination a:hover { background: var(--secondary-color); color: var(--white); }
.pagination .current { background: var(--primary-color); color: var(--white); border-color: var(--primary-color); }

/* ============ MISC PAGE STYLES ============ */
.value-grid, .mission-vision-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 860px) { .value-grid, .mission-vision-grid { grid-template-columns: 1fr; } }
.value-card { background: var(--white); padding: 30px; border-radius: var(--radius); box-shadow: var(--shadow-sm); border-top: 4px solid var(--primary-color); }
.value-card h3 { margin-bottom: 10px; }
.value-card p { color: var(--text-muted); font-size: 0.92rem; }

.mv-card { background: var(--secondary-color); color: var(--white); padding: 36px; border-radius: var(--radius); }
.mv-card h3 { color: var(--primary-light); margin-bottom: 14px; }
.mv-card p { color: rgba(255,255,255,0.8); }

.contact-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 50px; min-width: 0; }
.contact-info-grid > * { min-width: 0; }
@media (max-width: 860px) { .contact-info-grid { grid-template-columns: 1fr; } }
.contact-info-card { background: var(--white); padding: 28px; border-radius: var(--radius); text-align: center; box-shadow: var(--shadow-sm); }
.contact-info-card .icon { font-size: 1.8rem; margin-bottom: 12px; }

.property-details-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 44px; min-width: 0; }
.property-details-grid > * { min-width: 0; }
@media (max-width: 960px) { .property-details-grid { grid-template-columns: 1fr; } }
.pd-gallery-main { border-radius: var(--radius); overflow: hidden; margin-bottom: 12px; aspect-ratio: 16/10; }
.pd-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.pd-gallery-thumbs { display: flex; gap: 10px; overflow-x: auto; }
.pd-gallery-thumbs img { width: 90px; height: 66px; object-fit: cover; border-radius: 8px; cursor: pointer; border: 2px solid transparent; }
.pd-gallery-thumbs img.active { border-color: var(--primary-color); }
.pd-facts { list-style: none; margin: 26px 0; }
.pd-facts li { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--border-color); }
.pd-facts li span:first-child { color: var(--text-muted); }
.pd-facts li span:last-child { font-weight: 600; }
.pd-sidebar-card { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-md); position: sticky; top: 110px; border: 1px solid var(--border-color); }
.pd-price { font-family: var(--font-heading); font-size: 1.8rem; color: var(--primary-dark); margin-bottom: 6px; }
.pd-sidebar-card .btn { margin-top: 10px; }
.pd-feature-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.pd-feature-list span { background: var(--light-bg); padding: 8px 14px; border-radius: 50px; font-size: 0.82rem; border: 1px solid var(--border-color); }

.error-page { text-align: center; padding: 140px 20px; }
.error-page h1 { font-size: 6rem; color: var(--primary-color); }
.error-page p { color: var(--text-muted); margin: 16px 0 30px; }

.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h2 { margin: 30px 0 14px; }
.legal-content p, .legal-content li { color: var(--text-muted); margin-bottom: 12px; }
.legal-content ul { padding-left: 20px; list-style: disc; }

.lazy-img { background: var(--border-color); }

/* ============ SERVICES PAGE ============ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 900px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }
.service-card { background: var(--white); padding: 30px 26px; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); transition: transform 0.25s, box-shadow 0.25s; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.service-icon { width: 58px; height: 58px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; background: linear-gradient(135deg, var(--primary-light), var(--primary-color)); border-radius: 50%; margin-bottom: 16px; }
.service-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.service-card p { color: var(--text-muted); font-size: 0.9rem; }
.cta-inline { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ============ CLIENT STORIES (light variant) ============ */
.client-stories-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 900px) { .client-stories-grid { grid-template-columns: 1fr; } }
.client-story-card { background: var(--white); padding: 32px 28px; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); }
.client-story-card .testimonial-stars { color: var(--primary-color); }
.client-story-card .testimonial-text { color: var(--text-muted); }
.client-story-card .testimonial-avatar { background: var(--primary-color); color: var(--white); }
.client-story-card .testimonial-name { color: var(--secondary-color); }
.client-story-card .testimonial-role { color: var(--text-muted); }

/* ============ BLOG ============ */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
@media (max-width: 992px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); display: flex; flex-direction: column; transition: transform 0.25s, box-shadow 0.25s; }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.blog-thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--secondary-soft); }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-body { padding: 22px; display: flex; flex-direction: column; flex-grow: 1; }
.blog-category-pill { display: inline-block; background: var(--light-bg); color: var(--primary-dark); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; padding: 5px 12px; border-radius: 50px; margin-bottom: 12px; align-self: flex-start; }
.blog-body h3 { font-size: 1.1rem; margin-bottom: 8px; }
.blog-excerpt { color: var(--text-muted); font-size: 0.9rem; flex-grow: 1; margin-bottom: 14px; }
.blog-meta { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 12px; }
.blog-filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.blog-filter-bar a { padding: 8px 16px; border-radius: 50px; border: 1px solid var(--border-color); font-size: 0.85rem; color: var(--text-color); }
.blog-filter-bar a.active, .blog-filter-bar a:hover { background: var(--primary-color); color: var(--white); border-color: var(--primary-color); }
.blog-article { max-width: 800px; margin: 0 auto; }
.blog-article-image { border-radius: var(--radius); overflow: hidden; margin-bottom: 26px; aspect-ratio: 16/9; }
.blog-article-image img { width: 100%; height: 100%; object-fit: cover; }
.blog-article-content { color: var(--text-color); line-height: 1.8; }
.blog-article-content h3 { margin: 28px 0 12px; }
.blog-article-content p { margin-bottom: 16px; }
.blog-article-content ul { padding-left: 22px; margin-bottom: 16px; }
.blog-tags { margin-top: 30px; display: flex; gap: 8px; flex-wrap: wrap; }
.blog-tags span { background: var(--light-bg); padding: 6px 12px; border-radius: 50px; font-size: 0.78rem; color: var(--text-muted); }

/* ============ FAQ ACCORDION ============ */
.faq-accordion { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--white); border: 1px solid var(--border-color); border-radius: var(--radius-sm); margin-bottom: 14px; overflow: hidden; }
.faq-question { width: 100%; text-align: left; background: none; border: 0; padding: 20px 24px; font-family: var(--font-heading); font-weight: 600; font-size: 1rem; display: flex; justify-content: space-between; align-items: center; cursor: pointer; color: var(--secondary-color); }
.faq-question .icon { transition: transform 0.25s; color: var(--primary-color); font-size: 1.2rem; }
.faq-item.open .faq-question .icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; padding: 0 24px; }
.faq-item.open .faq-answer { max-height: 500px; padding-bottom: 20px; }
.faq-answer p { color: var(--text-muted); }

/* ============ BROCHURES ============ */
.brochure-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .brochure-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .brochure-list { grid-template-columns: 1fr; } }
.brochure-card { background: var(--white); border: 1px solid var(--border-color); border-radius: var(--radius); padding: 26px; text-align: center; box-shadow: var(--shadow-sm); }
.brochure-icon { font-size: 2.2rem; margin-bottom: 14px; }
.brochure-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.brochure-card p { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 18px; }

/* ============ VIDEO EMBED ============ */
.video-embed-wrap { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: var(--radius); margin: 20px 0; }
.video-embed-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }