/* ========================================================
   Directorio Nagua — Zona Turística
   Estilo tropical inspirado en el catálogo de referencia
   ======================================================== */

#turismo-page {
  --sun:#FFB627; --sun-dark:#8A5A00; --sun-light:#FFF1D6;
  --coral:#FF6B52; --coral-dark:#8A2F1D; --coral-light:#FFE3DC;
  --hibiscus:#E63979; --hibiscus-dark:#7A1642; --hibiscus-light:#FBDCE7;
  --turquoise:#00A99A; --turquoise-dark:#004F47; --turquoise-light:#D2F0EB;
  --palm:#1F8B4C; --palm-dark:#0F4A28; --palm-light:#DEF0E2;
  --sky:#2E86D8; --sky-dark:#123A63; --sky-light:#DCEAF9;
  --t-navy:#0A2E33; --t-navy-2:#0E3A40;
  --t-cream:#FFFBF2; --t-cream-2:#FFF6E6;
  --t-ink:#17302B; --t-ink-soft:#4B5F58; --t-ink-faint:#7E9088;
  --t-line:#EADFC4;

  background: var(--t-cream);
  color: var(--t-ink);
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

#turismo-page h1, #turismo-page h2, #turismo-page h3, #turismo-page h4 {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  color: var(--t-navy);
  margin: 0 0 0.4em;
}
#turismo-page p { margin: 0 0 1em; }
#turismo-page a { color: inherit; }
#turismo-page img { max-width: 100%; display: block; }
#turismo-page .t-wrap { max-width: 1120px; margin: 0 auto; padding: 0 32px; }

/* ---------- Hero ---------- */
#turismo-page .t-hero { position: relative; background: var(--t-navy); color: #fff; overflow: hidden; }
#turismo-page .t-hero-photo { position: relative; height: 42vh; min-height: 300px; max-height: 460px; overflow: hidden; }
#turismo-page .t-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
#turismo-page .t-hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,46,51,0.10) 0%, rgba(10,46,51,0.60) 55%, rgba(10,46,51,0.95) 100%);
}
#turismo-page .t-hero-text { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 32px 44px; }
#turismo-page .t-hero-inner { max-width: 1120px; margin: 0 auto; }
#turismo-page .t-hero-kicker {
  font-family: 'Space Mono', monospace; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--sun); margin-bottom: 16px; font-weight: 700;
}
#turismo-page .t-hero h1 { color: #fff; font-size: clamp(30px,5vw,54px); line-height: 1.05; margin-bottom: 8px; }
#turismo-page .t-hero h1 span { color: var(--sun); display: block; }
#turismo-page .t-hero-sub { color: #F0EADA; font-size: 15.5px; max-width: 620px; margin-bottom: 0; }
#turismo-page .t-hero-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
#turismo-page .t-hero-chip {
  font-family: 'Space Mono', monospace; font-size: 12px; background: rgba(255,255,255,0.12);
  color: #fff; padding: 6px 14px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.25);
}

/* ---------- Barra de navegación sticky por municipio ---------- */
#turismo-page nav.t-index-bar {
  position: sticky; top: 0; z-index: 40; background: rgba(255,251,242,0.97);
  backdrop-filter: blur(6px); border-bottom: 2px solid var(--t-line);
}
#turismo-page .t-index-scroll {
  display: flex; gap: 2px; overflow-x: auto; max-width: 1120px; margin: 0 auto;
  padding: 0 32px; scrollbar-width: none;
}
#turismo-page .t-index-scroll::-webkit-scrollbar { display: none; }
#turismo-page .t-index-scroll a {
  flex: 0 0 auto; font-family: 'Baloo 2', sans-serif; font-weight: 600; font-size: 14.5px;
  text-decoration: none; color: var(--t-ink-soft); padding: 14px 16px; border-bottom: 3px solid transparent; white-space: nowrap;
}
#turismo-page .t-index-scroll a:hover { color: var(--t-navy); border-bottom-color: var(--sun); }

/* ---------- Buscador ---------- */
#turismo-page .t-search-bar { background: var(--t-cream-2); border-bottom: 1px solid var(--t-line); padding: 18px 0; }
#turismo-page .t-search-input-wrap { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
#turismo-page #turismo-buscar {
  flex: 1 1 240px; padding: 11px 16px; border-radius: 30px; border: 1px solid var(--t-line);
  font-family: 'Nunito', sans-serif; font-size: 14.5px; outline: none; background: #fff; color: var(--t-ink);
}
#turismo-page #turismo-buscar:focus { border-color: var(--turquoise); }
#turismo-page .t-cat-filters { display: flex; gap: 8px; flex-wrap: wrap; }
#turismo-page .t-cat-filter-btn {
  font-family: 'Baloo 2', sans-serif; font-weight: 600; font-size: 13px; padding: 8px 14px; border-radius: 20px;
  border: 1px solid var(--t-line); background: #fff; color: var(--t-ink-soft); cursor: pointer; transition: all .15s ease;
}
#turismo-page .t-cat-filter-btn.active, #turismo-page .t-cat-filter-btn:hover { background: var(--t-navy); color: #fff; border-color: var(--t-navy); }

/* ---------- Secciones de municipio ---------- */
#turismo-page section.t-municipio { padding: 36px 0; }
#turismo-page section.t-municipio.alt { background: var(--t-cream-2); }
#turismo-page .t-muni-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  margin-bottom: 14px; padding-bottom: 20px; border-bottom: 4px solid var(--t-navy);
}
#turismo-page .t-muni-eyebrow {
  font-family: 'Space Mono', monospace; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--coral); font-weight: 700; margin-bottom: 6px; display: block;
}
#turismo-page .t-muni-head h2 { font-size: clamp(28px,4vw,42px); margin-bottom: 0; }
#turismo-page .t-muni-intro { font-size: 15.5px; color: var(--t-ink-soft); max-width: 760px; margin: 12px 0 6px; }
#turismo-page .t-muni-stats { font-family: 'Space Mono', monospace; font-size: 12px; color: var(--t-ink-faint); margin-bottom: 20px; }

#turismo-page .t-cat-block { margin-top: 22px; }
#turismo-page .t-cat-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
#turismo-page .t-cat-icon {
  width: 28px; height: 28px; border-radius: 8px; display: flex; align-items: center; justify-content: center;
  flex: 0 0 auto; color: #fff;
}
#turismo-page .t-cat-icon svg { width: 15px; height: 15px; }
#turismo-page .t-cat-head h3 { font-size: 17px; margin-bottom: 0; }
#turismo-page .t-cat-count { font-family: 'Space Mono', monospace; font-size: 12px; color: var(--t-ink-faint); margin-left: 2px; }

#turismo-page .t-card-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
#turismo-page .t-biz-card { background: #fff; border-radius: 12px; overflow: hidden; border-top: 3px solid var(--t-line); box-shadow: 0 2px 8px rgba(10,46,51,0.06); }
#turismo-page .t-biz-photo { width: 100%; height: 120px; object-fit: cover; display: block; background: var(--t-cream-2); }
#turismo-page .t-biz-photo-placeholder {
  width: 100%; height: 120px; display: flex; align-items: center; justify-content: center;
  background: var(--t-cream-2); color: var(--t-ink-faint);
}
#turismo-page .t-biz-photo-placeholder svg { width: 32px; height: 32px; opacity: 0.35; }
#turismo-page .t-biz-body { padding: 12px 14px; display: flex; gap: 10px; justify-content: space-between; align-items: flex-start; }
#turismo-page .t-biz-main { flex: 1 1 auto; min-width: 0; }
#turismo-page .t-biz-name { font-family: 'Baloo 2', sans-serif; font-weight: 600; font-size: 14.5px; color: var(--t-navy); margin-bottom: 4px; line-height: 1.2; }
#turismo-page .t-biz-row { display: flex; gap: 6px; font-size: 11.5px; color: var(--t-ink-soft); margin-bottom: 3px; align-items: flex-start; }
#turismo-page .t-biz-row svg { width: 11px; height: 11px; flex: 0 0 auto; margin-top: 2px; opacity: 0.6; }
#turismo-page .t-biz-note { font-size: 10.5px; color: var(--t-ink-faint); font-style: italic; margin-top: 4px; }
#turismo-page .t-biz-rating { display: inline-block; margin-top: 5px; font-family: 'Space Mono', monospace; font-size: 10.5px; padding: 2px 8px; border-radius: 20px; font-weight: 700; }
#turismo-page .t-biz-qr {
  flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 3px; text-decoration: none;
  padding: 5px; border-radius: 8px; background: var(--t-cream-2); border: 1px solid var(--t-line);
}
#turismo-page .t-biz-qr img { width: 56px; height: 56px; display: block; border-radius: 4px; background: #fff; }
#turismo-page .t-biz-qr span { font-family: 'Space Mono', monospace; font-size: 8.5px; color: var(--t-ink-faint); text-align: center; letter-spacing: 0.02em; line-height: 1.2; }
#turismo-page .t-biz-whatsapp {
  display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-size: 11px; font-weight: 700;
  color: #fff; background: #25D366; padding: 4px 10px; border-radius: 14px; text-decoration: none;
}

#turismo-page .t-leafdiv { display: block; width: 100%; height: 34px; margin: 0; }

#turismo-page .t-prov-callout { background: var(--t-navy); color: #EFE7D3; border-radius: 14px; padding: 22px 26px; margin: 24px 0; }
#turismo-page .t-prov-callout h3 { color: #fff; font-size: 19px; }
#turismo-page .t-prov-callout p { color: #CBD9D4; font-size: 14.5px; margin-bottom: 0; }
#turismo-page .t-prov-callout strong { color: #fff; }

#turismo-page .t-empty-msg { text-align: center; padding: 60px 20px; color: var(--t-ink-faint); font-size: 15px; }

@media (max-width: 900px) {
  #turismo-page .t-wrap { padding: 0 20px; }
  #turismo-page .t-card-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 600px) {
  #turismo-page .t-card-grid { grid-template-columns: 1fr; }
  #turismo-page .t-index-scroll a { padding: 12px 12px; font-size: 13px; }
  #turismo-page .t-biz-qr img { width: 62px; height: 62px; }
  #turismo-page .t-search-input-wrap { flex-direction: column; align-items: stretch; }
}
