/* coordinaeventos — app catálogo. Sigue branding.md (radius 0, plomo claro, Jakarta 800). */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --primary:        #F5F7FA;
  --primary-2:      #232A36;
  --body:           #E0E4EC;
  --muted:          #B0B8C6;
  --muted-light:    #C4C4C4;
  --bg:             #0A0C10;
  --soft:           #141820;
  --soft-2:         #202633;
  --surface:        #12161D;
  --line:           #353D4B;
  --line-soft:      #28303C;
  --primary-soft:   #171C25;
  --ok:             #1A8754;
  --verified:       #1D9BF0; /* única excepción al monocromo (badge espacio verificado) */

  --sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  /* Todo recto */
  --r-sm: 0;
  --r-md: 0;
  --r-lg: 0;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .03);
  --shadow-md: 0 6px 24px rgba(0, 0, 0, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  color: var(--body);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: opacity .15s ease, color .15s ease; }

/* ===== Focus visible (a11y) ===== */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid #5593FF;
  outline-offset: 3px;
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 28px; }

/* ===== Demo banner ===== */
.demo-banner {
  background: #1C212B;
  color: white;
  padding: 10px 28px;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  letter-spacing: -0.005em;
}
.demo-banner a { font-weight: 700; border-bottom: 1px solid rgba(255,255,255,.5); margin-left: 8px; }
.demo-banner a:hover { opacity: .8; }

/* ===== Nav (igual que landing pero siempre sólido) ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 12, 16, .96);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
  padding: 18px 0;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1280px; margin: 0 auto; padding: 0 28px;
}
.brand {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.04em;
  color: var(--primary);
}
.brand-suffix { font-weight: 500; color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--body);
  position: relative;
}
.nav-links a.active {
  color: var(--primary);
  font-weight: 700;
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -22px;
  height: 2px;
  background: #1C212B;
}
.nav-links a:hover { color: var(--primary); }
.nav-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border: 1px solid var(--primary);
  border-radius: 0;
  font-weight: 600;
  font-size: 13px;
}
.nav-back:hover { background: #1C212B; color: white; }
@media (max-width: 860px) {
  .nav-links a:not(.nav-back):not(.active) { display: none; }
}

/* ============================================================
   APP HERO — header del catálogo
   ============================================================ */
.app-hero {
  padding: 56px 0 32px;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}
.app-hero .eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-block;
  margin-bottom: 14px;
}
.app-hero h1 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: var(--primary);
  margin: 0 0 14px;
  max-width: 16ch;
}
.app-hero-sub {
  font-size: 16px;
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 56ch;
  line-height: 1.55;
}

/* ============================================================
   SEARCH BAR — recta, sin pills, 5 columnas (Para qué · Fecha · Distrito · Capacidad · Buscar)
   ============================================================ */
.search-bar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0;  /* RECTO */
  padding: 8px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr auto;
  gap: 0;
  max-width: 980px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .06);
}
.search-field {
  padding: 10px 18px;
  border-right: 1px solid rgba(0, 0, 0, .08);
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.search-field:last-of-type { border-right: 0; }
.search-field > span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
}
.search-field input,
.search-field select {
  border: 0;
  outline: 0;
  background: transparent;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--primary);
  padding: 0;
  font-weight: 500;
  width: 100%;
  cursor: pointer;
}
.search-field input::placeholder { color: var(--muted-light); }
.search-field input[type="date"] {
  font-weight: 500;
  color: var(--primary);
  /* date inputs are quirky — keep clean */
  appearance: none;
  -webkit-appearance: none;
}
.search-field input[type="date"]:invalid { color: var(--muted-light); }
.btn-search {
  background: #1C212B;
  color: white;
  border: 0;
  border-radius: 0;  /* RECTO */
  padding: 0 26px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background .15s ease;
}
.btn-search:hover { background: var(--primary-2); }
@media (max-width: 980px) {
  .search-bar { grid-template-columns: 1fr 1fr; }
  .search-field { border-right: 1px solid rgba(0,0,0,.08); border-bottom: 1px solid rgba(0,0,0,.08); padding: 12px 16px; }
  .search-field:nth-child(2n) { border-right: 0; }
  .search-field:nth-last-of-type(-n+2):not(:nth-last-of-type(1)) { border-bottom: 0; }
  .btn-search { grid-column: 1 / -1; padding: 14px; justify-content: center; }
}
@media (max-width: 540px) {
  .search-bar { grid-template-columns: 1fr; }
  .search-field { border-right: 0; }
  .search-field:not(:last-of-type) { border-bottom: 1px solid rgba(0,0,0,.08); }
}

main { padding: 32px 0 96px; }

/* ============================================================
   FILTROS — toolbar + panel colapsable
   Por defecto los filtros están ocultos. Sólo se muestran cuando
   el usuario abre el panel. Las activaciones se muestran como tags
   removibles en la toolbar para que siempre se vea el estado.
   ============================================================ */
.filters-toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 32px 0 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.filters-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 11px 18px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.005em;
  border-radius: 0;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.filters-toggle:hover {
  background: #1C212B;
  color: white;
}
.filters-toggle[aria-expanded="true"] {
  background: #1C212B;
  color: white;
}
.filters-toggle svg { flex-shrink: 0; }
.filters-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  background: var(--verified);
  color: white;
  font-size: 11px;
  font-weight: 800;
  border-radius: 0;
  margin-left: 2px;
}
.filters-toggle:not([aria-expanded="true"]) .filters-count {
  background: #1C212B;
  color: white;
}
.filters-toggle[aria-expanded="true"] .filters-count {
  background: var(--surface);
  color: var(--primary);
}

.filters-active {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1;
  min-width: 0;
}
.filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--soft);
  border: 1px solid var(--line);
  color: var(--primary);
  padding: 6px 8px 6px 12px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.005em;
  border-radius: 0;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.filter-tag:hover {
  background: #1C212B;
  color: white;
  border-color: var(--primary);
}
.filter-tag svg { flex-shrink: 0; }

/* Panel colapsable */
.filters-panel {
  background: var(--soft);
  border: 1px solid var(--line);
  padding: 24px;
  margin: 0 0 28px;
  animation: filters-slide .2s ease;
}
.filters-panel[hidden] { display: none; }
@keyframes filters-slide {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.filters-group {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.filters-group:last-of-type {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}
.filters-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  flex-shrink: 0;
  width: 120px;
  padding-top: 12px;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1;
}
.filter-chip {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--primary);
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.005em;
  border-radius: 0;  /* RECTO ⚠️ NUNCA pill */
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
  font-family: var(--sans);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.filter-chip:hover {
  background: var(--surface);
  border-color: var(--primary);
}
.filter-chip.active {
  background: #1C212B;
  color: white;
  border-color: var(--primary);
}
.filter-chip-verified svg { display: inline-block; }

.filters-panel-foot {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(0,0,0,.06);
  display: flex;
  justify-content: flex-end;
}
.filters-clear {
  background: transparent;
  border: 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.filters-clear:hover { color: var(--primary); }

@media (max-width: 760px) {
  .filters-group { flex-direction: column; gap: 8px; }
  .filters-label { width: auto; padding-top: 0; }
  .filters-toolbar { gap: 10px; }
  .filters-panel { padding: 18px; }
}

/* ============================================================
   RESULTS BAR — count + sort (sort movido a toolbar)
   ============================================================ */
.results-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 20px;
  gap: 16px;
  flex-wrap: wrap;
}
.results-count {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}
.results-count strong {
  font-weight: 700;
  color: var(--primary);
}
.sort-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  margin-left: auto;
}
.sort-label > span {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
  font-weight: 700;
}
.sort-label select {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0;  /* RECTO */
  padding: 9px 14px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
}

/* ============================================================
   GRID DE CARDS — listing cards (formato "ficha" con lista de items)
   ============================================================ */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}
.listing-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 0;  /* RECTO */
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color .2s ease, transform .25s ease, box-shadow .25s ease;
}
.listing-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.listing-card-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--soft);
  overflow: hidden;
}
.listing-card-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.listing-card:hover .listing-card-photo img {
  transform: scale(1.04);
}

/* Chip "Verificado" con texto sobre la foto — twitter-style badge */
.verified-chip {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--surface);
  color: var(--verified);
  padding: 5px 10px 5px 7px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.verified-chip svg { flex-shrink: 0; }

.listing-card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.listing-card-head h3 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.022em;
  color: var(--primary);
  margin: 0 0 4px;
  line-height: 1.2;
}
.listing-card-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: -0.005em;
}
.listing-card-rating svg { color: var(--primary); flex-shrink: 0; }
.listing-card-rating span {
  color: var(--muted);
  font-weight: 500;
  margin-left: 2px;
}

/* Lista de items — la innovación: cada detalle como fila con icono */
.listing-card-details {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--line-soft);
  padding-top: 14px;
}
.listing-card-details li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--body);
  line-height: 1.35;
  letter-spacing: -0.005em;
}
.listing-card-details li svg {
  flex-shrink: 0;
  color: var(--muted);
  width: 16px;
  height: 16px;
}
.listing-card-details li strong {
  font-weight: 700;
  color: var(--primary);
}

/* Precio destacado al pie */
.listing-card-foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}
.listing-card-price {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.listing-card-price strong {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.025em;
  color: var(--primary);
  line-height: 1;
}
.listing-card-price em {
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: -0.005em;
}
.listing-card-cta {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1.5px solid var(--primary);
  padding-bottom: 1px;
}

@media (max-width: 540px) {
  .grid { grid-template-columns: 1fr; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--line);
  padding: 32px 0;
  background: var(--bg);
}
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-content a {
  font-weight: 600;
  color: var(--primary);
}
.footer-content a:hover { opacity: .65; }

/* ============================================================
   ESTADO VACÍO (sin resultados)
   ============================================================ */
.empty-state {
  text-align: center;
  padding: 64px 24px;
  color: var(--muted);
}
.empty-state h3 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 20px;
  color: var(--primary);
  margin: 0 0 8px;
}
.empty-state p { font-size: 14px; margin: 0; }

/* ============================================================
   BUTTONS — sistema canónico
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.005em;
  cursor: pointer;
  border-radius: 0;
  text-align: center;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn-primary { background: #1C212B; color: white; }
.btn-primary:hover { background: var(--primary-2); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: #1C212B; color: white; }
.btn-full { width: 100%; }

/* ============================================================
   LISTING DETAIL PAGE
   ============================================================ */
.detail-page { padding: 32px 0 96px; }

/* Breadcrumb */
.breadcrumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
  font-weight: 500;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb-sep { margin: 0 6px; opacity: .5; }
.breadcrumb-current { color: var(--primary); font-weight: 600; }

/* Header del listing */
.detail-header { margin-bottom: 28px; }
.detail-header h1 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(32px, 4.4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--primary);
  margin: 0 0 14px;
}
.detail-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--body);
}
.detail-stat strong { font-weight: 700; color: var(--primary); }
.detail-stat-sep { color: var(--muted-light); margin: 0 6px; }
.detail-verified {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px 5px 8px;
  background: var(--surface);
  border: 1.5px solid var(--verified);
  color: var(--verified);
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-left: 4px;
}
.verified-svg { vertical-align: middle; }

/* Galería: hero 1 + 4 thumbnails grid */
.gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 8px;
  margin: 24px 0 48px;
  height: 480px;
  max-height: 60vh;
}
.gallery-hero {
  overflow: hidden;
  background: var(--soft);
  position: relative;
}
.gallery-hero img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
}
.gallery-thumb {
  overflow: hidden;
  background: var(--soft);
}
.gallery-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-thumb-empty {
  background: var(--soft);
}
@media (max-width: 900px) {
  .gallery { grid-template-columns: 1fr; height: auto; max-height: none; }
  .gallery-hero { height: 280px; }
  .gallery-thumbs { height: 200px; }
}

/* Layout 2 cols: contenido + sticky pricing */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 56px;
  align-items: start;
}
@media (max-width: 1000px) {
  .detail-grid { grid-template-columns: 1fr; gap: 32px; }
}

.detail-content { min-width: 0; }
.detail-section {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}
.detail-section:first-child { border-top: 0; padding-top: 0; }
.detail-section h2 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--primary);
  margin: 0 0 18px;
}
.detail-description {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--body);
  margin: 0 0 18px;
  max-width: 64ch;
}
.detail-tags {
  font-size: 14px;
  color: var(--body);
  margin: 0;
  font-weight: 500;
}
.highlights {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}
.highlights li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--body);
  font-weight: 500;
}
.highlights li svg { color: var(--primary); flex-shrink: 0; margin-top: 2px; }
@media (max-width: 540px) { .highlights { grid-template-columns: 1fr; } }

/* Amenities por categoría */
.amenities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 32px;
}
@media (max-width: 540px) { .amenities-grid { grid-template-columns: 1fr; } }
.amenity-group h4 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
}
.amenity-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.amenity-group li {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 14px;
  color: var(--body);
  font-weight: 500;
}
.amenity-group li svg { color: var(--primary); flex-shrink: 0; }

/* Ubicación + mapa */
.detail-address {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  margin: 0 0 4px;
}
.detail-address-note {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 16px;
}
.detail-map {
  width: 100%;
  height: 340px;
  background: var(--soft);
  overflow: hidden;
}
.detail-map iframe {
  width: 100%; height: 100%;
  border: 0;
  display: block;
}

/* Host card */
.host-card {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 20px;
  background: var(--soft);
  margin-bottom: 24px;
}
.host-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;  /* avatar persona — excepción semántica */
  background: #1C212B;
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.host-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.host-info strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
}
.host-meta {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}
.host-more h3 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
}
.host-more-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 640px) { .host-more-grid { grid-template-columns: 1fr; } }
.host-more-card {
  display: flex;
  gap: 12px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 8px;
  text-decoration: none;
  color: inherit;
  transition: border-color .2s ease;
}
.host-more-card:hover { border-color: var(--primary); }
.host-more-photo {
  width: 64px; height: 64px;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--soft);
}
.host-more-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.host-more-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.host-more-body strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.host-more-body span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

/* Reseñas */
.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.review {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-soft);
}
.review:last-child { border-bottom: 0; padding-bottom: 0; }
.review-head {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 10px;
}
.review-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;  /* avatar persona */
  background: var(--soft);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
}
.review-meta { display: flex; flex-direction: column; gap: 2px; }
.review-meta strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
}
.review-date {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}
.review-rating {
  font-size: 13px;
  color: var(--primary);
  letter-spacing: 1px;
}
.review-comment {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--body);
  margin: 0;
  padding-left: 58px;
}

/* Sticky pricing card */
.pricing-card-wrap {
  position: sticky;
  top: 96px;
  align-self: flex-start;
}
@media (max-width: 1000px) {
  .pricing-card-wrap { position: static; }
}
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 24px;
}
.pricing-card-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.pricing-amount {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.03em;
  color: var(--primary);
}
.pricing-amount span {
  font-weight: 500;
  font-size: 14px;
  color: var(--muted);
  margin-left: 4px;
}
.pricing-min {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}
.pricing-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}
.pricing-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.pricing-field > span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.pricing-field input {
  border: 0;
  outline: 0;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
  padding: 0;
  background: transparent;
}
.pricing-note {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin: 14px 0;
  line-height: 1.5;
}
.pricing-divider {
  height: 1px;
  background: var(--line);
  margin: 18px 0;
}

/* Espacios similares */
.detail-similar {
  border-top: 1px solid var(--line);
  margin-top: 32px;
  padding-top: 40px;
}
.grid-similares {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

/* ============================================================
   ASISTENTE IA — botón flotante (FAB)
   ============================================================ */
.ai-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px 14px 16px;
  background: #1C212B;
  color: white;
  border: 0;
  border-radius: 0;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
  transition: transform .2s ease, background .15s ease;
}
.ai-fab:hover {
  background: var(--primary-2);
  transform: translateY(-2px);
}
.ai-fab svg { flex-shrink: 0; }
.ai-fab-label { letter-spacing: -0.005em; }
@media (max-width: 540px) {
  .ai-fab-label { display: none; }
  .ai-fab { padding: 14px; }
}

/* AI Panel (cuando se abre el FAB) */
.ai-panel {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 360px;
  max-width: calc(100vw - 48px);
  max-height: 70vh;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .2);
  z-index: 99;
  display: flex;
  flex-direction: column;
  transform: translateY(8px);
  opacity: 0;
  pointer-events: none;
  transition: transform .25s ease, opacity .25s ease;
}
.ai-panel.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.ai-panel-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ai-panel-header strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
}
.ai-panel-close {
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--muted);
  font-size: 20px;
  padding: 4px;
}
.ai-panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  font-size: 14px;
  color: var(--body);
  line-height: 1.55;
}
.ai-panel-body p { margin: 0 0 12px; }
.ai-panel-body .ai-suggestion {
  display: block;
  padding: 10px 14px;
  background: var(--soft);
  margin-bottom: 6px;
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
  cursor: pointer;
}
.ai-panel-body .ai-suggestion:hover { background: var(--soft-2); }

/* ============================================================
   SPA loader (cuando se navega)
   ============================================================ */
.spa-loading {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  background-size: 200% 100%;
  animation: spaLoading 1s linear infinite;
  z-index: 200;
  pointer-events: none;
}
@keyframes spaLoading {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ============================================================
   PÁGINAS BÁSICAS — page-header + content sections
   ============================================================ */
.page-main { padding: 56px 0 96px; }

.page-header {
  margin-bottom: 64px;
  max-width: 880px;
}
.page-header .eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
}
.page-header h1 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(40px, 5.6vw, 72px);
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: var(--primary);
  margin: 0 0 22px;
}
.page-lead {
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
  max-width: 60ch;
}
.page-lead a:hover { opacity: .75; }

.content-section {
  padding: 56px 0;
  border-top: 1px solid var(--line);
}
.content-section:first-of-type { border-top: 0; padding-top: 0; }
.content-section h2 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--primary);
  margin: 0 0 24px;
}
.content-section h3 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.018em;
  color: var(--primary);
  margin: 28px 0 12px;
}
.content-section p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  margin: 0 0 16px;
  max-width: 68ch;
}
.content-section ul, .content-section ol { margin: 0 0 16px; padding-left: 0; }
.content-section ul li, .content-section ol li {
  font-size: 15px;
  line-height: 1.6;
  color: var(--body);
  margin-bottom: 8px;
}
.content-section a { color: var(--primary); font-weight: 600; border-bottom: 1px solid currentColor; }
.content-section a:hover { opacity: .65; }
.content-section a.btn { border-bottom: 0; }

.content-section-soft {
  background: var(--soft);
  border-top: 0;
  padding: 64px 0;
  margin: 32px -28px 0;
  padding-left: 28px;
  padding-right: 28px;
}
.content-section-dark {
  background: #1C212B;
  color: white;
  border-top: 0;
  padding: 64px 0;
  margin: 32px -28px 0;
  padding-left: 28px;
  padding-right: 28px;
}
.content-section-dark h2 { color: white; }
.content-section-dark p { color: rgba(255,255,255,.85); }
.content-section-dark strong { color: white; }
.content-section-dark a { color: white; }
.content-section-dark .reasons-grid .reason { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.content-section-dark .reasons-grid .reason strong { color: white; }
.content-section-dark .reasons-grid .reason p { color: rgba(255,255,255,.7); }

.content-note {
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
}

/* Step list (procesos numerados) */
.step-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.step-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: start;
}
.step-list .step-num {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.03em;
  color: var(--primary);
  line-height: 1;
}
.step-list strong {
  display: block;
  font-weight: 700;
  font-size: 17px;
  color: var(--primary);
  margin-bottom: 6px;
  letter-spacing: -0.015em;
}
.step-list p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 64ch;
}

/* Check list (con iconos) */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--body);
  font-weight: 500;
  position: relative;
  padding-left: 26px;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 800;
  color: var(--primary);
}

/* Reasons grid */
.reasons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 720px) { .reasons-grid { grid-template-columns: 1fr; } }
.reason {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.reason strong {
  display: block;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 16px;
  color: var(--primary);
  margin-bottom: 8px;
  letter-spacing: -0.015em;
}
.reason p {
  font-size: 14px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

/* Payment grid */
.payment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 16px 0;
}
@media (max-width: 720px) { .payment-grid { grid-template-columns: 1fr 1fr; } }
.payment-card {
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.payment-card strong {
  font-weight: 800;
  font-size: 15px;
  color: var(--primary);
}
.payment-card span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

/* Contact grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 720px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
.contact-card strong {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 17px;
  color: var(--primary);
}
.contact-card p {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--muted);
}

/* Info list */
.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.info-list li {
  font-size: 15px;
  color: var(--body);
}
.info-list strong { color: var(--primary); margin-right: 6px; }

/* CTA row */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* FAQ en página standalone */
.faq-page {
  max-width: 760px;
}
.faq-page details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}
.faq-page details:last-of-type { border-bottom: 1px solid var(--line); }
.faq-page summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 16px;
  color: var(--primary);
  letter-spacing: -0.015em;
}
.faq-page summary::-webkit-details-marker { display: none; }
.faq-page summary::after {
  content: "+";
  font-weight: 400;
  font-size: 20px;
  color: var(--primary);
  transition: transform .25s ease;
}
.faq-page details[open] summary::after { content: "−"; }
.faq-page details p {
  margin: 12px 0 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 64ch;
}
.faq-page details a { color: var(--primary); }

/* Legal pages */
.legal-content {
  max-width: 720px;
}
.legal-content h2 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 18px;
  color: var(--primary);
  margin: 32px 0 12px;
  letter-spacing: -0.015em;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 14px;
  color: var(--primary);
  margin: 18px 0 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.legal-content p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--body);
  margin: 0 0 12px;
}
.legal-content ul {
  margin: 0 0 16px;
  padding-left: 20px;
}
.legal-content li {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 6px;
}

/* Host page */
.host-page-header { margin-bottom: 48px; }
.host-page-info {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  align-items: center;
  margin-top: 16px;
}
.host-page-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #1C212B;
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.02em;
}
.host-page-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
  margin-top: 8px;
}
.host-page-verified {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--verified);
  font-weight: 700;
}

/* ============================================================
   FOOTER COMPLETO (footer-app)
   ============================================================ */
.footer-app {
  background: #1C212B;
  color: white;
  padding: 64px 0 32px;
  margin-top: 64px;
}
.footer-app-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}
@media (max-width: 900px) {
  .footer-app-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 540px) {
  .footer-app-grid { grid-template-columns: 1fr; }
}
.footer-app-brand .brand {
  font-size: 24px;
  color: white;
}
.footer-app-brand .brand-suffix { color: rgba(255,255,255,.55); }
.footer-app-brand p {
  font-size: 14px;
  color: rgba(255,255,255,.65);
  margin: 14px 0 12px;
  max-width: 36ch;
  line-height: 1.55;
}
.footer-app-domain {
  font-size: 13px;
  color: white;
  font-weight: 700;
}
.footer-app-col h4 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin: 0 0 14px;
}
.footer-app-col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,.85);
  padding: 5px 0;
  font-weight: 500;
}
.footer-app-col a:hover { color: white; }
.footer-app-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: 13px;
  color: rgba(255,255,255,.55);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-app-bottom a { color: rgba(255,255,255,.85); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Approved black surfaces and blue action; demo claims stay visibly referential. */
.btn-primary, .btn-search { background: #2563EB; color: #FFF; }
.btn-primary:hover, .btn-search:hover { background: #1D4ED8; }
.catalog-demo .verified-chip, .catalog-demo .listing-card-verified,
.catalog-demo .detail-verified, .catalog-demo .detail-stat-verified, .catalog-demo .host-page-verified,
.catalog-demo .listing-card-rating, .catalog-demo .reviews-list { display: none; }
.catalog-demo .demo-banner { background: #111722; color: #D6DFED; }
.pricing-field input { color-scheme: dark; }
.listing-card { transition: border-color .18s ease, transform .18s ease; }
.listing-card:hover { border-color: #5593FF; transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .listing-card:hover { transform: none; }
}

.ai-suggestion { font: inherit; color: inherit; text-align: left; border: 1px solid var(--line); }
