body { font-family: 'Public Sans', system-ui, -apple-system, sans-serif; max-width: 66rem; margin: 2rem auto; padding: 0 1rem; color: #1c1c1c; line-height: 1.5; }
h1, h2, h3 { font-family: 'Bitter', Georgia, serif; font-weight: 700; }
h1 { border-bottom: 3px solid #a3233d; padding-bottom: .35rem; }
a { color: #0b5fa5; }
.grid { display: grid; gap: 1rem; margin: 1rem 0; }
/* El auto-fill responsivo es el DEFAULT: se desactiva en cuanto el bloque trae
   una clase `cols-N` (override explícito de config), así nunca pelea por
   especificidad con las columnas fijas. */
.grid:not([class*="cols-"]) { grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr)); }
.card { border: 1px solid #e0e0e0; border-radius: .5rem; padding: 1rem 1.1rem; }
.meta { color: #666; font-size: .92rem; }
.badge { display: inline-block; background: #f0f1f3; color: #444; border-radius: 999px; padding: .1rem .6rem; font-size: .8rem; margin-right: .3rem; }
.badge-persona { background: #fbeaee; color: #a3233d; }
.badge-interes { background: #eaf2fa; color: #0b5fa5; }
.badge-zona { background: #eaf5ec; color: #3a7d44; }
.badge-premio { background: #fbf1dc; color: #8a6300; }
.tags { line-height: 2.1; }
.tag-grupo { display: inline-block; margin-right: 1.1rem; }
.badge-destacado { display: inline-block; background: #b8860b; color: #fff; border-radius: .3rem; padding: .25rem .7rem; font-size: .85rem; font-weight: 600; margin: .3rem .4rem .3rem 0; }
.hero { position: relative; margin: .5rem 0 1rem; min-height: 14rem; background: #eef1f4; border-radius: .5rem; }
.hero .img-ficha { margin: 0; height: 22rem; max-height: none; }
.hero-overlay { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1.3rem 1rem; border-radius: 0 0 .5rem .5rem; background: linear-gradient(to top, rgba(0,0,0,.78), rgba(0,0,0,0)); }
.hero-overlay h1 { color: #fff; border-bottom: none; padding-bottom: 0; margin: 0 0 .2rem; }
.hero-overlay .meta { color: #f0f0f0; }
.hero-distinciones { margin: .4rem 0 0; }
.btn { display: inline-block; background: #0b5fa5; color: #fff; text-decoration: none; padding: .5rem 1rem; border-radius: .4rem; margin: .2rem .4rem .2rem 0; }
.cta-reserva { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; background: #f5f7fa; border: 1px solid #e0e0e0; border-radius: .5rem; padding: 1rem 1.1rem; margin: 1.2rem 0; }
.cta-reserva strong { font-family: 'Bitter', Georgia, serif; font-size: 1.02rem; }
.cta-reserva p { margin: .2rem 0 0; color: #666; font-size: .88rem; }
.cta-reserva .btn { margin: 0; flex: none; }
.back { display: block; margin: 1rem 0; }
img { max-width: 100%; height: auto; }
.img-ficha { width: 100%; max-height: 24rem; object-fit: cover; border-radius: .5rem; margin: .5rem 0 1rem; }
.img-card { width: 100%; height: 9rem; object-fit: cover; border-radius: .4rem; display: block; }
.info-practica { background: #f5f7fa; border: 1px solid #e0e0e0; border-radius: .5rem; padding: .8rem 1.1rem; margin: 1rem 0; }
/* Reseñas de Google (solo el agregado numérico). Misma lengua visual que
   `.info-practica`/`.cta-reserva`: tarjeta clara de la paleta del portal. Las
   estrellas usan el oro de las distinciones (`#b8860b`), no una paleta nueva. */
.resenas { background: #f5f7fa; border: 1px solid #e0e0e0; border-radius: .5rem; padding: .55rem .9rem; margin: .9rem 0; color: #444; font-size: .92rem; }
.resenas-estrellas { color: #b8860b; letter-spacing: .08em; }
.resenas-nota strong { color: #1c1c1c; }
.mapa { height: 300px; border: 1px solid #e0e0e0; border-radius: .5rem; margin: 1rem 0; background: #eef1f4; }
.mapa a { color: #0b5fa5; }
.mapa-filtros { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1rem 0 .5rem; }
.mapa-filtros + .mapa { margin-top: 0; }
.chip-mapa { font: inherit; font-size: .85rem; line-height: 1.2; white-space: nowrap; padding: .35rem .8rem; background: #f5f7fa; color: #444; border: 1px solid #e0e0e0; border-radius: 999px; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.chip-mapa:hover { border-color: #0b5fa5; color: #0b5fa5; }
.chip-mapa.activo { background: #0b5fa5; border-color: #0b5fa5; color: #fff; font-weight: 600; }
.chip-mapa.activo:hover { color: #fff; }
.chip-mapa:focus-visible { outline: 2px solid #0b5fa5; outline-offset: 2px; }
.mapa-lista { margin: .3rem 0 1rem; }
.mapa-lista li[hidden] { display: none; }
.mapa-lista summary { cursor: pointer; color: #0b5fa5; font-weight: 600; }
.mapa-lista ul { margin: .5rem 0 0; padding-left: 1.2rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.acciones { margin: .6rem 0 1rem; }
.ficha-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; margin: 2rem 0 1rem; padding: .8rem 1rem; border-top: 1px solid #e0e0e0; border-bottom: 1px solid #e0e0e0; }
.ficha-nav a { color: #0b5fa5; text-decoration: none; font-weight: 600; }
.ficha-nav a:hover { text-decoration: underline; }
.ficha-nav .ficha-nav-todos { font-weight: 400; color: #666; }
.ficha-nav .ficha-nav-hueco { flex: 0 1 auto; }
.contenido { max-width: 42rem; }
.galeria-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(7rem, 1fr)); gap: .5rem; margin: 1rem 0; }
.galeria-item { display: block; aspect-ratio: 1; overflow: hidden; border-radius: .4rem; }
.galeria-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .15s; }
.galeria-item:hover img { transform: scale(1.06); }
.cerca-grupo { margin: 1.2rem 0; }
.cerca-grupo h3 { margin-bottom: .5rem; }
.cerca-grid { display: grid; gap: .7rem; }
/* Igual que `.grid`: `orientacion` (forma de la card) solo decide el auto-fill
   por defecto; con `cols-N` el número de columnas manda y el default se apaga. */
.cerca-grid.vertical:not([class*="cols-"]) { grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); }
.cerca-grid.horizontal:not([class*="cols-"]) { grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); }
/* Columnas explícitas (3-6) gobernables por config, sobre CUALQUIERA de los dos
   grids. Responsive: en pantalla estrecha se degradan a 3/2/1 para que la
   tarjeta no quede ilegible (misma especificidad, media query posterior gana). */
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 64rem) { [class*="cols-"] { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 48rem) { [class*="cols-"] { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 32rem) { [class*="cols-"] { grid-template-columns: 1fr; } }
.cerca-card { display: flex; border: 1px solid #e0e0e0; border-radius: .5rem; overflow: hidden; color: inherit; text-decoration: none; background: #fff; }
.cerca-card:hover { border-color: #0b5fa5; }
.cerca-grid.vertical .cerca-card { flex-direction: column; }
.cerca-grid.vertical .cerca-img { width: 100%; height: 7rem; object-fit: cover; }
.cerca-grid.horizontal .cerca-card { flex-direction: row; align-items: stretch; }
.cerca-grid.horizontal .cerca-img { width: 6rem; min-width: 6rem; object-fit: cover; }
.cerca-card.sin-img { background: #f5f7fa; }
.cerca-info { display: flex; flex-direction: column; gap: .2rem; padding: .6rem .8rem; justify-content: center; }
.cerca-mas { margin-top: .6rem; }
.cerca-mas summary { cursor: pointer; color: #0b5fa5; font-weight: 600; list-style: none; }
.cerca-mas summary::-webkit-details-marker { display: none; }
.cerca-mas summary::before { content: "▸ "; }
.cerca-mas[open] summary::before { content: "▾ "; }
.cerca-mas .cerca-grid { margin-top: .7rem; }
.skip { position: absolute; left: -9999px; top: 0; background: #a3233d; color: #fff; padding: .5rem .9rem; border-radius: 0 0 .4rem 0; z-index: 1000; }
.skip:focus { left: 0; }
.cabecera { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.2rem; padding-bottom: .6rem; border-bottom: 1px solid #e0e0e0; margin-bottom: 1rem; }
.marca { font-family: 'Bitter', Georgia, serif; font-weight: 700; font-size: 1.35rem; color: #a3233d; text-decoration: none; }
.nav-global, .nav-local, .nav-temas { display: flex; flex-wrap: wrap; gap: .3rem .9rem; }
.nav-global a { color: #0b5fa5; text-decoration: none; font-weight: 600; }
.nav-global a:hover { text-decoration: underline; }
.migas { margin: .2rem 0 1rem; }
.migas ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; padding: 0; margin: 0; font-size: .9rem; color: #666; }
.migas li { display: inline-flex; align-items: center; }
.migas li + li::before { content: "›"; margin-right: .4rem; color: #aaa; }
.migas a { color: #0b5fa5; }
.migas [aria-current="page"] { color: #444; }
.nav-local { margin: .4rem 0 1.2rem; padding: .5rem .8rem; background: #f5f7fa; border: 1px solid #e0e0e0; border-radius: .5rem; }
.nav-local a { color: #0b5fa5; text-decoration: none; font-weight: 600; }
.nav-local a:hover { text-decoration: underline; }
.buscador { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; }
.buscador input[type="search"] { flex: 1 1 18rem; padding: .55rem .8rem; font: inherit; border: 1px solid #cfd4da; border-radius: .4rem; }
.buscador button { padding: .55rem 1.1rem; font: inherit; font-weight: 600; color: #fff; background: #0b5fa5; border: 0; border-radius: .4rem; cursor: pointer; }
.buscador button:hover { background: #094c85; }
.buscador-resultados { list-style: none; padding: 0; margin: 1rem 0; }
.buscador-resultados li { padding: .45rem 0; border-bottom: 1px solid #f0f1f3; }
.buscador-resultados a { font-weight: 600; }
.buscador-resultados .meta { margin-left: .4rem; }
.lista-destinos { list-style: none; padding: 0; margin: .5rem 0 1.5rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); gap: .1rem 1.4rem; }
.lista-destinos li { padding: .25rem 0; border-bottom: 1px solid #f0f1f3; }
.pie { margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid #e0e0e0; color: #666; font-size: .92rem; }
.pie .nav-temas { margin-bottom: .5rem; }
.pie a { color: #0b5fa5; }
.pie-legal { margin: .4rem 0 0; }
/* Banner de consentimiento (Consent Mode v2). Fijo abajo, acotado al ancho del
   contenido para no tapar la página. Los dos botones comparten estilo a
   propósito: aceptar y rechazar deben pesar igual (requisito legal, no estético). */
.consent { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 900; max-width: 44rem; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1rem; background: #f5f7fa; border: 1px solid #e0e0e0; border-radius: .5rem; padding: .9rem 1.1rem; box-shadow: 0 4px 14px rgba(0, 0, 0, .12); }
.consent[hidden] { display: none; }
.consent-texto { margin: 0; flex: 1 1 16rem; font-size: .92rem; color: #1c1c1c; }
.consent-acciones { display: flex; flex-wrap: wrap; gap: .5rem; }
.consent-btn { font: inherit; font-weight: 600; color: #fff; background: #a3233d; border: 1px solid #a3233d; border-radius: .4rem; padding: .5rem 1.1rem; cursor: pointer; }
.consent-btn:hover { background: #8a1c33; border-color: #8a1c33; }
.consent-btn:focus-visible { outline: 2px solid #0b5fa5; outline-offset: 2px; }
@media (prefers-reduced-motion: no-preference) {
  .consent { animation: consent-aparece .2s ease-out; }
  @keyframes consent-aparece { from { opacity: 0; transform: translateY(.5rem); } to { opacity: 1; transform: none; } }
}
