/* =========================================================================
   Distribuidora Libertad · sistema visual
   Concepto: "La palabra cumplida". Depósito ordenado, etiquetas de estantería,
   remitos firmados. Verde de marca sobre papel cálido; tinta casi negra.
   ========================================================================= */
@font-face { font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%; src: url(../fonts/archivo-wdth.woff2) format("woff2-variations"), url(../fonts/archivo-wdth.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-display: swap; font-weight: 400; src: url(../fonts/plex-mono-400.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-display: swap; font-weight: 500; src: url(../fonts/plex-mono-500.woff2) format("woff2"); }

:root {
  --verde: #007838;
  --verde-2: #00602D;
  --verde-3: #003D1D;
  --verde-claro: #E3F0E6;
  --tinta: #1C1E1B;
  --tinta-2: #3A3D38;
  --gris: #646961;
  --gris-2: #8C9089;
  --linea: #DDD9CF;
  --linea-2: #ECE9E2;
  --papel: #F5F3EE;
  --papel-2: #EFECE4;
  --blanco: #FFFFFF;
  --kraft: #C49A5C;
  --kraft-claro: #F1E6D3;
  --rojo: #B3261E;
  --wa: #1FA855;

  --f-sans: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --r-s: 6px;
  --r-m: 10px;
  --r-l: 16px;
  --sombra-1: 0 1px 2px rgba(28, 30, 27, .06), 0 2px 8px rgba(28, 30, 27, .05);
  --sombra-2: 0 10px 30px -10px rgba(28, 30, 27, .25);
  --ancho: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--papel); color: var(--tinta);
  font-family: var(--f-sans); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--verde); color: #fff; }
:focus-visible { outline: 3px solid var(--verde); outline-offset: 2px; border-radius: 4px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--ancho); margin: 0 auto; padding: 0 var(--gutter); }
[hidden] { display: none !important; }

/* ---------- tipografía ---------- */
.display {
  font-weight: 850; font-stretch: 112%; letter-spacing: -.02em; line-height: .98;
  font-size: clamp(40px, 6.6vw, 88px); margin: 0; text-wrap: balance;
}
.h2 {
  font-weight: 800; font-stretch: 108%; letter-spacing: -.015em; line-height: 1.04;
  font-size: clamp(30px, 4.2vw, 52px); margin: 0; text-wrap: balance;
}
.h3 { font-weight: 750; font-size: clamp(19px, 1.8vw, 22px); line-height: 1.2; margin: 0; letter-spacing: -.005em; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--tinta-2); line-height: 1.5; max-width: 58ch; text-wrap: pretty; }
.mono { font-family: var(--f-mono); }
.kicker {
  font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--verde); display: inline-flex; align-items: center; gap: 10px; font-weight: 500;
}
.kicker::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.verde { color: var(--verde); }

/* ---------- botones ---------- */
.btn {
  --bg: var(--tinta); --fg: #fff; --bd: var(--tinta);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: var(--r-s);
  background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd);
  font-weight: 700; font-size: 15.5px; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s var(--ease), background .2s, border-color .2s, color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--verde { --bg: var(--verde); --bd: var(--verde); }
.btn--verde:hover { --bg: var(--verde-2); --bd: var(--verde-2); }
.btn--wa { --bg: var(--wa); --bd: var(--wa); }
.btn--wa:hover { --bg: #178a45; --bd: #178a45; }
.btn--linea { --bg: transparent; --fg: var(--tinta); --bd: currentColor; }
.btn--linea:hover { --bg: var(--tinta); --fg: #fff; --bd: var(--tinta); }
.btn--blanco { --bg: #fff; --fg: var(--tinta); --bd: #fff; }
.btn--chico { min-height: 38px; padding: 0 14px; font-size: 14px; }
.btn[disabled] { opacity: .5; pointer-events: none; }

.link-flecha { font-weight: 700; color: var(--verde); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.link-flecha::after { content: "→"; transition: transform .2s var(--ease); }
.link-flecha:hover::after { transform: translateX(4px); }

/* ---------- aviso + topbar ---------- */
.aviso { background: var(--kraft-claro); color: var(--tinta); text-align: center; font-size: 14px; padding: 9px var(--gutter); font-weight: 600; border-bottom: 1px solid #E3D3B6; }
.topbar { background: var(--verde-3); color: #CFE3D5; font-size: 13px; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.topbar a { text-decoration: none; color: #fff; }
.topbar .mono { font-size: 12px; letter-spacing: .04em; }
.topbar__datos { display: flex; gap: 20px; }
@media (max-width: 720px) { .topbar__lista { display: none; } .topbar .wrap { justify-content: center; } }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(245, 243, 238, .92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--linea); }
.header .wrap { display: flex; align-items: center; gap: 22px; min-height: 74px; }
.header__logo img { height: 46px; width: auto; }
.nav { display: flex; gap: 4px; margin-left: 10px; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--tinta-2); padding: 8px 12px; border-radius: var(--r-s); transition: background .2s, color .2s; }
.nav a:hover { background: var(--papel-2); color: var(--tinta); }
.nav a[aria-current="page"] { color: var(--verde); }
.header__acciones { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.btn-pedido { position: relative; }
.btn-pedido__n {
  min-width: 22px; height: 22px; border-radius: 11px; background: #fff; color: var(--verde);
  font-size: 12.5px; font-weight: 800; display: inline-grid; place-items: center; padding: 0 6px;
}
.btn-pedido.pop { animation: pop .4s var(--ease); }
@keyframes pop { 40% { transform: scale(1.08); } }
.btn-menu { display: none; width: 46px; height: 46px; border-radius: var(--r-s); border: 1.5px solid var(--linea); background: #fff; cursor: pointer; place-items: center; }
.btn-menu svg { width: 22px; height: 22px; }
@media (max-width: 960px) {
  .nav { display: none; }
  .btn-menu { display: grid; }
  .header__logo img { height: 38px; }
  .header .wrap { min-height: 64px; gap: 12px; }
  .btn-pedido .txt { display: none; }
}
.menu-movil { position: fixed; inset: 0; z-index: 80; background: var(--papel); display: flex; flex-direction: column; padding: 18px var(--gutter) 28px; transform: translateY(-100%); transition: transform .35s var(--ease); visibility: hidden; }
.menu-movil.abierto { transform: none; visibility: visible; }
.menu-movil__top { display: flex; justify-content: space-between; align-items: center; }
.menu-movil nav { display: flex; flex-direction: column; margin-top: 28px; border-top: 1px solid var(--linea); }
.menu-movil nav a { text-decoration: none; font-size: 26px; font-weight: 800; font-stretch: 108%; padding: 16px 0; border-bottom: 1px solid var(--linea); display: flex; justify-content: space-between; }
.menu-movil nav a::after { content: "→"; color: var(--verde); }
.menu-movil .btn { margin-top: auto; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--verde-3); color: #fff; isolation: isolate; }
.hero__img { position: absolute; inset: 0; z-index: -2; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); opacity: .32; mix-blend-mode: luminosity; }
.hero__img.foto img { filter: none; opacity: 1; mix-blend-mode: normal; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(0, 38, 18, .96) 0%, rgba(0, 61, 29, .86) 42%, rgba(0, 61, 29, .35) 100%); }
.hero .wrap { display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: end; padding-top: clamp(56px, 9vw, 120px); padding-bottom: clamp(40px, 6vw, 72px); }
.hero .kicker { color: #9FD3B0; }
.hero .display { margin-top: 18px; }
.hero .display em { font-style: normal; color: #8FE0A8; }
.hero .lead { color: #D6E6DA; margin: 22px 0 0; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__ctas .btn--linea { color: #fff; }
.hero__ctas .btn--linea:hover { --bg: #fff; --fg: var(--verde-3); --bd: #fff; }
.buscador { margin-top: 30px; display: flex; background: #fff; border-radius: var(--r-s); overflow: hidden; max-width: 620px; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .55); }
.buscador input { flex: 1; min-width: 0; border: 0; padding: 0 18px; height: 56px; font-size: 16.5px; color: var(--tinta); background: transparent; }
.buscador input:focus { outline: none; }
.buscador button { border: 0; background: var(--verde); color: #fff; padding: 0 22px; font-weight: 700; cursor: pointer; display: flex; align-items: center; gap: 8px; }
.buscador button svg { width: 20px; height: 20px; }
.buscador:focus-within { box-shadow: 0 0 0 3px #8FE0A8, 0 18px 40px -18px rgba(0, 0, 0, .55); }

/* remito (tarjeta del hero) */
.remito {
  background: #FBFAF6; color: var(--tinta); border-radius: 4px; padding: 22px 22px 18px; position: relative;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .6); transform: rotate(1.6deg); max-width: 360px; justify-self: end;
  font-size: 14px;
}
.remito::after { /* borde troquelado */
  content: ""; position: absolute; left: 0; right: 0; bottom: -9px; height: 10px;
  background: radial-gradient(circle at 7px -2px, transparent 7px, #FBFAF6 7.5px) 0 0 / 14px 10px repeat-x;
}
.remito__cab { display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 1.5px dashed var(--linea); padding-bottom: 12px; }
.remito__cab img { height: 28px; width: auto; }
.remito__num { font-family: var(--f-mono); font-size: 11.5px; color: var(--gris); text-align: right; line-height: 1.35; }
.remito ul { list-style: none; margin: 12px 0; padding: 0; font-family: var(--f-mono); font-size: 12.5px; }
.remito li { display: flex; justify-content: space-between; gap: 14px; padding: 4px 0; border-bottom: 1px dotted var(--linea); }
.remito li span:last-child { color: var(--gris); }
.remito__pie { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.sello {
  border: 2.5px solid var(--verde); color: var(--verde); border-radius: 6px; padding: 5px 10px;
  font-weight: 900; font-stretch: 115%; font-size: 13px; letter-spacing: .06em; transform: rotate(-7deg);
  text-transform: uppercase; opacity: .92;
}
.firma { font-family: var(--f-mono); font-size: 11px; color: var(--gris); }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .remito { justify-self: start; transform: rotate(-1deg); max-width: 100%; width: 100%; }
}

/* cinta de datos */
.cinta { background: var(--verde); color: #fff; }
.cinta .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.cinta__item { padding: 22px 18px; border-left: 1px solid rgba(255, 255, 255, .18); }
.cinta__item:first-child { border-left: 0; padding-left: 0; }
.cinta__num { font-weight: 850; font-stretch: 115%; font-size: clamp(28px, 3.4vw, 40px); line-height: 1; letter-spacing: -.01em; }
.cinta__txt { font-size: 14px; color: #CBE6D3; margin-top: 6px; }
@media (max-width: 760px) {
  .cinta .wrap { grid-template-columns: 1fr 1fr; }
  .cinta__item { padding: 18px 14px; border-top: 1px solid rgba(255, 255, 255, .18); }
  .cinta__item:nth-child(odd) { border-left: 0; padding-left: 0; }
  .cinta__item:nth-child(-n+2) { border-top: 0; }
}

/* ---------- secciones ---------- */
.seccion { padding: clamp(64px, 9vw, 120px) 0; }
.seccion--blanca { background: var(--blanco); }
.seccion--papel2 { background: var(--papel-2); }
.seccion__cab { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(32px, 4vw, 52px); }
.seccion__cab .h2 { margin-top: 14px; }
.seccion__cab p { margin: 14px 0 0; }
@media (max-width: 760px) { .seccion__cab { flex-direction: column; align-items: start; } }

/* ---------- rubros: etiquetas de estantería ---------- */
.rubros { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.rubro {
  position: relative; display: flex; flex-direction: column; text-decoration: none; background: #fff;
  border: 1px solid var(--linea); border-radius: var(--r-m); padding: 16px 16px 14px; min-height: 196px; overflow: hidden;
  transition: transform .25s var(--ease), border-color .2s, box-shadow .25s;
}
.rubro:hover { transform: translateY(-3px); border-color: var(--verde); box-shadow: var(--sombra-2); }
.rubro__cod { font-family: var(--f-mono); font-size: 11.5px; color: var(--gris); letter-spacing: .06em; display: flex; justify-content: space-between; }
.rubro__ic { height: 84px; display: flex; align-items: center; margin: 10px 0 8px; }
.rubro__ic img { height: 84px; width: auto; object-fit: contain; transition: transform .35s var(--ease); }
.rubro__ic svg { width: 54px; height: 54px; color: var(--verde); transition: transform .35s var(--ease); }
.rubro:hover .rubro__ic img, .rubro:hover .rubro__ic svg { transform: scale(1.08) rotate(-3deg); }
.rubro__nom { font-weight: 750; font-size: 17px; line-height: 1.2; margin-top: auto; }
.rubro__n { font-size: 13.5px; color: var(--gris); margin-top: 4px; }
.rubro::after { /* lengüeta verde de etiqueta */
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--verde);
  transform: scaleY(0); transform-origin: top; transition: transform .3s var(--ease);
}
.rubro:hover::after { transform: scaleY(1); }
.rubro--todo { background: var(--tinta); color: #fff; border-color: var(--tinta); }
.rubro--todo .rubro__cod, .rubro--todo .rubro__n { color: #A9ADA6; }
.rubro--todo .rubro__ic svg { color: #8FE0A8; }
@media (max-width: 520px) {
  .rubros { grid-template-columns: 1fr 1fr; gap: 10px; }
  .rubro { min-height: 170px; padding: 12px; }
  .rubro__ic, .rubro__ic img { height: 64px; }
  .rubro__nom { font-size: 15px; }
}

/* ---------- productos ---------- */
.carrusel { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: thin; }
.carrusel > * { scroll-snap-align: start; }
@media (min-width: 1100px) { .carrusel { grid-auto-columns: calc((100% - 48px) / 4); } }
@media (max-width: 560px) { .carrusel { grid-auto-columns: 78%; } }
.carrusel-nav { display: flex; gap: 8px; }
.carrusel-nav button { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--tinta); background: transparent; cursor: pointer; font-size: 18px; transition: background .2s, color .2s; }
.carrusel-nav button:hover { background: var(--tinta); color: #fff; }

.prod { background: #fff; border: 1px solid var(--linea); border-radius: var(--r-m); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s var(--ease); }
.prod:hover { box-shadow: var(--sombra-2); transform: translateY(-2px); }
.prod__img { aspect-ratio: 1; background: #fff; display: grid; place-items: center; padding: 18px; border-bottom: 1px solid var(--linea-2); position: relative; }
.prod__img img { width: 100%; height: 100%; object-fit: contain; }
.prod__img img.img-rubro { width: 70%; height: 70%; }
.prod__rubro { position: absolute; top: 10px; left: 10px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; background: var(--papel); padding: 3px 7px; border-radius: 3px; color: var(--tinta-2); }
.prod__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.prod__cod { font-family: var(--f-mono); font-size: 11.5px; color: var(--gris); }
.prod__nom { font-weight: 650; font-size: 15.5px; line-height: 1.3; text-transform: none; }
.prod__pie { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 8px; }
.prod__precio { font-weight: 800; font-size: 19px; letter-spacing: -.01em; }
.prod__consultar { font-weight: 700; color: var(--gris); font-size: 14.5px; }
a.prod__consultar { color: var(--verde); text-decoration: none; }

.btn-add {
  height: 40px; min-width: 40px; padding: 0 12px; border-radius: var(--r-s); border: 1.5px solid var(--verde); background: var(--verde); color: #fff;
  font-weight: 700; font-size: 14px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: background .2s;
}
.btn-add:hover { background: var(--verde-2); }
.btn-add.en { background: #fff; color: var(--verde); }
.btn-add svg { width: 18px; height: 18px; }

/* ---------- cómo pedir ---------- */
.pasos { display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: paso; border-top: 2px solid var(--tinta); }
.paso { padding: 26px 26px 10px 0; position: relative; }
.paso + .paso { padding-left: 26px; border-left: 1px solid var(--linea); }
.paso__n { font-family: var(--f-mono); font-size: 13px; color: var(--verde); font-weight: 500; }
.paso__ic { display: block; width: 44px; height: 44px; margin: 18px 0 14px; color: var(--tinta); }
.paso p { margin: 8px 0 0; color: var(--gris); font-size: 15px; }
@media (max-width: 900px) {
  .pasos { grid-template-columns: 1fr 1fr; }
  .paso:nth-child(3) { padding-left: 0; border-left: 0; }
  .paso:nth-child(n+3) { border-top: 1px solid var(--linea); }
}
@media (max-width: 520px) {
  .pasos { grid-template-columns: 1fr; }
  .paso, .paso + .paso { padding: 22px 0 18px; border-left: 0; }
  .paso + .paso { border-top: 1px solid var(--linea); }
  .paso { display: grid; grid-template-columns: 56px 1fr; column-gap: 14px; }
  .paso__n { grid-column: 1 / -1; }
  .paso__ic { margin: 12px 0 0; grid-row: 2 / 4; }
}

/* ---------- nosotros ---------- */
.nosotros { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.nosotros__texto p { font-size: 17px; color: var(--tinta-2); margin: 0 0 18px; max-width: 60ch; }
.nosotros__texto p:first-of-type { font-size: clamp(20px, 2vw, 24px); color: var(--tinta); font-weight: 500; line-height: 1.4; }
.anios {
  display: flex; align-items: baseline; gap: 14px; margin: 0 0 26px; line-height: .8;
}
.anios b { font-size: clamp(110px, 16vw, 210px); font-weight: 900; font-stretch: 120%; color: var(--verde); letter-spacing: -.04em; }
.anios span { font-weight: 750; font-size: clamp(18px, 2vw, 24px); line-height: 1.15; max-width: 13ch; }
.collage { position: sticky; top: 100px; display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 220px 220px; gap: 12px; }
.collage figure { margin: 0; border-radius: var(--r-m); overflow: hidden; background: var(--papel-2); position: relative; }
.collage figure:first-child { grid-row: 1 / 3; }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage .ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--gris-2); font-family: var(--f-mono); font-size: 12px; text-align: center; padding: 14px;
  background: repeating-linear-gradient(-45deg, var(--papel-2) 0 12px, #E8E4DA 12px 13px); }
.valores { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(48px, 6vw, 80px); border: 1px solid var(--linea); border-radius: var(--r-m); background: #fff; overflow: hidden; }
.valor { padding: 26px 24px; }
.valor + .valor { border-left: 1px solid var(--linea); }
.valor svg { width: 38px; height: 38px; color: var(--verde); }
.valor h3 { margin: 14px 0 6px; font-size: 18px; }
.valor p { margin: 0; font-size: 14.5px; color: var(--gris); }
@media (max-width: 900px) {
  .nosotros { grid-template-columns: 1fr; }
  .collage { position: static; }
  .valores { grid-template-columns: 1fr 1fr; }
  .valor:nth-child(3) { border-left: 0; }
  .valor:nth-child(n+3) { border-top: 1px solid var(--linea); }
}
@media (max-width: 520px) {
  .collage { grid-template-rows: 160px 160px; }
  .valores { grid-template-columns: 1fr; }
  .valor + .valor { border-left: 0; border-top: 1px solid var(--linea); }
}

/* ---------- clientes ---------- */
.clientes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cliente { position: relative; border-radius: var(--r-m); overflow: hidden; min-height: 420px; display: flex; align-items: flex-end; color: #fff; background: var(--verde-3) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Cpath d='M0 28L28 0' stroke='%23ffffff' stroke-opacity='.05'/%3E%3C/svg%3E"); isolation: isolate; }
.cliente img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--ease); }
.cliente:hover img { transform: scale(1.04); }
.cliente::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 30, 14, .88) 100%); }
.cliente__txt { padding: 24px; }
.cliente__txt .mono { font-size: 12px; color: #9FD3B0; letter-spacing: .06em; }
.cliente__txt h3 { font-size: 26px; font-weight: 800; font-stretch: 108%; margin: 6px 0 8px; }
.cliente__txt p { margin: 0; color: #DCE9DF; font-size: 15px; }
.cliente .ph-ic { position: absolute; top: 24px; right: 24px; width: 64px; height: 64px; color: rgba(255, 255, 255, .22); z-index: -1; }
@media (max-width: 900px) { .clientes { grid-template-columns: 1fr; } .cliente { min-height: 260px; } }

/* ---------- cobertura ---------- */
.cobertura { background: var(--tinta); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.cobertura__bg { position: absolute; inset: 0; z-index: -1; opacity: .16; }
.cobertura__bg img { width: 100%; height: 100%; object-fit: cover; }
.cobertura .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.cobertura .kicker { color: #8FE0A8; }
.cobertura .lead { color: #C9CDC6; }
.zonas { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.zonas li { border: 1px solid rgba(255, 255, 255, .25); border-radius: 30px; padding: 7px 14px; font-size: 14.5px; font-weight: 600; }
.zonas li.base { background: var(--verde); border-color: var(--verde); }
.mapa { width: 100%; max-width: 460px; justify-self: center; }
.mapa svg { width: 100%; height: auto; overflow: visible; }
.mapa .prov { fill: rgba(255, 255, 255, .06); stroke: rgba(255, 255, 255, .55); stroke-width: 1.5; stroke-linejoin: round; }
.mapa .ruta { fill: none; stroke: #8FE0A8; stroke-width: 2; stroke-dasharray: 6 6; opacity: .8; animation: ruta 1.6s linear infinite; }
@keyframes ruta { to { stroke-dashoffset: -24; } }
.mapa .pin circle { fill: #fff; }
.mapa .pin.base circle { fill: #8FE0A8; }
.mapa .pin .onda { fill: none; stroke: #8FE0A8; stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: onda 2.2s var(--ease) infinite; }
@keyframes onda { from { transform: scale(.4); opacity: 1; } to { transform: scale(2.6); opacity: 0; } }
.mapa text { fill: #fff; font-family: var(--f-sans); font-size: 13px; font-weight: 700; }
.mapa text.sub { fill: #A9ADA6; font-weight: 500; font-size: 11px; font-family: var(--f-mono); }
@media (max-width: 860px) { .cobertura .wrap { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */
.cta { background: var(--verde); color: #fff; position: relative; overflow: hidden; }
.cta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding-top: 56px; padding-bottom: 56px; }
.cta .h2 { max-width: 18ch; }
.cta p { color: #D2EBDA; margin: 12px 0 0; }
.cta__iso { position: absolute; right: -60px; top: -40px; width: 340px; opacity: .08; filter: brightness(10); pointer-events: none; }
@media (max-width: 760px) { .cta .wrap { flex-direction: column; align-items: start; } }

/* ---------- contacto ---------- */
.contacto { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); }
.datos { list-style: none; padding: 0; margin: 28px 0 0; border-top: 1px solid var(--linea); }
.datos li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--linea); align-items: start; }
.datos svg { width: 24px; height: 24px; color: var(--verde); margin-top: 3px; }
.datos .lbl { font-family: var(--f-mono); font-size: 11.5px; color: var(--gris); text-transform: uppercase; letter-spacing: .06em; }
.datos .val { font-weight: 650; font-size: 17px; text-decoration: none; display: block; }
.datos a.val:hover { color: var(--verde); }
.mapa-g { border-radius: var(--r-m); overflow: hidden; border: 1px solid var(--linea); min-height: 420px; background: var(--papel-2); }
.mapa-g iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; filter: grayscale(.35); }
@media (max-width: 860px) { .contacto { grid-template-columns: 1fr; } .mapa-g, .mapa-g iframe { min-height: 320px; } }

/* ---------- footer ---------- */
.footer { background: var(--verde-3); color: #BFD3C5; padding: 64px 0 28px; font-size: 14.5px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer img { height: 44px; width: auto; }
.footer h4 { color: #fff; font-size: 13px; font-family: var(--f-mono); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; color: #E2EEE5; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__base { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__marca { grid-column: 1 / -1; } }

/* ---------- WhatsApp flotante ---------- */
.wa-flot { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(0, 0, 0, .45); transition: transform .2s var(--ease); }
.wa-flot:hover { transform: scale(1.06); }
.wa-flot svg { width: 32px; height: 32px; }

/* ---------- pedido (drawer) ---------- */
.velo { position: fixed; inset: 0; background: rgba(20, 22, 19, .5); z-index: 90; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.velo.on { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(460px, 100%); background: var(--papel); z-index: 95; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .35s var(--ease); box-shadow: -20px 0 40px -20px rgba(0, 0, 0, .35); }
.drawer.on { transform: none; }
.drawer__cab { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--linea); background: #fff; }
.drawer__cab h2 { margin: 0; font-size: 21px; font-weight: 800; font-stretch: 108%; }
.x { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--linea); background: #fff; cursor: pointer; font-size: 20px; line-height: 1; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 20px 20px; }
.drawer__pie { border-top: 1px solid var(--linea); padding: 16px 20px 20px; background: #fff; display: grid; gap: 12px; }
.linea-p { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 14px 0; border-bottom: 1px dashed var(--linea); }
.linea-p__nom { font-weight: 650; font-size: 14.5px; line-height: 1.3; }
.linea-p__cod { font-family: var(--f-mono); font-size: 11.5px; color: var(--gris); }
.linea-p__sub { font-weight: 750; text-align: right; }
.cant { display: inline-flex; align-items: center; border: 1px solid var(--linea); border-radius: var(--r-s); background: #fff; overflow: hidden; }
.cant button { width: 34px; height: 34px; border: 0; background: transparent; cursor: pointer; font-size: 17px; font-weight: 700; }
.cant button:hover { background: var(--papel-2); }
.cant input { width: 46px; height: 34px; border: 0; text-align: center; font-weight: 700; -moz-appearance: textfield; }
.cant input::-webkit-outer-spin-button, .cant input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.quitar { border: 0; background: none; color: var(--gris); cursor: pointer; font-size: 13px; text-decoration: underline; padding: 0; justify-self: end; }
.total { display: flex; justify-content: space-between; align-items: baseline; }
.total b { font-size: 24px; font-weight: 850; }
.total small { color: var(--gris); font-size: 12.5px; display: block; }
.vacio { text-align: center; padding: 56px 10px; color: var(--gris); }
.vacio svg { width: 56px; height: 56px; color: var(--linea); margin: 0 auto 12px; }
.campos { display: grid; gap: 10px; }
.campos .fila { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.campo { display: grid; gap: 4px; }
.campo label { font-size: 12.5px; font-weight: 650; color: var(--tinta-2); }
.campo input, .campo textarea, .campo select { border: 1px solid var(--linea); border-radius: var(--r-s); background: #fff; padding: 10px 12px; font-size: 15px; width: 100%; }
.campo input:focus, .campo textarea:focus, .campo select:focus { outline: 2px solid var(--verde); outline-offset: -1px; border-color: var(--verde); }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 120; transform: translate(-50%, 30px); opacity: 0; background: var(--tinta); color: #fff; padding: 12px 18px; border-radius: var(--r-s); font-weight: 600; font-size: 14.5px; transition: transform .3s var(--ease), opacity .3s; pointer-events: none; display: flex; gap: 10px; align-items: center; max-width: calc(100% - 32px); }
.toast.on { transform: translate(-50%, 0); opacity: 1; }
.toast b { color: #8FE0A8; }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
}

/* =========================================================================
   Catálogo
   ========================================================================= */
.cat-cab { background: var(--verde-3); color: #fff; padding: 40px 0 34px; position: relative; overflow: hidden; isolation: isolate; }
.cat-cab__bg { position: absolute; inset: 0; z-index: -1; opacity: .22; }
.cat-cab__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.cat-cab .kicker { color: #9FD3B0; }
.cat-cab h1 { margin: 12px 0 6px; }
.cat-cab p { margin: 0; color: #CFE3D5; }
.cat-cab .buscador { margin-top: 22px; max-width: 760px; }
.migas { font-size: 13.5px; color: #9FD3B0; display: flex; gap: 8px; }
.migas a { color: #fff; text-decoration: none; }

.cat { display: grid; grid-template-columns: 260px 1fr; gap: 32px; padding-top: 32px; padding-bottom: 80px; align-items: start; }
.filtros { position: sticky; top: 92px; max-height: calc(100vh - 110px); overflow-y: auto; padding-right: 4px; }
.filtros h3 { font-family: var(--f-mono); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--gris); margin: 0 0 10px; }
.filtro-rubros { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 2px; }
.filtro-rubros button { width: 100%; display: flex; justify-content: space-between; gap: 8px; align-items: center; text-align: left; border: 0; background: transparent; padding: 9px 10px; border-radius: var(--r-s); cursor: pointer; font-size: 14.5px; font-weight: 600; color: var(--tinta-2); }
.filtro-rubros button:hover { background: var(--papel-2); }
.filtro-rubros button span:last-child { font-family: var(--f-mono); font-size: 11.5px; color: var(--gris); font-weight: 400; }
.filtro-rubros button[aria-pressed="true"] { background: var(--tinta); color: #fff; }
.filtro-rubros button[aria-pressed="true"] span:last-child { color: #A9ADA6; }
.check { display: flex; gap: 10px; align-items: center; font-size: 14.5px; font-weight: 600; cursor: pointer; padding: 6px 0; }
.check input { width: 18px; height: 18px; accent-color: var(--verde); }

.cat-barra { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.cat-barra__n { font-size: 14.5px; color: var(--gris); }
.cat-barra__n b { color: var(--tinta); }
.cat-barra select { border: 1px solid var(--linea); background: #fff; border-radius: var(--r-s); padding: 9px 12px; font-size: 14.5px; font-weight: 600; }
.vista { display: inline-flex; border: 1px solid var(--linea); border-radius: var(--r-s); overflow: hidden; background: #fff; }
.vista button { border: 0; background: transparent; padding: 8px 12px; cursor: pointer; color: var(--gris); }
.vista button[aria-pressed="true"] { background: var(--tinta); color: #fff; }
.vista svg { width: 18px; height: 18px; display: block; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.chip { display: inline-flex; align-items: center; gap: 8px; background: var(--verde-claro); color: var(--verde-2); border: 0; border-radius: 30px; padding: 6px 12px; font-size: 13.5px; font-weight: 700; cursor: pointer; }

/* lista densa tipo planilla */
.lista { background: #fff; border: 1px solid var(--linea); border-radius: var(--r-m); overflow: hidden; }
.fila-p { display: grid; grid-template-columns: 56px 130px 1fr 140px 190px; align-items: center; gap: 14px; padding: 10px 16px; border-bottom: 1px solid var(--linea-2); min-height: 66px; }
.fila-p:last-child { border-bottom: 0; }
.fila-p:hover { background: #FBFAF7; }
.fila-p__img { width: 48px; height: 48px; border-radius: 6px; background: var(--papel); display: grid; place-items: center; overflow: hidden; }
.fila-p__img img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.fila-p__img svg { width: 22px; height: 22px; color: var(--gris-2); }
.fila-p__cod { font-family: var(--f-mono); font-size: 12px; color: var(--gris); word-break: break-all; }
.fila-p__nom { font-weight: 600; font-size: 14.5px; line-height: 1.3; }
.fila-p__nom small { display: block; font-weight: 500; color: var(--gris); font-size: 12.5px; margin-top: 2px; }
.fila-p__precio { font-weight: 800; text-align: right; font-size: 16px; }
.fila-p__precio.consultar { font-weight: 650; color: var(--gris); font-size: 14px; }
.fila-p__acc { display: flex; gap: 8px; justify-content: flex-end; align-items: center; }
.lista-cab { display: grid; grid-template-columns: 56px 130px 1fr 140px 190px; gap: 14px; padding: 10px 16px; background: var(--papel-2); font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: var(--gris); border-bottom: 1px solid var(--linea); }
.lista-cab span:nth-child(4) { text-align: right; }
.grilla { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
@media (max-width: 1080px) {
  .fila-p, .lista-cab { grid-template-columns: 48px 1fr 120px; }
  .lista-cab span:nth-child(2), .lista-cab span:nth-child(5) { display: none; }
  .fila-p__cod { grid-column: 2; grid-row: 2; margin-top: -8px; }
  .fila-p__nom { grid-column: 2; grid-row: 1; }
  .fila-p__img { grid-row: 1 / 3; }
  .fila-p__precio { grid-column: 3; grid-row: 1; }
  .fila-p__acc { grid-column: 3; grid-row: 2; }
}
@media (max-width: 900px) {
  .cat { grid-template-columns: 1fr; padding-top: 18px; }
  .filtros { position: static; max-height: none; overflow: visible; }
  .filtro-rubros { display: flex; overflow-x: auto; gap: 8px; padding-bottom: 6px; margin-bottom: 10px; scrollbar-width: none; }
  .filtro-rubros li { flex: none; }
  .filtro-rubros button { border: 1px solid var(--linea); background: #fff; border-radius: 30px; padding: 8px 14px; white-space: nowrap; }
  .filtros h3 { display: none; }
  .filtros__extra { display: flex; gap: 18px; flex-wrap: wrap; }
}
@media (max-width: 520px) {
  .fila-p { grid-template-columns: 44px 1fr; padding: 12px; gap: 4px 12px; }
  .lista-cab { display: none; }
  .fila-p__img { width: 44px; height: 44px; grid-row: 1 / 4; }
  .fila-p__nom { grid-column: 2; grid-row: 1; }
  .fila-p__cod { grid-column: 2; grid-row: 2; margin-top: 0; }
  .fila-p__precio { grid-column: 2; grid-row: 3; text-align: left; align-self: center; }
  .fila-p__acc { grid-column: 2; grid-row: 3; justify-self: end; }
  .grilla { grid-template-columns: 1fr 1fr; gap: 10px; }
  .grilla .prod__body { padding: 10px 12px 12px; }
  .grilla .prod__nom { font-size: 14px; }
  .grilla .prod__precio { font-size: 16px; }
  .grilla .prod__pie { flex-direction: column; align-items: stretch; }
}
.mas { display: flex; justify-content: center; margin-top: 22px; }
.sin-res { text-align: center; padding: 60px 20px; background: #fff; border: 1px dashed var(--linea); border-radius: var(--r-m); }
.sin-res h3 { margin: 0 0 8px; }
.sin-res p { color: var(--gris); margin: 0 0 18px; }
.nota-precios { font-size: 13px; color: var(--gris); margin-top: 16px; }
/* Lista de precios con clave */
/* Sin clave: sin buscador ni listado, el candado primero. La clase con-clave la pone un script en el <head>. */
html:not(.con-clave) .solo-clientes { display: none !important; }
html:not(.con-clave) .cat { grid-template-columns: 1fr; padding-top: 24px; }
html:not(.con-clave) .cat > aside, html:not(.con-clave) .cat > section { display: none; }
html.con-clave .candado { display: none; }
html:not(.con-clave) .pag-catalogo .wa-flot { display: none; }
.chips:empty { display: none; }
@media (max-width: 640px) { .cat { gap: 14px; } .pag-catalogo .wa-flot { display: none; } }
html:not(.con-clave) .cat-cab { padding: 26px 0 24px; }
@media (max-width: 640px) {
  html:not(.con-clave) .cat-cab { padding: 16px 0 18px; }
  html:not(.con-clave) .cat { padding-top: 14px; }
  html .candado .candado__ic { width: 48px; height: 48px; margin-bottom: 10px; }
  html .candado .candado__ic svg { width: 24px; height: 24px; }
  html .candado .h2 { font-size: 26px; margin: 8px 0 10px; }
  html .candado p { margin-bottom: 16px; font-size: 15px; }
}
.candado { max-width: 560px; margin: 8px auto 0; padding: 40px 32px; background: #fff; border: 1px solid var(--linea); border-radius: var(--r-l); text-align: center; }
.candado__ic { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; background: var(--verde-claro); color: var(--verde); display: grid; place-items: center; }
.candado__ic svg { width: 30px; height: 30px; }
.candado .h2 { margin: 10px 0 12px; }
.candado p { color: var(--gris); margin: 0 auto 20px; max-width: 44ch; }
.candado__form { display: flex; gap: 10px; max-width: 400px; margin: 0 auto 10px; }
.candado__form input { flex: 1; min-width: 0; height: 52px; padding: 0 16px; font: 500 20px/1 var(--f-mono); letter-spacing: .18em; text-align: center; border: 1.5px solid var(--linea); border-radius: var(--r-m); background: var(--papel); color: var(--tinta); }
.candado__form input::placeholder { font: 400 15px/1 var(--f-sans); letter-spacing: 0; color: var(--gris); }
.candado__form input:focus { outline: none; border-color: var(--verde); background: #fff; }
.candado__form .btn { height: 52px; white-space: nowrap; }
.candado__err { color: var(--rojo); font-weight: 600; font-size: 14px; margin: 4px 0 12px !important; }
.candado .link-flecha { margin-top: 10px; }
@media (max-width: 520px) { .candado { padding: 22px 18px 24px; } .candado__form { flex-direction: column; } }

/* modal producto */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; visibility: hidden; opacity: 0; transition: opacity .25s, visibility .25s; }
.modal.on { visibility: visible; opacity: 1; }
.modal__caja { position: relative; background: #fff; border-radius: var(--r-l); max-width: 760px; width: 100%; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; max-height: calc(100vh - 32px); transform: translateY(16px); transition: transform .3s var(--ease); }
.modal.on .modal__caja { transform: none; }
.modal__img { background: #fff; padding: 28px; display: grid; place-items: center; border-right: 1px solid var(--linea-2); }
.modal__img img { max-height: 340px; object-fit: contain; }
.modal__img img.img-rubro { max-height: 220px; }
.modal__info { padding: 30px 28px; display: flex; flex-direction: column; gap: 12px; overflow-y: auto; }
.modal .x { position: absolute; top: 12px; right: 12px; z-index: 2; }
@media (max-width: 640px) { .modal__caja { grid-template-columns: 1fr; } .modal__img { border-right: 0; border-bottom: 1px solid var(--linea-2); max-height: 260px; } .modal__img img { max-height: 200px; } }
@media (max-width: 560px) {
  .buscador button span { display: none; }
  .buscador button { padding: 0 18px; }
  .seccion__cab .carrusel-nav { display: none; }
}
.cat > * { min-width: 0; }
.fila-p > * { min-width: 0; }
.drawer:not(.on) { visibility: hidden; transition: transform .35s var(--ease), visibility 0s .35s; }
.modal:not(.on), .modal:not(.on) * { visibility: hidden !important; pointer-events: none; }
.modal > .velo { z-index: 0; }
.modal__caja { z-index: 1; }
.toast svg { width: 20px; height: 20px; flex: none; color: #8FE0A8; }
.toast { white-space: nowrap; }
.linea-p .cant { justify-self: start; }
.link-flecha { flex-wrap: nowrap; }
button.link-flecha { border: 0; background: none; padding: 0; cursor: pointer; font-size: 15px; }
.rubro__ic { height: 108px; }
.rubro__ic img { height: 108px; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .12)); }
.link-flecha { white-space: nowrap; }
@media (max-width: 520px) { .rubro__ic, .rubro__ic img { height: 80px; } }

/* =========================================================================
   MOVIMIENTO · todo entra y sale con ease-in-out
   - .rv: entra al aparecer y sale al irse (ligado al scroll cuando el
     navegador lo soporta; si no, IntersectionObserver en ambos sentidos).
   - .split: títulos que suben palabra por palabra.
   - Transición suave entre páginas (View Transitions).
   ========================================================================= */
:root { --ease-io: cubic-bezier(.65, 0, .35, 1); --ease-io-suave: cubic-bezier(.45, 0, .55, 1); }

/* fallback (IO): entra y sale */
.rv { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease-io), transform .9s var(--ease-io); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }

/* scroll-driven: entrada al pie de la pantalla, salida al llegar arriba */
@supports (animation-timeline: view()) {
  .rv, .rv.in {
    opacity: 1; transform: none; transition: none;
    animation: rv-io linear both;
    animation-timeline: view();
    animation-range: entry 0% exit 100%;
  }
  @keyframes rv-io {
    0%   { opacity: 0; transform: translateY(46px) scale(.985); animation-timing-function: var(--ease-io); }
    22%  { opacity: 1; transform: none; }
    84%  { opacity: 1; transform: none; animation-timing-function: var(--ease-io); }
    100% { opacity: 0; transform: translateY(-28px) scale(.99); }
  }
  /* bloques muy altos: solo la entrada, para no esconder contenido que se está leyendo */
  .rv--alto, .rv--alto.in { animation-name: rv-in; animation-range: entry 0% entry 70%; }
  @keyframes rv-in { from { opacity: 0; transform: translateY(46px); } to { opacity: 1; transform: none; } }
}

/* títulos palabra por palabra */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; transform: translateY(105%); opacity: 0; transition: transform .95s var(--ease-io), opacity .95s var(--ease-io); transition-delay: calc(var(--i) * 55ms + var(--d, 0s)); }
.split.in .w > span { transform: none; opacity: 1; }
.split.out .w > span { transform: translateY(-105%); opacity: 0; transition-duration: .6s; transition-delay: calc(var(--i) * 25ms); }

/* textos de apoyo: aparecen con un pequeño retraso después del título */
.sube { opacity: 0; transform: translateY(16px); transition: opacity .9s var(--ease-io), transform .9s var(--ease-io); transition-delay: var(--d, .25s); }
.sube.in { opacity: 1; transform: none; }

/* hero: imagen con respiración lenta, remito flotando */
.hero__img img { animation: respira 22s var(--ease-io-suave) infinite alternate; transform-origin: 60% 50%; }
@keyframes respira { from { transform: scale(1.02); } to { transform: scale(1.1) translateX(-1.5%); } }
.remito { animation: flota 7s var(--ease-io-suave) infinite alternate; }
@keyframes flota { from { transform: rotate(1.6deg) translateY(0); } to { transform: rotate(.6deg) translateY(-10px); } }
@media (max-width: 900px) { @keyframes flota { from { transform: rotate(-1deg); } to { transform: rotate(0deg) translateY(-6px); } } }
.hero .kicker, .hero .lead, .hero .buscador, .hero__ctas, .remito-wrap { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease-io), transform 1s var(--ease-io); }
.hero.listo .kicker { opacity: 1; transform: none; transition-delay: .05s; }
.hero.listo .lead { opacity: 1; transform: none; transition-delay: .55s; }
.hero.listo .buscador { opacity: 1; transform: none; transition-delay: .7s; }
.hero.listo .hero__ctas { opacity: 1; transform: none; transition-delay: .85s; }
.hero.listo .remito-wrap { opacity: 1; transform: none; transition-delay: 1s; }
.remito-wrap { justify-self: end; max-width: 360px; width: 100%; }
@media (max-width: 900px) { .remito-wrap { justify-self: start; max-width: 100%; } }
.cinta__item { transition: background .5s var(--ease-io); }
.cinta__item:hover { background: rgba(255, 255, 255, .06); }

/* microinteracciones con ease-in-out */
.btn, .rubro, .prod, .cliente img, .nav a, .link-flecha::after, .chip, .btn-add, .filtro-rubros button { transition-timing-function: var(--ease-io) !important; }
.rubro, .prod { transition-duration: .45s; }

/* transición entre páginas */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .45s var(--ease-io) both; }
::view-transition-new(root) { animation: vt-in .55s var(--ease-io) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-12px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 6vw, 80px); align-items: start; }
.faq__lista { border-top: 2px solid var(--tinta); }
.faq details { border-bottom: 1px solid var(--linea); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 32px; gap: 16px; align-items: center; padding: 20px 0; font-weight: 700; font-size: clamp(16.5px, 1.5vw, 19px); line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--linea); display: grid; place-items: center; font-weight: 500; font-size: 20px; color: var(--verde); transition: transform .5s var(--ease-io), background .3s var(--ease-io), color .3s; }
.faq details[open] summary::after { transform: rotate(135deg); background: var(--verde); color: #fff; border-color: var(--verde); }
.faq summary:hover { color: var(--verde); }
.faq__resp { overflow: hidden; }
.faq__resp p { margin: 0 0 22px; color: var(--tinta-2); max-width: 62ch; }
.faq__resp a { color: var(--verde); font-weight: 650; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .rv, .rv.in, .split .w > span, .sube, .hero .kicker, .hero .lead, .hero .buscador, .hero__ctas, .remito-wrap { opacity: 1 !important; transform: none !important; animation: none !important; }
  @view-transition { navigation: none; }
}
.faq details.cerrando summary::after { transform: none; background: transparent; color: var(--verde); border-color: var(--linea); }
.footer__rubros { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13.5px; }
.footer__rubros a { color: #BFD3C5; }

/* mapa 3D + pines */
.mapa { position: relative; max-width: 440px; }
.mapa img { width: 100%; height: auto; display: block; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55)); }
.mapa svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.mapa .ruta { stroke: #fff; stroke-width: 4; stroke-dasharray: 12 12; opacity: .85; filter: drop-shadow(0 1px 2px rgba(0,0,0,.6)); }
@keyframes ruta { to { stroke-dashoffset: -48; } }
.mapa .loc { fill: #fff; stroke: var(--verde-3); stroke-width: 4; }
.mapa .pin circle { fill: #fff; stroke: var(--verde-3); stroke-width: 5; }
.mapa .pin.base circle { fill: #8FE0A8; }
.mapa .pin .onda { fill: none; stroke: #fff; stroke-width: 4; }
.mapa text { fill: #fff; font-size: 42px; font-weight: 800; paint-order: stroke; stroke: rgba(0, 38, 18, .85); stroke-width: 8px; stroke-linejoin: round; }
.mapa text.sub { font-size: 25px; font-weight: 500; fill: #DCE9DF; letter-spacing: .06em; }
.mapa .etiqueta rect { fill: rgba(0, 38, 18, .88); stroke: rgba(143, 224, 168, .6); stroke-width: 2; }
.mapa .etiqueta text { stroke: none; }
.mapa .etiqueta text.sub { fill: #8FE0A8; }
.cliente img { object-position: 50% 15%; }
@media (max-width: 900px) { .cliente { min-height: 340px; } }
