/* JEAR TÉCNICA S.A. · sitio público
   Layout: a 12-column editorial grid; one dark "night" band (the approved holding-page light) in a light, photo-first page.
   Type: Outfit for display (geometric, like the lowercase logo), Instrument Sans for reading, JetBrains Mono for trade data. */
:root {
  --ink: #101613;
  --ink-2: #3a423e;
  --muted: #6b7570;
  --line: #e3e7e4;
  --line-strong: #cfd5d1;
  --paper: #f6f7f5;
  --white: #ffffff;
  --green: #17803f;
  --green-bright: #21a458;
  --green-deep: #0b6e33;
  --green-soft: #e4f3ea;
  --night: #04120b;
  --night-ink: #ffffff;
  --night-muted: rgba(255, 255, 255, 0.66);
  --night-line: rgba(255, 255, 255, 0.14);
  --display: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --text: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --max: 1240px;
  --radius: 16px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--text); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.025em; line-height: 1.05; text-wrap: balance; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgba(33, 164, 88, 0.55); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.mono { font-family: var(--mono); font-size: 13px; letter-spacing: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-2); }
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--green-bright); flex: none; }
.dot { color: var(--green-bright); }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--ink-2); max-width: 58ch; text-wrap: pretty; }
.muted { color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 999px; background: var(--green); color: #fff; font-weight: 600; font-size: 16px; border: 0; cursor: pointer; transition: background-color .15s ease, transform .15s ease; white-space: nowrap; }
.btn:hover { background: var(--green-deep); }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-strong); }
.btn.ghost:hover { background: var(--paper); border-color: var(--ink); }
.btn.light { background: #fff; color: var(--night); }
.btn.light:hover { background: #e9f6ee; }
.btn svg { width: 18px; height: 18px; flex: none; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); border-bottom: 1px solid transparent; }
.link:hover { border-bottom-color: var(--ink); }
.link svg { width: 16px; height: 16px; transition: transform .15s ease; }
.link:hover svg { transform: translateX(3px); }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, 0.82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { width: 84px; height: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 14px; border-radius: 999px; font-weight: 500; font-size: 15.5px; color: var(--ink-2); }
.nav a:hover { background: var(--paper); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav .btn { min-height: 42px; padding: 0 20px; font-size: 15px; margin-left: 10px; color: #fff; }
.nav .btn:hover { background: var(--green-deep); }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 10px; cursor: pointer; align-items: center; justify-content: center; }
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); position: relative; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--ink); }
.burger span::before { top: -7px; } .burger span::after { top: 7px; }
.sheet { display: none; }
@media (max-width: 900px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .sheet { display: none; position: fixed; top: 68px; left: 0; right: 0; bottom: 0; z-index: 19; background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); padding: 20px var(--gutter-r) 32px var(--gutter); flex-direction: column; gap: 4px; }
  .sheet.open { display: flex; }
  .sheet a { font-family: var(--display); font-size: 30px; font-weight: 600; padding: 12px 0; border-bottom: 1px solid var(--line); letter-spacing: -0.02em; }
  .sheet a[aria-current="page"] { color: var(--green-deep); }
  .sheet .btn { margin-top: 18px; border: 0; font-family: var(--text); font-size: 17px; align-self: flex-start; }
  .sheet small { margin-top: auto; color: var(--muted); font-size: 13px; }
}

/* Sections */
.sec { padding-block: clamp(64px, 9vw, 120px); }
.sec-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head h2 { font-size: clamp(32px, 4.2vw, 56px); }
.sec-head .lead { font-size: 18px; }
@media (max-width: 800px) { .sec-head { grid-template-columns: minmax(0, 1fr); gap: 16px; } }
.hr { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* Hero */
.hero { padding-block: clamp(40px, 6vw, 88px) 0; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px 48px; align-items: center; }
.hero h1 { font-size: clamp(46px, 6.6vw, 92px); font-weight: 600; letter-spacing: -0.035em; line-height: 0.96; margin-top: 22px; }
.hero h1 .dot { display: inline-block; width: 0.22em; height: 0.22em; border-radius: 50%; background: var(--green-bright); margin-left: 0.08em; vertical-align: 0.02em; }
.hero .lead { margin-top: 26px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin-top: 34px; }
.river { position: relative; height: min(640px, 78vh); display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent); }
.col { display: flex; flex-direction: column; gap: 14px; will-change: transform; animation: river 70s linear infinite; }
.col:nth-child(2) { animation-direction: reverse; animation-duration: 84s; }
.col:nth-child(3) { animation-duration: 96s; }
@keyframes river { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.tile { aspect-ratio: 1; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 1px 2px rgba(16, 22, 19, 0.04), 0 10px 30px -18px rgba(16, 22, 19, 0.25); flex: none; }
.tile img { width: 100%; height: 100%; object-fit: contain; }
.river-row { display: none; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .river { display: none; }
  .river-row { display: flex; min-width: 0; max-width: 100vw; gap: 12px; overflow: hidden; margin: 36px calc(-1 * var(--gutter-r)) 0 calc(-1 * var(--gutter)); -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
  .river-row .track { display: flex; gap: 12px; flex: none; animation: riverx 60s linear infinite; }
  .river-row .tile { width: 132px; }
  @keyframes riverx { from { transform: translateX(0); } to { transform: translateX(-50%); } }
}
@media (prefers-reduced-motion: reduce) { .col, .river-row .track { animation: none; } }

/* Numbers */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: clamp(48px, 6vw, 80px); }
.facts .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact { padding: 28px 24px 28px 0; border-left: 1px solid var(--line); padding-left: 24px; }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact b { display: block; font-family: var(--display); font-weight: 600; font-size: clamp(34px, 3.6vw, 48px); letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.fact span { display: block; margin-top: 8px; color: var(--muted); font-size: 14.5px; }
@media (max-width: 800px) { .facts .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fact:nth-child(3) { border-left: 0; padding-left: 0; } .fact:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* Product lines ledger */
.lines { display: flex; flex-direction: column; }
.line { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 4fr) minmax(0, 4fr); gap: 24px 40px; align-items: center; padding-block: 34px; border-top: 1px solid var(--line); }
.line:last-child { border-bottom: 1px solid var(--line); }
.line h3 { font-size: clamp(26px, 2.6vw, 36px); }
.line .count { margin-top: 10px; }
.line .count b { font-family: var(--display); font-weight: 600; font-size: 20px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.line .count span { color: var(--muted); font-size: 14px; margin-left: 6px; }
.line p { color: var(--ink-2); font-size: 16px; }
.line .ex { margin-top: 10px; font-family: var(--mono); font-size: 12.5px; color: var(--muted); line-height: 1.7; }
.line .pics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.line .pics .tile { border-radius: 12px; transition: transform .25s ease, box-shadow .25s ease; }
.line:hover .pics .tile { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(16, 22, 19, 0.04), 0 18px 34px -18px rgba(16, 22, 19, 0.35); }
.line:hover .pics .tile:nth-child(2) { transition-delay: .04s; } .line:hover .pics .tile:nth-child(3) { transition-delay: .08s; }
.line .go { align-self: center; justify-self: end; }
@media (max-width: 900px) { .line { grid-template-columns: minmax(0, 1fr); gap: 18px; } .line .go { justify-self: start; } }

/* Night band */
.night { position: relative; background: var(--night); color: var(--night-ink); overflow: hidden; isolation: isolate; }
.night .glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(90% 70% at 15% 110%, #0b2a1a 0%, transparent 60%), radial-gradient(60% 50% at 95% -10%, rgba(13, 148, 136, 0.35) 0%, transparent 60%); }
.night .blob { position: absolute; z-index: -1; width: 58vmax; height: 58vmax; border-radius: 50%; filter: blur(80px); opacity: .5; mix-blend-mode: screen; background: radial-gradient(circle, #21a458 0%, rgba(33, 164, 88, 0) 60%); left: -20vmax; bottom: -34vmax; animation: drift 40s ease-in-out infinite alternate; pointer-events: none; }
@keyframes drift { to { transform: translate3d(30vmax, -10vmax, 0) scale(1.15); } }
@media (prefers-reduced-motion: reduce) { .night .blob { animation: none; } }
.night .eyebrow { color: var(--night-muted); }
.night .lead { color: var(--night-muted); }
.night .hr { border-color: var(--night-line); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--night-line); margin-top: 12px; }
.step { padding: 30px 28px 30px 0; border-left: 1px solid var(--night-line); padding-left: 24px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.step:first-child { border-left: 0; padding-left: 0; }
.step i { font-style: normal; font-family: var(--mono); font-size: 12.5px; color: var(--green-bright); letter-spacing: .06em; }
.step h3 { font-size: 24px; }
.step p { color: var(--night-muted); font-size: 15.5px; }
.step .doc { margin-top: auto; font-family: var(--mono); font-size: 12px; color: rgba(255, 255, 255, 0.5); line-height: 1.6; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .step:nth-child(3) { border-left: 0; padding-left: 0; } .step:nth-child(n+3) { border-top: 1px solid var(--night-line); } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } .step { border-left: 0; padding-left: 0; border-top: 1px solid var(--night-line); } .step:first-child { border-top: 0; } }
.proforma { background: #fff; color: var(--ink); border-radius: 12px; padding: 22px 24px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7); max-width: 560px; font-family: var(--mono); font-size: 12.5px; line-height: 1.5; }
.proforma .ph { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.proforma .ph b { font-family: var(--display); font-size: 17px; letter-spacing: -0.01em; }
.proforma .ph span { color: var(--muted); }
.proforma dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 14px 0 0; }
.proforma dt { color: var(--muted); }
.proforma dd { margin: 0; }
.proforma .tag { position: absolute; top: -12px; right: 18px; background: var(--green-bright); color: #fff; font-family: var(--text); font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.proforma-wrap { position: relative; }
.night-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 48px; align-items: center; margin-top: clamp(40px, 5vw, 72px); }
@media (max-width: 900px) { .night-grid { grid-template-columns: minmax(0, 1fr); } }

/* Containers */
.boxes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.box { background: var(--paper); border-radius: var(--radius); padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.box svg { width: 100%; height: auto; display: block; }
.box h3 { font-size: 22px; }
.box dl { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin: 0; font-size: 14px; }
.box dt { color: var(--muted); }
.box dd { margin: 0; font-family: var(--mono); font-size: 13px; font-variant-numeric: tabular-nums; text-align: right; }
@media (max-width: 900px) { .boxes { grid-template-columns: minmax(0, 1fr); } }

/* Ports */
.ports { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 32px; border-top: 1px solid var(--line); padding-top: 28px; }
.port { min-width: 0; }
.port b { display: block; font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: -0.015em; }
.port span { display: block; margin-top: 4px; font-family: var(--mono); font-size: 12.5px; color: var(--muted); line-height: 1.7; }
@media (max-width: 900px) { .ports { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Split bands */
.split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 40px 72px; align-items: center; }
.split h2 { font-size: clamp(30px, 3.6vw, 48px); }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }
.card { background: var(--paper); border-radius: var(--radius); padding: 28px; }
.card ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.card li { padding: 12px 0; border-top: 1px solid var(--line-strong); display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 15.5px; color: var(--ink-2); }
.card li:first-child { border-top: 0; padding-top: 0; }
.card li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--green-bright); margin-top: 7px; }

/* Page header */
.ph-page { padding-block: clamp(44px, 6vw, 88px) clamp(28px, 4vw, 56px); }
.ph-page h1 { font-size: clamp(40px, 5.6vw, 76px); letter-spacing: -0.035em; margin-top: 20px; max-width: 16ch; }
.ph-page .lead { margin-top: 22px; }

/* Prose */
.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(24px, 2.6vw, 32px); margin: 44px 0 14px; }
.prose h3 { font-size: 20px; margin: 28px 0 8px; }
.prose p, .prose li { color: var(--ink-2); }
.prose p + p { margin-top: 14px; }
.prose ul { padding-left: 20px; margin: 12px 0; }
.prose a { color: var(--green-deep); border-bottom: 1px solid rgba(11, 110, 51, 0.35); }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 16px 0; }
.prose th, .prose td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 600; font-size: 13px; color: var(--muted); }
.prose td.mono { font-size: 13.5px; }

/* Feature grid (productos page) */
.fam { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 64px; padding-block: clamp(40px, 5vw, 72px); border-top: 1px solid var(--line); align-items: start; }
.fam .side { position: sticky; top: 92px; }
.fam h2 { font-size: clamp(32px, 3.8vw, 52px); }
.fam .count { margin: 14px 0 18px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.fam .count b { font-family: var(--display); font-size: 26px; color: var(--ink); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; margin-right: 8px; }
.fam p { color: var(--ink-2); max-width: 46ch; }
.fam .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.fam .tags span { font-family: var(--mono); font-size: 12px; padding: 6px 10px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink-2); }
.fam .grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.fam .grid .tile { border-radius: 12px; }
@media (max-width: 900px) { .fam { grid-template-columns: minmax(0, 1fr); } .fam .side { position: static; } .fam .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 72px; align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: minmax(0, 1fr); } }
.form { background: var(--paper); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; gap: 16px; }
.form .grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 600px) { .form .grid2 { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; color: var(--ink-2); font-weight: 500; }
.field.wide { grid-column: 1 / -1; }
.field input, .field textarea, .field select { font-size: 16px; font-weight: 400; color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: 10px; padding: 11px 13px; min-height: 48px; width: 100%; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(33, 164, 88, 0.22); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-2); line-height: 1.45; }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--green); flex: none; }
.check a { color: var(--green-deep); border-bottom: 1px solid rgba(11, 110, 51, 0.35); }
.legal-note { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 10px 12px; border-radius: 10px; background: #fde8e7; color: #b42318; font-size: 14px; }
.alert.ok { background: var(--green-soft); color: var(--green-deep); }
.facts-list { display: flex; flex-direction: column; margin-top: 28px; }
.facts-list div { padding: 14px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 120px 1fr; gap: 12px; font-size: 15px; }
.facts-list div span:first-child { color: var(--muted); font-size: 13px; padding-top: 2px; }
.facts-list.nums div span:first-child { font-family: var(--display); font-weight: 600; font-size: 22px; color: var(--ink); letter-spacing: -0.02em; padding-top: 0; line-height: 1.1; font-variant-numeric: tabular-nums; }

/* CTA band */
.cta-band { background: var(--paper); }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: clamp(40px, 5vw, 64px); }
.cta-band h2 { font-size: clamp(26px, 3vw, 40px); max-width: 22ch; }

/* Footer */
.foot { background: var(--night); color: var(--night-ink); padding-block: 56px 28px; }
.foot .cols { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); gap: 36px 32px; }
.foot .logo { width: 110px; }
.foot p { color: var(--night-muted); font-size: 14.5px; max-width: 34ch; margin-top: 18px; }
.foot h4 { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--night-muted); margin-bottom: 14px; font-weight: 500; }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.foot ul a:hover { color: var(--green-bright); }
.foot address { font-style: normal; font-size: 15px; line-height: 1.6; color: var(--night-ink); }
.foot .base { margin-top: 44px; padding-top: 18px; border-top: 1px solid var(--night-line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-family: var(--mono); font-size: 12px; color: var(--night-muted); }
@media (max-width: 900px) { .foot .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot .cols > :first-child { grid-column: 1 / -1; } }

/* ───────────── Catálogo ───────────── */
.cat-head { background: var(--paper); border-bottom: 1px solid var(--line); padding-block: clamp(28px, 4vw, 56px) 0; position: sticky; top: 68px; z-index: 10; }
.cat-top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px 48px; align-items: end; }
.cat-top h1 { font-size: clamp(32px, 4vw, 52px); margin-top: 14px; }
@media (max-width: 900px) { .cat-top { grid-template-columns: minmax(0, 1fr); } .cat-top .lead { display: none; } }
.search { position: relative; display: flex; align-items: center; margin-top: 22px; background: #fff; border: 1px solid var(--line-strong); border-radius: 14px; min-height: 58px; padding: 0 14px 0 16px; box-shadow: 0 1px 2px rgba(16, 22, 19, 0.04); }
.search:focus-within { border-color: var(--green); box-shadow: 0 0 0 4px rgba(33, 164, 88, 0.18); }
.search svg { width: 22px; height: 22px; color: var(--muted); flex: none; }
.search input { flex: 1; border: 0; background: transparent; font-size: 18px; padding: 14px 12px; min-width: 0; outline: none; }
.search input::-webkit-search-cancel-button { display: none; }
.search .clear { border: 0; background: var(--paper); width: 34px; height: 34px; border-radius: 50%; font-size: 20px; cursor: pointer; color: var(--ink-2); }
.chips { display: flex; gap: 8px; flex-wrap: nowrap; overflow-x: auto; padding: 16px 0 16px; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin: 0 calc(-1 * var(--gutter-r)) 0 calc(-1 * var(--gutter)); padding-left: var(--gutter); padding-right: var(--gutter-r); }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 1px solid var(--line-strong); background: #fff; color: var(--ink-2); border-radius: 999px; min-height: 38px; padding: 0 14px; font-size: 14px; font-weight: 500; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.chip .num { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip.on .num { color: rgba(255, 255, 255, 0.7); }
.cat-body { padding-block: 22px 80px; }
.cat-status { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; padding-bottom: 14px; }
.grid-c { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
@media (max-width: 600px) { .grid-c { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.pc { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; transition: box-shadow .2s ease, transform .2s ease; cursor: pointer; text-align: left; padding: 0; font: inherit; color: inherit; }
.pc:hover { box-shadow: 0 1px 2px rgba(16, 22, 19, 0.04), 0 16px 34px -20px rgba(16, 22, 19, 0.4); transform: translateY(-2px); }
.pc .pic { aspect-ratio: 1; background: #fff; display: grid; place-items: center; border-bottom: 1px solid var(--line-soft, #f0f2f0); }
.pc .pic img { width: 100%; height: 100%; object-fit: contain; }
.pc .pic .nopic { font-family: var(--mono); font-size: 11px; color: var(--muted); text-align: center; padding: 10px; }
.pc .txt { padding: 12px 12px 12px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.pc .nm { font-size: 14px; font-weight: 500; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.pc .mt { font-family: var(--mono); font-size: 11.5px; color: var(--muted); display: flex; justify-content: space-between; gap: 2px 8px; flex-wrap: wrap; }
.pc .mt span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc .add { margin-top: auto; align-self: start; border: 1px solid var(--line-strong); background: #fff; border-radius: 999px; min-height: 32px; padding: 0 12px; font-size: 13px; font-weight: 600; color: var(--ink); cursor: pointer; }
.pc .add:hover { border-color: var(--ink); }
.pc .add.in { background: var(--green-soft); border-color: transparent; color: var(--green-deep); }
.more { display: flex; justify-content: center; padding-top: 28px; }
.empty { grid-column: 1 / -1; padding: 48px 0; color: var(--muted); text-align: center; }
.drawer { position: fixed; inset: 0; z-index: 40; display: flex; justify-content: flex-end; }
.drawer-bg { position: absolute; inset: 0; background: rgba(4, 18, 11, 0.45); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.drawer-panel { position: relative; width: min(520px, 100%); height: 100%; background: #fff; overflow-y: auto; box-shadow: -30px 0 80px rgba(0, 0, 0, 0.25); display: flex; flex-direction: column; animation: slidein .28s cubic-bezier(.2,.8,.2,1); padding-top: env(safe-area-inset-top, 0px); }
@keyframes slidein { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .drawer-panel { animation: none; } }
.drawer .x { position: absolute; top: calc(14px + env(safe-area-inset-top, 0px)); right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--paper); font-size: 22px; cursor: pointer; z-index: 2; }
.d-pic { background: var(--paper); display: grid; place-items: center; padding: 28px; }
.d-pic img { width: min(300px, 70vw); height: auto; aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 14px; }
.d-body { padding: 22px 24px 32px; display: flex; flex-direction: column; gap: 12px; }
.d-body h2 { font-size: 24px; }
.d-desc { color: var(--ink-2); font-size: 14.5px; white-space: pre-line; max-height: 9.5em; overflow: auto; }
.d-specs { display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; margin: 6px 0 0; font-size: 14px; border-top: 1px solid var(--line); padding-top: 14px; }
.d-specs dt { color: var(--muted); } .d-specs dd { margin: 0; font-family: var(--mono); font-size: 13px; }
.d-actions { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; margin-top: 10px; }
.fab { position: fixed; right: max(18px, env(safe-area-inset-right, 0px)); bottom: max(18px, env(safe-area-inset-bottom, 0px)); z-index: 18; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px 0 18px; border-radius: 999px; border: 0; background: var(--ink); color: #fff; font: inherit; font-weight: 600; font-size: 15px; cursor: pointer; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.6); }
.fab svg { width: 18px; height: 18px; } .fab b { background: var(--green-bright); border-radius: 999px; min-width: 24px; height: 24px; display: inline-grid; place-items: center; font-size: 13px; padding: 0 6px; }
.l-items { display: flex; flex-direction: column; border-top: 1px solid var(--line); margin-top: 8px; }
.l-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.l-item img { width: 56px; height: 56px; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.l-item .nm { font-size: 14px; line-height: 1.3; } .l-item .rf { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.l-item input { width: 86px; text-align: right; font-family: var(--mono); font-size: 13px; border: 1px solid var(--line-strong); border-radius: 8px; padding: 6px 8px; }
.l-item .rm { border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 18px; padding: 4px 6px; }
.l-item .qty { display: flex; align-items: center; gap: 4px; }
.l-item .qty span { font-size: 12px; color: var(--muted); }
.sol-box { background: var(--green-soft); border-radius: 12px; padding: 12px 14px; font-size: 14px; color: var(--green-deep); }

/* ───────────── Hero v2: the goods first ───────────── */
.hero2 { padding-top: clamp(32px, 4.5vw, 64px); }
.hero2 .wrap { display: block; }
.hero2-top { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 28px 64px; align-items: end; }
.hero2 h1 { font-size: clamp(38px, 4.9vw, 68px); margin-top: 20px; max-width: 15ch; }
.hero2-side { display: flex; flex-direction: column; gap: 18px; }
.hero2-side .lead { font-size: 17.5px; }
.hero2-side .search { margin-top: 2px; min-height: 60px; padding-right: 8px; }
.hero2-side .search input { font-size: 17px; }
.hero2-links { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; }
.hero2-links a { color: var(--ink-2); display: inline-flex; gap: 6px; align-items: baseline; border-bottom: 1px solid transparent; }
.hero2-links a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.hero2-links b { font-family: var(--mono); font-weight: 500; font-size: 12px; color: var(--muted); }
@media (max-width: 900px) { .hero2-top { grid-template-columns: minmax(0, 1fr); gap: 20px; } .hero2 h1 { max-width: none; } }
.wall { margin-top: clamp(32px, 4vw, 56px); height: clamp(300px, 36vw, 480px); display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; padding: 0 12px; overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 80%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 80%, transparent); }
.wcol { display: flex; flex-direction: column; gap: 12px; will-change: transform; animation: river 90s linear infinite; }
.wcol:nth-child(even) { animation-direction: reverse; }
.wcol:nth-child(3n) { animation-duration: 110s; } .wcol:nth-child(5n) { animation-duration: 76s; }
.wall .tile { border-radius: 12px; }
@media (max-width: 900px) { .wall { grid-template-columns: repeat(4, minmax(0, 1fr)); height: 300px; } .wcol:nth-child(n+5) { display: none; } }
@media (prefers-reduced-motion: reduce) { .wcol { animation: none; } }
.hero2 .hero2-proof { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 32px; padding-block: 8px 0; }
.hero2-proof div { display: flex; flex-direction: column; gap: 6px; border-top: 2px solid var(--ink); padding-top: 14px; }
.hero2-proof b { font-family: var(--display); font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.hero2-proof span { color: var(--muted); font-size: 14px; line-height: 1.45; }
@media (max-width: 900px) { .hero2 .hero2-proof { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hero2 .river, .hero2 .river-row { display: none; }

@media (max-width: 900px) { .cat-head { position: static; } .cat-head .cat-top h1 { font-size: 30px; } }
.line h3 a:hover { color: var(--green-deep); }
