/* ==========================================================
   MALDONADO GUÍA — estilos
   Separado de index.html en el refactor de organización de
   archivos; contenido idéntico al <style> original.
   ========================================================== */

:root {
  --navy: #1a2b4a;
  --navy-dark: #0f1c30;
  --navy-light: #2a3f62;
  --gold: #b8903a;
  --gold-light: #d4aa55;
  --gold-pale: #f5edda;
  --cream: #faf8f4;
  --white: #ffffff;
  --text: #1a1a1a;
  --muted: #6b6560;
  --border: #e2ddd5;
  --green: #2d7a4f;
  --red: #c0392b;
}

.business-claim{margin:22px 0 4px;padding-top:18px;border-top:1px solid #e4eaee}.business-claim button{display:inline;padding:0;border:0;background:transparent;color:var(--navy,#12344f);font:inherit;font-size:.8rem;font-weight:750;text-decoration:underline;text-decoration-color:rgba(18,52,79,.3);text-underline-offset:3px;cursor:pointer}.business-claim button:hover{color:var(--gold,#b58b31);text-decoration-color:currentColor}.business-claim p{margin:7px 0 0;color:#778895;font-size:.67rem;line-height:1.5}

/* ── ÍCONOS INLINE (SVG) ── */
.search-icon svg, .search-clear svg, .modal-close svg { display: block; }
.geo-ico { display: inline-flex; vertical-align: -2px; margin-right: 2px; }
.ico svg { width: 13px; height: 13px; }
.info-cell-label svg { width: 12px; height: 12px; vertical-align: -1px; margin-right: 2px; }
.badge svg { width: 10px; height: 10px; vertical-align: -1px; margin-right: 1px; }
.card-logo svg, .modal-logo svg { width: 60%; height: 60%; color: var(--navy); }
.modal-photo svg, .modal-photo.no-foto svg { width: 22%; height: 22%; color: var(--muted); }
.modal-btn svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 4px; }
.ico-wrap { display: inline-flex; }
.ico-wrap svg { width: 1em; height: 1em; }

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

html, body {
  width: 100%; max-width: 100%; overflow-x: clip; overscroll-behavior-x: none;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
}

/* ── HEADER ── */
.header {
  background: var(--navy-dark);
  position: sticky; top: 0; z-index: 200;
  border-bottom: 2px solid var(--gold);
}
.header-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 10px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  background: none; border: none; padding: 0; cursor: pointer;
  text-align: left;
}
.brand:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 5px; }
.brand-badge {
  width: 52px; height: 52px; border-radius: 50%;
  background: #FFFFFF;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; overflow: hidden;
  box-shadow: 0 0 0 3px var(--navy-light), 0 0 0 7px var(--gold-light), 0 2px 10px rgba(0,0,0,0.3);
}
.brand-badge img { width: 78%; height: 78%; object-fit: contain; }
.brand-name {
  font-family: 'Libre Baskerville', serif;
  font-weight: 700; font-size: 1.25rem; color: var(--gold-light);
  line-height: 1.1; white-space: nowrap;
}
.header-nav { display: flex; gap: 8px; align-items: center; }
.nav-btn {
  background: none; border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.75); padding: 7px 14px;
  font-family: 'Inter', sans-serif; font-size: 0.8rem; font-weight: 500;
  cursor: pointer; transition: all 0.15s; letter-spacing: 0.3px;
}
.nav-btn:hover { border-color: var(--gold); color: var(--gold); }
.nav-btn.primary {
  background: var(--gold); border-color: var(--gold); color: var(--navy-dark); font-weight: 600;
}
.nav-btn.primary:hover { background: var(--gold-light); }
.mobile-menu-toggle, .mobile-menu { display: none; }

/* ── HERO ── */
.hero {
  background: var(--navy);
  padding: 56px 24px 72px;
  text-align: center;
  position: relative;
}
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 120%, rgba(184,144,58,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-rule {
  width: 60px; height: 2px; background: var(--gold);
  margin: 0 auto 20px; display: block;
}
.hero h1 {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(1.9rem, 4.5vw, 3.2rem);
  font-weight: 700; color: var(--white);
  line-height: 1.15; margin-bottom: 14px;
  position: relative;
}
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero-sub {
  color: rgba(255,255,255,0.55); font-size: 1rem;
  font-weight: 300; margin-bottom: 36px; position: relative;
}
.hero-wave-bottom {
  position: absolute; bottom: -1px; left: 0; right: 0; height: 48px;
  background: var(--cream);
  clip-path: ellipse(52% 100% at 50% 100%);
}

/* ── BUSCADOR ── */
.search-wrap {
  max-width: 940px; margin: 0 auto; position: relative; z-index: 1;
}
.search-main-row { display: flex; align-items: stretch; gap: 10px; }
.search-box {
  display: flex; flex: 1; min-width: 0; background: white;
  box-shadow: 0 6px 32px rgba(0,0,0,0.22);
  border: 2px solid transparent;
  transition: border-color 0.2s;
  position: relative;
}
.search-box:focus-within { border-color: var(--gold); }
.home-location-box {
  width: 220px; flex: 0 0 220px; min-height: 54px; position: relative;
  display: flex; align-items: center; background: white;
  border: 2px solid transparent; box-shadow: 0 6px 32px rgba(0,0,0,0.22);
  transition: border-color .2s;
}
.home-location-box:focus-within { border-color: var(--gold); }
.home-location-icon {
  width: 45px; flex: 0 0 45px; display: flex; align-items: center; justify-content: center;
  color: var(--muted); pointer-events: none;
}
.home-location-icon svg { width: 18px; height: 18px; }
.home-location-box select {
  width: 100%; min-width: 0; height: 100%; padding: 0 34px 0 0;
  border: 0; outline: 0; appearance: none; background: transparent;
  color: var(--text); cursor: pointer; font: .86rem 'Inter', sans-serif;
}
.home-location-chevron {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  display: flex; color: var(--muted); pointer-events: none;
}
.home-location-chevron svg { width: 15px; height: 15px; }
.search-icon {
  padding: 0 16px; display: flex; align-items: center;
  color: var(--muted); font-size: 1.1rem; flex-shrink: 0;
}
.search-box input {
  flex: 1; min-width: 0; border: none; outline: none; padding: 16px 8px;
  font-family: 'Inter', sans-serif; font-size: 0.95rem; color: var(--text);
  background: transparent; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.search-box input::placeholder { color: #bbb; }
.search-clear {
  background: none; border: none; padding: 0 12px;
  color: var(--muted); cursor: pointer; font-size: 1rem;
  display: none; align-items: center;
}
.search-clear.visible { display: flex; }
.search-submit {
  background: var(--gold); border: none; padding: 0 24px;
  color: var(--navy-dark); font-family: 'Inter', sans-serif;
  font-size: 0.85rem; font-weight: 600; cursor: pointer;
  transition: background 0.15s; white-space: nowrap; letter-spacing: 0.3px;
}
.search-submit:hover { background: var(--gold-light); }
.search-hint {
  color: rgba(255,255,255,0.35); font-size: 0.75rem;
  margin-top: 10px; position: relative;
}
.hero-trust {
  color: rgba(212,170,85,0.75); /* var(--gold-light) con opacidad */
  font-family: 'Inter', sans-serif; font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.3px; margin-top: 14px;
}
.search-suggestions {
  display: none; position: absolute; top: calc(100% + 6px); left: 0; right: 0;
  background: white; box-shadow: 0 10px 32px rgba(0,0,0,0.25);
  border-radius: 4px; overflow: hidden; text-align: left; z-index: 100;
}
.search-suggestions.visible { display: block; }
.sugg-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 18px; cursor: pointer; transition: background 0.12s;
  border-bottom: 1px solid #f0eee8;
}
.sugg-item:last-child { border-bottom: none; }
.sugg-item:hover { background: var(--gold-pale); }
.sugg-ico {
  width: 20px; height: 20px; flex-shrink: 0; color: var(--navy);
  display: flex; align-items: center; justify-content: center;
}
.sugg-ico svg { width: 100%; height: 100%; }
.sugg-texto { font-family: 'Inter', sans-serif; font-size: 0.88rem; color: var(--text); }
.sugg-item.sugg-rubro .sugg-texto { font-weight: 600; }

/* ── ESTADO (abierto / cerrado / por cerrar) ── */
.badge-estado { display: inline-flex; align-items: center; gap: 5px; }
.badge-estado .ico-wrap svg { width: 9px; height: 9px; }
.badge-estado.estado-abierto { background: #e5f3ea; color: #1e7d42; }
.badge-estado.estado-cerrado { background: #fbe9e7; color: #b13a2e; }
.badge-estado.estado-porcerrar { background: #fdf1dd; color: #b3781a; }
.badge-estado.estado-desconocido { background: #eee; color: var(--muted); }
.card-horario-txt { line-height: 1.3; }
.card-horario-txt b { font-weight: 600; }

/* ── CATEGORÍAS VISUALES ── */
.cat-section {
  background: linear-gradient(180deg, #f8f3e8 0%, var(--cream) 100%);
  padding: 48px 24px 52px;
}
.cat-section-inner { max-width: 1200px; margin: 0 auto; }
.cat-groups {
  columns: 2; column-gap: 18px;
}
.cat-group {
  width: 100%; display: inline-block; break-inside: avoid; margin: 0 0 18px;
  background: rgba(255,255,255,0.82); border: 1px solid rgba(184,144,58,0.2);
  border-radius: 16px; padding: 22px 20px 20px;
  box-shadow: 0 5px 20px rgba(15,28,48,0.045);
}
.cat-group-title {
  width: fit-content; margin: 0 auto 16px; padding: 7px 13px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; background: var(--navy); color: var(--gold-light);
  font-family: 'Inter', sans-serif; font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.09em;
}
.cat-group-title-ico { display: flex; color: var(--gold-light); }
.cat-group-title-ico svg { width: 16px; height: 16px; }
.cat-chip-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; }
.cat-chip {
  min-height: 42px; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 11px; border: 1px solid var(--border);
  background: white; cursor: pointer;
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s, color 0.18s;
  font-family: 'Inter', sans-serif; font-size: 0.79rem; font-weight: 600;
  color: var(--navy-dark); text-align: left;
}
.cat-chip:hover {
  color: var(--navy); border-color: var(--gold-light); transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(15,28,48,0.08);
}
.cat-chip:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.cat-chip-ico {
  width: 27px; height: 27px; flex: 0 0 27px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy); background: var(--gold-pale);
}
.cat-chip-ico svg { width: 17px; height: 17px; }

/* ── RECOMENDADO POR MALDONADOGUÍA ── */
.recomendados-section {
  background: var(--white); padding: 56px 24px 60px;
  border-bottom: 1px solid var(--border);
}
.recomendados-inner { max-width: 1200px; margin: 0 auto; }
.recomendados-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 24px;
}
.recomendados-kicker {
  display: block; margin-bottom: 7px; color: var(--gold);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 1.8px;
  text-transform: uppercase;
}
.recomendados-header h2 {
  color: var(--navy); font-family: 'Libre Baskerville', serif;
  font-size: clamp(1.45rem, 3vw, 2rem); line-height: 1.2;
}
.recomendados-header p { color: var(--muted); font-size: 0.86rem; margin-top: 6px; }
.recomendados-controls { display: flex; gap: 8px; flex-shrink: 0; }
.recomendados-arrow {
  width: 40px; height: 40px; border: 1px solid var(--border);
  background: var(--white); color: var(--navy); cursor: pointer;
  font-size: 1.1rem; transition: all 0.18s;
}
.recomendados-arrow:hover { background: var(--navy); border-color: var(--navy); color: white; }
.recomendados-track {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: calc((100% - 32px) / 3); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; padding: 2px 1px 8px;
}
.recomendados-track::-webkit-scrollbar { display: none; }
.recomendados-track > .card {
  min-width: 0;
  scroll-snap-align: start;
}
.recomendado-card {
  min-width: 0; background: var(--cream); border: 1px solid var(--border);
  scroll-snap-align: start; display: flex; flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.recomendado-card:hover {
  transform: translateY(-3px); border-color: var(--gold-light);
  box-shadow: 0 10px 28px rgba(15,28,48,0.1);
}
.recomendado-media {
  min-height: 152px; display: flex; align-items: center; justify-content: center;
  color: var(--gold-light); background: var(--navy); position: relative; overflow: hidden;
}
.recomendado-media::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(212,170,85,0.2), transparent 45%);
}
.recomendado-media svg { width: 58px; height: 58px; position: relative; z-index: 1; }
.recomendado-sello {
  position: absolute; z-index: 2; top: 12px; left: 12px;
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--gold); color: var(--navy-dark); padding: 6px 9px;
  font-size: 0.61rem; font-weight: 700; letter-spacing: 0.3px;
}
.recomendado-sello svg { width: 11px; height: 11px; }
.recomendado-body { padding: 20px; display: flex; flex: 1; flex-direction: column; }
.recomendado-rubro {
  color: var(--gold); font-size: 0.67rem; font-weight: 700;
  letter-spacing: 1.1px; text-transform: uppercase; margin-bottom: 6px;
}
.recomendado-nombre {
  color: var(--navy); font-family: 'Libre Baskerville', serif;
  font-size: 1.08rem; line-height: 1.25; margin-bottom: 9px;
}
.recomendado-localidad {
  display: flex; align-items: center; gap: 6px;
  color: var(--muted); font-size: 0.79rem; margin-bottom: 18px;
}
.recomendado-localidad svg { width: 13px; height: 13px; }
.recomendado-btn {
  margin-top: auto; align-self: flex-start; background: transparent;
  border: 1px solid var(--navy); color: var(--navy); padding: 9px 17px;
  font-family: 'Inter', sans-serif; font-size: 0.77rem; font-weight: 700;
  cursor: pointer; transition: all 0.18s;
}
.recomendado-btn:hover { background: var(--navy); color: white; }

/* ── BUSCADOR EN RESULTADOS ── */
.results-search-bar {
  background: var(--navy-dark); border-top: 1px solid rgba(255,255,255,.06);
  padding: 18px 24px;
}
.results-search-inner { max-width: 760px; margin: 0 auto; }
.results-search-box {
  min-height: 48px; display: flex; align-items: stretch;
  background: white; border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 7px 22px rgba(0,0,0,.16); position: relative;
}
.results-search-suggestions { top: calc(100% + 7px); z-index: 120; }
.results-search-icon {
  width: 48px; flex: 0 0 48px; display: flex; align-items: center;
  justify-content: center; color: var(--muted);
}
.results-search-icon svg { width: 18px; height: 18px; }
.results-search-box input {
  flex: 1; min-width: 0; border: 0; outline: 0; padding: 13px 8px;
  background: transparent; color: var(--text); font: .88rem 'Inter', sans-serif;
}
.results-search-box button {
  border: 0; padding: 0 24px; background: var(--gold); color: var(--navy-dark);
  cursor: pointer; font: 700 .79rem 'Inter', sans-serif;
}
.results-search-box button:hover { background: var(--gold-light); }

/* ── MAIN LAYOUT ── */
.main {
  max-width: 1280px; margin: 0 auto; padding: 32px 24px;
  display: grid; grid-template-columns: 260px 1fr; gap: 28px;
}

/* ── SIDEBAR ── */
.sidebar { display: flex; flex-direction: column; gap: 20px; }

.filter-box {
  background: white; border: 1px solid var(--border); padding: 20px;
}
.filter-title {
  font-family: 'Libre Baskerville', serif;
  font-size: 0.85rem; font-weight: 700; color: var(--navy);
  letter-spacing: 0.5px; margin-bottom: 14px;
  padding-bottom: 10px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.filter-clear {
  font-family: 'Inter', sans-serif; font-size: 0.7rem;
  font-weight: 400; color: var(--gold); cursor: pointer;
  text-decoration: underline;
}

.filter-group { margin-bottom: 16px; }
.filter-group-label {
  font-size: 0.68rem; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--muted); font-weight: 600; margin-bottom: 8px;
}
.filter-options { display: flex; flex-direction: column; gap: 6px; }
.filter-categories-group { margin-bottom: 18px; }
.filter-categories-list {
  padding: 0; border: 0; background: transparent; box-shadow: none;
}
.filter-categories-list > .filter-opt {
  margin-bottom: 5px; padding: 5px 0; background: transparent;
}
.filter-accordion {
  margin-bottom: 16px; border: 1px solid var(--border); background: white;
  box-shadow: 0 3px 12px rgba(15,28,48,.035);
}
.filter-accordion > summary {
  min-height: 44px; padding: 11px 13px; display: flex; align-items: center;
  justify-content: space-between; gap: 10px; cursor: pointer; list-style: none;
  color: var(--navy); font-size: .74rem; font-weight: 700;
  letter-spacing: 1.1px; text-transform: uppercase;
}
.filter-accordion > summary::-webkit-details-marker,
.filter-category > summary::-webkit-details-marker { display: none; }
.filter-accordion > summary::after,
.filter-category > summary::after {
  content: ''; width: 7px; height: 7px; flex: 0 0 auto;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg); transition: transform .18s ease;
}
.filter-accordion[open] > summary::after,
.filter-category[open] > summary::after { transform: rotate(225deg); }
.filter-summary-hint {
  margin-left: auto; color: var(--muted); font-size: .58rem;
  font-weight: 500; letter-spacing: .3px; text-transform: none;
}
.filter-accordion-content {
  max-height: 430px; overflow-y: auto; padding: 8px;
  border-top: 1px solid var(--border); scrollbar-width: thin;
}
.filter-accordion-content > .filter-opt { margin-bottom: 7px; padding: 8px; background: var(--cream); }
.filter-category { border: 0; background: transparent; }
.filter-category > summary {
  min-height: 34px; padding: 5px 0; display: flex; align-items: center;
  gap: 8px; cursor: pointer; list-style: none; color: var(--muted);
  font-size: .85rem; font-weight: 400;
}
.filter-category > summary:hover .opt-label { color: var(--navy); }
.filter-category > summary::after { margin-left: 2px; color: var(--gold); }
.filter-category-options {
  display: flex; flex-direction: column; gap: 3px; padding: 2px 7px 9px 14px;
  border: 0;
}
.filter-rubro-opt { padding: 6px 4px; }
.filter-rubro-opt .opt-label { font-size: .79rem; }
.filter-view-all {
  width: 100%; margin-top: 2px; padding: 9px 14px; border: 1px solid var(--navy);
  background: transparent; color: var(--navy); cursor: pointer;
  font: 700 .75rem 'Inter', sans-serif; transition: all .16s ease;
}
.filter-view-all:hover { background: var(--navy); color: white; }
.filter-opt {
  display: flex; align-items: center; gap: 8px;
  cursor: pointer; padding: 5px 0; transition: color 0.15s;
}
.filter-opt:hover .opt-label { color: var(--navy); }
.opt-check {
  width: 16px; height: 16px; border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: all 0.15s; background: white;
}
.filter-opt.active .opt-check {
  background: var(--navy); border-color: var(--navy);
  position: relative;
}
.filter-opt.active .opt-check::after {
  content: ''; position: absolute; left: 3px; top: 4px;
  width: 8px; height: 5px;
  border-left: 2px solid white; border-bottom: 2px solid white;
  transform: rotate(-45deg);
}
.opt-label { font-size: 0.85rem; color: var(--muted); }

/* GEO button */
.geo-btn {
  width: 100%; background: var(--navy); color: white; border: none;
  padding: 11px; font-family: 'Inter', sans-serif; font-size: 0.82rem;
  font-weight: 500; cursor: pointer; display: flex; align-items: center;
  justify-content: center; gap: 8px; transition: background 0.15s;
}
.geo-btn:hover { background: var(--navy-light); }
.geo-active { background: var(--green) !important; }

/* ── CONTENT AREA ── */
.content { min-width: 0; }

.content-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px; flex-wrap: wrap; gap: 12px;
}
.content-title {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.1rem; font-weight: 700; color: var(--navy);
}
.content-meta { font-size: 0.8rem; color: var(--muted); }

.sort-sel {
  border: 1px solid var(--border); background: white;
  padding: 7px 12px; font-family: 'Inter', sans-serif;
  font-size: 0.8rem; color: var(--text); cursor: pointer; outline: none;
}
.mobile-results-controls { display: flex; align-items: stretch; gap: 8px; }
.mobile-category-sel { display: none; }

/* ── TABS ── */
.tabs { display: flex; gap: 0; margin-bottom: 20px; border-bottom: 2px solid var(--border); }
.tab {
  padding: 10px 20px; background: none; border: none;
  font-family: 'Inter', sans-serif; font-size: 0.85rem; font-weight: 500;
  color: var(--muted); cursor: pointer; position: relative; transition: color 0.15s;
  border-bottom: 2px solid transparent; margin-bottom: -2px;
}
.tab:hover { color: var(--navy); }
.tab.active { color: var(--navy); border-bottom-color: var(--gold); font-weight: 600; }

/* ── CARDS GRID ── */
.cards-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px;
}

/* Identificación discreta de una coincidencia obtenida por También ofrece. */
.card-secondary-match {
  display: inline-flex;
  width: fit-content;
  margin-top: 7px;
  padding: 3px 7px;
  border-radius: 999px;
  background: #f3f5f7;
  color: var(--muted);
  font-size: .64rem;
  font-weight: 600;
  line-height: 1.25;
}

/* ── CARD ── */
.card {
  background: white; border: 1px solid var(--border);
  transition: box-shadow 0.2s, transform 0.2s;
  cursor: pointer; position: relative; display: flex; flex-direction: column;
  animation: cardIn 0.35s ease both;
}
@keyframes cardIn { from { opacity:0; transform: translateY(10px); } to { opacity:1; transform: translateY(0); } }
.card:hover { box-shadow: 0 8px 32px rgba(26,43,74,0.1); transform: translateY(-3px); }

.card-plan-stripe {
  height: 3px; width: 100%;
}
.stripe-basico { background: var(--border); }
.stripe-destacado { background: var(--navy); }
.stripe-ultimate { background: var(--gold); }

.card-header {
  min-height: 37px; padding: 6px 9px; display: flex; align-items: center;
  background: white;
}
.card-header .card-badges {
  width: 100%; margin: 0; justify-content: space-between; align-items: center;
  flex-wrap: nowrap; gap: 5px;
}
.card-header .badge-estado { margin-left: auto; }
.card-header .badge-estado:only-child { margin: 0 auto; }

.card-visual {
  width: calc(100% - 28px); aspect-ratio: 4 / 3;
  margin: 0 14px; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, var(--gold-pale), var(--cream));
  color: var(--navy); border: 1px solid var(--border); border-radius: 10px;
}
.card-visual img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 2;
}
.negocio-visual-fallback {
  display: flex; align-items: center; justify-content: center;
  width: 72px; height: 72px;
}
.negocio-visual-fallback svg { width: 100%; height: 100%; }
.visual-foto { background: var(--cream); }
.visual-icono .negocio-visual-fallback { display: flex; }

.card-top { padding: 16px 16px 0; display: flex; gap: 12px; align-items: flex-start; }

.card-logo {
  width: 52px; height: 52px; flex-shrink: 0;
  border: 1px solid var(--border); display: flex;
  align-items: center; justify-content: center;
  font-size: 1.6rem; background: var(--cream); overflow: hidden;
}
.card-logo img { width: 100%; height: 100%; object-fit: contain; }

.card-info { flex: 1; min-width: 0; }
.card-badges { display: flex; gap: 6px; margin-bottom: 4px; flex-wrap: wrap; }
.badge {
  min-height: 21px; display: inline-flex; align-items: center; gap: 4px;
  min-width: 0; white-space: nowrap;
  font-size: 0.52rem; font-weight: 700; letter-spacing: .3px;
  text-transform: uppercase; padding: 3px 6px; border-radius: 999px;
}
.badge svg { width: 9px; height: 9px; flex: 0 0 auto; }
.badge-destacado { background: #eef0f2; color: #59616b; border: 1px solid #cdd2d8; }
.badge-ultimate { background: #b8892f; color: white; border: 1px solid #b8892f; }
.badge-nuevo { background: #e8f5e8; color: var(--green); border: 1px solid var(--green); }
.badge-verificado { background: #e8eef5; color: var(--navy); border: 1px solid var(--navy); }

.card-name {
  font-family: 'Libre Baskerville', serif;
  font-size: 1rem; font-weight: 700; color: var(--navy);
  line-height: 1.2; margin-bottom: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.card-rubro { font-size: 0.72rem; color: var(--muted); }
.card-tipo { font-size: 0.68rem; color: var(--gold); font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; }

.card-body { padding: 10px 16px 16px; flex: 1; }
.card-desc {
  font-size: 0.82rem; color: var(--muted); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: 10px;
}
.card-meta-row {
  display: flex; flex-direction: column; gap: 7px;
  font-size: 0.76rem; color: var(--muted);
}
.card-location, .card-service-hours { display: flex; align-items: flex-start; gap: 6px; line-height: 1.4; }
.card-meta-row .ico { flex-shrink: 0; margin-top: 1px; }
.card-meta-row .ico svg { width: 14px; height: 14px; }
.card-meta-row b { color: var(--text); font-weight: 600; }

.card-footer {
  padding: 12px 16px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px;
}
.btn-wa {
  flex: 1; background: #25D366; color: white; border: none;
  padding: 9px 8px; font-family: 'Inter', sans-serif; font-size: 0.78rem;
  font-weight: 600; cursor: pointer; display: flex; align-items: center;
  justify-content: center; gap: 5px; transition: background 0.15s;
}
.btn-wa:hover { background: #1da854; }
.btn-call, .btn-maps {
  flex: 1; border: none; padding: 9px 8px;
  font-family: 'Inter', sans-serif; font-size: 0.78rem;
  font-weight: 600; cursor: pointer; transition: background 0.15s;
  display: flex; align-items: center; justify-content: center; gap: 5px;
}
.btn-call svg, .btn-maps svg { width: 14px; height: 14px; }
.btn-call { background: var(--navy); color: white; }
.btn-call:hover { background: var(--navy-light); }
.btn-maps { background: #e7edf3; color: var(--navy); border: 1px solid #cbd6e0; }
.btn-maps:hover { background: #d7e1ea; }
.btn-detail {
  min-width: 0; padding: 9px 7px; border: 1px solid var(--border); background: white;
  color: var(--navy); font-family: 'Inter', sans-serif; font-size: 0.78rem;
  font-weight: 500; cursor: pointer; transition: all 0.15s;
}
.btn-detail:hover { background: var(--navy); color: white; border-color: var(--navy); }

@media (max-width: 390px) {
  .card-footer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-footer .btn-detail { grid-column: 1 / -1; }
}

/* ── EMPTY ── */
.empty-state {
  grid-column: 1/-1; text-align: center; padding: 64px 24px; color: var(--muted);
}
.empty-state h3 {
  font-family: 'Libre Baskerville', serif; font-size: 1.2rem;
  color: var(--navy); margin-bottom: 8px;
}
.empty-state p { margin-bottom: 18px; }
.empty-state-actions { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.empty-state-btn {
  border: 1px solid var(--navy); background: var(--navy); color: white;
  padding: 10px 16px; font-family: 'Inter', sans-serif;
  font-size: 0.78rem; font-weight: 600; cursor: pointer;
  transition: all 0.15s;
}
.empty-state-btn.secondary { background: white; color: var(--navy); }
.empty-state-btn:hover { background: var(--navy-light); color: white; }

/* ── MODAL ── */
.overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(10,18,30,0.7); z-index: 500;
  align-items: flex-start; justify-content: center;
  padding: 40px 16px; overflow-y: auto;
}
.overlay.open { display: flex; }

.modal {
  background: white; width: 100%; max-width: 600px;
  animation: modalIn 0.25s ease;
  position: relative;
}
.modal [hidden] { display: none !important; }
@keyframes modalIn { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }

.modal-header { background: var(--navy); padding: 24px 24px 20px; }
.modal-header-top {
  display: flex; align-items: flex-start; gap: 16px; margin-bottom: 12px;
}
.modal-logo {
  width: 64px; height: 64px; flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; background: rgba(255,255,255,0.05); overflow: hidden;
}
.modal-logo img { width: 100%; height: 100%; object-fit: contain; }
.modal-title-area { flex: 1; }
.modal-badges { display: flex; gap: 4px; margin-bottom: 6px; flex-wrap: wrap; }
.modal-badges:empty { display: none; }
.modal-name {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.5rem; font-weight: 700; color: white; line-height: 1.1;
}
.modal-rubro { color: var(--gold-light); font-size: 0.8rem; margin-top: 4px; }
.modal-tipo { font-size: 0.68rem; color: rgba(255,255,255,0.4); letter-spacing: 1px; text-transform: uppercase; }
.modal-close {
  position: absolute; top: 14px; right: 14px;
  background: rgba(255,255,255,0.1); border: none; color: white;
  width: 28px; height: 28px; cursor: pointer; font-size: 1rem;
  display: flex; align-items: center; justify-content: center; transition: background 0.15s;
}
.modal-close:hover { background: rgba(255,255,255,0.2); }

.modal-gold-bar { height: 2px; background: var(--gold); }

.modal-body { padding: 24px; }

.modal-photos {
  display: block; position: relative; margin-bottom: 20px;
}
.modal-photos[hidden] { display: none; }
.modal-photo {
  width: 100%; aspect-ratio: 16/9; background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; border: 1px solid var(--border); overflow: hidden;
}
.modal-photo img { width: 100%; height: 100%; object-fit: cover; }
.modal-photo.visual-foto { position: relative; }
.modal-photo.visual-foto .negocio-visual-fallback {
  width: 44px; height: 44px; color: var(--navy);
}
.modal-photo.visual-foto img { position: absolute; inset: 0; z-index: 2; }
.carousel-arrow {
  position: absolute; z-index: 4; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.4);
  border-radius: 50%; background: rgba(15,28,48,.78); color: white;
  display: flex; align-items: center; justify-content: center;
  font: 400 1.7rem/1 'Inter', sans-serif; cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.carousel-arrow:hover { background: var(--navy); transform: translateY(-50%) scale(1.04); }
.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }
.carousel-indicators {
  position: absolute; z-index: 4; left: 50%; bottom: 12px; transform: translateX(-50%);
  display: flex; gap: 6px; padding: 6px 8px; border-radius: 999px;
  background: rgba(15,28,48,.65);
}
.carousel-dot {
  width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.45); cursor: pointer;
}
.carousel-dot.active { background: white; }

.modal-desc { font-size: 0.9rem; color: var(--muted); line-height: 1.6; margin-bottom: 20px; }

.modal-section-title {
  font-size: 0.68rem; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 10px;
  display: flex; align-items: center; gap: 8px;
}
.modal-section-title::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}

.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; }
.info-cell { background: var(--cream); padding: 12px; }
.info-cell-label { font-size: 0.65rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.info-cell-value { font-size: 0.85rem; font-weight: 500; color: var(--text); }
.info-cell-value a { color: var(--navy); }
.info-cell-value.open { color: var(--green); }
.info-cell-value.closed { color: var(--red); }
.estado-texto-abierto { color: var(--green); font-weight: 600; }
.estado-texto-porcerrar { color: #b3781a; font-weight: 600; }
.estado-texto-cerrado { color: var(--red); font-weight: 600; }
.estado-texto-desconocido { color: var(--muted); font-weight: 600; }

.mini-map {
  grid-column: 1 / -1; width: 100%; min-height: 92px; border: 1px solid #cbd6e0;
  background-color: #e9eef2;
  background-image:
    linear-gradient(32deg, transparent 46%, rgba(255,255,255,.9) 47%, rgba(255,255,255,.9) 53%, transparent 54%),
    linear-gradient(145deg, transparent 43%, rgba(190,205,214,.75) 44%, rgba(190,205,214,.75) 48%, transparent 49%);
  color: var(--navy); display: flex; align-items: center; justify-content: center;
  gap: 12px; text-align: left; cursor: pointer; font-family: 'Inter', sans-serif;
}
.mini-map:hover { border-color: var(--navy); }
.mini-map-pin {
  width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: white;
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
}
.mini-map-pin svg { width: 18px; height: 18px; }
.mini-map strong { display: block; font-size: .86rem; }
.mini-map small { display: block; margin-top: 3px; color: var(--muted); font-size: .7rem; }

.tag-list { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.tag {
  background: var(--cream); border: 1px solid var(--border);
  padding: 5px 12px; font-size: 0.78rem; color: var(--text);
}

.modal-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.modal-btn {
  flex: 1; min-width: 140px; padding: 13px;
  border: none; font-family: 'Inter', sans-serif; font-size: 0.85rem;
  font-weight: 600; cursor: pointer; display: flex; align-items: center;
  justify-content: center; gap: 8px; transition: all 0.15s;
}
.modal-btn-wa { background: #25D366; color: white; }
.modal-btn-wa:hover { background: #1da854; }
.modal-btn-call { background: var(--navy); color: white; }
.modal-btn-call:hover { background: var(--navy-light); }
.modal-btn-maps { background: var(--navy); color: white; }
.modal-btn-maps:hover { background: var(--navy-light); }
.modal-btn-web { background: var(--cream); color: var(--navy); border: 1px solid var(--border); }
.modal-btn-web:hover { background: var(--gold-pale); }

/* ── CTA: SUMAR COMERCIO ── */
.cta-comercio {
  background: var(--cream); padding: 48px 24px; text-align: center;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.cta-comercio-inner { max-width: 560px; margin: 0 auto; }
.cta-comercio-title {
  font-family: 'Libre Baskerville', serif; font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  color: var(--navy); margin-bottom: 20px;
}
.cta-comercio-btn {
  background: var(--navy); color: white; border: none;
  padding: 15px 40px; font-family: 'Inter', sans-serif;
  font-size: 0.9rem; font-weight: 700; cursor: pointer; letter-spacing: 0.5px;
  transition: all 0.2s;
}
.cta-comercio-btn:hover { background: var(--navy-light); transform: translateY(-2px); }

/* ── PLAN BANNER ── */
.plan-banner {
  background: var(--navy-dark); padding: 64px 24px; text-align: center;
  margin-top: 48px; position: relative; overflow: hidden;
}
.plan-banner::before {
  content: ''; position: absolute; top: -60px; left: 50%; transform: translateX(-50%);
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(184,144,58,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.plan-banner-rule { width: 40px; height: 2px; background: var(--gold); margin: 0 auto 16px; }
.plan-banner h2 {
  font-family: 'Libre Baskerville', serif; font-size: clamp(1.4rem, 3vw, 2rem);
  color: white; margin-bottom: 8px;
}
.plan-banner p { color: rgba(255,255,255,0.5); font-size: 0.9rem; margin-bottom: 40px; }

.plans { display: flex; gap: 16px; justify-content: center; align-items: stretch; flex-wrap: wrap; max-width: 860px; margin: 0 auto 36px; }
.plan {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
  padding: 28px 24px; min-width: 200px; flex: 1; max-width: 260px; text-align: left;
  display: flex; flex-direction: column;
  transition: all 0.2s; position: relative;
}
.plan:hover { background: rgba(255,255,255,0.07); transform: translateY(-4px); }
.plan.featured { border-color: var(--gold); background: rgba(184,144,58,0.08); }
.plan-popular {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--navy-dark); font-size: 0.65rem;
  font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  padding: 3px 12px; white-space: nowrap;
}
.plan-tier { font-size: 0.65rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 8px; }
.plan-price { font-family: 'Libre Baskerville', serif; font-size: 1.9rem; font-weight: 700; color: white; margin-bottom: 4px; }
.plan-price span { font-size: 0.8rem; font-weight: 300; color: rgba(255,255,255,0.4); }
.plan-desc { font-size: 0.75rem; color: rgba(255,255,255,0.4); min-height: 34px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.plan-features li { font-size: 0.78rem; color: rgba(255,255,255,0.6); display: flex; align-items: flex-start; gap: 7px; }
.plan-features li::before { content: '—'; color: var(--gold); flex-shrink: 0; }

.btn-inscribirse {
  background: var(--gold); color: var(--navy-dark); border: none;
  padding: 15px 40px; font-family: 'Inter', sans-serif;
  font-size: 0.9rem; font-weight: 700; cursor: pointer; letter-spacing: 0.5px;
  transition: all 0.2s;
}
.btn-inscribirse:hover { background: var(--gold-light); transform: translateY(-2px); }

/* ── FOOTER ── */
footer {
  background: #0a1220; padding: 24px;
  text-align: center; color: rgba(255,255,255,0.3); font-size: 0.78rem;
}
footer strong { color: rgba(255,255,255,0.6); }

/* ── LOCALIDAD TAG ── */
.localidad-nav {
  background: white; border-bottom: 1px solid var(--border);
  overflow-x: auto;
}
.localidad-nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  display: flex; gap: 0;
}
.loc-tab {
  padding: 12px 18px; background: none; border: none;
  font-family: 'Inter', sans-serif; font-size: 0.82rem; font-weight: 500;
  color: var(--muted); cursor: pointer; white-space: nowrap;
  border-bottom: 2px solid transparent; transition: all 0.15s;
}
.loc-tab:hover { color: var(--navy); }
.loc-tab.active { color: var(--navy); border-bottom-color: var(--gold); font-weight: 600; }

/* ── PÁGINA DE PLANES ── */
.plans-page { background: #f7f4ed; }
.plans-page-header { position: relative; }
.plans-page .brand { text-decoration: none; }
.plans-home-link { display: inline-flex; align-items: center; text-decoration: none; }
.plans-hero {
  padding: 72px 24px 64px; text-align: center; color: white;
  background: radial-gradient(circle at 50% 0, rgba(184,144,58,.18), transparent 46%), var(--navy-dark);
}
.plans-eyebrow {
  display: block; margin-bottom: 14px; color: var(--gold-light);
  font-size: .68rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
}
.plans-hero h1 {
  max-width: 760px; margin: 0 auto 15px; color: white;
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.12;
}
.plans-hero p {
  max-width: 650px; margin: 0 auto; color: rgba(255,255,255,.62);
  font-size: .95rem; line-height: 1.65;
}
.comparison-section { max-width: 1180px; margin: 0 auto; padding: 64px 24px 80px; }
.comparison-heading { max-width: 650px; margin: 0 auto 30px; text-align: center; }
.comparison-heading h2 {
  margin-bottom: 9px; color: var(--navy); font-family: 'Libre Baskerville', serif;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}
.comparison-heading p { color: var(--muted); font-size: .88rem; line-height: 1.55; }
.comparison-table-wrap {
  overflow: visible; background: transparent; border: 0;
  box-shadow: none; scrollbar-width: thin;
}
.comparison-table {
  width: 82%; min-width: 700px; margin: 0 auto;
  border-collapse: collapse; table-layout: fixed; font-size: .82rem;
  transform: translateX(-8.5%);
}
.comparison-table th, .comparison-table td {
  padding: 14px 16px; border-right: 1px solid #ece9e1;
  border-bottom: 1px solid #ece9e1; text-align: center;
}
.comparison-table tr > *:last-child { border-right: 0; }
.comparison-table thead th {
  height: 122px; background: var(--navy); color: white; vertical-align: middle;
}
.comparison-table thead th:first-child {
  width: 17%;
}
.comparison-table .comparison-spacer {
  height: auto; padding: 0; background: transparent; border: 0;
}
.comparison-table thead .ultimate-column { position: relative; background: var(--gold); color: var(--navy-dark); }
.comparison-plan-name {
  display: block; font-family: 'Libre Baskerville', serif;
  font-size: 1.12rem; font-weight: 700;
}
.comparison-price { display: block; margin-top: 8px; font-size: 1rem; font-weight: 700; }
.comparison-price small { font-size: .68rem; font-weight: 400; opacity: .65; }
.comparison-recommended {
  display: inline-block; margin-bottom: 7px; padding: 4px 7px;
  background: var(--navy-dark); color: var(--gold-light);
  font-size: .52rem; font-weight: 700; letter-spacing: .7px; text-transform: uppercase;
}
.comparison-table tbody th {
  padding: 10px 14px 10px 0; background: transparent; border: 0;
  color: var(--navy); text-align: left; font-size: .74rem; font-weight: 700;
  line-height: 1.25;
}
.comparison-table tbody tr:nth-child(even) td { background: #fdfcf9; }
.comparison-table tbody td { background: white; }
.comparison-table td { color: var(--text); line-height: 1.35; vertical-align: middle; }
.comparison-table td.yes,
.comparison-table td.no { position: relative; font-size: 0; }
.comparison-table td.yes::after,
.comparison-table .yes-detail-check {
  content: ''; display: inline-block; width: 12px; height: 7px;
  border-left: 2.5px solid #26915a; border-bottom: 2.5px solid #26915a;
  transform: rotate(-45deg) translateY(-2px);
}
.comparison-table .yes-detail-check { margin: 0 8px 3px 0; }
.comparison-table td.no::before,
.comparison-table td.no::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  width: 15px; height: 2.5px; border-radius: 2px; background: #cf4a43;
}
.comparison-table td.no::before { transform: translate(-50%,-50%) rotate(45deg); }
.comparison-table td.no::after { transform: translate(-50%,-50%) rotate(-45deg); }
.comparison-table tfoot th, .comparison-table tfoot td {
  padding: 18px 14px; background: #fbfaf7; border-bottom: 0;
}
.comparison-table tfoot th { color: var(--navy); text-align: left; }
.offer-btn {
  width: 100%; min-height: 40px; padding: 9px 10px; border: 1px solid var(--navy);
  background: white; color: var(--navy); cursor: pointer;
  font: 700 .74rem 'Inter', sans-serif; transition: all .16s ease;
}
.offer-btn:hover { transform: translateY(-1px); }
.offer-btn-free:hover { background: var(--cream); }
.offer-btn-featured { background: var(--navy); color: white; }
.offer-btn-featured:hover { background: var(--navy-light); }
.offer-btn-ultimate { background: var(--gold); border-color: var(--gold); color: var(--navy-dark); }
.offer-btn-ultimate:hover { background: var(--gold-light); }
.comparison-note { margin-top: 14px; color: var(--muted); text-align: center; font-size: .72rem; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .search-wrap { max-width: 680px; }
  .search-main-row { flex-direction: column; }
  .home-location-box { width: 100%; flex-basis: 55px; min-height: 55px; }
  .main { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .content-header > div:first-child { width: 100%; }
  .mobile-results-controls { width: 100%; }
  .mobile-results-controls .sort-sel { flex: 1; min-width: 0; height: 38px; }
  .mobile-category-sel { display: block; }
  .cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .sidebar.open { display: flex; }
  .header-nav { display: none; }
  .header-inner { position: relative; min-height: 58px; justify-content: center; }
  .brand { margin: 0 auto; }
  .mobile-menu-toggle {
    display: flex; position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
    width: 38px; height: 38px; padding: 9px; flex-direction: column;
    justify-content: center; gap: 4px; border: 0;
    background: transparent; cursor: pointer;
  }
  .mobile-menu-toggle span { width: 100%; height: 1.5px; background: var(--gold-light); }
  .mobile-menu {
    position: absolute; z-index: 230; top: calc(100% + 2px); left: 0;
    width: min(230px, calc(100vw - 14px)); padding: 8px;
    background: var(--navy-dark); border: 1px solid rgba(212,170,85,.38);
    box-shadow: 0 14px 30px rgba(0,0,0,.28);
  }
  .mobile-menu.open { display: grid; gap: 5px; }
  .mobile-menu button {
    width: 100%; padding: 11px 13px; border: 1px solid rgba(255,255,255,.12);
    background: transparent; color: rgba(255,255,255,.82); text-align: left;
    cursor: pointer; font: 500 .78rem 'Inter', sans-serif;
  }
  .mobile-menu button.primary { background: var(--gold); border-color: var(--gold); color: var(--navy-dark); font-weight: 700; }
  .info-grid { grid-template-columns: 1fr; }
  .recomendados-section { padding: 42px 20px 46px; }
  .recomendados-header { align-items: center; }
  .recomendados-track { grid-auto-columns: calc((100% - 14px) / 2); gap: 14px; }
  .cat-section { padding: 36px 18px 40px; }
  .cat-groups { columns: 1; }
  .cat-group,
  .cat-group:last-child:nth-child(odd) {
    width: 100%; padding: 20px 15px 18px; margin: 0 0 14px;
  }
  .plans-hero { padding: 54px 20px 50px; }
  .comparison-section { padding: 46px 16px 60px; }
  .comparison-table-wrap { overflow-x: auto; box-shadow: none; }
  .comparison-table { width: 100%; min-width: 760px; margin: 0; transform: none; }
  .comparison-table thead th:first-child { width: 17%; }
  .comparison-table tbody th { padding: 10px 11px; font-weight: 700; }
  .comparison-table th, .comparison-table td { padding: 12px 11px; }
}

@media (max-width: 520px) {
  .header-inner { padding: 8px 14px; gap: 10px; }
  .brand { gap: 9px; min-width: 0; }
  .brand-badge {
    width: 38px; height: 38px;
    box-shadow: 0 0 0 2px var(--navy-light), 0 0 0 4px var(--gold-light), 0 2px 7px rgba(0,0,0,.28);
  }
  .brand-name { font-size: .92rem; }
  .hero { padding-left: 16px; padding-right: 16px; }
  .search-icon { padding: 0 10px; }
  .search-submit { padding: 0 12px; font-size: .72rem; }
  .search-box input { padding-left: 2px; padding-right: 2px; font-size: .84rem; }
  .main { padding: 24px 12px; }
  .tabs { overflow-x: auto; }
  .tab { padding-left: 12px; padding-right: 12px; }
  .card-header { min-height: 32px; height: auto; padding: 5px; }
  .card-header .card-badges { gap: 3px; flex-wrap: wrap; }
  .badge { min-height: 18px; max-width: 100%; padding: 2px 4px; font-size: .42rem; }
  .card-header .badge-ultimate {
    width: 100%; justify-content: center; white-space: normal; text-align: center;
    font-size: .39rem; line-height: 1.12; padding: 3px 4px;
  }
  .card-header .badge-ultimate + .badge-estado { width: 100%; margin: 0; justify-content: center; }
  .badge svg { width: 7px; height: 7px; }
  .card-visual { width: calc(100% - 16px); margin: 0 8px; aspect-ratio: 1 / 1; border-radius: 8px; }
  .negocio-visual-fallback { width: 48px; height: 48px; }
  .card-top { padding: 10px 9px 0; }
  .card-name { font-size: .78rem; }
  .card-rubro { font-size: .61rem; }
  .card-secondary-match { max-width: 100%; padding: 3px 5px; font-size: .5rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .card-body { padding: 7px 9px 9px; }
  .card-meta-row { gap: 5px; font-size: .58rem; }
  .card-meta-row .ico svg { width: 11px; height: 11px; }
  .card-footer { padding: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }
  .card-footer .btn-detail { grid-column: 1 / -1; }
  .btn-wa, .btn-call, .btn-maps, .btn-detail { min-width: 0; padding: 7px 3px; font-size: .57rem; gap: 3px; }
  .btn-wa svg, .btn-call svg, .btn-maps svg { width: 11px; height: 11px; }
  .results-search-bar { padding: 14px; }
  .results-search-icon { width: 40px; flex-basis: 40px; }
  .results-search-box button { padding: 0 15px; }
  .recomendados-header { align-items: flex-start; }
  .recomendados-header p { max-width: 230px; }
  .recomendados-controls { margin-top: 22px; }
  .recomendados-track { grid-auto-columns: 86%; }
  .recomendado-media { min-height: 138px; }
  .cat-chip-row { gap: 8px; }
  .cat-chip { min-height: 44px; padding: 9px 12px; font-size: 0.77rem; }
}

/* Comparación de planes compacta: únicamente para teléfonos. */
@media (max-width: 600px) {
  .plans-page .comparison-section { padding: 38px 6px 50px; }
  .plans-page .comparison-heading { padding: 0 12px; margin-bottom: 22px; }
  .plans-page .comparison-table-wrap { width: 100%; overflow-x: visible; }
  .plans-page .comparison-table {
    width: 100%; min-width: 0; margin: 0; transform: none;
    table-layout: fixed; font-size: .58rem;
  }
  .plans-page .comparison-table thead th:first-child { width: 28%; }
  .plans-page .comparison-table thead th:not(:first-child) { width: 24%; }
  .plans-page .comparison-table th,
  .plans-page .comparison-table td { padding: 8px 3px; }
  .plans-page .comparison-table thead th { height: 94px; }
  .plans-page .comparison-table tbody th {
    padding: 8px 5px 8px 1px; font-size: .59rem; line-height: 1.2;
    overflow-wrap: anywhere;
  }
  .plans-page .comparison-table td { font-size: .56rem; line-height: 1.22; overflow-wrap: anywhere; }
  .plans-page .comparison-table td.yes,
  .plans-page .comparison-table td.no { font-size: 0; }
  .plans-page .comparison-plan-name { font-size: .72rem; }
  .plans-page .comparison-price { margin-top: 5px; font-size: .68rem; }
  .plans-page .comparison-price small { display: block; font-size: .48rem; }
  .plans-page .comparison-recommended {
    max-width: 100%; margin-bottom: 5px; padding: 3px 2px;
    font-size: .38rem; line-height: 1.15; letter-spacing: .25px;
    white-space: normal;
  }
  .plans-page .comparison-table td.yes::after { width: 10px; height: 6px; }
  .plans-page .comparison-table .yes-detail-check { width: 9px; height: 5px; margin-right: 3px; }
  .plans-page .comparison-table td.no::before,
  .plans-page .comparison-table td.no::after { width: 12px; height: 2px; }
  .plans-page .comparison-table tfoot th,
  .plans-page .comparison-table tfoot td { padding: 10px 3px; }
  .plans-page .offer-btn {
    min-height: 34px; padding: 6px 2px; font-size: .52rem; line-height: 1.15;
    white-space: normal;
  }
}
