@import url('/fonts/inter/inter.css');
/* tienda-chacra · envases compostables. Papel kraft, letra negra pesada, naranja y verde. */
:root {
  --bg: #ebe3d4;
  --bg2: #e3d9c7;
  --card: #f1ebe0;
  --ink: #34332f;
  --ink2: #5e5b53;
  --line: rgba(52, 51, 47, .28);
  --acc: #dd5418;
  --on-acc: #fff;
  --green: #5d8714;
  --dark: #1f1e1b;
  --on-dark: #ebe3d4;
  --plate: #d6cba9;
  --g: clamp(16px, 2.8vw, 40px);
  --max: 1440px;
}
*, *::before, *::after { box-sizing: border-box; }
html, body, button, input, select, textarea { font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-size: 16px; line-height: 1.55; overflow-x: clip; }
/* grano de papel: una sola imagen fija (no se repinta al bajar) */
body::before { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .5;
  background-image: url('images/grano.webp'); background-size: 240px; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
button { cursor: pointer; color: inherit; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 99; background: var(--ink); color: var(--bg); padding: 10px 14px; }
.skip-link:focus { left: 8px; }
.tm-al-left { text-align: left; } .tm-al-center { text-align: center; } .tm-al-right { text-align: right; }
main { position: relative; z-index: 1; }
main > section { position: relative; overflow-x: clip; }
.up { position: relative; z-index: 3; }

/* Tipografía */
.lbl { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--acc); }
.h-xl { font-size: clamp(40px, 6.2vw, 104px); font-weight: 900; line-height: .92; letter-spacing: -.025em; text-transform: uppercase; }
.h-lg { font-size: clamp(34px, 4.6vw, 72px); font-weight: 900; line-height: .95; letter-spacing: -.02em; text-transform: uppercase; }
.h-green .ln:last-child { color: var(--green); }
.ln { display: block; }
.lead { font-size: clamp(16px, 1.2vw, 18px); color: var(--ink2); max-width: 46ch; }

/* Botones en celdas (bordes finos, como un formulario impreso) */
.cell { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border: 1px solid var(--ink);
  font-size: 14px; font-weight: 700; text-decoration: none; text-transform: uppercase; letter-spacing: .03em; background: transparent; transition: background .25s, color .25s; }
.cell:hover { background: var(--ink); color: var(--bg); }
.cell-acc { background: var(--acc); border-color: var(--acc); color: var(--on-acc); }
.cell-acc:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.cell svg { flex: none; }
.btn-ar { display: inline-flex; }

/* ─── Cabecera ─── */
.nav { position: absolute; top: 0; left: 0; right: 0; z-index: 20; }
.nav-in { max-width: var(--max); margin: 0 auto; padding: 18px var(--g) 0; display: flex; align-items: center; gap: 28px; }
.nav-in::after { content: ''; position: absolute; left: var(--g); right: var(--g); top: 72px; border-top: 1px solid var(--ink); pointer-events: none; }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); min-height: 44px; }
.logo .leaf { color: var(--green); }
.logo-t { font-size: 24px; font-weight: 900; letter-spacing: -.03em; }
.nav-l { display: flex; gap: 4px; }
.nav-l li + li::before { content: '/'; opacity: .4; margin: 0 6px 0 2px; }
.nav-l li { display: flex; align-items: center; }
.nav-l a { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
.nav-l a:hover { color: var(--acc); }
.nav-cta { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; background: var(--acc); color: var(--on-acc);
  font-size: 13px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; }
.nav-cta:hover { background: var(--ink); }
.nav-toggle { display: none; width: 48px; height: 48px; border: 1px solid var(--ink); background: var(--bg); position: relative; }
.nav-toggle i { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); transition: transform .3s; }
.nav-toggle i:first-child { top: 19px; } .nav-toggle i:last-child { top: 27px; }
.nav-toggle[aria-expanded="true"] i:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] i:last-child { transform: translateY(-4px) rotate(-45deg); }

/* cinta vertical «Cotiza» pegada al borde derecho */
.tab { position: fixed; right: 0; top: 50%; z-index: 19; writing-mode: vertical-rl; transform: translateY(-50%) rotate(180deg); background: var(--acc); color: var(--on-acc);
  padding: 22px 13px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.tab:hover { background: var(--ink); }

/* ─── Lienzo 3D ─── */
.stage { position: absolute; left: 0; right: 0; top: 0; height: 300vh; pointer-events: none; z-index: 2; }
.stage-stick { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.stage canvas { display: block; width: 100%; height: 100%; }
html.is-ed .stage { display: none; }

/* ─── Portada ─── */
.hero { min-height: max(680px, 100svh); max-width: var(--max); margin: 0 auto; padding: 96px var(--g) 64px; display: flex; flex-direction: column; }
.hero-mis { display: flex; gap: 10px; max-width: 340px; font-size: 11.5px; line-height: 1.4; }
.hero-mis .leaf { flex: none; width: 20px; height: 20px; color: var(--green); }
.mis-l { display: block; font-weight: 800; }
.hero-title { margin-top: clamp(40px, 7vh, 90px); font-size: clamp(48px, 7.6vw, 128px); font-weight: 900; line-height: .9; letter-spacing: -.03em; text-transform: uppercase; max-width: 9.5em; }
.hero-sub { margin-top: auto; padding-top: 40px; max-width: 460px; border: 1px solid var(--ink); border-bottom: 0; }
.hero-lead { padding: 16px 18px; font-size: 14.5px; line-height: 1.5; }
.hero-btns { display: grid; grid-template-columns: 1fr 1fr; }
.hero-btns .cell { border-left: 0; border-right: 0; }
.hero-btns .cell + .cell { border-left: 1px solid var(--ink); }
.down { width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); }
/* póster del envase: es lo que se ve en el editor y el primer cuadro antes del 3D (el 3D se ubica donde está esta foto) */
.hero-obj { position: absolute; margin: 0; right: -9vw; bottom: -14vh; width: min(66vw, 1060px); z-index: 1; pointer-events: none; }
.hero-obj img { width: 100%; pointer-events: auto; transition: opacity .35s; }
html.on3d .hero-obj img.is-3d { opacity: 0; }
.badge { position: absolute; right: calc(var(--g) + 60px); top: 118px; width: 150px; height: 150px; display: grid; place-items: center; z-index: 3; }
.badge > .leaf { width: 46px; height: 46px; color: var(--green); position: relative; }
.badge-t { position: absolute; font-size: 0; }
.badge-live { position: absolute; inset: 0; animation: spin 18s linear infinite; }
.badge-live svg { width: 100%; height: 100%; }
.badge::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--card); border: 1px solid var(--ink); }
html.is-ed .badge-t { position: relative; z-index: 1; font-size: 11px; font-weight: 700; max-width: 120px; text-align: center; margin-top: 70px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* entrada de la portada en CSS (no espera al script) */
@keyframes rise { from { opacity: 0; transform: translateY(28px); } }
html:not(.is-ed) .hero-title .ln { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
html:not(.is-ed) .hero-title .ln:nth-child(2) { animation-delay: .08s; }
html:not(.is-ed) .hero-title .ln:nth-child(3) { animation-delay: .16s; }
html:not(.is-ed) .hero-sub { animation: rise .9s .25s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes pop { from { opacity: 0; transform: translateY(8%) rotate(-6deg) scale(.9); } }
html:not(.is-ed) .hero-obj { animation: pop 1.1s .1s cubic-bezier(.2, .8, .2, 1) both; }

/* ─── Lema: el envase pasa entre las líneas ─── */
.lema { min-height: 135vh; display: grid; place-items: center; padding: 10vh var(--g); }
.lema-h, .lema-front > div { display: grid; justify-items: center; text-align: center; font-size: clamp(48px, 9.6vw, 168px); font-weight: 900; line-height: .9; letter-spacing: -.035em; text-transform: uppercase; }
.ll { display: block; }
.ll1, .ll3 { font-size: .62em; }
.lema-front { position: absolute; inset: 0; display: grid; place-items: center; padding: 10vh var(--g); z-index: 3; pointer-events: none; }
.lema-front .ll1, .lema-front .ll2 { visibility: hidden; }

/* ─── Manifiesto ─── */
.manif { max-width: var(--max); margin: 0 auto; padding: 14vh var(--g) 10vh; }
.manif-t { max-width: 17em; font-size: clamp(28px, 3.9vw, 60px); font-weight: 900; line-height: 1.02; letter-spacing: -.02em; text-transform: uppercase; }
.manif-t .wd { color: color-mix(in srgb, var(--ink) 24%, transparent); transition: color .35s; }
.manif-t .wd.on { color: var(--ink); }

/* ─── Líneas + tarjeta ─── */
.cats { --cch: min(76vh, 640px); }
.cats-in { max-width: var(--max); margin: 0 auto; padding: 4vh var(--g) 12vh; display: grid; grid-template-columns: minmax(0, 1fr) min(420px, 36vw); gap: clamp(24px, 6vw, 120px); min-height: 118vh; }
.cats-side { padding-top: 6vh; }
.cats-side .lbl { margin-bottom: 18px; }
.cat-list { counter-reset: n; max-width: 560px; border-bottom: 1px solid var(--ink); }
.cat { counter-increment: n; border-top: 1px solid var(--ink); position: relative; }
.cat-b { width: 100%; display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 2px 16px; padding: 14px 0; min-height: 56px; background: none; border: 0; text-align: left; font: inherit; }
.cat-name { font-size: 14px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.cat-d { grid-column: 1; font-size: 13px; color: var(--ink2); }
.cat-n { grid-column: 2; grid-row: 1; font-size: 12px; color: var(--ink2); font-variant-numeric: tabular-nums; }
.cat-n::before { content: counter(n, decimal-leading-zero); }
.cat-b:hover .cat-name, .cat.on .cat-name { color: var(--acc); }
.cat.on { border-top-color: var(--acc); }
.cat-img { display: none; }
html.is-ed .cat-img { display: block; position: absolute; right: 44px; top: 6px; width: 64px; height: 50px; object-fit: contain; }
.cc { position: sticky; top: calc((100vh - var(--cch)) / 2); height: var(--cch); display: flex; flex-direction: column; border: 1px solid var(--ink); background: color-mix(in srgb, var(--card) 55%, transparent); }
.cc-head { display: grid; grid-template-columns: 1fr 64px 64px; border-bottom: 1px solid var(--ink); min-height: 64px; }
.cc-label { padding: 14px 16px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; max-width: 12ch; line-height: 1.3; }
.cc-arr { border: 0; border-left: 1px solid var(--ink); background: none; display: grid; place-items: center; }
.cc-arr:hover { background: var(--ink); color: var(--bg); }
.cc-win { flex: 1; position: relative; touch-action: pan-y; cursor: grab; }
.cc-win:active { cursor: grabbing; }
.cc-live { position: absolute; inset: 8%; display: grid; place-items: center; }
.cc-live img { max-height: 100%; width: auto; object-fit: contain; transition: opacity .3s; }
html.on3d .cc-live img.is-3d { opacity: 0; }
.cc-hint { position: absolute; left: 14px; bottom: 10px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink2); }
html.is-ed .cc-hint, html.still .cc-hint { display: none; }
.cc-foot { display: grid; grid-template-columns: 1fr auto; border-top: 1px solid var(--ink); min-height: 64px; }
.cc-name { padding: 16px; font-size: 19px; font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; line-height: 1.1; align-self: center; }
.cc-go { display: inline-flex; align-items: center; gap: 8px; padding: 0 16px; border-left: 1px solid var(--ink); font-size: 12px; font-weight: 800; letter-spacing: .05em;
  text-transform: uppercase; text-decoration: none; min-height: 44px; }
.cc-go:hover { background: var(--acc); color: var(--on-acc); }

/* ─── Catálogo ─── */
.shop { max-width: var(--max); margin: 0 auto; padding: 12vh var(--g); }
.sec-head { display: grid; gap: 14px; margin-bottom: 30px; }
.shop-all { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip { min-height: 44px; padding: 0 16px; border: 1px solid var(--ink); background: transparent; font: inherit; font-size: 13px; font-weight: 700; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.pc { display: flex; flex-direction: column; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.pc.is-off { display: none; }
.pc-ph { position: relative; aspect-ratio: 1; background: color-mix(in srgb, var(--card) 70%, transparent); border-bottom: 1px solid var(--line); }
.pc-img { width: 100%; height: 100%; object-fit: contain; padding: 6%; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.pc:hover .pc-img { transform: translateY(-4%) rotate(-3deg); }
.pc-tag { position: absolute; left: 12px; top: 12px; padding: 5px 9px; background: var(--green); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.pc-tag:empty { display: none; }
html.is-ed .pc-tag:empty { display: inline-block; background: transparent; color: var(--ink2); border: 1px dashed var(--line); }
.pc-body { padding: 14px 16px 10px; display: grid; gap: 4px; flex: 1; }
.pc-cat { font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--acc); }
.pc-name { font-size: 18px; font-weight: 800; line-height: 1.2; }
.pc-row { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; margin-top: auto; padding-top: 8px; }
.pc-pack { font-size: 13.5px; color: var(--ink2); }
.pc-price { font-size: 18px; font-weight: 900; }
.pc-acts { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); }
.pc-buy, .pc-add { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 50px; padding: 0 8px; border: 0; font: inherit; font-size: 12.5px;
  font-weight: 800; letter-spacing: .03em; text-transform: uppercase; text-decoration: none; text-align: center; line-height: 1.15; }
.pc-buy { background: var(--acc); color: var(--on-acc); }
.pc-buy:hover { background: var(--ink); }
.pc-add { background: transparent; border-left: 1px solid var(--ink); }
.pc-add:hover, .pc-add.is-in { background: var(--ink); color: var(--bg); }

/* ─── Clientes ─── */
.cli { max-width: var(--max); margin: 0 auto; padding: 10vh var(--g); }
.cli-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0; }
.cli-head { grid-column: 1 / 6; display: grid; gap: 18px; align-content: start; padding: 0 30px 40px 0; }
.cli-title .ln:last-child { color: var(--green); }
.logos { grid-column: 6 / 13; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(170px, 100%), 1fr)); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); align-self: start; }
.lg { min-height: 118px; display: grid; place-items: center; padding: 14px; text-align: center; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.lg-t { font-size: 17px; line-height: 1.1; }
.f1 .lg-t { font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; }
.f2 .lg-t { font-family: 'Bodoni Moda', Georgia, serif; font-style: italic; font-size: 20px; }
.f3 .lg-t { font-weight: 300; text-transform: uppercase; letter-spacing: .22em; font-size: 13px; }
.f4 .lg-t { font-family: Georgia, 'Times New Roman', serif; font-size: 19px; }
.f5 .lg-t { font-weight: 800; font-size: 15px; text-transform: uppercase; border: 2px solid currentColor; padding: 6px 8px; }
.f6 .lg-t { font-weight: 600; font-size: 19px; letter-spacing: -.04em; }
.cli-map { grid-column: 1 / 6; margin: 0; padding: 20px 30px 0 0; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: end; }
.cli-map img { width: 100%; max-width: 420px; }
.cities-t { display: block; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; }
.cities { display: grid; gap: 4px; font-size: 14px; }
.cities li { display: flex; align-items: center; gap: 8px; }
.cities li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--acc); }
html.fx .lg { opacity: 0; transform: translateY(14px); transition: opacity .6s, transform .6s cubic-bezier(.2, .7, .2, 1); }
html.fx .logos.seen .lg { opacity: 1; transform: none; }

/* ─── Rubros (oscuro) ─── */
.rub { background: var(--dark); color: var(--on-dark); }
.rub-in { max-width: var(--max); margin: 0 auto; padding: 14vh var(--g); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; }
.rub-head { display: flex; flex-direction: column; gap: 18px; }
.rub-head .lbl { color: color-mix(in srgb, var(--on-dark) 70%, transparent); }
.rub .ln:last-child { color: var(--acc); }
.spin { margin-top: auto; position: relative; width: 132px; height: 132px; display: grid; place-items: center; text-decoration: none; position: sticky; bottom: 40px; }
.spin-t { position: absolute; font-size: 0; }
html.is-ed .spin-t { position: static; font-size: 11px; max-width: 110px; text-align: center; }
.spin-live { position: absolute; inset: 0; animation: spin 14s linear infinite; }
.spin-live svg { width: 100%; height: 100%; }
.spin-c { width: 62px; height: 62px; border-radius: 50%; background: var(--acc); color: #fff; display: grid; place-items: center; transition: transform .3s; }
.spin:hover .spin-c { transform: scale(1.12) rotate(45deg); }
.spin-c svg { width: 24px; height: 24px; }
.rub-list { display: grid; border-top: 1px solid color-mix(in srgb, var(--on-dark) 30%, transparent); }
.rb { display: grid; grid-template-columns: 90px 1fr; gap: 20px; padding: 30px 0; border-bottom: 1px solid color-mix(in srgb, var(--on-dark) 30%, transparent); }
.rb-ic { color: var(--on-dark); }
.rb-t { font-size: clamp(20px, 2vw, 28px); font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; margin-bottom: 6px; }
.rb-d { color: color-mix(in srgb, var(--on-dark) 78%, transparent); max-width: 48ch; }
.rb-wa { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--acc); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; text-decoration: none; }
.rb-wa:hover { color: var(--on-dark); }

/* ─── A medida ─── */
.med { max-width: var(--max); margin: 0 auto; padding: 14vh var(--g); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; }
.med-art { position: relative; min-height: 560px; border-right: 1px solid var(--ink); overflow: clip; }
.med-a { position: absolute; will-change: transform; }
.med-a1 { width: 54%; left: 8%; bottom: 10%; }
.med-a2 { width: 34%; right: 10%; top: 8%; filter: blur(5px); opacity: .85; }
html.is-ed .med-a2 { filter: none; }
.med-copy { padding-left: clamp(24px, 4vw, 60px); display: grid; gap: 18px; align-content: start; }
.med-list { display: grid; margin-top: 18px; }
.md { padding: 24px 0; border-top: 1px solid var(--ink); }
.md-t { font-size: 22px; font-weight: 900; text-transform: uppercase; margin-bottom: 10px; letter-spacing: -.01em; }
.md-d { color: var(--ink2); max-width: 58ch; }
.med-copy .cell { justify-self: start; }
.med > .cell { grid-column: 2; justify-self: start; margin-left: clamp(24px, 4vw, 60px); }

/* ─── Comparación ─── */
.cmp { max-width: var(--max); margin: 0 auto; padding: 12vh var(--g); }
.cmp-head { display: grid; gap: 14px; margin: 0 0 30px 33.3%; }
.cmp-head .ln:last-child { color: var(--green); }
.cmp-cols, .cr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.cmp-cols { padding: 18px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); font-size: 14px; font-weight: 900; text-transform: uppercase; }
.cmp-us { color: var(--green); }
.cmp-list { display: grid; }
.cr { padding: 24px 0; border-bottom: 1px solid var(--ink); align-items: center; }
.cr-k { display: flex; align-items: center; gap: 14px; }
.cr-ic { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; flex: none; }
.cr-t { font-size: 16px; font-weight: 900; text-transform: uppercase; }
.cr-c { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--ink2); }
.cr-c svg { flex: none; }
.ok circle { fill: var(--green); } .ok path { stroke: #fff; }
.no circle { fill: var(--ink); } .no path { stroke: var(--bg); }

/* ─── De la caña a la tierra ─── */
.era { max-width: var(--max); margin: 0 auto; padding: 12vh var(--g) 14vh; }
.era-head { display: grid; gap: 14px; text-align: center; justify-items: center; margin-bottom: 40px; }
.era-head .ln:last-child { color: var(--green); }
.era-body { position: relative; max-width: 1000px; margin: 0 auto; }
.era-line { position: absolute; left: 50%; top: 0; bottom: 170px; width: 200px; transform: translateX(-50%); }
.era-svg { width: 100%; height: 100%; }
.era-path { fill: none; stroke: var(--ink); stroke-width: 2; vector-effect: non-scaling-stroke; }
.steps { counter-reset: s; position: relative; display: grid; gap: 70px; }
.st { counter-increment: s; width: calc(50% - 90px); display: grid; gap: 8px; }
.st:nth-child(even) { margin-left: auto; }
.st-n::before { content: counter(s, decimal-leading-zero); font-size: 14px; font-weight: 900; color: var(--acc); }
.st-t { font-size: clamp(24px, 2.6vw, 38px); font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; line-height: 1; }
.st-d { color: var(--ink2); max-width: 40ch; }
.sprout { display: block; margin: 40px auto 0; width: 160px; height: 160px; position: relative; }
.sprout * { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; }
.sprout .sp-lf { stroke: var(--green); fill: color-mix(in srgb, var(--green) 18%, transparent); }
.sprout .sp-ring { fill: var(--card); }
html.fx:not(.still) .era-path, html.fx:not(.still) .sprout [pathLength] { stroke-dasharray: 1 1; stroke-dashoffset: 1; }

/* ─── Preguntas ─── */
.faq { max-width: var(--max); margin: 0 auto; padding: 10vh var(--g); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px; }
.faq-list { border-top: 1px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--ink); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; min-height: 44px; font-size: 18px; font-weight: 800; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 26px; line-height: 1; font-weight: 400; transition: transform .3s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 0 22px; color: var(--ink2); max-width: 64ch; }

/* ─── Contacto ─── */
.cta { max-width: var(--max); margin: 0 auto; padding: 10vh var(--g) 12vh; }
.cta-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 40px; align-items: end; padding-bottom: 50px; border-bottom: 1px solid var(--ink); }
.cta-h { font-size: clamp(64px, 14vw, 240px); font-weight: 900; line-height: .84; letter-spacing: -.045em; text-transform: uppercase; }
.cta-h .ln:last-child { color: var(--acc); }
.cta-side { display: grid; gap: 22px; }
.cta-side .cell { justify-self: start; }
.where { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); border-bottom: 1px solid var(--ink); }
.where-map { min-height: 420px; border-right: 1px solid var(--ink); }
.tm-map-wrapper { position: relative; height: 100%; min-height: 420px; }
.tm-map-wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.6) sepia(.15); }
.where-card { padding: 30px; display: grid; gap: 8px; align-content: start; }
.sub-t { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--acc); margin-top: 14px; }
.find-addr { font-size: 18px; font-weight: 700; }
.phones li, .hrow { display: flex; gap: 12px; align-items: center; justify-content: space-between; border-bottom: 1px dashed var(--line); }
.ph-area, .hr-d { color: var(--ink2); font-size: 14px; }
.find-a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; text-decoration: none; }
.find-a:hover { color: var(--acc); }
.hrow { min-height: 40px; }
.hr-h { font-weight: 700; }
.where-card .cell { margin-top: 18px; justify-self: start; }

/* ─── Pie ─── */
.foot { position: relative; z-index: 1; background: var(--dark); color: var(--on-dark); padding: 60px var(--g) 30px; overflow: hidden; }
.foot-cols { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
.ft-lead { font-size: 20px; font-weight: 700; max-width: 26ch; line-height: 1.3; }
.fcol-t { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--acc); margin-bottom: 10px; }
.fcol-links a, .fcol-links li { display: flex; align-items: center; min-height: 40px; text-decoration: none; color: color-mix(in srgb, var(--on-dark) 85%, transparent); }
.fcol-links a:hover { color: var(--acc); }
.foot-big { max-width: var(--max); margin: 40px auto 0; font-size: clamp(90px, 25vw, 420px); font-weight: 900; line-height: .78; letter-spacing: -.06em; text-transform: uppercase; color: var(--on-dark); text-align: center; }
.foot-bot { max-width: var(--max); margin: 28px auto 0; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; color: color-mix(in srgb, var(--on-dark) 70%, transparent); }

/* ─── Pedido ─── */
.bag-fab { position: fixed; right: 64px; bottom: 22px; z-index: 30; display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 18px; border: 1px solid var(--ink);
  background: var(--bg); font: inherit; font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
  transform: translateY(140%); transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
.bag-fab:not(.has) { visibility: hidden; }
.bag-fab.has { transform: none; }
html.is-ed .bag-fab { visibility: visible; transform: none; position: static; margin: 20px auto; display: flex; width: max-content; }
.bag-count { min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px; background: var(--acc); color: var(--on-acc); display: grid; place-items: center; font-size: 12px; }
.bag { position: fixed; inset: 0; z-index: 40; background: rgba(20, 19, 17, .45); display: flex; justify-content: flex-end; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.bag.open { opacity: 1; visibility: visible; }
.bag-box { width: min(440px, 100%); height: 100%; overflow-y: auto; background: var(--bg); padding: 22px; display: flex; flex-direction: column; gap: 12px;
  transform: translateX(30px); transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.bag.open .bag-box { transform: none; }
html.is-ed .bag { position: static; opacity: 1; visibility: visible; background: none; justify-content: center; padding: 0 var(--g) 40px; }
html.is-ed .bag-box { transform: none; height: auto; border: 1px solid var(--ink); }
.bag-top { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--ink); padding-bottom: 12px; }
.bag-title { font-size: 24px; font-weight: 900; text-transform: uppercase; }
.bag-x { width: 44px; height: 44px; border: 1px solid var(--ink); background: none; font-size: 24px; line-height: 1; }
.bag-empty { color: var(--ink2); }
.bag.has .bag-empty { display: none; }
.bag-lines { display: grid; }
.bl { display: grid; grid-template-columns: 54px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.bl img { width: 54px; height: 54px; object-fit: contain; }
.bl-n { font-weight: 800; font-size: 14.5px; line-height: 1.2; }
.bl-p { font-size: 13px; color: var(--ink2); }
.bl-q { display: inline-flex; align-items: center; border: 1px solid var(--ink); }
.bl-q button { width: 40px; height: 44px; border: 0; background: none; font-size: 18px; }
.bl-q span { min-width: 26px; text-align: center; font-weight: 800; }
.bag-sum { display: flex; justify-content: space-between; padding: 8px 0; font-weight: 700; }
.bag-amt { font-size: 20px; }
.bag .fld { display: grid; gap: 4px; font-size: 13px; font-weight: 700; }
.bag .fld input { min-height: 48px; border: 1px solid var(--ink); background: var(--card); padding: 0 12px; font: inherit; font-size: 16px; color: var(--ink); border-radius: 0; }
.bag-note { font-size: 13px; color: var(--ink2); }
.mail-pop { position: absolute; z-index: 50; background: var(--bg); border: 1px solid var(--ink); display: grid; min-width: 220px; box-shadow: 0 10px 30px rgba(0, 0, 0, .15); }
.mail-pop a, .mail-pop button { display: flex; align-items: center; min-height: 44px; padding: 0 14px; text-decoration: none; border: 0; background: none; font: inherit; font-size: 14px; text-align: left; }
.mail-pop a:hover, .mail-pop button:hover { background: var(--ink); color: var(--bg); }

/* ─── Editor: todo plano y visible ─── */
html.is-ed .nav { position: sticky; background: var(--bg); }
html.is-ed .lema { min-height: 0; }
html.is-ed .lema-front, html.is-ed .tab { display: none; }
html.is-ed .cats-in { min-height: 0; }
html.is-ed .cc { position: relative; top: 0; }
html.is-ed .hero-obj { animation: none; }

/* ─── Tablet y celular ─── */
@media (max-width: 1180px) {
  .nav-links { position: fixed; inset: 0; z-index: -1; background: var(--bg); display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  .nav-links.nav-open { opacity: 1; visibility: visible; }
  .nav-l { flex-direction: column; align-items: center; gap: 6px; }
  .nav-l li + li::before { display: none; }
  .nav-l a { font-size: 26px; font-weight: 900; }
  .nav-toggle { display: block; }
  .nav-cta { margin-left: auto; }
}
@media (max-width: 900px) {
  .hero { padding-top: 92px; min-height: 0; }
  .hero-title { font-size: clamp(44px, 13vw, 92px); }
  .hero-obj { position: relative; right: auto; bottom: auto; width: 128%; margin: -10px -14% -40px auto; }
  .hero-sub { margin-top: 0; padding-top: 0; position: relative; }
  .badge { width: 104px; height: 104px; right: var(--g); top: 84px; }
  .badge > .leaf { width: 34px; }
  .lema { min-height: 100vh; }
  .cats-in { grid-template-columns: 1fr; min-height: 0; padding-bottom: 6vh; }
  .cc { position: relative; top: 0; order: -1; height: min(72vh, 540px); }
  .cats-side { padding-top: 10px; }
  .cli-grid { grid-template-columns: 1fr; }
  .cli-head, .logos, .cli-map { grid-column: 1; }
  .cli-head { padding-right: 0; }
  .cli-map { padding: 30px 0 0; }
  .rub-in { grid-template-columns: 1fr; }
  .spin { position: relative; bottom: auto; margin-top: 8px; }
  .rb { grid-template-columns: 56px 1fr; gap: 14px; }
  .rb-ic svg { width: 34px; height: 34px; }
  .med { grid-template-columns: 1fr; }
  .med-art { min-height: 380px; border-right: 0; border-bottom: 1px solid var(--ink); margin-bottom: 30px; }
  .med-copy { padding-left: 0; }
  .med > .cell { grid-column: 1; margin: 10px 0 0; }
  .cmp-head { margin-left: 0; }
  .cmp-cols { display: none; }
  .cr { grid-template-columns: 1fr; gap: 10px; }
  .era-line { left: 22px; transform: none; width: 60px; bottom: 0; }
  .st, .st:nth-child(even) { width: auto; margin-left: 74px; }
  .steps { gap: 44px; }
  .faq-grid { grid-template-columns: 1fr; }
  .cta-top { grid-template-columns: 1fr; }
  .where { grid-template-columns: 1fr; }
  .where-map { border-right: 0; border-bottom: 1px solid var(--ink); min-height: 300px; }
  .tm-map-wrapper { min-height: 300px; }
  .where-card { padding: 24px 0; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .fcol-lead { grid-column: 1 / -1; }
  .tab { display: none; }
  .bag-fab { right: 16px; bottom: 16px; }
  /* una columna, tarjetas horizontales */
  .products { grid-template-columns: 1fr; }
  .pc { display: grid; grid-template-columns: 124px 1fr; }
  .pc-ph { aspect-ratio: auto; border-bottom: 0; border-right: 1px solid var(--line); grid-row: 1 / 3; }
  .pc-img { padding: 8px; }
  .pc-acts { grid-column: 2; }
  .pc-buy, .pc-add { font-size: 11.5px; }
}
@media (max-width: 520px) {
  .nav-cta .btn-t { display: none; }
  .nav-cta { padding: 0 14px; }
  .nav-in::after { top: 70px; }
  .hero-btns { grid-template-columns: 1fr; }
  .hero-btns .cell + .cell { border-left: 0; border-top: 1px solid var(--ink); }
  .hero-mis { display: none; }
  .badge { display: none; }
  .hero-title { margin-top: 26px; }
  .pc { grid-template-columns: 104px 1fr; }
  .pc-acts { grid-template-columns: 1fr; }
  .pc-add { border-left: 0; border-top: 1px solid var(--ink); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
