/* ============================================
   AIREALENT — STYLESHEET
   Real Estate in Abuja, Nigeria
   Author: Akhabue E. Victor
   Mobile First
   ============================================ */

/* === CSS VARIABLES === */
:root {
    --bg:         #F7F6F2;
    --bg-card:    #EFEEE9;
    --bg-dark:    #1A1A1A;
    --text:       #111111;
    --text-sub:   #4A4A4A;
    --text-muted: #888888;
    --text-light: #F7F6F2;
    --border:     #E0DED8;
    --accent:     #C9A96E;
    --accent-dk:  #A8833F;
    --transition: 0.35s ease;
    --radius:     4px;
    --max-w:      1200px;
    --px:         clamp(1.25rem, 5vw, 4.5rem);
}

/* === RESET === */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Sora', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
    line-height: 1.15;
    font-weight: 600;
    color: var(--text);
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }

p {
    color: var(--text-sub);
    line-height: 1.8;
}

/* === LAYOUT === */
.container {
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--px);
}

.section {
    padding: 5rem 0;
}

/* ============================================
   HEADER AND NAVIGATION
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: var(--bg);
    border-bottom: 1px solid var(--border);
    transition: box-shadow var(--transition);
}

.site-header.scrolled {
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.06);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem var(--px);
    max-width: var(--max-w);
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex-shrink: 0;
    z-index: 101;
}

.logo-main {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1;
    letter-spacing: 0.04em;
}

.logo-sub {
    font-size: 0.58rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--accent);
    font-family: 'Sora', sans-serif;
    font-weight: 500;
}

.nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg);
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    z-index: 99;
}

.nav-links.open {
    display: flex;
}

.nav-links a {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 500;
    color: var(--text-sub);
    position: relative;
    padding-bottom: 4px;
    transition: color var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text);
}

.nav-links a.active::after,
.nav-links a:hover::after {
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 101;
}

.nav-cta {
    display: none;
    padding: 0.6rem 1.4rem;
    background-color: var(--text);
    color: var(--text-light);
    font-family: 'Sora', sans-serif;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    border-radius: var(--radius);
    transition: background-color var(--transition),
                color var(--transition);
}

.nav-cta:hover {
    background-color: var(--accent);
}

.nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--text-sub);
    transition: color var(--transition);
    z-index: 101;
    flex-shrink: 0;
}

.nav-toggle:hover {
    color: var(--text);
}

/* Show hamburger by default, hide X */
.nav-toggle .icon-hamburger { display: block; }
.nav-toggle .icon-close     { display: none;  }

/* When open: hide hamburger, show X */
.nav-toggle.open .icon-hamburger { display: none;  }
.nav-toggle.open .icon-close     { display: block; }

/* ============================================
   MAIN CONTENT OFFSET AND PAGE REVEAL
   ============================================ */
main {
    padding-top: 65px;
}

.page-index main,
.page-listings main,
.page-property-detail main,
.page-contact main {
    animation: pageReveal 0.5s ease forwards;
}

@keyframes pageReveal {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   SCROLL FADE UP
   ============================================ */
.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   SECTION LABELS AND TITLES
   ============================================ */
.section-label {
    font-size: 0.65rem;
    letter-spacing: 0.38em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.65rem;
    font-family: 'Sora', sans-serif;
    font-weight: 500;
}

.section-title {
    margin-bottom: 3rem;
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2.75rem;
}

.section-header .section-title {
    margin-bottom: 0;
}

.link-text {
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
    padding-bottom: 2px;
    white-space: nowrap;
    transition: color var(--transition), border-color var(--transition);
    font-family: 'Sora', sans-serif;
}

.link-text:hover {
    color: var(--text);
    border-color: var(--text);
}

/* ============================================
   BUTTONS
   ============================================ */
a.btn-primary,
.btn-primary {
    display: inline-block;
    padding: 0.85rem 2rem;
    background-color: var(--text);
    color: var(--text-light);
    font-family: 'Sora', sans-serif;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border: 1px solid var(--text);
    border-radius: var(--radius);
    cursor: pointer;
    transition: background-color var(--transition),
                color var(--transition),
                border-color var(--transition);
}

a.btn-primary:hover,
.btn-primary:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--text-light);
}

a.btn-secondary,
.btn-secondary {
    display: inline-block;
    padding: 0.85rem 2rem;
    background-color: transparent;
    color: var(--text);
    font-family: 'Sora', sans-serif;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: background-color var(--transition),
                color var(--transition),
                border-color var(--transition);
}

a.btn-secondary:hover,
.btn-secondary:hover {
    border-color: var(--text);
    color: var(--text);
}

/* View All Properties button */
.listings-cta {
    text-align: center;
    margin-top: 3.5rem;
}

a.btn-view-all {
    display: inline-block;
    padding: 1.1rem 3.5rem;
    background-color: var(--accent);
    color: #fff;
    font-family: 'Sora', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    border: 2px solid var(--accent);
    border-radius: var(--radius);
    cursor: pointer;
    transition: background-color var(--transition),
                color var(--transition),
                border-color var(--transition),
                transform var(--transition),
                box-shadow var(--transition);
    box-shadow: 0 4px 24px rgba(201, 169, 110, 0.25);
}

a.btn-view-all:hover {
    background-color: transparent;
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(201, 169, 110, 0.35);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: calc(100vh - 65px);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-image: url('/airealent/assets/images/hero-bg.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.65) 0%,
        rgba(0, 0, 0, 0.45) 60%,
        rgba(0, 0, 0, 0.75) 100%
    );
    z-index: 0;
}

.hero-inner {
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 5rem var(--px);
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 720px;
    margin-bottom: 4rem;
}

.hero-label {
    font-size: 0.65rem;
    letter-spacing: 0.38em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-family: 'Sora', sans-serif;
    font-weight: 500;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.hero-title {
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: #FFFFFF;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.hero-bio {
    font-size: 1rem;
    max-width: 58ch;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.82);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero .btn-primary {
    background-color: var(--accent);
    border-color: var(--accent);
}

.hero .btn-primary:hover {
    background-color: var(--accent-dk);
    border-color: var(--accent-dk);
}

.hero .btn-secondary {
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.45);
}

.hero .btn-secondary:hover {
    border-color: #FFFFFF;
    color: #FFFFFF;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-num {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #FFFFFF;
    line-height: 1;
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.65rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Sora', sans-serif;
}

/* ============================================
   SEARCH SECTION
   ============================================ */
.search-section {
    padding: 2.5rem 0;
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border);
}

.search-box {
    background-color: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem 2rem;
}

.search-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.search-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex: 1;
}

.search-field label {
    font-size: 0.62rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-family: 'Sora', sans-serif;
}

.search-field input,
.search-field select {
    background-color: var(--bg-card);
    border: 1.5px solid var(--border);
    color: var(--text);
    font-family: 'Sora', sans-serif;
    font-size: 0.875rem;
    padding: 0.75rem 1rem;
    outline: none;
    border-radius: var(--radius);
    transition: border-color var(--transition);
    -webkit-appearance: none;
    appearance: none;
}

.search-field select {
    padding-right: 2.5rem;
    cursor: pointer;
}

.search-field input {
    padding-left: 2.5rem;
}

.search-field input:hover,
.search-field select:hover {
    border-color: var(--accent);
}

.search-field input:focus,
.search-field select:focus {
    border-color: var(--accent);
}

/* Search icon wrapper — position relative for icon placement */
.search-field-location {
    position: relative;
}

.search-field-location .search-icon {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--accent);
    display: flex;
    align-items: center;
}

/* Select wrapper — custom chevron */
.select-wrap {
    position: relative;
    width: 100%;
    display: block;
}

.select-wrap select {
    width: 100%;
    padding-right: 2.5rem;
    cursor: pointer;
}

.select-chevron {
    position: absolute;
    right: 0.85rem;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    pointer-events: none;
    z-index: 2;
}

.search-btn {
    padding: 0.85rem 2rem;
    background-color: var(--accent);
    color: var(--text-light);
    font-family: 'Sora', sans-serif;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border-radius: var(--radius);
    cursor: pointer;
    border: 1px solid var(--accent);
    transition: background-color var(--transition),
                border-color var(--transition);
    align-self: flex-end;
}

.search-btn:hover {
    background-color: var(--accent-dk);
    border-color: var(--accent-dk);
}

/* ============================================
   LISTINGS GRID
   ============================================ */
.listings-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

/* ============================================
   LISTING CARD
   ============================================ */
.listing-card {
    background-color: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color var(--transition),
                box-shadow var(--transition);
}

.listing-card:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.listing-img {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: var(--bg-card);
    overflow: hidden;
}

.listing-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.listing-card:hover .listing-img img {
    transform: scale(1.04);
}

.listing-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-card);
}

.listing-img-placeholder span {
    font-size: 0.62rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-family: 'Sora', sans-serif;
}

.listing-status {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 0.58rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    padding: 0.3rem 0.75rem;
    border-radius: 2px;
}

.status-sale {
    background-color: var(--text);
    color: var(--text-light);
}

.status-rent {
    background-color: var(--accent);
    color: var(--text-light);
}

.listing-info {
    padding: 1.5rem;
}

.listing-type {
    font-size: 0.62rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.5rem;
    font-family: 'Sora', sans-serif;
    font-weight: 500;
}

.listing-title {
    margin-bottom: 0.4rem;
    font-size: clamp(1rem, 2vw, 1.25rem);
}

.listing-location {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    font-family: 'Sora', sans-serif;
}

.listing-price {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.85rem;
}

.listing-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
}

.listing-details span {
    font-size: 0.75rem;
    color: var(--text-sub);
    font-family: 'Sora', sans-serif;
}

.listing-link {
    display: inline-block;
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text);
    border-bottom: 1px solid var(--text);
    padding-bottom: 2px;
    font-family: 'Sora', sans-serif;
    font-weight: 500;
    transition: color var(--transition), border-color var(--transition);
}

.listing-link:hover {
    color: var(--accent);
    border-color: var(--accent);
}

/* ============================================
   LISTINGS PAGE INTRO
   ============================================ */
.listings-page-intro {
    padding: 3.5rem 0 3rem;
    max-width: 60ch;
}

.listings-page-intro p {
    font-size: 0.975rem;
    margin-top: 0.5rem;
}

/* ============================================
   LISTINGS FILTER
   ============================================ */
.listings-filter {
    margin-bottom: 3rem;
    padding: 1.75rem 2rem;
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.filter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.filter-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex: 1;
}

.filter-field label {
    font-size: 0.62rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-family: 'Sora', sans-serif;
}

.filter-field input,
.filter-field select {
    background-color: var(--bg);
    border: 1.5px solid var(--border);
    color: var(--text);
    font-family: 'Sora', sans-serif;
    font-size: 0.875rem;
    padding: 0.75rem 1rem;
    outline: none;
    border-radius: var(--radius);
    transition: border-color var(--transition);
    -webkit-appearance: none;
    appearance: none;
}

.filter-field select {
    padding-right: 2.5rem;
    cursor: pointer;
}

.filter-field input:hover,
.filter-field select:hover {
    border-color: var(--accent);
}

.filter-field input:focus,
.filter-field select:focus {
    border-color: var(--accent);
}

.filter-btn {
    padding: 0.85rem 2rem;
    background-color: var(--text);
    color: var(--text-light);
    font-family: 'Sora', sans-serif;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border-radius: var(--radius);
    cursor: pointer;
    border: 1px solid var(--text);
    transition: background-color var(--transition),
                border-color var(--transition);
    align-self: flex-end;
}

.filter-btn:hover {
    background-color: var(--accent);
    border-color: var(--accent);
}

.filter-clear {
    font-size: 0.65rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
    padding-bottom: 2px;
    align-self: flex-end;
    font-family: 'Sora', sans-serif;
    transition: color var(--transition);
}

.filter-clear:hover {
    color: var(--text);
}

/* ============================================
   LISTINGS TOOLBAR — COUNT + SORT
   ============================================ */
.listings-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1.1rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 2.5rem;
}

.listings-count {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.listings-count-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1;
}

.listings-count-label {
    font-size: 0.65rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-family: 'Sora', sans-serif;
    font-weight: 500;
}

.listings-count-filtered {
    font-size: 0.7rem;
    color: var(--accent);
    font-family: 'Sora', sans-serif;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.listings-sort-form {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.listings-sort-label {
    font-size: 0.62rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-family: 'Sora', sans-serif;
    white-space: nowrap;
}

.listings-sort-select {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text);
    font-family: 'Sora', sans-serif;
    font-size: 0.75rem;
    padding: 0.5rem 2.25rem 0.5rem 0.85rem;
    border-radius: var(--radius);
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23888888' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.7rem center;
    transition: border-color var(--transition);
}

.listings-sort-select:hover {
    border-color: var(--text);
}

.listings-sort-select:focus {
    border-color: var(--accent);
}

.listings-empty {
    padding: 4rem 0;
    text-align: center;
}

.listings-empty p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.listings-empty a {
    color: var(--accent);
    border-bottom: 1px solid var(--accent);
    padding-bottom: 1px;
}

/* ============================================
   ABOUT SECTION — HOMEPAGE
   ============================================ */
.about-section {
    background-color: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.5rem;
    align-items: center;
}

.about-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    background-color: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg);
}

.about-img-placeholder span {
    font-size: 0.62rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-family: 'Sora', sans-serif;
}

.about-content .section-title {
    margin-bottom: 1.5rem;
}

.about-content p {
    font-size: 0.95rem;
}

.about-content p + p {
    margin-top: 1rem;
}

.about-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 2.5rem;
    border-top: 1px solid var(--border);
}

.about-stat {
    display: flex;
    flex-direction: column;
    padding: 1.25rem 1.5rem 1.25rem 0;
    min-width: 100px;
    border-right: 1px solid var(--border);
    margin-right: 1.5rem;
}

.about-stat:last-child {
    border-right: none;
    margin-right: 0;
}

.about-stat-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1;
    margin-bottom: 0.4rem;
}

.about-stat-label {
    font-size: 0.6rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-family: 'Sora', sans-serif;
    font-weight: 500;
}

/* ============================================
   WHY SECTION — HOMEPAGE
   ============================================ */
.why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5px;
    background-color: var(--border);
    border: 1px solid var(--border);
}

.why-card {
    background-color: var(--bg);
    padding: 2.5rem 2rem;
    transition: background-color var(--transition);
}

.why-card:hover {
    background-color: var(--bg-card);
}

.why-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 1.25rem;
    opacity: 0.6;
}

.why-title {
    margin-bottom: 0.75rem;
    font-size: clamp(1rem, 2vw, 1.2rem);
}

.why-desc {
    font-size: 0.9rem;
    color: var(--text-sub);
}

/* ============================================
   CTA SECTION — HOMEPAGE
   ============================================ */
.cta-section {
    padding: 5rem 0;
    background-color: var(--bg-dark);
}

.cta-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--px);
    text-align: center;
}

.cta-section .section-label {
    color: var(--accent);
}

.cta-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 1.25rem;
}

.cta-desc {
    font-size: 0.95rem;
    color: #888888;
    max-width: 55ch;
    margin: 0 auto 2.5rem;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn-primary {
    background-color: var(--accent);
    border-color: var(--accent);
}

.cta-section .btn-primary:hover {
    background-color: var(--accent-dk);
    border-color: var(--accent-dk);
}

.cta-section .btn-secondary {
    color: var(--text-light);
    border-color: #444444;
}

.cta-section .btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ============================================
   PROPERTY GALLERY
   ============================================ */
.property-gallery {
    display: flex;
    flex-direction: row;
    gap: 0;
    width: 100%;
    margin-bottom: 4rem;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    max-height: 520px;
}

/* === SIDEBAR THUMBS — left column, desktop only === */
.gallery-sidebar {
    display: none; /* hidden on mobile */
    flex-direction: column;
    width: 100px;
    flex-shrink: 0;
    overflow-y: auto;
    overflow-x: hidden;
    background-color: var(--bg-card);
    gap: 3px;
    padding: 3px;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}

.gallery-sidebar::-webkit-scrollbar {
    width: 3px;
}

.gallery-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.gallery-sidebar::-webkit-scrollbar-thumb {
    background-color: var(--border);
    border-radius: 2px;
}

.gallery-thumb {
    flex-shrink: 0;
    width: 100%;
    height: 72px;
    overflow: hidden;
    cursor: pointer;
    border-radius: 2px;
    border: 2px solid transparent;
    transition: border-color var(--transition), opacity var(--transition);
    opacity: 0.6;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-thumb:hover {
    opacity: 1;
}

.gallery-thumb.active {
    border-color: var(--accent);
    opacity: 1;
}

/* === MAIN IMAGE === */
.gallery-main {
    flex: 1;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-card);
    min-height: 280px;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: opacity 0.3s ease;
}

.gallery-main img.switching {
    opacity: 0;
}

/* === ARROWS — visible on mobile, hidden on desktop === */
.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.45);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background-color var(--transition);
}

.gallery-arrow:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.gallery-arrow-prev { left: 0.75rem; }
.gallery-arrow-next { right: 0.75rem; }

/* === COUNTER — visible on mobile only === */
.gallery-counter {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-family: 'Sora', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    padding: 3px 8px;
    border-radius: 20px;
}

/* Mobile: arrows + counter visible, sidebar hidden */
@media (max-width: 767px) {
    .property-gallery {
        max-height: none;
    }

    .gallery-sidebar {
        display: none !important;
    }

    .gallery-arrow,
    .gallery-counter {
        display: flex;
    }

    .gallery-main {
        min-height: 240px;
        aspect-ratio: 4 / 3;
    }
}

/* Desktop: sidebar visible, arrows + counter hidden */
@media (min-width: 768px) {
    .gallery-sidebar {
        display: flex;
    }

    .gallery-arrow,
    .gallery-counter {
        display: none;
    }

    .gallery-main {
        aspect-ratio: unset;
    }
}

/* ============================================
   PROPERTY DETAIL PAGE
   ============================================ */
.detail-back {
    display: inline-block;
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
    font-family: 'Sora', sans-serif;
    transition: color var(--transition), border-color var(--transition);
}

.detail-back:hover {
    color: var(--text);
    border-color: var(--border);
}

.detail-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.detail-title {
    margin-top: 0.4rem;
    margin-bottom: 0.5rem;
}

.detail-price {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--accent);
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 3rem;
}

.detail-meta-label {
    font-size: 0.6rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
    font-family: 'Sora', sans-serif;
}

.detail-meta-value {
    font-size: 0.9rem;
    color: var(--text);
    font-weight: 500;
    font-family: 'Sora', sans-serif;
}

.detail-hero {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 4rem;
}

.detail-hero img {
    width: 100%;
    height: auto;
    display: block;
}

.detail-hero-placeholder {
    width: 100%;
    aspect-ratio: 16 / 7;
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4rem;
}

.detail-hero-placeholder span {
    font-size: 0.65rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-family: 'Sora', sans-serif;
}

.detail-body {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: start;
}

.detail-section {
    margin-bottom: 3.5rem;
}

.detail-section:last-child {
    margin-bottom: 0;
}

.detail-section-title {
    margin-bottom: 1.25rem;
    font-size: clamp(1.2rem, 2.5vw, 1.7rem);
}

.detail-section p {
    font-size: 0.95rem;
}

.detail-section p + p {
    margin-top: 1rem;
}

.detail-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.detail-features li {
    font-size: 0.9rem;
    color: var(--text-sub);
    padding-left: 1.25rem;
    position: relative;
    line-height: 1.7;
    font-family: 'Sora', sans-serif;
}

.detail-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 5px;
    height: 5px;
    background-color: var(--accent);
    border-radius: 50%;
}

.detail-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 0.5rem;
}

.detail-gallery-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.detail-gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

.detail-sidebar-box {
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 1.25rem;
    background-color: var(--bg);
}

.detail-sidebar-box:last-child {
    margin-bottom: 0;
}

.sidebar-price {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--accent);
    margin-top: 0.5rem;
}

.sidebar-agent {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
    font-family: 'Sora', sans-serif;
}

.sidebar-contact-link {
    display: block;
    font-size: 0.85rem;
    color: var(--text-sub);
    font-family: 'Sora', sans-serif;
    margin-bottom: 0.35rem;
    transition: color var(--transition);
}

.sidebar-contact-link:hover {
    color: var(--accent);
}

/* ============================================
   WHATSAPP BUTTON
   ============================================ */
.btn-whatsapp {
    display: block;
    width: 100%;
    padding: 0.85rem 1.5rem;
    background-color: #25D366;
    color: #FFFFFF;
    font-family: 'Sora', sans-serif;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-align: center;
    border-radius: var(--radius);
    margin-top: 1.25rem;
    transition: background-color var(--transition);
}

.btn-whatsapp:hover {
    background-color: #1da851;
    color: #FFFFFF;
}

/* ============================================
   SCHEDULE A TOUR FORM
   ============================================ */
.tour-form .form-group {
    margin-bottom: 1.25rem;
}

.tour-type-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.tour-type-option {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
    font-family: 'Sora', sans-serif;
    font-size: 0.85rem;
    color: var(--text-sub);
    transition: color var(--transition);
}

.tour-type-option input[type="radio"] {
    width: 16px;
    height: 16px;
    accent-color: var(--accent);
    cursor: pointer;
    flex-shrink: 0;
}

.tour-type-option:hover {
    color: var(--text);
}

.tour-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

/* ============================================
   ENQUIRY FORM
   ============================================ */
.enquiry-form .form-group {
    margin-bottom: 1rem;
}

/* ============================================
   DETAIL NAVIGATION
   ============================================ */
.detail-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 3rem;
    margin-top: 3rem;
    border-top: 1px solid var(--border);
    gap: 1.5rem;
    flex-wrap: wrap;
}

.detail-nav-link {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    max-width: 45%;
}

.detail-nav-next {
    text-align: right;
    margin-left: auto;
}

.detail-nav-label {
    font-size: 0.6rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-family: 'Sora', sans-serif;
}

.detail-nav-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-sub);
    font-family: 'Sora', sans-serif;
    transition: color var(--transition);
}

.detail-nav-link:hover .detail-nav-title {
    color: var(--accent);
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-page-intro {
    padding: 3.5rem 0 3rem;
    max-width: 58ch;
}

.contact-page-intro p {
    font-size: 0.975rem;
    margin-top: 0.5rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info-block {
    display: flex;
    flex-direction: column;
}

.contact-info-item {
    padding: 1.4rem 0;
    border-bottom: 1px solid var(--border);
}

.contact-info-item:first-child {
    padding-top: 0;
}

.contact-info-label {
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
    font-family: 'Sora', sans-serif;
}

.contact-info-value {
    font-size: 0.9rem;
    color: var(--text-sub);
    display: block;
    font-family: 'Sora', sans-serif;
    transition: color var(--transition);
}

a.contact-info-value:hover {
    color: var(--accent);
}

/* ============================================
   FORM ELEMENTS
   ============================================ */
.form-group {
    margin-bottom: 1.4rem;
}

.form-group label {
    display: block;
    font-size: 0.62rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-family: 'Sora', sans-serif;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text);
    font-family: 'Sora', sans-serif;
    font-size: 0.875rem;
    padding: 0.85rem 1rem;
    outline: none;
    border-radius: var(--radius);
    transition: border-color var(--transition),
                background-color var(--transition);
    -webkit-appearance: none;
    appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

.form-group select option {
    background-color: var(--bg);
    color: var(--text);
}

.alert {
    padding: 0.95rem 1.2rem;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    border: 1px solid;
    border-radius: var(--radius);
    font-family: 'Sora', sans-serif;
}

.alert-success {
    border-color: #2a7a4a;
    color: #2a7a4a;
    background-color: rgba(42, 122, 74, 0.05);
}

.alert-error {
    border-color: #aa3333;
    color: #aa3333;
    background-color: rgba(170, 51, 51, 0.05);
}

/* ============================================
   FOOTER SOCIAL ICONS
   ============================================ */
.footer-social {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-top: 1.25rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666666;
    transition: color var(--transition);
}

.footer-social a:hover {
    color: var(--accent);
}

/* ============================================
   MAP SECTION — CONTACT PAGE
   ============================================ */
.map-section {
    padding: 4rem 0;
    border-top: 1px solid var(--border);
}

.map-intro {
    max-width: 52ch;
    margin-bottom: 2rem;
}

.map-intro p {
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

.map-container {
    width: 100%;
    height: 420px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    display: block;
}

/* ============================================
   OFFICE SECTION — HOMEPAGE
   ============================================ */
.office-section {
    background-color: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.office-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
}

.office-info .section-title {
    margin-bottom: 2rem;
}

.office-details {
    display: flex;
    flex-direction: column;
}

.office-detail-item {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.office-detail-item:first-child {
    padding-top: 0;
}

.office-map {
    width: 100%;
    height: 420px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}

.office-map iframe {
    width: 100%;
    height: 100%;
    display: block;
}

/* About page intro */
.about-page-intro {
    padding: 3.5rem 0 3rem;
    max-width: 65ch;
}

.about-page-intro p {
    font-size: 0.975rem;
    margin-top: 0.5rem;
}

/* ============================================
   AGENT PAGE
   ============================================ */
.agent-header-section {
    padding-bottom: 0;
}

.agent-header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}

.agent-photo {
    width: 100%;
    max-width: 340px;
    aspect-ratio: 3 / 4;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}

.agent-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.agent-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--text);
    line-height: 1.1;
    margin-bottom: 0.4rem;
}

.agent-title-role {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-family: 'Sora', sans-serif;
}

.agent-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.agent-tag {
    font-size: 0.6rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    border: 1px solid var(--accent);
    padding: 0.3rem 0.75rem;
    border-radius: 2px;
    font-family: 'Sora', sans-serif;
    font-weight: 500;
}

.agent-response {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.agent-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* === STATS BAR === */
.agent-stats-bar {
    background-color: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 2.5rem 0;
    margin: 3rem 0 0;
}

.agent-stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--px);
}

.agent-stat-heading {
    font-size: 0.62rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--accent);
    font-family: 'Sora', sans-serif;
    font-weight: 500;
    margin-bottom: 1rem;
}

.agent-bar-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.6rem;
}

.agent-bar-label {
    font-size: 0.75rem;
    color: var(--text-sub);
    font-family: 'Sora', sans-serif;
    min-width: 90px;
}

.agent-bar-track {
    flex: 1;
    height: 4px;
    background-color: var(--border);
    border-radius: 2px;
    overflow: hidden;
}

.agent-bar-fill {
    height: 100%;
    background-color: var(--accent);
    border-radius: 2px;
}

.agent-bar-pct {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text);
    font-family: 'Sora', sans-serif;
    min-width: 36px;
    text-align: right;
}

/* === BIO GRID === */
.agent-bio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.agent-bio-grid p {
    font-size: 0.95rem;
}

.agent-bio-grid p + p {
    margin-top: 1rem;
}

/* === RESULTS === */
.agent-results {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.agent-result-item {
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border);
}

.agent-result-item:first-of-type {
    padding-top: 0;
    border-top: 1px solid var(--border);
}

.agent-result-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.4rem;
}

.agent-result-text {
    font-size: 0.85rem;
    color: var(--text-sub);
    line-height: 1.6;
}

/* === AREAS GRID === */
.agent-areas-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5px;
    background-color: var(--border);
    border: 1px solid var(--border);
}

.agent-area-card {
    background-color: var(--bg-card);
    padding: 1.75rem 1.5rem;
    transition: background-color var(--transition);
}

.agent-area-card:hover {
    background-color: var(--bg);
}

.agent-area-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.agent-area-desc {
    font-size: 0.85rem;
    color: var(--text-sub);
    line-height: 1.7;
}

/* === HOW I WORK STEPS === */
.agent-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.agent-step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    transition: background-color var(--transition);
}

.agent-step:last-child {
    border-bottom: none;
}

.agent-step:hover {
    background-color: var(--bg-card);
}

.agent-step-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--accent);
    opacity: 0.7;
    line-height: 1;
    flex-shrink: 0;
    min-width: 2.5rem;
}

.agent-step-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.4rem;
    font-family: 'Sora', sans-serif;
}

.agent-step-desc {
    font-size: 0.875rem;
    color: var(--text-sub);
    line-height: 1.7;
}

/* === WHY VERIFIED === */
.agent-verified-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.agent-verified-grid p {
    font-size: 0.95rem;
}

.agent-verified-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.agent-verified-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.agent-verified-item:first-child {
    border-top: 1px solid var(--border);
}

.agent-verified-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent);
    flex-shrink: 0;
    margin-top: 0.45rem;
}

.agent-verified-item p {
    font-size: 0.875rem;
    color: var(--text-sub);
    line-height: 1.6;
}

/* === CTA CONTACT BLOCK === */
.agent-contact-block {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 2rem;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    overflow: hidden;
}

.agent-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    flex-wrap: wrap;
}

.agent-contact-row:last-child {
    border-bottom: none;
}

.agent-contact-value {
    font-size: 0.9rem;
    color: rgba(247,246,242,0.9);
    font-family: 'Sora', sans-serif;
    transition: color var(--transition);
}

a.agent-contact-value:hover {
    color: var(--accent);
}

/* === ABOUT PAGE AGENT STRIP === */
.about-agent-strip {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
    padding: 2.5rem;
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.about-agent-photo {
    width: 100%;
    max-width: 240px;
    aspect-ratio: 3 / 4;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}

.about-agent-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-agent-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.about-agent-role {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-family: 'Sora', sans-serif;
}

.about-agent-bio {
    font-size: 0.9rem;
    color: var(--text-sub);
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

.about-agent-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.about-agent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* ============================================
   FLOATING WHATSAPP BUTTON
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 1.75rem;
    right: 1.75rem;
    width: 56px;
    height: 56px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float:hover {
    transform: translateY(-3px) scale(1.06);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
}

/* ============================================
   FOOTER SECTION
   ============================================ */
.site-footer {
    background-color: var(--bg-dark);
    padding: 5rem var(--px) 2.5rem;
    margin-top: 0;
}

.footer-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.footer-brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-light);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.footer-brand-sub {
    font-size: 0.58rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--accent);
    font-family: 'Sora', sans-serif;
    font-weight: 500;
    margin-bottom: 1.25rem;
}

.footer-about {
    font-size: 0.875rem;
    color: #888888;
    line-height: 1.75;
    max-width: 32ch;
}

.footer-label {
    font-size: 0.6rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.1rem;
    font-family: 'Sora', sans-serif;
    font-weight: 500;
}

.footer-col nav {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-col nav a {
    font-size: 0.875rem;
    color: #888888;
    font-family: 'Sora', sans-serif;
    transition: color var(--transition);
}

.footer-col nav a:hover {
    color: var(--text-light);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-contact p,
.footer-contact a {
    font-size: 0.875rem;
    color: #888888;
    font-family: 'Sora', sans-serif;
    transition: color var(--transition);
}

.footer-contact a:hover {
    color: var(--text-light);
}

.footer-bottom {
    max-width: var(--max-w);
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid #2A2A2A;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.72rem;
    color: #555555;
    font-family: 'Sora', sans-serif;
}

.footer-credit {
    font-size: 0.68rem;
    color: #444444;
    font-family: 'Sora', sans-serif;
}

.footer-credit a {
    color: var(--accent);
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition);
}

.footer-credit a:hover {
    border-color: var(--accent);
}

/* ============================================
   TABLET — 768px AND UP
   ============================================ */
@media (min-width: 768px) {

    .nav-toggle {
        display: none;
    }

    .nav-cta {
        display: inline-block;
    }

    .nav-links {
        display: flex;
        flex-direction: row;
        position: static;
        background: none;
        gap: 2.25rem;
    }

    .nav-links a {
        font-family: 'Sora', sans-serif;
        font-size: 0.82rem;
        font-weight: 400;
        letter-spacing: 0.04em;
    }

    .search-form {
        flex-direction: row;
        align-items: flex-end;
    }

    .filter-form {
        flex-direction: row;
        align-items: flex-end;
    }

    .listings-grid {
        grid-template-columns: 1fr 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr 1fr;
    }

    .office-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }

    .agent-header {
        grid-template-columns: 280px 1fr;
    }

    .agent-stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .agent-bio-grid {
        grid-template-columns: 1fr 1fr;
    }

    .agent-areas-grid {
        grid-template-columns: 1fr 1fr;
    }

    .agent-verified-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-agent-strip {
        grid-template-columns: 200px 1fr;
    }

    .detail-gallery {
        grid-template-columns: 1fr 1fr;
    }

    .tour-row {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .footer-inner {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* ============================================
   DESKTOP — 1024px AND UP
   ============================================ */
@media (min-width: 1024px) {

    .listings-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .why-grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .detail-body {
        grid-template-columns: 7fr 3fr;
    }

    .contact-grid {
        grid-template-columns: 3fr 2fr;
    }

    .agent-areas-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}