/* Sitio arioli.dev — capa de rediseño 2026-10-27 para inicio, productos, clientes, cómo trabajamos, contacto,
   Paraná y las tres páginas de servicio. Va DESPUÉS de partials/v2/styles (+ v2/pages) y reutiliza sus tokens.

   Design DNA «plano vivo»: el estudio se muestra como un plano técnico que funciona. Líneas finas, puntos y
   rótulos en DM Mono sobre el navy; nodos con el color de cada sistema; ámbar = vos / tu negocio / hablemos,
   azul = explorar, verde = WhatsApp. Nada de manchas, vidrio ni degradés violetas: el 3D es dibujo de líneas
   (Three.js r128) con un SVG equivalente de respaldo. El movimiento es lento y con sentido (órbitas, flujo,
   ensamblado, recorrido) y se apaga con prefers-reduced-motion. Todo se lee completo sin JS. */

.sitio { --line-strong: rgba(148,163,184,.22); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ── Escena (canvas + SVG de respaldo) ── */
.esc { position: relative; width: 100%; aspect-ratio: 600 / 520; overflow: hidden; contain: layout paint; }
.esc-svg, .esc-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.esc-canvas { opacity: 0; transition: opacity 1s var(--ease); pointer-events: none; }
.esc-svg { transition: opacity .8s var(--ease); }
.esc.is-3d .esc-canvas { opacity: 1; }
.esc.is-3d .esc-svg { opacity: 0; }
.esc-t { font-family: var(--font-mono); font-size: 12.5px; fill: var(--text2); letter-spacing: .02em; }
.esc-t-core { fill: #1d1400; font-weight: 500; font-size: 11.5px; }
.esc-t-num { fill: var(--text); font-size: 12px; }
.esc-t-city { fill: #f5b301; font-size: 15px; }
.esc-t-prov { fill: var(--text3); font-size: 13px; letter-spacing: .18em; text-transform: uppercase; }
.esc-orb { fill: none; stroke: var(--line-strong); stroke-width: 1; stroke-dasharray: 2 6; }
.esc-orb-in { stroke: rgba(245,179,1,.28); }
.esc-spoke { stroke: rgba(148,163,184,.18); stroke-width: 1; }
.esc-spoke-on { stroke: rgba(96,165,250,.45); stroke-dasharray: 4 5; }
.esc-link { stroke-width: 1; opacity: .2; }
.esc-link-on { opacity: .5; }
.esc-core { fill: #f5b301; }
.esc-core-ring { fill: none; stroke: rgba(245,179,1,.4); stroke-dasharray: 3 5; }
.esc-path { fill: none; stroke-width: 3; stroke-linecap: round; }
.esc-path-sh { stroke: rgba(148,163,184,.12); stroke-dasharray: 2 7; }
.esc-way { fill: var(--bg); stroke: var(--accent); stroke-width: 1.5; }
.esc-rect { stroke-width: 1.4; fill-opacity: .07; }
.esc-rect-marco { fill-opacity: .02; stroke-dasharray: 3 5; }
.esc-rect-ambar { fill-opacity: .22; }
.esc-rect-verde { fill-opacity: .22; }
.esc-rect-azul { fill-opacity: .14; }
.esc-prov { fill: url(#esc-dots); stroke: rgba(96,165,250,.55); stroke-width: 1.4; stroke-linejoin: round; }
.esc-rio { fill: none; stroke: #60a5fa; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; opacity: .85; }
.esc-arc { fill: none; stroke: rgba(245,179,1,.45); stroke-width: 1.3; stroke-dasharray: 3 6; }
.esc-pulse { fill: none; stroke: #f5b301; stroke-width: 1.4; opacity: 0; transform-box: fill-box; transform-origin: center; }

/* Respaldo con movimiento suave (solo CSS; se queda quieto con reduced-motion) */
@media (prefers-reduced-motion: no-preference) {
    .esc-orb { animation: escDash 30s linear infinite; }
    .esc-spoke-on, .esc-arc { animation: escDash 9s linear infinite; }
    .esc-node { animation: escBreath 5s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -.6s); }
    .esc-pulse { animation: escPulse 2.8s ease-out infinite; }
    .esc-pulse-2 { animation-delay: 1.4s; }
    .esc-piece { animation: escFloat 6s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -.45s); }
}
@keyframes escDash { to { stroke-dashoffset: -160; } }
@keyframes escBreath { 50% { opacity: .72; } }
@keyframes escPulse { 0% { opacity: .9; transform: scale(.25); } 100% { opacity: 0; transform: scale(1.6); } }
@keyframes escFloat { 50% { transform: translateY(calc(var(--z, 0) * -3px - 2px)); } }

/* ── Hero interno con escena ── */
.phero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); gap: 36px; align-items: center; }
.phero-grid > * { min-width: 0; }
.phero-split h1 { font-size: clamp(36px, 4.7vw, 64px); }
.phero-esc { position: relative; }
.js .phero-esc { opacity: 0; animation: prise 1.2s .35s var(--ease) forwards; }
.phero-esc::after { content: ''; position: absolute; inset: auto 8% -6px; height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong), transparent); }
.esc-cap { position: absolute; left: 0; bottom: 6px; font-family: var(--font-mono); font-size: 11.5px; color: var(--text3); letter-spacing: .06em; text-transform: uppercase; display: flex; gap: 10px; align-items: center; }
.esc-cap { opacity: 0; transition: opacity .6s var(--ease); }
.phero-esc:has(.esc.is-3d) .esc-cap { opacity: 1; }
.esc-cap::before { content: ''; width: 18px; height: 1px; background: var(--signal); }

/* ── Detalles «un paso más» del sistema v2 (solo en estas páginas) ── */
/* Índice de sección con trazo que se dibuja al aparecer */
.sitio .eyebrow .idx { position: relative; }
.sitio .eyebrow[data-reveal]::after { content: ''; width: 34px; height: 1px; background: currentColor; opacity: .5; transform-origin: left; transition: transform .9s .2s var(--ease); }
.js .sitio .eyebrow[data-reveal]:not(.in)::after { transform: scaleX(0); }
/* Sección clara que se abre con el scroll (sin JS: --sp no existe y queda abierta) */
.sitio .paper[data-sp] { clip-path: inset(0 calc((1 - var(--sp, 1)) * 3.2vw) round calc((1 - var(--sp, 1)) * 48px)); }
/* Botón ámbar con brillo que cruza al pasar el puntero */
.sitio .btn-signal { position: relative; overflow: hidden; }
.sitio .btn-signal::after { content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-18deg); transition: left .7s var(--ease); pointer-events: none; }
.sitio .btn-signal:hover::after { left: 130%; }
/* CTA final: borde con una señal ámbar que recorre el contorno */
.sitio .final-box::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
    background: conic-gradient(from var(--fang, 0deg), transparent 0 72%, rgba(245,179,1,.9) 86%, transparent 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: fspin 9s linear infinite; }
@property --fang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes fspin { to { --fang: 360deg; } }
/* ── Inicio: ecosistema ── */
.eco { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.eco > * { min-width: 0; }
.eco-list { list-style: none; display: grid; gap: 0; margin-top: 30px; border-top: 1px solid var(--card-border); }
.eco-list li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--card-border); font-size: 15.5px; color: var(--text2); line-height: 1.6; }
.eco-list li b { color: var(--text); font-weight: 700; }
.eco-list .dot { width: 12px; height: 12px; margin-top: 6px; border-radius: 50%; border: 2px solid var(--signal); }
.eco-list .dot.az { border-color: var(--accent); }
.eco-list .dot.ve { border-color: var(--wa); }
.eco-stage { position: relative; }

/* ── Productos: leyenda de la constelación ── */
.const-hint { margin-top: 18px; font-family: var(--font-mono); font-size: 12px; color: var(--text3); }

/* ── Clientes: muro vivo de logos ── */
.wall { position: relative; height: 470px; overflow: hidden; perspective: 1100px;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 16%, #000 84%, transparent); mask-image: linear-gradient(180deg, transparent, #000 16%, #000 84%, transparent); }
.wall-tilt { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; height: 100%; transform: rotateX(14deg) rotateY(-16deg) rotateZ(3deg) scale(.9); transform-origin: 60% 50%; }
.wall-col { overflow: hidden; }
.wall-track { display: flex; flex-direction: column; gap: 14px; }
.wall-tile { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; border: 1px solid var(--card-border); background: var(--card); color: var(--text2); font-size: 13.5px; font-weight: 600; line-height: 1.3; min-height: 84px; }
.wall-tile img, .wall-tile .ini { width: 52px; height: 52px; flex-shrink: 0; border-radius: 12px; background: #fff; object-fit: contain; padding: 5px; }
.wall-tile .ini { display: grid; place-items: center; padding: 0; color: var(--paper-ink); font-size: 22px; font-weight: 800; }
.wall-tile > span:not(.ini) { min-width: 0; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.wall-tile small { display: block; font-family: var(--font-mono); font-size: 10.5px; font-weight: 400; color: var(--text3); text-transform: uppercase; letter-spacing: .05em; margin-top: 3px; }
.wall-track [aria-hidden="true"] { display: none; }
@media (prefers-reduced-motion: no-preference) {
    .js .wall-track [aria-hidden="true"] { display: flex; }
    .js .wall-track { animation: wallUp var(--dur, 40s) linear infinite; }
    .js .wall-col:nth-child(2) .wall-track { animation-direction: reverse; }
    .wall:hover .wall-track { animation-play-state: paused; }
}
@keyframes wallUp { to { transform: translateY(calc(-50% - 7px)); } }

/* ── Contacto: tranquilo y directo ── */
.ct { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.ct > * { min-width: 0; }
.ct h1 { font-size: clamp(34px, 4.4vw, 56px); font-weight: 800; line-height: 1.02; letter-spacing: -.04em; margin: 20px 0 18px; }
.ct-chan { list-style: none; display: grid; gap: 12px; margin-top: 30px; }
.ct-chan a, .ct-chan .ct-static { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--card-border); background: var(--card); text-decoration: none; color: var(--text); transition: border-color .25s, transform .35s var(--ease); }
.ct-chan a:hover { border-color: rgba(59,130,246,.5); transform: translateX(4px); }
.ct-chan .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: #93c5fd; }
.ct-chan .ic.wa { background: rgba(34,197,94,.14); color: #4ade80; }
.ct-chan .ic.am { background: rgba(245,179,1,.12); color: var(--signal); }
.ct-chan b { display: block; font-size: 15.5px; }
.ct-chan span span { display: block; font-size: 13.5px; color: var(--text2); margin-top: 1px; overflow-wrap: anywhere; }
.ct-chan .go { color: var(--text3); font-size: 18px; }
.ct-chan a.ct-wa { border-color: rgba(34,197,94,.4); background: linear-gradient(90deg, rgba(34,197,94,.10), transparent 70%), var(--card); }
.ct-live { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; font-family: var(--font-mono); font-size: 12.5px; color: var(--text2); }
.ct-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 0 rgba(34,197,94,.5); }
@media (prefers-reduced-motion: no-preference) { .ct-live i { animation: ctPulse 2.6s infinite; } }
@keyframes ctPulse { 60% { box-shadow: 0 0 0 7px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
.ct-card { position: relative; padding: 36px; border-radius: 24px; border: 1px solid var(--card-border); background: radial-gradient(70% 60% at 100% 0%, rgba(59,130,246,.10), transparent 60%), var(--card); }
.ct-card::before { content: ''; position: absolute; left: 36px; right: 36px; top: -1px; height: 1px; background: linear-gradient(90deg, var(--accent), var(--signal)); transform: scaleX(var(--fill, 0)); transform-origin: left; transition: transform .6s var(--ease); }
.ct-card h2 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.ct-card .sub { color: var(--text2); font-size: 14.5px; margin-top: 4px; margin-bottom: 22px; }
.ct-form { display: grid; gap: 16px; }
.ct-form .row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.ct-form label { display: block; font-size: 13px; font-weight: 600; color: var(--text2); margin-bottom: 6px; }
.ct-form label small { font-weight: 400; color: var(--text3); font-size: 12.5px; }
.ct-form input, .ct-form textarea { width: 100%; font: inherit; font-size: 15px; color: var(--text); background: rgba(7,11,20,.6); border: 1px solid var(--card-border); border-radius: 12px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s; }
.ct-form textarea { min-height: 150px; resize: vertical; }
.ct-form input:focus, .ct-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(59,130,246,.2); }
.ct-form input::placeholder, .ct-form textarea::placeholder { color: var(--text3); }
.ct-form button.btn { border: 0; cursor: pointer; font-family: var(--font-sans); width: 100%; }
.ct-origin { padding: 12px 16px; border-radius: 12px; background: var(--accent-soft); border: 1px solid rgba(59,130,246,.3); font-size: 14px; color: var(--text2); }
.ct-origin strong { color: var(--text); }
.ct-note { font-size: 12.5px; color: var(--text3); text-align: center; }

/* ── Paraná ── */
.rb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.rb { position: relative; display: flex; flex-direction: column; padding: 22px 22px 18px; border-radius: 18px; border: 1px solid var(--card-border); background: var(--card); text-decoration: none; color: var(--text); overflow: hidden; transition: border-color .3s, transform .4s var(--ease); }
.rb::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--rb, var(--accent)); transform: scaleY(0); transform-origin: top; transition: transform .45s var(--ease); }
.rb:hover { border-color: color-mix(in srgb, var(--rb, var(--accent)) 45%, transparent); transform: translateY(-3px); }
.rb:hover::before { transform: scaleY(1); }
.rb-cat { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: var(--text3); }
.rb h3 { font-size: 17.5px; font-weight: 800; letter-spacing: -.015em; line-height: 1.3; margin: 8px 0 6px; }
.rb p { font-size: 14px; color: var(--text2); line-height: 1.55; flex: 1; }
.rb-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text3); }
.rb-foot b { color: var(--rb, var(--accent)); font-weight: 600; white-space: nowrap; }
.chips-cl { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-cl { display: inline-flex; align-items: center; gap: 12px; padding: 9px 16px 9px 9px; border-radius: 14px; border: 1px solid var(--card-border); background: var(--card); text-decoration: none; color: var(--text); font-size: 14px; font-weight: 600; transition: border-color .2s, transform .3s var(--ease); }
.chip-cl:hover { border-color: rgba(59,130,246,.45); transform: translateY(-2px); }
.chip-cl img, .chip-cl .ini { width: 36px; height: 36px; flex-shrink: 0; border-radius: 9px; background: #fff; object-fit: contain; }
.chip-cl .ini { display: grid; place-items: center; color: var(--paper-ink); font-weight: 800; }
.chip-cl small { display: block; font-size: 12px; font-weight: 500; color: var(--text3); }
.prose-local { font-size: 17px; color: var(--text2); line-height: 1.75; max-width: 760px; margin-top: 18px; }

@media (max-width: 1024px) {
    .phero-grid, .eco, .ct { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .phero-esc { max-width: 560px; width: 100%; margin: 0 auto; }
    .wall { height: 340px; }
    .rb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
    .rb-grid, .ct-form .row2 { grid-template-columns: minmax(0, 1fr); }
    .ct-card { padding: 26px 18px; border-radius: 20px; }
    .ct-card::before { left: 18px; right: 18px; }
    .wall { height: 280px; }
    .wall-tilt { grid-template-columns: repeat(2, minmax(0, 1fr)); transform: rotateX(10deg) rotateZ(2deg); }
    .wall-col:nth-child(3) { display: none; }
    .esc-t { font-size: 15px; }
    .sitio .paper[data-sp] { clip-path: none; }
}
@media (prefers-reduced-motion: reduce) {
    .js .phero-esc { opacity: 1; animation: none; }
    .sitio .final-box::before { animation: none; opacity: .35; }
    .sitio .paper[data-sp] { clip-path: none; }
    .sitio .btn-signal::after { display: none; }
}
