/* Verificadas — identidad corporativa (CLAUDE.md §10): navy + verde acento. Manrope. */
:root {
  --brand-primary: #0B1F3F;
  --brand-accent: #0B7A55;
  --brand-bg: #ffffff;
  --brand-fg: #111827;
  --brand-muted: #6b7280;
  --brand-border: #e5e7eb;
  --brand-radius: 6px;
  --brand-font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
* { box-sizing: border-box; }
body {
  font-family: var(--brand-font);
  margin: 0;
  color: var(--brand-fg);
  background: var(--brand-bg);
  line-height: 1.5;
  font-size: 16px;
}
.meta-switch {
  background: #f3f4f6;
  padding: 8px 16px;
  font-size: 13px;
  text-align: center;
  border-bottom: 1px solid var(--brand-border);
}
.meta-switch a { color: var(--brand-primary); text-decoration: none; margin: 0 6px; }
.meta-switch a:hover { color: var(--brand-accent); text-decoration: underline; }
header.brand-header {
  padding: 16px 24px;
  border-bottom: 2px solid var(--brand-primary);
  display: flex; align-items: baseline; justify-content: space-between;
}
header.brand-header h1 { margin: 0; color: var(--brand-primary); font-weight: 700; font-size: 24px; }
header.brand-header .tagline { color: var(--brand-muted); font-size: 14px; }
.container { max-width: 1100px; margin: 0 auto; padding: 24px; }
.ficha-header {
  background: #f9fafb; padding: 24px; border-radius: var(--brand-radius);
  border-left: 4px solid var(--brand-accent);
}
.ficha-header h1 { margin-top: 0; color: var(--brand-primary); font-size: 28px; }
.ficha-header .verified-badge {
  display: inline-block; background: var(--brand-accent); color: #fff;
  padding: 4px 10px; border-radius: 4px; font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.ficha-header dl { display: grid; grid-template-columns: 120px 1fr; gap: 8px 16px; margin: 16px 0 0; }
.ficha-header dt { color: var(--brand-muted); font-weight: 500; }
.ficha-header dd { margin: 0; }
.ficha-header a { color: var(--brand-primary); }
.ficha-cta { margin-top: 16px; display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary {
  background: var(--brand-primary); color: #fff; padding: 10px 20px;
  border: 0; border-radius: var(--brand-radius); font-weight: 600;
  text-decoration: none; cursor: pointer; font-size: 14px;
}
.btn-secondary {
  background: #fff; color: var(--brand-primary); padding: 10px 20px;
  border: 1px solid var(--brand-primary); border-radius: var(--brand-radius);
  text-decoration: none; font-weight: 500; font-size: 14px;
}
.disclaimer {
  background: #fffbeb; border: 1px solid #f59e0b; padding: 12px 16px;
  border-radius: var(--brand-radius); margin: 16px 0; font-size: 14px; color: #92400e;
}
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.card {
  background: #fff; border: 1px solid var(--brand-border); border-radius: var(--brand-radius);
  padding: 16px; text-decoration: none; color: inherit;
}
.card:hover { border-color: var(--brand-primary); box-shadow: 0 2px 8px rgba(11,31,63,0.08); }
.card h3 { margin: 0 0 8px; font-size: 17px; color: var(--brand-primary); }
.card .meta { color: var(--brand-muted); font-size: 13px; }
.crumbs { font-size: 13px; color: var(--brand-muted); margin-bottom: 16px; }
.crumbs a { color: var(--brand-primary); text-decoration: none; }
.pagination { margin: 24px 0; display: flex; gap: 8px; justify-content: center; }
.pagination a, .pagination span {
  padding: 8px 14px; border: 1px solid var(--brand-border); border-radius: 4px;
  color: var(--brand-primary); text-decoration: none; font-size: 14px;
}
.pagination .current { background: var(--brand-primary); color: #fff; }
.review { border-bottom: 1px solid var(--brand-border); padding: 12px 0; }
.review .rating { color: #f59e0b; font-weight: 600; }
.review .author { color: var(--brand-muted); font-size: 13px; }
footer { background: #f9fafb; padding: 24px; text-align: center; font-size: 13px; color: var(--brand-muted); margin-top: 40px; }
/* Sin emojis decorativos (CLAUDE.md §0.5 — Verificadas). */

/* ───────── P1 SSR — home rico (regla §0.9 claims honestos, placeholders cualitativos) ───────── */

.hero {
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(11,31,63,0.04), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
  border-bottom: 1px solid var(--brand-border);
  padding: 56px 0 64px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 1000px) { .hero-grid { grid-template-columns: 1fr; gap: 32px; } }
.hero h1 { font-size: 44px; line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 18px; color: var(--brand-fg); }
.hero h1 em { font-style: normal; color: var(--brand-primary); }
.hero .lede { color: var(--brand-muted); font-size: 18px; max-width: 60ch; line-height: 1.5; margin: 0 0 28px; }
.hero .eyebrow {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-muted);
  font-weight: 600; margin: 0 0 14px;
}
.hero .eyebrow .dot { color: var(--brand-accent); }

.search-box {
  background: #fff;
  border: 1px solid var(--brand-border);
  border-radius: 8px;
  padding: 6px;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 4px;
  box-shadow: 0 8px 24px -16px rgba(11,31,63,0.18);
}
.search-field { padding: 10px 14px; display: flex; flex-direction: column; gap: 2px; }
.search-field + .search-field { border-left: 1px solid var(--brand-border); }
.search-field label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-muted);
  font-weight: 600;
}
.search-field input,
.search-field select {
  border: none;
  outline: none;
  padding: 4px 0;
  font-size: 15px;
  font-family: inherit;
  color: var(--brand-fg);
  background: transparent;
}
.search-field input::placeholder,
.search-field select::placeholder { color: #b6bdcb; }
.search-box .btn-primary { margin: 4px; padding: 12px 22px; }
@media (max-width: 700px) {
  .search-box { grid-template-columns: 1fr; }
  .search-field + .search-field { border-left: 0; border-top: 1px solid var(--brand-border); }
}

.trust-row {
  margin-top: 22px;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 13px;
  color: var(--brand-muted);
}
.trust-row .row { display: inline-flex; align-items: center; gap: 8px; }

.stats {
  background: #fff;
  border: 1px solid var(--brand-border);
  border-radius: 10px;
  padding: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 8px 28px -20px rgba(11,31,63,0.18);
}
.stat {
  padding: 18px 18px;
  border-right: 1px solid var(--brand-border);
  border-bottom: 1px solid var(--brand-border);
}
.stat:nth-child(2n) { border-right: none; }
.stat:nth-last-child(-n+2) { border-bottom: none; }
.stat .n { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; color: var(--brand-primary); }
.stat .l { font-size: 12px; color: var(--brand-muted); font-weight: 500; margin-top: 4px; }

/* Categorías y ciudades — grids reutilizables */
.section { padding: 56px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 28px;
  gap: 24px;
  flex-wrap: wrap;
}
.section-head .eyebrow { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-muted); font-weight: 600; margin: 0 0 6px; }
.section-head h2 { margin: 0; font-size: 28px; color: var(--brand-fg); letter-spacing: -0.01em; }
.section-head a { color: var(--brand-primary); font-weight: 500; text-decoration: none; }
.section-head a:hover { text-decoration: underline; }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 1000px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
.cat-card {
  background: #fff;
  border: 1px solid var(--brand-border);
  border-radius: 6px;
  padding: 18px 18px 16px;
  text-decoration: none;
  color: inherit;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: border-color .15s, transform .15s;
}
.cat-card:hover { border-color: var(--brand-primary); }
.cat-card .l { font-weight: 600; font-size: 14px; }

.cities-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  font-size: 14px;
}
@media (max-width: 1000px) { .cities-grid { grid-template-columns: repeat(3, 1fr); } }
.city-link {
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--brand-border);
  border-radius: 6px;
  text-decoration: none;
  color: inherit;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.city-link:hover { border-color: var(--brand-primary); }

/* Featured listings */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 1000px) { .feat-grid { grid-template-columns: 1fr; } }

/* CTA banner — Verificadas */
.cta-banner {
  background: var(--brand-primary);
  color: #fff;
  border-radius: 12px;
  padding: 40px 48px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: 32px;
}
@media (max-width: 1000px) { .cta-banner { grid-template-columns: 1fr; padding: 32px; } }
.cta-banner h2 { color: #fff; margin: 0 0 10px; font-size: 28px; letter-spacing: -0.01em; }
.cta-banner p { color: #c8d2e1; margin: 0 0 18px; max-width: 50ch; }
.cta-banner .btn-primary { background: #fff; color: var(--brand-primary); }
.cta-banner .btn-primary:hover { background: #e9eef7; }
.cta-banner .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.4); background: transparent; }
.cta-banner .btn-ghost:hover { border-color: #fff; }
.cta-pricing {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 20px;
}
.cta-pricing .price { font-size: 32px; font-weight: 700; color: #fff; letter-spacing: -0.02em; }
.cta-pricing .price small { font-size: 14px; color: #c8d2e1; font-weight: 400; }
.cta-pricing .alt { font-size: 12px; color: #8898b0; margin-top: 4px; }
.cta-pricing ul { list-style: none; padding: 12px 0 0; margin: 0; font-size: 13px; color: #c8d2e1; display: flex; flex-direction: column; gap: 6px; }
.cta-pricing ul li::before { content: "✓ "; color: var(--brand-accent); font-weight: 700; }

/* Empty states — CTA al siguiente paso (regla §3.4 zero-support) */
.empty-state {
  margin-top: 16px;
  padding: 32px;
  border: 1px dashed var(--brand-border);
  border-radius: var(--brand-radius);
  background: #f9fafb;
  text-align: center;
}
.empty-state h3 { margin: 0 0 8px; color: var(--brand-fg); font-size: 18px; }
.empty-state p { margin: 0 0 16px; color: var(--brand-muted); }
.empty-state .actions { display: inline-flex; gap: 10px; flex-wrap: wrap; justify-content: center; }