/* ═══════════════════════════════════════════════════════════════
   Carmen Candela · RE/MAX URUS · Landing Page
   styles.css
   ═══════════════════════════════════════════════════════════════ */

/* ── 1. VARIABLES ─────────────────────────────────────────────── */
:root {
  --navy:       #003087;
  --navy-light: #0a3d9e;
  --red:        #E31837;
  --red-dark:   #c41430;
  --white:      #fafaf8;
  --warm-gray:  #f2f0eb;
  --text:       #1a1a2a;
  --muted:      #6b6b7b;
  --green-wa:   #25D366;
  --green-wa-dark: #1da851;

  --radius-sm:  3px;
  --radius-md:  6px;
  --shadow-sm:  0 2px 20px rgba(0,0,0,.05);
  --shadow-md:  0 8px 40px rgba(0,0,0,.1);
  --shadow-lg:  0 20px 60px rgba(0,0,0,.15);

  --transition: 0.25s ease;
}

/* ── 2. RESET ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
}
img   { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }
a  { color: inherit; }

/* ── 3. NAV ───────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 60px;
  background: rgba(0,48,135,.96);
  backdrop-filter: blur(12px);
  transition: padding var(--transition);
}
nav.scrolled { padding: 14px 60px; }

.nav-logo {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: white;
  letter-spacing: .04em;
  text-decoration: none;
}
.nav-logo span { color: var(--red); }
.nav-divider   { width: 1px; height: 28px; background: rgba(255,255,255,.2); }

.remax-badge    { display: flex; flex-direction: column; align-items: center; gap: 1px; }
.remax-wordmark { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: .95rem; letter-spacing: .08em; line-height: 1; }
.remax-wordmark .r { color: var(--red); }
.remax-wordmark .slash, .remax-wordmark .max { color: white; }
.remax-sub { font-size: .52rem; font-weight: 600; letter-spacing: .22em; color: rgba(255,255,255,.5); text-transform: uppercase; }

.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,.82);
  text-decoration: none;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color var(--transition);
}
.nav-links a:hover { color: white; }
.nav-cta {
  background: var(--red) !important;
  color: white !important;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
  transition: background var(--transition) !important;
}
.nav-cta:hover { background: var(--red-dark) !important; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  z-index: 110;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── 4. HERO ──────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  background: var(--navy);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg, transparent, transparent 40px,
    rgba(255,255,255,.025) 40px, rgba(255,255,255,.025) 41px
  );
  pointer-events: none;
}
.hero-left {
  padding: 120px 60px 80px 80px;
  position: relative;
  z-index: 2;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 100px;
  padding: 8px 18px;
  margin-bottom: 36px;
}
.hero-badge-dot {
  width: 7px; height: 7px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.hero-badge span {
  color: rgba(255,255,255,.7);
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 500;
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.2rem, 5vw, 5.5rem);
  font-weight: 300;
  color: white;
  line-height: 1.05;
  margin-bottom: 12px;
  letter-spacing: -.01em;
}
.hero-title em {
  font-style: italic;
  color: rgba(255,255,255,.6);
  display: block;
  font-size: .55em;
  letter-spacing: .02em;
  margin-bottom: 6px;
}
.hero-subtitle {
  color: rgba(255,255,255,.55);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 420px;
  margin: 24px 0 44px;
  font-weight: 300;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: white;
  text-decoration: none;
  padding: 16px 36px;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: none;
  transition: background var(--transition), transform .15s;
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn-primary.btn-sm { padding: 12px 24px; font-size: .78rem; }

.btn-secondary {
  display: inline-block;
  border: 1px solid rgba(255,255,255,.3);
  color: rgba(255,255,255,.8);
  text-decoration: none;
  padding: 16px 36px;
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), color var(--transition);
}
.btn-secondary:hover { border-color: white; color: white; }

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: white;
  line-height: 1;
}
.stat-label {
  font-size: .72rem;
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-top: 4px;
}

.hero-right {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 80px 60px 0 0;
  position: relative;
  z-index: 2;
}
.hero-photo-wrap { position: relative; width: 480px; max-width: 90%; }
.hero-photo-wrap::before {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 85%; height: 70%;
  background: linear-gradient(to top, rgba(227,24,55,.15), transparent);
  border-radius: 300px 300px 0 0;
}
.hero-photo-wrap img {
  width: 100%;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,.4));
}

/* ── 5. SECTIONS SHARED ───────────────────────────────────────── */
section { padding: 100px 80px; }
.section-tag {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-tag::before {
  content: '';
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--red);
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 3.5vw, 3.5rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--text);
  letter-spacing: -.01em;
}
.section-title em { font-style: italic; color: var(--navy); }

/* ── 6. SOBRE ─────────────────────────────────────────────────── */
#sobre {
  background: var(--warm-gray);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.sobre-text p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-top: 28px;
  font-weight: 300;
}
.sobre-text p strong { color: var(--text); font-weight: 500; }

.sobre-card {
  background: white;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 4px 40px rgba(0,0,0,.06);
}
.sobre-card-header {
  background: var(--navy);
  padding: 32px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.sobre-photo {
  width: 80px; height: 80px;
  border-radius: 50%;
  border: 3px solid var(--red);
  object-fit: cover;
}
.sobre-card-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  color: white;
  font-weight: 400;
}
.sobre-card-role {
  color: rgba(255,255,255,.55);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: 3px;
}
.sobre-card-body { padding: 32px; }
.sobre-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0,0,0,.05);
}
.sobre-item:last-child { border-bottom: none; }
.sobre-item-icon {
  width: 36px; height: 36px;
  background: rgba(0,48,135,.07);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}
.sobre-item-label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  margin-bottom: 2px;
  font-weight: 500;
}
.sobre-item-value { font-size: .95rem; color: var(--text); font-weight: 500; }

/* ── 7. SERVICIOS ─────────────────────────────────────────────── */
#servicios { background: white; }
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.servicio-card {
  border: 1px solid rgba(0,0,0,.08);
  border-radius: var(--radius-sm);
  padding: 40px 32px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.servicio-card:hover {
  border-color: var(--navy);
  box-shadow: 0 8px 40px rgba(0,48,135,.1);
  transform: translateY(-4px);
}
.servicio-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 300;
  color: rgba(0,48,135,.1);
  line-height: 1;
  margin-bottom: 20px;
}
.servicio-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}
.servicio-desc {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 300;
}
.servicio-line {
  width: 32px;
  height: 2px;
  background: var(--red);
  margin-top: 28px;
  transition: width .3s;
}
.servicio-card:hover .servicio-line { width: 56px; }

/* ── 8. PROPIEDADES ───────────────────────────────────────────── */
#propiedades { background: var(--warm-gray); }

.props-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
}

/* Filtros */
.filters-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-end;
  background: white;
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.filter-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
  min-width: 140px;
}
.filter-label {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.filter-select,
.filter-input {
  border: 1px solid rgba(0,0,0,.12);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: .88rem;
  color: var(--text);
  background: var(--white);
  outline: none;
  appearance: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.filter-select:focus,
.filter-input:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(0,48,135,.08);
}
.filter-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b6b7b' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 16px; padding-right: 32px; }

.filter-reset {
  background: none;
  border: 1px solid rgba(0,0,0,.12);
  color: var(--muted);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: .8rem;
  font-weight: 500;
  white-space: nowrap;
  align-self: flex-end;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.filter-reset:hover,
.filter-reset.active {
  border-color: var(--red);
  color: var(--red);
}

.props-count {
  font-size: .8rem;
  color: var(--muted);
  margin-bottom: 20px;
  font-weight: 500;
  letter-spacing: .04em;
}

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

/* Card */
.prop-card {
  background: white;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.prop-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.prop-img {
  height: 210px;
  background: linear-gradient(135deg, #cdd5e0 0%, #a8b4c8 100%);
  position: relative;
  overflow: hidden;
}
.prop-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.prop-card:hover .prop-img img { transform: scale(1.04); }
.prop-img--fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}
.prop-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--navy);
  color: white;
  font-size: .65rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 100px;
  letter-spacing: .06em;
  text-transform: uppercase;
  z-index: 2;
}
.prop-tag.venta { background: var(--red); }

.prop-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.prop-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
  line-height: 1;
}
.prop-name {
  font-size: .9rem;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 6px;
  line-height: 1.3;
}
.prop-zone {
  font-size: .78rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 4px;
}
.prop-details {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(0,0,0,.06);
}
.prop-detail {
  font-size: .75rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 4px;
}
.prop-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 16px;
}
.prop-actions:has(.prop-btn:only-child),
.prop-actions .prop-btn:only-child {
  grid-column: 1 / -1;
}

.prop-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-decoration: none;
  border: none;
  transition: background var(--transition), transform .15s;
  white-space: nowrap;
}
.prop-btn:hover { transform: translateY(-1px); }

.prop-btn--whatsapp {
  background: var(--green-wa);
  color: white;
}
.prop-btn--whatsapp:hover { background: var(--green-wa-dark); }

.prop-btn--video {
  background: var(--navy);
  color: white;
}
.prop-btn--video:hover { background: var(--navy-light); }

/* Loading state */
.props-loading {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 60px 0;
  color: var(--muted);
  font-size: .9rem;
}
.loading-spinner {
  width: 36px; height: 36px;
  border: 3px solid rgba(0,48,135,.12);
  border-top-color: var(--navy);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}

/* Empty state */
.props-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
}
.props-empty-icon { font-size: 3rem; margin-bottom: 16px; }
.props-empty h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 8px;
}
.props-empty p { font-size: .9rem; margin-bottom: 24px; }

/* ── 9. MODAL ─────────────────────────────────────────────────── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.modal.open {
  opacity: 1;
  pointer-events: all;
}
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.78);
  backdrop-filter: blur(4px);
}
.modal-container {
  position: relative;
  z-index: 1;
  background: white;
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 560px;
  overflow: hidden;
  transform: translateY(20px) scale(.97);
  transition: transform .3s ease;
  box-shadow: 0 40px 80px rgba(0,0,0,.4);
}
.modal.open .modal-container {
  transform: translateY(0) scale(1);
}
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 10;
  background: rgba(0,0,0,.4);
  border: none;
  color: white;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.modal-close:hover { background: rgba(0,0,0,.65); }

.modal-header {
  background: var(--navy);
  padding: 20px 24px 16px;
}
.modal-property-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  color: white;
  font-weight: 400;
}
.modal-property-loc {
  font-size: .78rem;
  color: rgba(255,255,255,.55);
  margin-top: 4px;
}

.modal-body {
  width: 100%;
  max-height: 70vh;
  overflow-y: auto;
  background: #000;
  display: flex;
  justify-content: center;
}
#modal-video-container {
  width: 100%;
  display: flex;
  justify-content: center;
}
#modal-video-container .tiktok-embed {
  margin: 0 auto;
}

.modal-footer {
  padding: 14px 20px;
  background: var(--warm-gray);
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.modal-wa-btn,
.modal-tiktok-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-size: .82rem;
  font-weight: 600;
  transition: background var(--transition), transform .15s;
}
.modal-wa-btn     { background: var(--green-wa); color: white; }
.modal-wa-btn:hover { background: var(--green-wa-dark); transform: translateY(-1px); }
.modal-tiktok-btn { background: #010101; color: white; }
.modal-tiktok-btn:hover { background: #333; transform: translateY(-1px); }

/* ── 10. TESTIMONIOS ──────────────────────────────────────────── */
#testimonios { background: var(--navy); overflow: hidden; }
#testimonios .section-title { color: white; }
#testimonios .section-tag { color: rgba(255,255,255,.5); }
#testimonios .section-tag::before { background: rgba(255,255,255,.3); }

.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.testimonio-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-sm);
  padding: 36px 32px;
  transition: background var(--transition);
}
.testimonio-card:hover { background: rgba(255,255,255,.09); }
.stars { color: var(--red); font-size: .9rem; margin-bottom: 20px; letter-spacing: 2px; }
.testimonio-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: rgba(255,255,255,.85);
  line-height: 1.6;
  font-style: italic;
  font-weight: 300;
  margin-bottom: 28px;
  border: none;
  padding: 0;
}
.testimonio-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(227,24,55,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--red);
  flex-shrink: 0;
}
.author-name { font-size: .85rem; color: white; font-weight: 500; }
.author-label { font-size: .72rem; color: rgba(255,255,255,.4); margin-top: 2px; }

/* ── 11. ZONAS ────────────────────────────────────────────────── */
#zonas { background: white; }
.zonas-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 56px;
}
.zona-map {
  background: var(--warm-gray);
  border-radius: var(--radius-sm);
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.zona-map::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 24px, rgba(0,48,135,.04) 24px, rgba(0,48,135,.04) 25px),
    repeating-linear-gradient(90deg, transparent, transparent 24px, rgba(0,48,135,.04) 24px, rgba(0,48,135,.04) 25px);
}
.zona-map-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  width: 100%;
  height: 100%;
}
.zona-map-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  color: rgba(0,48,135,.5);
  font-weight: 400;
  margin-top: 40px;
}
.zona-map-subtitle {
  font-size: .72rem;
  color: rgba(0,48,135,.35);
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-top: 6px;
}
.zona-map-dots { position: absolute; inset: 0; }
.map-dot {
  position: absolute;
  width: 10px; height: 10px;
  background: var(--red);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 0 rgba(227,24,55,.5);
  animation: dot-pulse 2.5s infinite;
}
.map-dot:nth-child(2) { animation-delay: .4s; }
.map-dot:nth-child(3) { animation-delay: .8s; }
.map-dot:nth-child(4) { animation-delay: 1.2s; }
.map-dot:nth-child(5) { animation-delay: 1.6s; }
.map-dot:nth-child(6) { animation-delay: 2s; }

.zonas-list { display: flex; flex-direction: column; gap: 12px; }
.zona-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  border: 1px solid rgba(0,0,0,.07);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), background var(--transition);
}
.zona-item:hover {
  border-color: var(--navy);
  background: rgba(0,48,135,.02);
}
.zona-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}
.zona-name { font-size: .95rem; font-weight: 500; color: var(--text); }
.zona-sub { font-size: .78rem; color: var(--muted); margin-top: 1px; }
.zona-arrow {
  margin-left: auto;
  color: rgba(0,48,135,.25);
  font-size: 1rem;
  transition: transform var(--transition), color var(--transition);
}
.zona-item:hover .zona-arrow { transform: translateX(4px); color: var(--navy); }

/* ── 12. CONTACTO ─────────────────────────────────────────────── */
#contacto {
  background: var(--warm-gray);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contacto-info p {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.8;
  margin-top: 24px;
  font-weight: 300;
}
.contacto-channels {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 36px;
}
.channel {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  padding: 16px 20px;
  background: white;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0,0,0,.06);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.channel:hover {
  border-color: var(--navy);
  box-shadow: 0 4px 20px rgba(0,48,135,.08);
}
.channel-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.channel-icon.whatsapp { background: rgba(37,211,102,.12); }
.channel-icon.phone    { background: rgba(0,48,135,.08); }
.channel-icon.email    { background: rgba(227,24,55,.08); }
.channel-label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  font-weight: 500;
}
.channel-value { font-size: .9rem; font-weight: 500; color: var(--text); margin-top: 1px; }

.contacto-form {
  background: white;
  border-radius: var(--radius-sm);
  padding: 44px;
  box-shadow: 0 4px 40px rgba(0,0,0,.06);
}
.form-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 32px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.form-group input,
.form-group select,
.form-group textarea {
  border: 1px solid rgba(0,0,0,.12);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: .9rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  resize: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(0,48,135,.08);
}
.form-group textarea { height: 100px; }
.form-submit {
  width: 100%;
  background: var(--navy);
  color: white;
  border: none;
  padding: 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  margin-top: 8px;
  transition: background var(--transition), transform .15s;
}
.form-submit:hover:not(:disabled) { background: var(--navy-light); transform: translateY(-1px); }
.form-submit:disabled { opacity: .7; cursor: not-allowed; }

.form-success {
  text-align: center;
  padding: 32px 24px;
}
.form-success-icon { font-size: 2.5rem; margin-bottom: 12px; }
.form-success h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  margin-bottom: 8px;
}
.form-success p { font-size: .95rem; color: var(--muted); line-height: 1.6; }

/* ── 13. FOOTER ───────────────────────────────────────────────── */
footer {
  background: var(--text);
  padding: 48px 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: rgba(255,255,255,.7);
  font-weight: 400;
}
.footer-brand strong { color: white; }
.footer-copy { font-size: .75rem; color: rgba(255,255,255,.3); letter-spacing: .04em; }
.footer-remax { display: flex; align-items: center; gap: 12px; }
.footer-remax-logo {
  background: white;
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}
.footer-remax-logo .fw { font-family: 'DM Sans', sans-serif; font-weight: 800; font-size: 1rem; letter-spacing: .06em; line-height: 1; }
.footer-remax-logo .fr { color: var(--red); }
.footer-remax-logo .fm { color: var(--navy); }
.footer-remax-logo .fu { font-size: .48rem; font-weight: 700; letter-spacing: .25em; color: var(--navy); text-transform: uppercase; }
.footer-remax-text { font-size: .75rem; color: rgba(255,255,255,.4); }

/* ── 14. WHATSAPP FAB ─────────────────────────────────────────── */
.whatsapp-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 150;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--green-wa);
  color: white;
  text-decoration: none;
  padding: 14px 20px 14px 16px;
  border-radius: 100px;
  box-shadow: 0 8px 28px rgba(37,211,102,.4);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  animation: fab-bounce .6s ease .8s both;
}
.whatsapp-fab:hover {
  background: var(--green-wa-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(37,211,102,.5);
}
.whatsapp-fab-label {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .02em;
  white-space: nowrap;
}

/* ── 15. ANIMATIONS ───────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: none;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .6; transform: scale(1.3); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes dot-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(227,24,55,.5); }
  70%  { box-shadow: 0 0 0 8px rgba(227,24,55,0); }
  100% { box-shadow: 0 0 0 0 rgba(227,24,55,0); }
}
@keyframes fab-bounce {
  0%   { transform: scale(.5); opacity: 0; }
  70%  { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1); }
}

/* ── 16. RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1280px) {
  nav { padding: 18px 40px; }
  nav.scrolled { padding: 14px 40px; }
  section { padding: 80px 50px; }
  .hero-left { padding: 100px 40px 60px 50px; }
  .hero-right { padding: 60px 40px 0 0; }
  .hero-photo-wrap { width: 400px; }
  footer { padding: 40px 50px; }
}

@media (max-width: 1024px) {
  nav { padding: 16px 32px; }
  nav.scrolled { padding: 12px 32px; }
  .nav-links { gap: 22px; }
  .nav-links a { font-size: .75rem; }
  section { padding: 70px 40px; }

  #hero { grid-template-columns: 1fr 1fr; }
  .hero-left { padding: 90px 30px 50px 40px; }
  .hero-right { padding: 60px 30px 0 0; }
  .hero-photo-wrap { width: 320px; }
  .hero-stats { gap: 24px; }

  #sobre { grid-template-columns: 1fr 1fr; gap: 40px; }
  .servicios-grid { grid-template-columns: repeat(2, 1fr); }
  .props-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonios-grid { grid-template-columns: repeat(2, 1fr); }
  .zonas-layout { gap: 40px; }
  #contacto { gap: 40px; }
  footer { padding: 36px 40px; }
}

@media (max-width: 768px) {
  nav { padding: 16px 24px; }
  nav.scrolled { padding: 12px 24px; }

  .nav-hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--navy);
    flex-direction: column;
    gap: 0;
    padding: 80px 32px 40px;
    transition: right .3s ease;
    z-index: 99;
    list-style: none;
    box-shadow: -8px 0 40px rgba(0,0,0,.3);
  }
  .nav-links.open { right: 0; }
  .nav-links li { border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-links a {
    display: block;
    padding: 14px 0;
    font-size: .95rem;
    letter-spacing: .06em;
  }
  .nav-cta {
    display: inline-block;
    margin-top: 8px;
    padding: 12px 20px !important;
  }

  section { padding: 60px 28px; }

  #hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 80px;
  }
  .hero-left { padding: 50px 28px 20px; }
  .hero-subtitle { max-width: 100%; }
  .hero-right { padding: 0 28px 0; justify-content: center; }
  .hero-photo-wrap { width: 260px; max-width: 60vw; }
  .hero-stats { gap: 20px; margin-top: 36px; padding-top: 28px; }
  .stat-num { font-size: 1.8rem; }

  #sobre { grid-template-columns: 1fr; gap: 36px; }
  .servicios-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .servicio-card { padding: 28px 22px; }

  .props-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .props-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .filters-bar { gap: 10px; }
  .filter-group { min-width: calc(50% - 7px); }

  .testimonios-grid { grid-template-columns: 1fr; }
  .zonas-layout { grid-template-columns: 1fr; gap: 32px; }
  .zona-map { height: 220px; }

  #contacto { grid-template-columns: 1fr; gap: 36px; }
  .contacto-form { padding: 28px; }
  .form-row { grid-template-columns: 1fr; }

  footer { flex-direction: column; text-align: center; padding: 32px 28px; gap: 16px; }

  .whatsapp-fab-label { display: none; }
  .whatsapp-fab { padding: 16px; border-radius: 50%; }
}

@media (max-width: 480px) {
  nav { padding: 14px 20px; }
  section { padding: 52px 20px; }

  .hero-left { padding: 40px 20px 16px; }
  .hero-title { font-size: 2.6rem; }
  .hero-badge { display: none; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-secondary { text-align: center; justify-content: center; }
  .hero-right { padding: 0 20px; }
  .hero-photo-wrap { width: 220px; max-width: 72vw; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }

  .servicios-grid { grid-template-columns: 1fr; }
  .props-grid { max-width: 100%; }
  .filter-group { min-width: 100%; }

  .section-title { font-size: 1.9rem; }
  .modal-body { max-height: 340px; }

  footer { padding: 28px 20px; }
}
