/* Fuentes Barlow y Barlow Condensed servidas desde el propio sitio (licencia OFL, ver assets/fonts) */
@font-face{font-family:'Barlow';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/barlow-latin-400-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Barlow';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/barlow-latin-500-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Barlow';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/barlow-latin-600-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Barlow Condensed';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/barlow-condensed-latin-500-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Barlow Condensed';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/barlow-condensed-latin-600-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Barlow Condensed';font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/barlow-condensed-latin-700-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
/* Guía Bolivia — estilos del sitio público. Los colores están en tokens.css. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Barlow, system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.5;
       color: var(--text); background: var(--bg); }
img { max-width: 100%; display: block; }
a { color: var(--accent-text); }
a:hover { color: var(--accent-strong); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: "Barlow Condensed", Barlow, sans-serif; font-weight: 700; line-height: 1.05; margin: 0; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--inverse); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { top: 12px; color: #fff; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.section { padding-top: 56px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 24px; }
.section-head h2 { font-size: clamp(30px, 4.2vw, 44px); text-transform: uppercase; }
.section-head p { color: var(--text2); font-size: 17px; margin-top: 6px; }
.more { font-weight: 600; white-space: nowrap; }
.muted { color: var(--muted); }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px;
       border-radius: 8px; font: 600 15px/1.2 Barlow, sans-serif; text-decoration: none; cursor: pointer; border: 1px solid transparent; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { color: #fff; filter: brightness(1.08); }
.btn-dark { background: var(--inverse); color: #fff; }
.btn-dark:hover { color: #fff; filter: brightness(1.15); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { color: var(--text); border-color: var(--text2); }
.icon { width: 18px; height: 18px; flex: 0 0 auto; }
.icon-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px;
            border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; }

/* ---------- Encabezado ---------- */
.site-header { background: var(--surface); border-bottom: 1px solid var(--border); position: relative; z-index: 20; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { height: 50px; width: auto; }
.logo-dark { display: none !important; }
[data-theme="dark"] .logo-light { display: none !important; }
[data-theme="dark"] .logo-dark { display: block !important; }
.main-nav { display: flex; flex-wrap: wrap; gap: 4px 22px; flex: 1 1 auto; font-weight: 500; }
.main-nav a { color: var(--text); text-decoration: none; padding: 8px 0; border-bottom: 2px solid transparent; }
.main-nav a[aria-current="page"], .main-nav a:hover { border-bottom-color: var(--accent); }
.header-tools { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.header-search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--border-strong); border-radius: 10px; padding: 0 6px 0 12px;
                 background: var(--surface2); min-width: 0; }
.header-search input { border: 0; outline: none; background: transparent; color: var(--text); font: inherit; min-height: 42px; width: 190px; min-width: 0; }
.city-pick { position: relative; }
.city-pick summary { list-style: none; cursor: pointer; }
.city-pick summary::-webkit-details-marker { display: none; }
.city-pick ul { position: absolute; right: 0; top: calc(100% + 6px); background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
                list-style: none; margin: 0; padding: 6px; min-width: 180px; box-shadow: 0 10px 30px rgba(0,0,0,.15); }
.city-pick li a { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 8px; color: var(--text); text-decoration: none; }
.city-pick li a:hover { background: var(--sunken); }
@media (max-width: 900px) {
  .header-search { order: 5; flex: 1 1 100%; }
  .header-search input { width: 100%; }
  .main-nav { order: 6; flex: 1 1 100%; overflow-x: auto; flex-wrap: nowrap; gap: 18px; }
  .main-nav a { white-space: nowrap; }
  .btn-app span { display: none; }
  .site-header .wrap { column-gap: 10px; }
  .header-tools { gap: 6px; }
  .city-pick summary { padding: 10px 12px; }
}
@media (max-width: 760px) {
  /* listado: subcategorías en una fila deslizable y resultados más arriba */
  .listing .filters { gap: 10px; }
  .filter-box { padding: 10px; }
  .filter-box .label { display: none; }
  nav.filter-box { flex-direction: row; overflow-x: auto; gap: 6px; }
  nav.filter-box a { flex: 0 0 auto; gap: 8px; border: 1px solid var(--border); white-space: nowrap; }
  .listing .filters .ad { display: none; }
  .listing .aside-map .map { height: 360px; }
}

/* ---------- Portada ---------- */
.hero { position: relative; min-height: 520px; overflow: hidden; background: #3A2E26; color: #fff; }
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(24, 20, 16, .58); }
.hero .wrap { position: relative; z-index: 1; padding-top: clamp(56px, 9vw, 96px); padding-bottom: 56px; display: flex; flex-direction: column; gap: 18px; }
.hero .kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--brand); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: 14px; }
.hero h1 { font-size: clamp(44px, 7vw, 84px); text-transform: uppercase; line-height: .95; max-width: 860px; }
.hero .lead { font-size: clamp(17px, 2vw, 20px); color: #F3ECE3; max-width: 640px; }
.big-search { display: flex; flex-wrap: wrap; gap: 8px; background: var(--surface); padding: 8px; border-radius: 12px; max-width: 760px; margin-top: 8px; }
.big-search .field { flex: 1 1 280px; display: flex; align-items: center; gap: 10px; padding: 0 12px; color: var(--muted); }
.big-search input { border: 0; outline: none; background: transparent; font: inherit; font-size: 17px; width: 100%; min-height: 48px; color: var(--text); }
.big-search .btn { min-height: 52px; padding: 0 28px; font-size: 17px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.hero .chips span { color: #F3ECE3; font-size: 15px; }
.chip-link { color: #fff; text-decoration: none; font-size: 15px; padding: 8px 14px; border: 1px solid rgba(255,255,255,.5); border-radius: 999px; }
.chip-link:hover { color: #fff; background: rgba(255,255,255,.12); }

.stats { background: var(--surface); border-bottom: 1px solid var(--border); }
.stats .wrap { display: flex; flex-wrap: wrap; gap: 14px 40px; justify-content: space-between; padding-top: 20px; padding-bottom: 20px; }
.stat { display: flex; align-items: baseline; gap: 10px; }
.stat b { font: 700 40px/1 "Barlow Condensed", sans-serif; color: var(--accent-text); }
.stat span { color: var(--text2); }

/* ---------- Grillas y tarjetas ---------- */
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid-cats { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; }
.cat-card { display: flex; flex-direction: column; gap: 12px; padding: 22px; text-decoration: none; color: var(--text); }
.cat-card:hover { border-color: var(--accent-border); color: var(--text); }
.cat-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; }
.cat-icon .icon { width: 26px; height: 26px; }
.cat-card h3 { font-size: 26px; font-weight: 600; }
.cat-card .muted { font-size: 15px; }

.place-card { display: flex; flex-direction: column; overflow: hidden; text-decoration: none; color: var(--text); height: 100%; }
.place-card:hover { border-color: var(--accent-border); color: var(--text); }
.place-card .thumb { aspect-ratio: 16 / 10; background: var(--sunken); position: relative; overflow: hidden; }
.place-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb-empty { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--muted); font-size: 13px; }
.thumb-empty b { font: 700 40px/1 "Barlow Condensed", sans-serif; color: var(--border-strong); }
.place-card .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.kicker-sm { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); }
.place-card h3 { font-size: 25px; font-weight: 600; line-height: 1.1; }
.place-card .addr { font-size: 15px; color: var(--muted); }
.place-card .summary { font-size: 15px; color: var(--text2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.open { font-size: 14px; font-weight: 600; margin-top: auto; padding-top: 4px; }
.open-open { color: var(--ok-text); }
.open-closed { color: var(--accent-strong); }
.open-unknown { color: var(--muted); font-weight: 500; }
.stars { color: var(--warn-icon); letter-spacing: 2px; font-size: 14px; }

/* tarjeta horizontal (listados) */
.list { display: flex; flex-direction: column; gap: 14px; }
.row-card { display: flex; flex-wrap: wrap; overflow: hidden; text-decoration: none; color: var(--text); }
.row-card:hover { border-color: var(--accent-border); color: var(--text); }
.row-card .thumb { flex: 1 1 210px; max-width: 100%; min-height: 160px; background: var(--sunken); }
.row-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.row-card .body { flex: 999 1 280px; padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.row-card h3 { font-size: 26px; font-weight: 600; }
.row-card .top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.num { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 999px; background: var(--inverse); color: #fff; display: flex; align-items: center; justify-content: center;
       font: 700 17px/1 "Barlow Condensed", sans-serif; }

/* ---------- Publicidad ---------- */
.ad { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.ad-label { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ad-box { min-height: 90px; background: var(--sunken); border: 1px dashed var(--border-strong); border-radius: 10px; display: flex; flex-direction: column;
          align-items: center; justify-content: center; gap: 4px; color: var(--muted); text-align: center; padding: 12px; }
.ad-box strong { font-size: 15px; }
.ad-box span { font-size: 13px; }
.ad-leader { max-width: 970px; margin: 0 auto; }
.ad-home_billboard .ad-box { min-height: 250px; }
.ad-home_side .ad-box, .ad-list_side .ad-box, .ad-place_side .ad-box { min-height: 250px; }
.ad-list_map .ad-box { min-height: 600px; }
@media (max-width: 760px) { .ad-home_billboard .ad-box, .ad-list_map .ad-box { min-height: 250px; } }
.ad-infeed { border: 1px dashed var(--border-strong); border-radius: 14px; background: var(--tint2); padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.ad-infeed .tag { align-self: flex-start; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text2);
                  border: 1px solid var(--border-strong); border-radius: 4px; padding: 2px 6px; }

/* ---------- Agenda ---------- */
.event-card { display: flex; flex-wrap: wrap; overflow: hidden; }
.event-card .poster { flex: 1 1 260px; min-height: 260px; background: var(--sunken); }
.event-card .poster img { width: 100%; height: 100%; object-fit: cover; }
.event-card .body { flex: 1 1 320px; padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.date-badge { display: inline-flex; flex-direction: column; align-items: center; background: var(--accent); color: #fff; border-radius: 10px; padding: 8px 14px;
              font-family: "Barlow Condensed", sans-serif; line-height: 1; }
.date-badge b { font-size: 32px; }
.date-badge span { font-size: 15px; font-weight: 600; letter-spacing: .08em; }
.past .date-badge { background: var(--off-bg); color: var(--off-text); }
.cta-dark { background: var(--inverse); color: #fff; border-radius: 14px; padding: 30px; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.cta-dark p { color: #E3DBD0; }
.cta-dark .btn-ghost { align-self: flex-start; }
.empty { border: 1px dashed var(--border-strong); border-radius: 14px; padding: 30px; text-align: center; color: var(--text2); display: flex; flex-direction: column; gap: 10px; align-items: center; }

/* ---------- Mapas ---------- */
.map { height: 440px; border-radius: 14px; overflow: hidden; background: var(--sunken); border: 1px solid var(--border); z-index: 0; }
.map-split { display: flex; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.map-split .side { flex: 1 1 320px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.map-split .map { flex: 2 1 520px; border: 0; border-radius: 0; min-height: 440px; }
[data-theme="dark"] .leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) brightness(.92) contrast(.9) saturate(.6); }
.leaflet-container { font-family: Barlow, sans-serif; background: var(--sunken); }
.leaflet-popup-content-wrapper, .leaflet-popup-tip { background: var(--surface); color: var(--text); }
.leaflet-popup-content a { font-weight: 600; }
.pin { width: 30px; height: 38px; }
.pin-num { width: 30px; height: 30px; border-radius: 999px; background: var(--accent); color: #fff; border: 3px solid #fff; display: flex; align-items: center;
           justify-content: center; font: 700 15px/1 Barlow, sans-serif; box-shadow: 0 2px 6px rgba(0,0,0,.3); }
.map-note { font-size: 13px; color: var(--muted); }

/* ---------- Sabores y listas simples ---------- */
.mini-list { list-style: none; margin: 0; padding: 0; }
.mini-list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--divider); }
.mini-list a { color: var(--text); text-decoration: none; font-weight: 500; }
.mini-list a:hover { color: var(--accent-text); }
.mini-list .muted { text-align: right; font-size: 15px; }
.flavour { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.flavour h3 { font-size: 28px; font-weight: 600; }

/* ---------- Bloques varios ---------- */
.biz { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; border: 2px dashed var(--accent-border); border-radius: 14px; padding: 32px; }
.biz > div:first-child { flex: 2 1 420px; display: flex; flex-direction: column; gap: 8px; }
.biz h2 { font-size: clamp(28px, 3.6vw, 38px); text-transform: uppercase; }
.biz .actions { flex: 1 1 240px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.app-card-wrap { margin-top: 64px; margin-bottom: 28px; }
.app-card { display: flex; align-items: center; gap: 20px; padding: 16px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; }
.app-qr { flex: none; width: 84px; height: 84px; padding: 6px; box-sizing: border-box; background: #FFFFFF; border-radius: 10px; border: 1px solid var(--border); display: none; }
.app-qr svg { display: block; width: 100%; height: 100%; }
.app-qr.ready { display: block; }
.app-qr.ready + .app-ico { display: none; }
.app-ico { flex: none; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--tint, #FDECE7); color: var(--brand); }
.app-ico .icon { width: 24px; height: 24px; }
.app-card .copy { flex: 1; min-width: 0; }
.app-card h2 { font-size: clamp(22px, 2.4vw, 28px); text-transform: uppercase; line-height: 1.05; margin: 0; }
.app-card p { margin: 4px 0 0; color: var(--text-2, var(--muted)); font-size: 15px; }
.app-card .on-mob { display: none; }
.store-btn { flex: none; display: inline-flex; align-items: center; gap: 10px; background: #2B2A2A; color: #fff; text-decoration: none; padding: 8px 16px; border-radius: 10px; min-height: 48px; box-sizing: border-box; }
.store-btn:hover { color: #fff; background: #000; }
.store-btn .icon { width: 20px; height: 20px; }
.store-btn small { display: block; font-size: 11px; line-height: 1.1; }
.store-btn b { display: block; font-size: 17px; font-weight: 600; line-height: 1.15; }
@media (max-width: 760px) {
  .app-card { flex-wrap: wrap; gap: 14px; }
  .app-qr, .app-qr.ready { display: none; }
  .app-qr.ready + .app-ico { display: grid; }
  .app-card .copy { flex: 1 1 200px; }
  .app-card .on-desk { display: none; } .app-card .on-mob { display: block; }
  .store-btn { width: 100%; justify-content: center; }
}

/* ---------- Pie ---------- */
.site-footer { background: var(--chrome); color: var(--chrome-text); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 32px; padding-top: 44px; padding-bottom: 28px; }
.site-footer .about { flex: 2 1 280px; display: flex; flex-direction: column; gap: 12px; }
.wordmark { font: 700 28px/1 "Barlow Condensed", sans-serif; color: #fff; letter-spacing: .02em; }
.wordmark span { color: var(--brand); }
.site-footer nav { flex: 1 1 150px; display: flex; flex-direction: column; gap: 8px; }
.site-footer nav b { color: #fff; }
.site-footer a { color: var(--chrome-text); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.legal { border-top: 1px solid var(--chrome-line); }
.legal .wrap { padding-top: 16px; padding-bottom: 24px; font-size: 14px; justify-content: space-between; gap: 10px; }

/* ---------- Listado por categoría ---------- */
.page-head { padding-top: 26px; display: flex; flex-direction: column; gap: 12px; }
.crumbs { font-size: 15px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.crumbs li + li::before { content: "›"; margin-right: 8px; }
.page-head h1 { font-size: clamp(38px, 6vw, 60px); text-transform: uppercase; }
.page-head .lead { font-size: 18px; color: var(--text2); max-width: 760px; }
.listing { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; padding-top: 22px; }
.listing .filters { flex: 1 1 220px; min-width: 0; max-width: 100%; display: flex; flex-direction: column; gap: 20px; }
.listing .results { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.listing .aside-map { flex: 1 1 340px; min-width: 0; max-width: 100%; display: flex; flex-direction: column; gap: 20px; }
.listing .aside-map .map { height: 620px; }
@media (min-width: 1180px) { .listing .filters { max-width: 260px; } .listing .aside-map { max-width: 400px; position: sticky; top: 16px; } }
.filter-box { padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.filter-box .label { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.filter-box a { display: flex; justify-content: space-between; padding: 9px 12px; border-radius: 8px; color: var(--text); text-decoration: none; }
.filter-box a:hover { background: var(--sunken); }
.filter-box a[aria-current="page"] { background: var(--tint); color: var(--accent-strong); font-weight: 600; }
.toggle, .filter-box .toggle { display: flex; justify-content: flex-start; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; color: var(--text); text-decoration: none; }
.toggle .tick { width: 20px; height: 20px; border: 2px solid var(--border-strong); border-radius: 5px; display: flex; align-items: center; justify-content: center; }
.toggle.on .tick { background: var(--accent); border-color: var(--accent); color: #fff; }
.pager { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 12px; }
.pager a, .pager span { min-width: 44px; height: 44px; padding: 0 14px; display: flex; align-items: center; justify-content: center; border-radius: 8px;
                        border: 1px solid var(--border-strong); color: var(--text); text-decoration: none; font-weight: 600; background: var(--surface); }
.pager [aria-current="page"] { background: var(--inverse); color: #fff; border-color: var(--inverse); }

/* ---------- Ficha ---------- */
.gallery { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.gallery img { border-radius: 14px; object-fit: cover; height: clamp(220px, 38vw, 440px); }
.gallery .main { flex: 2 1 520px; min-width: 0; width: 100%; }
.gallery .second { flex: 1 1 260px; position: relative; height: clamp(220px, 38vw, 440px); }
.gallery .second img { width: 100%; height: 100%; }
.gallery .count { position: absolute; right: 14px; bottom: 14px; }
.gallery-empty { height: 160px; border-radius: 14px; background: var(--sunken); display: flex; align-items: center; justify-content: center; color: var(--muted); }
.place-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 18px; padding: 26px 0 22px; border-bottom: 1px solid var(--border); }
.place-head .info { display: flex; flex-direction: column; gap: 10px; }
.place-head h1 { font-size: clamp(40px, 6vw, 64px); text-transform: uppercase; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-strong); background: var(--tint); padding: 6px 10px;
       border-radius: 6px; text-decoration: none; }
.meta-line { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 17px; color: var(--text2); }
.meta-line span { display: inline-flex; align-items: center; gap: 6px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.place-body { display: flex; flex-wrap: wrap; gap: 40px; padding: 34px 0 64px; align-items: flex-start; }
.place-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 40px; }
.place-side { flex: 1 1 320px; display: flex; flex-direction: column; gap: 18px; }
@media (min-width: 1180px) { .place-side { max-width: 380px; } }
.place-main h2, .box h2 { font-size: 30px; text-transform: uppercase; margin-bottom: 14px; }
.box h2 { font-size: 24px; margin-bottom: 10px; }
.prose { font-size: 18px; line-height: 1.7; color: var(--text); }
.prose p + p, .prose ul, .prose ol { margin-top: 14px; }
.box { padding: 22px; }
.hours { width: 100%; border-collapse: collapse; font-size: 16px; }
.hours td { padding: 8px 0; border-bottom: 1px solid var(--divider); vertical-align: top; }
.hours td:last-child { text-align: right; }
.hours tr:last-child td { border-bottom: 0; }
.hours .today td { font-weight: 600; }
.hours .closed { color: var(--accent-strong); font-weight: 600; }
.contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.contact-list a { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; word-break: break-word; }
.contact-list a:hover { color: var(--accent-text); }
.contact-list .icon { color: var(--accent-text); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { color: var(--text); text-decoration: none; font-size: 15px; font-weight: 600; padding: 8px 14px; border: 1px solid var(--border-strong); border-radius: 999px; }
.amenities { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.amenities li { padding: 8px 12px; border-radius: 8px; background: var(--sunken); font-size: 15px; }
.claim { background: var(--inverse); color: #fff; border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.claim h2 { font-size: 24px; color: #fff; }
.claim p { color: #E3DBD0; font-size: 15px; }
.claim .btn-ghost { align-self: flex-start; }
.side-map { height: 240px; border-radius: 0; border: 0; }
.box-map { overflow: hidden; }
.box-map .foot { padding: 14px 18px; display: flex; justify-content: space-between; gap: 10px; font-size: 15px; color: var(--text2); align-items: center; }
.note { font-size: 14px; color: var(--muted); }
.info-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-top: 18px; }
.info-tiles div { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.info-tiles small { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }

/* ---------- Búsqueda, páginas, 404 ---------- */
.search-page form { margin-top: 18px; max-width: 760px; border: 1px solid var(--border-strong); }
.page-body { max-width: 780px; padding: 30px 0 72px; }
.notfound { padding: 80px 0; text-align: center; display: flex; flex-direction: column; gap: 16px; align-items: center; }
.notfound h1 { font-size: clamp(44px, 7vw, 80px); text-transform: uppercase; }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
.site-footer .socials { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; }

/* Íconos de categoría (archivos SVG teñidos con el color del texto) */
.ico { display: inline-block; width: 1em; height: 1em; flex: none; background: currentColor;
  -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.cat-icon .ico { width: 24px; height: 24px; }

/* Tarjeta de categoría con imagen */
.cat-card.has-img { padding: 0; overflow: hidden; gap: 0; }
.cat-card .cat-img { display: block; aspect-ratio: 16 / 9; background: var(--surface2); overflow: hidden; }
.cat-card .cat-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.cat-card:hover .cat-img img { transform: scale(1.04); }
.cat-card.has-img .cat-body { display: flex; flex-direction: column; gap: 6px; padding: 0 20px 20px; }
.cat-card.has-img .cat-icon { margin-top: -26px; position: relative; box-shadow: 0 0 0 4px var(--surface); margin-bottom: 6px; }
@media (prefers-reduced-motion: reduce) { .cat-card .cat-img img { transition: none; } }

/* Cabecera de categoría con imagen */
.page-head.cat-head { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.cat-head .cat-banner { width: min(340px, 34vw); aspect-ratio: 16 / 9; border-radius: var(--radius, 14px); overflow: hidden; background: var(--surface2); }
.cat-head .cat-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cat-head h1 { display: flex; align-items: center; gap: 14px; }
.cat-head h1 .cat-icon { flex: none; }
@media (max-width: 720px) { .page-head.cat-head { grid-template-columns: 1fr; } .cat-head .cat-banner { width: 100%; order: -1; } }
.filter-box a .ico { width: 16px; height: 16px; margin-right: 8px; color: var(--text3, var(--text2)); vertical-align: -2px; }
.filter-box a span:first-child { display: inline-flex; align-items: center; }

/* Selector de idioma */
.lang-pick summary { gap: 6px; }
.lang-pick a[aria-current] { font-weight: 600; }

/* ---------- Cabecera en una sola fila ---------- */
.site-header .wrap { flex-wrap: nowrap; gap: 28px; padding-top: 8px; padding-bottom: 8px; }
.brand img { height: 58px; }
.main-nav { flex-wrap: nowrap; gap: 24px; }
.main-nav a { white-space: nowrap; }
.main-nav a[aria-current="page"], .main-nav a:hover { border-bottom-color: var(--brand); }
.header-tools { gap: 8px; flex: none; }
.search-pick summary.icon-btn { border-color: var(--border-strong); }
.search-pop { position: absolute; right: 0; top: calc(100% + 8px); display: flex; gap: 8px; padding: 8px; width: min(440px, 86vw);
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 12px 30px rgba(0,0,0,.15); }
.search-pop input { flex: 1; min-width: 0; min-height: 44px; border: 1px solid var(--border-strong); border-radius: 8px; padding: 0 12px; font: inherit; background: var(--surface2); color: var(--text); }
@media (max-width: 1100px) { .btn-app span { display: none; } .site-header .wrap { gap: 18px; } .main-nav { gap: 18px; } }
@media (max-width: 900px) {
  .site-header .wrap { flex-wrap: wrap; row-gap: 4px; }
  .main-nav { order: 6; flex: 1 1 100%; overflow-x: auto; }
  .brand img { height: 48px; }
}

/* ---------- Categoría: más ancho, banner destacado, tarjetas parejas ---------- */
.wrap-wide { max-width: 1560px; }
.cat-hero { position: relative; overflow: hidden; background: var(--inverse); color: #FFFFFF; }
.cat-hero.has-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,16,13,.82) 0%, rgba(20,16,13,.6) 55%, rgba(20,16,13,.25) 100%); }
.cat-hero .wrap { position: relative; z-index: 1; padding-top: 34px; padding-bottom: 38px; min-height: clamp(260px, 24vw, 360px); box-sizing: border-box; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; }
.cat-hero .crumbs, .cat-hero .crumbs a { color: #F3EFEA; }
.cat-hero h1 { display: flex; align-items: center; gap: 16px; color: #FFFFFF; font-size: clamp(36px, 5vw, 60px); text-transform: uppercase; margin: 0; }
.cat-hero .cat-icon { flex: none; }
.cat-hero .lead { color: #F3EFEA; font-size: 18px; max-width: 760px; margin: 0; }
.cat-hero .cat-count { align-self: flex-start; font-size: 14px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); }
@media (min-width: 1180px) { .listing .filters { max-width: 270px; } .listing .aside-map { max-width: 460px; } }

.results-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.results-bar p { margin: 0; }
.sort { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 15px; }
.sort a, .sort button { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border-strong);
  background: var(--surface); color: var(--text); text-decoration: none; font: inherit; font-weight: 500; cursor: pointer; }
.sort .icon { width: 16px; height: 16px; }
.sort [aria-current="true"] { background: var(--inverse); border-color: var(--inverse); color: #FFFFFF; }
.sort button[aria-busy="true"] { opacity: .6; cursor: progress; }
.note-outside { margin: 0; font-size: 14px; color: var(--text2); }

/* tarjetas del listado: todas del mismo alto */
.row-card { display: grid; grid-template-columns: 220px minmax(0, 1fr); height: 232px; }
.row-card .thumb { min-height: 0; height: 100%; max-width: none; }
.row-card .body { min-width: 0; overflow: hidden; padding: 16px 20px; gap: 5px; }
.row-card h3 { font-size: 24px; line-height: 1.1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.row-card .addr { display: flex; align-items: center; gap: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-card .dist { display: inline-flex; align-items: center; gap: 3px; color: var(--text); font-weight: 600; flex: none; }
.row-card .dist .icon { width: 14px; height: 14px; color: var(--brand); }
.row-card .summary { color: var(--text2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.row-card .open { margin-top: auto; }
@media (max-width: 560px) {
  .row-card { grid-template-columns: 1fr; height: auto; }
  .row-card .thumb { aspect-ratio: 16 / 9; height: auto; }
  .row-card .summary { -webkit-line-clamp: 2; }
}
.wide .site-header .wrap, .wide .site-footer .wrap, .wide .legal .wrap, .wide .app-card-wrap { max-width: 1560px; }
@media (max-width: 560px) {
  .btn-app { display: none; }
  .site-header .wrap { column-gap: 10px; }
  .brand img { height: 42px; }
  .header-tools { gap: 6px; margin-left: auto; }
  .header-tools .city-pick:not(.search-pick) summary .icon { display: none; }
  .header-tools .city-pick:not(.search-pick) summary { padding: 0 10px; min-height: 44px; }
}

/* ---------- Portada: fotos que rotan, clima, botón Buscar ---------- */
.hero { min-height: 600px; }
.hero .wrap { padding-bottom: 84px; }
.hero .kicker { color: #FFFFFF; }
.hero .kicker .icon { color: var(--brand); }
.btn-search { background: var(--brand); color: #FFFFFF; border-color: var(--brand); font-size: 19px; font-weight: 700; padding: 0 28px; }
.btn-search:hover { background: #E2512F; border-color: #E2512F; color: #FFFFFF; }
.weather { position: absolute; z-index: 2; right: max(20px, calc((100% - 1240px) / 2 + 20px)); top: 40px; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 14px; background: rgba(20,14,10,.45); border: 1px solid rgba(255,255,255,.25); color: #FFFFFF; backdrop-filter: blur(6px); }
.weather .w-icon .icon { width: 30px; height: 30px; color: #FFD27A; }
.weather .w-now { display: flex; flex-direction: column; line-height: 1.15; }
.weather .w-now small { font-size: 13px; color: #F3ECE3; }
.weather .w-now b { font-size: 26px; font-weight: 600; }
.weather .w-now em { font-style: normal; font-size: 14px; }
.weather .w-day { display: flex; flex-direction: column; font-size: 13px; color: #F3ECE3; border-left: 1px solid rgba(255,255,255,.3); padding-left: 12px; line-height: 1.5; }
@media (max-width: 760px) { .weather { position: relative; right: auto; top: auto; margin: 20px 20px -36px; align-self: flex-start; width: max-content; } .hero { display: flex; flex-direction: column; } }
.hero-controls { position: absolute; left: 0; right: 0; bottom: 18px; z-index: 2; }
.hero-controls .hero-bar { max-width: 1240px; margin: 0 auto; display: flex; align-items: center; gap: 12px; padding: 0 20px; color: #F3ECE3; font-size: 14px; }
.hero-controls .dots { display: flex; gap: 6px; }
.hero-controls .dots button { width: 10px; height: 10px; border-radius: 99px; border: 0; padding: 0; background: rgba(255,255,255,.5); cursor: pointer; transition: width .3s; }
.hero-controls .dots button[aria-current="true"] { width: 28px; background: #FFFFFF; }
.hero-controls .play { width: 32px; height: 32px; border-radius: 99px; border: 1px solid rgba(255,255,255,.5); background: transparent; color: #FFFFFF; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.hero-controls .play .icon { width: 12px; height: 12px; }
.hero-controls .caption { margin-left: auto; }
.hero-controls .caption a { color: #FFFFFF; }
/* pie: logo y Powered by Linkit */
.footer-logo img { height: 64px; width: auto; display: block; }
.legal .wrap { align-items: center; flex-wrap: wrap; }
.legal .powered img { height: 40px; width: auto; display: block; border-radius: 6px; }

/* Banner de categoría con fotos que rotan */
.cat-hero .wrap { padding-bottom: 64px; }
.cat-hero .hero-controls { z-index: 2; }
.cat-hero .hero-bar { max-width: 1560px; }
/* Tarifas en la ficha */
.rates dl { margin: 0; display: grid; gap: 0; }
.rates dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--divider); }
.rates dl > div:first-child { border-top: 0; }
.rates dt { color: var(--text2); }
.rates dd { margin: 0; font-weight: 600; white-space: nowrap; }

/* Ubicación del visitante en los mapas: punto azul (distinto de los pines de la guía) */
.me-dot { display: block; width: 18px; height: 18px; margin: 2px; border-radius: 50%; background: #1A73E8; border: 3px solid #FFFFFF; box-shadow: 0 0 0 1px rgba(0,0,0,.25), 0 0 0 0 rgba(26,115,232,.45); animation: me-pulse 2.2s ease-out infinite; box-sizing: border-box; }
@keyframes me-pulse { 0% { box-shadow: 0 0 0 1px rgba(0,0,0,.25), 0 0 0 0 rgba(26,115,232,.45); } 100% { box-shadow: 0 0 0 1px rgba(0,0,0,.25), 0 0 0 16px rgba(26,115,232,0); } }
@media (prefers-reduced-motion: reduce) { .me-dot { animation: none; } }

/* Subcategorías (categoría principal): círculos con la imagen de la subcategoría, ícono en insignia, nombre y cantidad */
.sub-tiles { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px 18px; padding-top: 26px; }
.sub-tiles .sub-tile { flex: 0 0 132px; }
.sub-tile { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; color: var(--text); text-decoration: none; min-width: 0; }
.sub-circle { position: relative; width: 112px; height: 112px; flex: none; }
.sub-thumb { position: relative; display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; background: var(--sunken, #F1F0EE); box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--border); transition: box-shadow .2s ease, transform .2s ease; }
.sub-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sub-thumb-ico { font-size: 34px; color: var(--brand); line-height: 1; }
.sub-thumb img + .sub-thumb-ico { display: none; }
.sub-badge { position: absolute; right: -2px; bottom: 2px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--brand); font-size: 16px; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.sub-tile:hover .sub-thumb, .sub-tile:focus-visible .sub-thumb { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--brand); transform: scale(1.03); }
.sub-tile:focus-visible { outline: none; }
.sub-name { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sub-name b { font-size: 15px; line-height: 1.2; }
.sub-name small { color: var(--muted); font-size: 13px; }
@media (max-width: 640px) {
  .sub-tiles { display: flex; overflow-x: auto; gap: 14px; padding: 24px 20px 6px; scroll-padding-left: 20px; scroll-snap-type: x proximity; scrollbar-width: none; }
  .sub-tiles::-webkit-scrollbar { display: none; }
  .sub-tiles .sub-tile { flex: 0 0 96px; scroll-snap-align: start; }
  .sub-tiles { justify-content: flex-start; flex-wrap: nowrap; }
  .sub-circle { width: 84px; height: 84px; }
  .sub-badge { width: 32px; height: 32px; font-size: 14px; }
  .sub-name b { font-size: 14px; }
}

/* Galería de la ficha: fotos que abren el visor */
.gallery .lb-open:not(.count) { display: block; position: relative; cursor: zoom-in; border-radius: 14px; overflow: hidden; }
.gallery .main.lb-open { flex: 2 1 520px; min-width: 0; }
.gallery .main.lb-open img { width: 100%; display: block; }
.gallery .second .lb-open:not(.count) { height: 100%; }
.gallery .lb-open img { transition: transform .35s ease; }
.gallery .lb-open:hover img, .photo-thumb:hover img { transform: scale(1.03); }
.gallery .count.lb-open { cursor: pointer; }
.lb-hint { position: absolute; right: 12px; top: 12px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: rgba(0,0,0,.45); color: #FFF; opacity: 0; transition: opacity .2s; }
.lb-open:hover .lb-hint, .lb-open:focus-visible .lb-hint { opacity: 1; }
.photo-thumb { display: block; border-radius: 10px; overflow: hidden; cursor: zoom-in; }
.photo-thumb img { width: 100%; height: 160px; object-fit: cover; display: block; transition: transform .35s ease; }

/* Visor */
html.lb-lock { overflow: hidden; }
.lightbox { position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(12,10,9,.94); color: #FFF; display: none; flex-direction: column; overscroll-behavior: contain; }
.lightbox[open] { display: flex; animation: lb-in .18s ease-out; }
.lightbox::backdrop { background: rgba(12,10,9,.94); }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
.lb-top { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; }
.lb-count { margin: 0; font-size: 14px; opacity: .85; font-variant-numeric: tabular-nums; }
.lb-btn { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #FFF; cursor: pointer; transition: background .15s; }
.lb-btn:hover { background: rgba(255,255,255,.24); }
.lb-btn:focus-visible { outline: 3px solid #FFF; outline-offset: 2px; }
.lb-btn .icon { width: 22px; height: 22px; }
.lb-stage { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 0 16px; touch-action: pan-y pinch-zoom; }
.lb-figure { flex: 1; min-width: 0; height: 100%; margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; overflow: hidden; }
.lb-img { max-width: 100%; max-height: calc(100% - 34px); object-fit: contain; border-radius: 6px; cursor: zoom-in; transition: opacity .2s ease, transform .25s ease; user-select: none; -webkit-user-drag: none; }
.lb-img.lb-loading { opacity: .25; }
.lightbox.lb-zoom .lb-img { transform: scale(2); cursor: zoom-out; }
.lb-cap { font-size: 14px; opacity: .85; text-align: center; min-height: 20px; }
.lb-thumbs { display: flex; gap: 8px; padding: 12px 16px 16px; overflow-x: auto; justify-content: safe center; scrollbar-width: thin; }
.lb-thumb { flex: 0 0 auto; width: 72px; height: 52px; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; background: none; cursor: pointer; opacity: .55; transition: opacity .15s, border-color .15s; }
.lb-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lb-thumb:hover, .lb-thumb.on { opacity: 1; }
.lb-thumb.on { border-color: #FFF; }
.lb-single .lb-prev, .lb-single .lb-next { visibility: hidden; }
@media (max-width: 640px) {
  .lb-stage { padding: 0 4px; gap: 0; }
  .lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; z-index: 1; background: rgba(0,0,0,.35); }
  .lb-prev { left: 6px; } .lb-next { right: 6px; }
  .lb-thumb { width: 56px; height: 42px; }
}
@media (prefers-reduced-motion: reduce) { .lightbox[open] { animation: none; } .lb-img, .gallery .lb-open img, .photo-thumb img { transition: none; } }

/* Fotos de los banners: a todo el ancho, encuadradas en su punto de enfoque, con un acercamiento lento hacia ese punto */
.hb { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; overflow: hidden; }
.hb.is-on { opacity: 1; }
.hb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transform: scale(1); will-change: transform; }
.hb.is-on img { animation: hb-zoom 9s ease-out forwards; }
@keyframes hb-zoom { from { transform: scale(1); } to { transform: scale(1.12); } }
@media (prefers-reduced-motion: reduce) { .hb { transition: none; } .hb.is-on img { animation: none; } }

/* «Descubre {ciudad}»: pestañas por rubro con avance automático */
.discover .section-head { align-items: flex-end; }
.discover-nav { display: flex; gap: 8px; }
.discover-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 20px; }
.discover-tabs [role="tab"] { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.discover-tabs [role="tab"] .ico { color: var(--brand); font-size: 16px; line-height: 1; display: inline-flex; }
.discover-tabs [role="tab"][aria-selected="true"] { background: var(--inverse, #2B2A2A); border-color: var(--inverse, #2B2A2A); color: #FFFFFF; }
.discover-tabs [role="tab"][aria-selected="true"] .ico { color: #FFFFFF; }
.discover-tabs .bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--brand); }
.discover.is-auto [aria-selected="true"] .bar { animation: disc-bar var(--disc-ms, 8000ms) linear forwards; }
@keyframes disc-bar { from { width: 0; } to { width: 100%; } }
.discover-panel .more { display: inline-block; margin-top: 16px; font-weight: 600; }
.discover-panel:not([hidden]) { animation: disc-in .35s ease; }
@keyframes disc-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) { .discover-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; } .discover-tabs::-webkit-scrollbar { display: none; } .discover-tabs [role="tab"] { flex: none; } .discover-nav { display: none; } }
@media (prefers-reduced-motion: reduce) { .discover-panel:not([hidden]) { animation: none; } }

/* ---------- Ficha del lugar (rediseño) ---------- */
/* Fotos arriba en mosaico: una grande y hasta cuatro chicas; la última abre el visor con todas */
.mosaic { display: grid; gap: 8px; margin-top: 16px; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, clamp(130px, 17vw, 210px)); }
.mosaic a { position: relative; display: block; overflow: hidden; border-radius: 16px; cursor: zoom-in; background: var(--sunken); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.mosaic a:hover img { transform: scale(1.03); }
.mosaic .m-0 { grid-row: span 2; }
.mosaic-1 { grid-template-columns: 1fr; grid-template-rows: clamp(240px, 34vw, 420px); }
.mosaic-1 .m-0 { grid-row: auto; }
.mosaic-2 { grid-template-columns: 2fr 1fr; }
.mosaic-2 .m-1 { grid-row: span 2; }
.mosaic-3 { grid-template-columns: 2fr 1fr; }
.mosaic-4 { grid-template-columns: 2fr 1fr 1fr; }
.mosaic-4 .m-3 { grid-column: span 2; }
.m-more { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px; background: rgba(20,16,13,.55); color: #FFFFFF; font-weight: 700; font-size: 16px; }
.m-more .icon { width: 18px; height: 18px; }
.mob-only { display: none; }
@media (max-width: 760px) {
  .mosaic, .mosaic-2, .mosaic-3, .mosaic-4 { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 110px; }
  .mosaic .m-0, .mosaic-2 .m-1 { grid-row: auto; grid-column: span 2; }
  .mosaic .m-3, .mosaic .m-4 { display: none; }
  .mob-only { display: flex; }
}

/* Encabezado: logo grande a la izquierda del nombre */
.place-head { align-items: center; flex-wrap: nowrap; justify-content: flex-start; gap: 24px; }
.place-head .info { flex: 1; min-width: 0; }
.place-head .actions { align-self: flex-end; display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.place-logo { flex: none; width: 112px; height: 112px; border-radius: 22px; background: #FFFFFF; border: 1px solid var(--border); box-shadow: 0 6px 18px rgba(0,0,0,.08); overflow: hidden; display: grid; place-items: center; }
.place-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.place-logo .logo-ico { display: none; }
.place-logo.is-icon { background: var(--tint, #FDECE7); color: var(--brand); font-size: 46px; }
.place-logo.is-icon .logo-ico { display: inline-flex; }
.place-logo .ico { width: 46px; height: 46px; }
.btn-go { background: #F06344; border-color: #F06344; color: #FFFFFF; }
.btn-go:hover { background: #D9532F; border-color: #D9532F; color: #FFFFFF; }
.btn-go .icon { color: inherit; }
.btn-sm { min-height: 38px; padding: 0 12px; font-size: 14px; }
/* Redes sociales con su ícono oficial y su nombre */
.socials { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.soc { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px 0 6px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text); text-decoration: none; font-size: 14px; font-weight: 600; }
.soc:hover { border-color: var(--border-strong, var(--border)); color: var(--text); }
.soc-ico { width: 28px; height: 28px; border-radius: 50%; display: inline-block; flex: none; position: relative; background: #555; }
.soc-ico::after { content: ""; position: absolute; inset: 6px; background: #FFFFFF; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.soc-facebook .soc-ico { background: #1877F2; }
.soc-instagram .soc-ico { background: radial-gradient(circle at 30% 107%, #FDF497 0%, #FD5949 45%, #D6249F 60%, #285AEB 90%); }
.soc-tiktok .soc-ico { background: #111111; }
.soc-youtube .soc-ico { background: #FF0000; }
.soc-x .soc-ico { background: #111111; }
.soc-whatsapp .soc-ico { background: #25D366; }
.soc-linkedin .soc-ico { background: #0A66C2; }
@media (max-width: 760px) {
  .place-head { flex-wrap: wrap; gap: 16px; }
  .place-logo { width: 72px; height: 72px; border-radius: 16px; font-size: 30px; }
  .place-logo .ico { width: 30px; height: 30px; }
  .place-head .info { flex: 1 1 100%; }
  .place-head .actions { width: 100%; justify-content: stretch; }
  .place-head .actions .btn { flex: 1; justify-content: center; }
}

/* Submenú de la ficha: queda fijo arriba al bajar y marca la sección visible */
.place-tabs { position: sticky; top: 0; z-index: 30; background: var(--surface); border-bottom: 1px solid var(--border); }
.place-tabs .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.place-tabs .wrap::-webkit-scrollbar { display: none; }
.place-tabs a { flex: none; padding: 14px 14px 11px; font-size: 15px; font-weight: 600; color: var(--muted); text-decoration: none; border-bottom: 3px solid transparent; white-space: nowrap; }
.place-tabs a:hover { color: var(--text); }
.place-tabs a.on { color: var(--text); border-bottom-color: #F06344; }
.place-main section[id], .place-side section[id] { scroll-margin-top: 70px; }

/* Contacto: lista simple con lo que es cada dato; los textos largos pasan de línea */
.contact-list .c-txt { display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; }
.contact-list .c-txt small { color: var(--muted); font-size: 13px; font-weight: 400; }

/* Mapa grande en la columna principal */
.place-map .map-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 16px 18px; }
.place-map .map-head h2 { margin: 0 auto 0 0; }
.main-map { height: clamp(280px, 34vw, 380px); border-radius: 0; border: 0; }
.dist-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: #E8F0FE; color: #1A56C4; font-weight: 700; font-size: 14px; }
.dist-chip .icon { width: 16px; height: 16px; }
.place-map .foot { flex-wrap: wrap; }
.place-map .foot > span:first-child { display: inline-flex; align-items: center; gap: 6px; }
.foot-actions { display: inline-flex; align-items: center; gap: 14px; }

/* Anuncios propios: la imagen del anunciante, centrada y sin deformar */
.ad-own a { display: block; line-height: 0; border-radius: 10px; overflow: hidden; }
.ad-own img { display: block; width: 100%; height: auto; max-height: 300px; object-fit: contain; margin: 0 auto; }
.ad-own.ad-list_map img { max-height: 620px; }

/* Lugares sin fotos: su logo en la tarjeta, entero y centrado sobre fondo claro */
.thumb img.is-logo { object-fit: contain; background: #FFFFFF; padding: 14px; box-sizing: border-box; }

/* Pedir acceso para administrar una ficha */
.claim-page { padding-top: 24px; padding-bottom: 48px; }
.claim-card { max-width: 640px; margin: 14px auto 0; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.claim-card h1 { font-size: clamp(28px, 4vw, 40px); margin: 0; }
.claim-card p { margin: 0; color: var(--text-2, var(--muted)); }
.claim-steps { margin: 0; padding-left: 22px; display: grid; gap: 4px; font-weight: 600; }
.claim-form { display: grid; gap: 14px; }
.claim-form label { display: grid; gap: 6px; }
.claim-form label > span { font-weight: 600; font-size: 15px; }
.claim-form input[type=text], .claim-form input[type=email], .claim-form input[type=tel], .claim-form select, .claim-form textarea { width: 100%; box-sizing: border-box; min-height: 46px; padding: 10px 12px; border: 1px solid var(--border-strong, var(--border)); border-radius: 10px; background: var(--surface); color: var(--text); font: inherit; }
.claim-form small { color: var(--muted); font-size: 13px; }
.claim-form .check { display: flex; gap: 10px; align-items: flex-start; }
.claim-form .check input { width: 20px; height: 20px; margin-top: 2px; }
.claim-form .btn { justify-self: start; }
.claim-errors { background: #FDECE7; color: #8F2C13; border-radius: 10px; padding: 10px 14px; }
.claim-errors p { margin: 0; color: inherit; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Agregar mi negocio ---------- */
.biz-form h2 { font-size: 22px; margin: 10px 0 0; }
.biz-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .biz-row { grid-template-columns: 1fr; } }
.biz-map-box { display: grid; gap: 8px; }
.biz-map-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.biz-map { height: 280px; border-radius: 12px; border: 1px solid var(--border); overflow: hidden; }
.btn-sm { min-height: 36px; padding: 6px 14px; font-size: 14px; }
.field-error { color: #B3261E !important; font-weight: 600; }
.biz-similar, .biz-suggest { padding: 12px 14px; border-radius: 12px; background: var(--tint, #F1F0EE); border: 1px solid var(--border); }
.biz-similar ul, .biz-suggest ul { margin: 8px 0 0; padding-left: 18px; display: grid; gap: 6px; }
.biz-similar a, .biz-suggest a { font-weight: 600; }
