/* ══════════════════════════════════════════════════════════════
   Páginas de ciudad (diseño V5) — complementa fx.css y sections.css.
   Generadas por scripts/city_v5.py. Solo estilos propios de la ciudad:
   el resto reutiliza los componentes de la home (vk-*, vx-*).
   ══════════════════════════════════════════════════════════════ */

/* ── Hero: texto + ficha de la ciudad ── */
.vc-hero { padding: 150px 24px 96px; overflow: hidden; }
.vc-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.vc-h1 { margin: 0 0 22px; font-size: clamp(2.3rem, 4.8vw, 3.9rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.04; color: var(--vy-ink, #09101f); }
.vc-h1 .vx-grad { display: block; }
.vc-hero .vx-lead { max-width: 560px; margin: 0 0 30px; }
.vc-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.vc-hero .btn-ghost { color: var(--vy-ink, #09101f); border-color: rgb(9 16 31 / 18%); background: #fff; }
.vc-micro { margin: 18px 0 0; font-size: .86rem; color: #64748b; }
.vc-micro b { color: #0f7a3d; font-weight: 600; }

.vc-card-wrap { position: relative; padding: 28px; border-radius: 24px; border: 1px solid var(--vk-line, rgb(9 16 31 / 9%)); }
.vc-card-wrap .vk-pc { max-width: none; width: 100%; }
.vc-card-k { margin: 0 0 4px; font-family: var(--vy-mono, ui-monospace, monospace); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: #2563eb; }
.vc-card-h { margin: 0 0 14px; font-size: 1.05rem; font-weight: 600; color: var(--vy-ink, #09101f); }
.vc-facts { margin: 0; }
.vc-facts > div { display: grid; grid-template-columns: 128px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--vk-line, rgb(9 16 31 / 9%)); }
.vc-facts > div:first-child { border-top: 0; }
.vc-facts dt { font-family: var(--vy-mono, ui-monospace, monospace); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: #64748b; padding-top: 2px; }
.vc-facts dd { margin: 0; font-size: .9rem; line-height: 1.5; color: var(--vy-ink, #09101f); }
.vc-facts a { color: #2563eb; text-decoration: none; }

/* ── Intro ── */
.vc-intro-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.vc-intro-txt p { margin: 0 0 1.1rem; font-size: 1.04rem; line-height: 1.75; color: #475166; }
.vc-tools { margin-top: 28px; }

/* ── Tarjetas «por qué» ── */
.vc-why .vk-res-c h3 { margin-top: 6px; }
.vc-why .vx-ico { width: 22px; height: 22px; color: #2563eb; }

/* ── Chips (sectores, servicios locales, ciudades cercanas) ── */
.vc-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.vc-chips a, .vc-chips span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--vk-line, rgb(9 16 31 / 9%)); background: #fff; font-size: .9rem; color: var(--vy-ink, #09101f); text-decoration: none; transition: border-color .2s, color .2s, transform .2s; }
.vc-chips a:hover { border-color: #2563eb; color: #2563eb; transform: translateY(-1px); }
.vc-chips small { color: #64748b; font-size: .78rem; }
.vc-sub-h { margin: 44px 0 16px; font-size: 1.05rem; font-weight: 600; color: var(--vy-ink, #09101f); }

.vc-sub-h--flush { margin-top: 0; }

/* ── Sectores: rejilla de tarjetas numeradas ── */
.vc-sectors { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; border: 1px solid var(--vk-line, rgb(9 16 31 / 9%)); border-radius: 18px; overflow: hidden; background: #fff; }
.vc-sectors li { padding: 22px 24px; border-right: 1px solid var(--vk-line, rgb(9 16 31 / 9%)); border-bottom: 1px solid var(--vk-line, rgb(9 16 31 / 9%)); font-weight: 500; color: var(--vy-ink, #09101f); }
.vc-sectors li b { display: block; margin-bottom: 6px; font-family: var(--vy-mono, ui-monospace, monospace); font-size: .7rem; font-weight: 600; letter-spacing: .14em; color: #2563eb; }

/* ── Casos (sección oscura con cubos) ── */
.vc-cases .vk-cube-card { cursor: default; }
.vc-cases .vk-cube-body p { margin: 0; }

/* ── Zona y ciudades cercanas ── */
.vc-zone { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.vc-zone p { color: #475166; line-height: 1.7; }
.vc-zone .vy-coverage-form { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 18px; }
.vc-zone .vy-coverage-form input { flex: 1; min-width: 200px; padding: .85rem 1rem; border-radius: .75rem; border: 1px solid rgb(9 16 31 / 18%); font-size: .95rem; color: #09101f; background: #fff; }
.vc-zone .vy-coverage-result { display: none; margin-top: 1rem; color: #0f7a3d; font-weight: 600; font-size: .97rem; }
.vc-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; }

.vc-all { margin-top: 26px; border-top: 1px solid var(--vk-line, rgb(9 16 31 / 9%)); padding-top: 16px; }
.vc-all summary { cursor: pointer; font-weight: 600; font-size: .92rem; color: var(--vy-ink, #09101f); }
.vc-all ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px 16px; margin: 14px 0 0; padding: 0; list-style: none; }
.vc-all a { font-size: .85rem; color: #475166; text-decoration: none; }
.vc-all a:hover { color: #2563eb; }

/* ── Botón fijo en móvil ── */
.vc-sticky { display: none; }

@media (max-width: 900px) {
  .vc-hero { padding: 120px 16px 64px; }
  .vc-hero-grid, .vc-intro-grid, .vc-zone { grid-template-columns: 1fr; gap: 36px; }
  .vc-facts > div { grid-template-columns: 1fr; gap: 2px; }
}
@media (max-width: 768px) {
  .vc-sticky { display: flex; position: fixed; left: 12px; right: 88px; bottom: 16px; z-index: 900; justify-content: center; align-items: center; min-height: 52px; border-radius: 14px; background: linear-gradient(135deg, #38bdf8, #2563eb 55%, #1e40af); color: #fff; font-weight: 600; font-size: .98rem; text-decoration: none; box-shadow: 0 10px 30px rgb(37 99 235 / 35%); }
  body.vc-page { padding-bottom: 76px; }
}
