/* Plastipress.
   Composición: fondos claros que alternan blanco y papel, video y fotos a sangre, titulares grandes y livianos
   alineados a la izquierda, mucho aire. Un bloque verde (tu marca) y un cierre oscuro: la cotización y el pie.
   Sin recuadros: la jerarquía la dan el tamaño del texto, el espacio y alguna línea fina. */

@font-face { font-family: "General Sans"; src: url("../fonts/general-sans-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("../fonts/general-sans-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("../fonts/general-sans-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("../fonts/general-sans-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --blanco: #ffffff;
  --papel: #f3f4f0;        /* fondo general, como el film */
  --tinta: #0e1f17;
  --gris: #59655e;
  --gris-claro: #9aa59e;
  --linea: #d3d9d0;
  --verde: #006545;        /* el verde Plastipress: acción y acentos */
  --verde-hover: #00553a;
  --bosque: #0b2e20;       /* el pie, el único bloque oscuro */
  --lima: #aec539;
  --naranja: #e65314;      /* el rojo anaranjado del logo: poco, como acento */
  --naranja-oscuro: #c2410c; /* el mismo, para texto chico y fondos con texto blanco */
  --lima-suave: #e3ebd6;
  --font: "General Sans", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --bar: 72px;
  --gutter: max(24px, env(safe-area-inset-left, 0px));
  --gutter-r: max(24px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-padding-top: var(--bar); -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--papel); color: var(--tinta); font: 400 18px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { margin: 0; font-weight: 500; text-wrap: balance; }
p, ul, ol, figure, address, dl, dd { margin: 0; }
p, li, dd { text-wrap: pretty; }
address { font-style: normal; }
img, video { display: block; max-width: 100%; height: auto; }
img.is-missing { visibility: hidden; }
a { color: inherit; text-underline-offset: 4px; }
:focus-visible { outline: 2px solid var(--verde); outline-offset: 3px; }
.pie :focus-visible { outline-color: var(--lima); }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: 8px; z-index: 100; padding: 12px 16px; background: var(--blanco); font-weight: 500; transform: translateY(-160%); transition: transform 0.4s var(--ease); }
.skip:focus { transform: none; }

.wrap { width: min(1440px, 100%); margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
@media (min-width: 1024px) { :root { --gutter: max(48px, env(safe-area-inset-left, 0px)); --gutter-r: max(48px, env(safe-area-inset-right, 0px)); } }

/* piezas comunes */
.kicker { font-size: 14px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--verde); }
h1 em, h2 em, .dato__frase em { font-style: italic; color: var(--verde); }
.seccion__lead { margin-top: 24px; font-size: 20px; line-height: 1.5; color: var(--gris); max-width: 46ch; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--verde); color: var(--blanco); font: 500 16px/1 var(--font); text-decoration: none; cursor: pointer; transition: background-color 0.3s var(--ease), transform 0.4s var(--ease); }
.btn:hover { background: var(--verde-hover); }
.btn:active { transform: scale(0.97); }
.btn--chico { min-height: 44px; padding: 0 20px; font-size: 15px; }
.flecha { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0; border: 0; background: none; color: var(--tinta); font: 500 16px/1 var(--font); text-decoration: none; cursor: pointer; }
.flecha::after { content: "→"; color: var(--verde); transition: transform 0.4s var(--ease); }
.flecha:hover::after { transform: translateX(6px); }
.flecha span { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--lima); text-decoration-thickness: 2px; }
.flecha--claro { color: var(--papel); }
.flecha--claro::after { color: var(--lima); }

/* ------------------------------------------------------------------ barra */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--papel); }
.bar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--papel); box-shadow: 0 1px 0 transparent; transition: box-shadow 0.3s var(--ease); }
.bar.is-scrolled { box-shadow: 0 1px 0 var(--linea); }
.bar__in { height: var(--bar); width: min(1440px, 100%); margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); display: flex; align-items: center; gap: 40px; }
.logo { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; }
/* el logo abreviado (la P), tal cual el de Plastipress */
.logo img { width: auto; height: 46px; }
.bar__nav { display: flex; gap: 8px; margin-left: auto; }
.bar__nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; text-decoration: none; font-size: 16px; font-weight: 500; color: var(--gris); transition: color 0.3s var(--ease); }
.bar__nav a:hover { color: var(--tinta); }
.bar__corto { display: none; }
.bar__n { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; display: inline-grid; place-items: center; background: var(--naranja-oscuro); color: var(--blanco); font-size: 13px; font-weight: 600; }
.bar__n.is-bump { animation: bump 0.6s var(--ease); }
@keyframes bump { 30% { transform: scale(1.35); } }
.menu { display: none; position: relative; }
.menu summary { list-style: none; width: 44px; height: 44px; display: grid; place-content: center; gap: 6px; cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { display: block; width: 22px; height: 2px; background: var(--tinta); transition: transform 0.4s var(--ease); }
.menu[open] summary span:first-child { transform: translateY(4px) rotate(45deg); }
.menu[open] summary span:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu nav { position: absolute; right: 0; top: calc(100% + 14px); width: min(300px, calc(100vw - 32px)); background: var(--blanco); box-shadow: 0 1px 0 var(--linea), 0 12px 32px rgba(14, 31, 23, 0.12); padding: 8px; display: grid; }
.menu nav a { min-height: 48px; display: flex; align-items: center; padding: 0 16px; text-decoration: none; font-weight: 500; }

/* ------------------------------------------------------------------ 1 · inicio: una sola vista */
.inicio { position: relative; min-height: calc(100svh - var(--bar)); display: grid; align-items: center; overflow: hidden; background: var(--papel); }
/* el film corre de fondo, atenuado: se entiende qué es sin competir con el titular */
.inicio__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.8; will-change: transform; }
.inicio::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(90deg, rgba(243, 244, 240, 0.9) 0%, rgba(243, 244, 240, 0.72) 42%, rgba(243, 244, 240, 0.18) 100%); }
.inicio__texto { position: relative; z-index: 1; padding-block: 64px 96px; display: grid; gap: 28px; justify-items: start; }
.inicio h1 { font-size: clamp(60px, 10.5vw, 184px); line-height: 0.96; letter-spacing: -0.05em; }
.inicio h1 .l { display: block; overflow: hidden; padding-bottom: 0.24em; margin-bottom: -0.16em; }
.inicio h1 .l > * { display: inline-block; }
.inicio__sub { font-size: clamp(20px, 1.8vw, 26px); line-height: 1.35; font-weight: 500; }
.inicio__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 8px; }

/* ------------------------------------------------------------------ 2 · lo que gana el cliente, y las cifras */
.dato { background: var(--blanco); padding-block: 152px 128px; }
.dato .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 64px 96px; align-items: center; }
.dato__frase { font-size: clamp(34px, 4.4vw, 68px); line-height: 1.06; letter-spacing: -0.035em; font-weight: 500; max-width: 20ch; }
.dato__frase .w { display: inline; }
.cifras { display: grid; gap: 44px; }
.cifras div { display: flex; flex-direction: column; gap: 6px; }
.cifras dd { order: -1; font-size: clamp(60px, 6vw, 100px); line-height: 0.95; letter-spacing: -0.05em; font-weight: 500; color: var(--verde); font-variant-numeric: tabular-nums; }
.cifras dt { font-size: 18px; color: var(--gris); max-width: 24ch; }

/* ------------------------------------------------------------------ títulos de sección */
.rubros h2, .marca h2, .planta h2, .cobertura h2, .cotiz h2, .faq h2 { margin-top: 0; font-size: clamp(44px, 5.8vw, 92px); line-height: 0.95; letter-spacing: -0.04em; max-width: 14ch; }
/* título a la izquierda, una línea de apoyo abajo a la derecha */
.cabeza { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 24px 64px; align-items: end; }
.cabeza__lado { font-size: 19px; line-height: 1.5; color: var(--gris); max-width: 34ch; padding-bottom: 10px; }

/* ------------------------------------------------------------------ 3 · soluciones por rubro */
.rubros { background: var(--papel); padding-block: 144px; }
.rubros__tabs { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 0 32px; }
.rubros__tabs button { position: relative; min-height: 56px; padding: 0; border: 0; background: none; font-size: 19px; font-weight: 500; color: var(--gris); cursor: pointer; transition: color 0.3s var(--ease); }
.rubros__tabs button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--verde); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); }
.rubros__tabs button:hover { color: var(--tinta); }
.rubros__tabs button:focus-visible { outline-offset: -4px; }
.rubros__tabs button[aria-selected="true"] { color: var(--tinta); }
.rubros__tabs button[aria-selected="true"]::after { transform: none; }
.casos { margin-top: 56px; }
.caso { display: none; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: center; }
.caso.is-on { display: grid; }
html:not(.js) .caso { display: grid; margin-bottom: 64px; }
/* al cambiar de rubro el caso nuevo entra sobre el anterior (src/rubros.js): los dos ocupan la misma celda */
html.js .casos { display: grid; }
html.js .caso { grid-area: 1 / 1; }
.caso.is-on { position: relative; z-index: 1; }
.caso.is-saliendo { display: grid; pointer-events: none; }
.caso__visual { position: relative; }
.caso__foto { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
/* el producto que lo resuelve, en la columna del texto (la foto queda limpia), con su sombra de apoyo */
.caso__estrella { justify-self: start; width: auto; max-width: 100%; height: clamp(150px, 15vw, 220px); object-fit: contain; margin-bottom: 8px; filter: drop-shadow(0 22px 22px rgba(14, 31, 23, 0.2)); }
.caso__texto { display: grid; gap: 20px; align-content: center; }
/* el problema del cliente, en el rojo anaranjado del logo; la solución, grande, en tinta */
.caso__pregunta { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.4; color: var(--naranja-oscuro); max-width: 32ch; }
.caso__respuesta { font-size: clamp(32px, 3.2vw, 52px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 500; max-width: 18ch; }
.caso__texto .producto__sumar { font-size: 16px; }
.rubros__h { margin-top: 128px; font-size: clamp(24px, 2vw, 30px); line-height: 1.15; letter-spacing: -0.02em; font-weight: 500; }
.rubros__h + .productos--chicos { margin-top: 16px; }
* + .rubros__h { margin-top: 96px; }
.caso + .rubros__h, .casos + .rubros__h { margin-top: 128px; }
.productos { list-style: none; padding: 0; margin-top: 24px; display: grid; }
.producto { display: grid; grid-template-columns: 112px minmax(0, 5fr) minmax(0, 4fr) auto; gap: 4px 40px; align-items: center; padding-block: 20px; border-top: 1px solid var(--linea); }
.productos:not(.productos--chicos) > .producto:last-child { border-bottom: 1px solid var(--linea); }
.producto__img { grid-column: 1; grid-row: 1 / span 2; position: relative; width: 100%; aspect-ratio: 1 / 1; }
/* la sombra de apoyo: es donde el producto toca la mesa */
.producto__img::before { content: ""; position: absolute; left: 14%; right: 14%; bottom: 7%; height: 9%; border-radius: 50%; background: radial-gradient(closest-side, rgba(14, 31, 23, 0.16), rgba(14, 31, 23, 0)); }
.producto__img img { position: absolute; left: 6%; top: 4%; width: 88%; height: 88%; max-width: none; object-fit: contain; transition: transform 0.6s var(--ease); }
.producto:hover .producto__img img { transform: translateY(-4px) rotate(-2deg); }
.producto h3 { grid-column: 2; grid-row: 1; align-self: end; font-size: clamp(24px, 2.2vw, 34px); line-height: 1.1; letter-spacing: -0.025em; transition: color 0.3s var(--ease); }
.producto:hover h3 { color: var(--verde); }
.producto__para { grid-column: 2; grid-row: 2; align-self: start; font-size: 16px; line-height: 1.5; color: var(--gris); max-width: 46ch; }
.producto__datos { grid-column: 3; grid-row: 1 / span 2; display: grid; gap: 4px; font-size: 15px; }
.producto__datos div { display: flex; gap: 8px; }
.producto__datos dt { color: var(--gris); }
.producto__datos dd { font-weight: 500; }
.producto > .producto__sumar { grid-column: 4; grid-row: 1 / span 2; justify-self: end; font-size: 15px; }
.caso__texto .producto__sumar { justify-self: start; }
.producto__sumar::after { content: "+"; font-size: 20px; line-height: 1; }
.producto__sumar.is-sumado { color: var(--verde); }
.producto__sumar.is-sumado::after { content: "✓"; font-size: 15px; }
.productos--chicos { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; }
.productos--chicos .producto { grid-template-columns: minmax(0, 1fr) auto; padding-block: 16px; }
.productos--chicos .producto__img, .productos--chicos .producto__para, .productos--chicos .producto__datos { display: none; }
.productos--chicos h3 { grid-column: 1; grid-row: 1; align-self: center; font-size: clamp(20px, 1.6vw, 24px); }
.productos--chicos .producto__sumar { grid-column: 2; grid-row: 1; font-size: 14px; }
/* con mouse, el producto aparece junto al cursor al pasar por su nombre (src/rubros.js) */
.vista-producto { position: fixed; left: 0; top: 0; z-index: 30; width: 220px; aspect-ratio: 1 / 1; margin: -110px 0 0 24px; pointer-events: none; opacity: 0; }
.vista-producto img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 18px 22px rgba(14, 31, 23, 0.2)); }

/* ------------------------------------------------------------------ 4 · tu marca en la bolsa */
.marca { background: var(--verde); color: var(--papel); padding-block: 144px; }
.marca .kicker { color: var(--lima); }
.marca h2 em { color: var(--lima); }
.marca .seccion__lead { color: #cfe3d6; }
.marca__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 80px; align-items: center; }
.marca__escena { position: relative; width: min(100%, calc(86svh * 2 / 3)); aspect-ratio: 2 / 3; justify-self: center; overflow: hidden; background: #9a9f95; }
.marca__escena.is-lista { background: none; }
.marca__escena > img, .marca__escena > canvas { width: 100%; height: 100%; object-fit: cover; transform-origin: var(--ox, 50%) var(--oy, 55%); transition: transform 0.9s var(--ease); }
.marca__escena.is-cerca > canvas { transform: scale(1.9); }
.marca__lupa { position: absolute; right: 16px; bottom: 16px; min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--blanco); color: var(--tinta); font: 500 14px/1 var(--font); cursor: pointer; transition: transform 0.4s var(--ease); }
.marca__lupa:active { transform: scale(0.96); }
.marca__form { margin-top: 48px; display: grid; gap: 32px; }
.marca__form fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.marca__form legend { padding: 0; margin-bottom: 12px; font-size: 14px; font-weight: 500; color: #bcd6c6; }
.btn--claro { background: var(--blanco); color: var(--verde); }
.btn--claro:hover { background: var(--lima); color: var(--tinta); }
.btn--linea-clara { background: transparent; color: var(--blanco); box-shadow: inset 0 0 0 1.5px var(--blanco); }
.btn--linea-clara:hover { background: var(--blanco); color: var(--verde); }
.btn--linea { background: transparent; color: var(--tinta); box-shadow: inset 0 0 0 1.5px var(--tinta); }
.btn--linea:hover { background: var(--tinta); color: var(--papel); }
.marca__logo:focus-within .soltar { outline: 2px solid var(--lima); outline-offset: 3px; }
/* tu logo: se arrastra a la zona (o a cualquier parte de la sección, la bolsa incluida) o se elige del equipo */
.soltar { flex: 1 1 100%; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 2px 16px; padding: 18px 20px; border: 1.5px dashed rgba(255, 255, 255, 0.45); border-radius: 16px; cursor: pointer; transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease); }
.soltar:hover, .marca.is-encima .soltar { border-color: var(--lima); background: rgba(174, 197, 57, 0.1); }
.soltar__icono { grid-row: span 3; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--lima); color: var(--bosque); font: 600 20px/1 var(--font); font-style: normal; transition: transform 0.4s var(--ease), background-color 0.3s var(--ease); }
.marca.is-encima .soltar__icono { transform: translateY(-4px); }
.soltar__t { font-size: 18px; font-weight: 500; color: var(--blanco); overflow-wrap: anywhere; }
.soltar__o { font-size: 15px; color: #cfe3d6; }
.soltar__o u { text-decoration-color: var(--lima); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.soltar small { font-size: 13px; color: #bcd6c6; }
.soltar.is-cargado { border-style: solid; border-color: rgba(255, 255, 255, 0.3); }
.soltar.is-cargado .soltar__icono { background: var(--blanco); color: var(--verde); }
/* al arrastrar un archivo sobre la sección, la bolsa también avisa que lo recibe */
.marca__escena::after { content: "Soltá tu logo acá"; position: absolute; inset: 12px; display: grid; place-items: center; border: 2px dashed var(--lima); border-radius: 16px; background: rgba(0, 101, 69, 0.6); color: var(--blanco); font: 500 22px/1.2 var(--font); opacity: 0; pointer-events: none; transition: opacity 0.25s var(--ease); }
.marca.is-encima .marca__escena::after { opacity: 1; }
.marca :focus-visible { outline-color: var(--lima); }
.marca__o { font-size: 15px; color: #bcd6c6; }
#m-texto { flex: 1 1 100%; padding: 6px 0 8px; border: 0; border-bottom: 2px solid var(--blanco); border-radius: 0; background: transparent; color: var(--blanco); font: 500 22px/1.2 var(--font); }
#m-texto::placeholder { color: #aed7c0; }
#m-texto:focus { outline: none; border-color: var(--lima); box-shadow: 0 2px 0 var(--lima); }
.opciones label, .colores label { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; }
.opciones input, .colores input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opciones span { font-size: 18px; font-weight: 500; color: #bcd6c6; padding-block: 6px; box-shadow: inset 0 -2px 0 transparent; transition: color 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.opciones input:checked + span { color: var(--blanco); box-shadow: inset 0 -2px 0 var(--lima); }
.colores i { width: 28px; height: 28px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(14, 31, 23, 0.18); transition: box-shadow 0.3s var(--ease); }
.colores input:checked + i { box-shadow: inset 0 0 0 1px rgba(14, 31, 23, 0.18), 0 0 0 3px var(--verde), 0 0 0 5px var(--lima); }
.colores span { font-size: 15px; color: #bcd6c6; }
.opciones input:focus-visible + span, .colores input:focus-visible + i { outline: 2px solid var(--lima); outline-offset: 4px; }
.marca__tam { display: grid; gap: 8px; }
.marca__tam label { font-size: 14px; font-weight: 500; color: #bcd6c6; }
.marca__tam input { width: min(280px, 100%); height: 44px; margin: 0; accent-color: var(--lima); }
.marca__acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.marca__msg { font-size: 15px; color: var(--blanco); font-weight: 500; }
.marca__nota { font-size: 14px; color: #bcd6c6; }

/* ------------------------------------------------------------------ 5 · la planta: el recorrido de un pedido */
.planta { background: var(--papel); padding-block: 144px 96px; }
.planta__cabeza { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 24px 64px; align-items: end; }
.pista { list-style: none; margin: 64px 0 0; padding: 0 var(--gutter-r) 8px var(--gutter); display: flex; gap: 32px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.pista::-webkit-scrollbar { display: none; }
.paso { flex: none; width: clamp(300px, 56vw, 880px); scroll-snap-align: start; display: grid; gap: 24px; align-content: start; }
.paso__media { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: #c9d0cf; }
.paso__media > * { width: 100%; height: 100%; object-fit: cover; }
.paso__media .is-alta { object-position: 50% 30%; }
.paso__texto { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 20px; align-items: start; max-width: 560px; }
.paso__n { grid-row: span 2; font-size: clamp(40px, 4vw, 64px); line-height: 0.9; letter-spacing: -0.04em; font-weight: 500; color: var(--verde); font-variant-numeric: tabular-nums; }
.paso h3 { font-size: clamp(26px, 2.4vw, 36px); line-height: 1.05; letter-spacing: -0.025em; }
.paso p { color: var(--gris); }
.planta__pie { margin-top: 40px; display: flex; align-items: center; gap: 24px; }
.planta__avance { flex: 1; height: 2px; background: var(--linea); overflow: hidden; }
.planta__avance i { display: block; height: 100%; background: var(--verde); transform: scaleX(0.17); transform-origin: left; will-change: transform; }
.planta__cuenta { font-size: 15px; font-weight: 500; color: var(--gris); font-variant-numeric: tabular-nums; }
.planta__cuenta b { color: var(--tinta); font-weight: 600; }
/* en la escena, la sección queda fija y la pista se mueve con el scroll */
.planta.is-live { padding: 0; }
.planta.is-live .planta__stage { display: flex; flex-direction: column; justify-content: center; padding-top: var(--bar); }
.planta.is-live .pista { overflow: visible; scroll-snap-type: none; width: max-content; margin-top: clamp(24px, 4svh, 48px); will-change: transform; }
.planta.is-live h2 { font-size: clamp(40px, min(4.8vw, 8svh), 84px); }
.planta.is-live .planta__pie { margin-top: clamp(16px, 3svh, 40px); }
.planta.is-live .paso { width: clamp(300px, 46vw, 760px); }
.planta.is-live .paso__media { aspect-ratio: auto; height: clamp(200px, 40svh, 520px); }
/* cada foto se corre un poco dentro de su marco mientras la pista avanza: da profundidad */
.planta.is-live .paso__media > * { width: 116%; max-width: none; margin-left: -8%; will-change: transform; }
/* la burbuja es vertical: su paso también */
.planta.is-live .paso[data-paso="2"] { width: clamp(300px, 34svh, 440px); }

/* ------------------------------------------------------------------ 6 · entregas */
.cobertura { background: var(--blanco); padding-block: 144px; }
.cobertura__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.promesas { list-style: none; padding: 0; margin-top: 56px; display: grid; }
.promesas li { display: grid; gap: 6px; padding-block: 20px; border-top: 1px solid var(--linea); }
.promesas li:last-child { border-bottom: 1px solid var(--linea); }
.promesas__plazo { font-size: clamp(28px, 2.6vw, 40px); line-height: 1; letter-spacing: -0.03em; font-weight: 500; color: var(--verde); white-space: nowrap; }
.promesas__texto { font-size: 16px; color: var(--gris); }
.cobertura__fuera { margin-top: 16px; font-size: 15px; color: var(--gris); }
/* la lista de sugerencias pasa por encima de los plazos (cada bloque se desliza al entrar y arma su propia capa) */
.buscador { position: relative; z-index: 3; margin-top: 48px; display: grid; gap: 10px; }
html:not(.js) .buscador { display: none; }
html:not(.js) .inicio__video, html:not(.js) .planta__pie { display: none; }
html:not(.js) .inicio { background: var(--papel) url("../video/inicio-poster.webp") center / cover; }
.buscador label { font-size: clamp(22px, 2vw, 28px); line-height: 1.2; letter-spacing: -0.02em; font-weight: 500; }
.buscador input { width: 100%; min-width: 0; padding: 8px 0 10px; border: 0; border-bottom: 2px solid var(--tinta); border-radius: 0; background: transparent; color: var(--tinta); font: 500 26px/1.2 var(--font); letter-spacing: -0.01em; transition: border-color 0.3s var(--ease); }
.buscador input::placeholder { color: #67726b; }
.buscador input:focus { outline: none; border-color: var(--verde); box-shadow: 0 2px 0 var(--verde); }
.buscador__campo { position: relative; scroll-margin-top: calc(var(--bar) + 16px); }
.buscador__lista { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 5; list-style: none; margin: 0; padding: 6px; background: var(--blanco); box-shadow: 0 1px 0 var(--linea), 0 16px 40px rgba(14, 31, 23, 0.14); max-height: min(360px, 38svh); overflow-y: auto; }
.buscador__lista li { min-height: 44px; padding: 10px 14px; display: flex; justify-content: space-between; gap: 16px; align-items: center; cursor: pointer; font-size: 17px; }
.buscador__lista li small { color: var(--gris); font-size: 14px; }
.buscador__lista li[aria-selected="true"], .buscador__lista li:hover { background: var(--papel); }
.buscador__lista mark { background: none; color: var(--verde); font-weight: 600; }
.buscador__fuente { font-size: 15px; color: var(--gris); }
.buscador__res { min-height: 28px; display: grid; gap: 12px; font-size: 18px; }
.buscador__res:empty { display: none; }
.buscador__res b { font-weight: 600; }

.mapa { position: relative; align-self: start; }
.mapa__svg { display: block; width: 100%; height: auto; overflow: visible; }
/* los bordes del mapa se desvanecen en el fondo: no queda una caja (un velo encima, más barato que una máscara) */
.mapa::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to right, var(--blanco), rgba(255, 255, 255, 0) 9%), linear-gradient(to top, var(--blanco), rgba(255, 255, 255, 0) 10%); }
@media (min-width: 1024px) { .mapa { position: sticky; top: calc(var(--bar) + 32px); } }
.mapa__prov path { fill: #f1f3ee; stroke: #d6dcd3; stroke-width: 1.5; stroke-linejoin: round; }
.mapa__prov path.is-clientes { fill: var(--lima-suave); stroke: #c9d6b8; }
.mapa__nombres text { font: 500 17px var(--font); letter-spacing: 0.14em; fill: #a3ad9f; text-anchor: middle; }
.mapa__nombres text.is-pais { fill: #c2c9c0; font-style: italic; }
.mapa__rutas path { fill: none; stroke: var(--verde); stroke-width: 1.6; stroke-opacity: 0.45; stroke-linecap: round; transition: stroke-opacity 0.4s var(--ease), stroke-width 0.4s var(--ease); }
.mapa.has-pick .mapa__rutas path { stroke-opacity: 0.16; }
.mapa.has-pick .mapa__rutas path.is-on { stroke-opacity: 1; stroke-width: 3; }
.mapa__pins { position: absolute; inset: 0; }
.mapa__pin { position: absolute; width: 32px; height: 32px; transform: translate(-50%, -50%); cursor: pointer; }
.mapa__pin::before { content: ""; position: absolute; inset: 11px; border-radius: 50%; background: var(--blanco); box-shadow: 0 0 0 2px var(--verde); transition: transform 0.4s var(--ease), background-color 0.3s var(--ease); }
.mapa__pin:hover::before { transform: scale(1.4); }
.mapa__pin > span { position: absolute; left: calc(100% - 6px); top: 50%; transform: translateY(-50%); font-size: 13px; font-weight: 500; white-space: nowrap; color: var(--tinta); text-shadow: 0 0 3px var(--blanco), 0 0 3px var(--blanco), 0 0 3px var(--blanco); opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease); }
.mapa__pin.is-izq > span { left: auto; right: calc(100% - 6px); }
.mapa__pin.has-nombre > span, .mapa__pin:hover > span, .mapa__pin.is-on > span { opacity: 1; }
.mapa__pin.is-on::before { background: var(--verde); transform: scale(1.5); }
.mapa__pin.is-on > span { font-weight: 600; }
.mapa__pin.is-on { z-index: 2; }
.mapa__pin.is-temp::before { background: var(--lima); box-shadow: 0 0 0 2px var(--verde); }
.mapa__rutas path.is-temp { stroke-dasharray: 5 6; }
.mapa__planta { position: absolute; display: flex; align-items: center; gap: 8px; transform: translate(-14px, -50%); pointer-events: none; z-index: 3; }
/* la P sola (sin su cuadrado blanco) marca la planta */
.mapa__planta img { width: 28px; height: auto; filter: drop-shadow(0 1px 1px rgba(255, 255, 255, 0.9)); }
.mapa__planta span { font-size: 13px; font-weight: 600; text-shadow: 0 0 3px var(--blanco), 0 0 3px var(--blanco), 0 0 3px var(--blanco); transform: translateY(-14px); }
.mapa__envio { position: absolute; left: 0; top: 0; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--verde); will-change: transform, opacity; pointer-events: none; }

/* ------------------------------------------------------------------ 7 · cotización */
/* el cierre oscuro: la cotización y el pie. Los colores se redefinen acá y todo lo de adentro los toma */
.cotiz { --tinta: #f3f4f0; --gris: #a8bcb0; --gris-claro: #7d9688; --linea: #2b5240; --verde: var(--lima); --verde-hover: #c6da5c; background: var(--bosque); color: var(--tinta); color-scheme: dark; padding-block: 144px 120px; }
.cotiz .btn { color: var(--bosque); }
.cotiz .field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23aec539' stroke-width='2'/%3E%3C/svg%3E"); }
.cotiz .field select option { background: var(--bosque); color: var(--tinta); }
.cotiz .field.is-error input, .cotiz .field.is-error textarea { border-color: #ff9a8f; box-shadow: 0 1px 0 #ff9a8f; }
.cotiz .form__msg.is-error { color: #ffb4ab; }
.cotiz .lista__items button:hover { background: #163f2d; color: #ffb4ab; }
.cotiz .lista__items li { grid-template-columns: 56px minmax(0, 1fr) auto; }
.lista__items img { width: 56px; height: 56px; object-fit: contain; }
.form__copiar { margin-top: 8px; }
.cotiz__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 96px; align-items: start; }
.despues { margin-top: 48px; padding: 0; list-style: none; display: grid; gap: 16px; counter-reset: paso; }
.despues li { position: relative; padding-left: 40px; color: var(--gris); }
.despues li::before { counter-increment: paso; content: counter(paso); position: absolute; left: 0; top: 0; font-weight: 600; color: var(--verde); }
.cotiz__tel { margin-top: 40px; color: var(--gris); }
.cotiz__tel a { display: inline-flex; align-items: center; min-height: 44px; color: var(--tinta); font-weight: 500; }
.form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px 32px; padding-top: 12px; }
.form > * { grid-column: 1 / -1; }
.form > .field--mitad { grid-column: auto; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 500; color: var(--gris); }
.field input, .field select, .field textarea { width: 100%; padding: 8px 0 10px; border: 0; border-bottom: 1px solid var(--gris-claro); border-radius: 0; background: transparent; color: var(--tinta); font: 500 20px/1.35 var(--font); transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.field select { appearance: none; cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23006545' stroke-width='2'/%3E%3C/svg%3E") right 4px center no-repeat; padding-right: 28px; }
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: var(--gris-claro); font-weight: 400; font-size: 17px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--verde); box-shadow: 0 1px 0 var(--verde); }
.field.is-error input, .field.is-error textarea { border-color: #b3261e; box-shadow: 0 1px 0 #b3261e; }
.lista__h { font-size: 14px; font-weight: 500; color: var(--gris); }
.lista__items { list-style: none; padding: 0; margin-top: 4px; }
.lista__items li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--linea); }
.lista__items b { font-weight: 500; }
.lista__items small { display: block; color: var(--gris); font-size: 15px; }
.lista__items button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--gris); font-size: 22px; cursor: pointer; transition: background-color 0.3s var(--ease), color 0.3s var(--ease); }
.lista__items button:hover { background: var(--blanco); color: #b3261e; }
.form__send { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.form__msg:empty { display: none; }
.form__msg { font-weight: 500; }
.form__msg.is-error { color: #b3261e; }
.form__msg a { color: var(--verde); }
.form__nota { font-size: 15px; color: var(--gris); }
.form__nota a { display: inline-flex; align-items: center; min-height: 44px; color: var(--verde); font-weight: 500; }

/* ------------------------------------------------------------------ 8 · preguntas */
.faq { background: var(--papel); padding-block: 144px; }
.faq__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.faq__list { border-top: 1px solid var(--linea); }
.faq details { border-bottom: 1px solid var(--linea); }
.faq summary { list-style: none; position: relative; display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 76px; padding: 20px 0; cursor: pointer; font-size: 22px; font-weight: 500; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--papel); color: var(--verde); font-size: 24px; font-weight: 400; transition: transform 0.4s var(--ease), background-color 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--lima-suave); }
.faq summary:hover { color: var(--verde); }
.faq details p { padding: 0 64px 28px 0; color: var(--gris); max-width: 62ch; }

/* ------------------------------------------------------------------ 9 · pie */
.pie { background: var(--bosque); color: var(--papel); padding-block: 96px 40px; border-top: 1px solid #234a38; }
/* el logo completo, sobre su propio fondo blanco */
.pie__logo { width: auto; height: 76px; border-radius: 12px; }
.pie__fuente { font-size: 13px; color: #7d9688; }
.pie__grid { margin-top: 0; display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.pie__col { display: grid; gap: 16px; align-content: start; }
.pie h2 { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lima); }
.pie address { font-size: 20px; line-height: 1.45; }
.pie__muted { color: #a8bcb0; }
.pie__tels { list-style: none; padding: 0; display: grid; }
.pie__tels a { display: inline-flex; align-items: center; min-height: 44px; font-size: 26px; font-weight: 500; letter-spacing: -0.01em; text-decoration: none; }
.pie__tels a:hover { color: var(--lima); }
.mojon { display: grid; justify-items: center; }
.mojon__escudo { width: 112px; height: auto; }
.mojon__km { margin-top: -4px; width: 112px; padding: 10px 0 14px; background: #fff; color: var(--tinta); display: grid; justify-items: center; box-shadow: inset 0 0 0 4px var(--tinta); }
.mojon__km span { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; }
.mojon__km b { font-size: 34px; font-weight: 600; line-height: 1; }
.mojon::after { content: ""; width: 22px; height: 40px; background: #3a5246; }
.pie__base { margin-top: 96px; padding-top: 24px; border-top: 1px solid #234a38; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; color: #a8bcb0; font-size: 15px; }

/* ------------------------------------------------------------------ pantallas */
@media (max-width: 1023px) {
  .bar__nav { display: none; }
  .bar__cta { margin-left: auto; }
  .menu { display: block; }
  .cabeza, .planta__cabeza { grid-template-columns: minmax(0, 1fr); }
  .cobertura__grid, .cotiz__grid, .faq__grid, .marca__grid, .caso { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .caso { gap: 32px; }
  .dato .wrap { grid-template-columns: minmax(0, 1fr); }
  .cifras { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
  .cifras div:last-child { grid-column: 1 / -1; }
  .producto { grid-template-columns: 96px minmax(0, 1fr) auto; gap: 4px 24px; }
  .producto__datos { display: none; }
  .productos:not(.productos--chicos) .producto__sumar { grid-column: 3; }
  /* entregas: título, buscador, mapa y después los plazos */
  .cobertura__grid { row-gap: 0; }
  .cobertura__texto { display: contents; }
  .cobertura__texto > * { order: 1; }
  .cobertura__texto > .buscador { order: 2; }
  .cobertura__grid > .mapa { order: 3; margin-top: 40px; }
  .cobertura__texto > .promesas, .cobertura__texto > .cobertura__fuera, .cobertura__texto > datalist, .cobertura__texto > script { order: 4; }
  .promesas { margin-top: 40px; }
  /* cotización: el formulario enseguida del título; los pasos y el teléfono después */
  .cotiz__grid { row-gap: 0; }
  .cotiz__texto { display: contents; }
  .cotiz__texto > * { order: 1; }
  .cotiz__grid > .form { order: 2; margin-top: 48px; }
  .cotiz__texto > .despues, .cotiz__texto > .cotiz__tel { order: 3; }
  .despues { margin-top: 64px; }
  .pie__grid { grid-template-columns: auto minmax(0, 1fr); gap: 48px; }
  .pie__grid > .pie__col:last-child { grid-column: 2; }
}
@media (max-width: 767px) {
  :root { --bar: 64px; }
  body { font-size: 17px; }
  .bar__in { gap: 8px; }
  .bar__cta { padding: 0 16px; }
  .bar__largo { display: none; }
  .bar__corto { display: inline; }
  .rubros, .marca { padding-block: 96px; }
  .casos + .rubros__h { margin-top: 88px; }
  * + .rubros__h { margin-top: 72px; }
  .rubros__tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1) calc(var(--gutter-r) * -1); padding-inline: var(--gutter) var(--gutter-r); gap: 0 24px; }
  .rubros__tabs button { flex: none; font-size: 17px; }
  /* las pestañas siguen a la derecha: el borde se desvanece para que se note */
  .rubros__tabs { -webkit-mask-image: linear-gradient(90deg, #000 80%, transparent); mask-image: linear-gradient(90deg, #000 80%, transparent); }
  .rubros__tabs:has(button:last-child[aria-selected="true"]) { -webkit-mask-image: none; mask-image: none; }
  .caso__foto { margin-inline: calc(var(--gutter) * -1) calc(var(--gutter-r) * -1); width: calc(100% + var(--gutter) + var(--gutter-r)); max-width: none; }
  .producto { grid-template-columns: 72px minmax(0, 1fr); gap: 2px 16px; padding-block: 16px; }
  .producto__img { grid-row: 1 / span 3; align-self: start; }
  .producto h3 { font-size: 20px; }
  .producto__para { font-size: 15px; }
  .productos:not(.productos--chicos) .producto__sumar { grid-column: 2; grid-row: 3; justify-self: start; }
  .productos--chicos { grid-template-columns: minmax(0, 1fr); }
  .productos--chicos .producto { grid-template-columns: 56px minmax(0, 1fr); padding-block: 12px; }
  .productos--chicos .producto__img { display: block; grid-row: 1 / span 2; }
  .productos--chicos h3 { grid-column: 2; font-size: 18px; }
  .productos--chicos .producto__sumar { grid-column: 2; grid-row: 2; font-size: 14px; }
  /* la bolsa queda a la vista arriba mientras se usan los controles */
  .marca__escena { position: sticky; top: var(--bar); z-index: 2; align-self: start; justify-self: stretch; width: auto; aspect-ratio: auto; height: 50svh; margin-inline: calc(var(--gutter) * -1) calc(var(--gutter-r) * -1); }
  .marca__escena.is-lista { background: var(--verde); }
  .marca__escena > img, .marca__escena > canvas { object-fit: contain; }
  .marca__grid { gap: 40px; }
  .marca__panel { display: contents; }
  .marca__panel > .kicker { order: -3; margin-bottom: -24px; }
  .marca__panel > h2 { order: -2; }
  .marca__panel > .seccion__lead { order: -1; margin-top: -16px; }
  .marca__form { margin-top: 0; }
  .inicio__texto { padding-block: 48px 64px; gap: 22px; }
  .inicio__video { opacity: 0.75; }
  .inicio::after { background: linear-gradient(180deg, rgba(243, 244, 240, 0.9) 0%, rgba(243, 244, 240, 0.78) 62%, rgba(243, 244, 240, 0.3) 100%); }
  .inicio__cta .btn { flex: 1 1 100%; }
  .caso__estrella { height: 132px; }
  .paso { width: 84vw; }
  .pista { scroll-padding-inline: var(--gutter) var(--gutter-r); }
  .dato, .cobertura, .cotiz, .faq { padding-block: 96px; }
  .planta { padding-block: 96px 64px; }
  .cifras { gap: 36px 20px; }
  .buscador input { font-size: 22px; }
  .form { grid-template-columns: minmax(0, 1fr); }
  .form > .field--mitad { grid-column: 1 / -1; }
  .form__send .btn { flex: 1 1 100%; }
  .faq summary { font-size: 19px; }
  .faq details p { padding-right: 0; }
  .mapa { margin-inline: -8px; }
  .mapa__nombres text { font-size: 36px; fill: #7c877a; }
  .mapa__pin { pointer-events: none; }
  .mapa__pin.has-nombre > span { opacity: 0; }
  .mapa__pin.is-on > span, .mapa__pin[data-ciudad="jujuy"] > span, .mapa__pin[data-ciudad="clorinda"] > span, .mapa__pin[data-ciudad="posadas"] > span, .mapa__pin[data-ciudad="paso-libres"] > span { opacity: 1; }
  .mapa__pin[data-ciudad="paso-libres"] > span { left: auto; right: calc(100% - 6px); }
  .mapa__planta span { white-space: nowrap; transform: translate(-55%, -28px); }
  .mapa__pin > span, .mapa__planta span { font-size: 12px; }
  .pie { padding-top: 72px; }
  .pie__logo { height: 52px; }
  .logo img { height: 40px; }
  .pie__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; margin-top: 64px; }
  .pie__grid > .pie__col:last-child { grid-column: auto; }
  .mojon { justify-items: start; }
  .pie__base { margin-top: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
