﻿:root {
    --adr-blue: #075897;
    --adr-blue-dark: #044d85;
    --adr-blue-deep: #004f8f;
    --adr-red: #8f1c14;
    --adr-red-dark: #72140f;
    --adr-gold: #f5a400;
    --adr-ink: #2d3339;
    --adr-muted: #6f7781;
    --adr-soft: #f1f3f5;
    --adr-line: #d9dee5;
    --adr-white: #fff;
    --radius: 4px;
    --shadow: 0 12px 30px rgba(20, 43, 70, .16);
}

*,
*::before,
*::after { box-sizing: border-box; }

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    color: var(--adr-ink);
    background: #fff;
    font-size: 14px;
}

a { color: var(--adr-blue); text-decoration: none; }
a:hover { color: var(--adr-red); }
h1, h2, h3, h4, h5, h6 { font-family: Inter, Arial, sans-serif; font-weight: 700; letter-spacing: 0; }

.site-shell { min-height: 100vh; background: #fff; }
.container { max-width: 1180px; }

.brand-bar {
    background: #fff;
    padding: 10px 0;
    border-bottom: 1px solid #eef1f4;
}

.brand-bar-grid {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: nowrap;
}

.brand-logo { flex-shrink: 0; }
.brand-logo img {
    width: 220px;
    max-height: 58px;
    object-fit: contain;
    display: block;
}

.brand-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex: 1;
}

.brand-action {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 44px;
    padding: 0 16px;
    background: var(--adr-red);
    color: #fff;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 3px 8px rgba(0, 0, 0, .18);
    flex-shrink: 0;
}

.brand-action:hover { background: var(--adr-red-dark); color: #fff; }
.brand-action-blue { background: var(--adr-blue); }
.brand-action-blue:hover { background: var(--adr-blue-dark); }

/* Right side of brand bar */
.brand-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* Social icon buttons (dynamic, each keeps its brand colour) */
.brand-social-icons {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.brand-soc-btn {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    font-size: 13px;
    flex-shrink: 0;
    transition: opacity .15s, transform .15s;
    text-decoration: none;
}
.brand-soc-btn:hover { opacity: .82; transform: scale(1.1); }

/* Desktop currency picker (in brand-bar) */
.desktop-currency-wrap { margin-left: 6px; }
.currency-picker {
    border: 1px solid #b8c0ca;
    border-radius: 4px;
    padding: 3px 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--adr-blue-dark);
    background: #fff;
    cursor: pointer;
    outline: none;
    max-width: 90px;
}
.currency-picker:focus { border-color: var(--adr-blue); box-shadow: 0 0 0 2px rgba(7,88,151,.15); }

.account-link {
    font-size: 12px;
    font-weight: 800;
    color: var(--adr-red);
    text-transform: uppercase;
}

/* ============================================================
   MAIN NAVBAR (desktop)
   ============================================================ */
.main-navbar {
    background: var(--adr-blue);
    min-height: 46px;
    padding: 0;
    box-shadow: none;
    position: sticky;
    top: 0;
    z-index: 900;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Desktop logo (hidden; brand-bar has the real logo) */
.nav-mini-brand { display: none; }
.nav-mini-brand img { height: 36px; object-fit: contain; }

/* Desktop nav links */
.desktop-nav-links {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
}
.desktop-nav-links li a {
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 15px 13px;
    display: block;
    border-left: 1px solid rgba(255,255,255,.18);
    transition: background .15s;
    white-space: nowrap;
}
.desktop-nav-links li:last-child a { border-right: 1px solid rgba(255,255,255,.18); }
.desktop-nav-links li a:hover,
.desktop-nav-links li a.active { background: var(--adr-red); color: #fff; }

/* Hamburger (mobile only) */
.mob-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px; height: 40px;
    border: none; background: transparent;
    cursor: pointer; padding: 6px;
    border-radius: 6px;
    transition: background .15s;
}
.mob-hamburger:hover { background: rgba(0,0,0,.06); }
.mob-hamburger span {
    display: block; height: 2px; border-radius: 2px;
    background: var(--adr-ink);
    transition: transform .25s, opacity .2s;
}

/* ============================================================
   MOBILE SLIDE DRAWER
   ============================================================ */
.mob-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 1200;
    opacity: 0;
    transition: opacity .3s;
    backdrop-filter: blur(2px);
}
.mob-overlay.open { opacity: 1; }

.mob-drawer {
    position: fixed;
    top: 0; left: -320px;
    width: 300px;
    height: 100%;
    background: #fff;
    z-index: 1300;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    transition: left .32s cubic-bezier(.25,.46,.45,.94);
    box-shadow: 4px 0 30px rgba(0,0,0,.18);
}
.mob-drawer.open { left: 0; }

/* Drawer header */
.mob-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px 16px;
    border-bottom: 1px solid #eef1f4;
    background: #fff;
    position: sticky; top: 0;
    z-index: 2;
}
.mob-drawer-logo img { height: 52px; object-fit: contain; max-width: 180px; }
.mob-drawer-close {
    width: 40px; height: 40px;
    border: 1.5px solid #e0e5ec;
    border-radius: 50%;
    background: transparent;
    color: var(--adr-muted);
    font-size: 1.05rem;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all .15s;
    flex-shrink: 0;
}
.mob-drawer-close:hover { background: var(--adr-red); border-color: var(--adr-red); color: #fff; }

/* Drawer search */
.mob-drawer-search {
    padding: 14px 18px;
    border-bottom: 1px solid #eef1f4;
}
.mob-drawer-search form {
    display: flex; gap: 0;
    border: 1.5px solid #d0d8e4;
    border-radius: 8px;
    overflow: hidden;
    background: #f8fafc;
}
.mob-drawer-search input {
    flex: 1; border: none; background: transparent;
    padding: 11px 14px; font-size: .93rem;
    outline: none; color: var(--adr-ink);
}
.mob-drawer-search input::placeholder { color: #aaa; }
.mob-drawer-search button {
    width: 44px; border: none; background: var(--adr-blue);
    color: #fff; font-size: .9rem; cursor: pointer;
    transition: background .15s;
}
.mob-drawer-search button:hover { background: var(--adr-blue-dark); }

/* Drawer nav links */
.mob-drawer-nav {
    display: flex; flex-direction: column;
    padding: 6px 0;
    border-bottom: 1px solid #eef1f4;
    flex: 1;
}
.mob-drawer-nav a {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 22px;
    font-size: .95rem; font-weight: 600;
    color: var(--adr-ink);
    border-left: 3px solid transparent;
    transition: all .15s;
    text-decoration: none;
    min-height: 48px;      /* comfortable touch target */
}
.mob-drawer-nav a i {
    width: 20px; text-align: center;
    color: var(--adr-muted); font-size: .95rem;
    flex-shrink: 0;
}
.mob-drawer-nav a:hover { background: #f4f7fb; border-left-color: var(--adr-blue); color: var(--adr-blue); }
.mob-drawer-nav a:hover i,
.mob-drawer-nav a.active i { color: var(--adr-blue); }
.mob-drawer-nav a.active { border-left-color: var(--adr-red); color: var(--adr-red); background: #fff5f5; }
.mob-drawer-nav a.mob-cta-link { display: none; } /* Already in list above, this hides duplicate */

/* Drawer sections (currency, socials) */
.mob-drawer-section {
    padding: 18px 22px;
    border-top: 1px solid #eef1f4;
}
.mob-section-label {
    font-size: .76rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: .08em;
    color: var(--adr-muted); margin-bottom: 12px;
}

/* Mobile currency select */
.mob-currency-select {
    width: 100%;
    max-width: 100%;
    padding: 11px 14px;
    font-size: .93rem;
    border-radius: 8px;
}
.mob-currency-note {
    font-size: .74rem; color: var(--adr-muted);
    margin: 8px 0 0; line-height: 1.4;
}

/* Social row */
.mob-social-row { display: flex; gap: 12px; flex-wrap: wrap; }
.mob-social-btn {
    width: 44px; height: 44px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1rem;
    text-decoration: none;
    transition: transform .15s, opacity .15s;
}
.mob-social-btn:hover { transform: scale(1.1); opacity: .9; color: #fff; }
.mob-fb  { background: #1877f2; }
.mob-ig  { background: linear-gradient(135deg,#f58529,#dd2a7b,#8134af); }
.mob-tw  { background: #111; }
.mob-msg { background: var(--adr-blue); }

/* ============================================================
   HERO CAROUSEL
   ============================================================ */
.hero-showcase { background: #0a3a5e; overflow: hidden; }
.hero-carousel  { position: relative; }
.hero-carousel .carousel-inner { overflow: hidden; }

.hero-visual {
    min-height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
}
/* Dark tint over the whole slide */
.hero-visual::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,.05) 60%);
    pointer-events: none;
}

.hero-copy {
    position: relative;
    width: min(440px, 44vw);
    min-height: 500px;
    padding: 56px 48px;
    background: rgba(126, 77, 31, .92);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}

.hero-copy > p:first-child {
    text-transform: uppercase;
    letter-spacing: .28em;
    font-weight: 800;
    font-size: .78rem;
    margin-bottom: 16px;
    opacity: .85;
}

.hero-copy h1 {
    color: #fff;
    font-size: clamp(1.7rem, 3.2vw, 3rem);
    line-height: 1.1;
    margin-bottom: 14px;
}

.hero-sub {
    font-size: .95rem;
    color: rgba(255,255,255,.78);
    line-height: 1.55;
    margin-bottom: 28px !important;
    letter-spacing: 0;
    font-weight: 400;
}

.btn-hero {
    color: #fff;
    border: 2px solid rgba(255,255,255,.8);
    border-radius: 0;
    text-transform: uppercase;
    font-weight: 800;
    padding: 12px 24px;
    width: fit-content;
    font-size: .82rem;
    letter-spacing: .06em;
    transition: background .2s, color .2s;
}
.btn-hero:hover { background: #fff; color: #7e4d1f; }

/* Hero arrows */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,.18);
    border: 2px solid rgba(255,255,255,.5);
    color: #fff;
    font-size: 1rem;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: background .2s, border-color .2s;
    backdrop-filter: blur(4px);
}
.hero-arrow:hover { background: rgba(255,255,255,.36); border-color: #fff; }
.hero-arrow-prev { left: 20px; }
.hero-arrow-next { right: 20px; }

/* Hero dots */
.hero-dots {
    bottom: 18px !important;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex; gap: 7px;
}
.hero-dots button {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,.45);
    border: 2px solid rgba(255,255,255,.6);
    padding: 0;
    transition: background .2s, transform .2s;
}
.hero-dots button.active,
.hero-dots button:hover {
    background: #fff;
    transform: scale(1.25);
}

/* Slide fade transition */
.hero-carousel .carousel-item { transition: opacity .7s ease; }

/* ============================================================
   TESTIMONIALS CAROUSEL
   ============================================================ */
.testimonial-section {
    background: linear-gradient(135deg, #f0f5fc 0%, #e8eef6 100%);
    padding: 60px 0 70px;
}

.testimonial-header {
    display: grid;
    grid-template-columns: 60px 1fr 60px;
    align-items: center;
    text-align: center;
    margin-bottom: 40px;
}
.testi-icon-left, .testi-icon-right { color: var(--adr-blue); font-size: 2.4rem; opacity: .35; }
.testi-title {
    text-transform: uppercase;
    font-size: 1.5rem;
    color: var(--adr-blue-deep);
    margin: 0 0 6px;
}
.testi-sub { color: var(--adr-muted); font-size: .88rem; margin: 0; }

/* Carousel wrapper */
.testi-carousel { position: relative; padding-bottom: 52px; }

.testi-cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    padding: 0 60px;
}
/* Mobile single-card layout */
.testi-single {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
    padding: 0 12px;
}

/* Single testimonial card */
.testi-card {
    background: #fff;
    border-radius: 12px;
    padding: 28px 26px;
    box-shadow: 0 3px 18px rgba(7, 40, 80, .09);
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: box-shadow .2s, transform .2s;
}
.testi-card:hover { box-shadow: 0 8px 28px rgba(7,40,80,.15); transform: translateY(-3px); }

.testi-stars { display: flex; gap: 3px; }
.testi-stars i { color: #f5a400; font-size: .85rem; }

.testi-quote {
    font-size: .88rem;
    line-height: 1.72;
    color: #444;
    flex: 1;
    margin: 0;
    font-style: italic;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
}
.testi-avatar {
    width: 44px; height: 44px;
    min-width: 44px;
    border-radius: 50%;
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800;
    font-size: .9rem;
}
.testi-author strong { display: block; font-size: .88rem; color: var(--adr-ink); }
.testi-author span   { display: block; font-size: .78rem; color: var(--adr-muted); }

/* Testimonial arrows */
.testi-arrow {
    position: absolute;
    top: 38%;
    transform: translateY(-50%);
    z-index: 5;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--adr-line);
    color: var(--adr-blue);
    font-size: .95rem;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,.1);
    transition: background .2s, color .2s, box-shadow .2s;
}
.testi-arrow:hover { background: var(--adr-blue); color: #fff; box-shadow: 0 4px 14px rgba(7,88,151,.3); }
.testi-arrow-prev { left: 6px; }
.testi-arrow-next { right: 6px; }

/* Testimonial dots */
.testi-dots {
    bottom: 14px !important;
    position: absolute;
    left: 50%; transform: translateX(-50%);
    display: flex; gap: 8px;
}
.testi-dots button {
    width: 9px; height: 9px;
    border-radius: 50%;
    background: #c0cfe0;
    border: none; padding: 0;
    transition: background .2s, transform .2s;
}
.testi-dots button.active,
.testi-dots button:hover { background: var(--adr-blue); transform: scale(1.3); }

.quick-search {
    background: #efefef;
    padding: 22px 0;
}

.quick-search-form {
    display: grid;
    grid-template-columns: auto 1.3fr auto repeat(4, 1fr) 120px;
    gap: 10px;
    align-items: center;
}

.quick-search-form strong {
    text-transform: uppercase;
    font-size: 12px;
}

.quick-search-form span {
    color: var(--adr-red);
    text-transform: uppercase;
    font-size: 11px;
    text-align: center;
}

.quick-search-form input,
.quick-search-form select,
.quick-search-form button,
.newsletter-form input,
.inquire-form input,
.inquire-form select,
.inquire-form textarea {
    min-height: 34px;
    border: 1px solid var(--adr-line);
    border-radius: 0;
    background: #fff;
    padding: 7px 10px;
    font-size: 12px;
}

.quick-search-form button {
    background: var(--adr-blue);
    color: #fff;
    border-color: var(--adr-blue);
    text-transform: uppercase;
    font-weight: 800;
}

.welcome-section {
    padding: 42px 0;
}

.welcome-grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 52px;
    align-items: center;
}

.welcome-grid h2 {
    color: var(--adr-blue);
    font-size: 42px;
    line-height: 1.05;
    text-align: right;
    margin: 0;
}

.welcome-grid p {
    max-width: 720px;
    margin: 0 0 12px;
    font-size: 13px;
    line-height: 1.7;
}

/* .testimonial-strip replaced by .testimonial-section carousel above */

.action-band {
    background: var(--adr-blue-deep);
    padding: 0 0 34px;
    margin-bottom: 22px;
}

.action-panel {
    transform: translateY(-8px);
    margin: 0 auto;
    max-width: 760px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: #2b78bb;
    box-shadow: var(--shadow);
}

.action-panel a {
    min-height: 96px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    text-transform: uppercase;
    font-weight: 800;
    font-size: 13px;
    border-right: 1px solid rgba(255,255,255,.14);
}

.action-panel a:last-child { border-right: 0; }
.action-panel i { font-size: 28px; color: rgba(255,255,255,.85); }
.action-panel a:hover { background: #1f6cab; color: #fff; }

.category-section { padding: 22px 0 50px; }
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.category-tile {
    min-height: 145px;
    background: linear-gradient(rgba(0,0,0,.28), rgba(0,0,0,.38)), var(--bg) center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 8px solid #f0f0f0;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    font-weight: 800;
    transition: transform .2s;
}

.category-tile:hover { color: #fff; transform: translateY(-3px); }

.listing-section { padding: 28px 0 22px; }
.listing-section-alt { padding-top: 14px; }
.listing-heading {
    text-align: center;
    color: #555;
    text-transform: uppercase;
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 26px;
}
.listing-heading strong { color: #333; }

.property-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.property-card {
    background: #fff;
    border: 1px solid #d8d8d8;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    transition: box-shadow .2s, transform .2s;
}

.property-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0,0,0,.12);
}

.card-img-wrapper {
    display: block;
    height: 165px;
    position: relative;
    overflow: hidden;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.prop-badges {
    position: absolute;
    left: 10px;
    top: 10px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.prop-badge,
.listing-code-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(143, 28, 20, .92);
    color: #fff;
    padding: 4px 8px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.prop-badges .prop-badge {
    position: static;
}

.listing-code-tag {
    top: auto;
    left: auto;
    right: 0;
    bottom: 0;
    background: rgba(0, 79, 143, .92);
}

.property-card .card-body { padding: 12px; }
.property-price {
    color: var(--adr-red);
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 5px;
}

.property-title {
    color: #222;
    font-size: 13px;
    line-height: 1.35;
    min-height: 36px;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.property-title a { color: #222; }
.property-location {
    color: var(--adr-muted);
    display: flex;
    gap: 6px;
    align-items: center;
    font-size: 12px;
    margin-bottom: 12px;
}

.property-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--adr-muted);
    font-size: 12px;
    margin-bottom: 10px;
}

.view-more {
    display: block;
    width: 100%;
    background: #9b9b9b;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 800;
    padding: 8px;
}

.view-more:hover { background: var(--adr-blue); color: #fff; }

.inquire-section {
    padding: 70px 0 64px;
    text-align: center;
}

.inquire-section h2 {
    text-transform: uppercase;
    color: #555;
    font-size: 24px;
    margin-bottom: 28px;
}

.inquire-form {
    max-width: 420px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.inquire-form textarea {
    grid-column: 1 / -1;
    min-height: 86px;
    resize: vertical;
}

.inquire-form select,
.inquire-form button { grid-column: 1 / -1; }
.inquire-form button {
    justify-self: center;
    width: 110px;
    background: #8d8d8d;
    color: #fff;
    border: 3px solid #d7d7d7;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 800;
    padding: 8px;
}

.loan-banner {
    min-height: 300px;
    background:
        linear-gradient(90deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.76) 42%, rgba(255,255,255,.2) 100%),
        url('https://images.unsplash.com/photo-1560185007-c5ca9d2c014d?auto=format&fit=crop&w=1700&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
}

.loan-banner span {
    color: var(--adr-blue);
    font-size: 22px;
    font-weight: 800;
}

.loan-banner h2 {
    max-width: 470px;
    color: #315b7d;
    font-size: 30px;
    margin: 12px 0 24px;
}

.loan-banner a {
    display: inline-block;
    min-width: 310px;
    background: var(--adr-blue);
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 800;
    padding: 12px;
}

.newsletter-band {
    background: var(--adr-blue-deep);
    padding: 56px 0 36px;
    text-align: center;
    color: #fff;
}

.newsletter-band h2 {
    color: #fff;
    text-transform: uppercase;
    font-size: 27px;
    font-weight: 500;
    margin-bottom: 30px;
}

.newsletter-form {
    max-width: 780px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr) auto;
    gap: 12px;
}

.newsletter-form input {
    border-radius: 22px;
    min-height: 44px;
    padding: 0 22px;
}

.newsletter-form button {
    border: 0;
    border-radius: 22px;
    padding: 0 22px;
    background: #fff;
    color: #111;
    text-transform: uppercase;
    font-weight: 500;
}

.site-footer { background: var(--adr-blue-deep); color: #fff; }
.footer-main { padding: 26px 0 34px; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1.3fr;
    gap: 42px;
    max-width: 950px;
    margin: 0 auto;
}

.footer-brand {
    color: #fff;
    font-size: 18px;
    text-transform: uppercase;
}

.footer-main p,
.footer-links a,
.footer-contact li {
    color: rgba(255,255,255,.78);
    font-size: 12px;
    line-height: 1.6;
}

.footer-heading {
    color: #fff;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 12px;
}

.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li { margin-bottom: 6px; }
.footer-links a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 8px; }
.footer-contact i { color: #fff; width: 15px; margin-top: 4px; }

.social-links { display: flex; gap: 8px; margin-top: 14px; }
.social-btn {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.16);
    color: #fff;
}

.footer-bottom {
    text-align: center;
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.16);
}

.footer-bottom p {
    margin: 4px 0;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.footer-bottom strong { color: var(--adr-gold); }
.footer-bottom a { color: #fff; }

.floating-inquiry {
    position: fixed;
    right: 16px;
    bottom: 14px;
    z-index: 1000;
    background: var(--adr-red);
    color: #fff;
    border-radius: 20px;
    padding: 10px 18px;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 4px 16px rgba(0,0,0,.22);
}

.floating-inquiry:hover { color: #fff; background: var(--adr-red-dark); }

.page-header {
    background: linear-gradient(rgba(0,79,143,.9), rgba(0,79,143,.9)), url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    padding: 64px 0;
    color: #fff;
    text-align: center;
}

.page-header h1 {
    color: #fff;
    text-transform: uppercase;
    font-size: 34px;
    margin-bottom: 10px;
}

.page-header p {
    color: rgba(255,255,255,.82);
    max-width: 720px;
    margin: 0 auto 14px;
}

.breadcrumb { justify-content: center; }
.breadcrumb-item,
.breadcrumb-item.active,
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.74); }
.breadcrumb-item a { color: #fff; }

/* ── Utility colours ──────────────────────────────── */
.bg-navy  { background: var(--adr-blue) !important; }
.text-gold{ color: var(--adr-gold) !important; }
.text-navy{ color: var(--adr-blue) !important; }

.btn-primary,
.btn-outline-primary:hover { background: var(--adr-blue) !important; border-color: var(--adr-blue) !important; color: #fff !important; }
.btn-outline-primary { color: var(--adr-blue) !important; border-color: var(--adr-blue) !important; }
.btn-gold { background: var(--adr-red); color: #fff; border-color: var(--adr-red); }
.btn-gold:hover { background: var(--adr-red-dark); color: #fff; }

/* Bootstrap form override - round corners */
.form-control, .form-select {
    border-radius: 7px;
    border: 1.5px solid var(--adr-line);
    font-size: 13px;
}
.form-control:focus, .form-select:focus {
    border-color: var(--adr-blue);
    box-shadow: 0 0 0 3px rgba(0,79,143,.12);
}
.form-label { font-size: 12px; font-weight: 700; text-transform: uppercase; color: #555; }

/* ═══════════════════════════════════════════════════
   PROPERTIES PAGE LAYOUT
   ═══════════════════════════════════════════════════ */
.props-layout {
    background: #f5f7fb;
    padding: 36px 0 60px;
    min-height: 60vh;
}
.props-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 28px;
    align-items: start;
}

/* ── Filter Sidebar ── */
.props-filter-col { position: sticky; top: 70px; }

.filter-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e4eaf2;
    box-shadow: 0 4px 18px rgba(0,0,0,.07);
    overflow: hidden;
}
.filter-card-head {
    background: var(--adr-blue);
    color: #fff;
    padding: 14px 18px;
    font-size: .82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .07em;
    display: flex; align-items: center; justify-content: space-between;
}
.filter-clear-link {
    color: rgba(255,255,255,.78); font-size: .75rem;
    text-transform: none; letter-spacing: 0;
    text-decoration: underline;
}
.filter-clear-link:hover { color: #fff; }

.filter-form { padding: 18px; display: flex; flex-direction: column; gap: 16px; }

/* Form group */
.ff-group { display: flex; flex-direction: column; gap: 6px; }
.ff-label {
    font-size: .7rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: .07em; color: var(--adr-muted);
}

/* Input with icon */
.ff-input-icon { position: relative; }
.ff-input-icon i {
    position: absolute; left: 11px; top: 50%; transform: translateY(-50%);
    color: var(--adr-muted); font-size: .78rem; pointer-events: none;
}
.ff-input-icon .ff-input { padding-left: 30px; }

/* Text / number input */
.ff-input, .ff-select {
    width: 100%;
    border: 1.5px solid #d9e0eb;
    border-radius: 8px;
    padding: 9px 12px;
    font-size: .84rem;
    color: var(--adr-ink);
    background: #fff;
    outline: none;
    transition: border-color .18s, box-shadow .18s;
    font-family: inherit;
    appearance: none; -webkit-appearance: none;
}
.ff-input:focus, .ff-select:focus {
    border-color: var(--adr-blue);
    box-shadow: 0 0 0 3px rgba(7,88,151,.1);
}
.ff-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236f7781' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
    cursor: pointer;
}

/* Price range row */
.ff-price-row { display: flex; align-items: center; gap: 8px; }
.ff-price-row .ff-input { flex: 1; }
.ff-price-sep { color: var(--adr-muted); font-size: .85rem; flex-shrink: 0; }

/* Toggle pill group (radio buttons styled as pills) */
.ff-toggle-group {
    display: flex; flex-wrap: wrap; gap: 6px;
}
.ff-toggle {
    flex: 1; min-width: fit-content;
    display: flex; align-items: center; justify-content: center;
    padding: 7px 10px;
    border: 1.5px solid #d9e0eb;
    border-radius: 20px;
    font-size: .78rem; font-weight: 600;
    color: var(--adr-muted);
    cursor: pointer;
    transition: all .15s;
    white-space: nowrap;
    user-select: none;
}
.ff-toggle input { display: none; }
.ff-toggle:hover  { border-color: var(--adr-blue); color: var(--adr-blue); }
.ff-toggle.active { background: var(--adr-blue); border-color: var(--adr-blue); color: #fff; }

/* Submit / clear buttons */
.ff-submit {
    display: flex; align-items: center; justify-content: center;
    width: 100%; padding: 11px;
    background: var(--adr-red); color: #fff;
    border: none; border-radius: 8px;
    font-size: .86rem; font-weight: 700;
    cursor: pointer; transition: background .18s;
    text-decoration: none;
}
.ff-submit:hover { background: var(--adr-red-dark); color: #fff; }
.ff-clear {
    display: flex; align-items: center; justify-content: center;
    text-align: center; font-size: .78rem;
    color: var(--adr-muted); text-decoration: none;
    padding: 6px;
    transition: color .15s;
}
.ff-clear:hover { color: var(--adr-red); }

/* Quick links */
.filter-quick-links {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e4eaf2;
    padding: 16px 18px;
    margin-top: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
.fql-head {
    font-size: .7rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: .07em;
    color: var(--adr-muted); margin-bottom: 10px;
}
.filter-quick-links a {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 6px;
    font-size: .84rem; font-weight: 600; color: var(--adr-ink);
    border-radius: 6px;
    transition: background .15s, color .15s;
    text-decoration: none;
}
.filter-quick-links a i { width: 18px; text-align: center; color: var(--adr-muted); font-size: .82rem; }
.filter-quick-links a:hover { background: #f0f5ff; color: var(--adr-blue); }
.filter-quick-links a:hover i { color: var(--adr-blue); }

/* ── Results column ── */
.props-results-col { min-width: 0; }

.results-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
    padding: 12px 16px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e4eaf2;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.results-count { font-size: .9rem; color: var(--adr-ink); }
.results-query { color: var(--adr-muted); font-size: .82rem; margin-left: 6px; }
.sort-label { font-size: .78rem; font-weight: 700; color: var(--adr-muted); text-transform: uppercase; white-space: nowrap; }
.sort-select {
    border: 1.5px solid #d9e0eb; border-radius: 7px;
    padding: 6px 10px; font-size: .82rem; min-width: 170px;
    cursor: pointer; color: var(--adr-ink);
}
.sort-select:focus { border-color: var(--adr-blue); outline: none; }

/* Active filter tags */
.active-filter-tags {
    display: flex; flex-wrap: wrap; gap: 7px;
    margin-bottom: 16px;
}
.filter-tag {
    display: inline-flex; align-items: center; gap: 5px;
    background: #eef3ff; color: var(--adr-blue);
    border: 1px solid #c7d9f5;
    border-radius: 20px; padding: 4px 10px;
    font-size: .75rem; font-weight: 600;
}
.filter-tag a { color: var(--adr-blue); font-weight: 800; text-decoration: none; margin-left: 2px; }
.filter-tag a:hover { color: var(--adr-red); }

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

.prop-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e4eaf2;
    overflow: hidden;
    display: flex; flex-direction: column;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
    transition: box-shadow .22s, transform .22s;
}
.prop-card:hover { box-shadow: 0 10px 32px rgba(0,0,0,.13); transform: translateY(-4px); }

.prop-card-img-wrap {
    display: block; position: relative;
    height: 195px; overflow: hidden;
}
.prop-card-img-wrap img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .4s ease;
    display: block;
}
.prop-card:hover .prop-card-img-wrap img { transform: scale(1.04); }

/* Listing type badge */
.prop-type-badge {
    position: absolute; top: 10px; left: 10px;
    font-size: .68rem; font-weight: 800; text-transform: uppercase;
    padding: 4px 9px; border-radius: 4px; color: #fff;
    letter-spacing: .04em;
}
.badge-sale  { background: var(--adr-red); }
.badge-rent  { background: var(--adr-blue); }
.badge-lease { background: #2a7a4c; }

.prop-dto-badge {
    position: absolute; top: 10px; right: 10px;
    background: rgba(0,0,0,.62); color: #fff;
    font-size: .65rem; font-weight: 700;
    padding: 3px 8px; border-radius: 4px;
    text-transform: uppercase; letter-spacing: .04em;
}
.prop-code-tag {
    position: absolute; bottom: 0; right: 0;
    background: rgba(0,79,143,.88); color: #fff;
    font-size: .65rem; font-weight: 700;
    padding: 3px 9px; letter-spacing: .04em;
    text-transform: uppercase;
}

.prop-card-body { padding: 14px 14px 8px; flex: 1; }
.prop-price {
    font-size: .95rem; font-weight: 800;
    color: var(--adr-red); margin-bottom: 5px;
}
.prop-title {
    font-size: .88rem; font-weight: 700;
    color: var(--adr-ink); line-height: 1.35;
    margin: 0 0 7px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.prop-title a { color: inherit; text-decoration: none; }
.prop-title a:hover { color: var(--adr-blue); }
.prop-location {
    font-size: .78rem; color: var(--adr-muted);
    display: flex; align-items: center; gap: 5px;
    margin-bottom: 8px;
}
.prop-location i { color: var(--adr-gold); font-size: .72rem; flex-shrink: 0; }
.prop-meta {
    display: flex; flex-wrap: wrap; gap: 8px;
    padding-top: 8px; border-top: 1px solid #f0f0f0;
}
.prop-meta span {
    display: flex; align-items: center; gap: 4px;
    font-size: .75rem; color: var(--adr-muted);
}
.prop-meta i { color: var(--adr-gold); font-size: .72rem; }

.prop-card-footer { padding: 0 14px 14px; }
.prop-view-btn {
    display: flex; align-items: center; justify-content: center;
    width: 100%; padding: 9px;
    border: 1.5px solid var(--adr-blue); border-radius: 7px;
    color: var(--adr-blue); font-size: .8rem; font-weight: 700;
    text-decoration: none;
    transition: all .18s;
}
.prop-view-btn:hover { background: var(--adr-blue); color: #fff; }

/* Pagination */
.props-pagination {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 6px; margin-top: 32px;
}
.pag-btn {
    min-width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    border: 1.5px solid #d9e0eb; border-radius: 8px;
    font-size: .83rem; font-weight: 600;
    color: var(--adr-ink); text-decoration: none;
    transition: all .15s;
}
.pag-btn:hover { border-color: var(--adr-blue); color: var(--adr-blue); }
.pag-btn.active { background: var(--adr-blue); border-color: var(--adr-blue); color: #fff; }

/* Empty state */
.props-empty {
    text-align: center; padding: 60px 20px;
    background: #fff; border-radius: 12px;
    border: 1px dashed #d9e0eb;
}
.props-empty i { font-size: 3rem; color: #c8d3e0; display: block; margin-bottom: 16px; }
.props-empty h4 { color: var(--adr-ink); font-size: 1.1rem; margin-bottom: 8px; }
.props-empty p { color: var(--adr-muted); font-size: .88rem; margin-bottom: 20px; }

/* ── Mobile filter toggle bar ── */
.mob-filter-bar {
    background: #fff;
    border-bottom: 1px solid #e4eaf2;
    padding: 10px 0;
    position: sticky; top: 0; z-index: 80;
    box-shadow: 0 2px 6px rgba(0,0,0,.06);
}
.mob-filter-bar .container { display: flex; align-items: center; gap: 10px; }
.mob-filter-toggle {
    display: flex; align-items: center;
    background: var(--adr-blue); color: #fff;
    border: none; border-radius: 8px;
    padding: 9px 16px; font-size: .82rem; font-weight: 700;
    cursor: pointer; flex-shrink: 0;
    transition: background .15s;
}
.mob-filter-toggle:hover { background: var(--adr-blue-dark); }
.filter-count-badge {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--adr-red); color: #fff;
    border-radius: 50%; width: 18px; height: 18px;
    font-size: .68rem; font-weight: 800;
    margin-left: 6px;
}
.mob-result-count {
    font-size: .78rem; font-weight: 700; color: var(--adr-muted);
    margin-left: auto; white-space: nowrap;
}
.mob-sort-wrap { display: flex; align-items: center; gap: 5px; }
.mob-sort-label { font-size: .72rem; font-weight: 700; color: var(--adr-muted); white-space: nowrap; }
.mob-sort-select {
    border: 1.5px solid #d9e0eb; border-radius: 7px;
    padding: 6px 8px; font-size: .78rem; color: var(--adr-ink);
    background: #fff; cursor: pointer; max-width: 100px;
}

/* Sidebar agent avatar (small, in the right sidebar cards) */
.sidebar-agent-avatar {
    width: 52px; height: 52px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--adr-blue);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1.2rem;
    flex-shrink: 0;
    border: 2px solid #e4eaf2;
}

/* ── Property Detail - Agent Cards ─────────────────── */
.prop-agents-section {
    margin: 32px 0;
}
.prop-agents-title {
    font-size: 1.05rem; font-weight: 800; color: var(--adr-blue-deep);
    margin-bottom: 16px;
}
.prop-agents-grid {
    display: flex; flex-wrap: wrap; gap: 16px;
}
.prop-agent-card {
    display: flex; gap: 14px; align-items: flex-start;
    background: #fff; border: 1px solid #e4eaf2;
    border-radius: 12px; padding: 16px 18px;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
    flex: 1; min-width: 260px; max-width: 340px;
    transition: box-shadow .2s;
}
.prop-agent-card:hover { box-shadow: 0 5px 20px rgba(0,0,0,.11); }
.prop-agent-avatar {
    width: 58px; height: 58px; border-radius: 50%;
    overflow: hidden; flex-shrink: 0;
    background: var(--adr-blue); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1.3rem;
    position: relative; border: 2px solid #e4eaf2;
}
.prop-agent-avatar img { width: 100%; height: 100%; object-fit: cover; }
.prop-agent-lead-badge {
    position: absolute; bottom: -2px; right: -2px;
    width: 20px; height: 20px; border-radius: 50%;
    background: var(--adr-gold); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: .55rem; border: 2px solid #fff;
}
.prop-agent-info { flex: 1; min-width: 0; }
.prop-agent-name { font-size: .9rem; font-weight: 700; color: var(--adr-ink); margin-bottom: 2px; }
.prop-agent-position { font-size: .76rem; color: var(--adr-blue); font-weight: 600; margin-bottom: 3px; }
.prop-agent-spec, .prop-agent-exp { font-size: .75rem; color: var(--adr-muted); margin-bottom: 2px; }
.prop-agent-contacts { display: flex; flex-direction: column; gap: 4px; }
.prop-agent-contact-btn {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: .76rem; font-weight: 600; color: var(--adr-blue);
    text-decoration: none; transition: color .15s;
}
.prop-agent-contact-btn:hover { color: var(--adr-red); }
.prop-agent-contact-btn.email { color: var(--adr-muted); }
.prop-agent-contact-btn i { width: 12px; }
.prop-agent-socials { display: flex; gap: 6px; margin-top: 8px; }
.prop-agent-soc-btn {
    width: 26px; height: 26px; border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: .76rem; text-decoration: none;
    transition: opacity .15s;
}
.prop-agent-soc-btn:hover { opacity: .82; color: #fff; }
.prop-agent-soc-btn.fb { background: #1877f2; }
.prop-agent-soc-btn.ig { background: #e1306c; }

/* ── Property Video Tour (detail page) ────────────── */
.prop-video-section {
    margin: 32px 0;
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e4eaf2;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0,0,0,.07);
}
.prop-video-header {
    display: flex; align-items: center; gap: 14px;
    padding: 18px 22px;
    border-bottom: 1px solid #f0f4f8;
    background: #fafbfd;
}
.prop-video-yt-icon {
    font-size: 2.4rem; color: #ff0000; flex-shrink: 0;
}
.prop-video-title { font-size: 1.05rem; font-weight: 800; color: var(--adr-ink); margin: 0 0 2px; }
.prop-video-sub   { font-size: .8rem; color: var(--adr-muted); margin: 0; }

.prop-video-player { position: relative; background: #000; }

/* Thumbnail click-to-play overlay */
.prop-video-thumb {
    position: relative;
    width: 100%; padding-top: 56.25%; /* 16:9 */
    background-size: cover; background-position: center;
    cursor: pointer;
    overflow: hidden;
}
.prop-video-thumb::before {
    content: ''; position: absolute; inset: 0;
    background: rgba(0,0,0,.28);
    transition: background .2s;
}
.prop-video-thumb:hover::before { background: rgba(0,0,0,.38); }

.prop-video-play-btn {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    width: 72px; height: 72px;
    background: #ff0000; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 2rem;
    box-shadow: 0 6px 24px rgba(255,0,0,.45);
    transition: transform .2s, box-shadow .2s;
    z-index: 2;
}
.prop-video-thumb:hover .prop-video-play-btn {
    transform: translate(-50%,-50%) scale(1.1);
    box-shadow: 0 8px 30px rgba(255,0,0,.55);
}
.prop-video-label {
    position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
    background: rgba(0,0,0,.6); color: #fff;
    font-size: .75rem; font-weight: 700;
    padding: 4px 14px; border-radius: 20px;
    text-transform: uppercase; letter-spacing: .06em;
    z-index: 2;
}

/* Iframe wrapper (shown after click) */
.prop-video-iframe-wrap {
    position: relative; padding-top: 56.25%;
}
.prop-video-iframe-wrap iframe {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    border: none;
}

/* ── Video URL field (admin forms) ───────────────── */
.video-url-field { display: flex; flex-direction: column; gap: 7px; }
.video-url-input-wrap { position: relative; }
.video-url-input-wrap i {
    position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
    color: #ff0000; font-size: 1rem; pointer-events: none;
}
.video-url-input-wrap .form-control { padding-left: 36px; }
.video-preview-box {
    border-radius: 10px; overflow: hidden;
    border: 1px solid #e4eaf2;
    margin-top: 4px;
}
.video-preview-box iframe { display: block; width: 100%; height: 220px; border: none; }

/* ── Property Detail Gallery ─────────────────────── */
.property-gallery { position: relative; border-radius: 12px; overflow: hidden; }
.property-gallery #mainPropertyImage { border-radius: 12px; display: block; }

.gallery-no-photo-note {
    position: absolute; bottom: 12px; left: 12px;
    background: rgba(0,0,0,.55); color: rgba(255,255,255,.85);
    font-size: .72rem; padding: 5px 11px; border-radius: 20px;
    backdrop-filter: blur(4px);
}

.gallery-thumbs {
    display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px;
}
.gallery-thumbs img {
    width: 80px; height: 58px; object-fit: cover;
    border-radius: 6px; cursor: pointer;
    border: 2.5px solid transparent;
    opacity: .75; transition: opacity .18s, border-color .18s;
}
.gallery-thumbs img:hover { opacity: 1; }
.gallery-thumbs img.active { border-color: var(--adr-blue); opacity: 1; }

.empty-state {
    text-align: center;
    color: var(--adr-muted);
    padding: 40px 0;
}

.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--adr-blue) 0%, #163a5f 100%);
    padding: 24px;
}
.auth-card {
    background: #fff;
    width: 100%;
    max-width: 460px;
    box-shadow: var(--shadow);
}
.auth-header {
    background: var(--adr-blue);
    color: #fff;
    padding: 30px;
    text-align: center;
}
.auth-header .brand-name { color: #fff; font-size: 26px; font-weight: 800; }
.auth-body { padding: 30px; }

@media (max-width: 1100px) {
    .brand-actions { gap: 8px; }
    .brand-action span { display: none; }
    .brand-action { min-height: 38px; padding: 0 12px; }
    .quick-search-form { grid-template-columns: repeat(3, 1fr); }
    .quick-search-form strong,
    .quick-search-form span { display: none; }
    .property-row { grid-template-columns: repeat(3, 1fr); }
    .testi-cards-row { grid-template-columns: repeat(2, 1fr); padding: 0 50px; }
    /* Properties page */
    .props-grid { grid-template-columns: 240px 1fr; gap: 20px; }
    .props-cards-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

@media (max-width: 768px) {
    .brand-bar { display: none; }

    /* White navbar on mobile so logo is readable */
    .main-navbar { background: #fff !important; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
    .nav-container { padding: 8px 16px; }
    .nav-mini-brand { display: block; }
    .desktop-nav-links { display: none !important; }
    .mob-hamburger { display: flex; }
    .quick-search-form,
    .welcome-grid,
    .action-panel,
    .category-grid,
    .property-row,
    .newsletter-form,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .welcome-grid h2 { text-align: left; font-size: 34px; }
    .action-panel { transform: translateY(0); }
    .action-panel a { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
    .inquire-form { grid-template-columns: 1fr; }
    .loan-banner a { min-width: 0; width: 100%; }
    .results-toolbar { align-items: flex-start; flex-direction: column; }
    /* enlist responsive handled below after the enlist styles */

    /* Properties page mobile */
    .props-layout { padding: 16px 0 40px; }
    .props-grid { grid-template-columns: 1fr; }          /* single column */
    .props-filter-col {
        position: fixed; top: 0; left: 0; right: 0; bottom: 0;
        z-index: 500;
        overflow-y: auto;
        background: #fff;
        padding: 0;
        transform: translateY(-100%);
        transition: transform .32s cubic-bezier(.25,.46,.45,.94);
        display: block !important;    /* always in DOM */
    }
    .props-filter-col.mob-open {
        transform: translateY(0);
        box-shadow: 0 6px 30px rgba(0,0,0,.18);
    }
    .filter-quick-links { display: none; } /* hide on mobile */
    .props-cards-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .prop-card-img-wrap { height: 160px; }
    .results-toolbar { display: none !important; } /* replaced by mob-filter-bar */

    /* Hero carousel mobile — arrows move to bottom row, never overlap text */
    .hero-visual { min-height: 480px; justify-content: stretch; }
    /* Extra bottom padding reserves space for the bottom nav row */
    .hero-copy {
        width: 100%; min-height: 480px;
        background: rgba(126,77,31,.92);
        padding: 40px 24px 80px;
    }
    /* Take arrows out of vertical-centre and send them to the bottom */
    .hero-arrow {
        width: 36px; height: 36px; font-size: .8rem;
        top: auto !important;           /* override desktop top:50% */
        transform: none !important;     /* override desktop translateY(-50%) */
        bottom: 18px;
    }
    .hero-arrow-prev { left: 16px;  right: auto; }
    .hero-arrow-next { right: 16px; left: auto;  }
    /* Dots stay centred at the bottom, same row as arrows */
    .hero-dots { bottom: 24px !important; }

    /* Testimonials mobile */
    .testi-cards-row { grid-template-columns: 1fr; padding: 0 10px; }
    .testimonial-header { grid-template-columns: 40px 1fr 40px; }
    .testi-icon-left, .testi-icon-right { font-size: 1.6rem; }
    .testi-arrow-prev { left: 2px; }
    .testi-arrow-next { right: 2px; }
}

/* ============================================================
   ENLIST MY PROPERTY  (mobile-first)
   ============================================================ */

/* ── Hero ─────────────────────────────────────────────────── */
.enlist-hero {
    background: linear-gradient(135deg, var(--adr-blue-deep) 0%, var(--adr-blue) 55%, #1d6db8 100%);
    color: #fff;
    padding: 36px 0 28px;
    text-align: center;
}
.enlist-hero-inner { max-width: 780px; margin: 0 auto; padding: 0 16px; }
.enlist-hero-badge {
    display: inline-block;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.3);
    color: #fff;
    border-radius: 40px;
    padding: 5px 14px;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.enlist-hero-title {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 10px;
    color: #fff;
}
.enlist-hero-subtitle {
    font-size: .95rem;
    color: rgba(255,255,255,.82);
    margin: 0;
    font-style: italic;
}

/* ── Body ─────────────────────────────────────────────────── */
.enlist-body {
    padding: 0 0 48px;
    background: #f6f8fb;
}

/* Single-column by default (mobile) */
.enlist-grid {
    display: block;
    width: 100%;
}

/* Pitch panel: compact strip on mobile */
.enlist-pitch {
    background: #eef3fc;
    padding: 16px;
    width: 100%;
    box-sizing: border-box;
}
.pitch-accent { display: none; }
.enlist-pitch h2 {
    font-size: 1rem;
    margin: 0 0 4px;
    color: var(--adr-blue-deep);
}
.pitch-lead { font-size: .84rem; font-weight: 600; color: var(--adr-ink); margin-bottom: 2px; }
.enlist-pitch p { color: var(--adr-muted); line-height: 1.6; font-size: .84rem; margin: 0; }
.enlist-pitch > p:not(.pitch-lead) { display: none; }
.pitch-highlights { display: none; }

/* Form wrap */
.enlist-form-wrap {
    background: #fff;
    width: 100%;
    box-sizing: border-box;
    padding: 20px 16px;
    border-top: 1px solid #e4eaf2;
}
.enlist-form-header { margin-bottom: 20px; }
.enlist-form-header h3 { font-size: 1.05rem; color: var(--adr-blue-deep); margin-bottom: 5px; }
.enlist-form-header p  { color: var(--adr-muted); font-size: .84rem; margin: 0; }

/* ── Form elements ────────────────────────────────────────── */
.form-section-label {
    font-size: .7rem; font-weight: 800;
    letter-spacing: .08em; text-transform: uppercase;
    color: var(--adr-muted);
    border-bottom: 1px solid var(--adr-line);
    padding-bottom: 5px;
    margin: 20px 0 14px;
    display: flex; align-items: center; gap: 8px;
}
.form-section-label:first-child { margin-top: 0; }
.form-section-note { font-size: .68rem; font-weight: 400; text-transform: none; letter-spacing: 0; }

.enlist-field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.enlist-field label { font-size: .82rem; font-weight: 600; color: var(--adr-ink); }
.enlist-field .req { color: var(--adr-red); }
.enlist-field input[type="text"],
.enlist-field input[type="email"],
.enlist-field textarea,
.enlist-field select {
    border: 1.5px solid var(--adr-line);
    border-radius: 6px;
    padding: 10px 12px;
    font-size: .88rem;
    color: var(--adr-ink);
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
    font-family: inherit;
    width: 100%;
    box-sizing: border-box;
}
.enlist-field input:focus,
.enlist-field textarea:focus,
.enlist-field select:focus {
    outline: none;
    border-color: var(--adr-blue);
    box-shadow: 0 0 0 3px rgba(7,88,151,.1);
}
.enlist-field textarea { resize: vertical; min-height: 90px; }

/* Rows - single col on mobile */
.enlist-row { display: block; }
.enlist-row .enlist-field { margin-bottom: 14px; }

/* Choice buttons - stacked on mobile */
.choice-group { display: flex; flex-direction: column; gap: 8px; }
.choice-btn {
    display: flex; align-items: center; gap: 10px;
    border: 2px solid var(--adr-line);
    border-radius: 8px;
    padding: 11px 14px;
    font-size: .84rem; font-weight: 600;
    color: var(--adr-muted);
    cursor: pointer;
    transition: all .18s;
    user-select: none;
}
.choice-btn input { display: none; }
.choice-btn:hover  { border-color: var(--adr-blue); color: var(--adr-blue); }
.choice-btn.active { border-color: var(--adr-blue); background: var(--adr-blue); color: #fff; }

/* Upload */
.upload-note {
    background: #f0f5ff; border: 1px solid #c8d9ef;
    border-radius: 8px; padding: 12px 14px;
    display: flex; flex-direction: column; gap: 6px;
    font-size: .76rem; color: var(--adr-ink); margin-bottom: 12px;
}
.upload-note i { color: var(--adr-blue); font-size: .9rem; }
.upload-note ul { margin: 0; padding-left: 16px; }
.upload-note ul li { margin-bottom: 2px; }
.upload-note a { color: var(--adr-blue); font-weight: 600; }

.upload-slots { display: flex; flex-direction: column; gap: 6px; }
.upload-slot { border: 1.5px dashed var(--adr-line); border-radius: 8px; overflow: hidden; transition: border-color .2s; }
.upload-slot.has-file { border-color: var(--adr-blue); border-style: solid; }
.upload-slot-input { display: none; }
.upload-slot-label {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 12px; cursor: pointer; font-size: .8rem;
}
.upload-slot-label i { color: var(--adr-muted); font-size: .9rem; }
.slot-text { flex: 1; color: var(--adr-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .78rem; }
.upload-slot.has-file .slot-text { color: var(--adr-blue); font-weight: 600; }
.slot-change {
    background: var(--adr-soft); border: 1px solid var(--adr-line);
    border-radius: 4px; padding: 3px 8px;
    font-size: .72rem; font-weight: 600; color: var(--adr-ink); white-space: nowrap;
}
.upload-slot:hover .slot-change { background: var(--adr-blue); color: #fff; border-color: var(--adr-blue); }

/* Submit */
.enlist-submit-row { margin-top: 20px; }
.btn-enlist-submit {
    display: flex; align-items: center; justify-content: center;
    width: 100%; padding: 13px 24px;
    background: var(--adr-blue); color: #fff;
    border: none; border-radius: 8px;
    font-size: .9rem; font-weight: 700;
    cursor: pointer;
    transition: background .2s, transform .1s, box-shadow .2s;
    box-shadow: 0 4px 14px rgba(7,88,151,.3);
}
.btn-enlist-submit:hover   { background: var(--adr-blue-dark); box-shadow: 0 6px 20px rgba(7,88,151,.4); }
.btn-enlist-submit:active  { transform: scale(.98); }
.enlist-privacy { font-size: .76rem; color: var(--adr-muted); text-align: center; margin: 10px 0 0; }

/* Success */
.enlist-success-state { text-align: center; padding: 28px 12px; }
.success-icon { font-size: 3rem; color: #22a566; margin-bottom: 14px; }
.enlist-success-state h3 { font-size: 1.4rem; margin-bottom: 10px; }
.enlist-success-state p  { color: var(--adr-muted); line-height: 1.7; max-width: 420px; margin: 0 auto 20px; font-size: .88rem; }
.btn-enlist-primary {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--adr-blue); color: #fff;
    border-radius: 8px; padding: 11px 24px;
    font-weight: 700; font-size: .88rem; margin: 4px;
    transition: background .2s; text-decoration: none; width: 100%; box-sizing: border-box;
}
.btn-enlist-primary:hover { background: var(--adr-blue-dark); color: #fff; }
.btn-enlist-outline {
    display: inline-flex; align-items: center; justify-content: center;
    background: transparent; color: var(--adr-blue);
    border: 2px solid var(--adr-blue);
    border-radius: 8px; padding: 11px 24px;
    font-weight: 700; font-size: .88rem; margin: 4px;
    transition: all .2s; text-decoration: none; width: 100%; box-sizing: border-box;
}
.btn-enlist-outline:hover { background: var(--adr-blue); color: #fff; }

/* ── Tablet and up: show pitch panel + two-column layout ──── */
@media (min-width: 768px) {
    .enlist-hero   { padding: 56px 0 48px; }
    .enlist-hero-title   { font-size: 1.7rem; }
    .enlist-hero-badge   { font-size: .8rem; padding: 6px 18px; }
    .enlist-hero-subtitle{ font-size: 1.1rem; }
    .enlist-body   { padding: 40px 0 64px; }

    .enlist-pitch {
        background: #f0f5ff;
        padding: 24px 20px;
        border-bottom: 1px solid #d9e4f0;
    }
    .enlist-pitch h2   { font-size: 1.2rem; }
    .enlist-pitch > p:not(.pitch-lead) { display: block; font-size: .85rem; }
    .pitch-highlights {
        display: flex; flex-direction: row; flex-wrap: wrap;
        gap: 10px; margin-top: 14px;
    }
    .pitch-highlight-item {
        background: #fff; border-radius: 8px; padding: 10px 14px;
        flex: 1; min-width: 140px;
        display: flex; align-items: flex-start; gap: 12px;
        box-shadow: 0 1px 4px rgba(0,0,0,.06);
    }
    .pitch-highlight-item > i {
        width: 30px; height: 30px; min-width: 30px;
        background: var(--adr-blue); color: #fff;
        border-radius: 6px; display: flex; align-items: center; justify-content: center;
        font-size: .78rem; margin-top: 2px;
    }
    .pitch-highlight-item div { display: flex; flex-direction: column; }
    .pitch-highlight-item strong { font-size: .84rem; color: var(--adr-ink); }
    .pitch-highlight-item span   { font-size: .76rem; color: var(--adr-muted); margin-top: 2px; }

    .enlist-form-wrap {
        padding: 28px 24px;
        border-top: none;
    }
    .enlist-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
    .enlist-row .enlist-field { margin-bottom: 0; }
    .choice-group  { flex-direction: row; gap: 10px; }
    .upload-note   { flex-direction: row; gap: 12px; }
}

/* ── Desktop: proper two-column side-by-side ──────────────── */
@media (min-width: 992px) {
    .enlist-hero-title { font-size: 2rem; }
    .enlist-body { padding: 56px 0 80px; }

    .enlist-grid {
        display: grid;
        grid-template-columns: 360px 1fr;
        gap: 40px;
        align-items: start;
    }

    .enlist-pitch {
        position: sticky; top: 80px;
        background: #fff;
        border-radius: 10px;
        border-bottom: none;
        box-shadow: 0 4px 22px rgba(20,43,70,.09);
        padding: 36px 28px;
        display: block;
    }
    .pitch-accent {
        display: flex;
        width: 48px; height: 48px;
        background: var(--adr-gold); color: #fff;
        border-radius: 50%;
        align-items: center; justify-content: center;
        font-size: 1.2rem; margin-bottom: 18px;
    }
    .enlist-pitch h2 { font-size: 1.55rem; margin-bottom: 10px; }
    .pitch-lead { font-size: 1rem; }
    .enlist-pitch > p:not(.pitch-lead) { display: block; font-size: .88rem; }
    .pitch-highlights {
        flex-direction: column; margin-top: 24px; gap: 14px;
    }
    .pitch-highlight-item { min-width: unset; box-shadow: none; padding: 0; background: transparent; border-radius: 0; }
    .pitch-highlight-item > i { width: 36px; height: 36px; font-size: .88rem; }
    .pitch-highlight-item strong { font-size: .9rem; }

    .enlist-form-wrap {
        border-radius: 10px;
        box-shadow: 0 4px 22px rgba(20,43,70,.09);
        padding: 40px;
    }
    .enlist-form-header h3 { font-size: 1.25rem; }
    .choice-group { gap: 10px; }
}

/* Extra small phones - single column cards */
@media (max-width: 420px) {
    .props-cards-grid { grid-template-columns: 1fr; }
    .prop-card-img-wrap { height: 200px; }
    .mob-filter-bar .container { flex-wrap: wrap; gap: 8px; }
    .mob-result-count { margin-left: 0; width: 100%; text-align: center; }
}

