/* Artículo de automatización de Tinto Labs. Se mantiene aislado hasta su publicación. */

.auto-articulo {
  --auto-azul: #0867df;
  --auto-azul-profundo: #064aa4;
  --auto-cielo: #edf2f9;
  --auto-carbon: #292e37;
  --auto-pizarra: #5d6674;
  --auto-borde: #d4dce8;
  --auto-naranja: #e98b3a;
  color: var(--auto-carbon);
  background: var(--auto-cielo);
  overflow: clip;
}

.lectura { position: fixed; inset: 0 0 auto; height: 3px; z-index: 50; pointer-events: none; }
.lectura span { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, #08a8f7, #0867df); transform: scaleX(0); transform-origin: left; }

.auto-hero {
  max-width: 1240px; margin: 0 auto; padding: clamp(42px, 6vw, 88px) var(--margen) clamp(64px, 8vw, 108px);
  display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(48px, 7vw, 82px); align-items: center;
}
@media (min-width: 900px) { .auto-hero { grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr); } }

.migas { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; font-size: 14px; color: var(--auto-pizarra); }
.migas a { color: inherit; text-decoration: none; }
.migas span[aria-hidden] { color: #aab4c3; }
.auto-hero h1 { margin: 22px 0 0; max-width: 12ch; font-size: clamp(42px, 5.1vw, 70px); line-height: 1.02; letter-spacing: -.05em; font-weight: 760; }
.auto-hero h1 span { display: block; color: var(--auto-azul); }
.auto-bajada { max-width: 55ch; margin: 26px 0 0; color: var(--auto-pizarra); font-size: clamp(17px, 1.4vw, 19px); line-height: 1.62; }
.auto-meta { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 28px 0 0; color: var(--auto-pizarra); font-size: 14px; }
.auto-meta span:first-child { color: var(--auto-carbon); font-weight: 650; }
.auto-meta span + span::before { content: "·"; margin-right: 10px; color: #a3acb8; }

.auto-hero-visual { position: relative; perspective: 1200px; padding: 7% 0; }
.auto-portada { position: relative; z-index: 2; margin: 0; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 30px; background: #dce5f1; box-shadow: 0 42px 84px -38px rgba(29, 40, 58, .5); transform-style: preserve-3d; will-change: transform; }
.auto-portada img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bloque { position: absolute; z-index: 1; display: block; border-radius: 28px; background: var(--auto-azul); transform: skewX(-25deg); }
.bloque-a { width: 48%; height: 67%; right: -4%; top: 0; }
.bloque-b { width: 38%; height: 31%; left: -3%; bottom: 1%; background: #1599ed; }
.flujo-estado { position: absolute; left: 5%; bottom: 6%; display: flex; align-items: center; gap: 9px; margin: 0; padding: 10px 14px; border-radius: 999px; background: rgba(255,255,255,.95); box-shadow: 0 18px 35px -18px rgba(18,29,48,.7); color: #374151; font-size: 12px; font-weight: 680; }
.flujo-punto { width: 8px; height: 8px; border-radius: 50%; background: #16a667; box-shadow: 0 0 0 4px rgba(22,166,103,.13); }
.dato-viajero { position: absolute; z-index: 3; left: 12%; top: 52%; width: 13px; height: 13px; border-radius: 4px; background: #fff; box-shadow: 0 7px 16px rgba(6,103,223,.35); animation: dato-viaja 6s cubic-bezier(.55,0,.2,1) infinite; }
@keyframes dato-viaja {
  0%, 8% { left: 12%; top: 56%; transform: rotate(0deg); opacity: 0; }
  14% { opacity: 1; }
  32% { left: 31%; top: 45%; transform: rotate(45deg); }
  55% { left: 51%; top: 57%; transform: rotate(90deg); }
  78% { left: 72%; top: 46%; transform: rotate(135deg); opacity: 1; }
  86%, 100% { left: 86%; top: 39%; transform: rotate(180deg); opacity: 0; }
}
@keyframes punto-vivo { 50% { box-shadow: 0 0 0 7px rgba(22,166,103,0); } }
.flujo-punto { animation: punto-vivo 2.2s ease-out infinite; }
.movimiento-control { position: absolute; z-index: 4; right: 4%; bottom: 1%; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border: 1px solid rgba(41,46,55,.16); border-radius: 999px; background: rgba(255,255,255,.96); color: var(--auto-carbon); box-shadow: 0 14px 28px -20px rgba(18,29,48,.65); font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.movimiento-control:hover { border-color: rgba(8,103,223,.45); color: var(--auto-azul-profundo); }
.movimiento-control [data-movimiento-icono] { width: 12px; color: var(--auto-azul); letter-spacing: -3px; }
.movimiento-pausado .dato-viajero, .movimiento-pausado .flujo-punto { animation-play-state: paused; }

.auto-arranque { max-width: 1240px; margin: 0 auto; padding: 0 var(--margen) clamp(70px, 9vw, 118px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
@media (min-width: 900px) { .auto-arranque { grid-template-columns: 1.45fr .85fr; } }
.auto-resumen, .auto-indice { border-radius: 28px; background: #fff; box-shadow: 0 30px 58px -42px rgba(28,38,55,.42), inset 0 0 0 1px rgba(200,210,224,.55); }
.auto-resumen { position: relative; overflow: hidden; padding: clamp(28px, 4vw, 48px); }
.auto-resumen::after { content: ""; position: absolute; top: -42px; right: 36px; width: 14px; height: 142px; border-radius: 999px; background: linear-gradient(#18a9f5, #0867df); transform: rotate(28deg); }
.auto-resumen h2 { max-width: 19ch; margin: 12px 0 0; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.08; letter-spacing: -.045em; }
.auto-resumen ul { display: grid; gap: 14px; margin: 26px 0 0; padding: 0; list-style: none; }
.auto-resumen li { position: relative; padding-left: 23px; color: #3f4753; font-size: 17px; line-height: 1.55; }
.auto-resumen li::before { content: ""; position: absolute; left: 1px; top: .68em; width: 8px; height: 8px; border-radius: 50%; background: #1599ed; }
.auto-indice { padding: clamp(26px, 3.4vw, 40px); background: transparent; }
.auto-indice > span, .auto-kicker { color: var(--auto-azul-profundo); font-size: 12px; font-weight: 760; letter-spacing: .12em; text-transform: uppercase; }
.auto-indice ol { display: grid; gap: 0; margin: 18px 0 0; padding: 0; list-style: none; counter-reset: indice; }
.auto-indice li { counter-increment: indice; padding: 13px 0; border-top: 1px solid var(--auto-borde); font-size: 15px; font-weight: 640; }
.auto-indice li::before { content: "0" counter(indice); display: inline-block; width: 34px; color: var(--auto-azul); font-size: 11px; }
.auto-indice a { color: inherit; text-decoration: none; transition: color .2s ease; }
.auto-indice a:hover { color: var(--auto-azul); }

.auto-seccion { padding: clamp(70px, 9vw, 120px) var(--margen); }
.auto-seccion:nth-of-type(even) { background: #fff; }
.auto-encabezado { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.auto-encabezado h2 { margin: 13px auto 0; font-size: clamp(36px, 5vw, 62px); line-height: 1.02; letter-spacing: -.05em; }
.auto-encabezado p { max-width: 65ch; margin: 22px auto 0; color: var(--auto-pizarra); font-size: 18px; line-height: 1.65; }
.contenedor-auto { width: min(1120px, 100%); margin: 0 auto; }
.dos-auto { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; }
@media (min-width: 900px) { .dos-auto { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(48px, 7vw, 100px); } }
.auto-texto-largo h2 { max-width: 15ch; margin: 13px 0 0; font-size: clamp(36px, 5vw, 62px); line-height: 1.03; letter-spacing: -.05em; }
.auto-texto-largo p, .auto-cuerpo p { color: var(--auto-pizarra); font-size: 18px; line-height: 1.72; }
.auto-texto-largo p { max-width: 59ch; margin: 24px 0 0; }
.auto-cuerpo { max-width: 780px; margin: clamp(46px, 7vw, 82px) auto 0; }
.auto-cuerpo p { margin: 0; }
.auto-cuerpo p + p { margin-top: 18px; }
.auto-cuerpo h3 { margin: 0 0 15px; font-size: clamp(25px, 3vw, 34px); line-height: 1.16; letter-spacing: -.035em; }

.antes-despues { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 18px; align-items: stretch; }
@media (min-width: 760px) { .antes-despues { grid-template-columns: 1fr 56px 1fr; } }
.escena { min-height: 320px; padding: clamp(28px, 4vw, 46px); border-radius: 30px; display: flex; flex-direction: column; justify-content: flex-end; box-shadow: inset 0 0 0 1px var(--auto-borde); }
.escena-antes { background: #f5f1ec; }
.escena-despues { background: #eaf3ff; box-shadow: inset 0 0 0 1px #bfd8f8, 0 34px 60px -48px rgba(8,103,223,.8); }
.escena-etiqueta { align-self: flex-start; margin-bottom: auto; padding: 7px 11px; border-radius: 999px; background: #fff; font-size: 11px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.escena h3 { margin: 25px 0 0; font-size: 27px; letter-spacing: -.035em; }
.escena p { margin: 10px 0 0; color: var(--auto-pizarra); line-height: 1.55; }
.papeles { position: relative; width: min(270px, 100%); height: 106px; margin: 28px auto 0; }
.papel { position: absolute; width: 128px; height: 88px; display: flex; flex-direction: column; padding: 11px 12px; overflow: hidden; border-radius: 13px; background: #fff; box-shadow: 0 18px 28px -20px rgba(31,36,45,.72); }
.papel i { color: #916331; font-size: 9px; font-style: normal; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.papel b { margin-top: 7px; color: var(--auto-carbon); font-size: 14px; line-height: 1.1; }
.papel small { margin-top: 4px; color: #626c79; font-size: 10px; line-height: 1.2; }
.papel-mensaje { left: 0; top: 11px; background: #f1f8f3; transform: rotate(-8deg); }
.papel-mensaje i { color: #278052; }
.papel-hoja { left: 50%; top: -6px; z-index: 2; border: 2px solid #e3b477; transform: translateX(-50%) rotate(3deg); }
.papel-factura { right: 0; top: 16px; z-index: 3; background: #f6f3ff; transform: rotate(9deg); }
.papel-factura i { color: #6b57a4; }
.ruta-mini { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; gap: clamp(13px, 2vw, 24px); min-height: 106px; margin-top: 28px; }
.ruta-nodo { position: relative; min-width: 0; display: grid; justify-items: center; gap: 7px; color: #3d4858; font-size: clamp(10px, 1vw, 11px); text-align: center; }
.ruta-nodo i { position: relative; width: clamp(46px, 5vw, 58px); height: clamp(46px, 5vw, 58px); display: grid; place-items: center; border-radius: 16px; background: #fff; color: var(--auto-azul-profundo); box-shadow: 0 16px 24px -18px rgba(6,74,164,.8); font-size: 10px; font-style: normal; font-weight: 800; }
.ruta-nodo b { font-weight: 720; line-height: 1.1; }
.ruta-nodo:not(:last-child)::after { content: ""; position: absolute; z-index: 2; left: calc(50% + clamp(27px, 3vw, 34px)); top: clamp(21px, 2.5vw, 27px); width: calc(100% - clamp(30px, 3vw, 36px)); height: 4px; border-radius: 999px; background: var(--auto-azul); }
.nodo-mensaje i { background: #e7f8ee; color: #247a50; }
.nodo-inventario i { background: #fff4df; color: #93611f; }
.nodo-factura i { background: #eeeaff; color: #654fa5; }
.nodo-cliente i { background: #e3f3ff; color: #0867b8; }
.cambio { display: grid; place-items: center; color: var(--auto-azul); font-size: 30px; }
@media (max-width: 759px) { .cambio { transform: rotate(90deg); height: 36px; } }

.auto-elegir { background: #fff; }
.senal-lista { padding: clamp(28px, 4vw, 46px); border-radius: 30px; background: #17202d; color: #fff; box-shadow: 0 34px 70px -48px rgba(10,21,38,.85); }
.senal-lista h3 { margin: 0 0 22px; font-size: 24px; letter-spacing: -.03em; }
.senal-lista ul { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.senal-lista li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.12); color: #dce5ef; line-height: 1.45; }
.senal-lista li span { color: #72c6ff; font-size: 11px; font-weight: 800; }
.auto-imagen-contexto { width: min(1120px, 100%); margin: clamp(50px, 8vw, 92px) auto 0; overflow: hidden; border-radius: 34px; background: #dcecff; box-shadow: 0 40px 80px -56px rgba(24,41,67,.62); }
.auto-imagen-contexto img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.auto-imagen-contexto figcaption { padding: 16px 22px 19px; color: #505c6c; font-size: 14px; line-height: 1.45; }

.auto-recorrido { background: #f3f7fc; }
.recorrido-lista { max-width: 1120px; margin: 0 auto; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.recorrido-lista li { position: relative; min-height: 220px; padding: 24px 20px; border-radius: 24px; background: rgba(255,255,255,.76); box-shadow: inset 0 0 0 1px var(--auto-borde); transition: transform .55s cubic-bezier(.2,.9,.25,1.2), background .3s, box-shadow .3s; }
.recorrido-lista li::after { content: ""; position: absolute; top: 41px; left: calc(100% + 1px); width: 10px; height: 3px; background: #b7c4d6; }
.recorrido-lista li:last-child::after { display: none; }
.recorrido-lista li.activo { transform: translateY(-10px); background: #fff; box-shadow: 0 28px 48px -36px rgba(8,103,223,.75), inset 0 0 0 2px #4b9bf2; }
.recorrido-lista li > span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #eaf2fc; color: var(--auto-azul); font-size: 12px; font-weight: 800; }
.recorrido-lista h3 { margin: 36px 0 0; font-size: 20px; letter-spacing: -.025em; }
.recorrido-lista p { margin: 9px 0 0; color: var(--auto-pizarra); font-size: 14px; line-height: 1.55; }
.auto-cuerpo-claro { padding: clamp(26px, 4vw, 44px); border-radius: 26px; background: #fff; box-shadow: inset 0 0 0 1px #dfe7f1; }
@media (max-width: 899px) {
  .recorrido-lista { grid-template-columns: 1fr; }
  .recorrido-lista li { min-height: 0; display: grid; grid-template-columns: 48px 1fr; gap: 14px; padding: 20px; }
  .recorrido-lista li::after { top: 100%; left: 38px; width: 3px; height: 12px; }
  .recorrido-lista h3 { margin: 1px 0 0; }
  .recorrido-lista p { margin-top: 4px; }
  .recorrido-lista li.activo { transform: translateX(7px); }
}

.auto-tipos { background: #fff; }
.tipos-grid { width: min(1120px, 100%); margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tipos-grid article { min-height: 250px; padding: 28px 24px; border-radius: 26px; background: #f3f6fa; box-shadow: inset 0 0 0 1px #dce4ee; }
.tipos-grid article:nth-child(3) { background: #eaf3ff; }
.tipos-grid article:nth-child(4) { background: #fff0e6; }
.tipos-grid article > span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #fff; color: var(--auto-azul); font-size: 11px; font-weight: 800; }
.tipos-grid h3 { margin: 38px 0 0; font-size: 22px; letter-spacing: -.03em; }
.tipos-grid p { margin: 10px 0 0; color: var(--auto-pizarra); font-size: 15px; line-height: 1.58; }
.auto-nota { width: min(1000px, 100%); margin: 24px auto 0; padding: clamp(28px, 5vw, 50px); border-radius: 28px; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 70px); align-items: center; background: #17202d; color: #fff; }
.auto-nota h3 { margin: 12px 0 0; font-size: clamp(27px, 3vw, 38px); line-height: 1.08; letter-spacing: -.04em; }
.auto-nota p { margin: 0; color: #cbd5e1; font-size: 17px; line-height: 1.65; }
.auto-nota a { color: #7bc8ff; text-underline-offset: 3px; }
.auto-nota .auto-kicker { color: #7bc8ff; }

.auto-ejemplos { background: #fff; }
.ejemplos-grid { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.ejemplos-grid article { min-height: 230px; padding: clamp(26px, 4vw, 40px); border-radius: 28px; background: #f1f5fb; box-shadow: inset 0 0 0 1px #dde5f0; transition: transform .4s ease, box-shadow .4s ease; }
.ejemplos-grid article:nth-child(2) { background: #fff1e7; }
.ejemplos-grid article:nth-child(3) { background: #e8f5ed; }
.ejemplos-grid article:nth-child(4) { background: #f2ecfa; }
.ejemplos-grid article:nth-child(5) { background: #edf6ff; }
.ejemplos-grid article:nth-child(6) { background: #fbf1e8; }
.ejemplos-grid article:hover { transform: translateY(-6px); box-shadow: 0 28px 45px -36px rgba(37,44,56,.5), inset 0 0 0 1px #ced8e6; }
.ejemplo-num { color: var(--auto-azul); font-size: 12px; font-weight: 800; }
.ejemplos-grid h3 { margin: 42px 0 0; font-size: 27px; letter-spacing: -.035em; }
.ejemplos-grid p { max-width: 42ch; margin: 10px 0 0; color: var(--auto-pizarra); line-height: 1.6; }
.ejemplos-grid small { display: block; margin-top: 26px; color: #5d6674; font-size: 12px; font-weight: 700; letter-spacing: .04em; }

.auto-limites { background: #f3f7fc; }
.limites-tarjeta { padding: clamp(28px, 4vw, 46px); border-radius: 30px; background: #fff; box-shadow: 0 30px 60px -48px rgba(18,32,52,.55), inset 0 0 0 1px #dce5ef; }
.limites-tarjeta h3 { margin: 0 0 20px; font-size: 24px; letter-spacing: -.03em; }
.limites-tarjeta ul { display: grid; gap: 15px; margin: 0; padding: 0; list-style: none; }
.limites-tarjeta li { position: relative; padding-left: 24px; color: #414b59; line-height: 1.55; }
.limites-tarjeta li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: #f18a43; box-shadow: 0 0 0 4px rgba(241,138,67,.14); }
.fallos-grid { width: min(1120px, 100%); margin: clamp(44px, 7vw, 78px) auto 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.fallos-grid article { padding: 26px 22px; border-top: 3px solid var(--auto-azul); background: rgba(255,255,255,.7); }
.fallos-grid b { color: var(--auto-azul); font-size: 12px; }
.fallos-grid h3 { margin: 28px 0 0; font-size: 20px; }
.fallos-grid p { margin: 9px 0 0; color: var(--auto-pizarra); font-size: 14px; line-height: 1.55; }

.auto-empezar { background: #fff; }
.inicio-pasos { width: min(960px, 100%); margin: 0 auto; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; counter-reset: pasos; }
.inicio-pasos li { min-height: 170px; display: grid; grid-template-columns: 50px 1fr; gap: 18px; padding: 28px; border-radius: 24px; background: #f4f7fb; box-shadow: inset 0 0 0 1px #dce4ee; }
.inicio-pasos li > span { display: grid; place-items: center; align-self: start; width: 44px; height: 44px; border-radius: 14px; background: #fff; color: var(--auto-azul); font-size: 12px; font-weight: 800; }
.inicio-pasos h3 { margin: 2px 0 0; font-size: 21px; letter-spacing: -.025em; }
.inicio-pasos p { margin: 8px 0 0; color: var(--auto-pizarra); line-height: 1.55; }
.medicion { width: min(960px, 100%); margin: 20px auto 0; padding: clamp(28px, 5vw, 48px); border-radius: 28px; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 36px; align-items: center; background: #eaf3ff; box-shadow: inset 0 0 0 1px #cfe1f7; }
.medicion h3 { margin: 12px 0 0; font-size: clamp(27px, 3vw, 38px); line-height: 1.08; letter-spacing: -.04em; }
.medicion ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; color: #455161; line-height: 1.5; }
.medicion b { color: #17202d; }

.auto-preguntas { background: #f3f7fc; }
.preguntas-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(40px, 8vw, 100px); align-items: start; }
.preguntas-cabeza { position: sticky; top: 34px; }
.preguntas-cabeza h2 { max-width: 12ch; margin: 13px 0 0; font-size: clamp(36px, 5vw, 58px); line-height: 1.03; letter-spacing: -.05em; }
.preguntas-lista { border-top: 1px solid #ccd7e5; }
.pregunta { border-bottom: 1px solid #ccd7e5; }
.pregunta summary { cursor: pointer; list-style: none; padding: 0; }
.pregunta summary::-webkit-details-marker { display: none; }
.pregunta summary h3 { display: grid; grid-template-columns: 1fr 30px; gap: 18px; align-items: center; margin: 0; padding: 24px 0; font-size: 19px; line-height: 1.35; letter-spacing: -.02em; }
.pregunta summary span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; color: var(--auto-azul); font-size: 21px; font-weight: 400; transition: transform .3s ease; }
.pregunta[open] summary span { transform: rotate(45deg); }
.pregunta > div { padding: 0 48px 24px 0; }
.pregunta p { margin: 0; color: var(--auto-pizarra); line-height: 1.7; }
.pregunta a { color: var(--auto-azul-profundo); text-underline-offset: 3px; }

@media (max-width: 999px) {
  .tipos-grid, .fallos-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 899px) {
  .preguntas-grid { grid-template-columns: 1fr; }
  .preguntas-cabeza { position: static; }
  .preguntas-cabeza h2 { max-width: 16ch; }
}

.auto-cierre { max-width: 1160px; margin: 0 auto clamp(72px, 9vw, 120px); padding: clamp(36px, 6vw, 70px); border-radius: 34px; display: flex; gap: 40px; align-items: center; justify-content: space-between; background: var(--auto-carbon); color: #fff; box-shadow: 0 35px 70px -42px rgba(19,25,35,.8); }
.auto-cierre h2 { max-width: 17ch; margin: 13px 0 0; font-size: clamp(34px, 5vw, 60px); line-height: 1.03; letter-spacing: -.05em; }
.auto-cierre p { max-width: 58ch; margin: 20px 0 0; color: #cbd4df; font-size: 17px; line-height: 1.6; }
.auto-kicker-claro { color: #75c5ff; }
.auto-boton { flex: none; display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px; border-radius: 14px; background: #fff; color: var(--auto-carbon); text-decoration: none; font-weight: 720; box-shadow: 0 18px 32px -20px #000; transition: transform .25s ease; }
.auto-boton:hover { transform: translateY(-3px); }
.auto-cierre-acciones { flex: none; display: grid; gap: 10px; min-width: 230px; }
.auto-boton-borde { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.38); }

@media (max-width: 719px) {
  .auto-hero { padding-top: 34px; padding-bottom: 68px; gap: 34px; }
  .auto-hero h1 { max-width: none; font-size: clamp(40px, 12vw, 54px); }
  .auto-portada { aspect-ratio: 4 / 5; }
  .auto-portada img { object-position: 50% 50%; }
  .dato-viajero { width: 11px; height: 11px; }
  .auto-arranque { padding-bottom: 58px; }
  .auto-seccion { padding-top: 58px; padding-bottom: 58px; }
  .auto-encabezado { margin-bottom: 36px; }
  .auto-encabezado h2, .auto-texto-largo h2, .preguntas-cabeza h2 { font-size: clamp(34px, 10vw, 44px); }
  .auto-resumen::after { right: 16px; }
  .ejemplos-grid { grid-template-columns: 1fr; }
  .ejemplos-grid article, .tipos-grid article, .inicio-pasos li { min-height: 0; }
  .ejemplos-grid h3, .tipos-grid h3 { margin-top: 28px; }
  .auto-cierre { margin-left: var(--margen); margin-right: var(--margen); flex-direction: column; align-items: flex-start; }
  .auto-boton { width: 100%; }
  .auto-nota, .medicion, .preguntas-grid { grid-template-columns: 1fr; }
  .preguntas-cabeza { position: static; }
  .tipos-grid, .fallos-grid, .inicio-pasos { grid-template-columns: 1fr; }
  .auto-cierre-acciones { width: 100%; min-width: 0; }
  .auto-imagen-contexto { border-radius: 24px; }
  .auto-imagen-contexto img { aspect-ratio: 4 / 3; object-position: 58% 50%; }
}

@media (max-width: 359px) {
  .barra .etiqueta-agencia { display: none; }
  .auto-meta span + span::before { display: none; }
  .ruta-mini { grid-template-columns: 1fr; gap: 10px; min-height: 0; }
  .ruta-nodo { grid-template-columns: 46px 1fr; align-items: center; justify-items: start; gap: 10px; font-size: 12px; text-align: left; }
  .ruta-nodo i { width: 42px; height: 42px; border-radius: 13px; }
  .ruta-nodo:not(:last-child)::after { left: 19px; top: 44px; width: 4px; height: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .animar .auto-articulo [data-reveal] { opacity: 1; animation: none; }
  .dato-viajero { animation: none; display: none; }
  .flujo-punto { animation: none; }
  .recorrido-lista li, .ejemplos-grid article, .auto-boton { transition: none; }
  .movimiento-control { display: none; }
}
