/* Generado por tools/build_css.py. NO editar: edita las hojas fuente y vuelve a correr el script. */
/* ===== fonts.css ===== */
/* Tipografías oficiales del Brand Book Bastet (2026):
   - Conso: títulos, subtítulos y botones  → var(--font-serif)
   - Cabinet Grotesk: cuerpos de texto, labels y enlaces → var(--font-sans)
   Archivos en assets/fonts/, convertidos de los .otf originales a WOFF2 y
   recortados a caracteres latinos (español incluido) para que pesen menos.
   Cabinet Grotesk solo tiene Light/Regular/Medium: Medium cubre también 600–700
   para que el navegador no invente una "negrita falsa". */

@font-face { font-family: 'Conso'; src: url('../fonts/Conso-Light.woff2') format('woff2'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Conso'; src: url('../fonts/Conso-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Conso'; src: url('../fonts/Conso-RegularItalic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Conso'; src: url('../fonts/Conso-Medium.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Conso'; src: url('../fonts/Conso-SemiBold.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Conso'; src: url('../fonts/Conso-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

@font-face { font-family: 'Cabinet Grotesk'; src: url('../fonts/CabinetGrotesk-Light.woff2') format('woff2'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cabinet Grotesk'; src: url('../fonts/CabinetGrotesk-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cabinet Grotesk'; src: url('../fonts/CabinetGrotesk-Medium.woff2') format('woff2'); font-weight: 500 800; font-style: normal; font-display: swap; }

/* ===== style.css ===== */
:root {
  /* Paleta Brand Book 2026 (principales: crema, dorado, naranja, verde, carbón) */
  --color-primary: #1C160E;   /* ébano (antes verde) */
  --color-secondary: #8A5A12; /* oro profundo (antes verde grisáceo) */
  --color-olive: #8C7F3B;
  --color-accent: #F1BF46;
  --color-orange: #EC6C2E;
  --color-light: #EEE6E0;
  --color-charcoal: #1E2629;
  --color-sage: #CDBF9F;      /* arena (antes verde salvia) */
  --color-dark-text: #1E2629;
  --primary-rgb: 28,22,14;
  --accent-rgb: 241,191,70;
  --light-rgb: 238,230,224;
  --charcoal-rgb: 30,38,41;
  /* Tipografías Brand Book: Conso (títulos/botones) y Cabinet Grotesk (texto) — ver fonts.css */
  --font-serif: 'Conso', Georgia, 'Times New Roman', serif;
  --font-sans: 'Cabinet Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --ease-out: cubic-bezier(.16,1,.3,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; width: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--color-light);
  color: var(--color-dark-text);
  overflow-x: hidden;
  width: 100%;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; }

@keyframes heroWipe {
  from { opacity: 0; transform: translateY(22px); clip-path: inset(0 0 100% 0); }
  to { opacity: 1; transform: translateY(0); clip-path: inset(0 0 0% 0); }
}
@keyframes fadeInSimple {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.94) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes backdropIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(.16,1,.3,1), transform 0.9s cubic-bezier(.16,1,.3,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Botones (Brand Book: tipografía Conso) ──
   .cta-button            → principal: dorado con degradado, brillo interior y reflejo al pasar el mouse
   .cta-button--glass     → secundario sobre fondos oscuros/foto: vidrio esmerilado (transparencia + blur)
   .cta-button--outline   → alias de --glass (compatibilidad)
   .cta-button--sm        → versión compacta (menú)
   .cta-button--arrow     → agrega una flecha que se desliza al pasar el mouse */
.cta-button {
  --btn-h: 54px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--btn-h);
  padding: 0 30px;
  border-radius: 999px;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.04em;
  line-height: 1;
  white-space: nowrap;
  color: var(--color-charcoal);
  background: linear-gradient(180deg, #F8DA8C 0%, var(--color-accent) 46%, #DCA431 100%);
  border: 1px solid rgba(255,255,255,0.38);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.6),
    inset 0 -1px 0 rgba(120,80,0,0.2),
    0 12px 30px -14px rgba(var(--accent-rgb),0.85),
    0 2px 6px rgba(var(--charcoal-rgb),0.16);
  cursor: pointer;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
/* reflejo de luz que cruza el botón */
.cta-button::before {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: 0;
  background: linear-gradient(115deg, transparent 32%, rgba(255,255,255,0.6) 50%, transparent 68%);
  transform: translateX(-130%);
  transition: transform 0.9s var(--ease-out);
  pointer-events: none;
}
.cta-button:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.7),
    inset 0 -1px 0 rgba(120,80,0,0.2),
    0 18px 38px -14px rgba(var(--accent-rgb),1),
    0 4px 10px rgba(var(--charcoal-rgb),0.18);
}
.cta-button:hover::before { transform: translateX(130%); }
.cta-button:active { transform: translateY(0) scale(0.985); transition-duration: 0.12s; }
.cta-button:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
.cta-button:disabled { opacity: 0.6; cursor: wait; transform: none; }
.cta-button > span { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 10px; }
.cta-button svg { width: 17px; height: 17px; flex-shrink: 0; }
.cta-button--block { width: 100%; max-width: 340px; }

.cta-button--glass,
.cta-button--outline {
  color: var(--color-light);
  background: linear-gradient(180deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.05) 100%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid rgba(255,255,255,0.28);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.28),
    0 12px 30px -16px rgba(0,0,0,0.6);
}
.cta-button--glass::before,
.cta-button--outline::before { background: linear-gradient(115deg, transparent 32%, rgba(255,255,255,0.22) 50%, transparent 68%); }
.cta-button--glass:hover,
.cta-button--outline:hover {
  color: #fff;
  border-color: rgba(var(--accent-rgb),0.75);
  background: linear-gradient(180deg, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0.08) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.32),
    0 0 0 4px rgba(var(--accent-rgb),0.1),
    0 16px 34px -16px rgba(var(--accent-rgb),0.55);
}

.cta-button--sm { --btn-h: 42px; padding: 0 20px; font-size: 14px; gap: 8px; }
.cta-button--sm svg { width: 15px; height: 15px; }

.cta-button--arrow > span::after {
  content: '';
  width: 16px; height: 16px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.45s var(--ease-out);
}
.cta-button--arrow:hover > span::after { transform: translateX(4px); }

::selection { background: rgba(var(--accent-rgb),0.45); color: var(--color-charcoal); }
section[id], footer[id] { scroll-margin-top: 76px; }

.section-heading {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 16px;
  text-align: center;
}
.section-heading--light { color: var(--color-light); }
.section-heading--dark { color: var(--color-dark-text); }
.section-sub {
  text-align: center;
  opacity: 0.75;
  font-size: 17px;
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto 32px;
}
.section-sub--light { color: var(--color-light); }

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(var(--charcoal-rgb),0.55), rgba(var(--charcoal-rgb),0));
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, border-color 0.4s ease;
}
.navbar.is-scrolled {
  background: rgba(var(--primary-rgb),0.86);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: rgba(var(--light-rgb),0.08);
}
.navbar.is-menu-open { background: var(--color-primary); }
.navbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px,4vw,48px);
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar-logo { display: flex; align-items: center; line-height: 1; text-decoration: none; }
.navbar-logo-img { display: block; height: 66px; width: auto; }
@media (max-width: 520px) { .navbar-logo-img { height: 52px; } }
.navbar-links { display: flex; align-items: center; gap: clamp(20px,3vw,40px); }
.navbar-link {
  position: relative; color: var(--color-light); opacity: 0.8; font-size: 15px; font-weight: 400; letter-spacing: 0.02em;
  text-decoration: none; padding: 6px 0; transition: opacity 0.3s ease;
}
.navbar-link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--color-accent); transform: scaleX(0); transform-origin: right;
  transition: transform 0.45s var(--ease-out);
}
.navbar-link:hover { opacity: 1; }
.navbar-link:hover::after { transform: scaleX(1); transform-origin: left; }
.navbar-link:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 4px; border-radius: 2px; }
.navbar-burger {
  background: none; border: none; width: 44px; height: 44px;
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer;
}
.navbar-burger span { width: 22px; height: 1.5px; background: var(--color-light); display: block; }
.navbar-burger span:last-child { width: 14px; background: var(--color-accent); align-self: flex-end; margin-right: 1px; }
.navbar-mobile-panel {
  position: fixed; inset: 0; top: 76px; background: var(--color-primary);
  display: none; flex-direction: column; align-items: stretch;
  padding: 32px clamp(20px,6vw,48px); gap: 28px; z-index: 200;
}
.navbar-mobile-panel.is-open { display: flex; }
.navbar-mobile-link {
  color: var(--color-light); font-family: var(--font-serif); font-size: 24px; font-weight: 400;
  text-decoration: none; min-height: 44px; display: flex; align-items: center;
}

@media (max-width: 1079px) {
  .navbar-links { display: none; }
  .navbar-burger { display: flex; }
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(120% 100% at 15% 10%, #3a2a12 0%, var(--color-primary) 55%, var(--color-charcoal) 100%);
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(var(--primary-rgb),0.35) 0%, rgba(var(--primary-rgb),0.7) 100%);
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: 1280px; margin: 0 auto;
  padding: 140px clamp(20px,6vw,48px) 40px;
  width: 100%;
}
.hero-content { max-width: 680px; display: flex; flex-direction: column; gap: 26px; }
.hero-content { gap: 22px; }
/* Título principal: "Marketplace Inmobiliario" en dorado degradado, como el logotipo Bastet */
.hero-title {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(40px,6.2vw,76px); line-height: 1.06; letter-spacing: -0.01em;
  padding-bottom: 0.08em; /* que la "p" no quede fuera del recorte del degradado */
  margin: 0; text-wrap: balance;
  color: var(--color-accent);
  background: linear-gradient(180deg, #FBE6A6 0%, #F1BF46 48%, #C9922E 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 18px rgba(0,0,0,0.35));
  animation: heroWipe 1s cubic-bezier(.16,1,.3,1) 0.1s both;
}
.hero-tagline {
  font-family: var(--font-serif); font-weight: 300;
  font-size: clamp(22px,2.7vw,34px); line-height: 1.2; letter-spacing: -0.005em;
  color: var(--color-light); margin: -4px 0 0;
  text-wrap: balance;
  animation: fadeInSimple 1s cubic-bezier(.16,1,.3,1) 0.28s both;
}
.hero-subtext {
  font-size: 18px; line-height: 1.65; font-weight: 300; color: var(--color-light); opacity: 0.88;
  max-width: 520px; margin: 0;
  animation: fadeInSimple 1s cubic-bezier(.16,1,.3,1) 0.4s both;
}
.hero-cta-wrap { display: flex; flex-wrap: wrap; gap: 14px; animation: fadeInSimple 1s cubic-bezier(.16,1,.3,1) 0.55s both; }
.hero-cta-wrap { margin-top: 6px; }
.hero-cta-wrap .cta-button { flex: 1 1 220px; max-width: 280px; }
@media (max-width: 520px) {
  .hero-cta-wrap .cta-button { max-width: none; }
}

/* ── Partners strip ── */
.partners-strip {
  position: relative;
  background: #ffffff;
  padding: 8px 0;
  min-height: 72px; display: flex; align-items: center;
  overflow: hidden;
}
.partners-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: partnersScroll 28s linear infinite;
}
.partners-strip:hover .partners-track { animation-play-state: paused; }
.partners-track img {
  height: 40px; /* provisional hasta que normalizeLogo() recorta y mide el logo */
  width: auto; max-width: 230px;
  object-fit: contain;
  flex-shrink: 0;
}
.partners-track a { display: flex; align-items: center; flex-shrink: 0; }
@keyframes partnersScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── Propiedades / Ring carousel ── */
.propiedades-section { background: var(--color-primary); padding: 48px clamp(20px,6vw,48px) 96px; }

.propiedades-inner { max-width: 1200px; margin: 0 auto; }

.ring-empty {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: var(--color-light); opacity: 0.6; font-size: 15px; text-align: center; padding: 0 24px;
}

/* Encabezado de la tarjeta: franja oscura degradada con el título bien legible */

/* Foto del agente sobre la tarjeta (clic → WhatsApp con el agente) */

/* ── Property modal ── */
.property-modal-backdrop {
  position: fixed; inset: 0; background: rgba(10,20,18,0.72); backdrop-filter: blur(6px);
  z-index: 500; display: flex; align-items: center; justify-content: center; padding: 24px;
  animation: backdropIn 0.3s ease both;
}
.property-modal-backdrop.hidden { display: none; }
.property-modal {
  background: var(--color-light); border-radius: 22px;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.4) inset; max-width: 760px; width: 100%;
  max-height: 90vh; overflow-y: auto; position: relative;
  animation: modalIn 0.35s cubic-bezier(.16,1,.3,1) both;
}
.property-modal-close {
  position: absolute; right: 16px; top: 16px; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.7); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(var(--charcoal-rgb),0.08); color: var(--color-dark-text); font-size: 16px;
  box-shadow: 0 6px 16px -8px rgba(0,0,0,0.35);
  cursor: pointer; z-index: 2; line-height: 1;
  transition: transform 0.35s var(--ease-out), background 0.3s ease;
}
.property-modal-close:hover { transform: rotate(90deg); background: #fff; }
.property-modal-gallery { position: relative; width: 100%; height: 420px; background: #1b160c; }
.property-modal-img { width: 100%; height: 100%; object-fit: contain; }
.property-modal-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.18); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.35); color: #fff; font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s ease, transform 0.35s var(--ease-out);
}
.property-modal-nav:hover { background: rgba(255,255,255,0.3); transform: translateY(-50%) scale(1.06); }
.property-modal-nav--prev { left: 14px; }
.property-modal-nav--next { right: 14px; }
.property-modal-dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.property-modal-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(var(--light-rgb),0.5); }
.property-modal-dot.is-active { background: var(--color-accent); }
.property-modal-body { padding: 36px clamp(24px,4vw,44px) 44px; display: flex; flex-direction: column; gap: 18px; }
.property-modal-location { font-size: 14px; color: var(--color-primary); opacity: 0.6; letter-spacing: 1px; margin: 0 0 6px; }
.property-modal-title { font-family: var(--font-serif); font-size: clamp(26px,3.6vw,34px); font-weight: 400; color: var(--color-dark-text); margin: 0; }
.property-modal-price { font-family: var(--font-serif); font-size: 24px; color: var(--color-primary); font-weight: 500; margin: 8px 0 0; }
.property-modal-rate { font-size: 13px; color: var(--color-dark-text); opacity: 0.65; margin: 4px 0 0; }
.property-modal-specs {
  display: flex; gap: 28px; flex-wrap: wrap; padding: 16px 0;
  border-top: 1px solid rgba(var(--primary-rgb),0.15); border-bottom: 1px solid rgba(var(--primary-rgb),0.15);
}
.property-modal-spec-label { font-size: 11px; letter-spacing: 1px; color: var(--color-primary); opacity: 0.6; margin: 0 0 4px; text-transform: uppercase; }
.property-modal-spec-value { font-family: var(--font-serif); font-size: 18px; color: var(--color-dark-text); font-weight: 400; margin: 0; }
.property-modal-desc { font-size: 15px; line-height: 1.7; color: var(--color-dark-text); opacity: 0.8; margin: 0; }
.property-modal-agent {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 8px;
  background: rgba(var(--primary-rgb),0.05); border: 1px solid rgba(var(--primary-rgb),0.1);
}
.property-modal-agent-avatar {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
  border: 2px solid var(--color-accent);
}
.property-modal-agent-avatar-placeholder {
  display: flex; align-items: center; justify-content: center;
  background: var(--color-primary); color: var(--color-accent); font-family: var(--font-serif); font-size: 18px; font-weight: 600;
}
.property-modal-agent-info { flex: 1; min-width: 0; }
.property-modal-agent-label { font-size: 11px; letter-spacing: 0.5px; text-transform: uppercase; color: var(--color-primary); opacity: 0.6; margin: 0 0 2px; }
.property-modal-agent-name { font-size: 15px; font-weight: 600; color: var(--color-dark-text); margin: 0; }
.property-modal-agent-social { display: flex; gap: 8px; flex-shrink: 0; }
.property-modal-social-link { width: 30px; height: 30px; flex-shrink: 0; }
.property-modal-social-link img { width: 100%; height: 100%; border-radius: 50%; }

/* ── Features ── */
.features-section { background: var(--color-primary); padding: 120px clamp(20px,6vw,48px); width: 100%; }
.features-grid { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit,minmax(320px,1fr)); gap: 36px 48px; }
.feature-item { display: flex; gap: 20px; align-items: flex-start; }
.feature-icon {
  font-family: var(--font-serif); font-size: 20px; color: var(--color-accent);
  border: 1px solid rgba(var(--accent-rgb),0.35); border-radius: 100px;
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.feature-title { font-family: var(--font-serif); font-size: 18px; font-weight: 400; letter-spacing: 0.01em; color: var(--color-light); margin: 0 0 6px; }
.feature-text { font-size: 14px; line-height: 1.6; color: var(--color-light); opacity: 0.7; margin: 0; }

/* ── Garantias ── */
.garantias-section { background: var(--color-primary); padding: 120px clamp(20px,6vw,48px); border-top: 1px solid rgba(var(--accent-rgb),0.15); }
.trust-grid { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 32px; }
.trust-card {
  display: flex; flex-direction: column; gap: 14px; padding: 34px 30px; border-radius: 22px;
  background: linear-gradient(160deg, rgba(255,255,255,0.07), rgba(255,255,255,0.015));
  border: 1px solid rgba(var(--light-rgb),0.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  transition: transform 0.5s var(--ease-out), border-color 0.4s ease;
}
.trust-card:hover { transform: translateY(-4px); border-color: rgba(var(--accent-rgb),0.45); }
.trust-stat { font-family: var(--font-serif); font-size: 42px; color: var(--color-accent); font-weight: 300; letter-spacing: -0.01em; line-height: 1; }
.trust-text { font-size: 15px; line-height: 1.65; color: var(--color-light); opacity: 0.85; margin: 0; }

/* ── Testimonials ── */
.testimonials-section { background: var(--color-light); padding: 120px clamp(20px,6vw,48px); }
.testi-ring-stage {
  position: relative; height: 420px; width: 100%;
  perspective: 1200px; perspective-origin: 50% 55%;
  touch-action: pan-y; cursor: grab; user-select: none;
}
.testi-ring-stage:active { cursor: grabbing; }
.testi-ring-stage .ring-empty { color: var(--color-dark-text); opacity: 0.55; }
.testi-ring-card {
  position: absolute; left: 50%; top: 50%;
  width: 290px; height: 264px; margin: -132px 0 0 -145px;
  border-radius: 14px; overflow: hidden; cursor: grab;
  background: #ffffff; padding: 28px 26px;
  display: flex; flex-direction: column; gap: 16px;
  box-shadow: 0 22px 44px rgba(var(--primary-rgb),0.16);
  border-top: 3px solid var(--color-secondary);
  backface-visibility: hidden;
  will-change: transform;
}
.testi-ring-header { display: flex; align-items: center; gap: 14px; }
.testi-ring-photo {
  width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
  border: 2px solid var(--color-accent);
  pointer-events: none;
}
.testi-ring-photo-placeholder {
  width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-accent); font-family: var(--font-serif); font-size: 22px; font-weight: 600;
  border: 2px solid var(--color-accent);
}
.testi-ring-who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.testi-ring-name { font-size: 14px; font-weight: 600; color: var(--color-dark-text); margin: 0; }
.testi-ring-role { font-size: 12px; color: var(--color-dark-text); opacity: 0.6; margin: 0; line-height: 1.3; }
.testi-ring-quote {
  font-family: var(--font-sans); font-size: 16px; line-height: 1.6; font-style: normal; font-weight: 400;
  color: var(--color-dark-text); opacity: 0.85; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden;
}

/* ── Pricing ── */
.pricing-section { background: var(--color-primary); padding: 120px clamp(20px,6vw,48px); }
.pricing-inner { max-width: 640px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.pricing-text { font-size: 16px; line-height: 1.7; color: var(--color-light); opacity: 0.85; max-width: 720px; margin: 0; }
.pricing-note { font-size: 13px; color: var(--color-accent); opacity: 0.85; letter-spacing: 0.3px; margin: 0; }

/* ── Footer ── */
.footer { background: var(--color-charcoal); padding: 64px clamp(20px,6vw,48px) 40px; border-top: 1px solid rgba(var(--accent-rgb),0.2); }
.footer-inner { max-width: 1120px; margin: 0 auto; display: flex; flex-direction: column; gap: 40px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.footer-logo-row { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.footer-logo-img { display: block; height: 96px; width: auto; }
.footer-name { font-size: 14px; color: var(--color-light); opacity: 0.85; margin-top: 16px; }
.footer-contact { display: flex; flex-direction: column; gap: 6px; }
.footer-contact-label { font-size: 12px; color: var(--color-accent); letter-spacing: 1.5px; opacity: 0.8; margin-bottom: 6px; }
.footer-link { color: var(--color-light); opacity: 0.85; font-size: 14px; text-decoration: none; min-height: 20px; }
.footer-link:hover { color: var(--color-secondary); opacity: 1; }
.footer-city { font-size: 14px; color: var(--color-light); opacity: 0.7; }
.footer-copy { font-size: 12px; color: var(--color-light); opacity: 0.45; margin: 0; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .hero-tagline, .hero-title, .hero-subtext, .hero-cta-wrap, .partners-track { animation: none !important; }
  .cta-button, .cta-button::before, .trust-card, .navbar-link::after { transition: none !important; }
}

/* ── Acceso agentes (modal de login / solicitud de cuenta) ── */
.hidden { display: none !important; }
.agent-modal { max-width: 560px; }
.agent-modal-body { padding: 40px clamp(22px,4vw,40px) 36px; display: flex; flex-direction: column; gap: 20px; }
.agent-modal-title { font-family: var(--font-serif); font-size: 30px; font-weight: 400; color: var(--color-primary); margin: 0; padding-right: 40px; }
.agent-tabs { display: flex; gap: 4px; background: rgba(var(--primary-rgb),0.08); border-radius: 999px; padding: 4px; box-shadow: inset 0 1px 2px rgba(var(--charcoal-rgb),0.08); }
.agent-tab {
  flex: 1; border: none; background: transparent; padding: 11px 12px; border-radius: 999px;
  font-family: var(--font-serif); font-size: 14px; font-weight: 500; letter-spacing: 0.02em; color: var(--color-primary); opacity: 0.7; cursor: pointer;
  transition: background 0.35s var(--ease-out), color 0.3s ease, opacity 0.3s ease, box-shadow 0.35s ease;
}
.agent-tab:hover { opacity: 1; }
.agent-tab.is-active { background: var(--color-primary); color: var(--color-light); opacity: 1; box-shadow: 0 6px 16px -8px rgba(var(--primary-rgb),0.9), inset 0 1px 0 rgba(255,255,255,0.12); }
.agent-form { display: flex; flex-direction: column; gap: 14px; }
.agent-form-hint { font-size: 14px; line-height: 1.6; color: var(--color-dark-text); opacity: 0.75; margin: 0; }
.agent-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1; }
.agent-field > span { font-size: 12px; font-weight: 600; letter-spacing: 0.4px; color: var(--color-primary); }
.agent-field input, .agent-field select, .agent-field textarea {
  width: 100%; min-width: 0; box-sizing: border-box; font-family: var(--font-sans); font-size: 15px; color: var(--color-dark-text);
  background: #fff; border: 1px solid rgba(var(--primary-rgb),0.18); border-radius: 12px; padding: 12px 14px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.agent-field textarea { resize: vertical; }
.agent-field input:focus, .agent-field select:focus, .agent-field textarea:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 4px rgba(var(--accent-rgb),0.22); }
.agent-field-row { display: flex; gap: 12px; }
@media (max-width: 520px) { .agent-field-row { flex-direction: column; gap: 14px; } }
.agent-form .cta-button { width: 100%; margin-top: 4px; }
.agent-form .cta-button:disabled { opacity: 0.6; cursor: wait; }
.agent-form-error { margin: 0; font-size: 13px; color: #b3402f; background: rgba(179,64,47,0.08); padding: 10px 12px; border-radius: 8px; }
.agent-form-link { align-self: center; font-size: 13px; color: var(--color-primary); opacity: 0.75; background: none; border: none; padding: 4px; font-family: var(--font-sans); text-decoration: underline; cursor: pointer; }
.agent-form-link:disabled { opacity: 0.4; cursor: wait; }
.agent-form-note { margin: 0; font-size: 13px; line-height: 1.5; color: #6b4f1f; background: rgba(var(--accent-rgb),0.18); border: 1px solid var(--color-accent); padding: 10px 12px; border-radius: 8px; }
.agent-form-note a { color: var(--color-primary); font-weight: 700; }
.agent-success { text-align: center; padding: 16px 0 8px; display: flex; flex-direction: column; gap: 8px; }
.agent-success-title { font-family: var(--font-serif); font-size: 26px; font-weight: 400; color: var(--color-primary); margin: 0; }

/* ── Ojito para mostrar/ocultar contraseña (assets/js/password-toggle.js) ── */
.pw-wrap { position: relative; display: block; width: 100%; }
.pw-wrap input { width: 100%; padding-right: 44px !important; }
.pw-toggle {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: none; border-radius: 8px; cursor: pointer;
  color: var(--color-primary); opacity: 0.6;
}
.pw-toggle:hover, .pw-toggle:focus-visible { opacity: 1; background: rgba(var(--primary-rgb),0.08); }

/* ── Código, operación y características de la propiedad ── */

.property-modal-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.property-modal-code, .property-modal-tag {
  font-family: var(--font-sans); font-size: 12px; font-weight: 500; letter-spacing: 0.06em;
  padding: 5px 12px; border-radius: 999px;
}
.property-modal-code { background: var(--color-primary); color: var(--color-accent); }
.property-modal-tag { background: rgba(var(--primary-rgb),0.08); color: var(--color-primary); border: 1px solid rgba(var(--primary-rgb),0.14); }
.property-modal-features { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.property-modal-feature {
  display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; border-radius: 14px;
  background: #fff; border: 1px solid rgba(var(--primary-rgb),0.1);
}
.property-modal-feature-label { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-primary); opacity: 0.6; }
.property-modal-feature-value { font-family: var(--font-serif); font-size: 15px; color: var(--color-dark-text); }

/* ── Filtro por operación (control segmentado de vidrio) ── */
.operation-filters {
  display: flex; justify-content: center; gap: 4px; width: max-content; max-width: 100%; margin: 0 auto 16px;
  padding: 5px; border-radius: 999px; overflow-x: auto; scrollbar-width: none;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(var(--light-rgb),0.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 12px 30px -18px rgba(0,0,0,0.6);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.operation-filters::-webkit-scrollbar { display: none; }
.operation-tab {
  display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0;
  padding: 10px 20px; border: none; border-radius: 999px; background: transparent; cursor: pointer;
  font-family: var(--font-serif); font-size: 15px; font-weight: 400; letter-spacing: 0.03em; color: var(--color-light); opacity: 0.8;
  transition: background 0.35s var(--ease-out), color 0.3s ease, opacity 0.3s ease, box-shadow 0.35s ease;
}
.operation-tab:hover { opacity: 1; background: rgba(255,255,255,0.06); }
.operation-tab:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.operation-tab-count {
  font-family: var(--font-sans); font-size: 11px; font-weight: 500; min-width: 20px; padding: 2px 7px; border-radius: 999px;
  background: rgba(var(--light-rgb),0.12); text-align: center;
}
.operation-tab.is-active {
  opacity: 1; color: var(--color-charcoal);
  background: linear-gradient(180deg, #F8DA8C 0%, var(--color-accent) 55%, #DCA431 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.55), 0 8px 20px -10px rgba(var(--accent-rgb),0.9);
}
.operation-tab.is-active .operation-tab-count { background: rgba(var(--charcoal-rgb),0.14); }
@media (max-width: 560px) {
  /* En celular las 4 opciones no entran en una fila: cuadrícula 2×2 */
  .operation-filters { display: grid; grid-template-columns: 1fr 1fr; width: 100%; border-radius: 24px; overflow: visible; }
  .operation-tab { justify-content: center; padding: 10px 12px; font-size: 14px; }
}

/* ── Filtro por presupuesto (selector de vidrio) ── */
.select-filters { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: center; gap: 14px 16px; margin: 0 auto 20px; }
.budget-filter { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.budget-filter-label { font-size: 11px !important; padding-left: 18px; }
.budget-filter-label { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-accent); opacity: 0.9; }
.budget-filter-select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  font-family: var(--font-sans); font-size: 15px; color: var(--color-light);
  padding: 10px 44px 10px 18px; border-radius: 999px; min-width: 175px; max-width: 100%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F1BF46' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 16px center / 16px no-repeat,
    rgba(255,255,255,0.06);
  border: 1px solid rgba(var(--light-rgb),0.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}
.budget-filter-select:hover { border-color: rgba(var(--accent-rgb),0.6); }
.budget-filter-select:focus-visible { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 4px rgba(var(--accent-rgb),0.2); }
.budget-filter-select.is-set { border-color: var(--color-accent); box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 0 0 1px rgba(var(--accent-rgb),0.35); }
.budget-filter-select option { color: var(--color-charcoal); background: #fff; }
.budget-filter-select option:disabled { color: #9aa0a3; }
/* ── Selector con la marca (reemplaza la lista nativa azul del navegador) ── */
.brand-select { position: relative; }
.brand-select.is-open { z-index: 30; }
.brand-select-native {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; opacity: 0; pointer-events: none;
}
.brand-select-trigger {
  text-align: left; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  -webkit-tap-highlight-color: transparent;
}
.brand-select-trigger { transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease, background-position 0.3s ease; }
.brand-select.is-open .brand-select-trigger {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb),0.16);
  background-color: rgba(255,255,255,0.1);
}
.brand-select-list {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 100%; width: max-content; max-width: min(320px, 92vw);
  max-height: 320px; overflow-y: auto; overscroll-behavior: contain;
  margin: 0; padding: 7px; list-style: none; outline: none;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(49,62,47,0.97) 0%, rgba(var(--charcoal-rgb),0.97) 100%);
  border: 1px solid rgba(var(--accent-rgb),0.35);
  box-shadow: 0 24px 48px -16px rgba(0,0,0,0.65), inset 0 1px 0 rgba(255,255,255,0.08);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  scrollbar-width: thin; scrollbar-color: rgba(var(--accent-rgb),0.4) transparent;
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(0.98); transform-origin: top left;
  transition: opacity 0.2s ease, transform 0.25s var(--ease-out), visibility 0s linear 0.25s;
}
.brand-select.is-open .brand-select-list {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity 0.2s ease, transform 0.25s var(--ease-out), visibility 0s;
}
.brand-select-option {
  display: flex; align-items: center; gap: 10px; cursor: pointer;
  padding: 10px 12px 10px 10px; border-radius: 14px;
  font-family: var(--font-sans); font-size: 15px; color: var(--color-light); white-space: nowrap;
  transition: background-color 0.18s ease, color 0.18s ease;
}
.brand-select-option.is-active { background: rgba(var(--accent-rgb),0.14); color: #fff; }
.brand-select-option[aria-selected="true"] { color: var(--color-accent); }
.brand-select-option[aria-disabled="true"] { cursor: default; opacity: 0.38; }
.brand-select-check { width: 14px; height: 14px; flex-shrink: 0; }
.brand-select-option[aria-selected="true"] .brand-select-check {
  background: var(--color-accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / contain no-repeat;
}
.brand-select-text { flex: 1; }
.brand-select-count {
  margin-left: 14px; min-width: 24px; padding: 2px 8px; border-radius: 999px; text-align: center;
  font-size: 12px; font-weight: 500; color: var(--color-light);
  background: rgba(var(--light-rgb),0.1);
}
.brand-select-option[aria-selected="true"] .brand-select-count { color: var(--color-charcoal); background: var(--color-accent); }
@media (max-width: 520px) {
  .brand-select-list { width: 100%; max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .brand-select-list { transition: none; transform: none; }
}
@media (max-width: 520px) {
  .select-filters { flex-direction: column; align-items: stretch; width: 100%; }
  .budget-filter { align-items: stretch; gap: 6px; }
  .budget-filter-select { width: 100%; }
}

/* ── Responsive: ficha de propiedad en celular ── */
@media (max-width: 560px) {
  .property-modal-backdrop { padding: 10px; align-items: flex-end; }
  .property-modal { max-height: 94vh; border-radius: 22px 22px 16px 16px; }
  .property-modal-gallery { height: 260px; }
  .property-modal-body { padding: 24px 18px 28px; }
  .property-modal-specs { gap: 18px; }
  .property-modal-features { grid-template-columns: 1fr 1fr; }
  .agent-modal-body { padding: 30px 18px 24px; }
}

/* ── Anillo de propiedades a todo el ancho, desvanecido en los bordes ── */
.ring-stage--edge-fade {
  width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
  --fade: clamp(40px, 14vw, 240px);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--fade), #000 calc(100% - var(--fade)), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 var(--fade), #000 calc(100% - var(--fade)), transparent 100%);
}

/* ── Pista "desliza" bajo el carrusel: manito que va y viene; se oculta al primer toque/arrastre ── */

/* ── Botón "Limpiar filtros" ── */
.clear-filters-wrap { display: flex; justify-content: center; }
.clear-filters {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer; margin: -6px 0 18px;
  font-family: var(--font-sans); font-size: 14px; letter-spacing: 0.03em; color: var(--color-accent);
  padding: 8px 18px; border-radius: 999px;
  background: rgba(var(--accent-rgb),0.08);
  border: 1px solid rgba(var(--accent-rgb),0.45);
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s var(--ease-out);
  animation: fadeInSimple 0.5s var(--ease-out) both;
}
.clear-filters svg { width: 14px; height: 14px; transition: transform 0.4s var(--ease-out); }
.clear-filters:hover { background: rgba(var(--accent-rgb),0.18); color: #fff; transform: translateY(-1px); }
.clear-filters:hover svg { transform: rotate(90deg); }
.clear-filters:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }

/* ══ Landing en negro y dorado (mismo lenguaje que el panel) ══
   Secciones alternan dos negros para que se distingan; cada cambio de sección lleva un hilo dorado. */
:root {
  --lux-black: #0A0A09;
  --lux-black-2: #121110;
  --lux-border: rgba(241,191,70,0.16);
  --lux-border-strong: rgba(241,191,70,0.45);
  --lux-text: #EDE3D1;
  --lux-muted: rgba(237,227,209,0.62);
  --lux-gold: #E3BE66;
  --lux-gold-light: #F8DA8C;
  --lux-gold-text: linear-gradient(180deg, #FBE6A6 0%, #F1BF46 55%, #C9922E 100%);
  --lux-gold-border: linear-gradient(135deg, #FBE6A6 0%, #C9922E 35%, #F1BF46 55%, #8C6A22 80%, #FBE6A6 100%);
}
body { background: var(--lux-black); color: var(--lux-text); color-scheme: dark; }
::selection { background: rgba(var(--accent-rgb),0.45); color: #0A0A09; }
html { scrollbar-color: rgba(var(--accent-rgb),0.35) var(--lux-black); }

/* Barra de navegación */
.navbar.is-scrolled {
  background: rgba(10,10,9,0.82);
  border-bottom-color: var(--lux-border);
  box-shadow: 0 10px 30px -18px rgba(0,0,0,0.9);
}
.navbar.is-menu-open, .navbar-mobile-panel { background: var(--lux-black); }
.navbar-mobile-link { color: var(--lux-text); }

/* Hero: el video se oscurece hacia el negro, con un halo dorado detrás del texto */
.hero { background: radial-gradient(120% 100% at 15% 10%, #1d1b16 0%, #0d0d0c 55%, #050505 100%); }
.hero-overlay {
  background:
    radial-gradient(60% 55% at 22% 50%, rgba(var(--accent-rgb),0.10) 0%, rgba(var(--accent-rgb),0) 70%),
    linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.62) 60%, var(--lux-black) 100%);
}
.hero-tagline, .hero-subtext { color: var(--lux-text); }

/* Fondos de sección */
.propiedades-section, .features-section, .pricing-section { background: var(--lux-black); }
.garantias-section, .testimonials-section { background: var(--lux-black-2); }
.propiedades-section, .features-section, .garantias-section, .testimonials-section, .pricing-section { position: relative; }
.features-section::before, .garantias-section::before, .testimonials-section::before, .pricing-section::before {
  content: ''; position: absolute; top: 0; left: 12%; right: 12%; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(248,218,140,0.5), transparent);
}
.garantias-section { border-top: none; }

/* Títulos de sección en dorado degradado; subtítulos en crema */
.section-heading--light, .section-heading--dark {
  background: var(--lux-gold-text);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  padding-bottom: 0.08em;
}
.section-sub, .section-sub--light { color: var(--lux-muted); opacity: 1; }
.feature-title, .trust-text, .pricing-text { color: var(--lux-text); }
.feature-text { color: var(--lux-muted); opacity: 1; }
.feature-icon {
  background: rgba(var(--accent-rgb),0.06);
  border-color: rgba(var(--accent-rgb),0.45);
  box-shadow: 0 0 22px -8px rgba(var(--accent-rgb),0.6);
}

/* Tarjetas de garantías: vidrio negro con borde dorado */
.trust-card {
  background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.012));
  border: 1px solid var(--lux-border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 18px 40px -26px rgba(0,0,0,0.9);
}
.trust-card:hover { border-color: var(--lux-border-strong); box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 0 40px -18px rgba(var(--accent-rgb),0.45); }

/* Cinta de auspiciadores: se mantiene clara (los logos vienen con fondo blanco), enmarcada en dorado */
.partners-strip {
  background: #F6F1EA;
  border-top: 1px solid rgba(var(--accent-rgb),0.55);
  border-bottom: 1px solid rgba(var(--accent-rgb),0.55);
}

/* Testimonios: tarjetas de vidrio negro */
.testi-ring-card {
  background: linear-gradient(180deg, #1a1915 0%, #0f0f0e 100%);
  border: 1px solid var(--lux-border);
  border-top: 2px solid rgba(var(--accent-rgb),0.7);
  box-shadow: 0 24px 50px -20px rgba(0,0,0,0.9), 0 0 40px -24px rgba(var(--accent-rgb),0.35);
}
.testi-ring-name { color: var(--lux-gold-light); }
.testi-ring-role { color: var(--lux-muted); opacity: 1; }
.testi-ring-quote { color: var(--lux-text); opacity: 0.9; }
.testi-ring-photo-placeholder { background: #15140f; color: var(--lux-gold-light); }
.testi-ring-stage .ring-empty { color: var(--lux-muted); opacity: 1; }

/* Pie de página */
.footer { background: #050505; border-top: 1px solid var(--lux-border-strong); }
.footer-link:hover { color: var(--lux-gold-light); }

/* Botones secundarios (vidrio): vidrio negro con borde en degradado dorado y letras doradas */
.cta-button--glass, .cta-button--outline {
  color: var(--lux-gold-light);
  text-shadow: 0 0 12px rgba(var(--accent-rgb),0.4);
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.02) 45%, rgba(0,0,0,0.25) 100%) padding-box,
    linear-gradient(180deg, rgba(28,26,21,0.85), rgba(11,11,10,0.85)) padding-box,
    var(--lux-gold-border) border-box;
}
.cta-button--glass:hover, .cta-button--outline:hover {
  color: #FFE9A8;
  border-color: transparent;
  background:
    linear-gradient(180deg, rgba(var(--accent-rgb),0.14) 0%, rgba(255,255,255,0.02) 55%, rgba(0,0,0,0.25) 100%) padding-box,
    linear-gradient(180deg, rgba(28,26,21,0.9), rgba(11,11,10,0.9)) padding-box,
    var(--lux-gold-border) border-box;
}

/* Filtros: lista desplegable negra */
.brand-select-list { background: linear-gradient(180deg, rgba(24,23,20,0.98) 0%, rgba(8,8,8,0.98) 100%); }
.budget-filter-select option { color: var(--lux-text); background: #151410; }

/* Ventanas (ficha de propiedad y acceso agentes): negras con hilo dorado */
.property-modal-backdrop { background: rgba(0,0,0,0.75); }
.property-modal {
  background:
    radial-gradient(120% 40% at 50% 0%, rgba(var(--accent-rgb),0.07) 0%, rgba(var(--accent-rgb),0) 60%),
    linear-gradient(180deg, #161512 0%, #0b0b0a 100%);
  border: 1px solid rgba(var(--accent-rgb),0.26);
  box-shadow: 0 40px 90px -20px rgba(0,0,0,0.85), 0 0 60px -24px rgba(var(--accent-rgb),0.35);
  color: var(--lux-text);
  scrollbar-color: rgba(var(--accent-rgb),0.35) transparent;
}
.property-modal-close {
  background: rgba(10,10,9,0.7); color: var(--lux-gold-light);
  border: 1px solid var(--lux-border-strong);
}
.property-modal-close:hover { background: rgba(var(--accent-rgb),0.14); }
.property-modal-gallery { background: #050505; }
.property-modal-title, .property-modal-spec-value, .property-modal-feature-value, .property-modal-agent-name { color: var(--lux-text); }
.property-modal-desc, .property-modal-rate { color: var(--lux-text); opacity: 0.75; }
.property-modal-location, .property-modal-spec-label, .property-modal-feature-label, .property-modal-agent-label { color: var(--lux-gold); opacity: 0.8; }
.property-modal-price { color: var(--lux-gold-light); }
.property-modal-specs { border-color: var(--lux-border); }
.property-modal-agent, .property-modal-feature { background: rgba(255,255,255,0.035); border: 1px solid var(--lux-border); }
.property-modal-agent-avatar-placeholder { background: #15140f; }
.property-modal-code { background: rgba(var(--accent-rgb),0.14); color: var(--lux-gold-light); border: 1px solid rgba(var(--accent-rgb),0.35); }

.agent-modal-title, .agent-success-title {
  background: var(--lux-gold-text);
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.agent-tabs { background: rgba(255,255,255,0.05); box-shadow: inset 0 1px 2px rgba(0,0,0,0.5); }
.agent-tab { color: var(--lux-muted); opacity: 1; }
.agent-tab:hover { color: var(--lux-text); }
.agent-tab.is-active {
  color: var(--lux-gold-light);
  background: linear-gradient(180deg, rgba(var(--accent-rgb),0.16), rgba(var(--accent-rgb),0.06));
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb),0.45), 0 6px 16px -8px rgba(var(--accent-rgb),0.5);
}
.agent-form-hint { color: var(--lux-text); opacity: 0.7; }
.agent-field > span { color: var(--lux-gold); }
.agent-field input, .agent-field select, .agent-field textarea {
  background: rgba(255,255,255,0.04); color: #F4EBDD;
  border: 1px solid rgba(var(--accent-rgb),0.22); caret-color: var(--color-accent);
}
.agent-field input::placeholder, .agent-field textarea::placeholder { color: rgba(237,227,209,0.35); }
.agent-field input:focus, .agent-field select:focus, .agent-field textarea:focus {
  background: rgba(255,255,255,0.06); border-color: rgba(var(--accent-rgb),0.8); box-shadow: 0 0 0 4px rgba(var(--accent-rgb),0.14);
}
.agent-field select option { background: #151410; color: var(--lux-text); }
.agent-field input:-webkit-autofill, .agent-field input:-webkit-autofill:hover, .agent-field input:-webkit-autofill:focus {
  -webkit-text-fill-color: #F4EBDD; -webkit-box-shadow: 0 0 0 1000px #161512 inset;
  transition: background-color 9999s ease-out 0s;
}
.agent-form-error { color: #F2B8AC; background: rgba(179,64,47,0.18); border: 1px solid rgba(196,85,63,0.45); }
.agent-form-link { color: var(--lux-gold); opacity: 1; }
.agent-form-note { color: #F4DDA0; background: rgba(var(--accent-rgb),0.10); border-color: rgba(var(--accent-rgb),0.5); }
.agent-form-note a { color: var(--lux-gold-light); }
.pw-toggle { color: var(--lux-gold); }
.pw-toggle:hover, .pw-toggle:focus-visible { background: rgba(var(--accent-rgb),0.12); }

/* ── Instalar app (PWA) ── */
[data-install-app][hidden] { display: none !important; }

/* ── Menú desplegable (celular y tablet): vidrio opaco ── */
/* El desenfoque de la barra crea un "contenedor" que encogía el panel fijo (quedaba de 0px de alto
   y el menú se veía transparente sobre el carrusel): al abrir el menú se quita. */
.navbar.is-menu-open {
  -webkit-backdrop-filter: none; backdrop-filter: none;
  background: rgba(10,10,9,0.96);
  border-bottom-color: var(--lux-border);
}
.navbar-mobile-panel {
  height: calc(100vh - 76px); height: calc(100dvh - 76px);
  overflow-y: auto; overscroll-behavior: contain;
  background: linear-gradient(180deg, rgba(20,18,14,0.97), rgba(8,8,7,0.985));
  -webkit-backdrop-filter: blur(28px) saturate(140%); backdrop-filter: blur(28px) saturate(140%);
  border-top: 1px solid var(--lux-border);
  box-shadow: inset 0 1px 0 rgba(var(--accent-rgb),0.18);
}
.navbar-mobile-link { border-bottom: 1px solid rgba(var(--accent-rgb),0.12); }
body.menu-open { overflow: hidden; }

/* ── Formulario "Quiero que me contacten" en la ficha de propiedad ── */
.lead-form { margin-top: 22px; padding-top: 22px; border-top: 1px solid rgba(var(--accent-rgb), 0.28); gap: 14px; }
.lead-form-title { margin: 0; font-family: var(--font-serif); font-size: 24px; font-weight: 400; color: var(--lux-text-strong, #F4EBDD); }
.lead-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.5; color: var(--lux-text, #EDE3D1); cursor: pointer; }
.lead-consent input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--color-accent); }
.lead-privacy { margin: -4px 0 0; font-size: 12.5px; color: var(--lux-muted, rgba(237,227,209,0.62)); }
.lead-privacy a, .footer-copy a, .agent-form-hint a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.lead-privacy a:hover, .footer-copy a:hover, .agent-form-hint a:hover { color: var(--lux-gold-light, #F8DA8C); }

/* ── Propiedades: grilla de tarjetas limpias (mismo lenguaje que el panel) ── */
.prop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; margin-top: 36px; }
.prop-grid-empty { grid-column: 1 / -1; margin: 24px 0; padding: 40px 24px; text-align: center; font-size: 15px; color: var(--lux-muted, rgba(237,227,209,0.62)); border: 1px dashed var(--lux-border, rgba(241,191,70,0.16)); border-radius: 14px; }
.prop-more-wrap { display: flex; justify-content: center; margin-top: 40px; }

.prop-tile {
  display: flex; flex-direction: column; overflow: hidden; cursor: pointer;
  background: linear-gradient(180deg, rgba(255,255,255,0.045) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid var(--lux-border, rgba(241,191,70,0.16)); border-radius: 16px;
  transition: transform .3s var(--ease-out), border-color .3s ease, box-shadow .3s ease;
}
.prop-tile:hover { transform: translateY(-4px); border-color: var(--lux-border-strong, rgba(241,191,70,0.45)); box-shadow: 0 24px 44px -26px rgba(241,191,70,0.35); }
.prop-tile:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
.prop-tile--featured { border-color: rgba(var(--accent-rgb), 0.5); }

.prop-tile-ph { position: relative; aspect-ratio: 4 / 3; background: #15140f; overflow: hidden; }
.prop-tile-img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.prop-tile:hover .prop-tile-img { transform: scale(1.04); }
.prop-tile-noimg {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 16px; text-align: center;
  font-family: var(--font-serif); font-size: 18px; color: var(--lux-gold-light, #F8DA8C);
  background: linear-gradient(135deg, #1b160c, #3a2a12);
}
/* Etiquetas de la tarjeta: operación = vidrio negro con borde en degradado dorado; Destacada = oro metálico con destello */
.prop-tile-badges { position: absolute; left: 14px; top: 14px; z-index: 2; display: flex; flex-wrap: wrap; gap: 8px; }
.prop-tile-badge, .property-modal-tag {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px 6px;
  font-family: var(--font-serif); font-size: 12.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; line-height: 1;
  color: var(--lux-gold-light, #F8DA8C); text-shadow: 0 0 10px rgba(var(--accent-rgb), 0.45);
  border: 1px solid transparent; border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.02) 45%, rgba(0,0,0,0.28) 100%) padding-box,
    linear-gradient(180deg, rgba(30,27,20,0.82), rgba(10,10,9,0.82)) padding-box,
    var(--lux-gold-border, linear-gradient(135deg, #FBE6A6, #C9922E 45%, #F1BF46 70%, #8C6A22)) border-box;
  -webkit-backdrop-filter: blur(10px) saturate(140%); backdrop-filter: blur(10px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255,236,180,0.28), 0 8px 20px -8px rgba(0,0,0,0.8);
}
/* rombo dorado, ornamento de la marca */
.prop-tile-badge::before, .property-modal-tag::before {
  content: ''; flex: none; width: 5px; height: 5px; transform: rotate(45deg);
  background: linear-gradient(135deg, #FBE6A6, #C9922E); box-shadow: 0 0 6px rgba(var(--accent-rgb), 0.75);
}
.prop-tile-badge--gold {
  color: #1a1305; text-shadow: 0 1px 0 rgba(255,244,205,0.7);
  border: 1px solid rgba(255,244,205,0.7);
  background: linear-gradient(135deg, #FBE6A6 0%, #F1BF46 32%, #C9922E 64%, #F8DA8C 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.75), inset 0 -1px 0 rgba(120,80,0,0.35),
    0 8px 22px -6px rgba(var(--accent-rgb), 0.7), 0 0 0 1px rgba(0,0,0,0.25);
}
.prop-tile-badge--gold::before { display: none; }
.prop-tile-badge--gold svg { flex: none; width: 13px; height: 13px; fill: currentColor; filter: drop-shadow(0 1px 0 rgba(255,244,205,0.6)); }
/* destello que cruza la etiqueta de vez en cuando */
.prop-tile-badge--gold::after {
  content: ''; position: absolute; inset: -1px; z-index: 1; pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,0.5) 50%, transparent 62%);
  transform: translateX(-130%); animation: badgeSheen 5s ease-in-out infinite;
}
@keyframes badgeSheen { 0%, 62% { transform: translateX(-130%); } 100% { transform: translateX(130%); } }
@media (prefers-reduced-motion: reduce) { .prop-tile-badge--gold::after { animation: none; display: none; } }
@media (max-width: 400px) { .prop-tile-badge, .property-modal-tag { padding: 6px 12px 5px; font-size: 11.5px; letter-spacing: .16em; } }

.prop-tile-body { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px 18px; flex: 1; }
.prop-tile-eyebrow { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--lux-gold, #E3BE66); }
.prop-tile-title {
  margin: 0; font-family: var(--font-serif); font-size: 23px; font-weight: 400; line-height: 1.2; color: var(--lux-text-strong, #F4EBDD);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere;
}
.prop-tile-price { font-family: var(--font-serif); font-size: 26px; line-height: 1.1; color: var(--lux-gold-light, #F8DA8C); }
.prop-tile-price small { font-family: var(--font-sans); font-size: 12px; color: var(--lux-muted, rgba(237,227,209,0.62)); }
.prop-tile-facts { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin: 2px 0 0; font-size: 13.5px; color: var(--lux-muted, rgba(237,227,209,0.62)); }
.prop-tile-code {
  margin-left: auto; padding: 2px 9px; border-radius: 999px; font-size: 11px; letter-spacing: .06em;
  background: rgba(var(--accent-rgb), 0.14); color: var(--lux-gold-light, #F8DA8C); border: 1px solid rgba(var(--accent-rgb), 0.3);
}

.prop-tile-agent { display: flex; flex-direction: column; gap: 12px; padding: 16px 22px 20px; border-top: 1px solid var(--lux-border, rgba(241,191,70,0.16)); }
.prop-tile-agent-row { display: flex; align-items: center; gap: 12px; min-width: 0; }
.prop-tile-avatar {
  flex: none; width: 42px; height: 42px; border-radius: 50%; object-fit: cover; display: flex; align-items: center; justify-content: center;
  border: 1.5px solid rgba(var(--accent-rgb), 0.55); background: #15140f;
}
.prop-tile-avatar--initial { font-family: var(--font-serif); font-size: 18px; color: var(--lux-gold-light, #F8DA8C); }
.prop-tile-avatar--brand img { width: 62%; height: 62%; object-fit: contain; }
.prop-tile-agent-who { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.prop-tile-agent-label { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--lux-muted, rgba(237,227,209,0.62)); }
.prop-tile-agent-name { font-size: 15px; font-weight: 500; color: var(--lux-text, #EDE3D1); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prop-tile-socials { display: flex; flex: none; gap: 6px; }
.prop-tile-socials .property-modal-social-link { width: 26px; height: 26px; transition: transform .2s ease; }
.prop-tile-socials .property-modal-social-link:hover { transform: translateY(-2px); }

/* Botón de WhatsApp de la tarjeta: usa el estilo de vidrio dorado del sitio (.cta-button--glass); aquí solo el tamaño */
.prop-tile-wa { --btn-h: 46px; width: 100%; max-width: none; padding: 0 18px; font-size: 15px; }
.prop-tile-wa svg { width: 18px; height: 18px; }

@media (max-width: 700px) {
  .prop-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 28px; }
  .propiedades-section { padding-bottom: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  .prop-tile, .prop-tile-img { transition: none; }
  .prop-tile:hover, .prop-tile:hover .prop-tile-img { transform: none; }
}

/* ── Marketplace Inmobiliario: página propia (marketplace.html) y vista previa en el inicio ── */
.marketplace-section { padding-top: 150px; min-height: 70vh; }
.marketplace-section .section-heading { margin-top: 0; }
.prop-cta-wrap { display: flex; justify-content: center; margin-top: 44px; }
.navbar-link.is-active { color: var(--lux-gold-light, #F8DA8C); }
/* El enlace largo "Marketplace Inmobiliario" no se parte en dos líneas; en laptops angostas se compacta el menú. */
.navbar-link { white-space: nowrap; }
@media (min-width: 1080px) and (max-width: 1279px) {
  .navbar-links { gap: 16px; }
  .navbar-link { font-size: 14px; }
  .navbar-links .cta-button--sm { padding-left: 14px; padding-right: 14px; }
}
.navbar-mobile-link.is-active { color: var(--lux-gold-light, #F8DA8C); }
@media (max-width: 700px) {
  .marketplace-section { padding-top: 120px; }
}

/* ── Celular y tablet: accesos rápidos fijos abajo en lugar del menú hamburguesa ── */
.quick-bar, .navbar-install { display: none; }
@media (max-width: 1079px) {
  .navbar-burger, .navbar-mobile-panel { display: none !important; }
  .navbar-install {
    display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; font-size: 13px; font-weight: 600;
    color: var(--lux-gold-light, #F8DA8C); text-decoration: none; white-space: nowrap;
    border: 1px solid rgba(var(--accent-rgb), 0.55); border-radius: 99px; background: rgba(var(--accent-rgb), 0.08);
  }
  .navbar-install[hidden] { display: none; }
  .navbar-install svg { width: 16px; height: 16px; flex: none; }
  .quick-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 150; display: grid; grid-template-columns: repeat(5, 1fr);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
    background: rgba(10,10,9,0.94); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
    border-top: 1px solid rgba(var(--accent-rgb), 0.35); box-shadow: 0 -10px 30px rgba(0,0,0,0.45);
  }
  .qb-item {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    min-height: 54px; padding: 6px 2px; font: inherit; font-size: 10.5px; font-weight: 500; letter-spacing: .01em;
    color: rgba(237,227,209,0.62); text-decoration: none; background: none; border: 0; cursor: pointer;
    -webkit-tap-highlight-color: transparent; transition: color .25s ease;
  }
  .qb-item svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
  .qb-item.is-active { color: var(--lux-gold-light, #F8DA8C); font-weight: 700; }
  .qb-item.is-active::after { content: ''; position: absolute; left: 22%; right: 22%; bottom: 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #8A5A12, #F1BF46, #8A5A12); }
  .qb-item:active { color: var(--color-accent); }
  .qb-item:focus-visible { outline: 2px solid var(--color-accent); outline-offset: -2px; border-radius: 10px; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .footer { padding-bottom: 28px; }
}
@media (max-width: 360px) { .qb-item { font-size: 9.5px; } .navbar-install span { display: none; } .navbar-install { padding: 10px; } }

/* ── Botones del hero: "Estilo Premium con Flecha" (cápsula con zona de flecha de borde diagonal) ──
   .pa-btn--primary = CTA principal (dorado); .pa-btn--secondary = hermano oscuro con borde dorado.
   Solo se usan en el hero del landing; los demás botones (.cta-button) no cambian. */
.hero-cta-wrap .pa-btn { flex: 0 1 auto; }
.pa-btn {
  --pa-h: 56px; --pa-zone: 66px; --pa-slant: 20px;
  position: relative; display: inline-flex; align-items: stretch; box-sizing: border-box; height: var(--pa-h);
  padding: 0 0 0 22px; border-radius: 999px; overflow: hidden; cursor: pointer; text-decoration: none; white-space: nowrap;
  font-family: var(--font-serif); font-size: 17px; font-weight: 500; letter-spacing: .02em; line-height: 1;
  -webkit-tap-highlight-color: transparent;
  transition: transform .28s var(--ease-out), box-shadow .28s ease, filter .28s ease, background-color .28s ease, border-color .28s ease;
}
/* Efecto vidrio: reflejo de luz en la mitad superior de la cápsula */
.pa-btn::before { content: ''; position: absolute; inset: 0; z-index: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(180deg, rgba(255,255,255,.34) 0%, rgba(255,255,255,.08) 46%, rgba(255,255,255,0) 52%); }
.pa-btn--secondary::before { background: linear-gradient(180deg, rgba(248,218,140,.16) 0%, rgba(248,218,140,.04) 46%, rgba(248,218,140,0) 52%); }
.pa-icon, .pa-label, .pa-arrow { display: inline-flex; align-items: center; position: relative; z-index: 1; }
.pa-icon { margin-right: 12px; }
.pa-icon svg { width: 24px; height: 24px; flex: none; }
.pa-label { padding-right: 16px; }
.pa-arrow {
  justify-content: center; width: var(--pa-zone); margin-left: 6px; flex: none;
  clip-path: polygon(var(--pa-slant) 0, 100% 0, 100% 100%, 0 100%);  /* corte diagonal: la zona de la flecha "entra" en el botón */
  transition: background .28s ease;
}
.pa-arrow svg { width: 20px; height: 20px; margin-left: 8px; flex: none; transition: transform .28s var(--ease-out); }
.pa-btn:hover { transform: translateY(-1px); }
.pa-btn:hover .pa-arrow svg { transform: translateX(4px); }
.pa-btn:active { transform: scale(.98); transition-duration: .12s; }
.pa-btn:focus-visible { outline: 2px solid #F8DA8C; outline-offset: 3px; }

/* Principal */
.pa-btn--primary {
  color: #0A0A09; border: 1px solid rgba(255,236,176,.62);
  background: linear-gradient(110deg, rgba(248,218,140,.86) 0%, rgba(245,203,92,.78) 55%, rgba(241,191,70,.72) 100%);
  -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), inset 0 -1px 0 rgba(138,90,18,.28), 0 12px 30px -14px rgba(241,191,70,.75);
}
.pa-btn--primary .pa-arrow { background: linear-gradient(135deg, rgba(217,164,65,.8) 0%, rgba(200,148,47,.72) 100%); }
.pa-btn--primary:hover { filter: brightness(1.06); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 12px 32px -10px rgba(241,191,70,.65), 0 0 0 1px rgba(248,218,140,.35); }
.pa-btn--primary:hover .pa-arrow { background: linear-gradient(135deg, rgba(231,177,72,.85) 0%, rgba(217,164,65,.78) 100%); }

/* Secundario */
.pa-btn--secondary {
  color: #EDE3D1; border: 1.5px solid #D9A441;
  background: linear-gradient(180deg, rgba(255,255,255,.11) 0%, rgba(255,255,255,.03) 50%, rgba(0,0,0,.18) 100%), rgba(10,10,9,.42);
  -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(248,218,140,.3), 0 12px 30px -16px rgba(0,0,0,.7);
}
.pa-btn--secondary .pa-icon, .pa-btn--secondary .pa-arrow { color: #D9A441; }
.pa-btn--secondary .pa-arrow { background: linear-gradient(135deg, rgba(217,164,65,.2) 0%, rgba(217,164,65,.07) 100%); }
.pa-btn--secondary:hover { background: linear-gradient(180deg, rgba(248,218,140,.2) 0%, rgba(241,191,70,.06) 55%, rgba(0,0,0,.14) 100%), rgba(10,10,9,.42); border-color: #F1BF46; box-shadow: 0 10px 28px -12px rgba(241,191,70,.55); }
.pa-btn--secondary:hover .pa-icon, .pa-btn--secondary:hover .pa-arrow { color: #F1BF46; }
.pa-btn--secondary:hover .pa-arrow { background: linear-gradient(135deg, rgba(241,191,70,.28) 0%, rgba(241,191,70,.1) 100%); }

@media (max-width: 520px) {
  .hero-cta-wrap { flex-direction: column; gap: 12px; }
  .hero-cta-wrap .pa-btn { width: 100%; }
  .pa-label { flex: 1; }
  .pa-arrow { margin-left: 0; }
}
@media (max-width: 360px) { .pa-btn { font-size: 15.5px; padding-left: 16px; } .pa-icon { margin-right: 9px; } .pa-label { padding-right: 8px; } }
@media (prefers-reduced-motion: reduce) { .pa-btn, .pa-arrow svg { transition: none; } }

/* Login con Google (G monocroma en dorado: sin verde en la marca) */
.google-btn { display:flex; align-items:center; justify-content:center; gap:10px; width:100%; padding:12px 16px; background:transparent; color:var(--lux-gold, #E3BE66); border:1px solid var(--lux-gold, #E3BE66); border-radius:8px; font:inherit; font-weight:500; cursor:pointer; transition:background .2s; }
.google-btn:hover { background:rgba(201,169,97,.12); }
.google-btn:disabled { opacity:.5; cursor:wait; }
.google-divider { display:flex; align-items:center; gap:12px; margin:14px 0; font-size:12px; opacity:.7; text-align:center; }
.google-divider::before, .google-divider::after { content:""; flex:1; height:1px; background:currentColor; opacity:.3; }

/* ===== brand.css ===== */
/* ══════════════════════════════════════════════════════════════════════════
   Bastet · identidad 2026 (Brand Book) — sitio público: inicio y Marketplace
   Fondos blancos "premium", verde de marca, amarillo y naranja como acentos.
   Tipografías: Conso (títulos, subtítulos y botones) y Cabinet Grotesk (texto, labels y enlaces).
   Formas del manual: cuadrado, rectángulo, círculo, pastilla y arco.
   Se carga DESPUÉS de style.css y sustituye su aspecto oscuro/dorado; style.css conserva la estructura.
   Paleta: #3D4C3A verde · #F1BF46 amarillo · #EC6C2E naranja · #EEE6E0 arena · #1E2629 carbón
           #FBE6AB crema · #CEDDDE niebla · #B7BEAD salvia · #EFF8E7 verde suave · #412B21 café · #F7F9FB nube
   ══════════════════════════════════════════════════════════════════════════ */
body.brand {
  --br-green: #3D4C3A; --br-green-dark: #2F3B2D; --br-ink: #1E2629; --br-sand: #EEE6E0; --br-yellow: #F1BF46; --br-orange: #EC6C2E;
  --br-cream: #FBE6AB; --br-mist: #CEDDDE; --br-sage: #B7BEAD; --br-pale: #EFF8E7; --br-brown: #412B21; --br-cloud: #F7F9FB;
  --br-line: rgba(30,38,41,.12); --br-muted: rgba(30,38,41,.66);
  --br-shadow: 0 18px 44px -26px rgba(30,38,41,.38);
  /* variables heredadas de style.css, reasignadas al aspecto claro de la marca */
  --lux-black: #FFFFFF; --lux-black-2: #F7F9FB; --lux-text: #1E2629; --lux-text-strong: #1E2629; --lux-muted: rgba(30,38,41,.66);
  --lux-border: rgba(30,38,41,.12); --lux-border-strong: rgba(61,76,58,.45); --lux-gold: #3D4C3A; --lux-gold-light: #3D4C3A;
  --color-accent: #F1BF46; --color-primary: #3D4C3A; --font-serif: 'Conso', Georgia, serif; --font-sans: 'Cabinet Grotesk', 'Helvetica Neue', Arial, sans-serif;
  background: #FFFFFF; color: var(--br-ink); color-scheme: light; font-family: var(--font-sans);
}
html:has(body.brand) { scrollbar-color: rgba(61,76,58,.4) #FFFFFF; }
body.brand ::selection { background: var(--br-yellow); color: var(--br-ink); }
body.brand h1, body.brand h2, body.brand h3, body.brand h4 { font-family: var(--font-serif); font-weight: 400; color: var(--br-green); }
body.brand a { color: inherit; }

/* ───── Botones (pastilla) ───── */
.btn-pill, body.brand .cta-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 30px;
  font-family: var(--font-serif); font-size: 17px; font-weight: 500; letter-spacing: .01em; line-height: 1; text-decoration: none; white-space: nowrap;
  color: #FFFFFF; background: var(--br-green); border: 1.5px solid var(--br-green); border-radius: 999px; cursor: pointer; box-shadow: none; text-shadow: none;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.btn-pill:hover, body.brand .cta-button:hover { background: var(--br-green-dark); border-color: var(--br-green-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 12px 26px -16px rgba(61,76,58,.9); }
.btn-pill:focus-visible, body.brand .cta-button:focus-visible { outline: 3px solid var(--br-yellow); outline-offset: 3px; }
.btn-pill--line, body.brand .cta-button--glass, body.brand .cta-button--outline { color: var(--br-green); background: transparent; border: 1.5px solid var(--br-green); }
.btn-pill--line:hover, body.brand .cta-button--glass:hover, body.brand .cta-button--outline:hover { color: #fff; background: var(--br-green); border-color: var(--br-green); }
.btn-pill--yellow { color: var(--br-ink); background: var(--br-yellow); border-color: var(--br-yellow); }
.btn-pill--yellow:hover { color: var(--br-ink); background: #E5B13A; border-color: #E5B13A; }
body.brand .cta-button::before, body.brand .cta-button::after { display: none; }
body.brand .cta-button span { color: inherit; display: inline-flex; align-items: center; gap: 8px; }
body.brand .cta-button svg { stroke: currentColor; }
body.brand .cta-button--sm { min-height: 42px; padding: 0 20px; font-size: 15px; }
body.brand .cta-button--block { width: 100%; }

/* ───── Barra de navegación (blanca, fija) ───── */
body.brand .navbar, body.brand .navbar.is-scrolled {
  background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--br-line); box-shadow: none;
}
body.brand .navbar.is-menu-open { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
body.brand .navbar-inner { max-width: 1320px; height: 80px; }
body.brand .navbar-logo-img { height: 46px; width: auto; }
@media (max-width: 520px) { body.brand .navbar-logo-img { height: 38px; } body.brand .navbar-inner { height: 68px; } }
body.brand .navbar-links { gap: clamp(18px, 2.6vw, 38px); }
body.brand .navbar-link, body.brand .navbar-link--btn {
  color: var(--br-green); opacity: .78; font-family: var(--font-sans); font-size: 15.5px; font-weight: 400; letter-spacing: 0;
  background: none; border: 0; cursor: pointer; padding: 8px 0;
}
body.brand .navbar-link:hover, body.brand .navbar-link.is-active { opacity: 1; color: var(--br-ink); }
body.brand .navbar-link.is-active { font-weight: 500; }
body.brand .navbar-link::after { background: var(--br-yellow); height: 2px; }
.nav-pill {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 24px; border: 0; border-radius: 999px; cursor: pointer;
  font-family: var(--font-serif); font-size: 15.5px; font-weight: 500; color: var(--br-yellow); background: var(--br-green);
  transition: background-color .25s ease, transform .25s ease;
}
.nav-pill { white-space: nowrap; }
@media (min-width: 1080px) and (max-width: 1279px) {
  body.brand .navbar-links { gap: 14px; }
  body.brand .navbar-link, body.brand .navbar-link--btn { font-size: 14px; }
  .nav-pill { padding: 0 16px; font-size: 14.5px; }
}
.nav-pill:hover { background: var(--br-green-dark); transform: translateY(-1px); }
.nav-pill:focus-visible { outline: 3px solid var(--br-yellow); outline-offset: 3px; }
.nav-pill--block { width: 100%; margin-top: 8px; min-height: 52px; }
body.brand .navbar-burger span { background: var(--br-green); }
body.brand .navbar-burger span:last-child { background: var(--br-orange); }
body.brand .navbar-mobile-panel { top: 68px; background: #fff; border-top: 1px solid var(--br-line); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; gap: 6px; }
body.brand .navbar-mobile-link { color: var(--br-green); font-family: var(--font-serif); font-size: 26px; border-bottom: 1px solid var(--br-line); width: 100%; background: none; border-left: 0; border-right: 0; border-top: 0; text-align: left; cursor: pointer; }
body.brand .navbar-mobile-link.is-active { color: var(--br-ink); }
body.brand .navbar-install { color: var(--br-green); border-color: var(--br-line); }
body.brand .navbar-install svg { stroke: var(--br-green); }

/* ───── Inicio: hero (pastilla verde suave + foto en arco) ───── */
.home-hero { padding-top: 80px; }
.home-hero-card {
  position: relative; background: var(--br-pale); border-radius: 0 0 56px 56px; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 5vw, 72px);
  padding: clamp(40px, 6vw, 84px) clamp(20px, 6vw, 96px) clamp(64px, 8vw, 110px);
}
.home-hero-eyebrow { margin: 0 0 18px; font-size: 13px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--br-green); opacity: .8; }
.home-hero-title { margin: 0; max-width: 12em; font-family: var(--font-serif); font-weight: 400; font-size: clamp(40px, 5.4vw, 78px); line-height: 1.02; letter-spacing: -.01em; color: var(--br-green); }
.home-hero-tagline { margin: 26px 0 0; font-family: var(--font-serif); font-size: clamp(20px, 2vw, 27px); line-height: 1.3; color: var(--br-ink); }
.home-hero-sub { margin: 14px 0 0; max-width: 520px; font-size: 17px; line-height: 1.65; color: var(--br-muted); }
.home-hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.home-hero-photo { justify-self: end; width: 100%; max-width: 560px; aspect-ratio: 1 / 1.08; border-radius: 999px 999px 40px 40px; overflow: hidden; box-shadow: 0 30px 70px -36px rgba(30,38,41,.55); background: var(--br-sage); }
.home-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 63% 50%; }
@media (max-width: 900px) {
  .home-hero-card { grid-template-columns: 1fr; border-radius: 0 0 36px 36px; padding-top: 36px; padding-bottom: 90px; }
  .home-hero-photo { justify-self: center; max-width: 440px; order: -1; aspect-ratio: 1 / .8; border-radius: 999px 999px 32px 32px; }
}
@media (max-width: 520px) { .home-hero { padding-top: 68px; } .home-hero-cta .btn-pill { width: 100%; } }

/* Barra de búsqueda tipo pastilla (inspirada en las plataformas de alojamiento) */
.search-pill {
  position: relative; z-index: 3; display: flex; align-items: stretch; width: min(920px, calc(100% - 32px)); margin: -44px auto 0;
  background: #fff; border: 1px solid var(--br-line); border-radius: 999px; box-shadow: 0 22px 50px -26px rgba(30,38,41,.45);
}
.search-field { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 14px 28px; border-radius: 999px; cursor: pointer; transition: background-color .2s ease; }
.search-field + .search-field { position: relative; }
.search-field + .search-field::before { content: ''; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--br-line); }
.search-field:hover, .search-field:focus-within { background: var(--br-cloud); }
.search-field span { font-size: 12px; font-weight: 500; letter-spacing: .02em; color: var(--br-ink); }
.search-field select { appearance: none; -webkit-appearance: none; border: 0; background: transparent; padding: 0; font: inherit; font-size: 15px; color: var(--br-muted); cursor: pointer; outline: 0; text-overflow: ellipsis; }
.search-go { flex: none; width: 56px; height: 56px; margin: 8px 8px 8px 0; border: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: var(--br-yellow); background: var(--br-green); transition: background-color .25s ease, transform .25s ease; }
.search-go:hover { background: var(--br-green-dark); transform: scale(1.06); }
.search-go svg { width: 22px; height: 22px; }
.search-go:focus-visible { outline: 3px solid var(--br-yellow); outline-offset: 3px; }
@media (max-width: 760px) {
  .search-pill { flex-direction: column; border-radius: 28px; margin-top: -60px; padding: 8px; }
  .search-field { padding: 12px 20px; border-radius: 20px; }
  .search-field + .search-field::before { left: 20px; right: 20px; top: 0; bottom: auto; width: auto; height: 1px; }
  .search-go { width: 100%; height: 52px; border-radius: 999px; margin: 6px 0 0; }
}

/* ───── Secciones ───── */
body.brand .propiedades-section, body.brand .features-section, body.brand .pricing-section { background: #fff; }
body.brand .garantias-section, body.brand .testimonials-section { background: var(--br-cloud); border-top: 0; }
body.brand .features-section::before, body.brand .garantias-section::before, body.brand .testimonials-section::before, body.brand .pricing-section::before { display: none; }
body.brand .propiedades-section { padding: clamp(72px, 9vw, 120px) clamp(20px, 5vw, 56px) clamp(56px, 7vw, 90px); }
body.brand .propiedades-inner { max-width: 1320px; margin: 0 auto; }
body.brand .features-section, body.brand .garantias-section, body.brand .testimonials-section { padding: clamp(72px, 9vw, 120px) clamp(20px, 5vw, 56px); }
body.brand .section-heading, body.brand .section-heading--light, body.brand .section-heading--dark {
  font-family: var(--font-serif); font-weight: 400; font-size: clamp(34px, 4.4vw, 58px); line-height: 1.08; letter-spacing: -.01em; text-align: left;
  color: var(--br-green); background: none; -webkit-text-fill-color: currentColor; -webkit-background-clip: border-box; background-clip: border-box; padding: 0; margin: 0 0 14px;
}
body.brand .section-sub, body.brand .section-sub--light { color: var(--br-muted); opacity: 1; font-size: 17px; line-height: 1.6; max-width: 640px; margin: 0 0 8px; text-align: left; }
body.brand .features-section .section-heading, body.brand .garantias-section .section-heading, body.brand .pricing-section .section-heading, body.brand .testimonials-section .section-heading { max-width: 1320px; margin-inline: auto; }
body.brand .features-section .section-sub, body.brand .testimonials-section .section-sub { margin-inline: auto; max-width: 1320px; }
body.brand .prop-cta-wrap { justify-content: flex-start; }

body.brand .features-grid { max-width: 1320px; margin: 28px auto 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 36px; }
@media (max-width: 900px) { body.brand .features-grid { grid-template-columns: 1fr; } }
body.brand .feature-item { display: flex; gap: 18px; align-items: flex-start; padding: 26px; background: var(--br-cloud); border: 0; border-radius: 28px; }
body.brand .feature-icon { flex: none; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--br-green); border: 0; box-shadow: none; font-family: var(--font-serif); font-size: 17px; color: var(--br-yellow); }
body.brand .feature-title { margin: 0 0 6px; font-family: var(--font-serif); font-size: 21px; font-weight: 400; color: var(--br-green); }
body.brand .feature-text { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--br-muted); opacity: 1; }

body.brand .trust-grid { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 900px) { body.brand .trust-grid { grid-template-columns: 1fr; } }
body.brand .trust-card { background: #fff; border: 0; border-radius: 40px 40px 28px 28px; padding: 40px 34px 36px; box-shadow: var(--br-shadow); }
body.brand .trust-card:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -26px rgba(30,38,41,.45); }
body.brand .trust-stat { display: block; margin-bottom: 14px; font-family: var(--font-serif); font-size: clamp(38px, 4vw, 52px); font-weight: 400; color: var(--br-orange); line-height: 1; }
body.brand .trust-text { margin: 0; font-size: 16px; line-height: 1.6; color: var(--br-muted); }
body.brand .garantias-section .section-heading { margin-bottom: 40px !important; }

body.brand .partners-strip { background: #fff; border: 0; border-top: 1px solid var(--br-line); border-bottom: 1px solid var(--br-line); }

body.brand .testi-ring-card { background: #fff; border: 0; border-radius: 28px; box-shadow: 0 20px 44px -24px rgba(30,38,41,.45); }
body.brand .testi-ring-name { color: var(--br-green); font-family: var(--font-serif); }
body.brand .testi-ring-role { color: var(--br-muted); opacity: 1; }
body.brand .testi-ring-quote { color: var(--br-ink); opacity: 1; }
body.brand .testi-ring-photo-placeholder { background: var(--br-pale); color: var(--br-green); }
body.brand .testi-ring-stage .ring-empty { color: var(--br-muted); }

/* Bloque final: verde de marca */
body.brand .pricing-section { padding: clamp(40px, 6vw, 80px) clamp(16px, 4vw, 48px); }
body.brand .pricing-inner { max-width: 1320px; margin: 0 auto; padding: clamp(44px, 7vw, 92px) clamp(24px, 6vw, 80px); background: var(--br-green); border-radius: 56px; text-align: left; display: grid; gap: 18px; justify-items: start; }
body.brand .pricing-section .section-heading { color: var(--br-cream); margin: 0; max-width: 760px; }
body.brand .pricing-text { margin: 0; max-width: 640px; font-size: 18px; line-height: 1.6; color: var(--br-sand); }
body.brand .pricing-section .cta-button { width: auto; color: var(--br-ink); background: var(--br-yellow); border-color: var(--br-yellow); }
body.brand .pricing-section .cta-button:hover { background: #E5B13A; border-color: #E5B13A; color: var(--br-ink); }

/* ───── Pie de página (arena, logo a color) ───── */
body.brand .footer { background: var(--br-sand); border-top: 0; padding: clamp(56px, 7vw, 88px) clamp(20px, 5vw, 56px) 40px; color: var(--br-ink); }
body.brand .footer-inner { max-width: 1320px; margin: 0 auto; }
body.brand .footer-logo-img { height: 130px; width: auto; }
body.brand .footer-contact-label { color: var(--br-green); letter-spacing: .2em; font-size: 12px; font-weight: 500; }
body.brand .footer-link, body.brand .footer-city { color: var(--br-ink); opacity: .85; }
body.brand .footer-link:hover { color: var(--br-green); opacity: 1; text-decoration: underline; }
body.brand .footer-copy { color: var(--br-muted); border-top: 1px solid rgba(30,38,41,.14); }
body.brand .footer-copy a { color: var(--br-green); }

/* ───── Marketplace: encabezado, pestañas de operación y filtros ───── */
body.brand .marketplace-section { padding-top: clamp(112px, 12vw, 150px); }
body.brand .marketplace-section .section-heading { text-align: left; }
body.brand .operation-filters {
  display: flex; gap: clamp(14px, 3vw, 40px); justify-content: flex-start; width: auto; max-width: 100%; margin: 28px 0 22px; padding: 0 0 0; overflow-x: auto;
  background: none; border: 0; border-bottom: 1px solid var(--br-line); border-radius: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none;
}
body.brand .operation-tab {
  position: relative; display: inline-flex; flex-direction: column; align-items: center; gap: 8px; padding: 6px 4px 16px; border: 0; border-radius: 0; background: none;
  font-family: var(--font-sans); font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--br-muted); opacity: 1; box-shadow: none;
}
body.brand .operation-tab svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
body.brand .operation-tab:hover { color: var(--br-ink); background: none; }
body.brand .operation-tab::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--br-green); transform: scaleX(0); transition: transform .3s var(--ease-out); }
body.brand .operation-tab:hover::after { transform: scaleX(1); background: var(--br-sage); }
body.brand .operation-tab.is-active { color: var(--br-green); background: none; box-shadow: none; }
body.brand .operation-tab.is-active::after { transform: scaleX(1); background: var(--br-green); }
body.brand .operation-tab-count { font-size: 11.5px; font-weight: 500; min-width: 0; padding: 1px 8px; border-radius: 999px; background: var(--br-pale); color: var(--br-green); }
body.brand .operation-tab.is-active .operation-tab-count { background: var(--br-green); color: #fff; }
body.brand .operation-tab--stay { margin-left: auto; }
@media (max-width: 560px) {
  body.brand .operation-filters { display: flex; width: 100%; border-radius: 0; gap: 18px; }
  body.brand .operation-tab { font-size: 14px; padding-bottom: 12px; }
}

/* Filtros: una pastilla blanca con campos separados */
body.brand .select-filters {
  display: flex; flex-wrap: wrap; align-items: stretch; justify-content: flex-start; gap: 0; margin: 0 0 22px; padding: 6px;
  background: #fff; border: 1px solid var(--br-line); border-radius: 36px; box-shadow: 0 18px 40px -28px rgba(30,38,41,.4);
}
body.brand .budget-filter { position: relative; flex: 1 1 150px; min-width: 0; padding: 8px 22px; gap: 2px; border-radius: 28px; transition: background-color .2s ease; }
body.brand .budget-filter + .budget-filter::before { content: ''; position: absolute; left: 0; top: 20%; bottom: 20%; width: 1px; background: var(--br-line); }
body.brand .budget-filter:hover, body.brand .budget-filter:focus-within { background: var(--br-cloud); }
body.brand .budget-filter-label { padding: 0; font-size: 11.5px !important; font-weight: 500; letter-spacing: .02em; text-transform: none; color: var(--br-ink); opacity: 1; }
body.brand .budget-filter-select, body.brand .brand-select-trigger {
  min-width: 0; width: 100%; padding: 2px 22px 2px 0; border: 0; border-radius: 0; background-color: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none;
  font-family: var(--font-sans); font-size: 15px; color: var(--br-muted); cursor: pointer; text-align: left;
}
body.brand .budget-filter-input { cursor: text; background-image: none; padding-right: 0; width: 100%; }
body.brand .budget-filter-input::placeholder { color: rgba(30,38,41,.4); }
body.brand .budget-filter-select.is-set, body.brand .brand-select-trigger.is-set { color: var(--br-ink); font-weight: 500; border: 0; box-shadow: none; }
body.brand .budget-filter-select:hover, body.brand .budget-filter-select:focus-visible { border: 0; box-shadow: none; outline: 0; }
body.brand .brand-select-list { background: #fff; border: 1px solid var(--br-line); border-radius: 20px; box-shadow: 0 24px 50px -22px rgba(30,38,41,.45); padding: 6px; }
body.brand .brand-select-list li, body.brand .brand-select-option { color: var(--br-ink); }
body.brand .brand-select-option:hover, body.brand .brand-select-option.is-active, body.brand .brand-select-list [aria-selected="true"] { background: var(--br-pale); color: var(--br-green); }
body.brand .budget-filter-select option { color: var(--br-ink); background: #fff; }
@media (max-width: 760px) {
  body.brand .select-filters { border-radius: 24px; flex-direction: column; }
  body.brand .budget-filter { flex: 1 1 auto; }
  body.brand .budget-filter + .budget-filter::before { left: 22px; right: 22px; top: 0; bottom: auto; width: auto; height: 1px; }
}
body.brand .clear-filters { color: var(--br-green); background: transparent; border: 1px solid var(--br-line); }
body.brand .clear-filters:hover { background: var(--br-pale); color: var(--br-green); }

/* ───── Tarjetas de propiedad ───── */
body.brand .prop-results-title { margin: 30px 0 -8px; font-family: var(--font-serif); font-size: clamp(24px, 2.6vw, 32px); font-weight: 400; color: var(--br-green); text-align: left; }
body.brand .prop-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 34px 26px; margin-top: 34px; }
body.brand .prop-grid-empty { color: var(--br-muted); border: 1px dashed var(--br-sage); border-radius: 28px; background: var(--br-cloud); }
body.brand .prop-tile { background: #fff; border: 1px solid var(--br-line); border-radius: 28px; box-shadow: none; overflow: hidden; }
body.brand .prop-tile:hover { transform: translateY(-4px); border-color: var(--br-sage); box-shadow: var(--br-shadow); }
body.brand .prop-tile--featured { border-color: var(--br-yellow); box-shadow: 0 0 0 1px var(--br-yellow); }
body.brand .prop-tile-ph { background: var(--br-sand); }
body.brand .prop-tile-noimg { background: linear-gradient(135deg, var(--br-pale), var(--br-sand)); color: var(--br-green); }
body.brand .prop-tile-badge, body.brand .property-modal-tag {
  background: rgba(255,255,255,.94); border: 0; color: var(--br-green); text-shadow: none; box-shadow: 0 6px 16px -8px rgba(30,38,41,.5);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-family: var(--font-sans); font-size: 12px; font-weight: 500; letter-spacing: .06em; padding: 8px 14px; border-radius: 999px;
}
body.brand .prop-tile-badge::before, body.brand .property-modal-tag::before { background: var(--br-green); box-shadow: none; transform: none; border-radius: 50%; width: 6px; height: 6px; }
body.brand .prop-tile-badge--gold { background: var(--br-yellow); color: var(--br-ink); border: 0; box-shadow: 0 8px 18px -8px rgba(241,191,70,.9); }
body.brand .prop-tile-badge--gold::before, body.brand .prop-tile-badge--gold::after { display: none; }
body.brand .prop-tile-badge--gold svg { filter: none; }
body.brand .prop-tile-eyebrow { color: var(--br-green); letter-spacing: .14em; font-weight: 500; opacity: .8; }
body.brand .prop-tile-title { color: var(--br-ink); font-family: var(--font-serif); font-size: 22px; }
body.brand .prop-tile-price { color: var(--br-ink); font-family: var(--font-serif); font-size: 24px; }
body.brand .prop-tile-price small, body.brand .prop-tile-facts, body.brand .prop-tile-agent-label { color: var(--br-muted); }
body.brand .prop-tile-code { background: var(--br-pale); color: var(--br-green); border: 0; }
body.brand .prop-tile-agent { border-top: 1px solid var(--br-line); }
body.brand .prop-tile-agent-name { color: var(--br-ink); }
body.brand .prop-tile-avatar { background: var(--br-pale); border: 1.5px solid var(--br-sage); }
body.brand .prop-tile-avatar--initial { color: var(--br-green); }
body.brand .prop-tile-wa { --btn-h: 46px; min-height: 46px; font-size: 15px; padding: 0 18px; }
body.brand .prop-tile-wa svg { fill: currentColor; stroke: none; }
body.brand .price-unit { font-family: var(--font-sans); font-size: .55em; font-weight: 400; opacity: .75; }
/* alojamientos temporales: foto grande, texto debajo */
body.brand .prop-grid--stay { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 36px 22px; }
body.brand .prop-tile--stay, body.brand .prop-tile--stay:hover { background: transparent; border: 0; box-shadow: none; border-radius: 0; overflow: visible; transform: none; }
body.brand .prop-tile--stay .prop-tile-ph { aspect-ratio: 20 / 19; border-radius: 28px; }
body.brand .prop-tile--stay .prop-tile-body { padding: 14px 2px 6px; gap: 3px; }
body.brand .prop-tile--stay .prop-tile-title { font-family: var(--font-sans); font-weight: 500; font-size: 16px; -webkit-line-clamp: 1; }
body.brand .prop-tile--stay .prop-tile-eyebrow { text-transform: none; letter-spacing: .02em; font-size: 13px; opacity: .7; }
body.brand .prop-tile--stay .prop-tile-price { font-family: var(--font-sans); font-size: 17px; font-weight: 600; margin-top: 4px; }
body.brand .prop-tile--stay .prop-tile-price .price-unit { font-size: 14px; font-weight: 400; }
body.brand .prop-tile--stay .prop-tile-agent { padding: 12px 2px 0; border-top: 0; }

/* ───── Ventanas (ficha de propiedad, acceso de agentes, vender) ───── */
body.brand .property-modal-backdrop { background: rgba(30,38,41,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
body.brand .property-modal { background: #fff; border: 0; border-radius: 32px; box-shadow: 0 40px 90px -30px rgba(30,38,41,.6); color: var(--br-ink); scrollbar-color: var(--br-sage) transparent; }
body.brand .property-modal-close { background: rgba(255,255,255,.95); color: var(--br-green); border: 1px solid var(--br-line); box-shadow: 0 8px 20px -10px rgba(30,38,41,.5); }
body.brand .property-modal-close:hover { background: var(--br-pale); }
body.brand .property-modal-gallery { background: var(--br-sand); }
body.brand .property-modal-nav { background: rgba(255,255,255,.9); color: var(--br-green); border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
body.brand .property-modal-nav:hover { background: #fff; }
body.brand .property-modal-dot { background: rgba(255,255,255,.7); }
body.brand .property-modal-dot.is-active { background: var(--br-yellow); }
body.brand .property-modal-title { color: var(--br-green); font-family: var(--font-serif); }
body.brand .property-modal-price { color: var(--br-ink); font-family: var(--font-serif); }
body.brand .property-modal-location, body.brand .property-modal-spec-label, body.brand .property-modal-feature-label, body.brand .property-modal-agent-label { color: var(--br-green); opacity: .75; }
body.brand .property-modal-desc, body.brand .property-modal-rate { color: var(--br-ink); opacity: .78; }
body.brand .property-modal-spec-value, body.brand .property-modal-feature-value, body.brand .property-modal-agent-name { color: var(--br-ink); }
body.brand .property-modal-specs { border-color: var(--br-line); }
body.brand .property-modal-agent, body.brand .property-modal-feature { background: var(--br-cloud); border: 0; border-radius: 20px; }
body.brand .property-modal-agent-avatar-placeholder { background: var(--br-pale); }
body.brand .property-modal-code { background: var(--br-green); color: var(--br-yellow); border: 0; }

body.brand .agent-modal-title, body.brand .agent-success-title { background: none; -webkit-text-fill-color: currentColor; color: var(--br-green); font-family: var(--font-serif); font-size: clamp(26px, 3vw, 34px); }
body.brand .agent-tabs { background: var(--br-cloud); box-shadow: none; }
body.brand .agent-tab { color: var(--br-muted); }
body.brand .agent-tab:hover { color: var(--br-ink); }
body.brand .agent-tab.is-active { color: #fff; background: var(--br-green); box-shadow: none; }
body.brand .agent-form-hint { color: var(--br-ink); opacity: .72; }
body.brand .agent-field > span { color: var(--br-green); font-weight: 500; }
body.brand .agent-field input, body.brand .agent-field select, body.brand .agent-field textarea { background: var(--br-cloud); color: var(--br-ink); border: 1px solid var(--br-line); border-radius: 16px; font-family: var(--font-sans); caret-color: var(--br-green); }
body.brand .agent-field input::placeholder, body.brand .agent-field textarea::placeholder { color: rgba(30,38,41,.42); }
body.brand .agent-field input:focus, body.brand .agent-field select:focus, body.brand .agent-field textarea:focus { background: #fff; border-color: var(--br-green); box-shadow: 0 0 0 4px rgba(61,76,58,.14); }
body.brand .agent-field select option { background: #fff; color: var(--br-ink); }
body.brand .agent-field input:-webkit-autofill { -webkit-text-fill-color: var(--br-ink); -webkit-box-shadow: 0 0 0 1000px var(--br-cloud) inset; }
body.brand .agent-form-error { color: #8C2F1F; background: #FBEAE5; border: 1px solid #F2C9BE; }
body.brand .agent-form-link { color: var(--br-green); }
body.brand .agent-form-note { color: var(--br-brown); background: var(--br-cream); border-color: var(--br-yellow); }
body.brand .agent-form-note a { color: var(--br-green); }
body.brand .pw-toggle { color: var(--br-green); }
body.brand .google-btn { color: var(--br-green); border: 1.5px solid var(--br-green); border-radius: 999px; background: #fff; min-height: 52px; font-family: var(--font-serif); font-size: 16px; }
body.brand .google-btn:hover { background: var(--br-pale); }
body.brand .google-divider { color: var(--br-muted); }

body.brand .lead-form { border-top: 1px solid var(--br-line); }
body.brand .lead-form-title { color: var(--br-green); }
body.brand .lead-consent { color: var(--br-ink); }
body.brand .lead-privacy { color: var(--br-muted); }
body.brand .lead-privacy a:hover, body.brand .footer-copy a:hover, body.brand .agent-form-hint a:hover { color: var(--br-green); }

/* "Vender mi inmueble" */
body.brand .sell-section { border: 1px solid var(--br-line); background: #fff; border-radius: 24px; }
body.brand .sell-section legend { color: var(--br-green); font-family: var(--font-serif); font-size: 17px; font-weight: 500; }
body.brand .sell-section legend span { color: #fff; background: var(--br-green); }
body.brand .sell-search input { background: var(--br-cloud); color: var(--br-ink); border: 1px solid var(--br-line); border-radius: 999px; padding: 12px 18px; }
body.brand .sell-search input:focus { border-color: var(--br-green); box-shadow: 0 0 0 4px rgba(61,76,58,.14); }
body.brand .sell-mini-btn { color: #fff; background: var(--br-green); border: 1px solid var(--br-green); border-radius: 999px; font-family: var(--font-serif); }
body.brand .sell-mini-btn--ghost { color: var(--br-green); background: transparent; }
body.brand .sell-search-results { background: #fff; border-color: var(--br-line); border-radius: 18px; }
body.brand .sell-search-results button { color: var(--br-ink); border-bottom-color: var(--br-line); }
body.brand .sell-search-results button:hover { background: var(--br-pale); }
body.brand .sell-search-msg, body.brand .sell-map-status { color: var(--br-muted); }
body.brand .sell-map-status.is-set, body.brand .sell-doc-count { color: var(--br-green); }
body.brand .sell-map-status b { color: var(--br-green); }
body.brand .sell-map-wrap { border: 1px solid var(--br-line); border-radius: 20px; }
body.brand .sell-map, body.brand .sell-map .leaflet-container { background: var(--br-sand); }
body.brand .sell-map .leaflet-tile-pane { filter: none; }
body.brand .sell-map-fail { color: var(--br-muted); }
body.brand .sell-pin { background: var(--br-green); border-color: #fff; box-shadow: 0 6px 14px rgba(30,38,41,.4); }
body.brand .sell-pin::after { background: var(--br-yellow); }
body.brand .sell-map .leaflet-control-attribution { background: rgba(255,255,255,.85); color: var(--br-muted); }
body.brand .sell-map .leaflet-control-attribution a { color: var(--br-green); }
body.brand .sell-map .leaflet-bar a { background: #fff; color: var(--br-green); border-bottom-color: var(--br-line); }
body.brand .sell-choice > span { border: 1px solid var(--br-line); background: #fff; border-radius: 18px; }
body.brand .sell-choice > span::before { border-color: var(--br-sage); }
body.brand .sell-choice b { color: var(--br-ink); }
body.brand .sell-choice small { color: var(--br-muted); }
body.brand .sell-choice input:checked + span { border-color: var(--br-green); background: var(--br-pale); }
body.brand .sell-choice input:checked + span::before { background: radial-gradient(circle, var(--br-green) 0 45%, transparent 50%); border-color: var(--br-green); }
body.brand .sell-choice input:focus-visible + span { outline: 2px solid var(--br-yellow); }
body.brand .sell-slot { border: 1px dashed var(--br-sage); background: var(--br-cloud); border-radius: 18px; }
body.brand .sell-slot.has-files { border-style: solid; border-color: var(--br-green); background: var(--br-pale); }
body.brand .sell-slot-head b { color: var(--br-ink); }
body.brand .sell-slot-head small { color: var(--br-muted); }
body.brand .sell-attach span { color: var(--br-green); border: 1px solid var(--br-green); }
body.brand .sell-attach span:hover { background: var(--br-pale); }
body.brand .sell-files li { color: var(--br-ink); background: #fff; }
body.brand .sell-files li em { color: var(--br-muted); }
body.brand .sell-files button { border-color: var(--br-sage); color: var(--br-green); }
body.brand .sell-check { color: var(--br-ink); }
body.brand .sell-check input, body.brand .lead-consent input { accent-color: var(--br-green); }
body.brand .sell-check a { color: var(--br-green); }

/* ───── Barra inferior (celular / tablet) ───── */
@media (max-width: 1079px) {
  body.brand .quick-bar { background: rgba(255,255,255,.97); border-top: 1px solid var(--br-line); box-shadow: 0 -10px 30px -20px rgba(30,38,41,.5); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
  body.brand .qb-item { color: var(--br-muted); }
  body.brand .qb-item.is-active { color: var(--br-green); }
  body.brand .qb-item.is-active::after { background: var(--br-green); }
  body.brand .qb-item:active { color: var(--br-orange); }
}
body.brand .operation-tab-label { display: inline-flex; align-items: center; gap: 8px; }
body.brand .btn-pill { color: #FFFFFF; }
body.brand .btn-pill:hover { color: #FFFFFF; }
body.brand .btn-pill--line { color: var(--br-green); }
body.brand .btn-pill--line:hover { color: #FFFFFF; }
body.brand .btn-pill--yellow, body.brand .btn-pill--yellow:hover { color: var(--br-ink); }
body.brand .nav-pill { color: var(--br-yellow); }
body.brand .navbar-logo-img { height: 52px; }
body.brand .prop-tile--featured { border-color: var(--br-line); box-shadow: none; }
body.brand .prop-tile--featured:hover { border-color: var(--br-sage); box-shadow: var(--br-shadow); }
body.brand .operation-tab--stay { margin-left: clamp(8px, 2vw, 24px); padding-left: clamp(10px, 2vw, 24px); border-left: 1px solid var(--br-line); }
body.brand .testi-ring-photo-placeholder { border-color: var(--br-sage); }
body.brand .trust-stat { font-size: clamp(34px, 3.4vw, 46px); }

/* "Instalar app" solo en celular y tablet: en computadora no se muestra (el menú y el botón de la barra superior) */
@media (min-width: 1080px) { [data-install-app] { display: none !important; } }

/* ───── Barra al hacer scroll: verde de marca con efecto vidrio ───── */
body.brand .navbar.is-scrolled {
  background: rgba(61, 76, 58, .78); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid rgba(255,255,255,.14); box-shadow: 0 10px 30px rgba(30, 38, 41, .18);
}
body.brand .navbar.is-scrolled.is-menu-open { background: #fff; border-bottom-color: var(--br-line); }
body.brand .navbar.is-scrolled:not(.is-menu-open) .navbar-link,
body.brand .navbar.is-scrolled:not(.is-menu-open) .navbar-link--btn { color: #EFF8E7; opacity: .82; }
body.brand .navbar.is-scrolled:not(.is-menu-open) .navbar-link:hover,
body.brand .navbar.is-scrolled:not(.is-menu-open) .navbar-link.is-active { color: #fff; opacity: 1; }
body.brand .navbar.is-scrolled:not(.is-menu-open) .nav-pill { background: #EFF8E7; color: var(--br-green); }
body.brand .navbar.is-scrolled:not(.is-menu-open) .nav-pill:hover { background: #fff; }
body.brand .navbar.is-scrolled:not(.is-menu-open) .navbar-install { color: #EFF8E7; border-color: rgba(239,248,231,.45); background: transparent; }
body.brand .navbar.is-scrolled:not(.is-menu-open) .navbar-install svg { stroke: #EFF8E7; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { body.brand .navbar.is-scrolled { background: rgba(61, 76, 58, .96); } }

/* ───── Propiedades · móvil primero: pestañas de operación, «Temporal» destacada y filtros plegables ───── */
body.brand .operation-tab-sub, body.brand .operation-tab-arrow { display: none; }
body.brand .filters-toggle { display: none; }

/* Escritorio y tableta: «Temporal» es una píldora verde con el sol dorado, imposible de pasar por alto */
body.brand .operation-tab--stay {
  flex-direction: row; gap: 10px; align-self: center; margin: 0 0 8px auto; padding: 9px 18px 9px 14px; border: 0; border-radius: 999px;
  background: var(--br-green); color: #fff; box-shadow: 0 12px 26px -14px rgba(61,76,58,.9); transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}
body.brand .operation-tab--stay::after { display: none; }
body.brand .operation-tab--stay svg { width: 24px; height: 24px; stroke: var(--br-yellow); }
body.brand .operation-tab--stay:hover { background: var(--br-green-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 16px 30px -14px rgba(61,76,58,.95); }
body.brand .operation-tab--stay .operation-tab-count { background: var(--br-yellow); color: var(--br-ink); }
body.brand .operation-tab--stay .operation-tab-arrow { display: inline-block; width: 16px; height: 16px; stroke: var(--br-yellow); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s ease; }
body.brand .operation-tab--stay:hover .operation-tab-arrow { transform: translateX(3px); }
body.brand .operation-tab--stay .operation-tab-main { display: inline-flex; flex-direction: column; }

@media (max-width: 700px) {
  /* Tres operaciones como tarjetas táctiles + «Temporal» como banner a todo el ancho: todo visible, sin deslizar */
  body.brand .operation-filters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; overflow: visible; border-bottom: 0; margin: 20px 0 14px; }
  body.brand .operation-tab { min-height: 84px; justify-content: center; gap: 6px; padding: 12px 6px; border: 1px solid var(--br-line); border-radius: 20px; background: #fff; font-size: 13.5px; -webkit-tap-highlight-color: transparent; transition: transform .15s ease, border-color .2s ease, background-color .2s ease; }
  body.brand .operation-tab:active { transform: scale(.97); }
  body.brand .operation-tab::after { display: none; }
  body.brand .operation-tab svg { width: 26px; height: 26px; }
  body.brand .operation-tab .operation-tab-label { flex-direction: column; gap: 4px; }
  body.brand .operation-tab.is-active { background: var(--br-pale); border-color: var(--br-green); color: var(--br-green); box-shadow: 0 10px 22px -16px rgba(61,76,58,.8); }

  body.brand .operation-tab--stay {
    grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; gap: 14px; min-height: 0; margin: 0; padding: 16px 18px; border: 0; border-radius: 26px; position: relative; overflow: hidden; text-align: left;
    background: linear-gradient(135deg, #3D4C3A 0%, #2F3B2D 58%, #4B5F47 100%); color: #fff; box-shadow: 0 18px 34px -20px rgba(47,59,45,.95);
  }
  body.brand .operation-tab--stay::before { content: ''; position: absolute; right: -40px; top: -50px; width: 170px; height: 170px; border-radius: 50%; background: radial-gradient(circle, rgba(241,191,70,.34) 0%, rgba(241,191,70,0) 68%); pointer-events: none; }
  body.brand .operation-tab--stay > svg:first-child { width: 36px; height: 36px; flex: none; stroke: var(--br-yellow); stroke-width: 1.5; position: relative; }
  body.brand .operation-tab--stay .operation-tab-main { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; flex: 1; min-width: 0; position: relative; }
  body.brand .operation-tab--stay .operation-tab-label { flex-direction: row; gap: 10px; font-family: var(--font-serif); font-size: 20px; font-weight: 400; color: #fff; }
  body.brand .operation-tab--stay .operation-tab-sub { display: block; font-size: 13px; color: var(--br-cream); opacity: .92; line-height: 1.35; }
  body.brand .operation-tab--stay .operation-tab-arrow { width: 38px; height: 38px; flex: none; padding: 10px; border-radius: 50%; background: var(--br-yellow); stroke: var(--br-ink); position: relative; }
  body.brand .operation-tab--stay:hover .operation-tab-arrow { transform: none; }

  /* Filtros plegados detrás de un botón (con la cantidad activa) para no ocupar toda la pantalla */
  body.brand .filters-toggle { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; margin: 0 0 12px; padding: 13px 18px; border: 1px solid var(--br-line); border-radius: 999px; background: #fff; color: var(--br-green); font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  body.brand .filters-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  body.brand .filters-toggle .ft-left { display: inline-flex; align-items: center; gap: 10px; }
  body.brand .filters-toggle .ft-badge { min-width: 22px; padding: 1px 8px; border-radius: 999px; background: var(--br-green); color: #fff; font-size: 12px; text-align: center; }
  body.brand .filters-toggle .ft-badge:empty { display: none; }
  body.brand .filters-toggle .ft-chevron { transition: transform .25s ease; }
  body.brand .filters-toggle[aria-expanded="true"] .ft-chevron { transform: rotate(180deg); }
  body.brand .filters-toggle[aria-expanded="true"] { background: var(--br-pale); border-color: var(--br-green); }
  body.brand .select-filters:not(.is-open) { display: none; }
  body.brand .propiedades-section { padding-left: 16px; padding-right: 16px; }
  body.brand .prop-results-title { margin-top: 22px; font-size: 26px; }
  body.brand .prop-grid { gap: 26px; margin-top: 24px; }
}
@media (min-width: 701px) and (max-width: 1079px) {
  body.brand .prop-grid { grid-template-columns: repeat(2, 1fr); }
  body.brand .operation-filters { flex-wrap: wrap; row-gap: 10px; }
}
@media (max-width: 700px) {
  body.brand .operation-tab--stay .operation-tab-label { white-space: nowrap; line-height: 1.15; align-items: center; }
  body.brand .operation-tab--stay .operation-tab-count { font-family: var(--font-sans); font-size: 12px; line-height: 1.5; }
  body.brand .operation-tab--stay .operation-tab-sub { font-size: 12.5px; }
}

/* ───── Pie de página: verde de la paleta con el imagotipo dorado y el logotipo blanco ───── */
body.brand .footer { background: var(--br-green); color: var(--br-pale); }
body.brand .footer-logo-img { height: clamp(128px, 14vw, 168px); width: auto; max-width: 100%; }
body.brand .footer-contact-label { color: var(--br-yellow); opacity: 1; }
body.brand .footer-link, body.brand .footer-city { color: var(--br-pale); opacity: .9; }
body.brand .footer-link:hover { color: #fff; opacity: 1; }
body.brand .footer-copy { color: rgba(239,248,231,.7); border-top: 1px solid rgba(239,248,231,.18); opacity: 1; padding-top: 18px; }
body.brand .footer-copy a { color: var(--br-cream); }
body.brand .footer-copy a:hover { color: #fff; }

/* ===== prop-extras.css ===== */
/* Propiedades: corazón de favoritos, barra Guardadas · Lista | Mapa y vista de mapa con precios (BrandBook BASTET 2026) */
.prop-tile-ph { position: relative; }
.prop-tile-fav { position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.94); color: var(--color-charcoal, #1E2629); cursor: pointer; padding: 0; box-shadow: 0 6px 16px -8px rgba(30,38,41,.55); transition: transform .15s ease; -webkit-tap-highlight-color: transparent; }
.prop-tile-fav:active { transform: scale(.92); }
.prop-tile-fav svg, .property-modal-fav svg { width: 21px; height: 21px; fill: transparent; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.prop-tile-fav.is-on svg, .property-modal-fav.is-on svg { fill: var(--color-orange, #EC6C2E); stroke: var(--color-orange, #EC6C2E); }
.prop-tile-fav:focus-visible, .property-modal-fav:focus-visible { outline: 2px solid var(--color-accent, #F1BF46); outline-offset: 2px; }

.property-modal-fav { position: absolute; top: 14px; left: 14px; z-index: 6; display: inline-flex; align-items: center; gap: 7px; border: 0; border-radius: 999px; background: rgba(255,255,255,.95); color: var(--color-charcoal, #1E2629); padding: 9px 15px 9px 12px; font: inherit; font-size: 14px; cursor: pointer; box-shadow: 0 6px 16px -8px rgba(30,38,41,.55); }

.view-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 14px 0 6px; }
.view-fav { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--color-sage, #B7BEAD); background: #fff; color: var(--color-primary, #3D4C3A); border-radius: 999px; padding: 10px 16px; font: inherit; font-size: 14.5px; cursor: pointer; min-height: 44px; }
.view-fav svg { width: 18px; height: 18px; fill: transparent; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.view-fav.is-active { background: var(--color-primary, #3D4C3A); border-color: var(--color-primary, #3D4C3A); color: #fff; }
.view-fav.is-active svg { fill: var(--color-orange, #EC6C2E); stroke: var(--color-orange, #EC6C2E); }
.view-fav i { font-style: normal; font-size: 12px; min-width: 20px; height: 20px; line-height: 20px; text-align: center; border-radius: 10px; background: var(--color-accent, #F1BF46); color: var(--color-charcoal, #1E2629); padding: 0 6px; }
.view-fav i:empty { display: none; }
.view-switch { display: inline-flex; border: 1px solid var(--color-sage, #B7BEAD); border-radius: 999px; padding: 3px; background: #fff; }
.view-switch button { border: 0; background: transparent; color: var(--color-primary, #3D4C3A); font: inherit; font-size: 14.5px; padding: 8px 18px; border-radius: 999px; cursor: pointer; min-height: 40px; }
.view-switch button.is-active { background: var(--color-primary, #3D4C3A); color: #fff; }

.prop-map-wrap { position: relative; margin-top: 10px; }
.prop-map { height: min(68vh, 560px); min-height: 360px; border-radius: 20px; overflow: hidden; background: var(--color-pale, #EFF8E7); display: flex; align-items: center; justify-content: center; position: relative; z-index: 0; border: 1px solid var(--color-sage, #B7BEAD); }
.pm-error { color: var(--color-muted, #6B6F66); font-size: 14.5px; padding: 20px; text-align: center; margin: 0; }
.prop-map-note { margin: 8px 4px 0; font-size: 13px; color: var(--color-muted, #6B6F66); }
.pm-icon { background: none; border: 0; }
.pm-pin { display: inline-block; transform: translate(-50%, -100%); background: #fff; color: var(--color-primary, #3D4C3A); border: 1.5px solid var(--color-primary, #3D4C3A); border-radius: 999px; padding: 5px 11px; font: 600 13px/1 var(--font-sans, 'Cabinet Grotesk', sans-serif); white-space: nowrap; box-shadow: 0 6px 14px -6px rgba(30,38,41,.6); position: relative; }
.pm-pin::after { content: ''; position: absolute; left: 50%; bottom: -6px; width: 9px; height: 9px; background: inherit; border-right: 1.5px solid var(--color-primary, #3D4C3A); border-bottom: 1.5px solid var(--color-primary, #3D4C3A); transform: translateX(-50%) rotate(45deg); }
.pm-pin.is-approx { border-style: dashed; }
.pm-icon.is-sel { z-index: 1000 !important; }
.pm-icon.is-sel .pm-pin { background: var(--color-primary, #3D4C3A); color: #fff; }
.pm-icon.is-sel .pm-pin::after { background: var(--color-primary, #3D4C3A); }
.prop-map-card { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 500; }
.pm-card-body { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; border: 0; background: #fff; border-radius: 18px; padding: 10px; font: inherit; cursor: pointer; box-shadow: 0 16px 34px -14px rgba(30,38,41,.55); }
.pm-card-body img, .pm-card-noimg { flex: none; width: 84px; height: 72px; border-radius: 12px; object-fit: cover; background: var(--color-pale, #EFF8E7); }
.pm-card-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; color: var(--color-charcoal, #1E2629); }
.pm-card-text b { font-size: 17px; color: var(--color-primary, #3D4C3A); }
.pm-card-text span, .pm-card-text small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pm-card-text small { color: var(--color-muted, #6B6F66); }
@media (max-width: 480px) { .view-bar { flex-wrap: wrap; } .prop-map { min-height: 420px; } }

/* ── Ficha de propiedad como pantalla (BrandBook BASTET 2026) ── */
#property-modal-backdrop.prop-screen { padding: 0; display: block; overflow-y: auto; -webkit-overflow-scrolling: touch; background: #F7F4F0; -webkit-backdrop-filter: none; backdrop-filter: none; animation: none; z-index: 600; }
#property-modal.prop-screen { max-width: 980px; max-height: none; width: 100%; margin: 0 auto; min-height: 100%; border-radius: 0; overflow: visible; background: #F7F4F0; box-shadow: none; animation: none; padding-bottom: 96px; }
#property-modal.prop-screen .ps-top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; background: rgba(247,244,240,.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--br-line, rgba(30,38,41,.12)); }
.ps-top-code { font-size: 13px; letter-spacing: .08em; color: var(--br-muted, rgba(30,38,41,.66)); }
.ps-top-actions { display: flex; gap: 8px; }
.ps-icon, #property-modal.prop-screen .property-modal-fav.ps-icon { position: static; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 1px solid var(--br-line, rgba(30,38,41,.14)); border-radius: 50%; background: #fff; color: var(--br-green, #3D4C3A); cursor: pointer; box-shadow: none; }
.ps-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ps-icon.is-done { background: var(--br-pale, #EFF8E7); }
.ps-gallery { position: relative; background: var(--br-sand, #EEE6E0); }
.ps-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.ps-track::-webkit-scrollbar { display: none; }
.ps-slide { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 4 / 3; max-height: 62vh; background: var(--br-sand, #EEE6E0); }
.ps-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ps-noimg { aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; padding: 24px; text-align: center; font-family: var(--font-serif, 'Conso', serif); font-size: 24px; color: var(--br-green, #3D4C3A); background: var(--br-pale, #EFF8E7); }
.ps-count { position: absolute; right: 14px; bottom: 14px; background: rgba(30,38,41,.72); color: #fff; font-size: 13px; padding: 5px 12px; border-radius: 999px; }
.ps-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--br-green, #3D4C3A); font-size: 24px; line-height: 1; cursor: pointer; display: none; box-shadow: 0 6px 14px -6px rgba(30,38,41,.5); }
.ps-nav--prev { left: 14px; } .ps-nav--next { right: 14px; }
@media (hover: hover) and (min-width: 768px) { .ps-nav { display: block; } }
#property-modal.prop-screen .ps-body { padding: 22px clamp(16px, 4vw, 40px) 24px; background: transparent; }
#property-modal.prop-screen .property-modal-price { font-size: 28px; margin: 6px 0 2px; }
#property-modal.prop-screen .property-modal-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; border: 0; padding: 0; margin: 0; }
#property-modal.prop-screen .property-modal-specs > div { background: #fff; border-radius: 16px; padding: 12px 8px; text-align: center; border: 1px solid var(--br-line, rgba(30,38,41,.1)); }
.ps-section h4 { margin: 0 0 8px; font-family: var(--font-serif, 'Conso', serif); font-weight: 500; font-size: 19px; color: var(--br-green, #3D4C3A); }
.ps-map { height: 260px; border-radius: 20px; overflow: hidden; background: var(--br-pale, #EFF8E7); border: 1px solid var(--br-line, rgba(30,38,41,.12)); position: relative; z-index: 0; display: flex; align-items: center; justify-content: center; }
.ps-map-note { margin: 8px 2px 0; font-size: 13.5px; color: var(--br-muted, rgba(30,38,41,.66)); }
.ps-map-note a { color: var(--br-green, #3D4C3A); text-decoration: underline; }
.ps-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: none; gap: 10px; align-items: center; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--br-line, rgba(30,38,41,.12)); box-shadow: 0 -12px 30px -20px rgba(30,38,41,.5); }
#property-modal-backdrop.prop-screen .ps-bar { display: flex; }
.ps-save { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--br-green, #3D4C3A); background: #fff; color: var(--br-green, #3D4C3A); border-radius: 999px; padding: 0 20px; height: 50px; font: inherit; font-size: 15px; cursor: pointer; }
.ps-save svg { width: 20px; height: 20px; fill: transparent; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.ps-save.is-on svg, #property-modal.prop-screen .ps-icon.is-on svg { fill: var(--color-orange, #EC6C2E); stroke: var(--color-orange, #EC6C2E); }
.ps-wa { flex: 1; display: inline-flex; align-items: center; justify-content: center; height: 50px; border-radius: 999px; background: var(--br-green, #3D4C3A); color: #fff; text-decoration: none; font-family: var(--font-serif, 'Conso', serif); font-size: 16px; }
@media (min-width: 900px) {
  #property-modal.prop-screen .ps-gallery { margin: 16px auto 0; max-width: 940px; border-radius: 24px; overflow: hidden; }
  .ps-bar { left: 50%; right: auto; transform: translateX(-50%); width: min(980px, 100%); border-radius: 22px 22px 0 0; }
}
#property-modal.prop-screen .ps-wa, #property-modal.prop-screen a.ps-wa:visited { color: #fff !important; }
#property-modal.prop-screen .property-modal-title { line-height: 1.2; margin: 6px 0 8px; }
#property-modal.prop-screen .property-modal-spec-value { line-height: 1.3; font-size: 17px; }
#property-modal.prop-screen .property-modal-desc { line-height: 1.6; opacity: 1; }
#property-modal.prop-screen .property-modal-location { line-height: 1.5; }

/* ── Perfil del agente ── */
.property-modal-agent.is-link { cursor: pointer; }
.property-modal-agent.is-link:hover { border-color: var(--br-green, #3D4C3A); }
.property-modal-agent.is-link:focus-visible { outline: 2px solid var(--br-green, #3D4C3A); outline-offset: 2px; }
.property-modal-agent-more { margin: 2px 0 0; font-size: 13px; color: var(--br-green, #3D4C3A); text-decoration: underline; }
.ap-screen { position: fixed; inset: 0; z-index: 700; overflow-y: auto; -webkit-overflow-scrolling: touch; background: #F7F4F0; }
.ap-top { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: rgba(247,244,240,.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--br-line, rgba(30,38,41,.12)); }
.ap-top-title { font-family: var(--font-serif, 'Conso', serif); font-size: 17px; }
.ap-body { max-width: 640px; margin: 0 auto; padding: 24px 16px 48px; }
.ap-head { text-align: center; }
.ap-avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; display: inline-flex; align-items: center; justify-content: center; background: var(--br-green, #3D4C3A); color: #fff; font-size: 38px; font-family: var(--font-serif, 'Conso', serif); }
.ap-head h2 { margin: 12px 0 4px; font-family: var(--font-serif, 'Conso', serif); font-weight: 500; font-size: 26px; line-height: 1.2; }
.ap-sub { margin: 0; color: var(--br-muted, rgba(30,38,41,.66)); font-size: 15px; }
.ap-tags { margin: 12px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.ap-tags span { background: var(--br-pale, #EFF8E7); color: var(--br-green, #3D4C3A); border-radius: 999px; padding: 5px 12px; font-size: 13px; }
.ap-actions { margin: 22px 0 0; display: flex; align-items: center; gap: 12px; }
.ap-wa { flex: 1; min-width: 0; line-height: 1; text-align: center; white-space: nowrap; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; height: 52px; border-radius: 999px; background: var(--br-green, #3D4C3A); color: #fff !important; text-decoration: none; font-family: var(--font-serif, 'Conso', serif); font-size: 16px; }
.ap-socials { display: inline-flex; gap: 8px; }
.ap-social { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--br-line, rgba(30,38,41,.14)); background: #fff; display: inline-flex; align-items: center; justify-content: center; }
.ap-social img { width: 22px; height: 22px; }
.ap-note { margin: 18px 0 0; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--br-line, rgba(30,38,41,.12)); font-size: 13.5px; line-height: 1.5; color: var(--br-muted, rgba(30,38,41,.7)); }
.ap-h { margin: 28px 0 10px; font-family: var(--font-serif, 'Conso', serif); font-weight: 500; font-size: 19px; }
.ap-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ap-item { width: 100%; display: flex; gap: 12px; align-items: center; text-align: left; padding: 8px; border: 1px solid var(--br-line, rgba(30,38,41,.12)); border-radius: 16px; background: #fff; font: inherit; color: inherit; cursor: pointer; }
.ap-item[aria-current] { border-color: var(--br-green, #3D4C3A); }
.ap-item img, .ap-noimg { width: 92px; height: 78px; border-radius: 12px; object-fit: cover; flex: none; background: var(--br-pale, #EFF8E7); }
.ap-item-text { display: grid; gap: 2px; min-width: 0; }
.ap-item-text b { font-weight: 600; }
.ap-item-text > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14.5px; }
.ap-item-text small { color: var(--br-muted, rgba(30,38,41,.66)); font-size: 12.5px; }

/* Aviso breve (tope de favoritos) */
.pf-toast { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); transform: translate(-50%, 12px); z-index: 900; max-width: min(92vw, 420px); padding: 12px 18px; border-radius: 16px; background: var(--br-ink, #1E2629); color: #fff; font-size: 14.5px; line-height: 1.45; text-align: center; box-shadow: 0 14px 30px -14px rgba(30,38,41,.7); opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.pf-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* Distintivos de verificación y reputación (supabase/verification.sql) */
.vf-badge { background: #E7EFE4 !important; color: #2F3B2D !important; font-weight: 600; }
.vf-pending { background: #FFF6DB !important; color: #7A5B00 !important; }
.vf-agent { margin: 2px 0 0; font-size: 12.5px; color: #2F3B2D; font-weight: 600; }
.ap-rep { margin: 8px 0 0; }
.ap-rep-line { margin: 0; font-size: 14px; }
.ap-reviews { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 10px; text-align: left; }
.ap-reviews li { background: #F6F3EE; border-radius: 12px; padding: 10px 12px; font-size: 13.5px; }
.ap-reviews li p { margin: 4px 0 0; }
.ap-reply { color: rgba(30,38,41,.7); font-style: italic; }

/* Un solo botón de contacto (sin WhatsApp ni redes): «Solicitar contacto» en la tarjeta y en la ficha */
.prop-tile-cta, .property-modal-cta { display: inline-flex; align-items: center; justify-content: center; flex: none; white-space: nowrap; border-radius: 999px; background: var(--br-green, #3D4C3A); color: #fff !important; text-decoration: none; font-family: var(--font-sans, 'Cabinet Grotesk', system-ui, sans-serif); font-weight: 600; cursor: pointer; transition: background .2s; }
.prop-tile-cta { min-height: 36px; padding: 0 14px; font-size: 13px; }
.property-modal-cta { min-height: 40px; padding: 0 18px; font-size: 14px; }
.prop-tile-cta:hover, .property-modal-cta:hover { background: #2F3B2D; }
.prop-tile-cta:focus-visible, .property-modal-cta:focus-visible { outline: 3px solid #F1BF46; outline-offset: 2px; }
.ap-wa { border: 0; cursor: pointer; }

/* Barra fija de la ficha (Guardar / Solicitar contacto): flota con aire alrededor, sin pegarse al borde de la pantalla */
.ps-bar { left: 12px; right: 12px; bottom: calc(14px + env(safe-area-inset-bottom)); padding: 10px 12px; border: 1px solid var(--br-line, rgba(30,38,41,.12)); border-radius: 26px; box-shadow: 0 10px 30px -8px rgba(30,38,41,.38); }
@media (min-width: 720px) { .ps-bar { left: 50%; right: auto; transform: translateX(-50%); width: min(940px, calc(100% - 24px)); } }
#property-modal.prop-screen .ps-body { padding-bottom: 120px; }

/* ===== steps.css ===== */
/* Formularios en pasos (BrandBook BASTET 2026): «Vender mi inmueble» y «Solicitar una propiedad» */
.sw-hidden { display: none !important; }
.sw-invisible { visibility: hidden; }
.sw-progress { margin: 0 0 16px; }
.sw-prog-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.sw-prog-top b { font-family: var(--font-serif, 'Conso', serif); font-weight: 500; font-size: 18px; color: var(--br-green, #3D4C3A); }
.sw-prog-top span { font-size: 13px; color: var(--br-muted, rgba(30,38,41,.66)); }
.sw-bar { height: 6px; border-radius: 3px; background: rgba(30,38,41,.1); overflow: hidden; }
.sw-bar i { display: block; height: 100%; width: 0; background: var(--br-yellow, #F1BF46); border-radius: 3px; transition: width .3s ease; }
.sw-step-card { display: flex; flex-direction: column; gap: 14px; }
.sw-step-card h3 { margin: 0; font-family: var(--font-serif, 'Conso', serif); font-weight: 500; font-size: 22px; color: var(--br-green, #3D4C3A); }
.sw-sub { margin: -6px 0 2px; font-size: 14.5px; color: var(--br-muted, rgba(30,38,41,.66)); }
.sw-ops { display: grid; gap: 10px; }
.sw-op { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; text-align: left; border: 1.5px solid var(--br-line, rgba(30,38,41,.14)); background: #fff; border-radius: 18px; padding: 16px 18px; font: inherit; color: var(--br-ink, #1E2629); cursor: pointer; min-height: 64px; transition: border-color .2s ease, background .2s ease; -webkit-tap-highlight-color: transparent; }
.sw-op b { display: block; font-family: var(--font-serif, 'Conso', serif); font-weight: 500; font-size: 18px; color: var(--br-green, #3D4C3A); }
.sw-op small { display: block; margin-top: 2px; font-size: 13.5px; color: var(--br-muted, rgba(30,38,41,.66)); }
.sw-op.is-on { border-color: var(--br-green, #3D4C3A); background: var(--br-pale, #EFF8E7); }
.sw-radio { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(30,38,41,.3); position: relative; }
.sw-op.is-on .sw-radio { border-color: var(--br-green, #3D4C3A); background: var(--br-green, #3D4C3A); }
.sw-op.is-on .sw-radio::after { content: ''; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.sw-nav { margin-top: 18px; display: grid; gap: 10px; }
.sw-err { margin: 0; padding: 10px 14px; border-radius: 12px; background: #FDECEA; color: #8A2A22; font-size: 14px; }
.sw-nav-row { display: flex; gap: 12px; justify-content: space-between; }
.sw-prev, .sw-next { border-radius: 999px; padding: 14px 24px; font: inherit; font-family: var(--font-serif, 'Conso', serif); font-size: 16px; cursor: pointer; min-height: 50px; }
.sw-prev { border: 1.5px solid var(--br-green, #3D4C3A); background: #fff; color: var(--br-green, #3D4C3A); }
.sw-next { flex: 1; border: 0; background: var(--br-green, #3D4C3A); color: #fff; }
.sw-summary { display: grid; gap: 12px; }
.sw-sum-block { border: 1px solid var(--br-line, rgba(30,38,41,.14)); border-radius: 18px; padding: 12px 16px; background: #fff; }
.sw-sum-block header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.sw-sum-block h4 { margin: 0; font-size: 15px; color: var(--br-green, #3D4C3A); }
.sw-sum-block header button { border: 0; background: none; color: var(--br-green, #3D4C3A); text-decoration: underline; font: inherit; font-size: 14px; cursor: pointer; padding: 6px; }
.sw-sum-block > div { display: flex; justify-content: space-between; gap: 14px; padding: 5px 0; border-top: 1px solid rgba(30,38,41,.07); font-size: 14px; }
.sw-sum-block > div span { color: var(--br-muted, rgba(30,38,41,.66)); }
.sw-sum-block > div b { font-weight: 500; text-align: right; overflow-wrap: anywhere; }
/* los pasos reemplazan los recuadros con borde del formulario largo */
.sell-form .sw-step.sell-section { border: 0; background: transparent; padding: 0; }
.sell-form .sw-step.sell-section legend { padding: 0; margin: 0 0 8px; font-size: 22px; }
@media (min-width: 640px) { .sw-ops { grid-template-columns: 1fr 1fr; } }

/* ── Solicitar una propiedad ── */
.rq-modal { max-width: 560px; }
.rq-step h3, .rq-h { margin: 0; font-family: var(--font-serif, 'Conso', serif); font-weight: 500; font-size: 22px; color: var(--br-green, #3D4C3A); }
.rq-label { display: block; margin: 4px 0 -4px; font-size: 13px; font-weight: 600; color: var(--br-green, #3D4C3A); }
.rq-chips, .rq-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.rq-chip { border: 1.5px solid var(--br-line, rgba(30,38,41,.2)); background: #fff; color: var(--br-green, #3D4C3A); border-radius: 999px; padding: 10px 16px; font: inherit; font-size: 14.5px; cursor: pointer; min-height: 44px; -webkit-tap-highlight-color: transparent; }
.rq-chip.is-on { background: var(--br-green, #3D4C3A); border-color: var(--br-green, #3D4C3A); color: #fff; }
.rq-step .agent-field-row { display: flex; gap: 12px; }
.rq-link { border: 0; background: none; color: var(--br-green, #3D4C3A); text-decoration: underline; font: inherit; font-size: 14.5px; cursor: pointer; padding: 10px; min-height: 44px; }
.rq-consent { margin-top: 6px; }
.rq-done { gap: 12px; }
.rq-check { width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--br-green, #3D4C3A); margin: 0 auto 4px; position: relative; }
.rq-check::after { content: ''; position: absolute; left: 22px; top: 12px; width: 16px; height: 30px; border: solid var(--br-green, #3D4C3A); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.rq-list { list-style: none; margin: 14px 0; padding: 0; display: grid; gap: 10px; }
.rq-list li { display: flex; justify-content: space-between; gap: 12px; border: 1px solid var(--br-line, rgba(30,38,41,.14)); border-radius: 18px; padding: 14px 16px; background: #fff; }
.rq-list b { display: block; color: var(--br-ink, #1E2629); }
.rq-list small { display: block; margin-top: 2px; color: var(--br-muted, rgba(30,38,41,.66)); font-size: 13px; }
.rq-side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: none; }
.rq-badge { font-size: 12.5px; padding: 4px 12px; border-radius: 999px; background: var(--br-pale, #EFF8E7); color: var(--br-green, #3D4C3A); }
.rq-badge.is-in_progress { background: var(--br-cream, #FBE6AB); color: var(--br-ink, #1E2629); }
.rq-badge.is-finished { background: rgba(30,38,41,.08); color: var(--br-muted, rgba(30,38,41,.66)); }
.rq-cta { margin: 36px auto 0; max-width: 1080px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding: 24px clamp(18px, 4vw, 32px); border-radius: 28px; background: var(--br-green, #3D4C3A); color: #fff; }
.rq-cta h2 { margin: 0 0 4px; font-family: var(--font-serif, 'Conso', serif); font-weight: 500; font-size: clamp(22px, 3vw, 28px); color: #fff; }
.rq-cta p { margin: 0; font-size: 15px; opacity: .85; max-width: 520px; }
.rq-cta-actions { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.rq-cta .cta-button { background: var(--br-yellow, #F1BF46); color: var(--br-ink, #1E2629); }
.rq-cta .rq-link { color: #fff; }
@media (max-width: 520px) { .rq-step .agent-field-row { flex-direction: column; } .rq-list li { flex-direction: column; } .rq-side { flex-direction: row; align-items: center; } }

/* ── Paso «Fotos» de Vender ── */
.sell-photo-add { display: block; }
.sell-photo-add span { display: flex; align-items: center; justify-content: center; min-height: 56px; border: 1.5px dashed var(--br-green, #3D4C3A); border-radius: 18px; color: var(--br-green, #3D4C3A); background: var(--br-pale, #EFF8E7); font-size: 16px; cursor: pointer; }
.sell-photo-add:focus-within span { outline: 2px solid var(--br-green, #3D4C3A); outline-offset: 2px; }
.sell-photo-grid { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sell-photo-grid:empty { display: none; }
.sell-photo-grid li { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--br-pale, #EFF8E7); }
.sell-photo-grid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sell-photo-cover { position: absolute; left: 6px; bottom: 6px; background: var(--br-green, #3D4C3A); color: #fff; font-size: 12px; padding: 3px 9px; border-radius: 999px; }
.sell-photo-rm, .sell-photo-star { position: absolute; width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(255,255,255,.94); color: var(--br-green, #3D4C3A); font-size: 14px; line-height: 1; cursor: pointer; box-shadow: 0 4px 10px -4px rgba(30,38,41,.5); }
.sell-photo-rm { top: 6px; right: 6px; }
.sell-photo-star { left: 6px; bottom: 6px; }

/* ===== responsive-guard.css ===== */
/* Red de seguridad responsiva (celular y tableta). Se carga la ÚLTIMA en todas las páginas.
   Qué evita: texto o tarjetas que se salen de su caja o de la pantalla, y scroll horizontal de la página.
   Cómo auditar: ver «Auditoría de responsividad» en HANDOFF.md. Si agregas un componente nuevo con ancho fijo o letra grande,
   pruébalo a 320 px de ancho (el celular más angosto). */

/* 1) Nunca hay scroll horizontal de la página (clip no crea un contenedor de desplazamiento: no rompe sticky) */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@supports (overflow: clip) { body { overflow-x: clip; } }

/* 2) Los textos largos se parten en vez de salirse de su caja */
h1, h2, h3, h4, h5, p, li, td, th, dt, dd, label, summary, figcaption, blockquote { overflow-wrap: break-word; }
.btn, .cta-button, .nav-pill, button, a { overflow-wrap: break-word; }

/* 3) Imágenes y medios nunca más anchos que su contenedor */
img, video, canvas, iframe { max-width: 100%; }   /* NO forzar height:auto: pisa la altura que cada logo/foto define en su propio CSS */

/* 4) Hijos de REJILLAS pueden encogerse (si no, un texto largo ensancha toda la columna). No se aplica a filas flexibles: ahí min-width:0 hace que los hermanos colapsen. */
.features-grid > *, .ap-grid > *, .stays-grid > *, .prop-grid > *, .credits-packs > *, .pay-list > * { min-width: 0; }

/* 5) Títulos y cifras grandes se adaptan a pantallas angostas */
@media (max-width: 480px) {
  h1, h2, .sb-plan-name, .cr-figure b, .pq-num b, .stays-title, .sd-title { overflow-wrap: anywhere; }
}

/* 6) Casos puntuales detectados en la auditoría (320 px) */
.pq-count { min-width: 0; max-width: 100%; }
.pq-dots { flex-wrap: wrap; max-width: 100%; }
body.brand .features-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { body.brand .features-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { body.brand .feature-item { padding: 20px; gap: 14px; } }
.feature-item > div { min-width: 0; }
.prop-tile-agent-label { letter-spacing: .1em; }
/* Pantallas muy angostas: las redes pasan debajo del nombre del agente en vez de apretarlo */
@media (max-width: 350px) { .prop-tile-agent-row { flex-wrap: wrap; row-gap: 8px; } .prop-tile-socials { flex-basis: 100%; } }

/* ===== a11y.css ===== */
/* Accesibilidad móvil: zonas táctiles de al menos 44 px y un título que no se perdía contra su fondo.
 * Se agranda el área que se toca; el aspecto casi no cambia. Va después de style.css / brand.css. */
.rq-cta h2, .stays-cta-inner h2 { color: #fff !important; }   /* el título verde sobre el recuadro verde no se leía */

@media (max-width: 1079px) {
  .navbar-install { min-width: 44px; min-height: 44px; }
  .view-switch button { min-height: 44px; }
  .prop-tile-fav { width: 44px; height: 44px; }
  /* iconos de redes: 34 px visibles + 5 px de aire táctil a cada lado = 44 px, sin que se pisen entre sí */
  .prop-tile-socials { gap: 10px; }
  .prop-tile-socials .property-modal-social-link { width: 34px; height: 34px; position: relative; }
  .property-modal-agent-social { gap: 10px; }
  .property-modal-agent .property-modal-social-link { width: 36px; height: 36px; position: relative; }
  .property-modal-social-link::after { content: ''; position: absolute; inset: -5px; }
  .footer-link { display: inline-flex; align-items: center; min-height: 44px; }
  .footer-copy a { display: inline-block; padding: 12px 4px; }
  .legal-back { min-height: 44px; display: inline-flex; align-items: center; }
  footer p a, .legal-footer p a { display: inline-block; padding: 14px 4px; }
  .ps-map-note a { display: inline-block; padding: 12px 2px; }
  #sell-modal-close, #rq-close { min-width: 44px; min-height: 44px; }
  .rq-link { min-height: 44px; }
  .stays-chip { min-height: 44px; }
  .stay-fav { width: 44px; height: 44px; }
  #sd-map-links a { display: inline-block; padding: 13px 4px; }
  .sd-back, .sd-share, .sd-save { min-height: 44px; min-width: 44px; }
  /* botones de zoom de los mapas (Leaflet) */
  .leaflet-bar a, .leaflet-touch .leaflet-bar a { width: 44px !important; height: 44px !important; line-height: 44px !important; }   /* Leaflet se carga después y trae sus propios tamaños */
  #st-guests-minus, #st-guests-plus { min-width: 44px; min-height: 44px; }
}
