/*
Theme Name: Verse Home Realty
Theme URI: https://verserealty.com
Author: Verse Home Realty Ltd
Author URI: https://verserealty.com
Description: A premium luxury real estate theme for Verse Home Realty Ltd. Features elegant typography, sophisticated color palette, and modern design patterns.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: verse-theme
Tags: real-estate, luxury, one-column, custom-menu, featured-images
*/

/* ═══════════════ RESET & BASE ═══════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --color-primary: #000b20;
  --color-on-primary: #ffffff;
  --color-primary-container: #0d223f;
  --color-on-primary-container: #778aac;
  --color-secondary: #775a19;
  --color-on-secondary: #ffffff;
  --color-secondary-container: #fed488;
  --color-background: #f9f9fc;
  --color-surface: #f9f9fc;
  --color-surface-container-low: #f3f3f6;
  --color-surface-container-lowest: #ffffff;
  --color-surface-container: #eeeef0;
  --color-on-surface: #1a1c1e;
  --color-on-surface-variant: #44474d;
  --color-outline: #74777e;
  --color-outline-variant: #c4c6ce;
  --color-error: #ba1a1a;
  --font-headline: 'Newsreader', serif;
  --font-body: 'Manrope', sans-serif;
  --font-label: 'Manrope', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background-color: var(--color-background);
  color: var(--color-on-surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, .serif { font-family: var(--font-headline); }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
input, select, textarea, button { font-family: inherit; }
::selection { background: rgba(119, 90, 25, 0.3); }

/* ═══════════════ UTILITY CLASSES ═══════════════ */
.container { max-width: 1536px; margin: 0 auto; padding: 0 2rem; }
.container-xl { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }

.section-padding { padding: 6rem 1.5rem; }
.section-padding-lg { padding: 8rem 1.5rem; }

.font-label { font-family: var(--font-label); }
.font-serif { font-family: var(--font-headline); }

.uppercase { text-transform: uppercase; }
.tracking-wide { letter-spacing: 0.05em; }
.tracking-wider { letter-spacing: 0.1em; }
.tracking-widest { letter-spacing: 0.15em; }
.tracking-ultra { letter-spacing: 0.4em; }

.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }
.text-on-primary { color: var(--color-on-primary); }
.text-on-primary-container { color: var(--color-on-primary-container); }
.text-on-surface-variant { color: var(--color-on-surface-variant); }
.text-outline { color: var(--color-outline); }
.text-white { color: #fff; }
.text-amber-500 { color: #f59e0b; }

.bg-primary { background-color: var(--color-primary); }
.bg-surface { background-color: var(--color-surface); }
.bg-surface-low { background-color: var(--color-surface-container-low); }
.bg-surface-lowest { background-color: var(--color-surface-container-lowest); }
.bg-secondary-container { background-color: var(--color-secondary-container); }

/* ═══════════════ NAVIGATION ═══════════════ */
.site-nav {
  position: fixed; top: 0; width: 100%; z-index: 50;
  background: rgba(249, 249, 252, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(196, 198, 206, 0.2);
}
.site-nav .nav-inner {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 2rem; max-width: 1536px; margin: 0 auto;
}
.site-logo {
  font-family: var(--font-headline); font-size: 1.25rem; font-weight: 700;
  letter-spacing: -0.025em; color: #0f172a;
}
.desktop-nav { display: flex; align-items: center; gap: 2rem; }
.desktop-nav a {
  font-family: var(--font-label); font-size: 0.875rem; color: #64748b;
  transition: color 0.3s;
}
.desktop-nav a:hover, .desktop-nav a.active {
  color: #b45309;
}
.desktop-nav a.active { border-bottom: 2px solid rgba(180, 83, 9, 0.5); padding-bottom: 4px; }

.nav-cta {
  background: var(--color-primary); color: var(--color-on-primary);
  padding: 0.625rem 1.5rem; font-family: var(--font-label);
  font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase;
  border: none; cursor: pointer; transition: opacity 0.3s;
}
.nav-cta:hover { opacity: 0.9; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 6px; padding: 8px; background: none; border: none; cursor: pointer; }
.hamburger span { width: 24px; height: 2px; background: #0f172a; transition: all 0.3s; }

/* Mobile menu */
.mobile-menu {
  display: none; flex-direction: column; padding: 1.5rem;
  background: var(--color-surface); border-top: 1px solid rgba(196, 198, 206, 0.2);
  gap: 1.25rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-family: var(--font-label); color: #64748b; font-size: 0.875rem; }
.mobile-menu a.active { color: #0f172a; font-weight: 600; }

@media (max-width: 768px) {
  .desktop-nav { display: none !important; }
  .nav-cta-wrap .nav-cta { display: none; }
  .hamburger { display: flex; }
  .site-logo { font-size: 1.125rem; }
}

/* ═══════════════ HERO SECTION ═══════════════ */
.hero {
  position: relative; min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; padding-top: 5rem; padding: 5rem 1.5rem 0;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.7); }
.hero-bg .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0, 11, 32, 0.4), var(--color-background));
}
.hero-content {
  position: relative; z-index: 10; text-align: center; max-width: 56rem; margin: 0 auto;
}
.hero-tag {
  font-family: var(--font-label); text-transform: uppercase; letter-spacing: 0.4em;
  color: rgba(255, 255, 255, 0.8); margin-bottom: 1.5rem; display: block; font-size: 0.875rem;
}
.hero h1 {
  font-size: clamp(2.5rem, 8vw, 6rem); color: #fff; margin-bottom: 3rem;
  line-height: 1.05; font-weight: 400;
}

/* Search bar */
.search-bar {
  background: rgba(249, 249, 252, 0.9); backdrop-filter: blur(20px);
  padding: 0.5rem; display: flex; flex-direction: column; gap: 0.5rem;
  width: 100%; max-width: 48rem; margin: 0 auto; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}
.search-input-wrap {
  display: flex; align-items: center; padding: 0.75rem 1rem;
  background: var(--color-surface-container-low); flex: 1;
}
.search-input-wrap .material-symbols-outlined { color: var(--color-outline); margin-right: 0.75rem; }
.search-input-wrap input, .search-input-wrap select {
  background: transparent; border: none; outline: none; width: 100%;
  font-family: var(--font-label); color: var(--color-on-surface); font-size: 0.875rem;
}
.search-row { display: flex; gap: 0.5rem; }
.search-select-wrap { display: flex; align-items: center; padding: 0.75rem 1rem; background: var(--color-surface-container-low); min-width: 140px; }
.search-select-wrap select { -webkit-appearance: none; appearance: none; }
.search-btn {
  background: var(--color-secondary); color: var(--color-on-secondary);
  padding: 0.75rem 2rem; font-family: var(--font-label); letter-spacing: 0.15em;
  text-transform: uppercase; border: none; cursor: pointer; transition: opacity 0.3s;
  display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem;
}
.search-btn:hover { opacity: 0.9; }
.scroll-cue {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%); z-index: 10;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}
@media (min-width: 769px) {
  .search-bar { flex-direction: row; }
}

/* ═══════════════ STATS SECTION ═══════════════ */
.stats-section { padding: 6rem 1.5rem; background: var(--color-surface); }
.stats-inner {
  max-width: 1536px; margin: 0 auto; display: flex;
  flex-direction: column; gap: 4rem; align-items: flex-end;
}
.stats-text { width: 100%; }
.stats-text h2 { font-size: clamp(1.75rem, 4vw, 3rem); margin-bottom: 2rem; line-height: 1.2; }
.stats-text p { color: var(--color-on-surface-variant); line-height: 1.7; margin-bottom: 2rem; }
.stats-link {
  display: inline-flex; align-items: center; gap: 1rem;
  color: var(--color-primary); font-family: var(--font-label);
  letter-spacing: 0.15em; text-transform: uppercase; font-size: 0.75rem;
  border-bottom: 1px solid var(--color-primary); padding-bottom: 4px;
}
.stats-link .material-symbols-outlined { transition: transform 0.3s; }
.stats-link:hover .material-symbols-outlined { transform: translateX(4px); }

.stats-grid {
  width: 100%; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px;
  background: rgba(196, 198, 206, 0.2);
}
.stat-card {
  padding: 2rem; text-align: center; display: flex; flex-direction: column;
  justify-content: center; min-height: 180px;
}
.stat-card:nth-child(odd) { background: var(--color-surface); }
.stat-card:nth-child(even) { background: var(--color-surface-container-low); }
.stat-value { font-family: var(--font-headline); font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0.5rem; }
.stat-value.gold { color: var(--color-secondary); }
.stat-value.dark { color: var(--color-primary); }
.stat-label {
  font-family: var(--font-label); font-size: 0.625rem;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--color-outline);
}

@media (min-width: 769px) {
  .stats-inner { flex-direction: row; }
  .stats-text { width: 33.333%; }
  .stats-grid { width: 66.666%; grid-template-columns: repeat(3, 1fr); }
  .stat-card { padding: 3rem; min-height: 240px; }
}

/* ═══════════════ CURATED LISTINGS ═══════════════ */
.listings-section { padding: 6rem 1.5rem; background: var(--color-surface-container-low); }
.listings-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 4rem; max-width: 1536px; margin-left: auto; margin-right: auto; margin-bottom: 4rem;
}
.listings-header h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.5rem; }
.listings-header p { color: var(--color-on-surface-variant); max-width: 32rem; }
.view-all-link {
  font-family: var(--font-label); font-size: 0.75rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--color-primary);
  border-bottom: 2px solid var(--color-secondary); padding-bottom: 0.5rem;
  display: none;
}

.listings-grid {
  max-width: 1536px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
}
.listing-card {
  background: var(--color-surface-container-lowest); overflow: hidden; cursor: pointer;
  transition: box-shadow 0.3s;
}
.listing-card:hover { box-shadow: 0 20px 60px -10px rgba(0, 11, 32, 0.15); }
.listing-card .card-img { overflow: hidden; }
.listing-card .card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s; aspect-ratio: 16/10;
}
.listing-card:hover .card-img img { transform: scale(1.05); }
.listing-card .card-body { padding: 2rem; }
.listing-tag {
  font-family: var(--font-label); font-size: 0.625rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--color-secondary); margin-bottom: 0.75rem; display: block;
}
.listing-card h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.listing-meta {
  display: flex; gap: 1.5rem; color: var(--color-outline);
  font-family: var(--font-label); font-size: 0.75rem; text-transform: uppercase;
}
.listing-price { font-family: var(--font-headline); font-size: 1.25rem; color: var(--color-primary); }

.featured-badge {
  position: absolute; top: 1.5rem; left: 1.5rem; z-index: 5;
  background: var(--color-secondary); color: var(--color-on-secondary);
  padding: 0.375rem 1rem; font-family: var(--font-label); font-size: 0.625rem;
  letter-spacing: 0.15em; text-transform: uppercase;
}

@media (min-width: 769px) {
  .listings-grid { grid-template-columns: 8fr 4fr; gap: 2rem; }
  .listing-card.featured { grid-row: span 1; }
  .listings-side { display: flex; flex-direction: column; gap: 2rem; }
  .listings-side .listing-card .card-img img { aspect-ratio: 1/1; }
  .view-all-link { display: block; }
  .listing-card .card-body { padding: 2rem 3rem; }
}

/* ═══════════════ GLOBAL MAP SECTION ═══════════════ */
.map-section {
  position: relative; padding: 6rem 0; background: #020617; overflow: hidden;
  min-height: 560px;
}
.map-bg {
  position: absolute; inset: 0; opacity: 0.6;
  background-color: #0d0f11;
  background-image: radial-gradient(circle at 2px 2px, #1e2226 1px, transparent 0);
  background-size: 40px 40px;
}
.map-content { position: relative; z-index: 10; max-width: 1536px; margin: 0 auto; padding: 0 1.5rem; }
.map-tag {
  font-family: var(--font-label); color: var(--color-secondary); font-size: 0.625rem;
  letter-spacing: 0.5em; text-transform: uppercase; margin-bottom: 1.5rem; display: block;
}
.map-section h2 { font-size: clamp(2rem, 4vw, 3rem); color: #fff; margin-bottom: 2rem; }
.map-section p { color: #94a3b8; line-height: 1.7; max-width: 36rem; }

/* Markers */
@keyframes pulse-ring {
  0% { transform: scale(0.33); }
  80%, 100% { opacity: 0; }
}
.marker {
  position: absolute; cursor: pointer;
}
.marker-dot {
  width: 16px; height: 16px; background: var(--color-secondary);
  border-radius: 50%; box-shadow: 0 0 20px rgba(119, 90, 25, 0.8);
  position: relative;
}
.marker-dot::before {
  content: ''; position: absolute; left: -8px; top: -8px;
  width: 32px; height: 32px; background: var(--color-secondary);
  border-radius: 50%; animation: pulse-ring 2s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite;
}
.marker-tooltip {
  position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%);
  margin-bottom: 1rem; background: rgba(249, 249, 252, 0.1);
  backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem; width: 12rem; opacity: 0; transition: opacity 0.3s;
  pointer-events: none;
}
.marker:hover .marker-tooltip { opacity: 1; }
.marker-tooltip .region {
  font-family: var(--font-label); color: var(--color-secondary);
  font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 4px;
}
.marker-tooltip .city { font-family: var(--font-headline); color: #fff; font-size: 1.125rem; }
.marker-tooltip .count { color: #94a3b8; font-size: 0.75rem; margin-top: 0.5rem; }

.market-cards { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 10rem; }
.market-card {
  background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1); padding: 1.5rem;
  display: flex; align-items: center; gap: 1.5rem;
}
.market-card .city-name .label { color: #64748b; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; }
.market-card .city-name .name { color: #fff; font-family: var(--font-headline); font-size: 1.25rem; }
.market-card .divider { height: 3rem; width: 1px; background: rgba(255, 255, 255, 0.1); }
.market-card .yield .value { font-family: var(--font-label); font-size: 0.875rem; }
.market-card .yield .label { color: #94a3b8; font-size: 10px; text-transform: uppercase; }
.yield-green { color: #22c55e; }
.yield-amber { color: #f59e0b; }

/* ═══════════════ PHILOSOPHY SECTION ═══════════════ */
.philosophy-section {
  padding: 8rem 1.5rem; background: var(--color-primary); overflow: hidden; position: relative;
}
.philosophy-bg {
  position: absolute; right: 0; top: 0; width: 33%; height: 100%; opacity: 0.2;
  pointer-events: none;
}
.philosophy-bg img { width: 100%; height: 100%; object-fit: cover; }
.philosophy-content {
  max-width: 1280px; margin: 0 auto; position: relative; z-index: 10;
}
.philosophy-tag {
  font-family: var(--font-label); color: var(--color-secondary);
  font-size: 0.625rem; letter-spacing: 0.5em; text-transform: uppercase;
  margin-bottom: 2.5rem; display: block;
}
.philosophy-section h2 {
  font-size: clamp(2rem, 5vw, 4.5rem); color: #fff;
  margin-bottom: 3rem; line-height: 1.1; max-width: 42rem;
}
.philosophy-section .description {
  color: var(--color-on-primary-container); font-size: 1.125rem;
  line-height: 1.7; margin-bottom: 3rem; font-weight: 300; max-width: 42rem;
}
.philosophy-grid {
  display: grid; grid-template-columns: 1fr; gap: 3rem;
  border-top: 1px solid var(--color-primary-container); padding-top: 3rem; max-width: 42rem;
}
.philosophy-grid h4 { color: #fff; font-family: var(--font-headline); font-size: 1.25rem; margin-bottom: 1rem; }
.philosophy-grid p { color: var(--color-on-primary-container); font-size: 0.875rem; line-height: 1.7; }
.philosophy-link {
  display: inline-flex; align-items: center; gap: 0.75rem; margin-top: 3rem;
  color: var(--color-secondary); font-family: var(--font-label);
  letter-spacing: 0.15em; text-transform: uppercase; font-size: 0.75rem;
  border-bottom: 1px solid var(--color-secondary); padding-bottom: 4px;
  transition: gap 0.3s;
}
.philosophy-link:hover { gap: 1.25rem; }

@media (min-width: 769px) {
  .philosophy-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════ SERVICES PREVIEW ═══════════════ */
.services-section { padding: 6rem 1.5rem; background: var(--color-surface-container-low); }
.services-header { text-align: center; max-width: 42rem; margin: 0 auto 4rem; }
.services-header .tag {
  font-family: var(--font-label); color: var(--color-secondary);
  font-size: 0.625rem; letter-spacing: 0.5em; text-transform: uppercase;
  margin-bottom: 1rem; display: block;
}
.services-header h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.5rem; }
.services-header p { color: var(--color-on-surface-variant); }

.services-grid {
  max-width: 1536px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
}
.service-card {
  padding: 2.5rem; cursor: pointer; transition: all 0.5s;
}
.service-card.light { background: var(--color-surface); }
.service-card.dark { background: var(--color-primary); }
.service-card .icon {
  font-size: 2rem; color: var(--color-secondary); margin-bottom: 1.5rem; display: block;
}
.service-card.light h3 { color: var(--color-on-surface); transition: color 0.5s; }
.service-card.dark h3 { color: #fff; }
.service-card h3 { font-family: var(--font-headline); font-size: 1.5rem; margin-bottom: 1rem; }
.service-card.light p { color: var(--color-on-surface-variant); transition: color 0.5s; }
.service-card.dark p { color: var(--color-on-primary-container); }
.service-card p { font-size: 0.875rem; line-height: 1.7; }
.service-card .card-link {
  margin-top: 2rem; display: inline-flex; align-items: center;
  gap: 0.5rem; color: var(--color-secondary); font-family: var(--font-label);
  font-size: 0.625rem; letter-spacing: 0.15em; text-transform: uppercase;
  transition: gap 0.3s;
}
.service-card:hover .card-link { gap: 1rem; }
.service-card.light:hover { background: var(--color-primary); }
.service-card.light:hover h3 { color: #fff; }
.service-card.light:hover p { color: var(--color-on-primary-container); }

.service-card.dark .card-link { color: var(--color-secondary); }
.service-card.light:hover .card-link { color: var(--color-secondary); }
.services-cta { text-align: center; margin-top: 3rem; }

@media (min-width: 769px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ═══════════════ CTA SECTION ═══════════════ */
.cta-section {
  padding: 6rem 1.5rem; background: var(--color-secondary-container); text-align: center;
}
.cta-section .tag {
  font-family: var(--font-label); color: var(--color-secondary);
  font-size: 0.625rem; letter-spacing: 0.5em; text-transform: uppercase;
  margin-bottom: 1rem; display: block;
}
.cta-section h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.5rem; }
.cta-section p { color: var(--color-on-surface-variant); margin-bottom: 2.5rem; line-height: 1.7; }
.cta-buttons { display: flex; flex-direction: column; gap: 1rem; justify-content: center; align-items: center; }

@media (min-width: 640px) {
  .cta-buttons { flex-direction: row; }
}

/* ═══════════════ GOOGLE MAP SECTION ═══════════════ */
.google-map-section { background: #020617; padding: 4rem 1.5rem; }
.google-map-section .tag {
  font-family: var(--font-label); color: var(--color-secondary);
  font-size: 0.625rem; letter-spacing: 0.5em; text-transform: uppercase;
  margin-bottom: 1rem; display: block;
}
.google-map-section h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); color: #fff; margin-bottom: 2.5rem; }
.map-iframe-wrap { width: 100%; aspect-ratio: 21/9; min-height: 300px; }
.map-iframe-wrap iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.8) contrast(1.1); }

/* ═══════════════ BUTTONS ═══════════════ */
.btn {
  display: inline-block; padding: 1rem 2.5rem; font-family: var(--font-label);
  letter-spacing: 0.15em; text-transform: uppercase; font-size: 0.75rem;
  border: none; cursor: pointer; transition: all 0.3s; text-align: center;
}
.btn-primary { background: var(--color-primary); color: var(--color-on-primary); }
.btn-primary:hover { opacity: 0.9; }
.btn-outline { border: 2px solid var(--color-primary); color: var(--color-primary); background: transparent; }
.btn-outline:hover { background: var(--color-primary); color: var(--color-on-primary); }
.btn-whatsapp {
  border: 2px solid #16a34a; color: #15803d; background: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
}
.btn-whatsapp:hover { background: #16a34a; color: #fff; }
.btn-whatsapp svg { width: 20px; height: 20px; fill: currentColor; }

/* ═══════════════ FOOTER ═══════════════ */
.site-footer { background: #020617; color: #fff; }
.footer-grid {
  display: grid; grid-template-columns: 1fr; gap: 3rem;
  padding: 5rem 2rem; max-width: 1536px; margin: 0 auto;
}
.footer-logo { font-family: var(--font-headline); font-size: 1.25rem; margin-bottom: 1.5rem; }
.footer-desc { color: #94a3b8; font-size: 0.875rem; line-height: 1.7; max-width: 20rem; }
.footer-social { display: flex; gap: 1rem; margin-top: 2rem; }
.footer-social a {
  width: 36px; height: 36px; border: 1px solid #334155;
  display: flex; align-items: center; justify-content: center;
  color: #94a3b8; transition: all 0.3s;
}
.footer-social a:hover { border-color: #f59e0b; color: #f59e0b; }
.footer-social .material-symbols-outlined { font-size: 18px; }

.footer-col h5 {
  font-family: var(--font-label); font-size: 0.875rem;
  letter-spacing: 0.05em; text-transform: uppercase; color: #f59e0b;
  margin-bottom: 2rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 1rem; }
.footer-col a {
  color: #94a3b8; font-family: var(--font-label); font-size: 0.875rem; transition: color 0.3s;
}
.footer-col a:hover { color: #f59e0b; }

.footer-newsletter p { color: #94a3b8; font-size: 0.625rem; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 1.5rem; }
.footer-newsletter form {
  display: flex; border-bottom: 1px solid #1e293b; padding-bottom: 0.5rem;
}
.footer-newsletter input {
  background: transparent; border: none; outline: none; font-family: var(--font-label);
  font-size: 0.875rem; width: 100%; color: #fff;
}
.footer-newsletter input::placeholder { color: #475569; }
.footer-newsletter button { background: none; border: none; color: #f59e0b; cursor: pointer; transition: color 0.3s; }
.footer-newsletter button:hover { color: #fbbf24; }

.footer-office { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid rgba(30, 41, 59, 0.5); }
.footer-office .label { color: #64748b; font-size: 0.625rem; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 0.5rem; }
.footer-office p { color: #94a3b8; font-size: 0.875rem; }

.footer-bottom {
  padding: 2rem 3rem; border-top: 1px solid #0f172a; text-align: center;
}
.footer-bottom span {
  color: #64748b; font-family: var(--font-label); font-size: 0.625rem;
  letter-spacing: 0.2em; text-transform: uppercase;
}

@media (min-width: 769px) {
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ═══════════════ WHATSAPP FAB ═══════════════ */
.whatsapp-fab {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s, box-shadow 0.3s; cursor: pointer; text-decoration: none;
}
.whatsapp-fab:hover {
  transform: scale(1.1); box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}
.whatsapp-fab svg { width: 32px; height: 32px; fill: #fff; }

/* ═══════════════ SCROLL ANIMATIONS ═══════════════ */
.fade-in {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ═══════════════ PAGE HERO (INNER PAGES) ═══════════════ */
.page-hero {
  position: relative; padding: 10rem 1.5rem 6rem;
  background: var(--color-primary); overflow: hidden;
}
.page-hero .bg-overlay {
  position: absolute; inset: 0; opacity: 0.1;
}
.page-hero .bg-overlay img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-content {
  max-width: 1280px; margin: 0 auto; position: relative; z-index: 10;
}
.page-hero .tag {
  font-family: var(--font-label); color: var(--color-secondary);
  font-size: 0.625rem; letter-spacing: 0.5em; text-transform: uppercase;
  margin-bottom: 1.5rem; display: block;
}
.page-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem); color: #fff; line-height: 1.1; max-width: 48rem;
}
.page-hero .subtitle {
  color: var(--color-on-primary-container); font-size: 1.125rem;
  margin-top: 2rem; max-width: 42rem; line-height: 1.7;
}

/* ═══════════════ ABOUT PAGE ═══════════════ */
.mission-grid {
  display: grid; grid-template-columns: 1fr; gap: 4rem; align-items: center;
}
.mission-image { position: relative; }
.mission-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.mission-badge {
  position: absolute; bottom: -1.5rem; left: -1.5rem; background: var(--color-secondary);
  color: var(--color-on-secondary); padding: 2rem; display: none;
}
.mission-badge .number { font-family: var(--font-headline); font-size: 2.5rem; }
.mission-badge .label { font-family: var(--font-label); font-size: 0.625rem; letter-spacing: 0.15em; text-transform: uppercase; margin-top: 4px; }

@media (min-width: 769px) {
  .mission-grid { grid-template-columns: repeat(2, 1fr); }
  .mission-badge { display: block; }
}

.values-grid {
  display: grid; grid-template-columns: 1fr; gap: 1px; background: rgba(196, 198, 206, 0.2);
}
.value-card { padding: 3rem; }
.value-card .icon-wrap {
  width: 48px; height: 48px; border: 1px solid var(--color-secondary);
  display: flex; align-items: center; justify-content: center; margin-bottom: 2rem;
}
.value-card .icon-wrap .material-symbols-outlined { color: var(--color-secondary); }
.value-card h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.value-card p { font-size: 0.875rem; line-height: 1.7; }

@media (min-width: 769px) {
  .values-grid { grid-template-columns: repeat(3, 1fr); }
}

.team-grid {
  display: grid; grid-template-columns: 1fr; gap: 2rem;
}
.team-card .team-img { aspect-ratio: 3/4; overflow: hidden; background: var(--color-surface-container); margin-bottom: 1.5rem; }
.team-card .team-img img {
  width: 100%; height: 100%; object-fit: cover; object-position: top;
  filter: grayscale(1); transition: filter 0.5s;
}
.team-card:hover .team-img img { filter: grayscale(0); }
.team-card h3 { font-family: var(--font-headline); font-size: 1.25rem; }
.team-card .role {
  font-family: var(--font-label); font-size: 0.625rem; color: var(--color-secondary);
  letter-spacing: 0.15em; text-transform: uppercase; margin-top: 4px;
}
.team-card .bio { color: var(--color-on-surface-variant); font-size: 0.875rem; margin-top: 0.75rem; line-height: 1.7; }

@media (min-width: 769px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); }
}

.stats-strip { padding: 4rem 1.5rem; background: var(--color-primary); }
.stats-strip-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; text-align: center;
}
@media (min-width: 769px) {
  .stats-strip-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ═══════════════ PROPERTIES PAGE ═══════════════ */
.filter-bar {
  padding: 2rem 1.5rem; background: var(--color-surface);
  border-bottom: 1px solid rgba(196, 198, 206, 0.3);
  position: sticky; top: 73px; z-index: 40;
}
.filter-bar-inner {
  max-width: 1536px; margin: 0 auto; display: flex;
  flex-direction: column; gap: 1rem;
}
.filter-buttons { display: flex; gap: 0.5rem; flex-wrap: wrap; overflow-x: auto; }
.filter-btn {
  font-family: var(--font-label); font-size: 0.625rem; letter-spacing: 0.15em;
  text-transform: uppercase; padding: 0.5rem 1.25rem;
  border: 1px solid var(--color-outline-variant); background: transparent;
  cursor: pointer; transition: all 0.2s;
}
.filter-btn:hover { border-color: var(--color-primary); }
.filter-btn.active { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

.sort-wrap { display: flex; align-items: center; gap: 0.75rem; }
.sort-wrap label {
  font-family: var(--font-label); font-size: 0.625rem; color: var(--color-outline);
  letter-spacing: 0.05em; text-transform: uppercase;
}
.sort-wrap select {
  font-family: var(--font-label); font-size: 0.625rem;
  background: var(--color-surface); border: 1px solid var(--color-outline-variant);
  padding: 0.5rem 1rem; outline: none;
}

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

.featured-property .fp-grid { display: grid; grid-template-columns: 1fr; }
.featured-property .fp-image { overflow: hidden; aspect-ratio: 4/3; }
.featured-property .fp-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; }
.featured-property:hover .fp-image img { transform: scale(1.05); }
.featured-property .fp-details {
  padding: 2.5rem; background: var(--color-primary);
  display: flex; flex-direction: column; justify-content: space-between;
}
@media (min-width: 769px) {
  .featured-property .fp-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-property .fp-image { aspect-ratio: auto; }
  .featured-property .fp-details { padding: 4rem; }
}

.properties-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
}
@media (min-width: 769px) {
  .properties-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}
@media (min-width: 1024px) {
  .properties-grid { grid-template-columns: repeat(3, 1fr); }
}

.prop-card { background: var(--color-surface-container-lowest); cursor: pointer; transition: box-shadow 0.3s; }
.prop-card:hover { box-shadow: 0 20px 60px -10px rgba(0, 11, 32, 0.15); }
.prop-card .prop-img { overflow: hidden; aspect-ratio: 4/3; }
.prop-card .prop-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; }
.prop-card:hover .prop-img img { transform: scale(1.05); }
.prop-card .prop-body { padding: 2rem; }

.prop-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.75rem; }
.prop-type { font-family: var(--font-label); font-size: 0.625rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--color-secondary); }
.prop-badge { font-family: var(--font-label); font-size: 0.625rem; color: var(--color-outline); }
.prop-card h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.prop-location { font-family: var(--font-label); font-size: 0.625rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--color-outline); margin-bottom: 1rem; }
.prop-specs { display: flex; gap: 1rem; color: var(--color-outline); font-family: var(--font-label); font-size: 0.625rem; text-transform: uppercase; border-top: 1px solid rgba(196, 198, 206, 0.3); padding-top: 1rem; margin-bottom: 1.5rem; }
.prop-footer { display: flex; align-items: center; justify-content: space-between; }
.prop-price { font-family: var(--font-headline); font-size: 1.25rem; color: var(--color-primary); }
.prop-enquire { font-family: var(--font-label); font-size: 0.625rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--color-secondary); display: flex; align-items: center; gap: 4px; transition: color 0.3s; }
.prop-enquire:hover { color: var(--color-primary); }

/* ═══════════════ AREA GUIDE ═══════════════ */
.area-card { position: relative; overflow: hidden; display: block; }
.area-card img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform 0.7s; }
.area-card:hover img { transform: scale(1.08); }
.area-card .gradient { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.2), transparent); }
.area-card .hover-overlay { position: absolute; inset: 0; background: rgba(119, 90, 25, 0.2); opacity: 0; transition: opacity 0.4s; }
.area-card:hover .hover-overlay { opacity: 1; }
.area-card .area-info { position: absolute; bottom: 0; left: 0; padding: 2rem; z-index: 10; }

.areas-bento { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 769px) {
  .areas-bento { grid-template-columns: repeat(12, 1fr); }
  .areas-bento .area-large { grid-column: span 8; min-height: 480px; }
  .areas-bento .area-medium { grid-column: span 4; min-height: 480px; }
  .areas-bento .area-small { grid-column: span 4; min-height: 400px; }
}

.market-insights-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
}
@media (min-width: 769px) {
  .market-insights-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .market-insights-grid { grid-template-columns: repeat(4, 1fr); }
}
.insight-card { background: var(--color-surface); padding: 2rem; border-top: 4px solid; }
.insight-card.gold-top { border-color: var(--color-secondary); }
.insight-card.dark-top { border-color: var(--color-primary); }

/* ═══════════════ CONTACT PAGE ═══════════════ */
.contact-grid {
  display: grid; grid-template-columns: 1fr; gap: 4rem;
}
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 3fr 2fr; }
}

.form-input {
  background: var(--color-surface-container-low);
  border: 1px solid transparent; padding: 14px 18px;
  font-family: var(--font-body); font-size: 14px;
  transition: border-color 0.3s, box-shadow 0.3s; width: 100%;
}
.form-input:focus {
  outline: none; border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(119, 90, 25, 0.12);
}

.form-row { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-bottom: 1.25rem; }
@media (min-width: 769px) {
  .form-row.two-col { grid-template-columns: repeat(2, 1fr); }
}
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block; font-family: var(--font-label); font-size: 0.625rem;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--color-outline);
  margin-bottom: 0.5rem;
}

.form-actions { display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 640px) {
  .form-actions { flex-direction: row; }
}

.form-success {
  display: none; margin-top: 1.5rem; background: #f0fdf4;
  border: 1px solid #bbf7d0; padding: 1.5rem; text-align: center;
}
.form-success.show { display: block; }
.form-success .material-symbols-outlined { color: #16a34a; font-size: 2rem; margin-bottom: 0.5rem; display: block; }
.form-success p { font-family: var(--font-label); font-size: 0.875rem; color: #166534; }

.office-card { margin-bottom: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(196, 198, 206, 0.3); }
.office-card:last-child { border-bottom: none; }
.office-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.office-icon {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
}
.office-icon.gold { background: var(--color-secondary); }
.office-icon.dark { background: var(--color-primary); }
.office-icon .material-symbols-outlined { color: #fff; font-size: 18px; }
.office-region { font-family: var(--font-label); font-size: 0.625rem; letter-spacing: 0.15em; text-transform: uppercase; }
.office-city { font-family: var(--font-headline); font-size: 1.25rem; }

.whatsapp-box {
  margin-top: 3rem; background: #f0fdf4; border: 1px solid #bbf7d0; padding: 2rem;
}
.whatsapp-box h3 { font-family: var(--font-headline); font-size: 1.25rem; color: #166534; margin-bottom: 0.75rem; }
.whatsapp-box p { color: #15803d; font-size: 0.875rem; margin-bottom: 1.25rem; line-height: 1.7; }
.btn-whatsapp-solid {
  display: inline-flex; align-items: center; gap: 0.75rem;
  background: #16a34a; color: #fff; padding: 0.75rem 2rem;
  font-family: var(--font-label); font-size: 0.625rem; letter-spacing: 0.15em;
  text-transform: uppercase; border: none; cursor: pointer; transition: background 0.3s;
}
.btn-whatsapp-solid:hover { background: #15803d; }
.btn-whatsapp-solid svg { width: 18px; height: 18px; fill: currentColor; }

/* ═══════════════ V2 CRITICAL FIXES ═══════════════ */

/* Fix: front-page must not show on inner pages — handled via PHP template routing */

/* Fix: nav correct mobile behavior */
@media (max-width: 768px) {
  .desktop-nav { display: none !important; }
  .nav-cta { display: none !important; }
  .hamburger { display: flex !important; }
  .nav-cta-wrap { display: flex !important; align-items: center; }
}

/* Fix: page hero tag visibility */
.page-hero .tag {
  font-family: var(--font-label); color: var(--color-secondary);
  font-size: 0.625rem; letter-spacing: 0.5em; text-transform: uppercase;
  margin-bottom: 1.5rem; display: inline-block;
  background: rgba(119,90,25,0.15); padding: 0.4rem 1rem; border-radius: 0;
}

/* Fix: listing-tag on white backgrounds */
.listing-tag {
  display: inline-block; margin-bottom: 0.5rem;
}

/* Fix: fade-in elements visible immediately as fallback if JS not loaded */
.no-js .fade-in { opacity: 1; transform: none; }

/* Fix: properties page featured property dark bg text */
.featured-property { overflow: hidden; }

/* Fix: filter bar z-index safe */
.filter-bar { position: sticky; top: 72px; z-index: 30; }

/* Fix: area guide bento on mobile */
@media (max-width: 768px) {
  .areas-bento { grid-template-columns: 1fr; }
  .area-card { min-height: 260px !important; }
}

/* Fix: contact form submit button full appearance */
button[type="submit"].btn,
input[type="submit"].btn { -webkit-appearance: none; appearance: none; }

/* Fix: footer newsletter input on dark bg */
.footer-newsletter form { margin-bottom: 1.5rem; }

/* Fix: Google map iframe height on mobile */
@media (max-width: 768px) {
  .map-iframe-wrap { aspect-ratio: 4/3; }
}

/* Fix: service cards as links */
a.service-card { display: block; }
a.service-card h3 { transition: color 0.3s; }

/* Fix: page-hero position context */
.page-hero { position: relative; }

/* Fix: stats strip value colors */
.stats-strip .stat-value { font-family: var(--font-headline); font-size: clamp(1.75rem,3vw,2.5rem); }
.stats-strip .stat-label { font-size: 0.625rem; letter-spacing: 0.15em; text-transform: uppercase; margin-top: 0.5rem; display: block; }

/* Fix: market insights cards equal height */
.market-insights-grid { align-items: stretch; }
.insight-card { display: flex; flex-direction: column; }

/* Fix: prop card image height consistency */
.prop-card .prop-img { height: 240px; }
.prop-card .prop-img img { height: 100%; object-fit: cover; aspect-ratio: unset; }

/* Fix: featured property full-height image on desktop */
@media (min-width: 769px) {
  .featured-property .fp-image { min-height: 480px; }
}
