/* Cappako Propiedades — Unified CSS v2.1.0 */

/* ========================================
   RESET & VARIABLES
   ======================================== */
:root {
  --navy: #1B2E4B;
  --navy-deep: #0F1D30;
  --navy-light: #2A4165;
  --gold: #C4A265;
  --gold-dark: #A68B4B;
  --gold-light: #D8C08A;
  --gold-muted: rgba(196,162,101,0.08);
  --green-wa: #25D366;
  --white: #FFFFFF;
  --off-white: #FAFAF7;
  --warm: #F6F3ED;
  --warm-dark: #EDE8DD;
  --text: #1A2332;
  --text-2: #4A5568;
  --text-3: #7A8599;
  --border: #E4DFD5;
  --border-light: #F0ECE4;
  --shadow-sm: 0 1px 3px rgba(27,46,75,0.04);
  --shadow-md: 0 4px 16px rgba(27,46,75,0.06);
  --shadow-lg: 0 8px 32px rgba(27,46,75,0.08);
  --shadow-xl: 0 16px 48px rgba(27,46,75,0.12);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5 {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  line-height: 1.15;
  color: var(--navy);
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ========================================
   HEADER — LUXURY TWO-LINE
   ======================================== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--navy-deep);
  transition: var(--transition);
}
.header-top {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1280px; margin: 0 auto;
  padding: 20px 40px 0;
}
.logo-img { height: 48px; transition: all 0.3s; }
.header-right { display: flex; align-items: center; gap: 14px; }
.header-tel {
  font-size: 12.5px; font-weight: 500;
  color: rgba(255,255,255,0.4);
  transition: color 0.3s;
}
.header-tel:hover { color: var(--white); }
.header-cta {
  padding: 8px 20px; border-radius: 50px;
  background: var(--gold); color: var(--white);
  font-size: 12.5px; font-weight: 700;
  transition: var(--transition); cursor: pointer;
}
.header-cta:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
}

.header-nav {
  display: flex; align-items: center; justify-content: center;
  gap: 36px;
  max-width: 1280px; margin: 0 auto;
  padding: 16px 40px;
  margin-top: 4px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.nav-link {
  font-size: 13px; font-weight: 500;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
  position: relative; letter-spacing: 0.04em;
}
.nav-link:hover { color: var(--white); }
.nav-link.active { color: var(--gold); }
.nav-link.active::after {
  content: ''; position: absolute; bottom: -6px; left: 50%;
  transform: translateX(-50%);
  width: 16px; height: 2px; background: var(--gold); border-radius: 2px;
}

/* Main content — offset for fixed header */
#main-content { padding-top: 120px; }
@media (max-width: 768px) {
  /* Mobile header is ~65px (no nav bar) vs ~114px on desktop */
  #main-content { padding-top: 66px; }
}

/* Scrolled state - stays navy, just more compact */
.header.scrolled .header-top { padding: 14px 40px 0; }
.header.scrolled .logo-img { height: 40px; }
.header.scrolled .header-nav { padding: 8px 40px; }
.header.scrolled {
  background: rgba(15,29,48,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

/* Mobile menu toggle */
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 10px; }
.menu-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--white); margin: 5px 0;
  transition: var(--transition);
}

/* ========================================
   HERO
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
  padding: 120px 40px 80px;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(155deg, var(--navy-deep) 0%, var(--navy) 35%, var(--navy-light) 70%, #2D5A7B 100%);
}
.hero-bg::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 75% 20%, rgba(196,162,101,0.06), transparent 50%),
    radial-gradient(ellipse at 25% 80%, rgba(45,90,123,0.15), transparent 50%);
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0; opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 0v40M0 20h40' stroke='%23C4A265' stroke-width='.3' fill='none'/%3E%3C/svg%3E");
}

.hero-content {
  position: relative; z-index: 2;
  max-width: 1280px; margin: 0 auto; width: 100%;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  animation: fadeUp 0.7s ease both;
}
.hero-eyebrow::before {
  content: ''; width: 24px; height: 1px; background: var(--gold); opacity: 0.5;
}

.hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  color: var(--white); font-weight: 400;
  max-width: 680px; margin-bottom: 16px;
  animation: fadeUp 0.7s 0.1s ease both;
}
.hero h1 em { font-style: italic; color: var(--gold-light); }

.hero-sub {
  font-size: 1.05rem; color: rgba(255,255,255,0.4);
  max-width: 480px; margin-bottom: 40px;
  animation: fadeUp 0.7s 0.15s ease both;
}

/* Hero Stats */
.hero-stats {
  display: flex; gap: 40px;
  margin-top: 48px;
  animation: fadeUp 0.7s 0.3s ease both;
}
.hero-stat {}
.hero-stat-num {
  font-family: 'Outfit'; font-size: 2rem; font-weight: 600;
  color: var(--white);
}
.hero-stat-label {
  font-size: 0.75rem; color: rgba(255,255,255,0.60);
  text-transform: uppercase; letter-spacing: 0.08em; margin-top: 2px;
}

/* ========================================
   SEARCH BOX
   ======================================== */
.search-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 6px;
  box-shadow: var(--shadow-xl);
  max-width: 820px;
  animation: fadeUp 0.7s 0.2s ease both;
}
.search-tabs {
  display: flex; gap: 4px; padding: 4px 8px 0;
}
.search-tab {
  padding: 8px 18px; border-radius: 8px 8px 0 0;
  font-size: 12.5px; font-weight: 600;
  color: var(--text-3); background: none; border: none;
  cursor: pointer; transition: var(--transition);
}
.search-tab.active {
  color: var(--navy); background: var(--warm);
}
.search-tab:hover:not(.active) { color: var(--text); }

.search-fields {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr auto;
  gap: 0;
  background: var(--warm);
  border-radius: var(--radius-md);
  padding: 4px;
  align-items: center;
}
.search-field {
  padding: 14px 18px;
  position: relative;
}
.search-field:not(:last-child)::after {
  content: ''; position: absolute; right: 0; top: 50%;
  transform: translateY(-50%); width: 1px; height: 28px;
  background: var(--border);
}
.search-field label {
  display: block; font-size: 10.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-3); margin-bottom: 4px;
}
.search-field select,
.search-field input {
  width: 100%; background: none; border: none; outline: none;
  font-family: 'DM Sans'; font-size: 14px; font-weight: 500;
  color: var(--text); cursor: pointer;
  -webkit-appearance: none; appearance: none;
}
.search-field select { padding-right: 16px; }
.search-field .select-wrap {
  position: relative;
}
.search-field .select-wrap::after {
  content: '▾'; position: absolute; right: 0; top: 50%;
  transform: translateY(-50%); font-size: 10px; color: var(--text-3);
  pointer-events: none;
}
.search-btn {
  padding: 14px 28px; border-radius: var(--radius-sm);
  background: var(--navy); color: var(--white); border: none;
  font-family: 'DM Sans'; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: var(--transition);
  white-space: nowrap;
  margin: 4px;
  border-radius: 10px;
}
.search-btn:hover {
  background: var(--navy-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(27,46,75,0.2);
}
.search-hint {
  text-align: center; padding: 10px 0 4px;
  font-size: 12.5px; color: var(--text-3);
}
.search-hint a {
  color: var(--gold); font-weight: 600;
  transition: color 0.3s;
}
.search-hint a:hover { color: var(--gold-dark); }

.hero-stats-intro {
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,0.25);
  margin-top: 44px; margin-bottom: 12px;
  animation: fadeUp 0.7s 0.28s ease both;
}


.hero-tagline {
  font-size: 13px; font-weight: 500;
  color: rgba(255,255,255,0.22);
  letter-spacing: 0.02em;
  margin-bottom: 36px;
  animation: fadeUp 0.7s 0.18s ease both;
}

.hero-pillars {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: rgba(196,162,101,0.5);
  margin-bottom: 14px;
  animation: fadeUp 0.7s 0.12s ease both;
}

.hero-social-proof {
  font-size: 12.5px; color: rgba(255,255,255,0.25);
  margin-top: 16px; font-style: italic;
  animation: fadeUp 0.7s 0.35s ease both;
}

.trust-intl {
  font-size: 13.5px; color: rgba(255,255,255,0.3);
  margin-top: 8px; font-weight: 500;
  padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.05);
  max-width: 450px;
}

/* Unified badge system */
.prop-badge.investment { background: var(--gold); color: var(--white); }
.prop-badge.lifestyle { background: #162640; color: rgba(255,255,255,0.9); border: 1px solid rgba(255,255,255,0.15); }
.prop-badge.opp { background: #0D7C3F; color: var(--white); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

/* ========================================
   CATEGORIES
   ======================================== */
.categories {
  padding: 80px 40px;
  background: var(--white);
}
.categories-inner {
  max-width: 1280px; margin: 0 auto;
}
.section-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 40px;
}
.section-eyebrow {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 8px;
}
.section-header h2 { font-size: clamp(1.6rem, 2.5vw, 2.2rem); }
.section-header p { font-size: 0.92rem; color: var(--text-3); margin-top: 6px; }
.section-link {
  font-size: 13px; font-weight: 600; color: var(--navy);
  display: flex; align-items: center; gap: 6px;
  transition: var(--transition); flex-shrink: 0;
}
.section-link:hover { color: var(--gold); gap: 10px; }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.cat-card {
  position: relative; border-radius: var(--radius-md);
  overflow: hidden; cursor: pointer;
  aspect-ratio: 4/5;
  background: var(--navy);
  transition: var(--transition);
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cat-card-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 0.5s ease;
  opacity: 0.65;
}
.cat-card:hover .cat-card-bg { transform: scale(1.05); opacity: 0.75; }
.cat-card-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 24px 20px;
  background: linear-gradient(to top, rgba(15,29,48,0.9) 0%, transparent 100%);
}
.cat-card h3 {
  font-size: 1.2rem; color: var(--white); font-weight: 500; margin-bottom: 3px;
}
.cat-card-count {
  font-size: 12px; color: rgba(255,255,255,0.4); font-weight: 500;
}

/* ========================================
   FEATURED PROPERTIES
   ======================================== */
.featured {
  padding: 80px 40px;
  background: var(--off-white);
}
.featured-inner { max-width: 1280px; margin: 0 auto; }

.prop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.prop-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: var(--transition);
  height: 100%;
}
.prop-card > a {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}
.prop-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.prop-card-img {
  position: relative; height: 220px; overflow: hidden;
  background: var(--warm);
}
.prop-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.prop-card:hover .prop-card-img img { transform: scale(1.05); }

.prop-badge {
  position: absolute; top: 14px; left: 14px;
  padding: 5px 12px; border-radius: 50px;
  font-size: 10.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
}
/* Badge system: Lifestyle = navy, Investment = gold, Opportunity = green */
.prop-badge.lifestyle { background: #162640; color: rgba(255,255,255,0.9); border: 1px solid rgba(255,255,255,0.15); }
.prop-badge.investment { background: var(--gold); color: var(--white); }
.prop-badge.opp { background: #0D7C3F; color: var(--white); }

.prop-photos {
  position: absolute; bottom: 12px; right: 12px;
  padding: 4px 10px; border-radius: 50px;
  background: rgba(0,0,0,0.5); backdrop-filter: blur(4px);
  font-size: 11px; color: white; font-weight: 500;
}

.prop-card-body { padding: 20px; flex: 1; }

.prop-type-tag {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--gold-dark);
  margin-bottom: 6px;
}

.prop-card-body h3 {
  font-size: 1.15rem; font-weight: 500; color: var(--navy);
  margin-bottom: 4px; line-height: 1.3;
}

.prop-location {
  font-size: 13px; color: var(--text-3); margin-bottom: 14px;
  display: flex; align-items: center; gap: 4px;
}

.prop-specs {
  display: flex; gap: 16px;
  padding-top: 14px; border-top: 1px solid var(--border-light);
}
.prop-spec {
  display: flex; align-items: center; gap: 5px;
  font-size: 12.5px; color: var(--text-2); font-weight: 500;
}
.prop-spec-icon { font-size: 14px; opacity: 0.6; }

.prop-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px;
  border-top: 1px solid var(--border-light);
  margin-top: auto;
  gap: 10px;
}
.prop-price {
  font-family: 'Outfit'; font-size: 1.3rem;
  font-weight: 600; color: var(--navy);
  white-space: nowrap;
}
.prop-cta {
  padding: 7px 16px; border-radius: 50px;
  background: var(--navy); color: var(--white);
  font-size: 12px; font-weight: 600;
  transition: var(--transition);
  white-space: nowrap; flex-shrink: 0;
}
.prop-cta:hover { background: var(--gold); }
.prop-tag-renta {
  padding: 5px 12px; border-radius: 50px;
  background: rgba(196,162,101,0.12); color: var(--gold-dark);
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em;
}

/* ========================================
   ZONES / NEIGHBORHOODS
   ======================================== */
.zones {
  padding: 80px 40px;
  background: var(--white);
}
.zones-inner { max-width: 1280px; margin: 0 auto; }

.zones-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.zone-card {
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--warm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  cursor: pointer;
}
.zone-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.zone-card h4 {
  font-size: 1.1rem; margin-bottom: 4px;
}
.zone-card-count {
  font-size: 12.5px; color: var(--text-3);
}
.zone-card-types {
  margin-top: 10px;
  display: flex; flex-wrap: wrap; gap: 4px;
}
.zone-tag {
  padding: 3px 10px; border-radius: 50px;
  font-size: 10.5px; font-weight: 600;
  background: var(--white); color: var(--text-2);
  border: 1px solid var(--border);
}

/* ========================================
   TRUST / WHY CAPPAKO
   ======================================== */
.trust {
  padding: 80px 40px;
  background: var(--navy-deep);
  position: relative; overflow: hidden;
}
.trust::before {
  content: ''; position: absolute; inset: 0; opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30Z' fill='none' stroke='%23C4A265' stroke-width='.4'/%3E%3C/svg%3E");
}
.trust-inner {
  max-width: 1280px; margin: 0 auto; position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.trust-left .section-eyebrow { color: var(--gold); }
.trust-left h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  color: var(--white); margin-bottom: 16px;
}
.trust-left p {
  font-size: 0.95rem; color: rgba(255,255,255,0.4); line-height: 1.7;
  max-width: 450px;
}
.trust-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.trust-stat {
  padding: 28px 24px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  transition: var(--transition);
}
.trust-stat:hover { background: rgba(255,255,255,0.06); border-color: rgba(196,162,101,0.15); }
.trust-stat-num {
  font-family: 'Outfit'; font-size: 2.2rem; font-weight: 600;
  color: var(--gold);
}
.trust-stat-label {
  font-size: 13px; color: rgba(255,255,255,0.4); margin-top: 2px; font-weight: 500;
}
.trust-stat-desc {
  font-size: 12px; color: rgba(255,255,255,0.55); margin-top: 6px; line-height: 1.5;
}

/* ========================================
   CTA FINAL
   ======================================== */
.cta-section {
  padding: 80px 40px;
  background: var(--warm);
  text-align: center;
}
.cta-inner { max-width: 600px; margin: 0 auto; }
.cta-inner h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 12px;
}
.cta-inner p {
  font-size: 0.95rem; color: var(--text-2); margin-bottom: 32px;
}
.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 14px 32px; border-radius: 50px;
  font-family: 'DM Sans'; font-size: 14px; font-weight: 700;
  transition: var(--transition); border: none; cursor: pointer;
}
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-light); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-wa { background: var(--green-wa); color: var(--white); }
.btn-wa:hover { background: #1EBE5A; transform: translateY(-2px); }
.btn-outline {
  background: transparent; color: var(--navy);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--navy); }

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--navy-deep);
  padding: 60px 40px 24px;
}
.footer-inner {
  max-width: 1280px; margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.footer-col h4 {
  font-family: 'DM Sans'; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: rgba(255,255,255,0.3); margin-bottom: 16px;
}
.footer-brand p {
  font-size: 13.5px; color: rgba(255,255,255,0.35); line-height: 1.7;
  margin-top: 12px; max-width: 280px;
}
.footer-col a {
  display: block; font-size: 13.5px; color: rgba(255,255,255,0.65);
  padding: 4px 0; transition: var(--transition);
}
.footer-col a:hover { color: var(--gold); padding-left: 4px; }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13.5px; color: rgba(255,255,255,0.65);
  margin-bottom: 12px;
}
.footer-contact-item span { font-size: 16px; opacity: 0.6; }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 24px;
  font-size: 12px; color: rgba(255,255,255,0.15);
}
.footer-bottom a { color: var(--gold); opacity: 0.6; }
.footer-bottom a:hover { opacity: 1; }

/* ========================================
   WA FLOAT
   ======================================== */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  width: 56px; height: 56px;
  background: var(--green-wa); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  transition: var(--transition);
  font-size: 24px;
  color: #fff;
}
.wa-float:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,211,102,0.45);
}

/* ========================================
   INVESTMENT OPPORTUNITIES
   ======================================== */
.invest-section {
  padding: 80px 40px;
  background: var(--warm);
}
.invest-inner { max-width: 1280px; margin: 0 auto; }
.invest-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 40px;
}
.invest-card {
  background: var(--white); border-radius: var(--radius-md);
  padding: 28px; border: 1px solid var(--border-light);
  transition: var(--transition); display: flex; flex-direction: column;
}
.invest-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.invest-card-tag {
  font-size: 11.5px; font-weight: 600; color: var(--gold-dark);
  margin-bottom: 10px;
}
.invest-card h3 {
  font-size: 1.15rem; margin-bottom: 8px; line-height: 1.3;
}
.invest-card p {
  font-size: 13.5px; color: var(--text-2); line-height: 1.6;
  margin-bottom: 16px; flex-grow: 1;
}
.invest-card-meta {
  display: flex; gap: 20px;
  padding-top: 16px; border-top: 1px solid var(--border-light);
  margin-bottom: 16px;
}
.invest-metric { display: flex; flex-direction: column; }
.im-num {
  font-family: 'Outfit'; font-size: 1.2rem;
  font-weight: 600; color: var(--navy);
}
.im-label { font-size: 11px; color: var(--text-3); margin-top: 1px; }
.invest-card-cta {
  font-size: 13px; font-weight: 600; color: var(--navy);
  transition: var(--transition);
}
.invest-card-cta:hover { color: var(--gold); }
.invest-disclaimer {
  font-size: 10.5px; color: var(--text-3); font-style: italic;
  margin-top: -8px; margin-bottom: 12px; opacity: 0.7;
}

/* ========================================
   LEAD MAGNET
   ======================================== */
.lead-magnet {
  padding: 0 40px;
  background: var(--white);
}
.lead-magnet-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; gap: 24px;
  padding: 32px 40px;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  border-radius: var(--radius-lg);
  position: relative; overflow: hidden;
}
.lead-magnet-inner::before {
  content: ''; position: absolute; inset: 0; opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 0v40M0 20h40' stroke='%23C4A265' stroke-width='.3' fill='none'/%3E%3C/svg%3E");
}
.lead-magnet-inner > * { position: relative; z-index: 2; }
.lm-icon { font-size: 2.4rem; flex-shrink: 0; }
.lm-content { flex-grow: 1; }
.lm-content h3 {
  font-size: 1.1rem; color: var(--white); font-weight: 500;
  margin-bottom: 4px;
}
.lm-content p { font-size: 13px; color: rgba(255,255,255,0.4); }
.lm-btn {
  flex-shrink: 0; padding: 12px 28px; border-radius: 50px;
  background: var(--gold); color: var(--white);
  font-size: 13.5px; font-weight: 700;
  transition: var(--transition); white-space: nowrap;
}
.lm-btn:hover {
  background: var(--gold-dark); transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(196,162,101,0.3);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-card:nth-child(4), .cat-card:nth-child(5) { display: none; }
  .prop-grid { grid-template-columns: repeat(2, 1fr); }
  .invest-grid { grid-template-columns: 1fr; }
  .trust-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .lead-magnet-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 768px) {
  .hero { padding: 120px 24px 60px; min-height: auto; }
  .header-top { padding: 14px 20px 0; }
  .header-nav {
    display: none; flex-direction: column; align-items: stretch;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: var(--navy-deep); z-index: 1002;
    padding: 100px 32px 40px; gap: 0;
    border-top: none;
    overflow-y: auto;
    min-height: 100vh; min-height: 100dvh;
  }
  .header-nav.nav-open { display: flex; }
  .header-nav .nav-link {
    font-size: 18px; padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.7);
  }
  .header-nav .nav-link.active { color: var(--gold); }
  .menu-toggle { display: block; position: relative; z-index: 1003; }
  .search-fields { grid-template-columns: 1fr; }
  .search-field::after { display: none; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .cat-card:nth-child(4), .cat-card:nth-child(5) { display: block; }
  .prop-grid { grid-template-columns: 1fr; }
  .zones-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 24px; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .categories, .featured, .zones, .trust, .cta-section, .footer { padding: 60px 24px; }
  .header-right .header-tel { display: none; }
}
@media (max-width: 768px) {
  .hero-stats { margin-top: 36px; }
  .search-box { margin-bottom: 8px; }
  .hero-tagline { margin-bottom: 28px; }
}

@media (max-width: 480px) {
  .cat-grid { grid-template-columns: 1fr; }
  .zones-grid { grid-template-columns: 1fr; }
  .trust-stats { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .cta-buttons { flex-direction: column; align-items: stretch; }
  /* Reduce section padding on very small screens */
  .categories, .featured, .zones, .trust, .cta-section, .footer { padding: 40px 16px; }
  .hero { padding: 100px 16px 50px; }
  /* Search box */
  .search-box { padding: 16px; }
  /* Footer gap */
  .footer-grid { gap: 24px; }
}

/* === PROPIEDAD === */
.fiscal-note strong { font-size: 13px; color: var(--navy); display: block; margin-bottom: 2px; }
.process-steps { display: flex; flex-direction: column; gap: 0; }
.process-step {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 16px 0; border-bottom: 1px solid var(--border-light);
}
.process-step:last-child { border-bottom: none; }
.step-num {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Outfit'; font-size: 1rem; font-weight: 600;
}
.process-step h4 { font-family: 'DM Sans'; font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.process-step p { font-size: 13px; color: var(--text-2); margin: 0; }
.price-currency { font-size: 0.6em; font-weight: 400; color: var(--text-3); font-family: 'DM Sans'; }
.prop-pillars { color: var(--gold); letter-spacing: 0.15em; }
.tech-table { width: 100%; border-collapse: collapse; }
.tech-table tr { border-bottom: 1px solid var(--border-light); }
.tech-table tr:last-child { border-bottom: none; }
.tech-table td { padding: 11px 0; font-size: 14px; }
.tech-table td:first-child { font-weight: 600; color: var(--text-2); width: 45%; }
.tech-table td:last-child { color: var(--text); }
/* === IMMERSIVE HERO === */
.prop-hero {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  height: 80vh;
  min-height: 520px;
  max-height: 800px;
  background-size: cover;
  background-position: center;
  background-color: var(--navy-deep);
  margin-top: -120px;
}
.prop-hero--no-photo {
  height: auto;
  min-height: unset;
  max-height: unset;
}
.prop-hero--no-photo .prop-hero-overlay {
  position: relative;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 50%, var(--navy-light) 100%);
  padding-top: 160px;
  padding-bottom: 48px;
}
.prop-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15,29,48,0.95) 0%,
    rgba(15,29,48,0.6) 35%,
    rgba(15,29,48,0.2) 60%,
    rgba(15,29,48,0.3) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 60px;
  padding-top: 140px;
  text-align: center;
}
.prop-hero-badge {
  position: absolute;
  top: 140px;
  left: 60px;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--gold);
  color: var(--navy-deep);
}
.prop-hero-badge.premium { background: linear-gradient(135deg, #C4A265, #E8D5A8); }
.prop-hero-badge.new { background: #25D366; color: #fff; }
.prop-hero-badge.opportunity { background: #DC2626; color: #fff; }
.prop-hero-scarcity {
  position: absolute;
  top: 140px;
  right: 60px;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(220,38,38,0.9);
  color: var(--white);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.7; } }
.prop-hero-content {
  max-width: 900px;
  width: 100%;
}
.prop-hero-breadcrumb {
  font-size: 12.5px;
  margin-bottom: 16px;
  opacity: 0.6;
}
.prop-hero-breadcrumb a {
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.prop-hero-breadcrumb a:hover { color: var(--white); }
.prop-hero-breadcrumb span { color: rgba(255,255,255,0.4); margin: 0 6px; }
.prop-hero-ref {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 10px;
  font-family: 'DM Sans', sans-serif;
}
.prop-hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 12px;
}
.prop-hero-location {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(255,255,255,0.7);
  font-size: 14.5px;
  margin-bottom: 28px;
}
.prop-hero-tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(196,162,101,0.15);
  color: var(--gold-light);
  border: 1px solid rgba(196,162,101,0.25);
}
.prop-hero-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.prop-hero-price {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.prop-hero-price span {
  font-size: 0.55em;
  font-weight: 400;
  opacity: 0.5;
  margin-left: 4px;
  font-family: 'DM Sans', sans-serif;
}
.prop-hero-price-usd {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  margin-top: 4px;
}
.prop-hero-specs {
  display: flex;
  gap: 24px;
}
.prop-hero-spec {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.prop-hero-spec-icon { font-size: 1.3rem; }
.prop-hero-spec-val {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
}
.prop-hero-spec-label {
  font-size: 10.5px;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.prop-hero-photos-btn {
  position: absolute;
  bottom: 24px;
  right: 40px;
  padding: 10px 22px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(15,29,48,0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  z-index: 2;
}
.prop-hero-photos-btn:hover {
  background: rgba(196,162,101,0.3);
  border-color: var(--gold);
}

/* === PHOTO STRIP === */
.photo-strip {
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 12px 40px;
  background: var(--navy-deep);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(196,162,101,0.3) transparent;
}
.photo-strip::-webkit-scrollbar { height: 6px; }
.photo-strip::-webkit-scrollbar-track { background: transparent; }
.photo-strip::-webkit-scrollbar-thumb { background: rgba(196,162,101,0.3); border-radius: 3px; }
.photo-strip-inner {
  display: flex;
  gap: 8px;
  width: max-content;
}
.photo-strip-item {
  width: 180px;
  height: 120px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  cursor: pointer;
  opacity: 0.7;
  transition: var(--transition);
}
.photo-strip-item:hover {
  opacity: 1;
  transform: scale(1.03);
}
.photo-strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* === LEGACY GALLERY (terreno page) === */
.gallery { padding-top: 0; max-width: 1280px; margin: 0 auto; padding-left: 40px; padding-right: 40px; }
.gallery-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 8px; border-radius: var(--radius-lg); overflow: hidden; height: 480px; }
.gallery-main { position: relative; overflow: hidden; cursor: pointer; background: linear-gradient(135deg, var(--navy), var(--navy-light)); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-side { display: grid; grid-template-rows: 1fr 1fr; gap: 8px; }
.gallery-thumb { position: relative; overflow: hidden; cursor: pointer; background: linear-gradient(135deg, var(--navy), var(--navy-light)); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 3rem; color: var(--gold); background: linear-gradient(135deg, var(--navy), var(--navy-light)); }
.gallery-badge { position: absolute; top: 16px; left: 16px; padding: 8px 20px; border-radius: 50px; font-size: 12px; font-weight: 700; background: var(--gold); color: var(--navy-deep); }
.gallery-count { position: absolute; bottom: 12px; right: 12px; padding: 6px 14px; border-radius: 50px; font-size: 12px; font-weight: 600; background: rgba(15,29,48,0.7); color: var(--white); backdrop-filter: blur(4px); }
.breadcrumb { max-width: 1280px; margin: 0 auto; padding: 16px 40px; font-size: 13px; color: var(--text-3); }
.breadcrumb a { color: var(--text-3); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--navy); }

/* === PROPERTY DETAIL LAYOUT === */
.property-layout { max-width: 1280px; margin: 0 auto; padding: 40px 40px 80px; display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: start; }
.prop-header { margin-bottom: 32px; }
.prop-header-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 12px; }
.prop-price-block { text-align: right; flex-shrink: 0; }
.prop-price-usd { font-size: 13px; color: var(--text-3); }
.prop-location-bar { display: flex; align-items: center; gap: 16px; color: var(--text-2); font-size: 14px; }
.prop-location-bar span { font-size: 16px; }
.specs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 40px; }
.prop-title { font-size: 1.8rem; margin-bottom: 4px; }
.prop-tag { display: inline-block; padding: 4px 12px; border-radius: 50px; font-size: 11.5px; font-weight: 600; background: var(--gold-muted); color: var(--gold-dark); border: 1px solid rgba(196,162,101,0.15); }
.spec-card { padding: 20px 16px; border-radius: var(--radius-md); background: var(--white); border: 1px solid var(--border-light); text-align: center; transition: var(--transition); }
.spec-card:hover { border-color: var(--gold); }
.spec-icon { font-size: 1.5rem; margin-bottom: 6px; }
.spec-val { font-family: 'Outfit', sans-serif; font-size: 1.25rem; font-weight: 600; color: var(--navy); }
.spec-label { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.content-section { margin-bottom: 40px; }
.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.feature-item { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: var(--radius-sm); background: var(--white); border: 1px solid var(--border-light); font-size: 14px; color: var(--text-2); font-weight: 500; transition: var(--transition); }
.feature-item:hover { border-color: var(--gold); transform: translateX(3px); }
.dist-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dist-card { padding: 20px; border-radius: var(--radius-md); background: var(--white); border: 1px solid var(--border-light); }
.dist-list { list-style: none; }
.dist-list li::before { content: '→'; color: var(--gold); font-weight: 700; font-size: 12px; }
.amen-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.amen-item { text-align: center; padding: 18px 12px; border-radius: var(--radius-md); background: var(--white); border: 1px solid var(--border-light); transition: var(--transition); }
.amen-item:hover { border-color: var(--gold); transform: translateY(-2px); }
.amen-icon { font-size: 1.5rem; margin-bottom: 4px; }
.amen-name { font-size: 12px; color: var(--text-2); font-weight: 500; }
.map-container { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border-light); }
.map-container iframe { width: 100%; height: 300px; border: 0; }
.invest-box { padding: 24px; border-radius: var(--radius-md); background: var(--navy-deep); margin-bottom: 40px; }
.invest-box h2 { color: var(--white); font-size: 1.3rem; margin-bottom: 16px; }
.invest-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 14px; }
.invest-met { text-align: center; }
.invest-met-num { font-family: 'Outfit', sans-serif; font-size: 1.5rem; font-weight: 600; color: var(--gold-light); }
.invest-met-label { font-size: 11.5px; color: rgba(255,255,255,0.45); margin-top: 2px; }
.sidebar { position: sticky; top: 120px; }
.contact-card { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border-light); overflow: hidden; margin-bottom: 20px; box-shadow: var(--shadow-md); }
.contact-card-header { padding: 24px; background: var(--navy-deep); text-align: center; }
.contact-card-header h3 { color: var(--white); font-family: 'Outfit', sans-serif; font-size: 1.3rem; margin-bottom: 6px; }
.contact-card-body { padding: 24px; }
.contact-form-group { margin-bottom: 14px; }
.contact-form-group label { display: block; font-size: 12px; font-weight: 600; color: var(--text-2); margin-bottom: 5px; }
.contact-form-group input,
.contact-form-group select,
.contact-form-group textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-family: 'DM Sans', sans-serif; font-size: 14px; color: var(--text); background: var(--white); transition: border-color 0.2s; }
.contact-form-group input:focus,
.contact-form-group select:focus,
.contact-form-group textarea:focus { border-color: var(--gold); outline: none; }
.contact-form-group textarea { resize: vertical; min-height: 80px; }
.contact-submit { width: 100%; padding: 13px; border: none; border-radius: var(--radius-sm); background: var(--navy); color: var(--white); font-family: 'DM Sans'; font-size: 14px; font-weight: 700; cursor: pointer; transition: var(--transition); }
.contact-submit:hover { background: var(--navy-light); }
.contact-divider { text-align: center; padding: 12px 0; font-size: 12px; color: var(--text-3); position: relative; }
.contact-divider::before, .contact-divider::after { content: ''; position: absolute; top: 50%; width: calc(50% - 20px); height: 1px; background: var(--border-light); }
.contact-divider::before { left: 0; }
.contact-divider::after { right: 0; }
.wa-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 13px; border-radius: var(--radius-sm); background: var(--green-wa); color: var(--white); font-size: 14px; font-weight: 700; transition: var(--transition); }
.wa-btn:hover { background: #1EBE5A; transform: translateY(-1px); }
.tel-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 11px; border-radius: var(--radius-sm); background: transparent; border: 1px solid var(--border); color: var(--text-2); font-size: 13px; font-weight: 600; margin-top: 10px; transition: var(--transition); }
.tel-btn:hover { border-color: var(--navy); color: var(--navy); }
.agent-card { background: var(--white); border-radius: var(--radius-md); border: 1px solid var(--border-light); padding: 20px; display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.agent-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--warm); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.agent-info h4 { font-size: 14px; font-family: 'DM Sans'; font-weight: 600; color: var(--navy); }
.agent-info p { font-size: 12px; color: var(--text-3); }
.safety-note { padding: 16px; border-radius: var(--radius-md); background: var(--off-white); border: 1px solid var(--border-light); font-size: 13px; color: var(--text-3); line-height: 1.6; margin-bottom: 20px; }
.safety-note strong { color: var(--text-2); display: block; margin-bottom: 4px; }
.similar { max-width: 1280px; margin: 0 auto; padding: 0 40px 80px; }
.similar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sim-card { background: var(--white); border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border-light); transition: var(--transition); }
.sim-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.sim-card-img { height: 180px; overflow: hidden; }
.sim-card-img img { width: 100%; height: 100%; object-fit: cover; }
.sim-card-body { padding: 16px; }
.sim-card-body h3 { font-size: 1rem; margin-bottom: 4px; }
.sim-card-type { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gold-dark); margin-bottom: 4px; }
.sim-card-loc { font-size: 12.5px; color: var(--text-3); margin-top: 4px; }
.sim-card-footer { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-top: 1px solid var(--border-light); }
.sim-card-price { font-family: 'Outfit', sans-serif; font-size: 1.1rem; font-weight: 600; color: var(--navy); }
.sim-card-cta { font-size: 12px; font-weight: 600; color: var(--gold-dark); }
.reco-box {
  margin-bottom: 40px; padding: 28px;
  border-radius: var(--radius-md);
  background: var(--warm); border: 1px solid var(--border-light);
}
.reco-grid { display: flex; flex-direction: column; gap: 16px; }
.reco-item { display: flex; gap: 14px; align-items: flex-start; }
.reco-item h4 { font-family: 'DM Sans'; font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.invest-profile-tags { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.mobile-cta { display: none; }
@media (max-width: 768px) {
  .mobile-cta {
    display: flex; gap: 10px;
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 990;
    padding: 12px 16px 16px;
    background: var(--white);
    border-top: 1px solid var(--border-light);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
  }
  .mobile-cta a {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
    padding: 14px 12px; border-radius: var(--radius-sm);
    font-size: 14px; font-weight: 700;
  }
  .mobile-cta .mcta-wa { background: var(--green-wa); color: var(--white); }
  .mobile-cta .mcta-tel { background: var(--navy); color: var(--white); }
  /* Add bottom padding so content doesn't hide behind sticky CTA */
  .property-layout { padding-bottom: 100px; }
  .similar { padding-bottom: 100px; }
}
@media (max-width: 1024px) {
  .property-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .prop-hero { height: 70vh; min-height: 450px; }
  .prop-hero--no-photo { height: auto; min-height: unset; }
  .prop-hero-overlay { padding: 40px; padding-top: 120px; }
  .prop-hero-badge { top: 120px; left: 40px; }
  .prop-hero-scarcity { top: 120px; right: 40px; }
  .gallery-grid { height: 360px; }
}
@media (max-width: 768px) {
  .prop-hero { height: 65vh; min-height: 380px; max-height: none; margin-top: -100px; }
  .prop-hero--no-photo { height: auto; min-height: unset; max-height: unset; }
  .prop-hero-overlay { padding: 16px; padding-top: 110px; }
  .prop-hero-badge { top: 110px; left: 16px; font-size: 11px; padding: 6px 14px; }
  .prop-hero-scarcity { top: 110px; right: 16px; font-size: 10px; padding: 6px 12px; }
  .prop-hero-title { font-size: 1.4rem; line-height: 1.3; }
  .prop-hero-bottom { flex-direction: column; align-items: center; gap: 16px; }
  .prop-hero-specs { gap: 12px; flex-wrap: wrap; justify-content: center; }
  .prop-hero-spec { font-size: 13px; }
  .prop-hero-photos-btn { bottom: 16px; right: 16px; font-size: 12px; padding: 8px 16px; }
  .photo-strip { padding: 10px 16px; }
  .photo-strip-item { width: 120px; height: 80px; }
  .prop-hero-breadcrumb { display: none; }
  .gallery { padding-left: 16px; padding-right: 16px; }
  .gallery-grid { grid-template-columns: 1fr; height: auto; }
  .gallery-main { height: 260px; }
  .gallery-side { grid-template-columns: 1fr 1fr; height: 120px; }
  .property-layout { padding: 20px 16px 60px; gap: 24px; }
  .prop-header-top { flex-direction: column; }
  .prop-price-block { text-align: left; }
  .prop-title { font-size: 1.4rem; }
  .prop-price { font-size: clamp(1.6rem, 6vw, 2rem); }
  .specs-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .spec-card { padding: 14px 10px; }
  .features-grid { grid-template-columns: 1fr; }
  .dist-grid { grid-template-columns: 1fr; }
  .amen-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .amen-item { padding: 14px 8px; }
  .invest-metrics { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .sidebar { grid-template-columns: 1fr; }
  .similar { padding: 0 16px 60px; }
  .similar-grid { grid-template-columns: 1fr; gap: 12px; }
  .breadcrumb { padding: 0 16px; }
  .tech-table td { font-size: 13px; padding: 9px 0; }
  .tech-table td:first-child { width: 42%; }
  .map-container iframe { height: 220px; }
  .content-section h2 { font-size: 1.1rem; }
}
@media (max-width: 480px) {
  .prop-hero { height: 58vh; min-height: 320px; }
  .prop-hero-overlay { padding-top: 100px; }
  .specs-grid { grid-template-columns: repeat(2, 1fr); }
  .amen-grid { grid-template-columns: repeat(2, 1fr); }
  .prop-hero-title { font-size: 1.2rem; }
}

/* === TERRENO === */
.prop-price-m2 { font-size: 13px; color: var(--gold-dark); font-weight: 600; }
.land-details { margin-bottom: 32px; }
.land-details h2 { font-size: 1.25rem; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border-light); }
.land-table { width: 100%; border-collapse: collapse; }
.land-table tr { border-bottom: 1px solid var(--border-light); }
.land-table tr:last-child { border-bottom: none; }
.land-table td { padding: 12px 0; font-size: 14px; }
.land-table td:first-child { font-weight: 600; color: var(--text-2); width: 40%; }
.land-table td:last-child { color: var(--text); }
.invest-context strong { color: var(--gold-light); }
.nearby-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.nearby-item { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: var(--radius-sm); background: var(--white); border: 1px solid var(--border-light); font-size: 14px; color: var(--text-2); font-weight: 500; transition: var(--transition); }
.nearby-icon { font-size: 1.1rem; flex-shrink: 0; }
.nearby-item:hover { border-color: var(--gold); }
.nearby-dist { margin-left: auto; font-size: 12px; color: var(--text-3); font-weight: 600; }
.build-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.build-card { padding: 18px; border-radius: var(--radius-md); background: var(--white); border: 1px solid var(--border-light); text-align: center; transition: var(--transition); }
.build-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.build-card-icon { font-size: 1.5rem; margin-bottom: 6px; }
.build-card h4 { font-family: 'DM Sans'; font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.build-card p { font-size: 12px; color: var(--text-3); }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 12px; font-weight: 600; color: var(--text-2); margin-bottom: 5px; }
.form-group input,
.form-group select,
.form-group textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-family: 'DM Sans', sans-serif; font-size: 14px; color: var(--text); background: var(--white); transition: border-color 0.2s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--gold); outline: none; }
.form-group textarea { resize: vertical; min-height: 70px; }
.form-submit { width: 100%; padding: 13px; border: none; border-radius: var(--radius-sm); background: var(--navy); color: var(--white); font-family: 'DM Sans'; font-size: 14px; font-weight: 700; cursor: pointer; transition: var(--transition); }
.form-submit:hover { background: var(--navy-light); }
.divider { text-align: center; padding: 12px 0; font-size: 12px; color: var(--text-3); position: relative; }
.divider::before, .divider::after { content: ''; position: absolute; top: 50%; width: calc(50% - 20px); height: 1px; background: var(--border-light); }
.divider::before { left: 0; }
.divider::after { right: 0; }
.infra-subtitle { font-size: 13px; color: var(--text-3); font-style: italic; margin-top: -8px; margin-bottom: 14px; }
@media (max-width: 768px) {
  .invest-context { grid-column: span 1; }
  .nearby-grid, .build-grid { grid-template-columns: 1fr; }
}

/* === LISTADO === */
.market-bar {
  display: flex; justify-content: center; gap: 40px;
  max-width: 1280px; margin: 0 auto; padding: 20px 40px;
  border-bottom: 1px solid var(--border-light);
}
.mb-item { display: flex; align-items: center; gap: 8px; }
.price-cur { font-size: 0.55em; font-weight: 400; color: var(--text-3); font-family: 'DM Sans'; }
.results-proof { color: var(--gold-dark); font-weight: 600; }
.seo-faq { background: var(--white); border-top: 1px solid var(--border-light); }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.faq-item { padding: 20px; border-radius: var(--radius-md); background: var(--off-white); border: 1px solid var(--border-light); }
.faq-item h4 { font-family: 'DM Sans'; font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.seo-cta:hover { background: var(--gold); }
@media (max-width: 768px) {
  .faq-grid { grid-template-columns: 1fr; }
}
.seo-content { background: var(--warm); border-top: 1px solid var(--border-light); }
.seo-inner { max-width: 900px; margin: 0 auto; padding: 48px 40px; }
.mobile-filter-btn { display: none; }
@media (max-width: 768px) {
  .market-bar { flex-wrap: wrap; gap: 16px; justify-content: space-around; padding: 16px; }
  .mb-item { flex-direction: column; text-align: center; gap: 2px; }
  .seo-inner { padding: 32px 16px; }
  .filters { display: none; }
  .listing-layout { grid-template-columns: 1fr; }
}
.page-hero {
  padding: 120px 40px 40px;
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
}
.page-hero-inner { max-width: 1280px; margin: 0 auto; }
.listing-layout {
  max-width: 1280px; margin: 0 auto;
  padding: 32px 40px 80px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}
.filters { position: sticky; top: 110px; }
.filters-card {
  background: var(--white); border-radius: var(--radius-md);
  border: 1px solid var(--border-light); padding: 24px;
}
.filters-title {
  font-family: 'DM Sans'; font-size: 14px; font-weight: 700;
  color: var(--navy); margin-bottom: 20px;
  display: flex; align-items: center; gap: 8px;
}
.filter-group { margin-bottom: 20px; }
.filter-group:last-child { margin-bottom: 0; }
.filter-group select:focus,
.filter-group input:focus { border-color: var(--gold); }
.price-range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.filters-close { display: none; }
.filter-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-tag {
  padding: 5px 12px; border-radius: 50px; font-size: 12px; font-weight: 600;
  border: 1px solid var(--border); color: var(--text-2);
  cursor: pointer; transition: var(--transition); background: var(--white);
}
.filter-tag:hover { border-color: var(--gold); color: var(--gold-dark); }
.filter-btn:hover { background: var(--navy-light); }
.filter-reset:hover { color: var(--navy); }
.results {}
.results-bar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.results-count { font-size: 14px; color: var(--text-2); }
.results-count strong { color: var(--navy); font-weight: 700; }
.results-sort { display: flex; align-items: center; gap: 8px; }
.results-sort label { font-size: 12px; color: var(--text-3); font-weight: 600; }
.results-view { display: flex; gap: 4px; }
.view-btn {
  width: 32px; height: 32px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--white);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 14px; transition: var(--transition);
}
.pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 6px; margin-top: 32px;
}
.page-btn {
  width: 38px; height: 38px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--white);
  font-family: 'DM Sans'; font-size: 13px; font-weight: 600;
  color: var(--text-2); cursor: pointer; transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.page-btn:hover { border-color: var(--navy); color: var(--navy); }
.page-dots { font-size: 13px; color: var(--text-3); padding: 0 4px; }
.cta-banner {
  margin-top: 40px; padding: 28px; border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.cta-banner-btn {
  padding: 11px 24px; border-radius: 50px;
  background: var(--gold); color: var(--white);
  font-size: 13px; font-weight: 700; white-space: nowrap;
  transition: var(--transition);
}
.cta-banner-btn:hover { background: var(--gold-dark); }
@media (max-width: 768px) {
  .listing-layout { grid-template-columns: 1fr; padding: 20px 16px 60px; }
  .filters { position: static; }
  .page-hero { padding: 100px 16px 24px; }
  .page-hero h1 { font-size: clamp(1.4rem, 5vw, 2rem); }
  .cta-banner { flex-direction: column; text-align: center; }
  .results-bar { flex-direction: column; gap: 10px; align-items: flex-start; }
  .market-bar { gap: 12px; padding: 12px 16px; }
  .prop-card-img { height: 200px; }
}

/* === CONTACTO === */
.cs-item { text-align: center; }
.cs-num { font-family: 'Outfit'; font-size: 1.8rem; font-weight: 600; color: var(--navy); }
.cs-label { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.cs-proof { width: 100%; text-align: center; font-size: 12px; color: var(--text-3); font-style: italic; margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--border-light); }
.form-confirm {
  text-align: center; font-size: 13px; color: var(--gold-dark);
  font-weight: 600; margin-top: 8px;
}
@media (max-width: 768px) {
  .contact-stats { flex-direction: column; gap: 16px; padding: 20px; margin: -24px 16px 0; }
  .contact-hero h1 { font-size: clamp(1.4rem, 5vw, 2rem); }
}
.form-card {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); border: 1px solid var(--border-light);
  padding: 36px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-note { font-size: 12px; color: var(--text-3); margin-top: 12px; text-align: center; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.quick-card {
  padding: 24px; border-radius: var(--radius-md);
  background: var(--white); border: 1px solid var(--border-light);
  transition: var(--transition); display: flex; align-items: center; gap: 16px;
}
.quick-card:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.quick-card h4 { font-family: 'DM Sans'; font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.quick-card p { font-size: 13px; color: var(--text-3); }
.quick-card .quick-link { font-size: 13px; font-weight: 600; color: var(--gold-dark); margin-top: 2px; display: inline-block; }
.info-card {
  padding: 24px; border-radius: var(--radius-md);
  background: var(--white); border: 1px solid var(--border-light);
}
.map-card { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border-light); }
.map-card iframe { width: 100%; height: 200px; border: 0; }
.promise {
  max-width: 1100px; margin: 0 auto; padding: 0 40px 60px;
}
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.promise-item {
  padding: 24px; border-radius: var(--radius-md);
  background: var(--white); border: 1px solid var(--border-light);
  text-align: center; transition: var(--transition);
}
.promise-item:hover { border-color: var(--gold); }
.promise-item h4 { font-family: 'DM Sans'; font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.faq {
  max-width: 1100px; margin: 0 auto; padding: 0 40px 80px;
}
@media (max-width: 768px) {
  .contact-layout { grid-template-columns: 1fr; padding: 0 16px 60px; margin-top: -24px; }
  .form-row { grid-template-columns: 1fr; }
  .promise-grid { grid-template-columns: 1fr; }
  .faq, .promise { padding-left: 16px; padding-right: 16px; }
}

/* ========================================
   HAMBURGER → X ANIMATION
   ======================================== */
.menu-toggle.menu-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.menu-open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.menu-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ========================================
   SKIP TO CONTENT (Accessibility)
   ======================================== */
.skip-link {
  position: absolute; top: -100px; left: 16px;
  background: var(--navy); color: var(--white);
  padding: 12px 24px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600; z-index: 10000;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

/* ========================================
   FOCUS STYLES (Accessibility)
   ======================================== */
*:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
/* Remove default outline for mouse users */
:focus:not(:focus-visible) {
  outline: none;
}

/* ========================================
   CONTRAST FIXES (WCAG AA)
   ======================================== */
.header-tel { color: rgba(255,255,255,0.7); }
.nav-link { color: rgba(255,255,255,0.7); }
.hero-sub { color: rgba(255,255,255,0.6); }
.hero-stat-label { color: rgba(255,255,255,0.60); }
.hero-social-proof { color: rgba(255,255,255,0.60); }
.trust-intl { color: rgba(255,255,255,0.60); }
.trust-stat-label { color: rgba(255,255,255,0.65); }
.trust-stat-desc { color: rgba(255,255,255,0.55); }
.footer-brand p { color: rgba(255,255,255,0.60); }
.footer-col a { color: rgba(255,255,255,0.65); }
.footer-contact-item { color: rgba(255,255,255,0.65); }
.footer-bottom { color: rgba(255,255,255,0.50); }
.lm-content p { color: rgba(255,255,255,0.55); }
.cta-banner-text p { color: rgba(255,255,255,0.55); }
.contact-card-header p { color: rgba(255,255,255,0.55); }

/* ========================================
   NAV DROPDOWN
   ======================================== */
.has-dropdown { position: relative; list-style: none; }
.has-dropdown > .nav-link { display: inline-flex; align-items: center; gap: 4px; }
.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 8px;
  background: transparent;
  border: none;
  border-radius: 0;
  min-width: 170px;
  z-index: 200;
  list-style: none;
  margin: 0;
}
.nav-dropdown::before {
  content: '';
  display: block;
  position: absolute;
  top: 8px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,.10);
  z-index: -1;
}
.has-dropdown:hover .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown { display: block; }
.nav-dropdown li { padding: 0; }
.nav-dropdown a {
  display: block;
  padding: 9px 16px;
  color: var(--navy);
  font-size: .875rem;
  font-weight: 500;
  text-decoration: none;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.nav-dropdown a:hover { background: #f9fafb; color: var(--gold); }
@media (max-width: 768px) {
  .has-dropdown { display: block; }
  .has-dropdown > .nav-link { width: 100%; }
  .nav-dropdown { display: block; position: static; box-shadow: none; border: none; border-top: none; padding: 0; background: transparent; min-width: 0; border-radius: 0; }
  .nav-dropdown li { list-style: none; }
  .nav-dropdown a { padding: 10px 28px; color: rgba(255,255,255,0.65); font-size: .875rem; background: transparent; font-weight: 400; }
  .nav-dropdown a:hover { color: var(--gold); background: transparent; }
}

/* ========================================
   MOBILE FILTER OVERLAY
   ======================================== */
@media (max-width: 768px) {
  .filters.filters-open {
    display: block !important;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1000; background: var(--off-white);
    padding: 24px 20px 100px; overflow-y: auto;
    animation: slideUp 0.3s ease;
  }
  .filters.filters-open .filters-card {
    max-width: 480px; margin: 0 auto;
  }
  .filters-close {
    display: none;
    width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid var(--border); background: var(--white);
    font-size: 18px; color: var(--text-2); cursor: pointer;
    position: absolute; top: 16px; right: 16px;
    transition: var(--transition); z-index: 1001;
  }
  .filters.filters-open .filters-close,
  .filters-open .filters-close {
    display: flex; align-items: center; justify-content: center;
    position: fixed; top: 16px; right: 16px;
  }
  .filters-close:hover { border-color: var(--navy); color: var(--navy); }
  .mobile-filter-btn {
    display: flex; position: fixed; bottom: 24px; left: 50%;
    transform: translateX(-50%); z-index: 998;
    padding: 12px 24px; border-radius: 50px;
    background: var(--navy); color: var(--white);
    font-size: 13px; font-weight: 700;
    box-shadow: 0 4px 20px rgba(27,46,75,0.3);
    gap: 6px; align-items: center;
    border: none; cursor: pointer;
  }
}
@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ========================================
   LIGHTBOX
   ======================================== */
.lightbox-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.92);
  display: flex; align-items: center; justify-content: center;
  animation: fadeIn 0.25s ease;
}
.lightbox-img {
  max-width: 90vw; max-height: 85vh;
  border-radius: 8px; object-fit: contain;
  user-select: none; -webkit-user-select: none;
}
.lightbox-close {
  position: absolute; top: 20px; right: 20px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15);
  color: white; font-size: 20px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }
.lightbox-counter {
  position: absolute; top: 24px; left: 50%;
  transform: translateX(-50%);
  font-family: 'DM Sans', sans-serif; font-size: 14px;
  color: rgba(255,255,255,0.5); font-weight: 500;
}
.lightbox-prev,
.lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  color: white; font-size: 28px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,0.18); }
@media (max-width: 768px) {
  .lightbox-prev, .lightbox-next { display: none; }
  .lightbox-img { max-width: 95vw; max-height: 80vh; border-radius: 4px; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ========================================
   MOBILE-FIRST — Global patches
   Toutes les règles < 768px qui complètent
   ou corrigent les media queries existantes.
   NE PAS modifier le desktop (>= 768px).
   ======================================== */

/* ── 1. Anti-zoom iOS : font-size 16px minimum sur tous les inputs ── */
@media (max-width: 767px) {
  input, select, textarea {
    font-size: 16px !important;
  }
}

/* ── 2. Header : masquer tel + CTA WhatsApp sur mobile ── */
/* .header-tel déjà masqué dans le bloc @768px existant,
   on cible ici .header-cta qui ne l'était pas */
@media (max-width: 767px) {
  .header-cta { display: none !important; }
}

/* ── 3. Nav burger : liens tel + WA dans le panel ── */
/* Ajoutés via .nav-mobile-extras (injecté dans header.php) */
@media (min-width: 768px) {
  .nav-mobile-extras { display: none; }
}
@media (max-width: 767px) {
  .nav-mobile-extras {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .nav-mobile-tel {
    display: flex; align-items: center; justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.75);
    font-size: 16px; font-weight: 600;
    text-decoration: none;
  }
  .nav-mobile-wa {
    display: flex; align-items: center; justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 12px;
    background: var(--green-wa);
    color: #fff;
    font-size: 16px; font-weight: 700;
    text-decoration: none;
  }
}

/* ── 4. Sections : réduire padding sur mobile ── */
@media (max-width: 767px) {
  .categories,
  .featured,
  .zones,
  .trust,
  .cta-section { padding: 48px 16px !important; }

  .footer { padding: 48px 16px 20px !important; }

  /* Titres responsifs */
  h1 { font-size: clamp(1.6rem, 6vw, 2.2rem) !important; }
  h2 { font-size: clamp(1.3rem, 5vw, 1.8rem) !important; }

  /* Containers internes */
  .categories-inner,
  .featured-inner,
  .zones-inner,
  .trust-inner { padding: 0 !important; }
}

/* ── 5. Hero homepage : CTAs stack vertical + stats ── */
@media (max-width: 767px) {
  .hero-photo-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .hero-cta-primary,
  .hero-cta-secondary {
    text-align: center;
    justify-content: center;
    width: 100%;
  }
  .hero-photo-stats {
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }
  .hero-photo-stat { flex: 1; min-width: 100px; }
  .hero-photo-stat-num { font-size: 1.5rem; }
}

/* ── 6. Cat grid : 2 colonnes sur mobile, afficher toutes les cartes ── */
@media (max-width: 767px) {
  .cat-grid { grid-template-columns: 1fr 1fr !important; }
  .cat-card:nth-child(4),
  .cat-card:nth-child(5) { display: flex !important; }
}

/* ── 7. Props grid : 1 colonne sur mobile ── */
@media (max-width: 767px) {
  .prop-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
  .prop-card-img { height: 220px !important; }
  .prop-card-body { padding: 16px !important; }
  .prop-price { font-size: 1.3rem !important; }
}

/* ── 8. Trust section : 1 colonne ── */
@media (max-width: 767px) {
  .trust-inner { grid-template-columns: 1fr !important; gap: 32px !important; }
  .trust-stats { grid-template-columns: 1fr 1fr !important; }
}

/* ── 9. Footer : 1 colonne ── */
@media (max-width: 767px) {
  .footer-grid { grid-template-columns: 1fr !important; gap: 28px !important; }
}

/* ── 10. WA float : ajustements mobile ── */
@media (max-width: 767px) {
  .wa-float {
    bottom: 20px;
    right: 16px;
    width: 50px;
    height: 50px;
    font-size: 22px;
  }
  /* Sur la page propiedad, .mobile-cta fixe occupe ~72px en bas.
     body.page-propiedad est défini dans pages/propiedad.php via $body_class */
  .page-propiedad .wa-float {
    bottom: 88px;
  }
}

/* ── 11. Listado : inputs drawer font-size 16px ── */
/* Déjà couvert par la règle globale input/select/textarea ci-dessus,
   mais on s'assure que le drawer est scrollable */
@media (max-width: 767px) {
  .lst-filter-drawer-content {
    padding-bottom: 40px;
    -webkit-overflow-scrolling: touch;
  }
  /* Bouton filtre flottant : hauteur par défaut */
  .lst-mobile-filter-btn {
    bottom: 24px !important;
  }
  /* Résultats count : padding cohérent */
  .lst-results { padding: 12px 16px 0 !important; }
  /* Grid listado 1 col */
  .lst-grid {
    grid-template-columns: 1fr !important;
    padding: 0 16px 80px !important;
    gap: 16px !important;
  }
  .lst-header { padding: 16px 16px 0 !important; }
}

/* ── 12. Formulaire contacto : form-row 1 col + font-size ── */
/* Déjà géré dans le bloc @768px existant (ligne ~1514),
   on complète avec padding-bottom pour éviter que le contenu
   ne soit caché par d'éventuelles barres de nav mobiles */
@media (max-width: 767px) {
  .contact-layout { padding-bottom: 40px !important; }
  .form-card { padding: 24px 16px !important; }
  .contact-hero { padding: 100px 16px 32px !important; }
}

/* ── 13. Zones grid : 2 colonnes ── */
@media (max-width: 767px) {
  .zones-grid { grid-template-columns: 1fr 1fr !important; }
}

/* ── 14. Section header : stack sur mobile ── */
@media (max-width: 767px) {
  .section-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
    margin-bottom: 24px !important;
  }
}

/* ── 15. Propiedad : body padding-bottom pour mobile-cta ── */
/* .property-layout a déjà padding-bottom:100px via règle existante */

/* ── 16. Wizard CTA section homepage ── */
@media (max-width: 767px) {
  .wizard-cta-section { padding: 48px 16px !important; }
  .wizard-cta-steps { flex-wrap: wrap; gap: 16px; justify-content: center; }
}

/* ── 17. CTA buttons section homepage ── */
@media (max-width: 767px) {
  .cta-buttons {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }
  .cta-buttons .btn { text-align: center; justify-content: center; }
}
