/* Datos gubernamentales Chancay — clima + atractivos */
.chz-port-tabs { background: #f8fafc; border-bottom: 1px solid #e2e8f0; margin-bottom: 0; }
.chz-port-tabs-inner { display: flex; flex-wrap: wrap; gap: .4rem; padding: .85rem 0; }
.chz-port-tab { font-size: .8rem; }
.chz-port-related { margin-top: 1.5rem; }

/* Vivir en Chancay — hub estilo Shanghai Living */
.chz-living-block { margin-bottom: 2.25rem; }
.chz-living-block h2 { font-size: 1.15rem; margin-bottom: 1rem; color: #0c2340; }
.chz-living-featured {
  display: grid;
  gap: .85rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.chz-living-card {
  display: block;
  padding: 1rem 1.1rem;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  text-decoration: none;
  transition: border-color .15s, box-shadow .15s;
}
.chz-living-card:hover {
  border-color: #1a5a8a;
  box-shadow: 0 6px 20px rgba(12,35,64,.07);
}
.chz-living-card strong { display: block; color: #0c2340; margin-bottom: .35rem; font-size: .95rem; }
.chz-living-card span { font-size: .82rem; color: #475569; line-height: 1.45; }
.chz-living-pillars {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.chz-living-pillar {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1rem 1.15rem;
  background: #f8fafc;
}
.chz-living-pillar h3 { margin: 0 0 .65rem; font-size: 1rem; }
.chz-living-pillar h3 a { color: #0c2340; text-decoration: none; }
.chz-living-pillar ul { margin: 0; padding-left: 1.1rem; font-size: .88rem; }
.chz-living-pillar li { margin-bottom: .3rem; }
.chz-living-wants {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.chz-living-want {
  padding: .45rem .9rem;
  border-radius: 999px;
  background: #0c2340;
  color: #fff;
  font-size: .85rem;
  text-decoration: none;
}
.chz-living-want:hover { background: #1a5a8a; color: #fff; }
.chz-living-widget { margin-bottom: 1.5rem; }
.chz-living-tabs { background: #f8fafc; border-bottom: 1px solid #e2e8f0; }

/* Quiero… — tarjetas estilo Shanghai Living */
.chz-living-block--intents { margin-bottom: 1.75rem; }
.chz-intent-grid {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
@media (max-width: 1100px) { .chz-intent-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .chz-intent-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .chz-intent-grid { grid-template-columns: 1fr; } }
.chz-intent-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  min-height: 148px;
  padding: 1.1rem .85rem;
  border: 1px solid #dbeafe;
  border-radius: 12px;
  background: #fff;
  color: #0c2340;
  text-align: center;
  text-decoration: none;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.chz-intent-card:hover {
  border-color: #1a5a8a;
  box-shadow: 0 10px 28px rgba(12,35,64,.09);
  transform: translateY(-2px);
}
.chz-intent-card .chz-settle-icon { width: 44px; height: 44px; color: #1a5a8a; }
.chz-intent-card__text { display: flex; flex-direction: column; gap: .1rem; line-height: 1.25; }
.chz-intent-card__prefix {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #64748b;
}
.chz-intent-card__line1 {
  font-size: .95rem;
  font-weight: 700;
  color: #0c2340;
}
.chz-intent-card__line2 {
  font-size: .88rem;
  font-weight: 500;
  color: #1a5a8a;
}

/* Establecerse — grid estilo Shanghai */
.chz-settle-grid {
  display: grid;
  gap: .85rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 2rem;
}
@media (max-width: 1100px) { .chz-settle-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .chz-settle-grid { grid-template-columns: repeat(2, 1fr); } }
.chz-settle-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 118px;
  padding: 1rem .75rem;
  border: 1px solid #dbeafe;
  border-radius: 10px;
  background: #fff;
  color: #0c2340;
  text-align: center;
  text-decoration: none;
  font-size: .82rem;
  line-height: 1.35;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.chz-settle-card:hover {
  border-color: #1a5a8a;
  box-shadow: 0 8px 24px rgba(12,35,64,.08);
  transform: translateY(-2px);
}
.chz-settle-card--highlight {
  border-color: #1a5a8a;
  background: linear-gradient(180deg, #f0f7ff 0%, #fff 100%);
  box-shadow: 0 4px 16px rgba(26,90,138,.12);
}
.chz-settle-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #1a5a8a;
}
.chz-settle-icon svg { width: 32px; height: 32px; }

/* Registro comunitario */
.chz-registro-layout { max-width: 760px; }
.chz-registro-intro {
  margin-bottom: 1.5rem;
  padding: 1rem 1.15rem;
  border-radius: 12px;
  background: #f0f7ff;
  border: 1px solid #bfdbfe;
  font-size: .95rem;
  line-height: 1.55;
}
.chz-registro-form {
  padding: 1.25rem 1.35rem;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
}
.chz-form-grid {
  display: grid;
  gap: 1rem 1.1rem;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 1rem;
}
@media (max-width: 640px) { .chz-form-grid { grid-template-columns: 1fr; } }
.chz-form-field { display: flex; flex-direction: column; gap: .35rem; }
.chz-form-field--full { grid-column: 1 / -1; }
.chz-form-field span { font-size: .85rem; font-weight: 600; color: #0c2340; }
.chz-form-field em { color: #c2410c; font-style: normal; }
.chz-form-field input,
.chz-form-field select,
.chz-form-field textarea {
  padding: .55rem .7rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font: inherit;
  font-size: .92rem;
}
.chz-form-field input:focus,
.chz-form-field select:focus,
.chz-form-field textarea:focus {
  outline: 2px solid #93c5fd;
  border-color: #1a5a8a;
}
.chz-form-consent {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
  font-size: .82rem;
  color: #475569;
  line-height: 1.45;
  margin-bottom: 1.1rem;
}
.chz-form-consent input { margin-top: .2rem; flex-shrink: 0; }
.chz-form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; }
.chz-registro-submit {
  padding: .65rem 1.35rem;
  border: 0;
  border-radius: 999px;
  background: #0c2340;
  color: #fff;
  font-weight: 600;
  font-size: .92rem;
  cursor: pointer;
}
.chz-registro-submit:hover { background: #1a5a8a; }
.chz-form-flash {
  margin-bottom: 1rem;
  padding: .85rem 1rem;
  border-radius: 10px;
  font-size: .9rem;
}
.chz-form-flash--success { background: #ecfdf5; border: 1px solid #6ee7b7; color: #065f46; }
.chz-form-flash--error { background: #fef2f2; border: 1px solid #fca5a5; color: #991b1b; }
.chz-registro-faq { margin-top: 2rem; }
.chz-hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.chz-gov-filters { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1rem; }
.chz-gov-pill {
  padding: .4rem .85rem;
  border-radius: 999px;
  border: 1px solid #ddd;
  font-size: .82rem;
  text-decoration: none;
  color: #444;
  background: #fff;
}
.chz-gov-pill.is-active, .chz-gov-pill:hover {
  background: #0c2340;
  color: #fff;
  border-color: #0c2340;
}
.chz-gov-meta { font-size: .8rem; color: #64748b; margin-bottom: 1.25rem; }
.chz-atractivos-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.chz-atractivo-card.has-image a { padding: 0; }
.chz-atractivo-thumb {
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  background: #e2e8f0;
}
.chz-atractivo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.chz-atractivo-card.has-image h2,
.chz-atractivo-card.has-image .chz-atractivo-meta,
.chz-atractivo-card.has-image .chz-atractivo-sub,
.chz-atractivo-card.has-image .chz-atractivo-excerpt {
  padding-left: 1.15rem;
  padding-right: 1.15rem;
}
.chz-atractivo-card.has-image h2 { padding-top: .85rem; margin-bottom: .25rem; }
.chz-atractivo-card.has-image .chz-atractivo-meta { padding-bottom: 1.1rem; }
.chz-atractivo-excerpt { margin: 0 0 .5rem; font-size: .82rem; color: #475569; line-height: 1.45; }
.chz-atractivo-hero { position: relative; overflow: hidden; color: #fff; }
.chz-atractivo-hero .container { position: relative; z-index: 1; }
.chz-atractivo-hero h1, .chz-atractivo-hero .lead, .chz-atractivo-hero .hero-eyebrow { color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.45); }
.chz-atractivo-hero-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.chz-atractivo-hero-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12,35,64,.55) 0%, rgba(12,35,64,.82) 100%);
}
.chz-atractivo-figure { margin: 0 0 1rem; border-radius: 10px; overflow: hidden; }
.chz-atractivo-figure img { width: 100%; height: auto; display: block; }
.chz-atractivo-figure figcaption { font-size: .72rem; color: #64748b; padding: .35rem .5rem 0; }
.chz-atractivo-highlights { margin: 0 0 1rem; padding-left: 1.1rem; font-size: .85rem; color: #334155; }
.chz-atractivo-highlights li { margin-bottom: .25rem; }
.chz-atractivo-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.chz-atractivo-card:hover {
  border-color: #1a5a8a;
  box-shadow: 0 8px 24px rgba(12,35,64,.08);
  transform: translateY(-2px);
}
.chz-atractivo-card a {
  display: block;
  padding: 1.15rem 1.25rem;
  color: inherit;
  text-decoration: none;
}
.chz-atractivo-icon { font-size: 1.5rem; display: block; margin-bottom: .35rem; }
.chz-atractivo-card h2 { margin: 0 0 .35rem; font-size: 1.05rem; line-height: 1.35; color: #0c2340; }
.chz-atractivo-meta { margin: 0; font-size: .82rem; color: #64748b; }
.chz-atractivo-sub { margin: .35rem 0 0; font-size: .8rem; color: #475569; }
.chz-atractivo-detail {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .chz-atractivo-detail { grid-template-columns: 280px 1fr; }
}
.chz-atractivo-facts dl { margin: 0 0 1rem; }
.chz-atractivo-facts dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: #64748b; margin-top: .75rem; }
.chz-atractivo-facts dt:first-child { margin-top: 0; }
.chz-atractivo-facts dd { margin: .15rem 0 0; font-weight: 500; color: #0c2340; }
.chz-map-link { margin-top: .5rem; display: inline-flex; }
.chz-hub-links { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.25rem; }
.chz-hub-link-card {
  flex: 1 1 220px;
  padding: .9rem 1.1rem;
  border-radius: 10px;
  border: 1px solid #bae6fd;
  background: #f0f9ff;
  text-decoration: none;
  color: inherit;
}
.chz-hub-link-card strong { display: block; color: #0c2340; }
.chz-hub-link-card span { font-size: .82rem; color: #475569; }

/* Home — datos oficiales Chancay */
.section-home-gov { background: linear-gradient(180deg, #f8fafc 0%, #fff 100%); }
.home-gov-layout {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .home-gov-layout { grid-template-columns: minmax(260px, 300px) 1fr; align-items: start; }
}
.home-gov-clima {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 14px;
  transition: box-shadow .15s, transform .15s;
}
.home-gov-clima:hover {
  box-shadow: 0 10px 28px rgba(12,35,64,.1);
  transform: translateY(-2px);
  text-decoration: none;
}
.home-gov-clima .chz-weather { margin: 0; height: 100%; }
.home-gov-clima-cta {
  display: block;
  padding: 0 .25rem .25rem;
  font-size: .82rem;
  font-weight: 600;
  color: #1a5a8a;
}
.home-gov-atractivos-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .5rem;
  margin-bottom: .85rem;
}
.home-gov-atractivos-head h3 { margin: 0; font-size: 1.1rem; color: #0c2340; }
.home-gov-atractivos-head a { font-size: .85rem; font-weight: 600; }
.home-gov-atractivos-grid {
  display: grid;
  gap: .85rem;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}
@media (min-width: 640px) {
  .home-gov-atractivos-grid { grid-template-columns: repeat(3, 1fr); }
}
.home-gov-attr-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.home-gov-attr-card:hover {
  border-color: #1a5a8a;
  box-shadow: 0 8px 22px rgba(12,35,64,.08);
  transform: translateY(-2px);
  text-decoration: none;
}
.home-gov-attr-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
  background: #e2e8f0;
}
.home-gov-attr-name {
  display: block;
  padding: .65rem .75rem .15rem;
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.35;
  color: #0c2340;
}
.home-gov-attr-excerpt {
  display: block;
  padding: 0 .75rem .7rem;
  font-size: .75rem;
  color: #64748b;
  line-height: 1.4;
}

/* INEI — Chancay en cifras */
.chz-datos-layout { display: grid; gap: 1.5rem; }
.chz-datos-widget {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
}
.chz-datos-kpis {
  display: grid;
  gap: .85rem;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}
.chz-datos-kpi-label { display: block; font-size: .75rem; color: #64748b; text-transform: uppercase; letter-spacing: .04em; }
.chz-datos-kpi-value { display: block; font-size: 1.65rem; line-height: 1.15; color: #0c2340; margin: .15rem 0; }
.chz-datos-kpi-sub { display: block; font-size: .78rem; color: #64748b; }
.chz-datos-meta, .chz-datos-links { font-size: .82rem; color: #64748b; margin-top: .85rem; }
.chz-datos-table-wrap { overflow-x: auto; margin: 1rem 0 1.5rem; }
.chz-datos-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
}
.chz-datos-table th,
.chz-datos-table td {
  padding: .55rem .7rem;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
}
.chz-datos-table th { background: #f1f5f9; font-weight: 600; }
.chz-datos-table tr.is-highlight td { background: #eff6ff; font-weight: 600; }
.chz-datos-table tfoot th { background: #e2e8f0; }
.chz-port-widget { margin-bottom: 1rem; }
.chz-hub-stats { margin-bottom: 1rem; }

/* —— Gráficos datos oficiales —— */
.chz-gov-dashboard { margin: 1.5rem 0 2rem; }
.chz-gov-dashboard--clima { margin-top: 1rem; }
.chz-chart-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .chz-chart-grid { grid-template-columns: repeat(2, 1fr); }
}
.chz-chart-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1rem 1.1rem 1.15rem;
  box-shadow: 0 4px 18px rgba(12, 35, 64, .05);
}
.chz-chart-card--wide { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .chz-chart-card--wide { grid-column: span 2; }
  .chz-chart-grid:has(.chz-chart-card--ring) .chz-chart-card--wide { grid-column: 1 / 2; }
}
.chz-chart-card--ring {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: .75rem;
  min-height: 220px;
}
.chz-chart { margin: 0; }
.chz-chart figcaption strong {
  display: block;
  font-size: 1rem;
  color: #0c2340;
  margin-bottom: .15rem;
}
.chz-chart-sub {
  margin: 0;
  font-size: .78rem;
  color: #64748b;
  line-height: 1.4;
}
.chz-chart-unit {
  margin: .65rem 0 0;
  font-size: .72rem;
  color: #94a3b8;
}

/* Barras verticales */
.chz-chart-bars {
  display: flex;
  align-items: flex-end;
  gap: .45rem;
  min-height: 200px;
  padding-top: 1.5rem;
  margin-top: .5rem;
}
.chz-chart-bar-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
}
.chz-chart-bar-val {
  font-size: .68rem;
  font-weight: 700;
  color: #0c2340;
  white-space: nowrap;
}
.chz-chart-bar-track {
  width: 100%;
  max-width: 48px;
  height: 140px;
  background: #f1f5f9;
  border-radius: 6px 6px 2px 2px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.chz-chart-bar-fill {
  width: 100%;
  background: linear-gradient(180deg, #38bdf8, #0ea5e9);
  border-radius: 6px 6px 2px 2px;
  min-height: 4px;
  transition: height .3s ease;
}
.chz-chart-bar-col.is-highlight .chz-chart-bar-fill {
  background: linear-gradient(180deg, #fb923c, #ea580c);
}
.chz-chart-bar-lbl {
  font-size: .72rem;
  font-weight: 600;
  color: #475569;
}
.chz-chart-bar-meta {
  font-size: .62rem;
  color: #94a3b8;
  text-align: center;
  line-height: 1.2;
}

/* Barras horizontales */
.chz-chart-hbars { display: flex; flex-direction: column; gap: .55rem; margin-top: .65rem; }
.chz-chart-hbar-row {
  display: grid;
  grid-template-columns: minmax(72px, 1.1fr) 2fr auto;
  gap: .5rem .65rem;
  align-items: center;
}
@media (max-width: 480px) {
  .chz-chart-hbar-row { grid-template-columns: 1fr; gap: .2rem; }
  .chz-chart-hbar-track { order: 2; }
  .chz-chart-hbar-val { order: 3; justify-self: start; }
}
.chz-chart-hbar-label {
  font-size: .82rem;
  font-weight: 500;
  color: #334155;
  line-height: 1.25;
}
.chz-chart-hbar-track {
  height: 10px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}
.chz-chart-hbar-fill {
  height: 100%;
  background: linear-gradient(90deg, #38bdf8, #0284c7);
  border-radius: 999px;
  min-width: 2px;
}
.chz-chart-hbar-row.is-highlight .chz-chart-hbar-label { font-weight: 700; color: #0c2340; }
.chz-chart-hbar-row.is-highlight .chz-chart-hbar-fill {
  background: linear-gradient(90deg, #fb923c, #c2410c);
}
.chz-chart-hbar-val {
  font-size: .8rem;
  font-weight: 700;
  color: #0c2340;
  white-space: nowrap;
}
.chz-chart-hbar-meta { display: none; }

/* Anillo de participación */
.chz-chart-ring {
  --ring-size: 132px;
  --ring-bg: #e2e8f0;
  --ring-color: #0ea5e9;
  width: var(--ring-size);
  height: var(--ring-size);
  border-radius: 50%;
  background: conic-gradient(var(--ring-color) calc(var(--ring-pct) * 1deg), var(--ring-bg) 0);
  display: grid;
  place-items: center;
  position: relative;
}
.chz-chart-ring--compact { --ring-size: 96px; }
.chz-chart-ring-inner {
  width: calc(var(--ring-size) - 28px);
  height: calc(var(--ring-size) - 28px);
  border-radius: 50%;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: .35rem;
  box-shadow: inset 0 0 0 1px #e2e8f0;
}
.chz-chart-ring-inner strong {
  font-size: 1.35rem;
  line-height: 1;
  color: #0c2340;
}
.chz-chart-ring--compact .chz-chart-ring-inner strong { font-size: 1rem; }
.chz-chart-ring-label {
  font-size: .72rem;
  font-weight: 600;
  color: #475569;
  margin-top: .2rem;
  line-height: 1.2;
}
.chz-chart-ring-sub {
  font-size: .65rem;
  color: #94a3b8;
  line-height: 1.2;
}
.chz-chart-kpi-note {
  margin: 0;
  font-size: .82rem;
  color: #64748b;
}
.chz-chart-kpi-note strong { color: #0c2340; }

/* Temperatura SENAMHI */
.chz-chart-temp-scale {
  display: flex;
  justify-content: space-between;
  font-size: .72rem;
  color: #94a3b8;
  margin: .5rem 0 .25rem;
  padding: 0 .25rem;
}
.chz-chart-temp-cols {
  display: flex;
  gap: .5rem;
  align-items: flex-end;
  min-height: 160px;
  padding: .5rem .25rem 0;
  border-top: 1px dashed #e2e8f0;
}
.chz-chart-temp-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .25rem;
  min-width: 0;
}
.chz-chart-temp-track {
  position: relative;
  width: 100%;
  max-width: 36px;
  height: 120px;
  background: linear-gradient(180deg, #fef3c7 0%, #e0f2fe 55%, #dbeafe 100%);
  border-radius: 8px;
}
.chz-chart-temp-range {
  position: absolute;
  left: 15%;
  right: 15%;
  border-radius: 6px;
  background: linear-gradient(180deg, #f97316, #0ea5e9);
  box-shadow: 0 2px 8px rgba(14, 165, 233, .35);
}
.chz-chart-temp-max,
.chz-chart-temp-min {
  font-size: .7rem;
  font-weight: 700;
  color: #0c2340;
}
.chz-chart-temp-lbl {
  font-size: .72rem;
  font-weight: 600;
  color: #475569;
  text-align: center;
}

.chz-chart-table-details {
  margin: .75rem 0 1.25rem;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: .5rem .85rem;
  background: #f8fafc;
}
.chz-chart-table-details summary {
  cursor: pointer;
  font-size: .85rem;
  font-weight: 600;
  color: #1a5a8a;
  padding: .35rem 0;
}
.chz-chart-table-details[open] summary { margin-bottom: .65rem; }
.chz-chart-table-details .chz-datos-table-wrap,
.chz-chart-table-details .chz-datos-proj-table-wrap { margin: 0; }

/* Municipalidad Distrital de Chancay */
.chz-municipality-card {
  margin: 0 0 2rem;
  padding: 1.35rem 1.5rem;
  border: 1px solid #c7d9ea;
  border-radius: 14px;
  background: linear-gradient(135deg, #f0f7fc 0%, #fff 55%);
}
.chz-municipality-card--compact { margin-bottom: 1.25rem; }
.chz-municipality-eyebrow {
  margin: 0 0 .35rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #1a5a8a;
}
.chz-municipality-title {
  margin: 0 0 .4rem;
  font-size: 1.2rem;
  color: #0c2340;
}
.chz-municipality-slogan {
  margin: 0 0 1rem;
  font-size: .9rem;
  color: #475569;
  font-style: italic;
}
.chz-municipality-row {
  margin: 0 0 .65rem;
  font-size: .88rem;
  line-height: 1.5;
}
.chz-municipality-row strong {
  display: block;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #64748b;
  margin-bottom: .15rem;
}
.chz-municipality-links,
.chz-municipality-social {
  margin: .85rem 0;
  font-size: .88rem;
}
.chz-municipality-links a,
.chz-municipality-social a { font-weight: 600; color: #1a5a8a; }
.chz-municipality-contacts {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: .86rem;
  line-height: 1.55;
}
.chz-municipality-contacts li { margin-bottom: .45rem; }
.chz-municipality-emergency {
  margin-top: 1rem;
  font-size: .84rem;
}
.chz-municipality-emergency summary {
  cursor: pointer;
  font-weight: 600;
  color: #0c2340;
}
.chz-municipality-emergency ul {
  margin: .5rem 0 0;
  padding-left: 1.1rem;
}
.chz-municipality-news {
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}
.chz-municipality-news h3 {
  margin: 0 0 .6rem;
  font-size: .95rem;
  color: #0c2340;
}
.chz-municipality-news ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: .84rem;
  line-height: 1.5;
}
.chz-municipality-news time { color: #64748b; white-space: nowrap; }

/* Hacer negocios — hub estilo Shanghai Do Business */
.chz-biz-langbar {
  background: #0c2340;
  color: #e2e8f0;
  font-size: .72rem;
}
.chz-biz-langbar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 1rem;
  padding: .45rem 0;
}
.chz-biz-langbar-label {
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #94a3b8;
  white-space: nowrap;
}
.chz-biz-langbar-list {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.chz-biz-langbar-list a {
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 600;
}
.chz-biz-langbar-list a:hover { color: #fff; text-decoration: underline; }
.chz-biz-hero { margin-bottom: 0; }
.chz-biz-stats-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.chz-biz-opp-grid {
  display: grid;
  gap: .85rem;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.chz-biz-opp-card {
  display: block;
  padding: 1rem 1.1rem;
  border: 1px solid #c7d9ea;
  border-radius: 12px;
  background: #f8fafc;
  text-decoration: none;
  transition: border-color .15s, box-shadow .15s;
}
.chz-biz-opp-card:hover {
  border-color: #1a5a8a;
  box-shadow: 0 6px 18px rgba(12,35,64,.08);
}
.chz-biz-opp-card strong {
  display: block;
  color: #0c2340;
  margin-bottom: .35rem;
  font-size: .92rem;
}
.chz-biz-opp-card span { font-size: .8rem; color: #475569; line-height: 1.45; }
.chz-biz-columns {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.chz-biz-link-list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: .88rem;
  line-height: 1.5;
}
.chz-biz-link-list li {
  margin-bottom: .55rem;
  padding-bottom: .55rem;
  border-bottom: 1px solid #e8eef4;
}
.chz-biz-link-list li:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.chz-biz-link-list a { font-weight: 600; color: #1a5a8a; }
.chz-biz-link-list--grid { columns: 2; column-gap: 1.25rem; }
@media (max-width: 600px) { .chz-biz-link-list--grid { columns: 1; } }
.chz-biz-agency-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.chz-biz-agency {
  display: inline-block;
  padding: .45rem .85rem;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #fff;
  font-size: .82rem;
  font-weight: 600;
  color: #0c2340;
  text-decoration: none;
}
.chz-biz-agency:hover { border-color: #1a5a8a; color: #1a5a8a; }
.chz-biz-contact { margin-top: 1.25rem; font-size: .88rem; }
