:root {
  --azul: #1e4b8c;
  --azul-oscuro: #15366a;
  --verde: #2d8a4e;
  --verde-oscuro: #216b3b;
  --papel: #f6f3ec;
  --blanco: #fff;
  --tinta: #1c1c1c;
  --muted: #5c5c5c;
  --sombra: 0 8px 24px rgba(21, 54, 106, 0.08);
  --wa: #25d366;
  --call: #1e4b8c;
  --menu: #ffd60a;
  --cafe: #3a2818;
  --cafe-oscuro: #24160e;
  --cobre: #c9a36a;
  --cobre-suave: rgba(201, 163, 106, 0.45);
  --teal: #12352f;
  --teal-card: #1a433c;
  --crema: #f4efe6;
  --oro: #e0c37a;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  color: var(--tinta);
  background: var(--papel);
}
h1, h2, h3, .brand-name {
  font-family: "Source Serif 4", Georgia, serif;
  margin: 0;
}
a { color: inherit; text-decoration: none; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.site-header { background: var(--azul); color: var(--blanco); }
.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand-logo {
  display: block;
  height: 56px;
  width: 56px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-kicker {
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 700;
  opacity: 0.8;
}
.brand-name { font-size: 28px; font-weight: 700; color: #fff; }
.search {
  display: flex;
  flex: 1;
  min-width: 240px;
  max-width: 420px;
}
.search input {
  flex: 1;
  border: 0;
  padding: 10px 14px;
  font: inherit;
  border-radius: 6px 0 0 6px;
}
.search button {
  border: 0;
  background: var(--azul-oscuro);
  color: var(--blanco);
  font: inherit;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 0 6px 6px 0;
  cursor: pointer;
}

.cats { background: var(--verde); }
.cats-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding: 0 12px;
}
.cats a {
  color: var(--blanco);
  font-weight: 700;
  padding: 12px 16px;
  white-space: nowrap;
}
.cats a:hover,
.cats a.is-on { background: var(--verde-oscuro); }

.busqueda-resumen {
  max-width: 1120px;
  margin: 16px auto 0;
  padding: 12px 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--sombra);
  font-size: 15px;
  color: var(--muted);
}
.busqueda-resumen.is-hidden { display: none; }
.busqueda-resumen.vacio { background: #fff8e6; color: var(--tinta); }
.busqueda-resumen a { color: var(--azul); font-weight: 700; text-decoration: underline; }
body.busqueda-negocios .page-sections { display: flex; flex-direction: column; }
body.busqueda-negocios #directorio { order: -1; margin-top: 20px; }
body.busqueda-negocios .grid-3 { margin-top: 20px; }
body.filtro-activo .grid-3 { grid-template-columns: 1fr; max-width: 760px; }
body.filtro-activo .page-sections { margin-top: 20px; }
body.filtro-negocios .directorio { margin-top: 20px; }

.hero {
  max-width: 1120px;
  margin: 28px auto 0;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 20px;
}
.hero-welcome {
  background: var(--blanco);
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: var(--sombra);
}
.hero-place {
  color: var(--verde);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 13px;
  margin: 0 0 8px;
}
.hero-welcome h1 { font-size: 34px; line-height: 1.15; }
.hero-lead { color: var(--muted); font-size: 16px; line-height: 1.6; margin: 0 0 14px; }
.hero-cta { color: var(--tinta); font-size: 16px; font-weight: 700; line-height: 1.5; margin: 4px 0 0; }
.hero-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: var(--sombra);
  background: var(--blanco);
}
.carousel-track { display: flex; transition: transform 0.35s ease; }
.slide { min-width: 100%; }
.slide-img {
  height: 180px;
  background: linear-gradient(135deg, #c5d4ea, #8fa9cc);
  background-size: cover;
  background-position: center;
}
.slide-body { padding: 16px 18px 20px; }
.slide-body h2 { font-size: 22px; margin: 8px 0; }
.slide-body p { margin: 0; color: var(--muted); }
.carousel-nav {
  position: absolute;
  top: 70px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 8px;
  pointer-events: none;
}
.carousel-nav button {
  pointer-events: auto;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(21, 54, 106, 0.85);
  color: var(--blanco);
  font-size: 22px;
  cursor: pointer;
}
.pill {
  display: inline-block;
  background: var(--azul);
  color: var(--blanco);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
}

.grid-3 {
  max-width: 1120px;
  margin: 28px auto 0;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.col h2,
.directorio h2 {
  font-size: 22px;
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--verde);
}
.card {
  background: var(--blanco);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--sombra);
  margin-bottom: 14px;
}
.card > a { display: block; }
.card-img, .foto {
  width: 100%;
  height: 96px;
  object-fit: cover;
  object-position: center;
  display: block;
  background: linear-gradient(135deg, #c5d4ea, #8fa9cc);
}
.placeholder-img {
  width: 100%;
  height: 96px;
  background: linear-gradient(135deg, #c5d4ea, #8fa9cc);
}
.card-body { padding: 12px 14px 16px; }
.card-body h3 { font-size: 18px; margin: 6px 0; }
.card-body p { margin: 0 0 8px; color: var(--muted); font-size: 15px; }
.card-body time { font-size: 13px; color: var(--muted); }
.tag {
  display: inline-block;
  background: #e8f5ec;
  color: var(--verde-oscuro);
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
}
.card-event { display: flex; align-items: stretch; }
.event-date {
  background: var(--azul);
  color: var(--blanco);
  min-width: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.event-date .day { font-size: 26px; font-weight: 700; line-height: 1; }
.event-date .month { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; }
.lugar { margin: 0; color: var(--muted); }
.vacio { color: var(--muted); font-size: 15px; padding: 8px 0 16px; }

/* Banners: celular = rejilla; escritorio = carrusel */
.directorio {
  max-width: 1120px;
  margin: 28px auto 40px;
  padding: 0 20px;
}
.negocios-carousel-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.negocios-viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.negocios-track {
  transition: transform 0.35s ease;
  will-change: transform;
}
.neg-nav {
  display: none;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--azul);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.neg-nav:disabled { opacity: 0.35; cursor: default; }
.banners {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
  max-width: 360px;
}
.banner {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  width: 100%;
  max-height: 130px;
  border-radius: 12px;
  overflow: hidden;
  background: #d7dde6;
  box-shadow: var(--sombra);
}
.banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.banner-ph {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #c5d4ea, #8fa9cc);
}
.banner span:not(.banner-cerrado-tag):not(.banner-rating):not(.banner-app-name) { display: none; }

.banner.cerrado { opacity: 1; }
.banner.cerrado img,
.banner.cerrado .banner-ph {
  filter: grayscale(0.9) saturate(0.35);
  opacity: 0.62;
}
.banner-cerrado-tag {
  position: absolute;
  bottom: 6px;
  right: 6px;
  z-index: 3;
  display: block;
  background: rgba(20, 20, 20, 0.72);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 6px;
  pointer-events: none;
}
.banner-rating {
  position: absolute;
  left: 6px;
  bottom: 6px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: rgba(12, 12, 16, 0.78);
  color: #e0c37a;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 6px;
  pointer-events: none;
}
.banner.cerrado::after { content: none; display: none; }

.site-footer {
  background: var(--azul-oscuro);
  color: #d7e2f2;
  text-align: center;
  padding: 28px 16px 24px;
  font-size: 14px;
}
.site-footer p { margin: 4px 0; }
.footer-legal {
  margin-top: 10px;
  font-size: 13px;
}
.footer-legal a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: 0.9;
}
.footer-dev {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.footer-dev span {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.75;
  font-weight: 700;
}
.footer-logo {
  display: block;
  height: 44px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  border-radius: 8px;
}

.ficha { max-width: 400px; margin: 0 auto; padding: 12px 16px 40px; }
.back {
  display: inline-block;
  margin: 8px 0 14px;
  color: var(--azul);
  font-weight: 700;
}
.logo-card {
  background: var(--blanco);
  border: 1px solid #e5e0d6;
  border-radius: 18px;
  overflow: hidden;
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}
.logo-card img {
  width: 100%;
  max-height: 190px;
  object-fit: contain;
  object-position: center;
  display: block;
}
.info-card {
  margin-top: 12px;
  background: #111;
  color: #fff;
  border-radius: 18px;
  padding: 20px 16px 16px;
}
.info-card h1 { font-size: 18px; margin: 0 0 12px; color: #fff; font-family: "Source Sans 3", sans-serif; }
.info-card p { margin: 0; color: rgba(255,255,255,0.88); line-height: 1.55; font-size: 14px; }
.meta-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  font-size: 13px;
  font-weight: 700;
}
.meta-row small { display: block; color: rgba(255,255,255,0.7); font-weight: 500; margin-top: 4px; font-size: 12px; }
.mapa {
  margin-top: 12px;
  border-radius: 18px;
  overflow: hidden;
  height: 170px;
  background: #ddd;
}
.mapa iframe { width: 100%; height: 100%; border: 0; }
.acciones { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.acciones button {
  height: 54px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.acciones button svg { width: 28px; height: 28px; fill: currentColor; }
.btn-wa { background: #25d366; }
.btn-call { background: #1e90ff; }
.btn-pedido { background: #ff7a00; color: #fff; font-size: 18px; letter-spacing: 0.02em; gap: 10px; }
.btn-menu { background: #ffd60a; color: #111; font-size: 18px; letter-spacing: 0.02em; }

.nota-wrap { max-width: 800px; margin: 24px auto 48px; padding: 0 20px; }
.nota-wrap .hero-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  background: #c5d4ea;
}
.nota-wrap h1 { font-size: 32px; margin: 16px 0 8px; }
.cuerpo { font-size: 18px; line-height: 1.65; white-space: pre-wrap; }
.evento-cuando {
  margin: 0 0 6px;
  font-weight: 700;
  color: var(--azul-oscuro);
  text-transform: capitalize;
}
.evento-lugar {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 16px;
}
.share-bar {
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid rgba(21, 54, 106, 0.12);
}
.share-label {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--azul-oscuro);
}
.share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 0;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  color: #fff;
  cursor: pointer;
}
.share-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}
.share-wa { background: #25d366; }
.share-fb { background: #1877f2; }
.share-x { background: #111; }
.share-copy,
.share-more {
  background: #fff;
  color: var(--azul-oscuro);
  box-shadow: inset 0 0 0 1px rgba(21, 54, 106, 0.22);
}
.card-event > a {
  display: flex;
  align-items: stretch;
  flex: 1;
  min-width: 0;
  color: inherit;
}

body.nota-page {
  background: #0c0c10;
  color: var(--crema);
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  min-height: 100vh;
}
body.nota-page h1,
body.nota-page h2,
body.nota-page .brand-name {
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  font-weight: 800;
}
body.nota-page .site-header {
  background: #0a1628;
  color: #fff;
  border-bottom: 1px solid rgba(201, 163, 106, 0.22);
}
body.nota-page .header-inner {
  max-width: 760px;
  padding: 12px 16px;
}
body.nota-page .brand-logo {
  height: 48px;
  width: 48px;
}
body.nota-page .brand-kicker {
  color: var(--oro);
  opacity: 1;
}
body.nota-page .brand-name {
  font-size: 22px;
  color: #fff;
}
body.nota-page .nota-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 16px 16px 48px;
}
body.nota-page .back {
  color: var(--oro);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
body.nota-page .nota-card {
  background: var(--teal);
  border: 2px solid var(--cobre);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
}
body.nota-page .nota-card > .tag {
  margin: 16px 16px 0;
  background: rgba(201, 163, 106, 0.18);
  color: var(--oro);
  border: 1px solid var(--cobre-suave);
}
body.nota-page .nota-media {
  margin: 14px 14px 0;
  padding: 12px;
  background: var(--cafe);
  border: 2px solid var(--cobre);
  border-radius: 16px;
  box-shadow: inset 0 0 0 2px rgba(201, 163, 106, 0.28);
}
body.nota-page .nota-wrap .hero-img {
  height: auto;
  max-height: 320px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 12px;
}
body.nota-page .nota-body {
  padding: 18px 18px 20px;
}
body.nota-page .nota-wrap h1 {
  font-size: 26px;
  line-height: 1.25;
  margin: 8px 0 10px;
  color: #fff;
}
body.nota-page .cuerpo {
  color: rgba(244, 239, 230, 0.92);
  font-size: 16px;
}
body.nota-page .vacio,
body.nota-page .evento-lugar {
  color: rgba(244, 239, 230, 0.72);
}
body.nota-page .evento-cuando {
  color: var(--oro);
}
body.nota-page .share-bar {
  border-top-color: rgba(201, 163, 106, 0.28);
}
body.nota-page .share-label {
  color: var(--oro);
}
body.nota-page .share-copy,
body.nota-page .share-more {
  background: var(--teal-card);
  color: var(--crema);
  box-shadow: inset 0 0 0 1px var(--cobre-suave);
}
body.nota-page .site-footer {
  background: #0a1628;
  color: #c9d4e4;
  border-top: 1px solid rgba(201, 163, 106, 0.18);
}
body.nota-page .footer-legal a {
  color: var(--oro);
  text-decoration: none;
}
body.nota-page .nota-card h2 {
  color: var(--oro);
  font-size: 16px;
  margin: 22px 0 8px;
}
body.nota-page .nota-card p,
body.nota-page .nota-card li {
  color: rgba(244, 239, 230, 0.88);
  font-size: 15px;
  line-height: 1.65;
}
body.nota-page .nota-card a {
  color: var(--oro);
}
body.nota-page .legal-meta {
  color: rgba(244, 239, 230, 0.65);
  font-size: 13px;
  margin: 0 0 16px;
}
body.nota-page .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 10px;
}
body.nota-page .cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  background: #1a4f8c;
  color: #fff !important;
  font-weight: 800;
  text-decoration: none !important;
}
body.nota-page .cta-wa {
  background: #1f8f4a;
}

body.gaceta-home .footer-legal a {
  color: var(--oro);
  text-decoration: none;
}
body.gaceta-home .footer-legal a:hover {
  text-decoration: underline;
}

@media (min-width: 901px) {
  .neg-nav { display: flex; }
  .negocios-viewport .banners,
  body.gaceta-home .negocios-viewport .banners {
    display: flex;
    flex-wrap: nowrap;
    gap: 14px;
    max-width: none;
  }
  .negocios-viewport .banner,
  body.gaceta-home .negocios-viewport .banner {
    flex: 0 0 210px;
    width: 210px;
    min-width: 210px;
    max-width: 210px;
    max-height: none;
    height: auto;
    aspect-ratio: 4 / 3;
  }
  .negocios-viewport .banner img,
  body.gaceta-home .negocios-viewport .banner img {
    object-fit: contain;
    object-position: center;
    background: #000;
  }
}

@media (max-width: 900px) {
  .hero, .grid-3 { grid-template-columns: 1fr; }
  .brand-name { font-size: 24px; }
  .brand-logo { height: 48px; width: 48px; }
  .footer-logo { height: 36px; }
}

/* ── Gaceta home: glassmorphism ── */
body.gaceta-home {
  --glass-bg: rgba(18, 53, 47, 0.48);
  --glass-border: rgba(201, 163, 106, 0.32);
  --glass-glow: rgba(201, 163, 106, 0.28);
  --cyan: #e0c37a;
  --cyan-soft: rgba(201, 163, 106, 0.22);
  --text: #f4efe6;
  --text-muted: rgba(244, 239, 230, 0.72);
  --deep: #0c0c10;
  --page-x: 20px;
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  color: var(--text);
  background-color: var(--deep);
  min-height: 100vh;
  overflow-x: hidden;
}
body.gaceta-home .page-sections {
  width: 100%;
  max-width: 100%;
}
body.gaceta-home h1,
body.gaceta-home h2,
body.gaceta-home h3,
body.gaceta-home .brand-name {
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  font-weight: 800;
}

body.gaceta-home .page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background-color: #0c0c10;
  background-image:
    radial-gradient(circle at center, rgba(26, 44, 58, 0.18) 0%, rgba(9, 17, 24, 0.42) 70%),
    url("../assets/tapiz.webp?v=5");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
body.gaceta-home .page-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
  filter: blur(50px);
  opacity: 0.8;
}
body.gaceta-home .page-bg::after {
  content: "";
  position: absolute;
  top: 20%;
  right: 0;
  width: 30%;
  height: 60%;
  background-image: radial-gradient(circle at center, rgba(201, 163, 106, 0.12) 0%, rgba(201, 163, 106, 0) 70%);
  filter: blur(40px);
  opacity: 0.7;
  pointer-events: none;
}

body.gaceta-home .glass {
  background: linear-gradient(180deg, rgba(244, 239, 230, 0.08), var(--glass-bg));
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow:
    0 8px 32px 0 rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(244, 239, 230, 0.12);
}

body.gaceta-home .site-header {
  background: #3a2818;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 2px solid var(--cobre);
  color: var(--crema);
}
body.gaceta-home .header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px var(--page-x);
  width: 100%;
}
body.gaceta-home .brand-logo {
  height: 76px;
  width: 76px;
  box-shadow: 0 0 24px rgba(201, 163, 106, 0.35);
}
body.gaceta-home .brand-kicker {
  color: var(--cyan);
  opacity: 1;
}
body.gaceta-home .brand-name {
  color: #fff;
  font-size: 26px;
  letter-spacing: -0.02em;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 10px;
}
body.gaceta-home .brand-place {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--oro);
  line-height: 1.2;
}

body.gaceta-home .search {
  flex: 1 1 220px;
  min-width: 0;
  max-width: 520px;
  background: var(--crema);
  border: 1px solid var(--cobre);
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}
body.gaceta-home .search input {
  background: transparent;
  color: var(--cafe-oscuro);
  padding: 12px 18px;
  border-radius: 0;
  min-width: 0;
  width: 100%;
}
body.gaceta-home .search input::placeholder {
  color: rgba(58, 40, 24, 0.55);
}
body.gaceta-home .search button {
  background: var(--cobre);
  border-left: 1px solid rgba(58, 40, 24, 0.12);
  padding: 0 18px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cafe-oscuro);
}
body.gaceta-home .search button:hover {
  background: var(--oro);
}

body.gaceta-home .cats {
  background: transparent;
  padding: 10px 0 6px;
  width: 100%;
}
body.gaceta-home .cats-inner {
  max-width: 1180px;
  margin: 0 auto;
  gap: 8px;
  padding: 0 var(--page-x);
  scroll-padding-inline: var(--page-x);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
body.gaceta-home .cats-inner::-webkit-scrollbar { display: none; }
body.gaceta-home .cats a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: rgba(244, 239, 230, 0.88);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.2s, box-shadow 0.2s, border-color 0.2s;
}
body.gaceta-home .cats a:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(201, 163, 106, 0.3);
}
body.gaceta-home .cats a.is-on {
  background: var(--cyan-soft);
  border-color: rgba(201, 163, 106, 0.55);
  box-shadow: 0 0 24px var(--glass-glow);
  color: #fff;
}
body.gaceta-home .nav-ico {
  font-size: 15px;
  line-height: 1;
  opacity: 0.9;
}

body.gaceta-home .busqueda-resumen {
  max-width: calc(1180px - var(--page-x) * 2);
  margin: 16px var(--page-x) 0;
  padding: 14px 16px;
  width: auto;
  box-sizing: border-box;
  background: linear-gradient(180deg, rgba(244, 239, 230, 0.08), var(--glass-bg));
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  color: var(--text-muted);
  box-shadow:
    0 8px 32px 0 rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(244, 239, 230, 0.12);
}
body.gaceta-home .busqueda-resumen.vacio {
  background: rgba(255, 180, 0, 0.12);
  border-color: rgba(255, 180, 0, 0.3);
  color: var(--text);
}
body.gaceta-home .busqueda-resumen a {
  color: var(--cyan);
}

body.gaceta-home .hero {
  max-width: 1180px;
  margin: 24px auto 0;
  padding: 0 var(--page-x);
  gap: 24px;
  align-items: stretch;
  width: 100%;
  box-sizing: border-box;
}
body.gaceta-home .hero-welcome {
  padding: 28px 22px;
  min-width: 0;
}
body.gaceta-home .hero-place {
  color: var(--cyan);
  font-size: 12px;
  letter-spacing: 0.12em;
}
body.gaceta-home .hero-welcome h1 {
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.12;
  margin: 8px 0 14px;
  color: #fff;
}
body.gaceta-home .hero-lead {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
}
body.gaceta-home .hero-cta {
  color: #fff;
  font-size: 15px;
  margin-top: 8px;
}

body.gaceta-home .hero-right {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  min-width: 0;
  width: 100%;
}
body.gaceta-home .hero-deco {
  position: absolute;
  inset: 0;
  border-radius: 22px;
  overflow: hidden;
  pointer-events: none;
}
body.gaceta-home .deco-sky {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 53, 47, 0.45) 0%, rgba(36, 22, 14, 0.2) 100%);
}
body.gaceta-home .deco-buildings {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 55%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  padding: 0 12px;
}
body.gaceta-home .bld {
  display: block;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, rgba(201, 163, 106, 0.45), rgba(18, 53, 47, 0.75));
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 -4px 20px rgba(201, 163, 106, 0.15);
}
body.gaceta-home .b1 { width: 48px; height: 55%; }
body.gaceta-home .b2 { width: 36px; height: 72%; background: linear-gradient(180deg, rgba(255, 120, 60, 0.4), rgba(180, 60, 20, 0.5)); }
body.gaceta-home .b3 { width: 56px; height: 88%; }
body.gaceta-home .b4 { width: 40px; height: 65%; background: linear-gradient(180deg, rgba(224, 195, 122, 0.4), rgba(58, 40, 24, 0.65)); }
body.gaceta-home .b5 { width: 44px; height: 48%; }
body.gaceta-home .deco-pins {
  position: absolute;
  inset: 0;
}
body.gaceta-home .pin {
  position: absolute;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  animation: float-pin 4s ease-in-out infinite;
}
body.gaceta-home .p1 { top: 18%; left: 12%; animation-delay: 0s; }
body.gaceta-home .p2 { top: 8%; right: 18%; animation-delay: 1.2s; }
body.gaceta-home .p3 { top: 32%; right: 8%; animation-delay: 2.4s; }
@keyframes float-pin {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

body.gaceta-home .hero-carousel {
  position: relative;
  margin-top: auto;
  z-index: 1;
  overflow: hidden;
}

body.gaceta-home .promo-comida-wrap {
  max-width: 1180px;
  margin: 20px auto 0;
  padding: 0 var(--page-x);
  width: 100%;
  box-sizing: border-box;
}
body.gaceta-home .promo-comida {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 16px;
  line-height: 0;
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.35);
  background: linear-gradient(135deg, rgba(0, 90, 80, 0.55), rgba(16, 37, 53, 0.85));
}
body.gaceta-home .promo-comida img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
  vertical-align: top;
}
body.gaceta-home .promo-comida.sin-img {
  aspect-ratio: 3 / 1;
  min-height: 120px;
  line-height: normal;
}
body.gaceta-home .promo-comida.sin-img img {
  display: none;
}
body.gaceta-home .promo-comida-copy {
  display: none;
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: inherit;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
  color: #fff;
  font-weight: 800;
  font-size: clamp(16px, 2.4vw, 22px);
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}
body.gaceta-home .promo-comida.sin-img .promo-comida-copy {
  display: flex;
}
body.gaceta-home .promo-comida:hover {
  border-color: rgba(201, 163, 106, 0.45);
}
body.gaceta-home .slide-img {
  height: 160px;
  background: linear-gradient(135deg, rgba(18, 53, 47, 0.7), rgba(58, 40, 24, 0.75));
}
body.gaceta-home .slide-body {
  padding: 16px 20px 20px;
}
body.gaceta-home .slide-body h2 {
  font-size: 20px;
  color: #fff;
}
body.gaceta-home .slide-body p {
  color: var(--text-muted);
  font-size: 14px;
}
body.gaceta-home .slide-body a { color: inherit; }
body.gaceta-home .pill {
  background: var(--cyan-soft);
  color: var(--cyan);
  border: 1px solid rgba(201, 163, 106, 0.4);
}
body.gaceta-home .carousel-nav button {
  background: rgba(201, 163, 106, 0.25);
  border: 1px solid rgba(201, 163, 106, 0.4);
  backdrop-filter: blur(8px);
}

body.gaceta-home .grid-3 {
  max-width: 1180px;
  margin: 28px auto 0;
  padding: 0 var(--page-x);
  grid-template-columns: 1fr 340px;
  gap: 24px;
  width: 100%;
  box-sizing: border-box;
}
body.gaceta-home .col-noticias,
body.gaceta-home .col-eventos {
  min-width: 0;
  width: 100%;
}
body.gaceta-home.filtro-activo .grid-3 {
  grid-template-columns: 1fr;
  max-width: 760px;
}

body.gaceta-home .section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
body.gaceta-home .col h2,
body.gaceta-home .directorio h2 {
  font-size: 22px;
  margin: 0;
  padding: 0;
  border: 0;
  color: #fff;
}
body.gaceta-home .events-panel {
  padding: 20px 18px 18px;
}
body.gaceta-home .events-panel h2 {
  margin-bottom: 14px;
}

body.gaceta-home .mini-cal {
  margin-bottom: 16px;
  padding: 12px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
body.gaceta-home .cal-head {
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 10px;
  color: var(--cyan);
}
body.gaceta-home .cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
  font-size: 12px;
}
body.gaceta-home .cal-dow {
  font-weight: 700;
  color: var(--text-muted);
  padding: 4px 0;
  font-size: 10px;
}
body.gaceta-home .cal-day {
  padding: 5px 0;
  border-radius: 8px;
  color: var(--text-muted);
}
body.gaceta-home .cal-day.today {
  background: var(--cyan-soft);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 0 12px rgba(201, 163, 106, 0.3);
}
body.gaceta-home .cal-day.empty { visibility: hidden; }

body.gaceta-home #lista-noticias {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
  min-width: 0;
}
body.gaceta-home #lista-noticias .card {
  min-width: 0;
}
body.gaceta-home.filtro-activo #lista-noticias {
  grid-template-columns: 1fr;
}

body.gaceta-home .card {
  background: linear-gradient(180deg, rgba(244, 239, 230, 0.08), var(--glass-bg));
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  margin-bottom: 0;
  box-shadow:
    0 8px 32px 0 rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(244, 239, 230, 0.12);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
body.gaceta-home .card:hover {
  transform: translateY(-3px);
  border-color: rgba(201, 163, 106, 0.55);
  box-shadow: 0 12px 36px rgba(201, 163, 106, 0.16);
}
body.gaceta-home .foto,
body.gaceta-home .placeholder-img {
  height: 130px;
  background: linear-gradient(135deg, rgba(18, 53, 47, 0.7), rgba(58, 40, 24, 0.7));
}
body.gaceta-home .card-body {
  padding: 14px 16px 18px;
}
body.gaceta-home .card-body h3 {
  font-size: 16px;
  color: #fff;
  line-height: 1.3;
}
body.gaceta-home .card-body p {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
body.gaceta-home .card-body time {
  color: rgba(201, 163, 106, 0.75);
  font-size: 12px;
  font-weight: 600;
}
body.gaceta-home .tag {
  background: rgba(201, 163, 106, 0.15);
  color: var(--cyan);
  border: 1px solid rgba(201, 163, 106, 0.25);
}

body.gaceta-home .card-event {
  background: linear-gradient(180deg, rgba(244, 239, 230, 0.08), var(--glass-bg));
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  margin-bottom: 10px;
  overflow: hidden;
  box-shadow:
    0 8px 32px 0 rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(244, 239, 230, 0.12);
  transition: border-color 0.2s, box-shadow 0.2s;
}
body.gaceta-home .card-event:hover {
  border-color: rgba(201, 163, 106, 0.55);
  box-shadow: 0 8px 24px rgba(201, 163, 106, 0.16);
}
body.gaceta-home .event-date {
  background: linear-gradient(180deg, rgba(201, 163, 106, 0.55), rgba(58, 40, 24, 0.62));
  min-width: 64px;
}
body.gaceta-home .card-event .card-body {
  padding: 12px 14px;
}
body.gaceta-home .card-event h3 {
  font-size: 15px;
  color: #fff;
}
body.gaceta-home .lugar {
  color: var(--text-muted);
  font-size: 13px;
}

body.gaceta-home .directorio {
  max-width: 1180px;
  margin: 28px auto 48px;
  padding: 0 var(--page-x);
  width: 100%;
  box-sizing: border-box;
}
body.gaceta-home .directorio-panel {
  padding: 20px 16px 22px;
}
body.gaceta-home .negocios-carousel-wrap {
  width: 100%;
  min-width: 0;
}
body.gaceta-home .negocios-viewport {
  width: 100%;
}
body.gaceta-home .banners {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  width: 100%;
  max-width: none;
  margin: 0;
}
body.gaceta-home .directorio-panel h2 {
  margin-bottom: 18px;
}
body.gaceta-home .neg-nav {
  background: rgba(201, 163, 106, 0.2);
  border: 1px solid rgba(201, 163, 106, 0.35);
  color: #fff;
}
body.gaceta-home .neg-nav:hover:not(:disabled) {
  background: rgba(201, 163, 106, 0.35);
}
body.gaceta-home .banner {
  background: #000;
  border: 1px solid var(--glass-border);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
  border-radius: 16px;
}
body.gaceta-home .banner-ph {
  background: linear-gradient(135deg, rgba(18, 53, 47, 0.65), rgba(58, 40, 24, 0.7));
}

body.gaceta-home .vacio {
  color: var(--text-muted);
  grid-column: 1 / -1;
}

body.gaceta-home .site-footer {
  background: rgba(18, 53, 47, 0.42);
  border-top: 1px solid rgba(201, 163, 106, 0.22);
  color: var(--text-muted);
  backdrop-filter: blur(16px) saturate(140%);
}
body.gaceta-home .site-footer strong {
  color: #fff;
}

@media (max-width: 1024px) {
  body.gaceta-home #lista-noticias {
    grid-template-columns: repeat(2, 1fr);
  }
  body.gaceta-home .grid-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  body.gaceta-home {
    --page-x: 16px;
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
  }

  body.gaceta-home .header-inner {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "search";
    gap: 12px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  body.gaceta-home .brand {
    grid-area: brand;
    min-width: 0;
  }
  body.gaceta-home .search {
    grid-area: search;
    flex: none;
    width: 100%;
    max-width: none;
    order: unset;
  }
  body.gaceta-home .search input {
    padding: 11px 14px;
    font-size: 16px;
  }
  body.gaceta-home .search button {
    padding: 0 14px;
    flex-shrink: 0;
  }
  body.gaceta-home .brand-name {
    font-size: 20px;
  }
  body.gaceta-home .brand-place {
    font-size: 11px;
  }
  body.gaceta-home .brand-logo {
    height: 58px;
    width: 58px;
  }

  body.gaceta-home .cats a {
    padding: 9px 14px;
    font-size: 13px;
    flex-shrink: 0;
  }

  body.gaceta-home .hero {
    grid-template-columns: 1fr;
    margin-top: 16px;
    gap: 16px;
  }
  body.gaceta-home .hero-welcome {
    padding: 22px 18px;
  }
  body.gaceta-home .hero-welcome h1 {
    font-size: 26px;
  }
  body.gaceta-home .hero-right {
    min-height: 240px;
  }
  body.gaceta-home .slide-img {
    height: 140px;
  }
  body.gaceta-home .slide-body {
    padding: 14px 16px 18px;
  }
  body.gaceta-home .slide-body h2 {
    font-size: 17px;
  }

  body.gaceta-home .grid-3 {
    margin-top: 20px;
    gap: 20px;
  }
  body.gaceta-home #lista-noticias {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  body.gaceta-home .events-panel {
    padding: 18px 14px 16px;
  }
  body.gaceta-home .directorio {
    margin-bottom: 32px;
  }
  body.gaceta-home .directorio-panel {
    padding: 18px 14px 20px;
  }
  body.gaceta-home .site-footer {
    padding-bottom: max(24px, env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 380px) {
  body.gaceta-home .brand-name {
    font-size: 18px;
  }
  body.gaceta-home .cats a {
    padding: 8px 12px;
    font-size: 12px;
  }
  body.gaceta-home .nav-ico {
    display: none;
  }
}

body.gaceta-home .apps-home-wrap {
  max-width: 1180px;
  margin: 18px auto 0;
  padding: 0 var(--page-x);
  width: 100%;
  box-sizing: border-box;
}
body.gaceta-home .apps-home-panel {
  padding: 16px 14px 18px;
}
body.gaceta-home .apps-home-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
body.gaceta-home .apps-home-head h2 {
  margin: 0;
  font-size: 22px;
  color: #fff;
}
body.gaceta-home .apps-home-more {
  font-size: 13px;
  font-weight: 800;
  color: var(--oro);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
body.gaceta-home .apps-lead {
  margin: -8px 0 16px;
  color: var(--text-muted);
  font-size: 14px;
}
body.gaceta-home .apps-carousel-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
}
body.gaceta-home .apps-viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  touch-action: pan-y;
}
body.gaceta-home .apps-banners {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
  max-width: none;
  margin: 0;
}
body.gaceta-home .apps-banners.apps-track {
  display: flex;
  flex-wrap: nowrap;
  transition: transform 0.35s ease;
  will-change: transform;
}
body.gaceta-home .app-banner {
  min-height: 0;
}
body.gaceta-home .apps-track .app-banner {
  flex: 0 0 calc(50% - 5px);
  width: calc(50% - 5px);
}
body.gaceta-home .app-banner img {
  object-fit: contain;
  background: #fff;
}
body.gaceta-home .banner-app-name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: block;
  padding: 28px 10px 8px;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  text-align: center;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
  background: linear-gradient(180deg, transparent, rgba(12, 12, 16, 0.82));
  border-radius: 0 0 15px 15px;
}
body.gaceta-home .apps-section {
  margin-top: 8px;
}
body.gaceta-home .apps-carousel-wrap .neg-nav {
  display: flex;
}
@media (max-width: 900px) {
  body.gaceta-home .apps-carousel-wrap .neg-nav {
    display: flex;
    width: 34px;
    height: 34px;
    font-size: 20px;
  }
}
