/* ═══════════════════════════════════════════════════════════════
   V2GO — Página de ciudad
   ═══════════════════════════════════════════════════════════════
   Mismo sistema que la home: lienzo hueso, el navy como forma y no
   como fondo, ámbar en píldoras, todo redondo.

   Lo propio de estas páginas es el mapa: cada ciudad se ubica en el
   país con su punto encendido y el resto de la red apagada. Sale del
   mismo trazado que usa la sección de cobertura de la home.
   ═══════════════════════════════════════════════════════════════ */

/* ═══ PORTADA ═════════════════════════════════════════════════ */
.v2-ciu-hero {
  min-height: 78svh;
  display: flex;
  align-items: flex-end;
  padding-block: clamp(9rem, 15vw, 12rem) clamp(3rem, 6vw, 5rem);
}
.v2-ciu-hero__toma {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 58%;
}
/* Las fotos de ciudad son de día y con cielo: el velo estándar,
   calibrado para las tomas oscuras de la operación, dejaba el texto
   sin contraste. Acá pesa más y sube desde abajo, que es donde está
   el titular. */
.v2-ciu-hero .v2-full__veil {
  background:
    linear-gradient(to top, rgba(12, 26, 35, 0.93) 0%, rgba(12, 26, 35, 0.72) 34%,
                    rgba(12, 26, 35, 0.34) 66%, rgba(12, 26, 35, 0.20) 100%),
    linear-gradient(100deg, rgba(18, 36, 47, 0.62) 0%, rgba(18, 36, 47, 0.16) 62%);
}

.v2-ciu-hero__arc1 { width: 42vw; max-width: 560px; aspect-ratio: 1; top: -20%; right: -6%; opacity: 0.92; display: none; }
.v2-ciu-hero__arc2 { width: 168px; aspect-ratio: 1; bottom: -64px; right: 14%; display: none; }
.v2-ciu-hero__vert { top: 44%; right: 16px; }
.v2-ciu-hero__in   { position: relative; z-index: 2; width: 100%; }

.v2-ciu-hero__h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: var(--p-light);
  line-height: 1.02;
  letter-spacing: var(--ls-mega);
  color: #fff;
  margin: var(--s-6) 0 var(--s-6);
  max-width: 20ch;
  text-shadow: 0 2px 30px rgba(10, 22, 30, 0.35);
}
.v2-ciu-hero__h1 em {
  display: inline-block;
  background-color: var(--ambar);
  color: var(--navy);
  font-weight: var(--p-bold);
  font-style: normal;
  border-radius: var(--r-pill);
  padding: 0.06em 0.36em 0.12em;
  line-height: 1.06;
  text-shadow: none;
}
.v2-ciu-hero__sub {
  font-size: var(--t-md);
  line-height: var(--lh-normal);
  color: rgba(255, 255, 255, 0.84);
  max-width: 56ch;
  margin-bottom: var(--s-10);
}
.v2-ciu-hero__act { display: flex; flex-wrap: wrap; gap: var(--s-4); }

/* ═══ CIFRAS — franja ámbar a sangre ══════════════════════════ */
.v2-ciu-cifras { background-color: var(--ambar); }
.v2-ciu-cifras__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s-6);
  padding-block: clamp(var(--s-8), 4vw, var(--s-12));
}
.v2-ciu-cifras__n {
  display: block;
  font-size: clamp(2rem, 3.6vw, var(--t-3xl));
  font-weight: var(--p-bold);
  line-height: 1;
  letter-spacing: var(--ls-mega);
  color: var(--navy);
  margin-bottom: var(--s-3);
}
.v2-ciu-cifras__t {
  display: block;
  font-size: var(--t-base);
  line-height: var(--lh-snug);
  color: rgba(27, 50, 64, 0.78);
}

/* ═══ COBERTURA ═══════════════════════════════════════════════ */
.v2-ciu-cob__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(var(--s-8), 5vw, var(--s-16));
  align-items: start;
}
.v2-ciu-cob__txt > * + * { margin-top: var(--s-5); }
.v2-ciu-cob__txt p { font-size: var(--t-md); line-height: var(--lh-relaxed); color: var(--navy-70); max-width: 52ch; }
.v2-ciu-cob__txt .v2-btn { margin-top: var(--s-8); }

/* La ciudad en el país */
.v2-ciu-mapa {
  background-color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(var(--s-6), 3vw, var(--s-10));
  box-shadow: var(--sh-suave);
  display: grid;
  grid-template-columns: 196px minmax(0, 1fr);
  gap: clamp(var(--s-6), 3vw, var(--s-10));
  align-items: center;
}
.v2-ciu-mapa__svg { width: 100%; height: auto; overflow: visible; }
/* La ciudad va en ámbar; los municipios que la rodean, en arena. */
.v2-ciu-mapa__vec  { fill: var(--arena); stroke: #fff; stroke-width: 1.5; }
.v2-ciu-mapa__aqui { fill: var(--ambar); stroke: #fff; stroke-width: 2; }
.is-in .v2-ciu-mapa__aqui { animation: v2-ciu-entra 900ms var(--ease) backwards; }
.is-in .v2-ciu-mapa__vec  { animation: v2-ciu-entra 900ms var(--ease) 120ms backwards; }
@keyframes v2-ciu-entra { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .is-in .v2-ciu-mapa__aqui, .is-in .v2-ciu-mapa__vec { animation: none; }
}

.v2-ciu-mapa__titulo {
  font-size: var(--t-sm);
  font-weight: var(--p-bold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--navy-50);
  margin-bottom: var(--s-5);
}
.v2-ciu-zonas { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.v2-ciu-zonas li {
  padding: 0.5rem 0.95rem;
  border-radius: var(--r-pill);
  background-color: var(--hueso-2);
  font-size: var(--t-sm);
  color: var(--navy);
}

/* ═══ VENTAJA ═════════════════════════════════════════════════ */
.v2-ciu-vent__caja {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(var(--s-6), 3vw, var(--s-10));
  align-items: start;
  background-color: var(--navy);
  border-radius: var(--r-xl);
  padding: clamp(var(--s-8), 4vw, var(--s-14));
}
.v2-ciu-vent__ico {
  display: flex; align-items: center; justify-content: center;
  width: 68px; height: 68px;
  border-radius: var(--r-pill);
  background-color: var(--ambar);
  color: var(--navy);
}
.v2-ciu-vent__caja h2 {
  font-size: clamp(1.75rem, 3.4vw, var(--t-3xl));
  font-weight: var(--p-light);
  line-height: 1.08;
  letter-spacing: var(--ls-mega);
  color: #fff;
  margin: var(--s-4) 0 var(--s-5);
  max-width: 22ch;
}
.v2-ciu-vent__caja p {
  font-size: var(--t-md);
  line-height: var(--lh-relaxed);
  color: rgba(255, 255, 255, 0.76);
  max-width: 58ch;
}
.v2-ciu-vent__caja .v2-btn { margin-top: var(--s-8); }

/* ═══ SERVICIOS ═══════════════════════════════════════════════ */
.v2-ciu-svc__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(var(--s-5), 2vw, var(--s-8));
}
.v2-ciu-svc__card {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  background-color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(var(--s-8), 3vw, var(--s-10));
  box-shadow: var(--sh-suave);
  transition: transform var(--d-base) var(--ease), box-shadow var(--d-base) var(--ease);
}
.v2-ciu-svc__card:hover { transform: translateY(-5px); box-shadow: var(--sh-media); }
.v2-ciu-svc__ico {
  display: flex; align-items: center; justify-content: center;
  width: 54px; height: 54px;
  border-radius: var(--r-pill);
  background-color: var(--ambar-velo);
  color: var(--ambar-texto);
}
.v2-ciu-svc__card h3 {
  font-size: var(--t-xl);
  font-weight: var(--p-bold);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-tight);
  color: var(--navy);
}
.v2-ciu-svc__card p { font-size: var(--t-base); line-height: var(--lh-relaxed); color: var(--navy-70); }
.v2-ciu-svc__card .v2-link { margin-top: auto; padding-top: var(--s-4); }

/* ═══ OTRAS CIUDADES ══════════════════════════════════════════ */
.v2-ciu-otras__lista { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-8); }
.v2-ciu-otras__lista a {
  display: inline-flex; align-items: center; gap: var(--s-3);
  padding: 0.8rem 1.35rem;
  border-radius: var(--r-pill);
  background-color: #fff;
  box-shadow: var(--sh-suave);
  font-size: var(--t-base);
  color: var(--navy);
  transition: background-color var(--d-fast) var(--ease), color var(--d-fast) var(--ease);
}
.v2-ciu-otras__lista a:hover { background-color: var(--navy); color: #fff; }
.v2-ciu-otras__lista svg { flex: none; }

/* ═══ CIERRE — franja ámbar a sangre ══════════════════════════ */
.v2-ciu-cta { background-color: var(--ambar); }
.v2-ciu-cta__in {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-8); flex-wrap: wrap;
  padding-block: clamp(var(--s-10), 5vw, var(--s-16));
}
.v2-ciu-cta__in h2 {
  font-size: clamp(1.625rem, 3.2vw, var(--t-2xl));
  font-weight: var(--p-light);
  line-height: 1.12;
  letter-spacing: var(--ls-mega);
  color: var(--navy);
  max-width: 22ch;
}
.v2-ciu-cta__in p { font-size: var(--t-base); color: rgba(27, 50, 64, 0.78); margin-top: var(--s-3); max-width: 46ch; }

/* ═══ RESPONSIVE ══════════════════════════════════════════════ */
@media (max-width: 1000px) {
  .v2-ciu-hero__vert { display: none; }
  .v2-ciu-hero__arc1 { width: 70vw; top: -12%; right: -22%; }
  .v2-ciu-cob__grid  { grid-template-columns: minmax(0, 1fr); }
  .v2-ciu-svc__grid  { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v2-ciu-cifras__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-8); }
}
@media (max-width: 700px) {
  .v2-ciu-mapa { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .v2-ciu-mapa__svg { max-width: 190px; }
  .v2-ciu-vent__caja { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  .v2-ciu-hero { min-height: 72svh; padding-block: 7.5rem var(--s-12); }
  .v2-ciu-hero__act { width: 100%; }
  .v2-ciu-hero__act .v2-btn { width: 100%; }
  .v2-ciu-svc__grid { grid-template-columns: minmax(0, 1fr); }
  .v2-ciu-cta__in .v2-btn { width: 100%; }
}
