/* ── Reset & Base ── v2 */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* Force-clear any body padding injected by SiteGround optimizer or other plugins */
html, body { padding: 0 !important; margin: 0; }

:root {
    --navy:      #001d3d;
    --navy-dark: #001228;
    --blue:      #0057b7;
    --grey-50:   #f8f9fb;
    --grey-100:  #f1f5f9;
    --grey-200:  #e5e7eb;
    --grey-400:  #9ca3af;
    --grey-500:  #6b7280;
    --grey-700:  #374151;
    --grey-900:  #0a1628;
    --white:     #ffffff;
    --radius:    12px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
    --shadow:    0 2px 20px rgba(0,0,0,.07);
    --shadow-md: 0 8px 32px rgba(0,0,0,.12);
    --font:      'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: var(--font);
    color: var(--grey-700);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }
input, select, textarea, button { font: inherit; }

/* ── Layout ── */
.section-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}
/* Narrower container for text/content pages (~896px like reference site) */
.section-inner--narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Buttons — single consistent system ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 24px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    border-radius: 10px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background .18s, border-color .18s, color .18s;
    text-decoration: none;
    white-space: nowrap;
}
.btn-sm    { padding: 8px 18px;  font-size: 13px; border-radius: 8px; }
.btn-lg    { padding: 14px 32px; font-size: 16px; border-radius: 12px; }
.btn-block { width: 100%; }

.btn-primary              { background: var(--navy);  color: var(--white); border-color: var(--navy); }
.btn-primary:hover        { background: var(--navy-dark); border-color: var(--navy-dark); }

.btn-outline              { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover        { background: var(--navy); color: var(--white); }

.btn-gold                 { background: #FFC300; color: #001D3D; border-color: #FFC300; font-weight: 700; }
.btn-gold:hover           { background: #e6b000; border-color: #e6b000; }

.btn-outline-sm           { background: transparent; color: var(--navy); border: 2px solid var(--navy);
                            padding: 7px 16px; font-size: 13px; font-weight: 600; border-radius: 8px;
                            display: inline-flex; align-items: center; gap: 6px;
                            transition: background .18s, color .18s; text-decoration: none; white-space: nowrap; cursor: pointer; }
.btn-outline-sm:hover     { background: var(--navy); color: var(--white); }

.btn-ghost                { background: transparent; color: var(--navy); border-color: transparent; }
.btn-ghost:hover          { background: var(--grey-100); }

.btn-search-reset         { padding: 10px 20px; font-size: 14px; font-weight: 600; color: var(--grey-700);
                            border: none; background: none; cursor: pointer; border-radius: 8px; }
.btn-search-reset:hover   { background: var(--grey-100); }

/* ── Page Hero (subpages) ── */
.page-hero {
    background: var(--grey-50);
    padding: 64px 0 48px;
    text-align: center;
}
.page-hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.25rem);
    font-weight: 800;
    color: var(--grey-900);
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}
.page-hero p {
    font-size: 19px;
    color: var(--grey-500);
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.65;
}
/* Dark variant for Services page */
.page-hero--dark {
    background: var(--navy);
    padding: 80px 0;
}
.page-hero--dark .page-hero-label {
    display: inline-block;
    background: rgba(255,255,255,.15);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 20px;
}
.page-hero--dark h1 {
    color: var(--white);
}
.page-hero--dark p {
    color: rgba(255,255,255,.75);
}
.page-hero--dark a {
    color: var(--white);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-size: 15px;
}

/* ── About page ── */
.about-mission {
    padding: 48px 0 80px;
    background: var(--grey-50);
}
.about-stack {
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.about-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 44px 48px;
    border: 1px solid var(--grey-200);
    box-shadow: var(--shadow-sm);
}
.about-card h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--grey-900);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}
.about-card p {
    font-size: 18px;
    color: var(--grey-500);
    line-height: 1.75;
    margin-bottom: 16px;
}
.about-card p:last-child { margin-bottom: 0; }
.about-contact-form {
    background: var(--grey-50);
    padding: 80px 0;
}
.about-contact-card {
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius);
    padding: 40px;
    max-width: 640px;
    margin: 0 auto;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.about-contact-card h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--grey-900);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}
.about-contact-card > p {
    font-size: 15px;
    color: var(--grey-500);
    margin-bottom: 28px;
}
.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--grey-500);
    line-height: 1.5;
    cursor: pointer;
    width: 100%;
    margin-bottom: 16px;
}
.consent-label input[type="checkbox"] {
    flex-shrink: 0;
    width: 16px !important;
    height: 16px;
    min-width: 16px;
    padding: 0 !important;
    margin-top: 2px;
    border: 1px solid var(--grey-200);
    border-radius: 4px;
    background: var(--white);
    box-sizing: border-box;
}
.consent-label span { flex: 1; }

/* ── About services ── */
.about-services {
    padding: 80px 0;
    background: var(--white);
}
.about-services h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--grey-900);
    letter-spacing: -0.03em;
    margin-bottom: 40px;
    text-align: center;
}
/* About services list (stacked, matches reference) */
.about-services-list {
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius);
    padding: 0 48px;
}
.about-service-item {
    padding: 28px 0;
    border-top: 1px solid var(--grey-100);
}
.about-service-item:first-child { border-top: none; }
.about-service-item h3 {
    font-size: 19px;
    font-weight: 700;
    color: var(--grey-900);
    margin-bottom: 10px;
}
.about-service-item p {
    font-size: 17px;
    color: var(--grey-500);
    line-height: 1.75;
    margin: 0;
}

/* Services grid (used on Services page) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-card {
    background: var(--grey-50);
    border-radius: var(--radius);
    padding: 28px 24px;
    border: 1px solid var(--grey-200);
}
.service-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--grey-900);
    margin-bottom: 12px;
}
.service-card p {
    font-size: 16px;
    color: var(--grey-500);
    line-height: 1.7;
}

/* ── How it works / Services / Contact pages ── */
.how-it-works-steps {
    padding: 48px 0 80px;
    background: var(--grey-50);
}
.steps-stack {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.step-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--grey-200);
    box-shadow: var(--shadow-sm);
    padding: 36px 40px;
    display: flex;
    align-items: flex-start;
    gap: 28px;
}
.step-icon {
    width: 52px;
    height: 52px;
    background: var(--navy);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.step-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--grey-400);
    margin-bottom: 6px;
}
.step-card h3 {
    font-size: 21px;
    font-weight: 700;
    color: var(--grey-900);
    margin-bottom: 12px;
}
.step-card p {
    font-size: 17px;
    color: var(--grey-500);
    line-height: 1.7;
}

/* ── Contact page ── */
.contact-page {
    padding: 80px 0;
    background: var(--white);
}
.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}
.contact-info h2 {
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--grey-900);
    margin-bottom: 20px;
}
.contact-info p {
    font-size: 17px;
    color: var(--grey-500);
    line-height: 1.75;
    margin-bottom: 28px;
}
.contact-details { display: flex; flex-direction: column; gap: 14px; }
.contact-detail {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 17px;
    color: var(--grey-700);
}
.contact-detail svg { color: var(--navy); flex-shrink: 0; }

/* ── Header ── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--navy);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
/* WP admin bar: html gets margin-top:32px — sticky elements stick below it */
.admin-bar .site-header       { top: 32px; }
.admin-bar .properties-filter { top: 96px; }  /* 64 + 32 */
.admin-bar .property-sidebar  { top: 120px; } /* 88 + 32 */
.admin-bar .dash-header       { top: 32px; }
@media screen and (max-width: 782px) {
    .admin-bar .site-header       { top: 46px; }
    .admin-bar .properties-filter { top: 110px; }
}
/* html.admin-bar adds margin-top to html, not body — ensure body stays flush */
html.admin-bar body { margin-top: 0 !important; padding-top: 0 !important; }
.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    height: 76px;
    display: flex;
    align-items: center;
    gap: 40px;
}

.site-logo { display: flex; align-items: center; flex-shrink: 0; }
.site-logo img, .site-logo .custom-logo { height: 48px !important; width: auto !important; }
.logo-text {
    font-size: 22px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.03em;
}

.site-nav { flex: 1; }
.nav-list {
    display: flex;
    gap: 2px;
    align-items: center;
}
.nav-list li a {
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    transition: background .15s, color .15s;
    display: flex;
    align-items: center;
    gap: 6px;
}
.nav-list li a:hover,
.nav-list li.current-menu-item a { background: rgba(255,255,255,0.1); color: #fff; }

/* Favorites link */
.nav-favorites svg { flex-shrink: 0; }

/* View properties button */
.btn-header {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.6);
    padding: 9px 22px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
    transition: background .18s, border-color .18s, color .18s;
    flex-shrink: 0;
}
.btn-header:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

/* ── Dropdown nav ── */
.has-dropdown { position: relative; }
.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    padding-top: 8px;
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    min-width: 180px;
    padding: 6px;
    z-index: 200;
    list-style: none;
    background-clip: padding-box;
}
.dropdown li a {
    display: block;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--grey-700) !important;
    border-radius: 8px;
    background: transparent !important;
    transition: background .15s;
}
.dropdown li a:hover { background: var(--grey-50) !important; color: var(--navy) !important; }
.has-dropdown:hover .dropdown { display: block; }

/* Rich dropdown */
.dropdown--rich { min-width: 280px; padding: 8px; }
.dropdown--rich li + li { border-top: 1px solid var(--grey-100); }
.dropdown-item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 14px !important;
    padding: 12px 10px !important;
    border-radius: 8px;
}
.dropdown-icon {
    width: 36px;
    height: 36px;
    background: var(--grey-100);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--navy);
}
.dropdown-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.dropdown-text strong {
    font-size: 14px;
    font-weight: 700;
    color: var(--grey-900);
    display: block;
}
.dropdown-text span {
    font-size: 12.5px;
    color: var(--grey-500);
    font-weight: 400;
    line-height: 1.4;
    display: block;
}
.dropdown--rich .dropdown-item:hover .dropdown-icon { background: var(--navy); color: var(--white); }

.header-actions { display: flex; gap: 10px; align-items: center; margin-left: auto; }
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: all .3s; }

/* ── HERO ── */
.hero {
    background: var(--grey-50);
    padding: 80px 0 100px;
}
.hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.hero-heading {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--grey-900);
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--grey-500);
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

/* ── Hero Choice Cards ── */
.hero-choices {
    display: flex;
    gap: 16px;
    max-width: 680px;
    margin: 0 auto 28px;
    justify-content: center;
}
.hero-choice {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 28px 32px;
    background: var(--white);
    border: 2px solid var(--grey-200);
    border-radius: 16px;
    text-decoration: none;
    flex: 1;
    transition: border-color .2s, box-shadow .2s, transform .15s;
    box-shadow: var(--shadow-sm);
}
.hero-choice:hover {
    border-color: #FFC300;
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.hero-choice__icon {
    width: 52px; height: 52px;
    display: flex; align-items: center; justify-content: center;
    background: #001D3D;
    border-radius: 14px;
    color: var(--white);
}
.hero-choice:hover .hero-choice__icon {
    background: #FFC300;
    color: #001D3D;
}
.hero-choice__label {
    font-size: 16px;
    font-weight: 700;
    color: var(--grey-900);
}
.hero-choice__desc {
    font-size: 13px;
    color: var(--grey-500);
}
.hero-choice--featured {
    border-color: #FFC300;
    background: linear-gradient(135deg, #fffef6, #fff8de);
}
.hero-choice--featured .hero-choice__icon {
    background: #FFC300;
    color: #001D3D;
}
.hero-choice--featured:hover {
    border-color: #e6b000;
}
.hero-choice--featured:hover .hero-choice__icon {
    background: #001D3D;
    color: #FFC300;
}

.hero-cta-row {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── Property Search Section ── */
.property-search-section {
    padding: 64px 0;
    background: var(--grey-50);
}

/* ── Search Card ── */
.search-card {
    background: var(--white);
    border-radius: 20px;
    padding: 28px 32px 32px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--grey-200);
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.search-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--grey-900);
    margin-bottom: 20px;
}

.search-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.search-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--grey-700);
    margin-bottom: 6px;
}

.search-field select,
.search-field input {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--grey-200);
    border-radius: 10px;
    background: var(--white);
    color: var(--grey-900);
    font-size: 14px;
    transition: border-color .15s;
    -webkit-appearance: none;
    appearance: none;
}
.search-field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
.search-field select:focus,
.search-field input:focus { outline: none; border-color: var(--navy); }

.search-field--keyword { grid-column: span 2; }

.search-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
}

/* ── Featured Properties ── */
.featured-properties {
    padding: 80px 0;
    background: var(--white);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 36px;
}
.section-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--grey-900);
    letter-spacing: -0.03em;
}
.view-all {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    color: var(--navy);
    font-size: 15px;
    transition: gap .15s;
}
.view-all:hover { gap: 8px; }

/* ── Property Grid ── */
.property-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* ── Property Card ── */
.property-card {
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--grey-200);
    overflow: hidden;
    transition: box-shadow .2s, transform .2s;
}
.property-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.card-image-wrap {
    display: block;
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--grey-100);
}
.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.property-card:hover .card-image { transform: scale(1.04); }
.card-image--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.card-badge--for-sale { background: var(--navy); color: var(--white); }
.card-badge--for-rent { background: #0057b7; color: var(--white); }
.card-badge--sold     { background: var(--grey-500); color: var(--white); }
.card-badge--exclusive {
    top: auto;
    bottom: 12px;
    left: 12px;
    background: linear-gradient(135deg, #d4a017, #f0c040);
    color: #1a1a1a;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* On the single property page the badge sits in text flow, not over an image */
.property-header .card-badge {
    position: static;
    display: inline-block;
    margin-bottom: 12px;
}

.card-body { padding: 16px 20px 20px; }
.card-price { font-size: 1.4rem; font-weight: 800; color: var(--navy); margin-bottom: 6px; letter-spacing: -0.02em; }
.card-title { font-size: 16px; font-weight: 600; color: var(--grey-900); margin-bottom: 8px; line-height: 1.4; }
.card-title a:hover { color: var(--blue); }
.card-location { display: flex; align-items: center; gap: 5px; font-size: 13px; color: var(--grey-500); margin-bottom: 12px; }
.card-location svg { flex-shrink: 0; }
.card-meta { display: flex; gap: 16px; font-size: 13px; color: var(--grey-500); border-top: 1px solid var(--grey-100); padding-top: 12px; }
.card-meta span { display: flex; align-items: center; gap: 5px; }

/* ── Why Us ── */
.why-us {
    background: var(--grey-50);
    padding: 80px 0;
}
.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--grey-900);
    letter-spacing: -0.03em;
    text-align: center;
    margin-bottom: 48px;
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.why-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px 24px;
    border: 1px solid var(--grey-200);
    text-align: center;
}
.why-icon { font-size: 2.5rem; margin-bottom: 16px; }
.why-card h3 { font-size: 17px; font-weight: 700; color: var(--grey-900); margin-bottom: 10px; }
.why-card p { font-size: 14px; color: var(--grey-500); line-height: 1.6; }

/* ── Properties Archive ── */
.properties-hero {
    background: var(--grey-50);
    padding: 48px 0 32px;
    border-bottom: 1px solid var(--grey-200);
}
.properties-hero h1 { font-size: 2.5rem; font-weight: 800; color: var(--grey-900); letter-spacing: -0.04em; margin-bottom: 8px; }
.properties-hero p { font-size: 17px; color: var(--grey-500); }

/* Filter bar */
.properties-filter {
    background: var(--white);
    border-bottom: 1px solid var(--grey-200);
    padding: 16px 0;
    position: sticky;
    top: 64px;
    z-index: 20;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.pf-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.pf-search {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 180px;
    background: var(--grey-50);
    border: 1.5px solid var(--grey-200);
    border-radius: 10px;
    padding: 0 12px;
    transition: border-color .15s;
}
.pf-search:focus-within { border-color: var(--navy); background: var(--white); }
.pf-search svg { color: var(--grey-400); flex-shrink: 0; }
.pf-search input {
    border: none;
    background: transparent;
    outline: none;
    padding: 10px 0;
    font-size: 14px;
    width: 100%;
    color: var(--grey-900);
}
.pf-search input::placeholder { color: var(--grey-400); }
.pf-select {
    padding: 10px 12px;
    border: 1.5px solid var(--grey-200);
    border-radius: 10px;
    font-size: 14px;
    background: var(--grey-50);
    color: var(--grey-700);
    cursor: pointer;
    white-space: nowrap;
    transition: border-color .15s;
}
.pf-select:focus { outline: none; border-color: var(--navy); background: var(--white); }
.pf-clear {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border: 1.5px solid var(--grey-200);
    border-radius: 10px;
    background: transparent;
    color: var(--grey-500);
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    transition: all .15s;
}
.pf-clear:hover { border-color: var(--grey-400); color: var(--grey-700); }

/* Results area */
.properties-results { padding: 40px 0 80px; }
.results-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.results-count { font-size: 15px; color: var(--grey-500); }
.sort-select { padding: 8px 12px; border: 1px solid var(--grey-200); border-radius: 8px; font-size: 14px; cursor: pointer; }

/* Loading state */
.pf-loading { opacity: .45; pointer-events: none; transition: opacity .2s; }

/* AJAX pagination */
.pf-pagination { margin-top: 48px; text-align: center; }
.pf-pages { display: inline-flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.pf-page-btn { padding: 8px 14px; border: 1px solid var(--grey-200); border-radius: 8px; background: var(--white); font-size: 14px; cursor: pointer; transition: all .15s; }
.pf-page-btn:hover { border-color: var(--navy); color: var(--navy); }
.pf-page-btn--active { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* No results */
.no-results { text-align: center; padding: 80px 0; }
.no-results h2 { font-size: 1.5rem; color: var(--grey-900); margin-bottom: 12px; }

/* ── Single Property ── */
.single-property { padding: 48px 0 80px; }

.property-gallery { margin-bottom: 40px; }
.gallery-main { position: relative; cursor: pointer; }
.gallery-main-img { width: 100%; max-height: 560px; object-fit: cover; border-radius: var(--radius); }
.gallery-view-all {
    position: absolute;
    bottom: 16px;
    right: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(0,0,0,.75);
    color: #fff;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: background .15s;
}
.gallery-view-all:hover { background: rgba(0,0,0,.9); }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 10px; overflow-x: auto; }
.gallery-thumb { width: 100px; height: 72px; object-fit: cover; border-radius: 8px; cursor: pointer; opacity: 0.8; transition: opacity .15s; flex-shrink: 0; }
.gallery-thumb:hover { opacity: 1; }
.gallery-thumb.active { opacity: 1; outline: 3px solid var(--primary); outline-offset: 2px; }
.gallery-thumb--hidden { display: none; }
.gallery-thumb-more {
    flex-shrink: 0;
    width: 100px;
    height: 72px;
    border-radius: 8px;
    border: 1px solid var(--grey-200);
    background: var(--grey-100);
    color: var(--grey-700);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s;
}
.gallery-thumb-more:hover { background: var(--grey-200); }

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox[hidden] { display: none; }
.lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.92);
}
.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    user-select: none;
}
.lightbox-close {
    position: absolute;
    top: 16px;
    right: 20px;
    z-index: 10;
    background: none;
    border: none;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    line-height: 1;
    opacity: .8;
    transition: opacity .15s;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    font-size: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s;
    line-height: 1;
}
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,.25); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,.7);
    font-size: 14px;
    font-weight: 600;
}

.property-layout { display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: start; }
.property-content { min-width: 0; overflow: hidden; }

.property-header { margin-bottom: 28px; }
.property-title { font-size: 2rem; font-weight: 800; color: var(--grey-900); letter-spacing: -0.03em; margin: 10px 0 12px; }
.property-title-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.property-title-row .property-title { flex: 1; }
.btn-print {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: #fff;
    border: 1px solid var(--grey-200);
    border-radius: 8px;
    color: var(--navy);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    margin-top: 12px;
    transition: all .15s ease;
}
.btn-print:hover {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}
@media (max-width: 640px) {
    .property-title-row { flex-direction: column; gap: 4px; }
    .btn-print { align-self: flex-start; }
}
.property-location { display: flex; align-items: center; gap: 6px; color: var(--grey-500); font-size: 15px; margin-bottom: 16px; }
.property-price { font-size: 2rem; font-weight: 800; color: var(--navy); letter-spacing: -0.03em; }

/* ── Property stats bar ── */
.property-stats {
    display: flex;
    gap: 0;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--grey-200);
    margin-bottom: 36px;
    flex-wrap: wrap;
    overflow: hidden;
}
.stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 20px 28px;
    flex: 1;
    min-width: 120px;
    border-right: 1px solid var(--grey-200);
}
.stat:last-child { border-right: none; }
.stat svg { color: var(--navy); margin-bottom: 6px; }
.stat span { font-size: 1rem; font-weight: 700; color: var(--grey-900); }
.stat label { font-size: 11px; color: var(--grey-500); text-transform: uppercase; letter-spacing: .06em; }

/* ── Property tabs ── */
.prop-tabs { margin-bottom: 40px; overflow: visible; }
.prop-tabs__nav {
    display: flex;
    border-bottom: 2px solid var(--grey-200);
    gap: 0;
    margin-bottom: 28px;
    overflow-x: auto;
    overflow-y: hidden;
}
.prop-tab-btn {
    padding: 12px 24px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--grey-500);
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    white-space: nowrap;
    transition: color .15s, border-color .15s;
}
.prop-tab-btn:hover { color: var(--navy); }
.prop-tab-btn.active { color: var(--navy); border-bottom-color: var(--navy); }

.prop-tab-panel { display: none; }
.prop-tab-panel.active { display: block; min-height: 280px; }

/* Description */
.property-description { overflow: visible; }
.property-description p { margin-bottom: 16px; color: var(--grey-700); line-height: 1.8; font-size: 15px; }
.property-description img { max-width: 100%; height: auto; }
.property-description iframe { max-width: 100%; }
.property-description table { max-width: 100%; overflow-x: auto; display: block; }
.property-description * { max-width: 100%; box-sizing: border-box; }

/* Details table */
.prop-details-table { width: 100%; border-collapse: collapse; }
.prop-details-table tr { border-bottom: 1px solid var(--grey-100); }
.prop-details-table tr:last-child { border-bottom: none; }
.prop-details-table th {
    text-align: left; padding: 12px 0;
    font-size: 13px; font-weight: 600;
    color: var(--grey-500); width: 40%;
}
.prop-details-table td {
    padding: 12px 0;
    font-size: 14px; font-weight: 600;
    color: var(--grey-900);
}

/* Features grid */
.prop-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px 24px;
}
.prop-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--grey-700);
    font-weight: 500;
}
.prop-feature svg { color: var(--navy); flex-shrink: 0; }

.property-map { margin-top: 40px; }
.property-map h2 { font-size: 1.3rem; font-weight: 700; color: var(--grey-900); margin-bottom: 16px; }

/* Agent Card (sidebar) */
.property-sidebar { position: sticky; top: 88px; }
.agent-card {
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}
.agent-card__header { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.agent-card__avatar {
    width: 52px; height: 52px; border-radius: 50%;
    overflow: hidden; flex-shrink: 0;
    background: var(--navy);
    display: flex; align-items: center; justify-content: center;
}
.agent-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.agent-card__initials { color: var(--white); font-weight: 700; font-size: 1.1rem; }
.agent-card__name { font-weight: 700; font-size: 15px; color: var(--grey-900); }
.agent-card__company { font-size: 13px; color: var(--grey-500); margin-top: 2px; }
.agent-card__contact { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.agent-card__phone {
    display: flex; align-items: center; gap: 8px;
    font-size: 15px; font-weight: 600; color: var(--navy);
    text-decoration: none;
    min-width: 0; overflow-wrap: break-word; word-break: break-word;
}
.agent-card__phone:hover { color: var(--blue); }
.agent-card__divider { border: none; border-top: 1px solid var(--grey-200); margin: 20px 0; }
.agent-card__form-title { font-size: 1rem; font-weight: 700; color: var(--grey-900); margin-bottom: 16px; }

/* WhatsApp button */
.btn-whatsapp {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: #25D366; color: #fff; border: none; border-radius: 10px;
    padding: 11px 20px; font-size: 14px; font-weight: 600; cursor: pointer;
    text-decoration: none; transition: background .15s;
}
.btn-whatsapp:hover { background: #1ebe5d; color: #fff; }
.btn-block { width: 100%; }

/* Contact Card (legacy, kept for compat) */
.contact-card {
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
}
.contact-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--grey-900); margin-bottom: 8px; }
.contact-card > p { font-size: 14px; color: var(--grey-500); margin-bottom: 20px; }

/* Full-width enquiry section (below map) */
.property-enquiry {
    margin-top: 48px;
    background: var(--grey-50);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius);
    overflow: hidden;
}
.enquiry-agent {
    display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
    padding: 24px 28px;
    background: var(--navy);
    color: var(--white);
}
.enquiry-agent__avatar {
    width: 60px; height: 60px; border-radius: 50%;
    overflow: hidden; flex-shrink: 0;
    background: rgba(255,255,255,.15);
    display: flex; align-items: center; justify-content: center;
    border: 2px solid rgba(255,255,255,.3);
}
.enquiry-agent__avatar img { width: 100%; height: 100%; object-fit: cover; }
.enquiry-agent__initials { color: var(--white); font-weight: 700; font-size: 1.2rem; }
.enquiry-agent__details { flex: 1; min-width: 160px; }
.enquiry-agent__details strong { display: block; font-size: 16px; font-weight: 700; }
.enquiry-agent__details span { font-size: 13px; opacity: .75; }
.enquiry-agent__phone {
    display: flex; align-items: center; gap: 6px;
    color: rgba(255,255,255,.85); text-decoration: none;
    font-size: 14px; margin-top: 6px;
}
.enquiry-agent__phone:hover { color: #fff; }
.enquiry-agent__cta { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-white {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: transparent; color: #fff;
    border: 2px solid rgba(255,255,255,.55); border-radius: 10px;
    padding: 10px 18px; font-size: 14px; font-weight: 600;
    cursor: pointer; text-decoration: none; transition: background .15s, border-color .15s;
}
.btn-white:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }
.enquiry-form-wrap { padding: 28px; }
.enquiry-form-wrap h3 { font-size: 1.15rem; font-weight: 700; color: var(--grey-900); margin-bottom: 20px; }

/* Inquiry submission feedback */
.inquiry-success {
    background: #ecfdf5;
    border: 1px solid #10b981;
    border-radius: 10px;
    padding: 24px;
    text-align: center;
    color: #064e3b;
}
.inquiry-success__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #10b981;
    color: #fff;
    margin-bottom: 12px;
}
.inquiry-success h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 8px;
    color: #064e3b;
}
.inquiry-success p { margin: 0; font-size: 14px; line-height: 1.5; }
.inquiry-success--compact {
    padding: 14px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 12px;
}
.inquiry-success--compact .inquiry-success__icon {
    width: 36px;
    height: 36px;
    margin-bottom: 0;
    flex-shrink: 0;
}
.inquiry-success--compact p { font-size: 13px; }
.inquiry-error {
    background: #fef2f2;
    border: 1px solid #ef4444;
    border-radius: 10px;
    padding: 16px;
    color: #7f1d1d;
    margin-bottom: 16px;
}
.inquiry-error p { margin: 0; font-size: 14px; }
.enquiry-form { display: flex; flex-direction: column; gap: 14px; }
.enquiry-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.enquiry-form input,
.enquiry-form textarea {
    width: 100%; padding: 12px 14px;
    border: 1px solid var(--grey-200); border-radius: 10px;
    font-size: 14px; background: var(--white);
    transition: border-color .15s;
}
.enquiry-form input:focus,
.enquiry-form textarea:focus { outline: none; border-color: var(--navy); }
.enquiry-form textarea { resize: vertical; }
.contact-form { display: flex; flex-direction: column; gap: 12px; }
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--grey-200);
    border-radius: 10px;
    font-size: 14px;
    background: var(--grey-50);
    transition: border-color .15s;
}
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: var(--navy); background: var(--white); }
.contact-form textarea { resize: vertical; }

/* ── Page ── */
.page-main { padding: 60px 0 80px; }
.page-title { font-size: 2rem; font-weight: 800; color: var(--grey-900); letter-spacing: -0.03em; margin-bottom: 32px; }
.entry-content { max-width: 720px; }
.entry-content p { margin-bottom: 20px; line-height: 1.75; }
.entry-content h2 { font-size: 1.5rem; font-weight: 700; margin: 32px 0 16px; }
.entry-content h3 { font-size: 1.2rem; font-weight: 700; margin: 24px 0 12px; }

/* ── Footer ── */
.site-footer {
    background: var(--navy);
    color: rgba(255,255,255,.7);
    margin-top: auto;
}
.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 60px 24px 40px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
}
.footer-brand .logo-text { color: var(--white); }
.footer-tagline { font-size: 14px; color: rgba(255,255,255,.5); margin-top: 10px; }
.footer-links { display: flex; gap: 48px; }
.footer-col h4 { color: var(--white); font-size: 14px; font-weight: 600; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .05em; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 14px; transition: color .15s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 24px;
    border-top: 1px solid rgba(255,255,255,.1);
    font-size: 13px;
    color: rgba(255,255,255,.4);
}

/* ── Section Inner (shared container) ── */
.section-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section-inner--narrow { max-width: 900px; margin: 0 auto; padding: 0 24px; }

/* ── Search CTA row ── */
.search-cta-row {
    display: flex;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
    justify-content: center;
}

/* ── Quick Links ── */
.quick-links {
    background: var(--white);
    padding: 48px 0;
}
.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 28px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--grey-700);
    text-align: center;
    border: 1px solid var(--grey-200);
    border-radius: var(--radius);
    background: var(--white);
    transition: background .15s, color .15s, border-color .15s, box-shadow .15s;
    text-decoration: none;
}
.quick-link svg { color: var(--grey-700); }
.quick-link:hover {
    background: var(--grey-50);
    color: var(--navy);
    border-color: var(--navy);
    box-shadow: var(--shadow-sm);
}
.quick-link:hover svg { color: var(--navy); }
.quick-link--all { font-weight: 600; color: var(--navy); border-color: var(--navy); }

/* ── Price Showcase (Resale + New Build) ── */
.price-showcase {
    padding: 72px 0;
    background: var(--white);
}
.price-showcase--newbuild {
    background: var(--grey-50);
}
.showcase-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 12px;
}
.showcase-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--grey-900);
    letter-spacing: -0.03em;
}
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.showcase-tier {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.tier-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--grey-500);
}
.tier-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: var(--navy);
    background: rgba(0,29,61,.08);
    padding: 4px 12px;
    border-radius: 100px;
    width: fit-content;
}
.price-showcase--newbuild .tier-badge {
    color: #0057b7;
    background: rgba(0,87,183,.1);
}
.tier-card {
    display: block;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--grey-200);
    box-shadow: var(--shadow-sm);
    transition: box-shadow .2s, transform .2s;
    text-decoration: none;
}
.tier-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.tier-img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    display: block;
}
.tier-img--placeholder {
    width: 100%;
    aspect-ratio: 16/10;
    background: var(--grey-100);
    display: flex;
    align-items: center;
    justify-content: center;
}
.tier-info {
    padding: 16px 20px 20px;
}
.tier-info h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--grey-900);
    margin-bottom: 6px;
    line-height: 1.4;
}
.tier-city {
    font-size: 13px;
    color: var(--grey-500);
    margin-bottom: 8px;
}
.tier-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}
.tier-meta {
    display: flex;
    gap: 12px;
    font-size: 13px;
    color: var(--grey-500);
}
.btn-block { width: 100%; text-align: center; justify-content: center; }

/* ── Lifestyle ── */
.lifestyle {
    padding: 80px 0;
    background: var(--navy);
}
.lifestyle h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.03em;
    margin-bottom: 40px;
    text-align: center;
}
.lifestyle-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.lifestyle-card {
    background: rgba(255,255,255,.08);
    border-radius: var(--radius);
    padding: 28px 24px;
    border: 1px solid rgba(255,255,255,.1);
}
.lifestyle-icon {
    width: 52px;
    height: 52px;
    background: rgba(255,255,255,.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--white);
}
.lifestyle-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}
.lifestyle-card p {
    font-size: 14px;
    color: rgba(255,255,255,.65);
    line-height: 1.65;
}

/* ── Why Buy ── */
.why-buy {
    padding: 80px 0;
    background: var(--white);
}
.why-buy h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--grey-900);
    letter-spacing: -0.03em;
    margin-bottom: 40px;
}
.why-buy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}
.why-buy-col h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--grey-900);
    margin-bottom: 14px;
}
.why-buy-col p {
    font-size: 15px;
    color: var(--grey-500);
    line-height: 1.75;
    margin-bottom: 20px;
}
.check-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.check-list li {
    font-size: 14px;
    color: var(--grey-700);
    padding-left: 24px;
    position: relative;
    line-height: 1.5;
}
.check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 14px;
    height: 14px;
    background: var(--navy);
    border-radius: 50%;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ── FAQ ── */
.faq {
    padding: 80px 0;
    background: var(--grey-50);
}
.faq h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--grey-900);
    letter-spacing: -0.03em;
    margin-bottom: 40px;
    text-align: center;
}
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.faq-item {
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius);
    overflow: hidden;
}
.faq-item summary {
    padding: 20px 24px;
    font-size: 16px;
    font-weight: 600;
    color: var(--grey-900);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    font-size: 20px;
    font-weight: 400;
    color: var(--grey-400);
    flex-shrink: 0;
    transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer {
    padding: 0 24px 20px;
    font-size: 15px;
    color: var(--grey-500);
    line-height: 1.75;
    border-top: 1px solid var(--grey-100);
    padding-top: 16px;
}

/* ── CTA Banner ── */
.cta-banner {
    background: var(--grey-50);
    border-top: 1px solid var(--grey-200);
    padding: 80px 0;
    text-align: center;
}
.cta-banner h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.cta-banner p {
    font-size: 17px;
    color: var(--grey-500);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
/* btn-white on light CTA background → navy filled */
.cta-banner .btn-white {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}
.cta-banner .btn-white:hover {
    background: var(--navy-dark);
    border-color: var(--navy-dark);
    color: var(--white);
}
/* btn-white used on dark backgrounds elsewhere */
.btn-white {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
}
.btn-white:hover {
    background: var(--grey-100);
    border-color: var(--grey-100);
}
.btn-pill { border-radius: 100px; }
.btn-outline-dark {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--grey-200);
}
.btn-outline-dark:hover { background: var(--grey-50); border-color: var(--navy); }

/* ── Services page ── */
.services-grid--large { grid-template-columns: repeat(3, 1fr); }
.service-card--icon { display: flex; flex-direction: column; gap: 12px; }
.service-card-icon { color: var(--navy); }
.service-card-icon svg { display: block; }

/* ── Contact page ── */
.contact-page { padding: 48px 0 80px; background: var(--grey-50); }
.contact-form-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--grey-200);
    box-shadow: var(--shadow-sm);
    padding: 40px 48px;
    max-width: 740px;
    margin: 0 auto;
}
.contact-form-card h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--grey-900);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}
.contact-form-card > p {
    color: var(--grey-500);
    font-size: 15px;
    margin-bottom: 28px;
}
.form-privacy-note {
    text-align: center;
    font-size: 12.5px;
    color: var(--grey-400);
    margin-top: 12px;
}

/* Contact info cards */
.contact-info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 740px;
    margin: 24px auto 0;
}
.contact-info-card {
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius);
    padding: 20px 24px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.contact-info-icon {
    width: 36px;
    height: 36px;
    background: var(--grey-50);
    border: 1px solid var(--grey-200);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--navy);
}
.contact-info-card strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--grey-900);
    margin-bottom: 2px;
}
.contact-info-card span {
    font-size: 13.5px;
    color: var(--grey-500);
}

/* Contact FAQ */
.contact-faq {
    max-width: 740px;
    margin: 40px auto 0;
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius);
    padding: 36px 40px;
}
.contact-faq h2 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--grey-900);
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}
.contact-faq-item {
    padding: 20px 0;
    border-top: 1px solid var(--grey-100);
}
.contact-faq-item:first-child { border-top: none; padding-top: 0; }
.contact-faq-item h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--grey-900);
    margin-bottom: 8px;
}
.contact-faq-item p {
    font-size: 14.5px;
    color: var(--grey-600);
    line-height: 1.65;
    margin: 0;
}
@media (max-width: 640px) {
    .contact-info-cards { grid-template-columns: 1fr; }
    .contact-faq { padding: 24px 20px; }
}
.contact-page-grid { display: grid; grid-template-columns: 1fr 380px; gap: 64px; align-items: start; }
.contact-form-wrap h2, .contact-info h2 { font-size: 1.5rem; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-weight: 600; font-size: .9rem; color: var(--grey-700); }
.form-group .required { color: var(--primary); }
.form-group input,
.form-group select,
.form-group textarea { width: 100%; padding: 10px 14px; border: 1.5px solid var(--grey-200); border-radius: 8px; font-size: .95rem; background: var(--white); transition: border-color .2s; box-sizing: border-box; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--primary); }
.form-group textarea { resize: vertical; }
.form-notice { padding: 12px 16px; border-radius: 8px; margin-bottom: 20px; font-size: .95rem; }
.form-notice--success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.form-notice--error { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.contact-info { background: var(--grey-50); border-radius: 16px; padding: 32px; }
.contact-details { display: flex; flex-direction: column; gap: 20px; margin-bottom: 28px; }
.contact-detail { display: flex; gap: 14px; align-items: flex-start; }
.contact-detail-icon { width: 40px; height: 40px; background: var(--white); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--primary); box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.contact-detail strong { display: block; font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--grey-500); margin-bottom: 4px; }
.contact-detail p { margin: 0; line-height: 1.5; }
.contact-detail a { color: var(--navy); }
.contact-detail a:hover { color: var(--primary); }
.contact-note { border-top: 1px solid var(--grey-200); padding-top: 24px; }
.contact-note h3 { font-size: 1rem; margin-bottom: 8px; }
.contact-note p { font-size: .9rem; color: var(--grey-600); margin-bottom: 16px; }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .property-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .search-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .search-field--keyword { grid-column: span 1; }
    .archive-layout { grid-template-columns: 240px 1fr; gap: 24px; }
    .property-layout { grid-template-columns: 1fr 320px; gap: 32px; }
    .quick-links-grid { grid-template-columns: repeat(4, 1fr); }
    .services-grid--large { grid-template-columns: repeat(2, 1fr); }
    .contact-page-grid { grid-template-columns: 1fr 320px; gap: 40px; }
}

@media (max-width: 768px) {
    .hero { padding: 60px 0 72px; }
    .hero-heading { font-size: 2.2rem; }
    .hero-choices { flex-direction: column; gap: 12px; max-width: 400px; }
    .hero-choice { flex-direction: row; padding: 18px 20px; gap: 14px; text-align: left; }
    .hero-choice__icon { width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; }
    .hero-choice__icon svg { width: 22px; height: 22px; }
    .hero-choice__desc { display: none; }
    .search-card { padding: 20px; }
    .search-grid { grid-template-columns: 1fr 1fr; }
    .property-search-section { padding: 48px 0; }
    .property-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr 1fr; }
    .pf-bar { gap: 8px; }
    .pf-search { min-width: 100%; }
    .pf-select, .pf-clear { font-size: 13px; padding: 9px 10px; }
    .property-layout { grid-template-columns: 1fr; }
    .property-sidebar { position: static; }
    .site-nav { display: none; }
    .header-actions { display: none; }
    .nav-toggle { display: flex; }
    .footer-inner { grid-template-columns: 1fr; gap: 32px; }
    .footer-links { gap: 32px; }
    .services-grid--large { grid-template-columns: 1fr; }
    .contact-page-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 480px) {
    .search-grid { grid-template-columns: 1fr; }
    .search-field--keyword { grid-column: span 1; }
    .why-grid { grid-template-columns: 1fr; }
    .hero-heading { font-size: 1.9rem; }
    .search-actions { flex-direction: column; align-items: stretch; }
    .btn-lg { justify-content: center; }
}

/* ── Dictionary Page ── */
.dict-hero { background: var(--navy); color: var(--white); padding: 64px 0 48px; text-align: center; }
.dict-hero h1 { font-size: 2.4rem; font-weight: 700; color: var(--white); margin-bottom: 16px; }
.dict-hero p { font-size: 1.05rem; color: rgba(255,255,255,.75); max-width: 620px; margin: 0 auto; line-height: 1.6; }

.dict-controls { padding: 32px 0 8px; }

.dict-search { position: relative; margin-bottom: 24px; }
.dict-search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--grey-400); pointer-events: none; }
.dict-search input { width: 100%; padding: 14px 16px 14px 46px; border: 1px solid var(--grey-200); border-radius: var(--radius); font-size: 1rem; background: var(--white); }
.dict-search input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(245,183,0,.15); }

.dict-az { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.dict-az-btn { padding: 6px 10px; border: 1px solid var(--grey-200); border-radius: 6px; background: var(--white); font-size: .85rem; font-weight: 500; cursor: pointer; color: var(--grey-600); transition: all .15s; }
.dict-az-btn:hover { border-color: var(--primary); color: var(--navy); }
.dict-az-btn.active { background: var(--navy); border-color: var(--navy); color: var(--white); }

.dict-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.dict-cat-btn { padding: 7px 16px; border: 1px solid var(--grey-200); border-radius: 20px; background: var(--white); font-size: .9rem; cursor: pointer; color: var(--grey-600); transition: all .15s; }
.dict-cat-btn:hover { border-color: var(--primary); color: var(--navy); }
.dict-cat-btn.active { background: var(--navy); border-color: var(--navy); color: var(--white); }

.dict-results { padding: 32px 0 64px; }
#dict-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }

.dict-card { background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius); padding: 24px 28px; }
.dict-card h3 { font-size: 1.2rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.dict-spanish { font-size: .95rem; color: var(--primary-dark, #b8860b); margin-bottom: 12px; }
.dict-desc { font-size: .95rem; color: var(--grey-600); line-height: 1.7; margin-bottom: 16px; }
.dict-related { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .85rem; color: var(--grey-500); }
.dict-related > span { font-weight: 500; }
.dict-rel-tag { padding: 4px 12px; background: var(--navy); color: var(--white); border: none; border-radius: 20px; font-size: .82rem; cursor: pointer; transition: opacity .15s; }
.dict-rel-tag:hover { opacity: .8; }

#dict-no-results { text-align: center; padding: 64px 0; color: var(--grey-500); font-size: 1.05rem; }

@media (max-width: 768px) {
    .dict-hero h1 { font-size: 1.75rem; }
    .dict-card { padding: 18px 20px; }
}


/* ══════════════════════════════════════════════════════════════
   ADD PROPERTY — Multi-step wizard
══════════════════════════════════════════════════════════════ */

/* ── Page wrapper ───────────────────────────────────────────── */
.add-property-page {
    min-height: 100vh;
    background: var(--grey-50);
    display: flex;
    flex-direction: column;
}

/* ── AP Header ──────────────────────────────────────────────── */
.ap-header {
    background: var(--navy);
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    gap: 20px;
    flex-shrink: 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.ap-header__logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.ap-header__logo img { height: 36px; width: auto; }

.ap-header__center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.ap-header__title {
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -.01em;
}
.ap-header__step-label {
    font-size: 12px;
    color: rgba(255,255,255,.55);
    font-weight: 500;
}
.ap-header__actions { flex-shrink: 0; }
.ap-header__exit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,.7);
    transition: color .15s;
    text-decoration: none;
}
.ap-header__exit:hover { color: var(--white); }

/* ── Progress bar ───────────────────────────────────────────── */
.ap-progress-wrap {
    background: var(--white);
    border-bottom: 1px solid var(--grey-200);
    padding: 20px 24px;
    flex-shrink: 0;
}
.ap-progress {
    max-width: 860px;
    margin: 0 auto;
    position: relative;
}
.ap-progress__track {
    position: absolute;
    top: 18px;
    left: calc(12.5% + 16px);
    right: calc(12.5% + 16px);
    height: 2px;
    background: var(--grey-200);
    z-index: 0;
    border-radius: 2px;
}
.ap-progress__fill {
    height: 100%;
    background: var(--navy);
    border-radius: 2px;
    transition: width .4s cubic-bezier(.4,0,.2,1);
    width: 0%;
}
.ap-progress__steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}
.ap-progress__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
}
.ap-progress__circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--grey-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: var(--grey-400);
    transition: all .25s ease;
    position: relative;
}
.ap-progress__check { display: none; }
.ap-progress__label {
    font-size: 12px;
    font-weight: 500;
    color: var(--grey-400);
    text-align: center;
    white-space: nowrap;
    transition: color .2s;
}

/* Active step */
.ap-progress__step--active .ap-progress__circle {
    border-color: var(--navy);
    color: var(--navy);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(0,29,61,.08);
}
.ap-progress__step--active .ap-progress__label {
    color: var(--navy);
    font-weight: 700;
}

/* Done step */
.ap-progress__step--done .ap-progress__circle {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
}
.ap-progress__step--done .ap-progress__num  { display: none; }
.ap-progress__step--done .ap-progress__check { display: block; }
.ap-progress__step--done .ap-progress__label { color: var(--navy); }

/* ── Form wrap ──────────────────────────────────────────────── */
.ap-form-wrap {
    flex: 1;
    padding: 36px 24px 80px;
}

/* ── Steps ──────────────────────────────────────────────────── */
.ap-step          { display: none; max-width: 860px; margin: 0 auto; }
.ap-step--active  { display: block; }

/* ── Card ───────────────────────────────────────────────────── */
.ap-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 24px;
    border: 1px solid var(--grey-200);
}
.ap-card__header {
    padding: 28px 32px 0;
    margin-bottom: 28px;
}
.ap-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--grey-900);
    letter-spacing: -.02em;
    margin-bottom: 6px;
}
.ap-card__subtitle {
    font-size: 14px;
    color: var(--grey-500);
    line-height: 1.5;
}
.ap-card__body {
    padding: 0 32px 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ── Field ──────────────────────────────────────────────────── */
.ap-field { display: flex; flex-direction: column; gap: 6px; }
.ap-label {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--grey-700);
}
.ap-required { color: #e53e3e; margin-left: 2px; }
.ap-field-error {
    font-size: 12.5px;
    color: #e53e3e;
    font-weight: 500;
    display: none;
}

/* ── Inputs ─────────────────────────────────────────────────── */
.ap-input {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--grey-200);
    border-radius: 8px;
    font-size: 14.5px;
    color: var(--grey-900);
    background: var(--white);
    transition: border-color .15s, box-shadow .15s;
    outline: none;
    appearance: none;
}
.ap-input::placeholder { color: var(--grey-400); }
.ap-input:focus {
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(0,29,61,.08);
}
.ap-input--error { border-color: #e53e3e !important; }
.ap-input--error:focus { box-shadow: 0 0 0 3px rgba(229,62,62,.12) !important; }
.ap-input--lg   { font-size: 17px; padding: 13px 16px; font-weight: 500; }
.ap-textarea    { resize: vertical; min-height: 130px; line-height: 1.65; }
.ap-input--mono { font-family: 'Courier New', monospace; font-size: 13.5px; }

/* Input group (prefix / suffix) */
.ap-input-group { display: flex; align-items: center; position: relative; }
.ap-input-prefix,
.ap-input-suffix {
    position: absolute;
    font-size: 14px;
    font-weight: 600;
    color: var(--grey-500);
    pointer-events: none;
    user-select: none;
}
.ap-input-prefix { left: 13px; }
.ap-input-suffix { right: 13px; }
.ap-input--prefixed { padding-left: 28px; }
.ap-input--suffixed { padding-right: 40px; }

/* ── Fields grid ────────────────────────────────────────────── */
.ap-fields-grid {
    display: grid;
    gap: 20px;
}
.ap-fields-grid--2 { grid-template-columns: 1fr 1fr; }

/* ── Stepper (bedrooms / bathrooms) ─────────────────────────── */
.ap-stepper {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--grey-200);
    border-radius: 8px;
    overflow: hidden;
    width: fit-content;
    min-width: 140px;
    background: var(--white);
}
.ap-stepper__btn {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: var(--grey-50);
    color: var(--grey-700);
    cursor: pointer;
    transition: background .15s, color .15s;
    font-size: 18px;
}
.ap-stepper__btn:hover { background: var(--grey-100); color: var(--navy); }
.ap-stepper__input {
    flex: 1;
    border: none !important;
    box-shadow: none !important;
    text-align: center;
    font-weight: 700;
    font-size: 16px;
    color: var(--grey-900);
    padding: 0;
    background: transparent;
    -moz-appearance: textfield;
    min-width: 0;
}
.ap-stepper__input::-webkit-inner-spin-button,
.ap-stepper__input::-webkit-outer-spin-button { -webkit-appearance: none; }
.ap-stepper__input:focus { outline: none; box-shadow: none; }

/* ── Radio cards ────────────────────────────────────────────── */
.ap-radio-cards {
    display: grid;
    gap: 12px;
}
.ap-radio-cards--2 { grid-template-columns: repeat(2, 1fr); }
.ap-radio-cards--3 { grid-template-columns: repeat(3, 1fr); }

.ap-radio-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 16px 18px;
    border: 2px solid var(--grey-200);
    border-radius: 10px;
    cursor: pointer;
    transition: border-color .18s, background .18s, box-shadow .18s;
    background: var(--white);
    text-align: center;
    user-select: none;
}
.ap-radio-card:hover {
    border-color: rgba(0,29,61,.35);
    background: var(--grey-50);
}
.ap-radio-card.selected {
    border-color: var(--navy);
    background: rgba(0,29,61,.04);
    box-shadow: 0 0 0 3px rgba(0,29,61,.07);
}
.ap-radio-input { position: absolute; opacity: 0; width: 0; height: 0; }
.ap-radio-card__icon { color: var(--grey-500); transition: color .18s; }
.ap-radio-card.selected .ap-radio-card__icon { color: var(--navy); }
.ap-radio-card__label {
    font-size: 14px;
    font-weight: 700;
    color: var(--grey-700);
    line-height: 1.2;
}
.ap-radio-card.selected .ap-radio-card__label { color: var(--navy); }
.ap-radio-card__sub {
    font-size: 12px;
    color: var(--grey-400);
    line-height: 1.3;
}

/* ── Toggle (Featured) ──────────────────────────────────────── */
.ap-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    background: var(--grey-50);
    border: 1.5px solid var(--grey-200);
    border-radius: 10px;
}
.ap-toggle-text { flex: 1; }
.ap-toggle-label { display: block; font-size: 14px; font-weight: 700; color: var(--grey-900); }
.ap-toggle-hint  { display: block; font-size: 12.5px; color: var(--grey-500); margin-top: 2px; }

.ap-toggle { position: relative; display: inline-block; flex-shrink: 0; }
.ap-toggle input { position: absolute; opacity: 0; width: 0; height: 0; }
.ap-toggle__track {
    display: flex;
    align-items: center;
    width: 48px;
    height: 28px;
    background: var(--grey-200);
    border-radius: 100px;
    transition: background .2s;
    cursor: pointer;
    padding: 3px;
}
.ap-toggle input:checked ~ .ap-toggle__track { background: var(--navy); }
.ap-toggle__thumb {
    width: 22px;
    height: 22px;
    background: var(--white);
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(0,0,0,.25);
    transition: transform .2s cubic-bezier(.4,0,.2,1);
}
.ap-toggle input:checked ~ .ap-toggle__track .ap-toggle__thumb {
    transform: translateX(20px);
}
.ap-toggle input:focus-visible ~ .ap-toggle__track {
    outline: 2px solid var(--navy);
    outline-offset: 2px;
}

/* ── Location / Map ─────────────────────────────────────────── */
.ap-address-row {
    display: flex;
    gap: 10px;
    align-items: stretch;
}
.ap-address-row .ap-input { flex: 1; }
.ap-geocode-btn {
    white-space: nowrap;
    flex-shrink: 0;
    border-radius: 8px !important;
    font-size: 13.5px;
    padding: 11px 16px;
    gap: 6px;
}
.ap-geocode-status {
    font-size: 12.5px;
    margin-top: 4px;
    display: block;
    line-height: 1.4;
}
.ap-geocode-status--error   { color: #e53e3e; }
.ap-geocode-status--success { color: #276749; }

.ap-map-wrap {
    border-radius: 10px;
    overflow: hidden;
    border: 1.5px solid var(--grey-200);
    position: relative;
}
#ap-map { height: 380px; width: 100%; }
.ap-map-hint {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,.92);
    border: 1px solid var(--grey-200);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 500;
    color: var(--grey-700);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    pointer-events: none;
    backdrop-filter: blur(4px);
    box-shadow: var(--shadow-sm);
    z-index: 500;
}
.ap-map-pin svg { width: 32px; height: 40px; }

/* ── Drop zone ──────────────────────────────────────────────── */
.ap-drop-zone {
    border: 2px dashed var(--grey-200);
    border-radius: 12px;
    background: var(--grey-50);
    padding: 48px 24px;
    text-align: center;
    cursor: pointer;
    transition: border-color .18s, background .18s;
    position: relative;
    outline: none;
}
.ap-drop-zone:hover,
.ap-drop-zone:focus-visible { border-color: var(--navy); background: rgba(0,29,61,.02); }
.ap-drop-zone--over { border-color: var(--navy); background: rgba(0,29,61,.04); border-style: solid; }
.ap-file-input {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    pointer-events: none;
}
.ap-drop-zone__inner { pointer-events: none; }
.ap-drop-zone__icon  { color: var(--grey-400); margin: 0 auto 16px; width: fit-content; }
.ap-drop-zone__title { font-size: 16px; font-weight: 600; color: var(--grey-700); margin-bottom: 6px; }
.ap-drop-zone__sub   { font-size: 14px; color: var(--grey-500); margin-bottom: 8px; }
.ap-drop-zone__browse {
    color: var(--navy);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.ap-drop-zone__meta { font-size: 12px; color: var(--grey-400); }

/* ── Upload progress ────────────────────────────────────────── */
.ap-upload-progress {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}
.ap-upload-progress__bar {
    flex: 1;
    height: 6px;
    background: var(--grey-200);
    border-radius: 100px;
    overflow: hidden;
}
.ap-upload-progress__fill {
    height: 100%;
    background: var(--navy);
    border-radius: 100px;
    transition: width .3s ease;
    width: 0%;
}
.ap-upload-progress__label {
    font-size: 12.5px;
    font-weight: 500;
    color: var(--grey-500);
    white-space: nowrap;
}

/* ── Image grid ─────────────────────────────────────────────── */
.ap-image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
    margin-top: 4px;
}
.ap-image-grid:empty { display: none; }

.ap-thumb {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--grey-100);
    border: 2px solid transparent;
    transition: border-color .18s;
}
.ap-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ap-thumb--cover { border-color: var(--navy); }

.ap-thumb__badge {
    position: absolute;
    top: 6px;
    left: 6px;
    background: var(--navy);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.ap-thumb__remove {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(0,0,0,.6);
    border: none;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity .15s;
    padding: 0;
    line-height: 1;
}
.ap-thumb:hover .ap-thumb__remove { opacity: 1; }

.ap-thumb__set-cover {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,.55);
    border: none;
    color: var(--white);
    font-size: 11px;
    font-weight: 600;
    padding: 5px 0;
    cursor: pointer;
    opacity: 0;
    transition: opacity .15s;
    text-align: center;
}
.ap-thumb:hover .ap-thumb__set-cover { opacity: 1; }

/* ── Navigation bar ─────────────────────────────────────────── */
.ap-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 860px;
    margin: 0 auto;
}
.ap-nav--right  { justify-content: flex-end; }
.ap-nav--split  { justify-content: space-between; }

/* ── Submit error ───────────────────────────────────────────── */
.ap-submit-error {
    max-width: 860px;
    margin: 0 auto 16px;
    background: #fff5f5;
    border: 1.5px solid #fed7d7;
    border-radius: 8px;
    color: #c53030;
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}

/* ── Success state ──────────────────────────────────────────── */
.ap-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 80px 24px;
    max-width: 560px;
    margin: 0 auto;
    gap: 16px;
}
.ap-success__icon {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: rgba(0,29,61,.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    margin-bottom: 8px;
}
.ap-success__title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--grey-900);
    letter-spacing: -.03em;
}
.ap-success__sub { font-size: 16px; color: var(--grey-500); line-height: 1.6; }
.ap-success__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 8px;
}

/* ── Spinner ────────────────────────────────────────────────── */
@keyframes ap-spin {
    to { transform: rotate(360deg); }
}
.ap-spin { animation: ap-spin .7s linear infinite; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 680px) {
    .ap-header { padding: 0 16px; }
    .ap-header__title { font-size: 14px; }

    .ap-card__header { padding: 20px 20px 0; }
    .ap-card__body   { padding: 0 20px 24px; gap: 20px; }

    .ap-fields-grid--2 { grid-template-columns: 1fr; }
    .ap-radio-cards--3 { grid-template-columns: 1fr; }
    .ap-radio-cards--2 { grid-template-columns: 1fr; }

    .ap-address-row { flex-direction: column; }
    .ap-geocode-btn { width: 100%; justify-content: center; }

    .ap-image-grid { grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); }

    .ap-nav .btn { font-size: 14px; padding: 12px 20px; }
    .ap-success { padding: 48px 16px; }
    .ap-success__title { font-size: 1.4rem; }
    .ap-success__actions { flex-direction: column; }
    .ap-success__actions .btn { width: 100%; justify-content: center; }

    .ap-progress__label { display: none; }
    .ap-progress__track {
        left: calc(12.5% + 10px);
        right: calc(12.5% + 10px);
    }
}

/* ── Favourite heart button ── */
.fav-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    background: rgba(255,255,255,.92);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform .15s, background .15s;
    backdrop-filter: blur(4px);
}
.fav-btn:hover { transform: scale(1.12); background: #fff; }
.fav-btn .fav-icon--outline { color: var(--grey-500); display: block; }
.fav-btn .fav-icon--filled  { color: #e53e3e; display: none; }
.fav-btn.is-fav .fav-icon--outline { display: none; }
.fav-btn.is-fav .fav-icon--filled  { display: block; }

/* ── Favourites page ── */
.fav-hero {
    background: var(--grey-50);
    border-bottom: 1px solid var(--grey-200);
    padding: 56px 0 40px;
    text-align: center;
}
.fav-hero h1 { font-size: 2rem; color: var(--navy); margin-bottom: 8px; }
.fav-hero p  { color: var(--grey-500); }
.fav-results { padding: 48px 0 80px; }
.fav-loading {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    color: var(--grey-500);
    padding: 80px 0;
}
.fav-spinner {
    width: 22px;
    height: 22px;
    border: 3px solid var(--grey-200);
    border-top-color: var(--navy);
    border-radius: 50%;
    animation: spin .7s linear infinite;
    flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }
.fav-empty {
    text-align: center;
    padding: 80px 0;
    color: var(--grey-400);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.fav-empty h2 { font-size: 1.4rem; color: var(--grey-700); }
.fav-empty p  { color: var(--grey-500); margin-bottom: 8px; }

/* ── Property Dashboard ── */
.dash-header {
    background: var(--white);
    border-bottom: 1px solid var(--grey-200);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.dash-header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.dash-header h1 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0;
}

.dash-stats {
    background: var(--grey-50);
    border-bottom: 1px solid var(--grey-200);
    padding: 20px 0;
}
.dash-stats-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}
.dash-stat-card[href]:hover {
    border-color: var(--navy);
    transform: translateY(-1px);
    transition: all .15s ease;
}
.dash-stat-card {
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius);
    padding: 18px 24px;
    text-align: center;
}
.dash-stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
    margin-bottom: 4px;
}
.dash-stat-label {
    font-size: 13px;
    color: var(--grey-500);
    font-weight: 500;
}

.dash-filters {
    background: var(--white);
    border-bottom: 1px solid var(--grey-200);
    padding: 16px 0;
}
.dash-filters-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.dash-search {
    flex: 1;
    min-width: 200px;
    position: relative;
}
.dash-search input {
    width: 100%;
    padding: 9px 12px 9px 36px;
    border: 1px solid var(--grey-200);
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color .15s;
}
.dash-search input:focus { border-color: var(--navy); }
.dash-search svg {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--grey-400);
    pointer-events: none;
}
.dash-select {
    padding: 9px 32px 9px 12px;
    border: 1px solid var(--grey-200);
    border-radius: 8px;
    font-size: 14px;
    background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 10px center;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    outline: none;
}
.dash-select:focus { border-color: var(--navy); }
.dash-count {
    margin-left: auto;
    font-size: 13px;
    color: var(--grey-500);
    white-space: nowrap;
}

.dash-body {
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px 32px 64px;
}
.dash-inquiries {
    margin-top: 48px;
}
.dash-inquiries-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.dash-inquiries-header h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0;
}
.dash-inquiries-link {
    font-size: 14px;
    color: var(--navy);
    text-decoration: none;
    font-weight: 600;
}
.dash-inquiries-link:hover { text-decoration: underline; }
.dash-table-wrap {
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius);
    overflow: hidden;
}
.dash-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.dash-table thead th {
    background: var(--grey-50);
    padding: 12px 16px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--grey-500);
    border-bottom: 1px solid var(--grey-200);
    white-space: nowrap;
}
.dash-row { border-bottom: 1px solid var(--grey-100); transition: background .1s; }
.dash-row:last-child { border-bottom: none; }
.dash-row:hover { background: var(--grey-50); }
.dash-cell { padding: 12px 16px; vertical-align: middle; }
.dash-cell--thumb { width: 90px; padding: 8px 16px; }
.dash-thumb {
    width: 72px;
    height: 54px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}
.dash-thumb--empty {
    width: 72px;
    height: 54px;
    background: var(--grey-100);
    border-radius: 6px;
}
.dash-title {
    font-weight: 600;
    color: var(--navy);
    text-decoration: none;
    display: block;
    line-height: 1.3;
    margin-bottom: 2px;
}
.dash-title:hover { text-decoration: underline; }
.dash-ref { font-size: 12px; color: var(--grey-400); }
.dash-cell--price { font-weight: 700; color: var(--navy); white-space: nowrap; }
.dash-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    color: var(--white);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    white-space: nowrap;
}
.dash-cell--city { color: var(--grey-500); }
.dash-meta-item { font-size: 13px; margin-right: 8px; white-space: nowrap; }
.dash-cell--date { color: var(--grey-400); white-space: nowrap; font-size: 13px; }
.dash-cell--actions { white-space: nowrap; }
.dash-action-btn {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--grey-200);
    color: var(--grey-700);
    background: var(--white);
    margin-right: 4px;
    transition: all .15s;
}
.dash-action-btn:hover { border-color: var(--navy); color: var(--navy); }
.dash-action-btn--edit { background: var(--navy); color: var(--white); border-color: var(--navy); }
.dash-action-btn--edit:hover { background: var(--navy-dark); border-color: var(--navy-dark); color: var(--white); }
.dash-empty { text-align: center; padding: 48px; color: var(--grey-400); }

.dash-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 24px;
}
.dash-page-btn {
    padding: 7px 12px;
    border: 1px solid var(--grey-200);
    border-radius: 6px;
    background: var(--white);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all .15s;
}
.dash-page-btn:hover { border-color: var(--navy); color: var(--navy); }
.dash-page-btn--active { background: var(--navy); color: var(--white); border-color: var(--navy); }

.dash-loading-row td { text-align: center; padding: 40px; color: var(--grey-400); }

/* ══════════════════════════════════════════════════════════
   SERVICE CONTACT CARD (page-services.php)
══════════════════════════════════════════════════════════ */
.svc-contact-section {
    padding: 80px 24px;
    background: var(--grey-50);
}

.svc-contact-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 4px 32px rgba(0,0,0,.08);
    padding: 56px;
}

/* Left column */
.svc-contact-card__heading {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--navy);
    margin-bottom: 28px;
}

.svc-contact-card__photo {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    max-height: 420px;
    display: block;
    margin-bottom: 24px;
}

.svc-contact-card__photo-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    background: var(--grey-100);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}
.svc-contact-card__photo-placeholder svg {
    width: 80px;
    height: 80px;
    opacity: .4;
}

.svc-contact-card__info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.svc-contact-card__info-item {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 15px;
    font-weight: 600;
    color: var(--navy);
    text-decoration: none;
}
.svc-contact-card__info-item:hover { text-decoration: underline; }
.svc-contact-card__info-item svg { flex-shrink: 0; color: var(--grey-400); }

/* Right column — form */
.svc-form { display: flex; flex-direction: column; gap: 14px; }

.svc-form__field { display: flex; flex-direction: column; }

.svc-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.svc-form__input {
    width: 100%;
    padding: 13px 16px;
    font-size: 14px;
    color: var(--grey-700);
    background: var(--grey-50);
    border: 1.5px solid var(--grey-200);
    border-radius: 8px;
    outline: none;
    transition: border-color .15s;
    font-family: inherit;
    appearance: none;
    -webkit-appearance: none;
}
.svc-form__input:focus { border-color: var(--navy); background: var(--white); }
.svc-form__input::placeholder { color: var(--grey-400); }

.svc-form__select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    cursor: pointer;
}

.svc-form__field--checkbox { margin-top: 4px; }
.svc-form__checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    color: var(--grey-500);
    line-height: 1.5;
}
.svc-form__checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--navy);
    cursor: pointer;
}

.svc-form__submit {
    width: 100%;
    padding: 15px;
    background: #f5b800;
    color: #1a1a1a;
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background .15s, transform .1s;
    font-family: inherit;
    letter-spacing: .01em;
}
.svc-form__submit:hover { background: #e0a800; }
.svc-form__submit:active { transform: scale(.99); }
.svc-form__submit:disabled { opacity: .6; cursor: not-allowed; }

.svc-form__error {
    padding: 12px 16px;
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: 8px;
    color: #dc2626;
    font-size: 14px;
}
.svc-form__success {
    padding: 16px;
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: 8px;
    color: #166534;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
}

/* Responsive */
@media (max-width: 860px) {
    .svc-contact-card {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 36px 28px;
    }
    .svc-contact-card__photo { max-height: 320px; }
}
@media (max-width: 480px) {
    .svc-form__row { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════
   ABOUT PAGE — MEET THE TEAM
══════════════════════════════════════════════════════════ */
.about-team {
    padding: 80px 24px;
    background: var(--grey-50);
}
.about-team__header {
    text-align: center;
    margin-bottom: 56px;
}
.about-team__header h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 14px;
}
.about-team__header p {
    font-size: 17px;
    color: var(--grey-500);
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.6;
}
.about-team__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

/* Agent cards — About page team grid (scoped to avoid bleeding into sidebar) */
.about-team__grid .agent-card {
    background: var(--white);
    border: 1px solid var(--grey-100);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0,0,0,.07);
    transition: box-shadow .2s, transform .2s;
    display: flex;
    flex-direction: row;
}
.about-team__grid .agent-card:hover {
    box-shadow: 0 8px 40px rgba(0,0,0,.13);
    transform: translateY(-3px);
}
.about-team__grid .agent-card__photo-wrap {
    width: 180px;
    flex-shrink: 0;
    overflow: hidden;
    background: var(--grey-100);
}
.about-team__grid .agent-card__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform .4s;
}
.about-team__grid .agent-card:hover .agent-card__photo { transform: scale(1.04); }
.about-team__grid .agent-card__photo-placeholder {
    width: 100%;
    height: 100%;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.about-team__grid .agent-card__photo-placeholder svg { width: 72px; height: 72px; opacity: .3; }
.about-team__grid .agent-card__body {
    padding: 28px 28px 28px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    min-width: 0;
}
.about-team__grid .agent-card__name {
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
    line-height: 1.25;
}
.about-team__grid .agent-card__title {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--grey-400);
    margin-bottom: 20px;
}
.about-team__grid .agent-card__contacts {
    display: flex;
    flex-direction: column;
    gap: 11px;
}
.about-team__grid .agent-card__contact {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 14px;
    color: var(--grey-600);
    text-decoration: none;
    transition: color .15s;
    line-height: 1.4;
    overflow-wrap: break-word;
    word-break: break-all;
    min-width: 0;
}
.about-team__grid .agent-card__contact:hover { color: var(--navy); }
.about-team__grid .agent-card__contact .agent-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    color: var(--grey-400);
}
.about-team__grid .agent-card__contact .agent-icon svg {
    width: 16px !important;
    height: 16px !important;
    display: block;
}
.about-team__grid .agent-card__contact:hover .agent-icon { color: var(--navy); }
.about-team__grid .agent-card__contact--whatsapp { color: #25d366; }
.about-team__grid .agent-card__contact--whatsapp .agent-icon { color: #25d366; }
.about-team__grid .agent-card__contact--whatsapp:hover { color: #1da851; }
.about-team__grid .agent-card__contact--whatsapp:hover .agent-icon { color: #1da851; }

/* Responsive */
@media (max-width: 860px) {
    .about-team__grid .agent-card { flex-direction: column; }
    .about-team__grid .agent-card__photo-wrap { width: 100%; height: 260px; }
    .about-team__grid .agent-card__body { padding: 24px; }
}
@media (max-width: 640px) {
    .about-team__grid { grid-template-columns: 1fr; }
}

.svc-contact-card__name {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

/* ══════════════════════════════════════════════════════════
   LEGAL PAGES (Privacy Policy, Terms of Use, Cookie Policy)
══════════════════════════════════════════════════════════ */
.legal-page {
    padding: 64px 0 96px;
    background: var(--white);
}
.legal-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--grey-700);
}
.legal-updated {
    font-size: 13px;
    color: var(--grey-400);
    margin-bottom: 40px;
    font-style: italic;
}
.legal-content h2 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--grey-900);
    margin: 44px 0 16px;
    letter-spacing: -0.02em;
    padding-top: 4px;
    border-top: 2px solid var(--grey-100);
}
.legal-content h2:first-of-type {
    border-top: none;
    margin-top: 0;
}
.legal-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--grey-900);
    margin: 28px 0 12px;
}
.legal-content p {
    margin-bottom: 16px;
}
.legal-content ul {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.legal-content ul li { line-height: 1.7; }
.legal-content a {
    color: var(--blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.legal-content a:hover { color: var(--navy); }

/* Cookie table */
.cookie-table-wrap {
    overflow-x: auto;
    margin: 16px 0 28px;
    border-radius: var(--radius);
    border: 1px solid var(--grey-200);
}
.cookie-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.cookie-table thead th {
    background: var(--grey-50);
    padding: 10px 16px;
    text-align: left;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--grey-500);
    border-bottom: 1px solid var(--grey-200);
    white-space: nowrap;
}
.cookie-table tbody td {
    padding: 10px 16px;
    border-bottom: 1px solid var(--grey-100);
    color: var(--grey-700);
    vertical-align: top;
}
.cookie-table tbody tr:last-child td { border-bottom: none; }

/* ══════════════════════════════════════════════════════════
   MOBILE NAV — open state
══════════════════════════════════════════════════════════ */
/* Hamburger bars must be white on navy header */
.nav-toggle span { background: var(--white) !important; }

@media (max-width: 768px) {
    /* ── Full-screen overlay ── */
    .site-nav.nav-open {
        display: flex !important;
        position: fixed;
        top: 76px;
        left: 0; right: 0; bottom: 0;
        background: var(--navy);
        z-index: 99;
        padding: 0;
        flex-direction: column;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .admin-bar .site-nav.nav-open { top: 108px; }

    /* ── Nav list ── */
    .site-nav.nav-open .nav-list {
        flex-direction: column;
        gap: 0;
        width: 100%;
        padding: 12px 0;
    }

    /* ── Top-level links ── */
    .site-nav.nav-open .nav-list > li > a {
        padding: 14px 24px;
        font-size: 15px;
        font-weight: 600;
        border-radius: 0;
        color: #fff !important;
        background: transparent !important;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 8px;
        text-align: left;
        letter-spacing: -.01em;
    }
    .site-nav.nav-open .nav-list > li > a:active {
        background: rgba(255,255,255,.06) !important;
    }
    .site-nav.nav-open .has-dropdown.is-open > a {
        background: transparent !important;
        color: #fff !important;
    }

    /* ── Chevron in Properties link ── */
    .site-nav.nav-open .has-dropdown > a {
        justify-content: space-between;
    }
    .site-nav.nav-open .has-dropdown > a svg {
        transition: transform .2s;
        opacity: .4;
    }
    .site-nav.nav-open .has-dropdown.is-open > a svg {
        transform: rotate(180deg);
        opacity: .8;
    }

    /* ── Sub-menu ── */
    .site-nav.nav-open .has-dropdown .dropdown {
        display: none !important;
        position: static !important;
        background: rgba(255,255,255,.05) !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        padding: 6px 0 !important;
        margin: 0 !important;
        min-width: 0 !important;
        width: 100% !important;
    }
    .site-nav.nav-open .has-dropdown.is-open .dropdown {
        display: block !important;
    }

    /* Kill rich-dropdown li+li dividers on mobile */
    .site-nav.nav-open .has-dropdown .dropdown li + li {
        border-top: none !important;
    }

    /* ── Sub-menu items ── */
    .site-nav.nav-open .has-dropdown .dropdown li a,
    .site-nav.nav-open .has-dropdown .dropdown li a.dropdown-item {
        display: block !important;
        padding: 11px 24px 11px 40px !important;
        font-size: 14px !important;
        font-weight: 400 !important;
        color: rgba(255,255,255,.7) !important;
        background: transparent !important;
        border-radius: 0 !important;
        border: none !important;
        text-align: left !important;
    }
    .site-nav.nav-open .has-dropdown .dropdown li a:active {
        background: rgba(255,255,255,.08) !important;
        color: #fff !important;
    }

    /* Hide icon box and description — show only the title text */
    .site-nav.nav-open .dropdown-icon { display: none !important; }
    .site-nav.nav-open .dropdown-text span { display: none !important; }
    .site-nav.nav-open .dropdown-text strong {
        font-size: 14px !important;
        font-weight: 400 !important;
        color: rgba(255,255,255,.7) !important;
    }

    /* ── Divider between nav groups ── */
    .site-nav.nav-open .nav-list > li.has-dropdown {
        border-bottom: 1px solid rgba(255,255,255,.08);
    }
    .site-nav.nav-open .nav-list > li.has-dropdown + li:not(.has-dropdown) {
        margin-top: 4px;
    }

    /* ── Favorites link ── */
    .site-nav.nav-open .nav-favorites {
        justify-content: flex-start;
        gap: 8px;
    }
    .site-nav.nav-open .nav-favorites svg {
        opacity: .6;
    }
}

/* ══════════════════════════════════════════════════════════
   COMPREHENSIVE RESPONSIVE FIXES
══════════════════════════════════════════════════════════ */

/* Quick links: 4-col → 3-col at tablet, 3-col at 480px stays same */
@media (max-width: 768px) {
    .quick-links-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .quick-link { padding: 20px 10px; font-size: 13px; }
}
@media (max-width: 480px) {
    .quick-links-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .quick-link { padding: 16px 8px; gap: 8px; }
    .quick-link svg { width: 18px; height: 18px; }
}

/* Price showcase: 3-col → 1-col stacked on mobile */
@media (max-width: 768px) {
    .showcase-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

/* Lifestyle grid: 4-col → 2-col at tablet → 1-col at mobile */
@media (max-width: 1024px) {
    .lifestyle-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .lifestyle-grid { grid-template-columns: 1fr; }
}

/* Why buy: 2-col → 1-col on mobile */
@media (max-width: 768px) {
    .why-buy-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* Services grid: 3-col → 2-col at 768 → 1-col at 480 */
@media (max-width: 768px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .services-grid { grid-template-columns: 1fr; }
}

/* Footer links: wrap to 2×2 grid on smaller screens */
@media (max-width: 768px) {
    .footer-links { flex-wrap: wrap; gap: 28px 40px; }
    .footer-col { min-width: 140px; }
}
@media (max-width: 480px) {
    .footer-inner { padding: 48px 20px 32px; }
    .footer-links { gap: 24px 32px; }
    .footer-bottom {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        text-align: center;
        padding: 16px 20px;
    }
}

/* About card: reduce padding on mobile */
@media (max-width: 640px) {
    .about-card { padding: 28px 24px; }
    .about-services-list { padding: 0 20px; }
    .about-contact-card { padding: 28px 20px; }
    .about-team { padding: 56px 0; }
}

/* Contact form card: reduce padding on mobile */
@media (max-width: 640px) {
    .contact-form-card { padding: 28px 20px; }
}

/* Services contact section: reduce padding on small screens */
@media (max-width: 480px) {
    .svc-contact-section { padding: 56px 16px; }
}

/* Properties filter bar: stack sensibly on mobile */
@media (max-width: 768px) {
    /* Un-stick the filter bar on mobile — takes up too much screen space when scrolling */
    .properties-filter {
        position: static;
        box-shadow: none;
    }
    .pf-bar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .pf-search {
        grid-column: 1 / -1;
        min-width: unset;
    }
    .pf-clear {
        grid-column: 1 / -1;
        justify-content: center;
    }
}
@media (max-width: 480px) {
    .pf-bar { grid-template-columns: 1fr; }
    .pf-select, .pf-clear { width: 100%; }
}

/* Single property layout: stack agent sidebar on mobile */
@media (max-width: 768px) {
    .enquiry-form__row { grid-template-columns: 1fr; }
    .enquiry-agent { flex-direction: column; align-items: flex-start; }
    .prop-features-grid { grid-template-columns: 1fr 1fr; }
    .stat { padding: 16px 18px; min-width: 100px; }
    .prop-tab-btn { padding: 10px 16px; font-size: 12px; }
}

/* Dashboard: stack stats on mobile */
@media (max-width: 768px) {
    .dash-stats-inner { grid-template-columns: repeat(2, 1fr); }
    .dash-inquiries-header { flex-direction: column; align-items: flex-start; gap: 8px; }
    .dash-header-inner { flex-direction: column; align-items: flex-start; }
    .dash-body { padding: 16px 16px 48px; }
    .dash-filters-inner { padding: 0 16px; }
    .dash-table { font-size: 13px; }
    /* Hide less important columns on mobile */
    .dash-cell--date, .dash-table thead th:nth-child(6) { display: none; }
}
@media (max-width: 480px) {
    .dash-stats-inner { grid-template-columns: 1fr 1fr; }
}

/* Hero subtitle: don't overflow on mobile */
@media (max-width: 640px) {
    .hero-subtitle { font-size: 16px; }
    .page-hero p { font-size: 16px; }
    .cta-banner h2 { font-size: 1.75rem; }
    .cta-banner p { font-size: 15px; }
    .section-inner--narrow { padding: 0 16px; }
    .section-inner { padding: 0 16px; }
}

/* Property card meta: prevent overflow on narrow cards */
@media (max-width: 480px) {
    .card-meta { flex-wrap: wrap; gap: 8px; }
    .card-price { font-size: 1.2rem; }
}

/* Step card: reduce padding on mobile */
@media (max-width: 640px) {
    .step-card { padding: 24px 20px; gap: 16px; }
    .step-icon { width: 44px; height: 44px; flex-shrink: 0; }
}

/* About team: already handled at 860/640 but add extra small fix */
@media (max-width: 480px) {
    .about-team { padding: 48px 0; }
    .about-team__header { margin-bottom: 36px; }
    .about-team__header h2 { font-size: 28px; }
}

/* Legal content: smaller padding on mobile */
@media (max-width: 640px) {
    .legal-page { padding: 48px 0 72px; }
    .legal-content h2 { font-size: 1.2rem; }
}

