﻿:root {
  --dc-accent-secondary: #1a7a24;
  --dc-accent-success:   #2ecc71;
  --dc-accent-warn:      #f1c40f;
  --dc-surface-soft:     #f4f6f9;
  --dc-border-soft:      rgba(15, 41, 67, 0.08);
  --dc-shadow-soft:      0 6px 24px rgba(15, 41, 67, 0.08);
  --dc-radius-card:      16px;
  --dc-radius-pill:      999px;
}

/* ---------- 1. Buscador inteligente del hero ---------- */
.dc-search-bar {
  background: var(--surface-color);
  border-radius: var(--dc-radius-card);
  box-shadow: var(--dc-shadow-soft);
  padding: 18px;
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 1.6fr auto;
  gap: 10px;
  align-items: center;
  margin-top: 28px;
}
.dc-search-bar select,
.dc-search-bar input {
  border: 1px solid var(--dc-border-soft);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: var(--default-font);
  background: var(--surface-color);
  color: var(--default-color);
}
.dc-search-bar button { white-space: nowrap; }
@media (max-width: 768px) {
  .dc-search-bar { grid-template-columns: 1fr; }
}

/* Buscador del navbar */
.dc-nav-search {
  display: flex;
  align-items: center;
  background: color-mix(in srgb, var(--default-color) 5%, transparent);
  border-radius: var(--dc-radius-pill);
  padding: 4px 10px;
  margin: 0 12px;
}
.dc-nav-search input {
  border: none; outline: none; background: transparent;
  font-size: 0.9rem; padding: 6px 8px; min-width: 160px;
  color: var(--default-color);
}
.dc-nav-search i { color: var(--accent-color); }

/* ---------- 2. Card de club ---------- */
.dc-club-card {
  background: var(--surface-color);
  border-radius: var(--dc-radius-card);
  overflow: hidden;
  box-shadow: var(--dc-shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease;
  position: relative;
  height: 100%;
  display: flex; flex-direction: column;
}
.dc-club-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(15,41,67,.14); }
.dc-club-card .dc-club-cover {
  position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--dc-surface-soft);
}
.dc-club-card .dc-club-cover img { width: 100%; height: 100%; object-fit: cover; }
.dc-club-card .dc-club-logo {
  position: absolute; left: 18px; bottom: -28px;
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--surface-color);
  border: 3px solid var(--surface-color);
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
  display: grid; place-items: center; overflow: hidden;
  font-family: var(--heading-font); color: var(--accent-color); font-weight: 700;
}
.dc-club-card .dc-club-body { padding: 38px 18px 18px; flex: 1; display: flex; flex-direction: column; }
.dc-club-card h3 { font-size: 1.15rem; margin: 0 0 4px; color: var(--heading-color); }
.dc-club-card .dc-club-meta {
  display: flex; flex-wrap: wrap; gap: 6px 12px;
  font-size: 0.82rem; color: color-mix(in srgb, var(--default-color) 65%, transparent);
  margin-bottom: 10px;
}
.dc-club-card .dc-club-meta i { color: var(--accent-color); margin-right: 4px; }
.dc-club-card .dc-club-foot {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px;
}

/* Badges de categoría */
.dc-badge {
  display: inline-block; padding: 3px 10px; border-radius: var(--dc-radius-pill);
  font-size: 0.72rem; font-weight: 600; letter-spacing: .3px; text-transform: uppercase;
}
.dc-badge-amateur     { background: color-mix(in srgb, var(--dc-accent-secondary) 12%, transparent); color: var(--dc-accent-secondary); }
.dc-badge-semipro     { background: color-mix(in srgb, var(--dc-accent-warn) 18%, transparent); color: #8a6d09; }
.dc-badge-profesional { background: color-mix(in srgb, var(--accent-color) 15%, transparent); color: var(--accent-color); }
.dc-badge-formativo   { background: color-mix(in srgb, var(--dc-accent-success) 15%, transparent); color: #1e8449; }

/* Botón corazón favorito */
.dc-favorite-btn {
  border: 1px solid var(--dc-border-soft); background: var(--surface-color);
  width: 38px; height: 38px; border-radius: 50%;
  display: inline-grid; place-items: center; cursor: pointer; transition: all .2s;
  color: color-mix(in srgb, var(--default-color) 60%, transparent);
}
.dc-favorite-btn:hover { color: var(--accent-color); border-color: var(--accent-color); }
.dc-favorite-btn.is-active { color: #fff; background: var(--accent-color); border-color: var(--accent-color); }

/* ---------- 3. Fila lista ---------- */
.dc-club-list-row {
  background: var(--surface-color); border-radius: var(--dc-radius-card);
  box-shadow: var(--dc-shadow-soft); padding: 14px;
  display: grid; grid-template-columns: 80px 1fr auto; gap: 16px; align-items: center;
}
.dc-club-list-row .dc-thumb {
  width: 80px; height: 80px; border-radius: 12px; object-fit: cover; background: var(--dc-surface-soft);
}
@media (max-width: 576px) {
  .dc-club-list-row { grid-template-columns: 60px 1fr; }
  .dc-club-list-row .dc-thumb { width: 60px; height: 60px; }
}

/* ---------- 4. Popup de mapa ---------- */
.dc-club-map-popup {
  position: absolute; background: var(--surface-color); border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,.18); padding: 12px; min-width: 220px; z-index: 5;
}

/* ---------- 5. Card de jugador ---------- */
.dc-player-card {
  background: var(--surface-color); border-radius: var(--dc-radius-card);
  box-shadow: var(--dc-shadow-soft); overflow: hidden;
  text-align: center; padding: 24px 18px; position: relative; height: 100%;
  transition: transform .25s ease;
}
.dc-player-card:hover { transform: translateY(-4px); }
.dc-player-card .dc-avatar {
  width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin: 0 auto 14px;
  border: 4px solid var(--surface-color); box-shadow: 0 4px 14px rgba(0,0,0,.12);
}
.dc-player-card h3 { font-size: 1.1rem; margin-bottom: 4px; color: var(--heading-color); }
.dc-player-card .dc-player-meta {
  font-size: 0.85rem; color: color-mix(in srgb, var(--default-color) 65%, transparent); margin-bottom: 10px;
}
.dc-player-card .dc-mini-stats {
  display: flex; justify-content: center; gap: 14px; margin: 14px 0; font-size: 0.8rem;
}
.dc-player-card .dc-mini-stats span strong { display: block; color: var(--accent-color); font-size: 1.1rem; }

/* Estado de jugador */
.dc-status { font-size: 0.7rem; padding: 3px 10px; border-radius: var(--dc-radius-pill); font-weight: 600; }
.dc-status-buscando  { background: color-mix(in srgb, var(--dc-accent-success) 18%, transparent); color: #1e8449; }
.dc-status-conclub   { background: color-mix(in srgb, var(--dc-accent-secondary) 15%, transparent); color: var(--dc-accent-secondary); }
.dc-status-amistosos { background: color-mix(in srgb, var(--dc-accent-warn) 18%, transparent); color: #8a6d09; }

/* ---------- 6. Banda de stats institucionales ---------- */
.dc-stat-band {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  background: var(--surface-color); border-radius: var(--dc-radius-card);
  padding: 30px; box-shadow: var(--dc-shadow-soft);
}
.dc-stat-band .dc-stat { text-align: center; }
.dc-stat-band .dc-stat-num {
  display: block; font-family: var(--heading-font);
  font-size: 2.5rem; font-weight: 700; color: var(--accent-color); line-height: 1;
}
.dc-stat-band .dc-stat-label {
  font-size: 0.9rem; color: color-mix(in srgb, var(--default-color) 70%, transparent);
  text-transform: uppercase; letter-spacing: 1px; margin-top: 8px; display: block;
}
@media (max-width: 768px) { .dc-stat-band { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 7. Pasos "Cómo funciona" ---------- */
.dc-step-card {
  background: var(--surface-color); border-radius: var(--dc-radius-card);
  padding: 28px; box-shadow: var(--dc-shadow-soft); height: 100%; position: relative;
}
.dc-step-card .dc-step-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent-color); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-family: var(--heading-font);
  margin-bottom: 16px;
}
.dc-step-card h3 { font-size: 1.2rem; margin-bottom: 8px; }

/* ---------- 8. Stepper formularios ---------- */
.dc-stepper {
  display: flex; gap: 6px; margin-bottom: 28px; flex-wrap: wrap;
}
.dc-stepper .dc-step-pill {
  flex: 1 1 0; min-width: 120px;
  background: var(--dc-surface-soft); color: color-mix(in srgb, var(--default-color) 60%, transparent);
  padding: 10px 14px; border-radius: 8px; font-size: 0.85rem; font-weight: 600;
  display: flex; align-items: center; gap: 8px;
}
.dc-stepper .dc-step-pill.is-active {
  background: var(--accent-color); color: #fff;
}
.dc-stepper .dc-step-pill .dc-step-circle {
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(255,255,255,.25); display: grid; place-items: center; font-size: .8rem;
}
.dc-form-step { padding: 18px 0; border-top: 1px solid var(--dc-border-soft); }
.dc-form-step h4 { color: var(--heading-color); margin-bottom: 14px; }

/* ---------- 9. Vista previa lateral ---------- */
.dc-preview-card {
  background: var(--surface-color); border-radius: var(--dc-radius-card);
  box-shadow: var(--dc-shadow-soft); padding: 24px; position: sticky; top: 100px;
}
.dc-preview-card .dc-preview-cover {
  height: 100px; background: linear-gradient(135deg, var(--accent-color), var(--dc-accent-secondary));
  border-radius: 12px; margin-bottom: -34px; position: relative;
}
.dc-preview-card .dc-preview-avatar {
  width: 68px; height: 68px; border-radius: 50%; background: #fff;
  border: 3px solid #fff; margin: 0 auto; display: grid; place-items: center;
  position: relative; box-shadow: 0 4px 10px rgba(0,0,0,.12);
  font-family: var(--heading-font); color: var(--accent-color); font-weight: 700;
}

/* ---------- 10. Noticias ---------- */
.dc-news-hero {
  position: relative; border-radius: var(--dc-radius-card); overflow: hidden;
  min-height: 380px; color: #fff; display: flex; align-items: flex-end;
  background: var(--dc-surface-soft);
}
.dc-news-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dc-news-hero .dc-news-hero-overlay {
  position: relative; width: 100%; padding: 30px;
  background: linear-gradient(to top, rgba(15,41,67,.85), transparent);
}
.dc-news-hero h2 { color: #fff; }

.dc-news-card {
  background: var(--surface-color); border-radius: var(--dc-radius-card);
  box-shadow: var(--dc-shadow-soft); overflow: hidden;
  height: 100%; display: flex; flex-direction: column;
  transition: transform .25s ease;
}
.dc-news-card:hover { transform: translateY(-4px); }
.dc-news-card .dc-news-img { aspect-ratio: 16/9; background: var(--dc-surface-soft); overflow: hidden; }
.dc-news-card .dc-news-img img { width: 100%; height: 100%; object-fit: cover; }
.dc-news-card .dc-news-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.dc-news-card h3 { font-size: 1.1rem; color: var(--heading-color); margin-bottom: 8px; }

.dc-news-meta {
  display: flex; flex-wrap: wrap; gap: 8px 14px;
  font-size: 0.78rem; color: color-mix(in srgb, var(--default-color) 65%, transparent);
  margin-bottom: 8px;
}
.dc-news-meta .dc-news-cat {
  background: var(--accent-color); color: #fff; padding: 2px 10px;
  border-radius: var(--dc-radius-pill); font-weight: 600; text-transform: uppercase; font-size: 0.7rem;
}
.dc-news-meta .dc-news-source { display: inline-flex; align-items: center; gap: 4px; }
.dc-news-meta .dc-news-source i { color: var(--accent-color); }

/* ---------- 11. Tabs sticky perfil de club ---------- */
.dc-tabs-sticky {
  position: sticky; top: 80px; z-index: 10;
  background: var(--surface-color); border-bottom: 1px solid var(--dc-border-soft);
  display: flex; gap: 4px; overflow-x: auto;
}
.dc-tabs-sticky a {
  padding: 14px 18px; color: var(--default-color); text-decoration: none;
  font-weight: 500; white-space: nowrap; border-bottom: 3px solid transparent;
}
.dc-tabs-sticky a:hover, .dc-tabs-sticky a.is-active {
  color: var(--accent-color); border-color: var(--accent-color);
}

/* ---------- 12. Match hero (próximo partido) ---------- */
.dc-match-hero {
  background: linear-gradient(135deg, var(--heading-color), var(--dc-accent-secondary));
  color: #fff; border-radius: var(--dc-radius-card); padding: 32px;
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; text-align: center;
}
.dc-match-hero .dc-team { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.dc-match-hero .dc-team img, .dc-match-hero .dc-team .dc-team-mark {
  width: 80px; height: 80px; border-radius: 50%; background: #fff; display: grid; place-items: center;
  color: var(--accent-color); font-family: var(--heading-font); font-weight: 700; font-size: 1.4rem;
}
.dc-match-hero .dc-vs {
  font-family: var(--heading-font); font-size: 2rem; opacity: .9;
}
.dc-match-hero .dc-countdown {
  display: flex; gap: 10px; justify-content: center; margin-top: 16px;
}
.dc-match-hero .dc-countdown div {
  background: rgba(255,255,255,.15); padding: 8px 14px; border-radius: 10px; min-width: 70px;
}
.dc-match-hero .dc-countdown strong { font-size: 1.6rem; display: block; line-height: 1; }
.dc-match-hero .dc-countdown small { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; }
@media (max-width: 768px) { .dc-match-hero { grid-template-columns: 1fr; } }

/* ---------- 13. Match card / fixture ---------- */
.dc-match-card {
  background: var(--surface-color); border-radius: 12px; padding: 16px;
  box-shadow: var(--dc-shadow-soft);
  display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: center; gap: 14px;
}
.dc-match-card .dc-match-date {
  font-size: 0.8rem; color: color-mix(in srgb, var(--default-color) 60%, transparent);
  text-align: center; min-width: 80px;
}
.dc-match-card .dc-match-team { display: flex; align-items: center; gap: 10px; }
.dc-match-card .dc-match-team.dc-away { justify-content: flex-end; }
.dc-match-card .dc-team-logo {
  width: 36px; height: 36px; border-radius: 50%; background: var(--dc-surface-soft);
  display: grid; place-items: center; font-weight: 700; color: var(--accent-color); font-size: .8rem;
}
.dc-match-card .dc-match-score {
  font-family: var(--heading-font); font-weight: 700; font-size: 1.2rem; min-width: 60px; text-align: center;
}
.dc-result-badge {
  display: inline-block; min-width: 22px; padding: 2px 8px; border-radius: 4px;
  font-size: 0.72rem; font-weight: 700; text-align: center; color: #fff;
}
.dc-result-V { background: var(--dc-accent-success); }
.dc-result-E { background: #95a5a6; }
.dc-result-D { background: #e74c3c; }
@media (max-width: 768px) {
  .dc-match-card { grid-template-columns: 1fr 1fr; row-gap: 8px; }
  .dc-match-card .dc-match-date { grid-column: 1 / -1; }
}

/* ---------- 14. Tabla posiciones ---------- */
.dc-standings { width: 100%; border-collapse: collapse; background: var(--surface-color); border-radius: 12px; overflow: hidden; box-shadow: var(--dc-shadow-soft); }
.dc-standings th, .dc-standings td { padding: 10px 12px; text-align: center; font-size: 0.9rem; }
.dc-standings th { background: var(--heading-color); color: #fff; font-weight: 600; }
.dc-standings td:nth-child(2), .dc-standings th:nth-child(2) { text-align: left; }
.dc-standings tr.is-self { background: color-mix(in srgb, var(--accent-color) 10%, transparent); font-weight: 600; }
.dc-standings tr + tr td { border-top: 1px solid var(--dc-border-soft); }

/* ---------- 15. Planes comerciales ---------- */
.dc-plan-card {
  background: var(--surface-color); border-radius: var(--dc-radius-card);
  box-shadow: var(--dc-shadow-soft); padding: 32px; height: 100%;
  display: flex; flex-direction: column; position: relative;
}
.dc-plan-card.is-featured { border: 2px solid var(--accent-color); transform: translateY(-6px); }
.dc-plan-card .dc-plan-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent-color); color: #fff; padding: 4px 14px;
  border-radius: var(--dc-radius-pill); font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
}
.dc-plan-card h3 { color: var(--heading-color); }
.dc-plan-card .dc-plan-price {
  font-family: var(--heading-font); font-size: 2.4rem; color: var(--accent-color); margin: 14px 0;
}
.dc-plan-card .dc-plan-price small { font-size: 0.9rem; color: color-mix(in srgb, var(--default-color) 60%, transparent); }
.dc-plan-card ul { list-style: none; padding: 0; margin: 0 0 20px; flex: 1; }
.dc-plan-card ul li { padding: 8px 0; border-bottom: 1px dashed var(--dc-border-soft); display: flex; align-items: center; gap: 8px; }
.dc-plan-card ul li i.bi-check2 { color: var(--dc-accent-success); }
.dc-plan-card ul li i.bi-x { color: #bbb; }

/* ---------- 16. Formato publicitario ---------- */
.dc-format-card {
  background: var(--surface-color); border-radius: var(--dc-radius-card);
  box-shadow: var(--dc-shadow-soft); padding: 24px; height: 100%;
}
.dc-format-card .dc-format-preview {
  background: var(--dc-surface-soft); border: 2px dashed var(--dc-border-soft);
  border-radius: 10px; height: 120px; display: grid; place-items: center;
  color: color-mix(in srgb, var(--default-color) 50%, transparent);
  font-size: 0.85rem; margin-bottom: 14px;
}

/* ---------- 17. Timeline trayectoria jugador ---------- */
.dc-timeline { position: relative; padding-left: 30px; }
.dc-timeline::before {
  content: ''; position: absolute; left: 8px; top: 0; bottom: 0;
  width: 2px; background: var(--dc-border-soft);
}
.dc-timeline-item { position: relative; padding-bottom: 26px; }
.dc-timeline-item::before {
  content: ''; position: absolute; left: -27px; top: 6px;
  width: 14px; height: 14px; border-radius: 50%; background: var(--accent-color);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-color) 25%, transparent);
}
.dc-timeline-item h4 { color: var(--heading-color); font-size: 1.05rem; margin-bottom: 2px; }
.dc-timeline-item .dc-timeline-period { font-size: 0.8rem; color: var(--accent-color); font-weight: 600; }

/* ---------- 18. Skill bar ---------- */
.dc-skill-bar { margin-bottom: 16px; }
.dc-skill-bar .dc-skill-label { display: flex; justify-content: space-between; font-size: 0.9rem; margin-bottom: 6px; color: var(--heading-color); }
.dc-skill-bar .dc-skill-track {
  height: 8px; background: var(--dc-surface-soft); border-radius: 999px; overflow: hidden;
}
.dc-skill-bar .dc-skill-fill {
  height: 100%; background: linear-gradient(90deg, var(--accent-color), var(--dc-accent-secondary));
  border-radius: 999px; width: 0; transition: width .9s ease;
}

/* ---------- 19. Sport tile (home) ---------- */
.dc-sport-tile {
  background: var(--surface-color); border-radius: var(--dc-radius-card);
  box-shadow: var(--dc-shadow-soft); padding: 22px; text-align: center; height: 100%;
  text-decoration: none; color: var(--default-color); display: block;
  transition: transform .2s, box-shadow .2s;
}
.dc-sport-tile:hover { transform: translateY(-4px); color: var(--accent-color); }
.dc-sport-tile i { font-size: 2.4rem; color: var(--accent-color); }
.dc-sport-tile h3 { font-size: 1rem; margin: 10px 0 4px; color: inherit; }
.dc-sport-tile small { color: color-mix(in srgb, var(--default-color) 60%, transparent); }

/* ---------- 20. Mapa de Chile (SVG estilizado) ---------- */
.dc-region-map {
  background: var(--surface-color); border-radius: var(--dc-radius-card);
  padding: 24px; box-shadow: var(--dc-shadow-soft);
}
.dc-region-map .dc-region-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
}
.dc-region-map .dc-region-cell {
  padding: 12px 10px; border-radius: 8px; cursor: pointer; text-decoration: none;
  background: var(--dc-surface-soft); color: var(--default-color); font-size: 0.85rem;
  transition: all .2s;
  display: flex; justify-content: space-between; align-items: center;
}
.dc-region-map .dc-region-cell:hover { background: var(--accent-color); color: #fff; }
.dc-region-map .dc-region-cell strong { color: var(--accent-color); }
.dc-region-map .dc-region-cell:hover strong { color: #fff; }
@media (max-width: 768px) { .dc-region-map .dc-region-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 21. FAQ accordion (fallback adicional al .faq-item del template) ---------- */
/* Reusamos .faq-item del template; no duplicamos. */

/* ---------- 22. WhatsApp flotante ---------- */
.dc-wa-float {
  position: fixed; right: 22px; bottom: 80px; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: grid; place-items: center; font-size: 1.7rem;
  box-shadow: 0 6px 18px rgba(37, 211, 102, .45);
  text-decoration: none;
  animation: dcPulse 2.4s ease-out infinite;
}
.dc-wa-float:hover { color: #fff; transform: scale(1.05); }
@keyframes dcPulse {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,.55); }
  70%  { box-shadow: 0 0 0 18px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
@media (prefers-reduced-motion: reduce) {
  .dc-wa-float { animation: none; }
}

/* ---------- 23. Share bar ---------- */
.dc-share-bar { display: inline-flex; gap: 8px; }
.dc-share-bar a {
  width: 36px; height: 36px; border-radius: 50%; background: var(--dc-surface-soft);
  display: grid; place-items: center; color: var(--default-color); text-decoration: none;
  transition: all .2s;
}
.dc-share-bar a:hover { background: var(--accent-color); color: #fff; }

/* ---------- 24. Toast ---------- */
.dc-toast {
  position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(100px);
  background: var(--heading-color); color: #fff; padding: 12px 20px;
  border-radius: 10px; box-shadow: 0 6px 20px rgba(0,0,0,.2);
  z-index: 9999; opacity: 0; transition: all .3s ease;
}
.dc-toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- 25. Helpers ---------- */
.dc-page-header { padding: 70px 0 30px; background: var(--dc-surface-soft); }
.dc-page-header h1 { font-family: var(--heading-font); color: var(--heading-color); }
.dc-results-count { color: color-mix(in srgb, var(--default-color) 60%, transparent); }
.dc-section-narrow { max-width: 760px; margin: 0 auto; }
.dc-divider { height: 1px; background: var(--dc-border-soft); margin: 30px 0; }
.dc-tag {
  display: inline-block; background: var(--dc-surface-soft); color: var(--default-color);
  padding: 4px 12px; border-radius: var(--dc-radius-pill); font-size: 0.8rem; margin: 4px 4px 0 0;
  text-decoration: none;
}
.dc-tag:hover { background: var(--accent-color); color: #fff; }

/* Filtros pill horizontales */
.dc-pill-filters {
  display: flex; gap: 8px; flex-wrap: wrap; padding: 0; margin: 0 0 24px; list-style: none;
}
.dc-pill-filters li {
  padding: 8px 16px; background: var(--dc-surface-soft); border-radius: var(--dc-radius-pill);
  cursor: pointer; font-size: 0.88rem; transition: all .2s;
}
.dc-pill-filters li.is-active, .dc-pill-filters li:hover {
  background: var(--accent-color); color: #fff;
}

/* Sidebar filtros */
.dc-filter-sidebar {
  background: var(--surface-color); border-radius: var(--dc-radius-card);
  box-shadow: var(--dc-shadow-soft); padding: 22px; position: sticky; top: 100px;
}
.dc-filter-sidebar h4 { font-size: 1rem; margin: 16px 0 8px; color: var(--heading-color); }
.dc-filter-sidebar h4:first-child { margin-top: 0; }
.dc-filter-sidebar label { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: 0.9rem; cursor: pointer; }

/* Toolbar */
.dc-toolbar {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between;
  padding: 12px 16px; background: var(--surface-color); border-radius: 12px;
  box-shadow: var(--dc-shadow-soft); margin-bottom: 20px;
}
.dc-view-toggle { display: inline-flex; gap: 4px; background: var(--dc-surface-soft); padding: 4px; border-radius: 8px; }
.dc-view-toggle button {
  background: transparent; border: none; padding: 6px 12px; border-radius: 6px; cursor: pointer;
  color: var(--default-color);
}
.dc-view-toggle button.is-active { background: var(--surface-color); color: var(--accent-color); box-shadow: 0 1px 3px rgba(0,0,0,.08); }

/* Mapa placeholder */
.dc-map-placeholder {
  background: linear-gradient(135deg, #cfe3e8, #e6eef0);
  border-radius: var(--dc-radius-card); aspect-ratio: 16/9; position: relative;
  display: grid; place-items: center; color: var(--heading-color);
  border: 1px solid var(--dc-border-soft); overflow: hidden;
}
.dc-map-placeholder::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(15,41,67,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,41,67,.06) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* =============================================
   26. NAVBAR CENTRADO
   ============================================= */
@media (min-width: 1200px) {
  #header .header-container {
    justify-content: center !important;
  }
  #header .logo {
    position: absolute;
    left: 1.5rem;
  }
}

#navmenu a {
  letter-spacing: 0.03em;
}
