/* ═══════════════════════════════════════════════════════════════
   V2GO — Página de servicio
   ═══════════════════════════════════════════════════════════════
   Hereda de la home el tratamiento aprobado: portada a sangre y
   bandas de servicio con la foto llegando al borde de la pantalla.
   Lo propio de estas páginas es el proceso paso a paso.
   ═══════════════════════════════════════════════════════════════ */

/* ═══ PORTADA ═════════════════════════════════════════════════ */
.v2-srv-hero {
  min-height: 76svh;
  display: flex;
  align-items: flex-end;
  padding-block: clamp(9rem, 15vw, 12rem) clamp(3rem, 6vw, 5rem);
}
.v2-srv-hero__toma {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 55%;
}
.v2-srv-hero__arc1 { width: 40vw; max-width: 540px; aspect-ratio: 1; top: -22%; right: -5%; opacity: 0.92; display: none; }
.v2-srv-hero__arc2 { width: 156px; aspect-ratio: 1; bottom: -60px; right: 13%; display: none; }
.v2-srv-hero__vert { top: 44%; right: 16px; }
.v2-srv-hero__in   { position: relative; z-index: 2; width: 100%; }

.v2-srv-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;
  max-width: 24ch;
  text-shadow: 0 2px 30px rgba(10, 22, 30, 0.35);
}
.v2-srv-hero__h1 .v2-marca {
  display: inline-block;
  background-color: var(--ambar);
  color: var(--navy);
  font-weight: var(--p-bold);
  border-radius: var(--r-pill);
  padding: 0.06em 0.36em 0.12em;
  line-height: 1.06;
  text-shadow: none;
}
.v2-srv-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-srv-hero__act { display: flex; flex-wrap: wrap; gap: var(--s-4); align-items: center; }
.v2-srv-hero__sello {
  display: inline-flex; align-items: center; gap: var(--s-3);
  padding: 0.7rem 1.2rem;
  border-radius: var(--r-pill);
  background-color: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: var(--t-sm);
  font-weight: var(--p-bold);
  margin-top: var(--s-8);
}

/* ═══ ENTRADA ═════════════════════════════════════════════════ */
.v2-srv-intro__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-srv-intro__txt > * + * { margin-top: var(--s-5); }
.v2-srv-intro__txt p { font-size: var(--t-md); line-height: var(--lh-relaxed); color: var(--navy-70); max-width: 52ch; }
.v2-srv-intro__txt .v2-btn { margin-top: var(--s-8); }

.v2-srv-cifras {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(var(--s-4), 2vw, var(--s-6));
}
.v2-srv-cifras > div {
  background-color: #fff;
  border-radius: var(--r-lg);
  padding: clamp(var(--s-6), 2.5vw, var(--s-8));
  box-shadow: var(--sh-suave);
}
.v2-srv-cifras__n {
  display: block;
  font-size: clamp(1.875rem, 3.2vw, 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-srv-cifras__t { display: block; font-size: var(--t-base); line-height: var(--lh-snug); color: var(--navy-70); }

/* ═══ BANDAS ══════════════════════════════════════════════════

   Foto en marco redondo a un lado y el texto al otro, alternando el
   lado en cada banda. Es el ritmo que aprobó el cliente.

   Se probaron dos variantes más —foto ancha arriba y foto vertical—
   y las rechazó: dejaban huecos enormes entre el texto y la lista.
   La imagen va redondeada siempre. */
/* La franja lleva el color a todo el ancho; el grid va dentro. */
.v2-srv-franja { background-color: var(--hueso); }
.v2-srv-franja
.v2-srv-banda {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(var(--s-8), 4vw, var(--s-14));
  align-items: center;
  padding-block: clamp(var(--s-12), 6vw, var(--s-20));
}
.v2-srv-banda--flip > .v2-srv-banda__art  { order: 2; }
.v2-srv-banda--flip > .v2-srv-banda__body { order: 1; }
.v2-srv-banda--alt { background-color: var(--hueso-2); }

.v2-srv-banda__art { position: relative; }
.v2-srv-banda__art img {
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 420px;
  object-fit: cover;
  display: block;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-media);
}

/* ── El cuerpo de la banda ───────────────────────────────────── */
.v2-srv-banda__body {
  display: flex; flex-direction: column; align-items: flex-start;
  justify-content: center;
  gap: var(--s-5);
}
.v2-srv-banda__body > * { max-width: 100%; }

.v2-srv-banda__body h2 {
  font-size: clamp(1.875rem, 3.8vw, 3.25rem);
  font-weight: var(--p-light);
  line-height: 1.06;
  letter-spacing: var(--ls-mega);
  color: var(--navy);
}
.v2-srv-banda__body p { font-size: var(--t-md); line-height: var(--lh-relaxed); color: var(--navy-70); max-width: 48ch; }

/* ── Lo que incluye el servicio ──────────────────────────────── */
.v2-srv-puntos { display: flex; flex-direction: column; gap: var(--s-3); width: 100%; max-width: 46rem; }
.v2-srv-puntos li {
  display: flex; align-items: flex-start; gap: var(--s-3);
  padding: 0.75rem 1.15rem;
  border-radius: var(--r-md);
  background-color: #fff;
  box-shadow: var(--sh-suave);
  font-size: var(--t-base);
  line-height: var(--lh-snug);
  color: var(--navy);
}
.v2-srv-puntos li::before {
  content: '';
  width: 9px; height: 9px; flex: none;
  margin-top: 0.45em;
  border-radius: var(--r-pill);
  background-color: var(--ambar);
}

/* ── El detalle, plegado ─────────────────────────────────────────
   El texto largo sigue en la página —cuenta para SEO— pero no se le
   echa encima al lector: se abre solo si lo pide. */
.v2-srv-mas { width: 100%; }
.v2-srv-mas > summary {
  display: inline-flex; align-items: center; gap: var(--s-3);
  cursor: pointer; list-style: none;
  font-size: var(--t-base); font-weight: var(--p-bold); color: var(--navy);
  padding: 0.6rem 0;
}
.v2-srv-mas > summary::-webkit-details-marker { display: none; }
.v2-srv-mas > summary::after {
  content: '';
  width: 26px; height: 26px; border-radius: var(--r-pill);
  background-color: var(--ambar-velo); color: var(--ambar-texto);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 2v8M2 6h8' stroke='%238A5407' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
  transition: transform var(--d-base) var(--ease);
}
.v2-srv-mas[open] > summary::after { transform: rotate(45deg); }
.v2-srv-mas > div { padding-top: var(--s-4); display: flex; flex-direction: column; gap: var(--s-4); }

.v2-srv-nota {
  border-left: 3px solid var(--ambar);
  padding-left: var(--s-5);
}
.v2-srv-nota h3 {
  font-size: var(--t-base);
  font-weight: var(--p-bold);
  letter-spacing: var(--ls-tight);
  color: var(--navy);
  margin-bottom: var(--s-2);
}
.v2-srv-nota p { font-size: var(--t-base); color: var(--navy-50); }

/* ═══ PROCESO ═════════════════════════════════════════════════ */
.v2-srv-proc { background-color: var(--navy); }
.v2-srv-proc .v2-cab h2 { color: #fff; }
.v2-srv-proc .v2-lead { color: rgba(255, 255, 255, 0.72); }

.v2-srv-pasos {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(var(--s-4), 2vw, var(--s-6));
  counter-reset: paso;
}
.v2-srv-pasos li {
  position: relative;
  padding-top: var(--s-12);
}
.v2-srv-pasos li::before {
  counter-increment: paso;
  content: counter(paso, decimal-leading-zero);
  position: absolute; top: 0; left: 0;
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
  border-radius: var(--r-pill);
  background-color: var(--ambar);
  color: var(--navy);
  font-size: var(--t-base);
  font-weight: var(--p-bold);
}
.v2-srv-pasos li::after {
  content: '';
  position: absolute; top: 26px; left: 52px; right: calc(-1 * clamp(1rem, 2vw, 1.5rem));
  height: 1px;
  background-color: rgba(255, 255, 255, 0.18);
}
.v2-srv-pasos li:last-child::after { display: none; }
.v2-srv-pasos h3 {
  font-size: var(--t-lg);
  font-weight: var(--p-bold);
  letter-spacing: var(--ls-tight);
  color: #fff;
  margin-bottom: var(--s-3);
}
.v2-srv-pasos p { font-size: var(--t-base); line-height: var(--lh-snug); color: rgba(255, 255, 255, 0.7); }

/* ═══ RELACIONADOS ════════════════════════════════════════════ */
.v2-srv-rel__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(var(--s-5), 2vw, var(--s-8));
}
.v2-srv-rel__card {
  display: flex; flex-direction: column; gap: var(--s-3);
  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-srv-rel__card:hover { transform: translateY(-5px); box-shadow: var(--sh-media); }
.v2-srv-rel__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-srv-rel__card p { font-size: var(--t-base); line-height: var(--lh-relaxed); color: var(--navy-70); }
.v2-srv-rel__card .v2-link { margin-top: auto; padding-top: var(--s-4); }

/* ═══ CIERRE ══════════════════════════════════════════════════ */
.v2-srv-cta { background-color: var(--ambar); }
.v2-srv-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-srv-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-srv-cta__in p { font-size: var(--t-base); color: rgba(27, 50, 64, 0.78); margin-top: var(--s-3); max-width: 48ch; }

/* ═══ RESPONSIVE ══════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .v2-srv-pasos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-8); }
  .v2-srv-pasos li::after { display: none; }
}
@media (max-width: 1000px) {
  .v2-srv-hero__vert { display: none; }
  .v2-srv-hero__arc1 { width: 70vw; top: -12%; right: -22%; }
  .v2-srv-intro__grid { grid-template-columns: minmax(0, 1fr); }
  .v2-srv-banda { grid-template-columns: minmax(0, 1fr); }
  .v2-srv-banda--flip > .v2-srv-banda__art,
  .v2-srv-banda--flip > .v2-srv-banda__body { order: initial; }
  .v2-srv-banda__art img { aspect-ratio: 16 / 10; max-height: none; }
  .v2-srv-rel__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  .v2-srv-hero { min-height: 70svh; padding-block: 7.5rem var(--s-12); }
  .v2-srv-hero__act { width: 100%; }
  .v2-srv-hero__act .v2-btn { width: 100%; }
  .v2-srv-cifras { grid-template-columns: minmax(0, 1fr); }
  .v2-srv-pasos { grid-template-columns: minmax(0, 1fr); }
  .v2-srv-cta__in .v2-btn { width: 100%; }
}
