/* JVS · página de automatización (sin el simulador): capa de nivel profesional.
   1. Cabecera compacta: título | raya dorada | bajada y acciones.
   2. Beneficios: cuatro resultados unidos por un trazo dorado.
   3. Carpeta compartida por empresa: texto | carpeta animada (línea de tiempo CSS).
   Estados ocultos solo con html.js y sin .mov-visible (movimiento.js); respaldo a los 2,5 s. */
:root { --ap-respaldo: ap-respaldo; --ap-curva: cubic-bezier(0.22, 0.61, 0.36, 1); }
html.mov-listo { --ap-respaldo: none; }
@keyframes ap-respaldo { to { opacity: 1; translate: none; scale: none; clip-path: none; stroke-dashoffset: 0; } }
@keyframes ap-trazo-y { from { scale: 1 0; } to { scale: 1 1; } }

/* ---------- 1. Cabecera ---------- */
.pagina-auto .auto-cabeza {
  position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--medianil); align-items: start; max-width: none; margin-top: var(--s3);
}
.auto-cabeza .auto__titulo--pagina { grid-column: 1 / 7; grid-row: 1; font: var(--rol-h2); font-size: clamp(2rem, 1.3rem + 2vw, 3.1rem); }
.auto-cabeza__raya {
  position: absolute; top: 0.4rem; bottom: 0; width: var(--raya); background: var(--dorado);
  left: calc(6 * (100% + var(--medianil)) / 12 - var(--medianil) / 2 - var(--raya) / 2);
  transform-origin: center top; animation: ap-trazo-y 0.6s cubic-bezier(0.65, 0, 0.35, 1) 0.32s both;
}
/* Orden de entrada (manda sobre movimiento.css, que carga antes): 1) el título se abre desde el
   margen y se lee antes de 0,5 s; 2) la raya se traza y la bajada sale de ella; 3) los botones se
   asientan. Termina hacia 1,15 s; el título del simulador entra después (simulador-facturas.css). */
@media screen and (min-width: 0px) {
  .pagina-auto .auto-cabeza .auto__titulo--pagina { animation: mov-apertura 0.7s var(--c-apertura, var(--ap-curva)) 0s both; }
  .pagina-auto .auto-cabeza .auto__intro { animation: ap-sale-raya 0.6s var(--c-apertura, var(--ap-curva)) 0.42s both; }
  .pagina-auto .auto-cabeza .auto__acciones { animation: mov-asiento var(--t-asiento, 520ms) var(--c-asiento, var(--ap-curva)) 0.62s both; }
}
@keyframes ap-sale-raya { from { opacity: 0; translate: -18px 0; clip-path: inset(-10% 100% -10% 0); } to { opacity: 1; translate: none; clip-path: inset(-10% -4% -10% -4%); } }
.auto-cabeza__cuerpo { grid-column: 7 / -1; grid-row: 1; }
.auto-cabeza .auto__intro { margin-top: 0; padding-top: 0.3rem; }
.auto-cabeza .auto__acciones { margin-top: var(--s3); }
@media (max-width: 760px) {
  .auto-cabeza__raya { display: none; }
  .auto-cabeza .auto__titulo--pagina, .auto-cabeza__cuerpo { grid-column: 1 / -1; grid-row: auto; }
  .auto-cabeza__cuerpo { margin-top: var(--s2); }
}

/* ---------- 2. Beneficios ---------- */
.beneficios-auto { padding-block: var(--s4) var(--s5); }
.beneficios-auto__titulo { max-width: 30ch; }
.beneficios-auto__lista {
  --ba-marca: 3.75rem; --ba-hueco: var(--medianil);
  position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s4) var(--ba-hueco); margin: var(--s4) 0 0; padding: 0; list-style: none;
}
/* El trazo dorado une marca con marca: cada resultado lo lleva hasta el centro de la marca
   siguiente de su fila; el último no tiene, así el recorrido termina en el cuarto nodo. */
.beneficio-auto { position: relative; }
.beneficio-auto:not(:last-child)::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  top: calc(var(--ba-marca) / 2 - var(--raya) / 2); left: calc(var(--ba-marca) / 2);
  width: calc(100% + var(--ba-hueco)); height: var(--raya);
  background: var(--dorado); transform-origin: left center;
}
.beneficio-auto__marca {
  position: relative; z-index: 1; display: grid; place-items: center; overflow: hidden;
  width: var(--ba-marca); height: var(--ba-marca);
  border: 1px solid rgba(74, 13, 28, 0.14); border-radius: 50%; background: var(--niebla); color: var(--vino);
  transition: scale 0.35s var(--ap-curva), color 0.3s ease;
}
/* Al pasar el cursor la marca se llena de vino desde el centro (escala) y el ícono queda en blanco */
.beneficio-auto__marca::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--vino);
  scale: 0; transition: scale 0.4s var(--ap-curva);
}
.beneficio-auto__marca svg { position: relative; width: 1.75rem; height: 1.75rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.beneficio-auto__titulo { margin-top: var(--s2); font: var(--rol-h3); color: var(--c-titulo); transition: color 0.3s ease; }
.beneficio-auto__texto { margin-top: var(--s1); font: var(--rol-pequeno); color: var(--tinta); max-width: 34ch; }
@media (hover: hover) {
  .beneficio-auto:hover .beneficio-auto__marca { scale: 1.06; color: var(--blanco); }
  .beneficio-auto:hover .beneficio-auto__marca::before { scale: 1; }
  .beneficio-auto:hover .beneficio-auto__titulo { color: var(--vino); }
}
/* Dos por fila: el trazo une 1 con 2 y 3 con 4 */
@media (max-width: 960px) {
  .beneficios-auto__lista { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .beneficio-auto:nth-child(2n)::after { content: none; }
}
/* Teléfono: una columna con la marca a la izquierda; el trazo baja de marca en marca */
@media (max-width: 560px) {
  .beneficios-auto__lista { --ba-marca: 3.5rem; grid-template-columns: 1fr; gap: var(--s3); }
  .beneficio-auto { display: grid; grid-template-columns: var(--ba-marca) 1fr; column-gap: var(--s2); }
  .beneficio-auto__marca { grid-row: 1 / 3; }
  .beneficio-auto__titulo { margin-top: 0.5rem; }
  .beneficio-auto:nth-child(2n):not(:last-child)::after { content: ""; }
  .beneficio-auto:not(:last-child)::after {
    top: calc(var(--ba-marca) / 2); left: calc(var(--ba-marca) / 2 - var(--raya) / 2);
    width: var(--raya); height: calc(100% + var(--s3)); transform-origin: center top;
  }
}
@media screen and (min-width: 0px) {
  .js [data-mov="beneficios"] { --mov-fin: 1900; }
  .js [data-mov="beneficios"]:not(.mov-visible) .beneficio-auto::after { scale: 0 1; animation: var(--ap-respaldo) 0.5s ease 2.5s forwards; }
  .js [data-mov="beneficios"].mov-visible .beneficio-auto::after { transition: scale 0.5s cubic-bezier(0.65, 0, 0.35, 1); }
  .js [data-mov="beneficios"].mov-visible .beneficio-auto:nth-child(1)::after { transition-delay: calc(var(--mov-d, 0ms) + 300ms); }
  .js [data-mov="beneficios"].mov-visible .beneficio-auto:nth-child(2)::after { transition-delay: calc(var(--mov-d, 0ms) + 560ms); }
  .js [data-mov="beneficios"].mov-visible .beneficio-auto:nth-child(3)::after { transition-delay: calc(var(--mov-d, 0ms) + 820ms); }
  @media (max-width: 560px) {
    .js [data-mov="beneficios"]:not(.mov-visible) .beneficio-auto::after { scale: 1 0; }
  }
  .js [data-mov="beneficios"]:not(.mov-visible) .beneficio-auto { opacity: 0; translate: 0 14px; animation: var(--ap-respaldo) 0.5s ease 2.5s forwards; }
  .js [data-mov="beneficios"]:not(.mov-visible) .beneficio-auto__marca svg :is(path, rect, circle) { stroke-dasharray: 1; stroke-dashoffset: 1; animation: var(--ap-respaldo) 0.5s ease 2.5s forwards; }
  .js [data-mov="beneficios"] .beneficio-auto__marca svg :is(path, rect, circle) { stroke-dasharray: 1; }
  .js [data-mov="beneficios"].mov-visible .beneficio-auto { transition: opacity 0.45s ease, translate 0.55s var(--ap-curva); }
  .js [data-mov="beneficios"].mov-visible .beneficio-auto__marca svg :is(path, rect, circle) { stroke-dashoffset: 0; transition: stroke-dashoffset 0.7s ease; }
  .js [data-mov="beneficios"].mov-visible .beneficio-auto:nth-child(1), .js [data-mov="beneficios"].mov-visible .beneficio-auto:nth-child(1) svg * { transition-delay: calc(var(--mov-d, 0ms) + 80ms); }
  .js [data-mov="beneficios"].mov-visible .beneficio-auto:nth-child(2), .js [data-mov="beneficios"].mov-visible .beneficio-auto:nth-child(2) svg * { transition-delay: calc(var(--mov-d, 0ms) + 340ms); }
  .js [data-mov="beneficios"].mov-visible .beneficio-auto:nth-child(3), .js [data-mov="beneficios"].mov-visible .beneficio-auto:nth-child(3) svg * { transition-delay: calc(var(--mov-d, 0ms) + 600ms); }
  .js [data-mov="beneficios"].mov-visible .beneficio-auto:nth-child(4), .js [data-mov="beneficios"].mov-visible .beneficio-auto:nth-child(4) svg * { transition-delay: calc(var(--mov-d, 0ms) + 860ms); }
}

/* ---------- 3. Carpeta compartida por empresa ---------- */
.drive-seccion { padding-block: var(--s5); }
.drive-pro {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--medianil);
  row-gap: var(--s4); align-items: center;
}
.drive-pro__texto { grid-column: 1 / 6; }
.drive-viz { grid-column: 6 / -1; min-width: 0; }
.drive-pro__puntos { margin: var(--s3) 0 0; padding: 0; list-style: none; border-top: 1px solid var(--linea); }
.drive-pro__punto {
  display: grid; grid-template-columns: 1.5rem 1fr; column-gap: 0.85rem; align-items: start;
  padding-block: 0.8rem; border-bottom: 1px solid var(--linea); font: var(--rol-pequeno); color: var(--c-texto);
}
.drive-pro__icono { width: 1.5rem; height: 1.5rem; fill: none; stroke: var(--vino); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 960px) { .drive-pro__texto, .drive-viz { grid-column: 1 / -1; } }

/* La carpeta: ventana clara con barra (ruta y compartir), árbol a la izquierda y el mes a la derecha */
.drive-viz {
  --dv-chico: 0.75rem; --dv-medio: 0.8125rem;
  position: relative; overflow: hidden; border: 1px solid var(--linea); border-radius: var(--radio-panel);
  background: var(--blanco); box-shadow: var(--sombra-panel); color: var(--tinta);
  font-family: var(--f-texto); font-size: var(--dv-medio); line-height: 1.35;
}
.drive-viz__simbolos { position: absolute; width: 0; height: 0; overflow: hidden; }
.drive-viz svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.drive-viz__barra {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  padding: 0.7rem 1rem; border-bottom: 1px solid var(--linea); background: var(--niebla);
}
.drive-viz__ruta { display: flex; flex-wrap: wrap; gap: 0.15rem 0; min-width: 0; font-size: var(--dv-chico); color: var(--texto-2); }
.drive-viz__ruta span + span::before { content: "›"; margin-inline: 0.4rem; color: var(--dorado-texto); }
.drive-viz__ruta span:last-child { font-weight: 600; color: var(--vino); }
.drive-viz__compartir {
  display: inline-flex; align-items: center; gap: 0.45rem; flex: none; padding: 0.3rem 0.7rem 0.3rem 0.35rem;
  border: 1px solid var(--linea); border-radius: 999px; background: var(--blanco);
  font-size: var(--dv-chico); font-weight: 600; color: var(--vino);
}
.drive-viz__personas { display: inline-flex; }
.drive-viz__persona {
  display: grid; place-items: center; width: 1.45rem; height: 1.45rem; border-radius: 50%;
  background: var(--vino); color: var(--blanco); font-size: 0.6875rem; font-weight: 600; border: 2px solid var(--blanco);
}
.drive-viz__persona--2 { margin-left: -0.4rem; background: var(--dorado); color: var(--vino-profundo); }
.drive-viz__compartir-icono { width: 1rem; height: 1rem; }
.drive-viz__cuerpo { display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); }
.drive-viz__arbol { margin: 0; padding: 0.8rem 0.6rem; list-style: none; border-right: 1px solid var(--linea); }
.dv-nodo {
  position: relative; display: flex; align-items: flex-start; gap: 0.45rem; padding: 0.32rem 0.5rem;
  border-radius: 6px; text-wrap: balance; color: var(--texto-2);
}
/* Los nombres largos bajan de renglón en vez de cortarse */
.dv-nodo svg { flex: none; width: 1rem; height: 1rem; margin-top: 0.05rem; color: var(--vino-medio); }
.dv-nodo__cuenta { align-self: center; }
.dv-nodo--n1 { padding-left: 1.2rem; }
.dv-nodo--n2 { padding-left: 1.9rem; }
.dv-nodo--n3 { padding-left: 2.6rem; }
.dv-nodo--activo { background: var(--niebla); color: var(--vino); font-weight: 600; }
.dv-nodo--activo::before { content: ""; position: absolute; left: 0; top: 0.3rem; bottom: 0.3rem; width: var(--raya); background: var(--dorado); }
.dv-nodo__cuenta {
  margin-left: auto; padding: 0 0.4rem; border-radius: 999px; background: var(--vino); color: var(--blanco);
  font-size: 0.6875rem; line-height: 1.5;
}
.drive-viz__mes { min-width: 0; padding: 0.9rem 1rem 1rem; }
.drive-viz__archivos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.dv-archivo {
  display: flex; flex-direction: column; align-items: center; gap: 0.15rem; padding: 0.55rem 0.25rem 0.5rem;
  border: 1px solid var(--linea); border-radius: 6px; font-size: var(--dv-chico); color: var(--texto-2); text-align: center;
}
.dv-archivo svg { width: 1.6rem; height: 1.6rem; color: var(--vino); }
.dv-archivo b { font-size: 0.625rem; letter-spacing: 0.04em; color: var(--blanco); background: var(--vino); padding: 0 0.3rem; border-radius: 3px; }
.dv-archivo--xml b { background: var(--dorado-texto); }
.dv-hoja { margin-top: 0.8rem; border: 1px solid var(--linea); border-radius: 6px; overflow: hidden; }
.dv-hoja__nombre {
  display: flex; align-items: center; gap: 0.45rem; padding: 0.5rem 0.7rem; background: var(--niebla);
  border-bottom: 1px solid var(--linea); font-size: var(--dv-chico); font-weight: 600; color: var(--vino);
}
.dv-hoja__nombre svg { width: 1rem; height: 1rem; }
/* Una sola rejilla para toda la tabla (las filas son subgrid): Débito y Crédito toman el ancho de
   la cifra más larga y nunca se cortan; la Cuenta cede y, si no cabe, el nombre baja de renglón. */
.dv-hoja__tabla {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(max-content, auto) minmax(max-content, auto);
}
.dv-fila {
  display: grid; grid-column: 1 / -1; grid-template-columns: subgrid;
  border-bottom: 1px solid var(--linea); font-size: var(--dv-chico); font-variant-numeric: tabular-nums;
}
.dv-fila:last-child { border-bottom: 0; }
.dv-fila > span { padding: 0.36rem 0.6rem; }
.dv-fila > span:first-child { display: flex; align-items: baseline; gap: 0.3rem; min-width: 0; overflow-wrap: anywhere; }
.dv-fila > span + span { text-align: right; white-space: nowrap; border-left: 1px solid var(--linea); }
.dv-fila b { flex: none; color: var(--vino); font-weight: 600; }
.dv-fila--cabeza { font-weight: 600; color: var(--vino); background: rgba(74, 13, 28, 0.04); }
.dv-fila--total { font-weight: 600; color: var(--vino); background: var(--niebla); }
.dv-fila--total > span:first-child { display: flex; align-items: center; gap: 0.35rem; }
.dv-visto { width: 0.95rem; height: 0.95rem; flex: none; color: var(--dorado-texto); stroke-width: 2.2; }
/* Portátil (la carpeta comparte fila con el texto): el árbol se estrecha y cede ancho a la tabla */
@media (min-width: 961px) and (max-width: 1240px) {
  .drive-viz__cuerpo { grid-template-columns: minmax(0, 10.5rem) minmax(0, 1fr); }
  .drive-viz__arbol { padding-inline: 0.4rem; }
  .dv-nodo { gap: 0.35rem; padding-inline: 0.4rem; }
  .dv-nodo--n1 { padding-left: 0.85rem; }
  .dv-nodo--n2 { padding-left: 1.3rem; }
  .dv-nodo--n3 { padding-left: 1.75rem; }
  .drive-viz__mes { padding-inline: 0.8rem; }
}
@media (max-width: 600px) {
  .drive-viz__cuerpo { grid-template-columns: 1fr; }
  .drive-viz__arbol { display: none; }
  .drive-viz__ruta span:nth-child(-n + 2) { display: none; }
  .drive-viz__ruta span:nth-child(3)::before { content: none; }
  .drive-viz__mes { padding: 0.8rem; }
  .drive-viz__archivos { gap: 0.35rem; }
}
@media (max-width: 380px) { .dv-fila > span { padding-inline: 0.4rem; } .drive-viz__compartir > span:last-child { display: none; } }

/* Línea de tiempo de la carpeta (D = retardo del grupo) */
@media screen and (min-width: 0px) {
  .js [data-mov="drive-pro"] { --mov-fin: 3600; }
  .js [data-mov="drive-pro"]:not(.mov-visible) :is(.drive-pro__titulo, .drive-pro__detalle, .drive-pro__punto, .drive-viz, .drive-viz__ruta span, .dv-nodo, .dv-archivo, .dv-hoja, .dv-fila, .dv-nodo__cuenta, .drive-viz__compartir) {
    opacity: 0; animation: var(--ap-respaldo) 0.5s ease 2.5s forwards;
  }
  .js [data-mov="drive-pro"]:not(.mov-visible) :is(.drive-pro__titulo, .drive-pro__detalle, .drive-pro__punto) { translate: 0 12px; }
  .js [data-mov="drive-pro"]:not(.mov-visible) .drive-viz { translate: 0 18px; }
  .js [data-mov="drive-pro"]:not(.mov-visible) :is(.dv-nodo, .drive-viz__ruta span) { translate: -8px 0; }
  .js [data-mov="drive-pro"]:not(.mov-visible) .dv-archivo { translate: 0 -22px; }
  .js [data-mov="drive-pro"]:not(.mov-visible) .dv-hoja { clip-path: inset(0 0 100% 0); }
  .js [data-mov="drive-pro"]:not(.mov-visible) .dv-fila { clip-path: inset(0 100% 0 0); }
  .js [data-mov="drive-pro"]:not(.mov-visible) .dv-nodo__cuenta { scale: 0.4; }
  .js [data-mov="drive-pro"]:not(.mov-visible) .drive-viz__compartir { translate: 8px 0; }
  .js [data-mov="drive-pro"] :is(.dv-visto path, .drive-viz__compartir-icono *) { stroke-dasharray: 1; }
  .js [data-mov="drive-pro"]:not(.mov-visible) :is(.dv-visto path, .drive-viz__compartir-icono *) { stroke-dashoffset: 1; animation: var(--ap-respaldo) 0.5s ease 2.5s forwards; }

  .js [data-mov="drive-pro"].mov-visible :is(.drive-pro__titulo, .drive-pro__detalle, .drive-pro__punto, .drive-viz) {
    transition: opacity 0.5s ease var(--ap-d), translate 0.6s var(--ap-curva) var(--ap-d);
  }
  .js [data-mov="drive-pro"] .drive-pro__titulo { --ap-d: var(--mov-d, 0ms); }
  .js [data-mov="drive-pro"] .drive-pro__detalle { --ap-d: calc(var(--mov-d, 0ms) + 120ms); }
  .js [data-mov="drive-pro"] .drive-pro__punto { --ap-d: calc(var(--mov-d, 0ms) + 220ms); }
  .js [data-mov="drive-pro"] .drive-pro__punto:nth-child(2) { --ap-d: calc(var(--mov-d, 0ms) + 300ms); }
  .js [data-mov="drive-pro"] .drive-pro__punto:nth-child(3) { --ap-d: calc(var(--mov-d, 0ms) + 380ms); }
  .js [data-mov="drive-pro"] .drive-viz { --ap-d: calc(var(--mov-d, 0ms) + 100ms); }
  .js [data-mov="drive-pro"].mov-visible .drive-viz__ruta span { transition: opacity 0.35s ease, translate 0.4s var(--ap-curva); }
  .js [data-mov="drive-pro"].mov-visible .drive-viz__ruta span:nth-child(1) { transition-delay: calc(var(--mov-d, 0ms) + 400ms); }
  .js [data-mov="drive-pro"].mov-visible .drive-viz__ruta span:nth-child(2) { transition-delay: calc(var(--mov-d, 0ms) + 480ms); }
  .js [data-mov="drive-pro"].mov-visible .drive-viz__ruta span:nth-child(3) { transition-delay: calc(var(--mov-d, 0ms) + 560ms); }
  .js [data-mov="drive-pro"].mov-visible .drive-viz__ruta span:nth-child(4) { transition-delay: calc(var(--mov-d, 0ms) + 640ms); }
  /* El árbol se despliega: Empresa > Año > Mes */
  .js [data-mov="drive-pro"].mov-visible .dv-nodo {
    transition: opacity 0.35s ease, translate 0.4s var(--ap-curva);
    transition-delay: calc(var(--mov-d, 0ms) + 450ms + var(--n, 0) * 90ms);
  }
  /* Los PDF y XML caen en la carpeta del mes */
  .js [data-mov="drive-pro"].mov-visible .dv-archivo {
    transition: opacity 0.3s ease, translate 0.5s cubic-bezier(0.5, 0, 0.1, 1);
    transition-delay: calc(var(--mov-d, 0ms) + 1050ms + var(--n, 0) * 130ms);
  }
  .js [data-mov="drive-pro"].mov-visible .dv-nodo__cuenta { transition: opacity 0.2s ease, scale 0.3s var(--ap-curva); transition-delay: calc(var(--mov-d, 0ms) + 1650ms); }
  /* El Excel de la causación se arma fila por fila y cuadra */
  .js [data-mov="drive-pro"].mov-visible .dv-hoja { transition: opacity 0.2s ease, clip-path 0.5s var(--ap-curva); transition-delay: calc(var(--mov-d, 0ms) + 1600ms); }
  .js [data-mov="drive-pro"].mov-visible .dv-fila {
    transition: opacity 0.2s ease, clip-path 0.45s var(--ap-curva);
    transition-delay: calc(var(--mov-d, 0ms) + 1850ms + var(--n, 0) * 160ms);
  }
  .js [data-mov="drive-pro"].mov-visible .dv-visto path { stroke-dashoffset: 0; transition: stroke-dashoffset 0.4s ease calc(var(--mov-d, 0ms) + 2850ms); }
  /* Se comparte */
  .js [data-mov="drive-pro"].mov-visible .drive-viz__compartir { transition: opacity 0.3s ease, translate 0.4s var(--ap-curva); transition-delay: calc(var(--mov-d, 0ms) + 3000ms); }
  .js [data-mov="drive-pro"].mov-visible .drive-viz__compartir-icono * { stroke-dashoffset: 0; transition: stroke-dashoffset 0.5s ease calc(var(--mov-d, 0ms) + 3100ms); }
}
/* Teléfono: celdas más ceñidas; las cifras siguen completas y la Cuenta baja de renglón */
@media (max-width: 600px) {
  .dv-fila > span { padding-inline: 0.5rem; }
}

/* Tras el paso 6 la franja vino era muy alta antes del arco blanco: se reduce al espacio corto */
.pagina--automatizacion .seccion--vino.pagina-auto {
  padding-bottom: calc(var(--s4) + var(--mov-arco, 0px));
}
