/* Catálogo — marketplace transaccional (CLAUDE.md §10): coral + amarillo. Onest. */
:root {
  --brand-primary: #E0492C;
  --brand-accent: #FFD45C;
  --brand-bg: #fffaf3;
  --brand-fg: #1f2937;
  --brand-muted: #6b7280;
  --brand-border: #fed7aa;
  --brand-radius: 10px;
  --brand-font: 'Onest', 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: #fff; 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; font-weight: 500; }
.meta-switch a:hover { text-decoration: underline; }
header.brand-header {
  padding: 20px 24px; display: flex; align-items: baseline; justify-content: space-between;
  background: linear-gradient(90deg, #fff 70%, var(--brand-accent) 100%);
}
header.brand-header h1 { margin: 0; color: var(--brand-primary); font-weight: 800; font-size: 26px; }
header.brand-header .tagline { color: var(--brand-muted); font-size: 14px; }
.container { max-width: 1100px; margin: 0 auto; padding: 24px; }
.ficha-header {
  background: #fff; padding: 24px; border-radius: var(--brand-radius);
  box-shadow: 0 4px 16px rgba(224,73,44,0.08);
  border-top: 4px solid var(--brand-primary);
}
.ficha-header h1 { margin-top: 0; color: var(--brand-primary); font-size: 28px; }
.ficha-header .verified-badge {
  display: inline-block; background: var(--brand-primary); color: #fff;
  padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700;
}
.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); font-weight: 500; }
.ficha-cta { margin-top: 20px; display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary {
  background: var(--brand-primary); color: #fff; padding: 12px 24px;
  border: 0; border-radius: var(--brand-radius); font-weight: 700;
  text-decoration: none; cursor: pointer; font-size: 14px;
  box-shadow: 0 2px 6px rgba(224,73,44,0.3);
}
.btn-secondary {
  background: var(--brand-accent); color: #1f2937; padding: 12px 24px;
  border: 0; border-radius: var(--brand-radius); text-decoration: none;
  font-weight: 700; font-size: 14px;
}
.disclaimer {
  background: #fef3c7; border-left: 4px solid #f59e0b; padding: 12px 16px;
  border-radius: var(--brand-radius); margin: 16px 0; font-size: 14px;
}
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.card {
  background: #fff; border: 1px solid var(--brand-border); border-radius: var(--brand-radius);
  padding: 16px; text-decoration: none; color: inherit;
  transition: transform 0.15s, box-shadow 0.15s;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(224,73,44,0.15); }
.card h3 { margin: 0 0 8px; font-size: 17px; color: var(--brand-primary); }
.card .meta { color: var(--brand-muted); font-size: 13px; }
.card .cta-mini {
  display: inline-block; margin-top: 8px; padding: 6px 12px;
  background: var(--brand-accent); color: #1f2937; border-radius: 6px;
  font-size: 12px; font-weight: 700; text-decoration: none;
}
.crumbs { font-size: 13px; color: var(--brand-muted); margin-bottom: 16px; }
.crumbs a { color: var(--brand-primary); text-decoration: none; font-weight: 500; }
.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: var(--brand-radius);
  color: var(--brand-primary); text-decoration: none; font-size: 14px; font-weight: 500;
}
.pagination .current { background: var(--brand-primary); color: #fff; }
.review { border-bottom: 1px dashed var(--brand-border); padding: 12px 0; }
.review .rating { color: var(--brand-primary); font-weight: 700; }
.review .author { color: var(--brand-muted); font-size: 13px; }
footer { background: var(--brand-primary); color: #fff; padding: 24px; text-align: center; font-size: 13px; margin-top: 40px; }
/* FAB del lead-drawer (Catálogo exclusivo, regla §4.8) */
.lead-fab {
  position: fixed; bottom: 24px; right: 24px; z-index: 1000;
  background: var(--brand-primary); color: #fff; padding: 16px 24px;
  border-radius: 999px; font-weight: 700; font-size: 15px;
  box-shadow: 0 4px 16px rgba(224,73,44,0.4); cursor: pointer;
  text-decoration: none; border: 0;
}
.lead-fab:hover { background: #c63d22; }

/* ───────── P1 SSR — home rico (Catálogo marketplace · tono transaccional · emojis OK §0.5) ───────── */

.hero {
  background:
    radial-gradient(circle at 90% 0%, rgba(224,73,44,0.06), transparent 50%),
    var(--brand-bg);
  border-bottom: 1px solid var(--brand-border);
  padding: 56px 0 48px;
}
.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffe5dc;
  color: var(--brand-primary);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}
.hero h1 { font-size: 44px; line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 16px; color: var(--brand-fg); }
.hero h1 .y { background: var(--brand-accent); padding: 0 6px; border-radius: 6px; }
.hero .lede { color: var(--brand-muted); font-size: 18px; max-width: 60ch; line-height: 1.5; margin: 0 0 28px; }

.big-search {
  background: #fff;
  border-radius: 14px;
  padding: 6px;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 0;
  max-width: 760px;
  box-shadow: 0 12px 32px -20px rgba(31,26,23,0.18), 0 2px 6px rgba(31,26,23,0.04);
  border: 1px solid var(--brand-border);
}
.big-search .field { padding: 10px 16px; display: flex; flex-direction: column; gap: 2px; }
.big-search .field + .field { border-left: 1px solid var(--brand-border); }
.big-search .field .lbl { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-muted); font-weight: 700; }
.big-search .field input,
.big-search .field select {
  border: 0; outline: 0; padding: 4px 0; font-size: 15px; font-family: inherit;
  background: transparent; color: var(--brand-fg); width: 100%; font-weight: 500;
}
.big-search .field input::placeholder { color: var(--brand-muted); font-weight: 400; }
.big-search .submit {
  background: var(--brand-primary); color: #fff; border: 0; border-radius: 10px;
  padding: 0 24px; font-family: inherit; font-size: 15px; font-weight: 700;
  cursor: pointer; margin: 6px; min-width: 130px; display: flex; align-items: center; justify-content: center; gap: 8px;
}
.big-search .submit:hover { background: #c63d22; }
@media (max-width: 700px) {
  .big-search { grid-template-columns: 1fr; }
  .big-search .field + .field { border-left: 0; border-top: 1px solid var(--brand-border); }
  .big-search .submit { margin: 6px; padding: 14px; }
}

.hero-trust {
  margin-top: 32px;
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  align-items: center;
}
.hero-trust .t { font-size: 13px; color: var(--brand-muted); }
.hero-trust .t b { display: block; font-size: 22px; color: var(--brand-fg); font-weight: 800; letter-spacing: -0.02em; line-height: 1; margin-bottom: 4px; }

.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 .eyebrow .dot { color: var(--brand-primary); }
.section-head h2 { margin: 0; font-size: 28px; color: var(--brand-fg); }
.section-head .sub { color: var(--brand-muted); font-size: 15px; margin-top: 4px; }
.section-head a { color: var(--brand-fg); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

.cat-strip {
  background: #fff;
  padding: 28px 0;
  border-top: 1px solid var(--brand-border);
  border-bottom: 1px solid var(--brand-border);
}
.cat-strip .rail {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
}
@media (max-width: 1000px) { .cat-strip .rail { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px) { .cat-strip .rail { grid-template-columns: repeat(2, 1fr); } }
.cat-tile {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 14px 8px;
  border-radius: 12px;
  transition: background .15s;
}
.cat-tile:hover { background: #ffe5dc; }
.cat-tile .ic {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--brand-bg);
  display: grid;
  place-items: center;
  font-size: 20px;
}
.cat-tile .l { font-size: 13px; font-weight: 600; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1000px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards-grid { grid-template-columns: 1fr; } }

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

/* How it works — 3 pasos */
.how {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 1000px) { .how { grid-template-columns: 1fr; } }
.how-step {
  background: #fff;
  border: 1px solid var(--brand-border);
  border-radius: 12px;
  padding: 24px;
}
.how-step .num {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--brand-primary);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.how-step h3 { margin: 0 0 6px; font-size: 17px; }
.how-step p { color: var(--brand-muted); font-size: 14px; line-height: 1.5; margin: 0; }

/* Final CTA coral */
.final-cta {
  background: var(--brand-primary);
  color: #fff;
  border-radius: 16px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: 32px;
}
@media (max-width: 1000px) { .final-cta { grid-template-columns: 1fr; padding: 32px; } }
.final-cta h2 { color: #fff; font-size: 32px; margin: 0 0 12px; letter-spacing: -0.01em; }
.final-cta p { color: rgba(255,255,255,0.85); margin: 0 0 18px; max-width: 50ch; }
.final-cta .btn-primary { background: var(--brand-fg); color: #fff; }
.final-cta .btn-primary:hover { background: #000; }
.final-cta .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.final-cta .btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.final-cta .price-tag { background: rgba(0,0,0,0.18); padding: 20px; border-radius: 12px; }
.final-cta .price-tag b { display: block; font-size: 32px; font-weight: 800; letter-spacing: -0.02em; }
.final-cta .price-tag small { display: block; font-size: 13px; color: rgba(255,255,255,0.7); margin-top: 4px; }
.final-cta .price-tag .alt { font-size: 12px; color: rgba(255,255,255,0.6); margin-top: 8px; line-height: 1.5; }

/* Empty state */
.empty-state {
  margin-top: 16px;
  padding: 32px;
  border: 1px dashed var(--brand-border);
  border-radius: var(--brand-radius);
  background: #fff;
  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; }