/* ═══════════════════════════════════════════════════════════════════════
   DIVIO PUBLIC — Brand System v2
   Sistema operativo del corredor moderno
   Built for Puerto Rico. Ready for Latin America.
   ═══════════════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand colors — primaries */
  --navy: #0f1c35; --navy2: #1a3060; --navy3: #0a1426;
  --accent: #1a6bdb; --accent2: #1558c0; --accent3: #5ba8ff; --accent4: #7eb8ff;

  /* Tier system colors */
  --gold: #d97706; --gold2: #b45309; --gold3: #fbbf24;
  --gold-bg: #fffbeb; --gold-border: #fde68a;
  --mint: #10b981; --mint2: #059669;
  --mint-bg: #ecfdf5; --mint-border: #a7f3d0;
  --coral: #ef4444; --coral2: #dc2626; --coral-bg: #fef2f2;

  /* Neutrals */
  --bg: #fafaf8; --bg2: #ffffff; --bg3: #f4f4f0; --bg4: #ebebe5;
  --text: #0f1c35; --text2: #4a5568; --text3: #8e9ab0; --text4: #b5bcc8;
  --border: #e8e8e4; --border2: #d4d4ce; --border3: #c0c0b8;

  /* Radii */
  --r-xs: 6px; --r-s: 10px; --r-m: 16px; --r-l: 24px; --r-xl: 32px;

  /* Elevation */
  --shadow-1: 0 1px 3px rgba(15,28,53,0.06), 0 1px 2px rgba(15,28,53,0.04);
  --shadow-2: 0 4px 12px rgba(15,28,53,0.08), 0 2px 4px rgba(15,28,53,0.04);
  --shadow-3: 0 12px 32px rgba(15,28,53,0.12), 0 4px 8px rgba(15,28,53,0.06);
  --shadow-4: 0 24px 60px rgba(15,28,53,0.18), 0 8px 16px rgba(15,28,53,0.08);
  --shadow-hero: 0 40px 120px rgba(26,107,219,0.30), 0 20px 40px rgba(15,28,53,0.20);
  --shadow-gold: 0 12px 32px rgba(217,119,6,0.20), 0 4px 8px rgba(217,119,6,0.10);

  /* Motion */
  --ease-out: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 150ms; --t-base: 220ms; --t-slow: 400ms;

  /* Layout */
  --container: 1200px;
  --container-narrow: 720px;
  --header-h: 64px;
}

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', -apple-system, system-ui, sans-serif;
  background: var(--bg); color: var(--text);
  font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Typography ──────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: 'Syne', sans-serif; font-weight: 800;
  letter-spacing: -0.02em; line-height: 1.1; color: var(--text);
}
h1 { font-size: clamp(36px, 5.2vw, 68px); letter-spacing: -0.03em; line-height: 1.05; }
h2 { font-size: clamp(28px, 3.8vw, 46px); line-height: 1.1; letter-spacing: -0.025em; }
h3 { font-size: clamp(20px, 2.2vw, 26px); letter-spacing: -0.015em; line-height: 1.2; }
h4 { font-size: 20px; letter-spacing: -0.01em; }
p  { color: var(--text2); line-height: 1.7; }
.mono { font-family: 'JetBrains Mono','SF Mono',Menlo,monospace; font-feature-settings: 'tnum' 1; }

/* ── Layout helpers ──────────────────────────────────── */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-sm { padding: 64px 0; }
.section-lg { padding: 128px 0; }

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .section-sm { padding: 48px 0; }
  .section-lg { padding: 80px 0; }
  .container { padding: 0 20px; }
}

/* ── Eyebrow ─────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 6px 14px; border-radius: 100px;
  color: var(--accent); background: rgba(26,107,219,0.08); border: 1px solid rgba(26,107,219,0.15);
}
.eyebrow.dark { color: rgba(255,255,255,0.85); background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); }
.eyebrow.gold { color: var(--gold); background: var(--gold-bg); border-color: var(--gold-border); }
.eyebrow.mint { color: var(--mint2); background: var(--mint-bg); border-color: var(--mint-border); }

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-size: 14px; font-weight: 600; letter-spacing: -0.005em;
  padding: 12px 22px; border-radius: var(--r-s); border: 1.5px solid transparent;
  cursor: pointer; transition: all var(--t-fast) var(--ease-out);
  text-decoration: none; white-space: nowrap; min-height: 44px;
}
.btn-lg { font-size: 15px; padding: 15px 28px; min-height: 52px; }
.btn-xl { font-size: 16px; padding: 18px 36px; min-height: 58px; border-radius: var(--r-m); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, #c2660b 100%);
  color: #fff; box-shadow: var(--shadow-gold);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(217,119,6,0.30); filter: brightness(1.05); }

.btn-accent { background: var(--accent); color: #fff; box-shadow: var(--shadow-2); }
.btn-accent:hover { background: var(--accent2); transform: translateY(-1px); box-shadow: var(--shadow-3); }

.btn-ghost { background: transparent; color: var(--text); border-color: var(--border2); }
.btn-ghost:hover { background: var(--bg3); border-color: var(--border3); }

.btn-ghost-dark {
  background: rgba(255,255,255,0.10); color: #fff; border-color: rgba(255,255,255,0.20);
  backdrop-filter: blur(8px);
}
.btn-ghost-dark:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.30); }

.btn-mint { background: var(--mint); color: #fff; box-shadow: var(--shadow-2); }
.btn-mint:hover { background: var(--mint2); transform: translateY(-1px); }

/* ── Brand lockup ────────────────────────────────────── */
.brand-lockup { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-symbol { width: 32px; height: 32px; flex-shrink: 0; }
.brand-wordmark {
  font-family: 'Syne', sans-serif; font-size: 22px; font-weight: 800;
  letter-spacing: -0.03em; color: var(--text); line-height: 1;
}
.brand-wordmark .accent { color: var(--accent); }
.brand-wordmark.light { color: #fff; }
.brand-wordmark.light .accent { color: var(--accent3); }

/* ── Header sticky ───────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,250,248,0.85);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border);
}
.site-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); gap: 24px;
}
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { font-size: 14px; font-weight: 500; color: var(--text2); transition: color var(--t-fast); }
.site-nav a:hover { color: var(--text); }
.site-header-ctas { display: flex; align-items: center; gap: 10px; }
@media (max-width: 768px) {
  .site-nav { display: none; }
  .site-header-ctas .btn-ghost { display: none; }
}

/* ── Hero ────────────────────────────────────────────── */
.hero {
  position: relative; background: var(--navy);
  overflow: hidden; padding: 96px 0 80px; isolation: isolate;
}
.hero::before {
  content: ''; position: absolute; top: -200px; right: -120px;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(26,107,219,0.30) 0%, transparent 60%);
  pointer-events: none; z-index: -1;
}
.hero::after {
  content: ''; position: absolute; bottom: -200px; left: -100px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(91,168,255,0.18) 0%, transparent 65%);
  pointer-events: none; z-index: -1;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.hero h1 { color: #fff; margin-bottom: 24px; }
/* Cuando el h1 vive en un grid 2-col, el ancho útil se reduce — bajamos cap */
.hero-grid h1 {
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.06;
}
.hero h1 .gradient {
  background: linear-gradient(135deg, #5ba8ff 0%, #7eb8ff 50%, #fbbf24 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero-sub {
  font-size: 19px; color: rgba(255,255,255,0.70);
  line-height: 1.65; margin-bottom: 40px; max-width: 540px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.hero-scarcity {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; color: rgba(255,255,255,0.55);
}
.hero-scarcity-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--coral);
  box-shadow: 0 0 0 6px rgba(239,68,68,0.20);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 6px rgba(239,68,68,0.20); }
  50%      { box-shadow: 0 0 0 12px rgba(239,68,68,0.05); }
}

/* Hero stack animation */
.hero-stack { position: relative; perspective: 2000px; height: 480px; }
.hero-stack-card {
  position: absolute; background: rgba(255,255,255,0.06);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.10); border-radius: var(--r-m);
  padding: 16px 20px; display: flex; align-items: center; gap: 12px;
  color: #fff; font-size: 14px; font-weight: 600;
  box-shadow: var(--shadow-3); will-change: transform;
  animation: stack-float 8s var(--ease-in-out) infinite;
  /* GPU compositing hint para evitar repaints en móvil */
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.hero-stack-card-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent3), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.hero-stack-card.card-1 { top: 0;    left: 0;    width: 260px; animation-delay: 0s;   z-index: 5; }
.hero-stack-card.card-2 { top: 60px; left: 110px; width: 280px; animation-delay: 0.8s; z-index: 4; }
.hero-stack-card.card-3 { top: 140px; left: 0;    width: 280px; animation-delay: 1.6s; z-index: 3; }
.hero-stack-card.card-4 { top: 220px; left: 130px; width: 260px; animation-delay: 2.4s; z-index: 2; }
.hero-stack-card.card-5 { top: 320px; left: 20px;  width: 280px; animation-delay: 3.2s; z-index: 1; }
.hero-stack-card.card-6 { top: 380px; left: 140px; width: 240px; animation-delay: 4.0s; z-index: 1; }
.hero-stack-card.card-gold { background: rgba(251,191,36,0.10); border-color: rgba(251,191,36,0.25); }
.hero-stack-card.card-gold .hero-stack-card-icon { background: linear-gradient(135deg, var(--gold3), var(--gold)); }

@keyframes stack-float {
  0%, 100% { transform: translateY(0)     rotateY(0deg)  translateZ(0); }
  50%      { transform: translateY(-12px) rotateY(2deg)  translateZ(0); }
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-stack { height: 360px; max-width: 420px; margin: 0 auto; }
  .hero-stack-card { font-size: 13px; padding: 12px 16px; }
}

/* ═══════════════════════════════════════════════════════════
   MOBILE FIX v4 — Cards anchas + zigzag visible + 1 línea
   FIX REAL: override agresivo del max-width:420px heredado
   del breakpoint tablet (480-980px). Cards al 92% del viewport.
   Zigzag con margin-left manual para que cards de ~92% sí puedan
   alternar lateralmente.
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .hero { padding: 56px 0 64px; }

  /* CRITICAL: override del max-width heredado del tablet (era 420px) */
  .hero-stack {
    height: auto !important;
    max-width: none !important;
    width: 100%;
    perspective: none;
    padding: 0;
  }

  /* Cards: width 92% del container, padding generoso */
  .hero-stack-card {
    position: relative;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: 92% !important;
    max-width: none !important;
    margin-bottom: 14px;
    padding: 14px 18px;
    font-size: 14px;
    /* Blur eficiente en GPU móvil */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    /* Forzar texto en 1 línea */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Icon estándar (hay espacio en 92%) */
  .hero-stack-card-icon {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  /* Última card sin margin bottom */
  .hero-stack-card:last-child {
    margin-bottom: 0;
  }

  /* Esconder card-6 (5 cards alternadas funcionan mejor) */
  .hero-stack-card.card-6 { display: none; }

  /* ZIGZAG: cards impares a la IZQUIERDA (margin-left: 0) */
  .hero-stack-card.card-1,
  .hero-stack-card.card-3,
  .hero-stack-card.card-5 {
    margin-left: 0;
    margin-right: auto;
    animation: stack-drift-left 7s var(--ease-in-out) infinite;
  }

  /* ZIGZAG: cards pares a la DERECHA (margin-left: 8% del viewport) */
  .hero-stack-card.card-2,
  .hero-stack-card.card-4 {
    margin-left: 8%;
    margin-right: 0;
    animation: stack-drift-right 7s var(--ease-in-out) infinite;
  }

  /* Stagger animation delays */
  .hero-stack-card.card-1 { animation-delay: 0s;   }
  .hero-stack-card.card-2 { animation-delay: 0.7s; }
  .hero-stack-card.card-3 { animation-delay: 1.4s; }
  .hero-stack-card.card-4 { animation-delay: 2.1s; }
  .hero-stack-card.card-5 { animation-delay: 2.8s; }
}

/* Animación cards izquierdas: drift sutil hacia la izquierda */
@keyframes stack-drift-left {
  0%, 100% { transform: translate(0, 0)        translateZ(0); }
  50%      { transform: translate(-3px, -4px)  translateZ(0); }
}

/* Animación cards derechas: drift sutil hacia la derecha */
@keyframes stack-drift-right {
  0%, 100% { transform: translate(0, 0)       translateZ(0); }
  50%      { transform: translate(3px, -4px)  translateZ(0); }
}

/* Reduce motion: deshabilitar animaciones para usuarios sensibles */
@media (prefers-reduced-motion: reduce) {
  .hero-stack-card {
    animation: none !important;
  }
}

/* ═══════════════════════════════════════════════════════════
   HEADER MOBILE FIX — Justificar contenido correctamente
   En móvil el nav se oculta pero el gap reservado quedaba raro.
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .site-header-inner {
    gap: 12px;
  }
  .site-header-ctas {
    margin-left: auto;
  }
}

/* ── Stats strip ─────────────────────────────────────── */
.stats-strip { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 36px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; align-items: center; }
.stat-item { text-align: center; }
.stat-num {
  font-family: 'Syne', sans-serif; font-size: 36px; font-weight: 800;
  color: var(--navy); line-height: 1; margin-bottom: 6px; letter-spacing: -0.02em;
}
.stat-num .unit { font-size: 22px; color: var(--text3); margin-left: 2px; }
.stat-label { font-size: 12px; font-weight: 500; color: var(--text3); letter-spacing: 0.3px; }
@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat-num { font-size: 28px; }
}

/* ── Section header ──────────────────────────────────── */
.section-header { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.section-header .eyebrow { margin-bottom: 20px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { font-size: 18px; line-height: 1.7; color: var(--text2); }

/* ── Problem section — tools chips ───────────────────── */
.problem-tools {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: center; max-width: 800px; margin: 0 auto;
}
.problem-tool {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; background: var(--bg2); border: 1px solid var(--border);
  border-radius: 100px; font-size: 13px; font-weight: 600;
  color: var(--text2); box-shadow: var(--shadow-1);
  transition: transform var(--t-base) var(--ease-out);
}
.problem-tool:nth-child(odd)  { transform: rotate(-2deg); }
.problem-tool:nth-child(even) { transform: rotate(1.5deg); }
.problem-tool:hover { transform: rotate(0) translateY(-2px); }

/* ── Ecosystem grid ──────────────────────────────────── */
.ecosystem-category { margin-bottom: 56px; }
.ecosystem-category:last-child { margin-bottom: 0; }
.ecosystem-cat-header { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.ecosystem-cat-num {
  font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 700;
  color: var(--text3); letter-spacing: 1px;
}
.ecosystem-cat-title {
  font-family: 'Syne', sans-serif; font-size: 22px; font-weight: 800;
  color: var(--text); letter-spacing: -0.01em;
}
.ecosystem-cat-line { flex: 1; height: 1px; background: var(--border); }

.ecosystem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.eco-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--r-m); padding: 24px;
  transition: all var(--t-base) var(--ease-out); position: relative;
}
.eco-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-3); border-color: rgba(26,107,219,0.30); }
.eco-card-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(26,107,219,0.08), rgba(91,168,255,0.12));
  border: 1px solid rgba(26,107,219,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 16px;
}
.eco-card.gold .eco-card-icon { background: linear-gradient(135deg, var(--gold-bg), rgba(251,191,36,0.18)); border-color: var(--gold-border); }
.eco-card-title {
  font-family: 'Syne', sans-serif; font-size: 16px; font-weight: 700;
  color: var(--text); margin-bottom: 8px; letter-spacing: -0.01em;
}
.eco-card-desc { font-size: 13.5px; color: var(--text2); line-height: 1.6; }
.eco-card-badge {
  position: absolute; top: 16px; right: 16px;
  font-family: 'JetBrains Mono', monospace; font-size: 9px; font-weight: 700;
  letter-spacing: 0.5px; text-transform: uppercase;
  padding: 3px 8px; border-radius: 4px;
  background: var(--gold-bg); color: var(--gold); border: 1px solid var(--gold-border);
}

@media (max-width: 968px) { .ecosystem-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ecosystem-grid { grid-template-columns: 1fr; } }

/* ── Academy section ─────────────────────────────────── */
.academy-block {
  background: linear-gradient(135deg, var(--navy) 0%, #14254a 100%);
  border-radius: var(--r-xl); padding: 64px 56px;
  position: relative; overflow: hidden; isolation: isolate;
}
.academy-block::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(251,191,36,0.20) 0%, transparent 60%);
  z-index: -1;
}
.academy-block::after {
  content: ''; position: absolute; bottom: -120px; left: -80px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(26,107,219,0.25) 0%, transparent 65%);
  z-index: -1;
}
.academy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.academy-block h2 { color: #fff; margin-bottom: 16px; }
.academy-block p { color: rgba(255,255,255,0.70); font-size: 17px; line-height: 1.7; margin-bottom: 24px; }

.markets-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.market-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r-s); padding: 16px; position: relative;
}
.market-flag { font-size: 24px; margin-bottom: 8px; display: block; }
.market-name { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.market-status {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: 0.5px; color: rgba(255,255,255,0.50); text-transform: uppercase;
}
.market-card.live { background: rgba(16,185,129,0.10); border-color: rgba(16,185,129,0.25); }
.market-card.live .market-status { color: var(--mint); }

.academy-features { margin-top: 32px; display: grid; gap: 12px; }
.academy-feature { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,0.85); font-size: 14px; }
.academy-feature-check {
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(251,191,36,0.15); border: 1px solid rgba(251,191,36,0.30);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold3); font-size: 11px; font-weight: 800; flex-shrink: 0;
}

@media (max-width: 868px) {
  .academy-grid { grid-template-columns: 1fr; gap: 40px; }
  .academy-block { padding: 48px 32px; }
  .markets-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) { .academy-block { padding: 36px 22px; border-radius: var(--r-l); } }

/* ── Pricing ─────────────────────────────────────────── */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; max-width: 1080px; margin: 0 auto;
}
/* Variante 2 columnas — centrado y más prominente */
.pricing-grid.pricing-grid-2col {
  grid-template-columns: repeat(2, 1fr);
  max-width: 820px;
  gap: 28px;
}
@media (max-width: 720px) {
  .pricing-grid.pricing-grid-2col {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
}
.plan-card {
  background: var(--bg2); border: 1.5px solid var(--border);
  border-radius: var(--r-l); padding: 36px 32px;
  position: relative; display: flex; flex-direction: column;
  transition: all var(--t-base) var(--ease-out);
}
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); }
.plan-card.tier-free { border-color: var(--border); }
.plan-card.tier-free .plan-price-num { color: var(--mint2); }

.plan-card.tier-pro {
  border-color: var(--accent); border-width: 2px;
  background: linear-gradient(180deg, rgba(26,107,219,0.02) 0%, transparent 40%);
  box-shadow: 0 8px 32px rgba(26,107,219,0.10);
  transform: translateY(-8px);
}
.plan-card.tier-pro:hover { transform: translateY(-12px); }
.plan-card.tier-pro .plan-price-num { color: var(--accent); }

.plan-card.tier-proplus {
  background: linear-gradient(180deg, #0f1c35 0%, #1a3060 100%);
  border-color: var(--gold); border-width: 2px; color: #fff;
}
.plan-card.tier-proplus::before {
  content: ''; position: absolute; inset: -2px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold3) 50%, var(--gold) 100%);
  border-radius: var(--r-l); z-index: -1; opacity: 0.40;
}
.plan-card.tier-proplus .plan-name { color: var(--gold3); }
.plan-card.tier-proplus .plan-price-num { color: #fff; }
.plan-card.tier-proplus .plan-price-period { color: rgba(255,255,255,0.55); }
.plan-card.tier-proplus .plan-price-note { color: rgba(255,255,255,0.50); }
.plan-card.tier-proplus .plan-features li { color: rgba(255,255,255,0.85); }
.plan-card.tier-proplus .plan-features li::before { color: var(--gold3); }
.plan-card.tier-proplus .plan-desc { color: rgba(255,255,255,0.65); }

.plan-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  font-size: 10px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
  padding: 6px 14px; border-radius: 100px; white-space: nowrap;
}
.plan-badge.popular { background: var(--accent); color: #fff; box-shadow: var(--shadow-2); }
.plan-badge.premium { background: linear-gradient(135deg, var(--gold), var(--gold3)); color: #fff; box-shadow: var(--shadow-gold); }

.plan-name {
  font-family: 'Syne', sans-serif; font-size: 18px; font-weight: 800;
  color: var(--navy); margin-bottom: 8px; letter-spacing: -0.01em;
}
.plan-desc { font-size: 13px; color: var(--text3); margin-bottom: 24px; min-height: 38px; }
.plan-price-row { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.plan-price-old {
  font-family: 'Syne', sans-serif; font-size: 18px; color: var(--text3);
  text-decoration: line-through; text-decoration-thickness: 1.5px;
}
.plan-price-num {
  font-family: 'Syne', sans-serif; font-size: 44px; font-weight: 800;
  line-height: 1; letter-spacing: -0.03em;
}
.plan-price-period { font-size: 14px; color: var(--text3); font-weight: 500; }
.plan-price-note { font-size: 12px; color: var(--text3); margin-bottom: 24px; min-height: 18px; }
.plan-features { list-style: none; margin-bottom: 28px; flex: 1; }
.plan-features li {
  position: relative; padding-left: 26px; margin-bottom: 12px;
  font-size: 14px; color: var(--text2); line-height: 1.55;
}
.plan-features li::before {
  content: '✓'; position: absolute; left: 0;
  color: var(--mint); font-weight: 800; font-size: 15px;
}
.plan-cta { width: 100%; }

@media (max-width: 868px) {
  .pricing-grid { grid-template-columns: 1fr; gap: 24px; max-width: 480px; }
  .plan-card.tier-pro { transform: none; }
  .plan-card.tier-pro:hover { transform: translateY(-2px); }
}

/* ── Comparison table ────────────────────────────────── */
.compare-wrap {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  border-radius: var(--r-l); background: var(--bg2); border: 1px solid var(--border);
}
.compare-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare-table th, .compare-table td {
  text-align: left; padding: 16px 20px;
  border-bottom: 1px solid var(--border); font-size: 14px;
}
.compare-table th {
  background: var(--bg3); font-family: 'Syne', sans-serif; font-weight: 700;
  font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text3);
}
.compare-table th.divio-col { color: var(--accent); background: rgba(26,107,219,0.05); }
.compare-table td.divio-col { background: rgba(26,107,219,0.03); font-weight: 600; color: var(--text); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-yes { color: var(--mint2); font-weight: 700; }
.compare-no { color: var(--text3); }
.compare-feature { font-weight: 600; color: var(--text); }

/* ── ROI Calculator ──────────────────────────────────── */
.roi-card {
  background: var(--bg2); border-radius: var(--r-xl);
  padding: 48px; border: 1px solid var(--border);
  box-shadow: var(--shadow-2); max-width: 760px; margin: 0 auto;
}
.roi-input-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px; gap: 16px; flex-wrap: wrap;
}
.roi-label { font-size: 15px; font-weight: 600; color: var(--text); }
.roi-value { font-family: 'JetBrains Mono', monospace; font-size: 22px; font-weight: 800; color: var(--accent); }
.roi-slider {
  width: 100%; height: 6px; background: var(--bg3);
  border-radius: 100px; outline: none; appearance: none;
  margin-bottom: 24px; -webkit-appearance: none;
}
.roi-slider::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px;
  background: var(--accent); border: 3px solid #fff;
  border-radius: 50%; cursor: pointer; box-shadow: var(--shadow-2);
}
.roi-slider::-moz-range-thumb {
  width: 22px; height: 22px; background: var(--accent);
  border: 3px solid #fff; border-radius: 50%;
  cursor: pointer; box-shadow: var(--shadow-2);
}
.roi-result {
  background: linear-gradient(135deg, var(--mint-bg) 0%, #f0fdf4 100%);
  border: 1px solid var(--mint-border);
  border-radius: var(--r-m); padding: 24px 28px;
  text-align: center; margin-top: 16px;
}
.roi-result-label {
  font-size: 13px; font-weight: 600; color: var(--mint2);
  text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px;
}
.roi-result-value {
  font-family: 'Syne', sans-serif; font-size: 44px; font-weight: 800;
  color: var(--mint2); line-height: 1; letter-spacing: -0.02em;
}
.roi-result-sub { font-size: 13px; color: var(--text2); margin-top: 8px; }

@media (max-width: 600px) { .roi-card { padding: 32px 24px; } }

/* ── FAQ ─────────────────────────────────────────────── */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--r-m); margin-bottom: 12px;
  overflow: hidden; transition: all var(--t-base) var(--ease-out);
}
.faq-item.open { border-color: rgba(26,107,219,0.30); box-shadow: var(--shadow-2); }
.faq-question {
  width: 100%; text-align: left; background: transparent; border: none;
  cursor: pointer; padding: 20px 24px; font-family: inherit;
  font-size: 15px; font-weight: 600; color: var(--text);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-icon { width: 20px; height: 20px; flex-shrink: 0; transition: transform var(--t-base); color: var(--text3); }
.faq-item.open .faq-icon { transform: rotate(180deg); color: var(--accent); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height var(--t-slow) var(--ease-in-out); }
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer-inner { padding: 0 24px 20px; font-size: 14px; color: var(--text2); line-height: 1.7; }

/* ── Final CTA ───────────────────────────────────────── */
.final-cta {
  background: linear-gradient(135deg, var(--navy3) 0%, var(--navy) 50%, var(--navy2) 100%);
  border-radius: var(--r-xl); padding: 80px 56px; text-align: center;
  position: relative; overflow: hidden; isolation: isolate;
}
.final-cta::before {
  content: ''; position: absolute; top: -150px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(251,191,36,0.20) 0%, transparent 60%);
  z-index: -1;
}
.final-cta::after {
  content: ''; position: absolute; bottom: -150px; left: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(26,107,219,0.25) 0%, transparent 60%);
  z-index: -1;
}
.final-cta h2 { color: #fff; margin-bottom: 20px; }
.final-cta p { color: rgba(255,255,255,0.70); font-size: 18px; line-height: 1.7; max-width: 580px; margin: 0 auto 36px; }
@media (max-width: 600px) { .final-cta { padding: 56px 24px; border-radius: var(--r-l); } }

/* ── Footer ──────────────────────────────────────────── */
.site-footer { background: var(--navy); color: #fff; padding: 64px 0 32px; margin-top: 80px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 48px; margin-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.50); line-height: 1.7; margin-top: 16px; max-width: 260px; }
.footer-col-title {
  font-size: 11px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 1.5px; color: rgba(255,255,255,0.40); margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 13.5px; color: rgba(255,255,255,0.65); transition: color var(--t-fast); }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: rgba(255,255,255,0.40); flex-wrap: wrap; gap: 16px;
}
.footer-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-badge {
  font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.5px;
  padding: 4px 10px; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10); border-radius: 4px;
  color: rgba(255,255,255,0.60);
}

@media (max-width: 868px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ── Signup card ─────────────────────────────────────── */
.signup-card {
  background: var(--bg2); border-radius: var(--r-l); padding: 32px;
  box-shadow: var(--shadow-4); border: 1px solid var(--border);
}
.signup-card h3 { margin-bottom: 8px; }
.signup-card p { font-size: 14px; color: var(--text3); margin-bottom: 20px; }
.form-group { margin-bottom: 14px; }
.form-label {
  display: block; font-size: 12px; font-weight: 600;
  color: var(--text2); margin-bottom: 6px; letter-spacing: 0.2px;
}
.form-input {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--border);
  border-radius: var(--r-s); font-family: inherit; font-size: 15px;
  color: var(--text); background: var(--bg);
  outline: none; transition: border-color var(--t-fast), background var(--t-fast);
}
.form-input:focus { border-color: var(--accent); background: #fff; }

/* ── Pricing toggle (Mensual / Anual) ──────────────── */
.pricing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 4px;
  margin: 0 auto 32px;
  position: relative;
}
.pricing-toggle button {
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 100px;
  border: none;
  background: transparent;
  color: var(--text2);
  cursor: pointer;
  transition: color var(--t-fast);
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pricing-toggle button.is-active {
  color: var(--text);
}
.pricing-toggle-slider {
  position: absolute;
  top: 4px;
  height: calc(100% - 8px);
  background: var(--bg2);
  border-radius: 100px;
  box-shadow: var(--shadow-1);
  transition: all var(--t-base) var(--ease-out);
  z-index: 0;
}
.pricing-toggle-save {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--mint2);
  background: var(--mint-bg);
  border: 1px solid var(--mint-border);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Founder badge — cohort exclusivo */
.founder-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--coral) 0%, #c92a2a 100%);
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  margin-left: 8px;
  vertical-align: middle;
  box-shadow: 0 2px 6px rgba(239,68,68,0.30);
}
.founder-badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  animation: pulse-dot 2s infinite;
}

/* Price comparison: founder vs standard */
.plan-price-compare {
  font-size: 12px;
  color: var(--text3);
  margin-top: 6px;
  font-family: 'JetBrains Mono', monospace;
}
.plan-price-compare strong {
  color: var(--text2);
  font-weight: 700;
}
.plan-card.tier-proplus .plan-price-compare {
  color: rgba(255,255,255,0.55);
}
.plan-card.tier-proplus .plan-price-compare strong {
  color: rgba(255,255,255,0.75);
}

/* Estado del toggle: hide/show prices */
.plan-price-row.is-hidden { display: none; }
.plan-price-note.is-hidden { display: none; }

/* ── PRO+ Tier "Próximamente" (waitlist mode) ───────── */
.plan-card.tier-proplus.is-waitlist {
  position: relative;
}
.plan-card.tier-proplus.is-waitlist .plan-features li {
  position: relative;
}
/* Stamp "Acceso temprano" sutil arriba de la card */
.plan-card.tier-proplus.is-waitlist .plan-card-stamp {
  position: absolute;
  top: -36px; left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold3) 100%);
  color: #fff;
  box-shadow: var(--shadow-gold);
  white-space: nowrap;
}
.waitlist-info {
  font-size: 12.5px;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.waitlist-info strong {
  color: rgba(255,255,255,0.85);
  font-weight: 700;
}

/* Eco-card variant "Próximamente" en modules grid */
.eco-card.is-soon {
  position: relative;
}
.eco-card.is-soon::after {
  content: 'PRÓXIMAMENTE';
  position: absolute;
  top: 10px; right: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.6px;
  padding: 3px 7px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--gold), var(--gold3));
  color: #fff;
  z-index: 2;
}
.eco-card.is-soon .eco-card-badge { display: none; }
.eco-card.is-soon .eco-card-icon {
  opacity: 0.8;
}
.eco-card.is-soon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(217,119,6,0.02), rgba(251,191,36,0.03));
  border-radius: var(--r-m);
  pointer-events: none;
}

/* ── WAITLIST MODAL ────────────────────────────────── */
.dw-modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(15,28,53,0.72);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
  overflow-y: auto;
  animation: dwFadeIn 200ms var(--ease-out);
}
.dw-modal-backdrop.is-open { display: flex; }
@keyframes dwFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.dw-modal {
  background: var(--bg2);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-4);
  max-width: 520px;
  width: 100%;
  position: relative;
  max-height: 92vh;
  overflow-y: auto;
  animation: dwSlideIn 280ms var(--ease-out);
}
@keyframes dwSlideIn {
  from { transform: translateY(20px) scale(0.97); opacity: 0; }
  to   { transform: translateY(0)    scale(1);    opacity: 1; }
}
.dw-modal-close {
  position: absolute;
  top: 14px; right: 16px;
  width: 36px; height: 36px;
  background: var(--bg3);
  border: 1px solid var(--border);
  cursor: pointer;
  border-radius: 8px;
  font-size: 18px;
  color: var(--text3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t-fast);
  z-index: 1;
}
.dw-modal-close:hover {
  background: var(--border);
  color: var(--text);
}
.dw-modal-header {
  padding: 36px 36px 12px;
  text-align: center;
}
.dw-modal-stamp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--gold), var(--gold3));
  color: #fff;
  margin-bottom: 18px;
  box-shadow: var(--shadow-gold);
}
.dw-modal h3 {
  margin-bottom: 12px;
}
.dw-modal-sub {
  font-size: 14.5px;
  color: var(--text2);
  line-height: 1.65;
  max-width: 380px;
  margin: 0 auto;
}
.dw-modal-body {
  padding: 12px 36px 28px;
}
.dw-form-group {
  margin-bottom: 14px;
}
.dw-form-group label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text3);
  margin-bottom: 6px;
}
.dw-form-input,
.dw-form-select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-s);
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  outline: none;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.dw-form-input:focus,
.dw-form-select:focus {
  border-color: var(--accent);
  background: #fff;
}
.dw-form-select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238e9ab0' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.dw-modal-perks {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--r-m);
  padding: 16px 18px;
  margin: 18px 0 20px;
}
.dw-modal-perks-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.dw-modal-perks ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.dw-modal-perks li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--text2);
  line-height: 1.55;
}
.dw-modal-perks li:last-child { margin-bottom: 0; }
.dw-modal-perks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 800;
  font-size: 14px;
}
.dw-modal-cta {
  width: 100%;
  margin-top: 4px;
}
.dw-modal-fineprint {
  font-size: 11.5px;
  color: var(--text3);
  text-align: center;
  margin-top: 14px;
  line-height: 1.5;
}

/* Success state */
.dw-modal-success {
  text-align: center;
  padding: 56px 36px 44px;
}
.dw-modal-success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  background: linear-gradient(135deg, var(--mint), var(--mint2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 32px;
  font-weight: 800;
  box-shadow: 0 12px 32px rgba(16,185,129,0.30);
}
.dw-modal-success h3 {
  color: var(--mint2);
  margin-bottom: 10px;
}
.dw-modal-success p {
  font-size: 14.5px;
  color: var(--text2);
  line-height: 1.7;
  max-width: 360px;
  margin: 0 auto;
}

@media (max-width: 560px) {
  .dw-modal-header { padding: 32px 24px 10px; }
  .dw-modal-body { padding: 10px 24px 24px; }
}

/* ── Reveal on scroll ────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ── Reduce motion ───────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ═══════════════════════════════════════════════════════════════════════
   PROPERTY CARDS — Marketplace + Home latest listings
   Mantiene compatibilidad con listing.html, marketplace.html, index.html
   ═══════════════════════════════════════════════════════════════════════ */

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 968px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
}

.card-pub {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-m);
  overflow: hidden;
  transition: all var(--t-base) var(--ease-out);
}
.card-pub:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-3);
  border-color: var(--border2);
}

.prop-card { display: block; text-decoration: none; color: inherit; }
.prop-card-img {
  width: 100%;
  height: 200px;
  background: var(--bg3);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: var(--text3);
}
.prop-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease-out);
}
.prop-card:hover .prop-card-img img { transform: scale(1.04); }

.prop-card-badge {
  position: absolute;
  top: 12px; left: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #fff;
  padding: 5px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  box-shadow: var(--shadow-1);
}

.prop-card-body { padding: 18px; }
.prop-card-price {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.015em;
  margin-bottom: 6px;
  line-height: 1.1;
}
.prop-card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.4;
}
.prop-card-loc {
  font-size: 12.5px;
  color: var(--text3);
  margin-bottom: 12px;
}
.prop-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: var(--text2);
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.prop-card-specs span { white-space: nowrap; }

/* Open House tag (esquina superior derecha) */
.prop-card-oh-tag {
  position: absolute;
  top: 12px; right: 12px;
  min-width: 54px;
  padding: 6px 10px;
  background: linear-gradient(135deg, var(--gold) 0%, #c2660b 100%);
  color: #fff;
  border-radius: var(--r-xs);
  text-align: center;
  box-shadow: var(--shadow-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
}
.prop-card-oh-tag-label {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
}
.prop-card-oh-tag-day {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 2px;
}
.prop-card-oh-tag-month {
  font-size: 9px;
  color: rgba(255,255,255,0.78);
  text-transform: lowercase;
  letter-spacing: 0.3px;
}
.prop-card-oh-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--accent);
  background: rgba(26,107,219,0.08);
  padding: 4px 10px;
  border-radius: 100px;
  margin-top: 10px;
  letter-spacing: 0.3px;
}
.prop-card-oh-cta-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  animation: ohCtaPulse 2s ease-in-out infinite;
}
@keyframes ohCtaPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.6; transform: scale(1.3); }
}
@media (max-width: 480px) {
  .prop-card-oh-tag { top: 10px; right: 10px; min-width: 48px; padding: 5px 8px; }
  .prop-card-oh-tag-day { font-size: 16px; }
}

/* Skeleton loader */
.skel {
  background: linear-gradient(90deg, var(--bg3) 0%, var(--bg4) 50%, var(--bg3) 100%);
  background-size: 200% 100%;
  animation: skelShimmer 1.4s ease-in-out infinite;
  border-radius: var(--r-xs);
}
@keyframes skelShimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ═══════════════════════════════════════════════════════════════════════
   QUICK SEARCH (home hero)
   ═══════════════════════════════════════════════════════════════════════ */
.quick-search {
  background: var(--bg2);
  border-radius: var(--r-l);
  padding: 24px;
  box-shadow: var(--shadow-4);
  border: 1px solid var(--border);
  margin-top: 32px;
}
.quick-search h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text2);
  margin-bottom: 14px;
  letter-spacing: 0.3px;
}
.qs-fields {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 12px;
  align-items: end;
}
.qs-filter-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--text3);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.qs-select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-s);
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  cursor: pointer;
  outline: none;
  transition: border-color var(--t-fast);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238e9ab0' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.qs-select:focus { border-color: var(--accent); background-color: #fff; }

@media (max-width: 768px) {
  .qs-fields { grid-template-columns: 1fr 1fr; }
  .qs-fields > button { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .qs-fields { grid-template-columns: 1fr; }
}
