/* ============================================================
   ÉLITE IMMO — DESIGN SYSTEM
   Premium Real Estate Agency | Francophone West Africa
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── CSS Custom Properties ── */
:root {
  /* Colors */
  --navy:         #0D1B2A;
  --navy-mid:     #1A2E45;
  --navy-light:   #243B55;
  --gold:         #C9A84C;
  --gold-light:   #E2C97A;
  --gold-pale:    #F5EDD8;
  --white:        #FFFFFF;
  --off-white:    #F8F6F2;
  --gray-100:     #F2F0EC;
  --gray-200:     #E5E2DB;
  --gray-400:     #9CA3AF;
  --gray-600:     #6B7280;
  --text-dark:    #1A1A2E;
  --text-body:    #374151;
  --whatsapp:     #25D366;

  /* Typography */
  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Inter', system-ui, sans-serif;

  /* Spacing scale */
  --sp-1:   8px;
  --sp-2:  12px;
  --sp-3:  16px;
  --sp-4:  24px;
  --sp-5:  32px;
  --sp-6:  48px;
  --sp-7:  64px;
  --sp-8:  96px;
  --sp-9: 128px;

  /* Border radius */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:  0 4px 16px rgba(0,0,0,.10), 0 2px 8px rgba(0,0,0,.08);
  --shadow-lg:  0 10px 40px rgba(0,0,0,.14), 0 4px 16px rgba(0,0,0,.10);
  --shadow-gold:0 4px 24px rgba(201,168,76,.25);

  /* Transitions */
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-in:       cubic-bezier(0.4, 0, 1, 1);
  --ease-out:      cubic-bezier(0, 0, 0.2, 1);
  --duration-fast: 150ms;
  --duration-base: 280ms;
  --duration-slow: 500ms;

  /* Layout */
  --max-width: 1200px;
  --nav-height: 72px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-body);
  background: var(--white);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

/* ── Skip link accessibility ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--gold);
  color: var(--navy);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  z-index: 9999;
  transition: top var(--duration-fast);
}
.skip-link:focus { top: 16px; }

/* ── Utility Classes ── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--sp-4);
}
@media (min-width: 768px)  { .container { padding: 0 var(--sp-5); } }
@media (min-width: 1200px) { .container { padding: 0 var(--sp-6); } }

.section-padding { padding: var(--sp-7) 0; }
@media (min-width: 768px) { .section-padding { padding: var(--sp-8) 0; } }

.text-center { text-align: center; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── Typography Scale ── */
.eyebrow {
  font-family: var(--font-sans);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
}

h1, .h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.15;
  color: inherit;
}
h2, .h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-dark);
}
h3, .h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 500;
  line-height: 1.3;
  color: var(--text-dark);
}
h4, .h4 {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-dark);
}

.lead {
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.75;
  color: var(--gray-600);
}

/* ── Section Header ── */
.section-header {
  margin-bottom: var(--sp-6);
}
.section-header .eyebrow { margin-bottom: var(--sp-2); display: block; }
.section-header h2 { margin-bottom: var(--sp-3); }
.section-header p { max-width: 600px; }
.section-header.centered { text-align: center; }
.section-header.centered p { margin: 0 auto; }

/* Gold divider */
.gold-divider {
  display: block;
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: var(--sp-3) 0;
}
.centered .gold-divider { margin: var(--sp-3) auto; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .04em;
  border-radius: var(--radius-sm);
  transition: all var(--duration-base) var(--ease-standard);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  min-height: 48px;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--duration-fast);
}
.btn:hover::after { background: rgba(255,255,255,.08); }
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover {
  background: var(--gold-light);
  box-shadow: var(--shadow-gold);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.45);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

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

.btn-ghost {
  background: transparent;
  color: var(--gold);
  padding-left: 0;
  padding-right: 0;
}
.btn-ghost:hover { color: var(--gold-light); }
.btn-ghost svg { transition: transform var(--duration-base) var(--ease-out); }
.btn-ghost:hover svg { transform: translateX(4px); }

.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--white);
}
.btn-whatsapp:hover {
  background: #1fba5a;
  box-shadow: 0 4px 20px rgba(37,211,102,.3);
  transform: translateY(-1px);
}

.btn-sm { padding: 10px 20px; font-size: .825rem; min-height: 40px; }
.btn-lg { padding: 18px 36px; font-size: 1rem; min-height: 56px; }

/* ── Navigation ── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: background var(--duration-base) var(--ease-standard),
              box-shadow var(--duration-base) var(--ease-standard);
}
.site-nav.scrolled {
  background: rgba(13,27,42,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06), var(--shadow-md);
}
.site-nav.nav-light {
  background: rgba(13,27,42,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

/* Logo */
.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
}
.nav-logo-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: .02em;
}
.nav-logo-tagline {
  font-family: var(--font-sans);
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Desktop menu */
.nav-menu {
  display: none;
  align-items: center;
  gap: var(--sp-5);
}
@media (min-width: 900px) { .nav-menu { display: flex; } }

.nav-link {
  font-family: var(--font-sans);
  font-size: .875rem;
  font-weight: 500;
  color: rgba(255,255,255,.80);
  letter-spacing: .03em;
  position: relative;
  padding: 4px 0;
  transition: color var(--duration-fast);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width var(--duration-base) var(--ease-out);
}
.nav-link:hover,
.nav-link.active { color: var(--white); }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.nav-cta {
  margin-left: var(--sp-2);
}

/* Hamburger */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background var(--duration-fast);
}
@media (min-width: 900px) { .nav-hamburger { display: none; } }
.nav-hamburger:hover { background: rgba(255,255,255,.08); }
.hamburger-line {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--duration-base) var(--ease-standard);
  transform-origin: center;
}
.nav-hamburger.open .hamburger-line:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open .hamburger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open .hamburger-line:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu panel */
.mobile-menu {
  position: fixed;
  top: var(--nav-height); left: 0; right: 0;
  background: var(--navy);
  padding: var(--sp-4) var(--sp-4) var(--sp-6);
  transform: translateY(-110%);
  opacity: 0;
  transition: transform var(--duration-slow) var(--ease-out),
              opacity var(--duration-base) var(--ease-out);
  z-index: 999;
  border-top: 1px solid rgba(255,255,255,.06);
}
.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
}
.mobile-menu .nav-link {
  display: block;
  padding: 14px 0;
  font-size: 1.05rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
  color: rgba(255,255,255,.85);
}
.mobile-menu .nav-link:last-of-type { border-bottom: none; }
.mobile-menu .btn { width: 100%; justify-content: center; margin-top: var(--sp-3); }

/* ── Page Hero (inner pages) ── */
.page-hero {
  background: var(--navy);
  padding: calc(var(--nav-height) + var(--sp-7)) 0 var(--sp-7);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(201,168,76,.08) 0%, transparent 70%);
}
.page-hero h1 { color: var(--white); margin-bottom: var(--sp-3); }
.page-hero .lead { color: rgba(255,255,255,.70); max-width: 560px; margin: 0 auto; }
.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: .8rem;
  color: rgba(255,255,255,.50);
  margin-bottom: var(--sp-3);
}
.page-hero .breadcrumb a { color: var(--gold); transition: color var(--duration-fast); }
.page-hero .breadcrumb a:hover { color: var(--gold-light); }
.page-hero .breadcrumb span { color: rgba(255,255,255,.35); }

/* ── Footer ── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.70);
  padding: var(--sp-7) 0 0;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; } }

.footer-brand .nav-logo { margin-bottom: var(--sp-3); }
.footer-brand p { font-size: .9rem; line-height: 1.7; max-width: 260px; }

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-3);
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: .875rem;
  color: rgba(255,255,255,.60);
  transition: color var(--duration-fast);
}
.footer-col ul li a:hover { color: var(--gold); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .875rem;
  margin-bottom: 12px;
}
.footer-contact-item svg { color: var(--gold); flex-shrink: 0; margin-top: 2px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: var(--sp-3) 0;
  margin-top: var(--sp-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-2);
  font-size: .8rem;
  color: rgba(255,255,255,.35);
}
.footer-bottom a { color: var(--gold); }

/* ── Floating WhatsApp Button ── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 20px;
  z-index: 900;
}
@media (min-width: 768px) { .whatsapp-float { bottom: 36px; right: 28px; } }

.whatsapp-float a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--whatsapp);
  border-radius: var(--radius-full);
  box-shadow: 0 4px 20px rgba(37,211,102,.40);
  transition: transform var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out);
  position: relative;
}
@media (min-width: 768px) {
  .whatsapp-float a { width: 60px; height: 60px; }
}
.whatsapp-float a:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 28px rgba(37,211,102,.50);
}

.whatsapp-float a::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: var(--radius-full);
  border: 2px solid rgba(37,211,102,.4);
  animation: wa-pulse 2s ease-out infinite;
}
@keyframes wa-pulse {
  0%   { opacity: 1; transform: scale(1); }
  70%  { opacity: 0; transform: scale(1.35); }
  100% { opacity: 0; transform: scale(1.35); }
}

.whatsapp-float-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--navy);
  color: var(--white);
  font-size: .78rem;
  font-weight: 500;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-base);
  box-shadow: var(--shadow-md);
}
.whatsapp-float-tooltip::after {
  content: '';
  position: absolute;
  left: 100%; top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: var(--navy);
}
.whatsapp-float a:hover .whatsapp-float-tooltip { opacity: 1; }

/* ── Property Card ── */
.property-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration-base) var(--ease-standard),
              box-shadow var(--duration-base) var(--ease-standard);
  display: flex;
  flex-direction: column;
}
.property-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.property-card:hover .card-img img { transform: scale(1.05); }

.card-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--gray-200);
}
.card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-standard);
}
.card-badge {
  position: absolute;
  top: 14px; left: 14px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.badge-vente { background: var(--gold); color: var(--navy); }
.badge-location { background: var(--navy); color: var(--white); }

.card-type {
  position: absolute;
  top: 14px; right: 14px;
  padding: 4px 10px;
  background: rgba(13,27,42,.75);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-full);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
}

.card-body {
  padding: var(--sp-4);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-location {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .78rem;
  color: var(--gray-400);
  margin-bottom: 6px;
}
.card-location svg { color: var(--gold); flex-shrink: 0; }
.card-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: var(--sp-2);
  line-height: 1.3;
}
.card-desc {
  font-size: .85rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: var(--sp-3);
  flex: 1;
}
.card-meta {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
  padding: var(--sp-2) 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: var(--sp-3);
}
.card-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .78rem;
  color: var(--gray-600);
}
.card-meta-item svg { color: var(--gold); }
.card-price {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: var(--sp-3);
}
.card-footer {
  display: flex;
  gap: 10px;
  align-items: center;
}
.card-footer .btn { flex: 1; justify-content: center; font-size: .8rem; padding: 10px 16px; }

/* ── Property Grid ── */
.property-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}
@media (min-width: 640px)  { .property-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .property-grid { grid-template-columns: repeat(3, 1fr); } }

/* ── Filter Bar ── */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: var(--sp-5);
}
.filter-btn {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: .825rem;
  font-weight: 500;
  border: 1.5px solid var(--gray-200);
  color: var(--gray-600);
  background: var(--white);
  transition: all var(--duration-fast);
  min-height: 40px;
}
.filter-btn:hover { border-color: var(--gold); color: var(--navy); }
.filter-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* ── Stats Section ── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
}
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-card {
  text-align: center;
  padding: var(--sp-4);
  border-left: 1px solid rgba(255,255,255,.10);
}
.stat-card:first-child { border-left: none; }
.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}

/* ── Features Grid ── */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}
@media (min-width: 640px)  { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  { .features-grid { grid-template-columns: repeat(4, 1fr); } }

.feature-card {
  padding: var(--sp-5);
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--gray-200);
  transition: border-color var(--duration-base), box-shadow var(--duration-base);
}
.feature-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}
.feature-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  background: var(--gold-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-3);
  color: var(--gold);
}
.feature-card h4 { margin-bottom: 8px; }
.feature-card p { font-size: .875rem; color: var(--gray-600); line-height: 1.65; }

/* ── Testimonial Carousel ── */
.carousel-wrapper {
  position: relative;
  overflow: hidden;
}
.carousel-track {
  display: flex;
  transition: transform var(--duration-slow) var(--ease-standard);
}
.carousel-slide {
  min-width: 100%;
  padding: 0 var(--sp-1);
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--sp-5) var(--sp-5) var(--sp-4);
  box-shadow: var(--shadow-md);
  max-width: 680px;
  margin: 0 auto;
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: -12px; left: var(--sp-5);
  font-family: var(--font-serif);
  font-size: 5rem;
  line-height: 1;
  color: var(--gold);
  opacity: .25;
}
.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: var(--sp-3);
  color: var(--gold);
}
.testimonial-text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.75;
  color: var(--text-dark);
  margin-bottom: var(--sp-4);
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.testimonial-avatar {
  width: 48px; height: 48px;
  border-radius: var(--radius-full);
  background: var(--gold-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold);
  flex-shrink: 0;
}
.testimonial-name { font-weight: 600; color: var(--text-dark); font-size: .95rem; }
.testimonial-role { font-size: .8rem; color: var(--gray-400); }

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  margin-top: var(--sp-4);
}
.carousel-dot {
  width: 8px; height: 8px;
  border-radius: var(--radius-full);
  background: var(--gray-200);
  cursor: pointer;
  transition: all var(--duration-base);
  border: none;
}
.carousel-dot.active {
  background: var(--gold);
  width: 24px;
}
.carousel-arrow {
  width: 40px; height: 40px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  transition: all var(--duration-fast);
}
.carousel-arrow:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ── CTA Banner ── */
.cta-banner {
  background: var(--navy);
  padding: var(--sp-8) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(201,168,76,.12) 0%, transparent 65%);
}
.cta-banner .container { position: relative; }
.cta-banner h2 { color: var(--white); margin-bottom: var(--sp-3); }
.cta-banner p { color: rgba(255,255,255,.65); margin-bottom: var(--sp-5); max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-banner .btn-group {
  display: flex;
  gap: var(--sp-3);
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Form Styles ── */
.form-group {
  margin-bottom: var(--sp-4);
}
.form-label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.form-label .required { color: var(--gold); margin-left: 2px; }
.form-control {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: .9rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
}
.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,.12);
  outline: none;
}
.form-control.error { border-color: #e53e3e; }
.form-error {
  display: none;
  font-size: .78rem;
  color: #e53e3e;
  margin-top: 5px;
}
.form-error.show { display: block; }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { cursor: pointer; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 var(--sp-4);
}
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }

/* ── Contact Info ── */
.contact-info-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  color: var(--white);
  height: 100%;
}
.contact-info-card h3 { color: var(--white); margin-bottom: var(--sp-4); }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.contact-info-item:last-child { border-bottom: none; }
.contact-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-md);
  background: rgba(201,168,76,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.contact-info-item h4 { font-size: .8rem; color: rgba(255,255,255,.5); margin-bottom: 2px; font-weight: 400; }
.contact-info-item p, .contact-info-item a {
  font-size: .9rem;
  color: var(--white);
  transition: color var(--duration-fast);
}
.contact-info-item a:hover { color: var(--gold); }

/* ── Map Placeholder ── */
.map-placeholder {
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  border: 2px dashed var(--gray-200);
  color: var(--gray-400);
}
.map-placeholder svg { width: 40px; height: 40px; opacity: .5; }

/* ── Team Cards ── */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}
@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }

.team-card {
  text-align: center;
  padding: var(--sp-4);
}
.team-avatar {
  width: 120px; height: 120px;
  border-radius: var(--radius-full);
  overflow: hidden;
  margin: 0 auto var(--sp-3);
  border: 3px solid var(--gold-pale);
  background: var(--gold-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--gold);
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card h4 { margin-bottom: 4px; }
.team-card .team-role { font-size: .85rem; color: var(--gold); font-weight: 500; margin-bottom: 10px; }
.team-card p { font-size: .875rem; color: var(--gray-600); line-height: 1.65; }

/* ── Values / Engagements ── */
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-3);
}
@media (min-width: 640px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .values-grid { grid-template-columns: repeat(3, 1fr); } }

.value-card {
  display: flex;
  gap: var(--sp-3);
  padding: var(--sp-4);
  border-radius: var(--radius-lg);
  background: var(--off-white);
  border-left: 3px solid var(--gold);
  transition: background var(--duration-fast);
}
.value-card:hover { background: var(--gray-100); }
.value-icon { color: var(--gold); flex-shrink: 0; }
.value-card h4 { margin-bottom: 4px; }
.value-card p { font-size: .85rem; color: var(--gray-600); }

/* ── Property Detail ── */
.detail-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--sp-5);
}
@media (min-width: 768px) {
  .detail-gallery {
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto auto;
  }
  .gallery-main { grid-row: 1 / 3; }
}
.gallery-main img,
.gallery-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-main { aspect-ratio: 4/3; overflow: hidden; }
.gallery-thumb { aspect-ratio: 4/3; overflow: hidden; background: var(--gray-200); }

.detail-price {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--navy);
}
.detail-specs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  padding: var(--sp-4) 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  margin: var(--sp-4) 0;
}
.detail-spec {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .875rem;
  color: var(--text-body);
}
.detail-spec svg { color: var(--gold); }
.detail-spec strong { font-weight: 600; color: var(--text-dark); }
.detail-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (min-width: 640px) { .detail-features { grid-template-columns: repeat(3, 1fr); } }
.detail-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: var(--text-body);
}
.detail-feature-item::before {
  content: '';
  display: block;
  width: 6px; height: 6px;
  border-radius: var(--radius-full);
  background: var(--gold);
  flex-shrink: 0;
}

.sticky-cta {
  position: sticky;
  top: calc(var(--nav-height) + 16px);
}
.sticky-cta-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  padding: var(--sp-4);
  box-shadow: var(--shadow-md);
}
.sticky-cta-card h4 { margin-bottom: var(--sp-3); }
.sticky-cta-card .btn { width: 100%; justify-content: center; margin-bottom: 10px; }

/* ── Sections Background Alternation ── */
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy h2 { color: var(--white); }
.bg-off-white { background: var(--off-white); }
.bg-gray { background: var(--gray-100); }

/* ── Scroll Reveal animations ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }

/* ── Success Message ── */
.success-message {
  display: none;
  text-align: center;
  padding: var(--sp-7) var(--sp-4);
}
.success-message.show { display: block; }
.success-icon {
  width: 72px; height: 72px;
  border-radius: var(--radius-full);
  background: rgba(37,211,102,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-4);
  color: var(--whatsapp);
}
