/*
  VOICE   Comercial y cercano, de campo pero profesional: un vendedor que sabe de fierros.
  IDEA    Los surcos de un lote sembrado: líneas paralelas que ordenan todo.
  PICTURE Fotos grandes de máquinas trabajando; surcos finos como detalle gráfico.
  COLOUR  Blanco, casi negro, gris tierra para fondos alternos, un verde de acento (--accent) y dorado trigo solo en "Oportunidad".
  TYPE    Archivo 700/800 en títulos (tipo oración) · Barlow 400/500/600 en texto y menú.
*/
:root {
  --accent: #1E6B3A;
  --accent-dark: #14502A;
  --accent-soft: #E7F0E9;
  --gold: #D9A21B;
  --ink: #111611;
  --ink-2: #3D453E;
  --muted: #69716A;
  --line: #E3E6E0;
  --bg: #FFFFFF;
  --bg-alt: #F4F5F1;
  --bg-dark: #0F1410;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(17, 22, 17, .06), 0 8px 24px rgba(17, 22, 17, .06);
  --shadow-lg: 0 2px 6px rgba(17, 22, 17, .08), 0 24px 48px rgba(17, 22, 17, .12);
  --max: 1240px;
  --header-h: 72px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --f-title: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
* { min-width: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--f-body); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--f-title); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(34px, 5.4vw, 64px); }
h2 { font-size: clamp(28px, 3.6vw, 44px); }
h3 { font-size: clamp(19px, 1.8vw, 22px); font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
.num, .price { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }

.wrap { width: min(var(--max), 100% - 2 * max(4vw, 18px)); margin-inline: auto; }
.band { padding-block: clamp(56px, 8vw, 112px); }
.band.tight { padding-block: clamp(40px, 5vw, 72px); }
.band.alt { background: var(--bg-alt); }
.band.dark { background: var(--bg-dark); color: #fff; }
.band.green { background: var(--accent); color: #fff; }

.tag { display: inline-flex; align-items: center; gap: 6px; font: 600 11.5px/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; padding: 6px 9px; border-radius: 6px; background: var(--accent-soft); color: var(--accent-dark); white-space: nowrap; }
.tag.gold { background: #FBF1D6; color: #7A5A06; }
.tag.dark { background: var(--ink); color: #fff; }
.tag.white { background: rgba(255,255,255,.92); color: var(--ink); }
.tag.line { background: transparent; border: 1px solid var(--line); color: var(--ink-2); }
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 600 12px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.kicker::before { content: ""; width: 26px; height: 9px; background: repeating-linear-gradient(0deg, currentColor 0 2px, transparent 2px 3.5px); border-radius: 1px; }
.band.dark .kicker, .band.green .kicker { color: #A7D7B4; }
.band.green .kicker { color: #fff; opacity: .85; }

.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(28px, 4vw, 44px); flex-wrap: wrap; }
.sec-head p { color: var(--muted); max-width: 58ch; margin-top: 12px; }
.band.dark .sec-head p { color: #B9C2BA; }
.lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-2); max-width: 62ch; }

/* Botones */
.btn { --b: var(--accent); display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 12px 22px; border-radius: 10px; border: 1.5px solid var(--b); background: var(--b); color: #fff; font: 600 16px/1.1 var(--f-body); white-space: nowrap; transition: background .2s var(--ease), border-color .2s var(--ease), transform .12s var(--ease), box-shadow .2s var(--ease); }
.btn:hover { --b: var(--accent-dark); box-shadow: 0 6px 18px rgba(20, 80, 42, .22); }
.btn:active { transform: scale(.97); }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink); box-shadow: none; }
.btn.white { --b: #fff; color: var(--ink); }
.btn.white:hover { --b: #EEF1EC; }
.btn.outline-white { background: transparent; border-color: rgba(255,255,255,.55); color: #fff; }
.btn.outline-white:hover { border-color: #fff; background: rgba(255,255,255,.08); box-shadow: none; }
.btn.wa { --b: #1FA855; }
.btn.wa:hover { --b: #178A45; }
.btn.dark { --b: var(--ink); }
.btn.dark:hover { --b: #000; }
.btn.sm { min-height: 40px; padding: 9px 15px; font-size: 15px; border-radius: 9px; }
.btn.block { width: 100%; }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--accent); }
.link svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link:hover svg { transform: translateX(3px); }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); transition: border-color .2s, background .2s, transform .12s; position: relative; }
.icon-btn:hover { border-color: var(--ink); }
.icon-btn:active { transform: scale(.95); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn .badge { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--accent); color: #fff; font: 600 12px/20px var(--f-body); text-align: center; }

/* Promo */
.promo { background: var(--ink); color: #fff; font-size: 14.5px; }
.promo .wrap { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 40px; padding-right: 36px; position: relative; text-align: center; }
.promo a { color: #A7D7B4; font-weight: 600; white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; }
.promo button { position: absolute; right: -8px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; background: none; color: #fff; opacity: .7; display: grid; place-items: center; }
.promo button:hover { opacity: 1; }
.promo svg { width: 18px; height: 18px; }

/* Header */
.header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.98); border-bottom: 1px solid transparent; transition: background .3s, border-color .3s, box-shadow .3s; }
.header.scrolled { background: rgba(255,255,255,.86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-color: var(--line); }
.header .wrap { display: flex; align-items: center; gap: 22px; height: var(--header-h); transition: height .3s var(--ease); }
.header.scrolled .wrap { height: 62px; }
.logo { display: inline-flex; align-items: center; flex: none; }
.logo svg, .logo img { height: 34px; width: auto; }
.nav { display: none; margin-inline: auto; }
.nav ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.nav a { display: block; padding: 9px 10px; border-radius: 8px; font-weight: 500; font-size: 15.5px; color: var(--ink-2); white-space: nowrap; transition: color .2s, background .2s; }
.nav a:hover { color: var(--ink); background: var(--bg-alt); }
.nav a[aria-current="page"] { color: var(--accent); }
.h-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.h-phone { display: none; align-items: center; gap: 8px; font-weight: 600; white-space: nowrap; }
.h-phone svg { width: 18px; height: 18px; color: var(--accent); }
.h-wa { display: none; }
.burger { display: inline-grid; }
@media (min-width: 760px) { .h-wa { display: inline-flex; } }
@media (min-width: 1320px) {
  .nav { display: block; }
  .burger { display: none; }
  .h-actions { margin-left: 0; }
}
@media (min-width: 1500px) { .h-phone { display: inline-flex; } }

/* Menú mobile */
.mnav { position: fixed; inset: 0; z-index: 90; background: #fff; display: flex; flex-direction: column; padding: 18px max(4vw, 18px) 28px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s; overflow-y: auto; }
.mnav.open { opacity: 1; transform: none; visibility: visible; transition: opacity .25s var(--ease), transform .25s var(--ease); }
.mnav-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.mnav ul { list-style: none; margin: 0; padding: 0; }
.mnav li a { display: flex; justify-content: space-between; align-items: center; padding: 15px 2px; border-bottom: 1px solid var(--line); font: 700 22px/1.2 var(--f-title); letter-spacing: -.01em; }
.mnav li a svg { width: 20px; height: 20px; color: var(--muted); }
.mnav-foot { margin-top: auto; padding-top: 24px; display: grid; gap: 10px; }

/* Hero */
.hero { position: relative; height: clamp(560px, 86vh, 820px); background: var(--bg-dark); overflow: hidden; color: #fff; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.slide.active { opacity: 1; z-index: 1; }
.slide img, .slide video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.slide video { display: block; background: var(--bg-dark); }
.slide.active img { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.12); } }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,14,11,.78) 0%, rgba(10,14,11,.45) 48%, rgba(10,14,11,.12) 100%), linear-gradient(0deg, rgba(10,14,11,.6), transparent 45%); }
.hero-content { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; padding-bottom: 90px; }
.hero-text { max-width: 680px; }
.hero-text .tag { margin-bottom: 20px; }
.hero-text h1 { margin-bottom: 18px; }
.hero-text p { font-size: clamp(17px, 1.6vw, 20px); color: rgba(255,255,255,.86); max-width: 52ch; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-slide-link { display: inline-flex; margin-top: 22px; color: #fff; font-weight: 600; gap: 8px; align-items: center; border-bottom: 1px solid rgba(255,255,255,.5); padding-bottom: 3px; }
.hero-slide-link svg { width: 18px; height: 18px; }
.hero-text > * { transition: opacity .4s var(--ease), transform .4s var(--ease); }
.hero-text.swap > * { opacity: 0; transform: translateY(10px); }
.dots { position: absolute; z-index: 3; left: 0; right: 0; bottom: 118px; }
.dots .wrap { display: flex; gap: 8px; }
.dots button { flex: 0 1 44px; min-width: 18px; height: 24px; border: 0; background: none; padding: 0; display: grid; align-items: center; }
.dots button span { display: block; height: 3px; border-radius: 2px; background: rgba(255,255,255,.35); overflow: hidden; }
.dots button span i { display: block; height: 100%; width: 0; background: #fff; }
.dots button.active span i { animation: dotfill 7s linear forwards; }
.hero.paused .dots button.active span i { animation-play-state: paused; }
@keyframes dotfill { to { width: 100%; } }
.hero-arrow { position: absolute; z-index: 4; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(255,255,255,.45); background: rgba(255,255,255,.08); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; display: grid; place-items: center; cursor: pointer; padding: 0; transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); }
.hero-arrow svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.hero-arrow.prev { left: 18px; }
.hero-arrow.next { right: 18px; }
.hero-arrow:hover { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.8); }
.hero-arrow.prev:hover svg { transform: translateX(-2px); }
.hero-arrow.next:hover svg { transform: translateX(2px); }
.hero-arrow:active { transform: translateY(-50%) scale(.94); }
.hero-arrow:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (min-width: 601px) and (max-width: 1500px) { .hero-content .wrap, .dots .wrap { padding-inline: 62px; } }
.hero-furrows { position: absolute; z-index: 2; right: 0; bottom: 0; width: 46%; height: 140px; opacity: .22; background: repeating-linear-gradient(100deg, #fff 0 1px, transparent 1px 16px); -webkit-mask: linear-gradient(90deg, transparent, #000 60%); mask: linear-gradient(90deg, transparent, #000 60%); pointer-events: none; }

/* Buscador */
.qsearch { position: relative; z-index: 5; margin-top: -84px; }
.qs-card { background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); padding: 18px; }
.qs-tabs { display: inline-flex; background: var(--bg-alt); border-radius: 10px; padding: 4px; margin-bottom: 14px; }
.qs-tabs button { border: 0; background: none; min-height: 40px; padding: 8px 18px; border-radius: 8px; font-weight: 600; color: var(--muted); transition: background .2s, color .2s; }
.qs-tabs button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.qs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.qs-grid .btn { grid-column: 1 / -1; }
@media (min-width: 900px) { .qs-grid { grid-template-columns: 1.1fr 1fr 1fr 1fr auto; } .qs-grid .btn { grid-column: auto; } }

/* Formularios */
.field { display: grid; gap: 6px; }
.field label, .lbl { font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.field .req { color: var(--accent); }
.input, select.input, textarea.input { width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 10px; border: 1px solid #D5DAD3; background: #fff; font-size: 16px; transition: border-color .2s, box-shadow .2s; }
select.input { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%2369716A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 8 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
textarea.input { min-height: 120px; resize: vertical; }
.input:hover { border-color: #AEB6AD; }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(30, 107, 58, .15); }
.field.err .input { border-color: #C0392B; }
.field .msg { font-size: 13.5px; color: #B03A2E; min-height: 0; }
.form-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); }
.success { display: grid; place-items: center; text-align: center; gap: 12px; padding: 36px 16px; }
.success .ok { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); animation: pop .5s var(--ease); }
.success .ok svg { width: 30px; height: 30px; }
.success p { color: var(--muted); max-width: 40ch; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
.files-prev { display: flex; gap: 8px; flex-wrap: wrap; }
.files-prev img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.drop { display: grid; place-items: center; gap: 4px; text-align: center; border: 1.5px dashed #C5CCC3; border-radius: 12px; padding: 20px; color: var(--muted); cursor: pointer; transition: border-color .2s, background .2s; }
.drop:hover { border-color: var(--accent); background: var(--accent-soft); }
.drop svg { width: 26px; height: 26px; color: var(--accent); }
.drop input { position: absolute; opacity: 0; pointer-events: none; width: 1px; }

/* Grillas */
.grid { display: grid; gap: clamp(14px, 2vw, 24px); }
.g2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.g3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.g4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.split { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .split.r { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }

/* Categorías */
.cats { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .cats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cat { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3.4; background: #22291f; color: #fff; isolation: isolate; }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); z-index: -1; }
.cat::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10,14,11,.82), rgba(10,14,11,.1) 62%); }
.cat:hover img { transform: scale(1.06); }
.cat-body { position: absolute; left: 16px; right: 16px; bottom: 14px; }
.cat h3 { font-size: clamp(17px, 1.7vw, 21px); }
.cat p { font-size: 14px; color: rgba(255,255,255,.8); display: flex; justify-content: space-between; gap: 8px; margin-top: 4px; }
.cat .cnt { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ¿Qué buscás? */
.paths { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .paths { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .paths { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.path { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 340px; padding: 22px; border-radius: var(--radius); overflow: hidden; color: #fff; isolation: isolate; background: #22291f; }
.path img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform .8s var(--ease); }
.path::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10,14,11,.85) 0%, rgba(10,14,11,.15) 70%); }
.path:hover img { transform: scale(1.05); }
.path h3 { font-size: 24px; margin-bottom: 6px; }
.path p { color: rgba(255,255,255,.82); font-size: 15.5px; margin-bottom: 14px; }
.path .link { color: #fff; }

/* Marcas */
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee-rows { display: grid; gap: 12px; }
.marquee-track.r2 { animation-duration: 52s; }
.marquee-track.r3 { animation-duration: 46s; }
@keyframes marquee { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.brand { flex: none; display: grid; place-items: center; min-width: 168px; height: 76px; padding: 0 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; font: 800 19px/1 var(--f-title); letter-spacing: -.02em; color: #4A524B; transition: color .2s, border-color .2s, transform .2s var(--ease); white-space: nowrap; }
.brand:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.brand img { max-height: 42px; max-width: 130px; width: auto; height: auto; object-fit: contain; transition: transform .25s var(--ease); }
.brand img.inv { filter: brightness(0); }
.brand:hover img { transform: scale(1.05); }
.brand.has-logo { min-width: 180px; }
.brand img[src*="massey"], .brand img[src*="mainero"] { max-height: 58px; }

/* Tarjeta de máquina */
.cards { display: grid; gap: clamp(14px, 2vw, 22px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .3s var(--ease), transform .3s var(--ease), border-color .3s; }
.card:hover { box-shadow: var(--shadow-lg); border-color: transparent; transform: translateY(-3px); }
.card-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-alt); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }
.card-media .hover-cta { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(10,14,11,.28); opacity: 0; transition: opacity .3s var(--ease); }
.card-media .hover-cta span { background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 9px; font-weight: 600; font-size: 15px; transform: translateY(6px); transition: transform .3s var(--ease); }
.card:hover .hover-cta { opacity: 1; }
.card:hover .hover-cta span { transform: none; }
.card-tags { position: absolute; left: 12px; top: 12px; display: flex; gap: 6px; flex-wrap: wrap; right: 60px; }
.card .fav { position: absolute; right: 10px; top: 10px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.95); display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0,0,0,.12); transition: transform .15s var(--ease); }
.card .fav:active { transform: scale(.9); }
.card .fav svg { width: 20px; height: 20px; }
.fav[aria-pressed="true"] svg { fill: #D23B3B; stroke: #D23B3B; }
.card-photos { position: absolute; right: 12px; bottom: 10px; display: inline-flex; gap: 5px; align-items: center; font-size: 13px; color: #fff; background: rgba(0,0,0,.5); padding: 4px 8px; border-radius: 6px; }
.card-photos svg { width: 14px; height: 14px; }
.card-body { display: flex; flex-direction: column; gap: 4px; padding: 16px 16px 14px; flex: 1; }
.card-brand { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.card h3 { font-size: 20px; }
.card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-ver { color: var(--ink-2); font-size: 15px; }
.card-specs { display: flex; flex-wrap: wrap; gap: 4px 12px; color: var(--muted); font-size: 14.5px; margin-top: 6px; }
.card-specs span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.card-specs svg { width: 15px; height: 15px; }
.card-foot { display: flex; justify-content: space-between; align-items: end; gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); margin-top: 14px; }
.price { font: 800 22px/1 var(--f-title); letter-spacing: -.02em; white-space: nowrap; }
.price-old { font-size: 13.5px; color: var(--muted); text-decoration: line-through; white-space: nowrap; }
.price-ars { font-size: 13px; color: var(--muted); white-space: nowrap; margin-top: 4px; }
.seller { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.seller svg { width: 15px; height: 15px; color: var(--accent); }
.card .cmp { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--muted); cursor: pointer; min-height: 32px; }
.card .cmp input { accent-color: var(--accent); width: 17px; height: 17px; margin: 0; }
.card-actions { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 0 16px 14px; }

/* Cómo funciona */
.steps { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); counter-reset: s; }
.step { position: relative; padding: 26px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step .ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 18px; }
.step .ico svg { width: 24px; height: 24px; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15.5px; }
.band.dark .step { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.band.dark .step p { color: #B9C2BA; }
.band.dark .step .ico { background: rgba(167,215,180,.12); color: #A7D7B4; }

/* Info blocks */
.feature { display: flex; gap: 16px; padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: border-color .2s, box-shadow .3s; }
.feature:hover { border-color: #CDD3CB; box-shadow: var(--shadow); }
.feature .ico { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.feature .ico svg { width: 23px; height: 23px; }
.feature h3 { font-size: 18.5px; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 15.5px; }

/* Media blocks */
.media { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 5 / 4; background: var(--bg-alt); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media .float { position: absolute; left: 18px; bottom: 18px; right: 18px; display: flex; gap: 12px; flex-wrap: wrap; }
.stat-chip { background: rgba(255,255,255,.95); border-radius: 12px; padding: 12px 16px; box-shadow: var(--shadow); }
.stat-chip b { display: block; font: 800 24px/1 var(--f-title); color: var(--accent); }
.stat-chip span { font-size: 13.5px; color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks svg { flex: none; width: 22px; height: 22px; color: var(--accent); margin-top: 2px; }
.band.dark .checks svg, .band.green .checks svg { color: #A7D7B4; }
.band.green .checks svg { color: #fff; }

/* Contadores */
.counters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 900px) { .counters { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.counter { background: #fff; padding: 26px 22px; }
.counter b { display: block; font: 800 clamp(32px, 4vw, 46px)/1 var(--f-title); letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.counter span { display: block; color: var(--muted); margin-top: 8px; font-size: 15px; }
/* Al pasar el cursor, el dato se agranda */
.counter { transition: background .3s var(--ease); cursor: default; }
.counter b, .counter span { transform-origin: left center; transition: transform .35s var(--ease), color .3s var(--ease); }
@media (hover: hover) {
  .counter:hover { background: #F4F8F5; }
  .counter:hover b { transform: scale(1.18); color: var(--accent); }
  .counter:hover span { transform: translateY(6px) scale(1.06); color: var(--ink-2); }
}

/* Videos */
.video { position: relative; display: block; width: 100%; border: 0; padding: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; background: #22291f; color: #fff; text-align: left; isolation: isolate; }
.video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform .7s var(--ease); }
.video::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10,14,11,.78), rgba(10,14,11,.05) 60%); }
.video:hover img { transform: scale(1.05); }
.video .play { position: absolute; left: 50%; top: 45%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(255,255,255,.95); color: var(--accent); display: grid; place-items: center; transition: transform .25s var(--ease); }
.video:hover .play { transform: scale(1.08); }
.video .play svg { width: 26px; height: 26px; margin-left: 3px; }
.video .vt { position: absolute; left: 16px; right: 16px; bottom: 14px; }
.video .vt b { display: block; font: 700 18px/1.2 var(--f-title); }
.video .vt span { font-size: 13.5px; opacity: .8; }

/* Equipo */
.team { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .team { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .team { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (max-width: 420px) { .member .mb { padding: 12px; } .member h3 { font-size: 16.5px; } .member p { font-size: 13.5px; } }
.member { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.member .ph { aspect-ratio: 1 / 1; overflow: hidden; background: var(--bg-alt); }
.member .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.member:hover .ph img { transform: scale(1.04); }
.member .mb { padding: 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.member h3 { font-size: 18.5px; }
.member p { color: var(--muted); font-size: 14.5px; }
.member .btn { margin-top: 12px; }
.member .mb .btn { margin-top: auto; }
.member .mb p + .btn { margin-top: 14px; }

/* Testimonios */
.carousel { position: relative; }
.track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; overscroll-behavior-x: contain; }
.track::-webkit-scrollbar { display: none; }
.track > * { scroll-snap-align: start; flex: 0 0 min(88%, 400px); }
.car-ctrl { display: flex; gap: 8px; }
.tmarquee .marquee-track { gap: 18px; align-items: stretch; animation-duration: 90s; padding-block: 4px; }
.tmarquee .quote { flex: none; width: 380px; margin: 0; }
.seals-title { text-align: center; font-size: clamp(26px, 3vw, 36px); margin-bottom: 24px; }
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.stars { display: flex; gap: 2px; color: var(--gold); }
.stars svg { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.stars .off { color: #DADFD8; }
.quote blockquote { margin: 0; font-size: 17px; color: var(--ink-2); }
.quote footer { margin-top: auto; display: flex; gap: 12px; align-items: center; }
.avatar { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font: 800 16px/1 var(--f-title); }
.quote footer b { display: block; }
.quote footer span { font-size: 14px; color: var(--muted); }

/* Sellos */
.seals { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.seal { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 600; color: var(--ink-2); font-size: 15px; }
.seal svg { width: 20px; height: 20px; color: var(--accent); }

/* Novedades */
.post { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .3s, transform .3s var(--ease); position: relative; }
.post:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.post .ph { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-alt); }
.post .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.post:hover .ph img { transform: scale(1.05); }
.post .pb { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post .meta { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: 14px; }
.post h3 a::after { content: ""; position: absolute; inset: 0; }
.post p { color: var(--muted); font-size: 15.5px; }
.article { max-width: 760px; margin-inline: auto; }
.article .cover { border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 9; margin: 28px 0 36px; background: var(--bg-alt); }
.article .cover img { width: 100%; height: 100%; object-fit: cover; }
.article p { font-size: 18.5px; color: var(--ink-2); margin-bottom: 20px; max-width: 68ch; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 2px; cursor: pointer; font: 700 18.5px/1.3 var(--f-title); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: transform .3s var(--ease), background .2s; }
.faq summary .pm svg { width: 16px; height: 16px; }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--accent); color: #fff; border-color: var(--accent); }
.faq .ans { padding: 0 2px 22px; color: var(--ink-2); max-width: 70ch; }

/* Sucursales */
.branches { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .branches { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }
.map { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); min-height: 380px; background: var(--bg-alt); position: relative; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.branch-list { display: grid; gap: 12px; align-content: start; }
.branch { border: 1px solid var(--line); background: #fff; border-radius: var(--radius); padding: 18px 18px; text-align: left; width: 100%; transition: border-color .2s, box-shadow .2s; }
.branch[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(30,107,58,.12); }
.branch h3 { font-size: 18.5px; margin-bottom: 8px; }
.branch .row { display: flex; gap: 8px; align-items: flex-start; color: var(--ink-2); font-size: 15px; margin-top: 4px; }
.branch .row svg { width: 17px; height: 17px; color: var(--accent); margin-top: 3px; flex: none; }
.branch .acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }

/* Newsletter */
.news { display: grid; gap: 22px; align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .news { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.news form { display: flex; gap: 10px; flex-wrap: wrap; }
.news .input { flex: 1 1 240px; border-color: transparent; }
.news p { color: rgba(255,255,255,.82); margin-top: 10px; }

/* Footer */
.footer { background: var(--bg-dark); color: #C9D0CA; font-size: 15.5px; position: relative; overflow: hidden; }
.footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: repeating-linear-gradient(90deg, var(--accent) 0 40px, transparent 40px 46px); opacity: .9; }
.f-top { display: grid; gap: 36px; grid-template-columns: minmax(0, 1fr); padding-block: 64px 40px; }
@media (min-width: 760px) { .f-top { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); } }
.footer h4 { color: #fff; font-size: 16px; font-weight: 700; letter-spacing: 0; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer a:hover { color: #fff; }
.f-brand p { margin: 16px 0 18px; max-width: 34ch; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.socials a { width: 42px; height: 42px; border-radius: 10px; border: 1px solid rgba(255,255,255,.14); display: grid; place-items: center; transition: background .2s, border-color .2s; }
.socials a:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.3); }
.socials svg { width: 19px; height: 19px; }
.f-legal { border-top: 1px solid rgba(255,255,255,.1); padding-block: 24px 30px; display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; font-size: 14px; }
.f-legal nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.arca { display: inline-grid; place-items: center; width: 64px; height: 64px; border: 1px dashed rgba(255,255,255,.3); border-radius: 8px; font-size: 11px; text-align: center; line-height: 1.2; color: #8F988F; }

/* WhatsApp flotante */
.wa-fab { position: fixed; right: 18px; bottom: 18px; z-index: 70; }
.wa-fab > button { width: 60px; height: 60px; border-radius: 50%; border: 0; background: #1FA855; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(31,168,85,.4); transition: transform .2s var(--ease); }
.wa-fab > button:hover { transform: scale(1.05); }
.wa-fab > button:active { transform: scale(.95); }
.wa-fab > button svg { width: 30px; height: 30px; }
.wa-card { position: absolute; right: 0; bottom: 74px; width: min(320px, calc(100vw - 36px)); background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); padding: 18px; transform-origin: bottom right; transform: scale(.92) translateY(8px); opacity: 0; visibility: hidden; transition: transform .22s var(--ease), opacity .22s var(--ease), visibility 0s .22s; }
.wa-fab.open .wa-card { transform: none; opacity: 1; visibility: visible; transition: transform .22s var(--ease), opacity .22s var(--ease); }
.wa-card h4 { font-size: 18px; margin-bottom: 4px; }
.wa-card > p { color: var(--muted); font-size: 14.5px; margin-bottom: 14px; }
.wa-opt { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; border: 1px solid var(--line); margin-top: 8px; transition: border-color .2s, background .2s; }
.wa-opt:hover { border-color: #1FA855; background: #F1FBF4; }
.wa-opt .ico { width: 40px; height: 40px; border-radius: 10px; background: #E7F7EC; color: #178A45; display: grid; place-items: center; flex: none; }
.wa-opt .ico svg { width: 20px; height: 20px; }
.wa-opt b { display: block; font-size: 15.5px; }
.wa-opt span { font-size: 13.5px; color: var(--muted); }

/* Comparar */
.cmp-bar { visibility: hidden; position: fixed; left: 50%; bottom: 18px; z-index: 65; transform: translate(-50%, 140%); background: var(--ink); color: #fff; border-radius: 14px; padding: 10px 10px 10px 18px; display: flex; gap: 14px; align-items: center; box-shadow: var(--shadow-lg); transition: transform .35s var(--ease); max-width: calc(100vw - 110px); }
.cmp-bar.show { transform: translate(-50%, 0); visibility: visible; }
.cmp-bar span { white-space: nowrap; font-weight: 500; }
.cmp-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.cmp-table th, .cmp-table td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.cmp-table th { width: 180px; color: var(--muted); font-weight: 600; font-size: 14.5px; }
.cmp-table td img { border-radius: 10px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.scroll { overflow-x: auto; }

/* Página interna */
.page-hero { position: relative; padding-block: clamp(48px, 7vw, 96px) clamp(36px, 5vw, 64px); background: var(--bg-alt); overflow: hidden; }
.page-hero.img { color: #fff; background: var(--bg-dark); min-height: 420px; display: flex; align-items: flex-end; }
.page-hero.img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.page-hero.img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,14,11,.85), rgba(10,14,11,.2)); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(32px, 4.6vw, 56px); margin-bottom: 14px; }
.page-hero p { max-width: 60ch; font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-2); }
.page-hero.img p { color: rgba(255,255,255,.85); }
.page-hero::before { content: ""; position: absolute; right: -40px; bottom: -40px; width: 380px; height: 220px; background: repeating-linear-gradient(100deg, rgba(30,107,58,.14) 0 1.5px, transparent 1.5px 14px); transform: skewY(-6deg); z-index: 0; }
.page-hero.img::before { display: none; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs svg { width: 14px; height: 14px; }
.page-hero.img .crumbs { color: rgba(255,255,255,.75); }

/* Catálogo */
.cat-layout { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 1024px) { .cat-layout { grid-template-columns: 290px minmax(0, 1fr); } }
.filters { display: none; }
@media (min-width: 1024px) { .filters { display: block; position: sticky; top: calc(var(--header-h) + 12px); max-height: calc(100vh - var(--header-h) - 24px); overflow-y: auto; padding-right: 6px; scrollbar-width: thin; } }
.filters.drawer { display: block; position: fixed; inset: 0 0 0 auto; width: min(400px, 100%); z-index: 95; background: #fff; padding: 0; max-height: none; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); animation: slidein .3s var(--ease); }
@keyframes slidein { from { transform: translateX(30px); opacity: 0; } }
.f-head { display: none; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.f-body { padding: 0; }
.filters.drawer .f-head { display: flex; }
.filters.drawer .f-body { overflow-y: auto; padding: 4px 18px 18px; flex: 1; }
.f-foot { display: none; padding: 14px 18px; border-top: 1px solid var(--line); gap: 10px; }
.filters.drawer .f-foot { display: flex; }
.scrim { position: fixed; inset: 0; background: rgba(10,14,11,.45); z-index: 94; animation: fade .25s; }
@keyframes fade { from { opacity: 0; } }
.fgroup { border-bottom: 1px solid var(--line); padding: 16px 0; }
.fgroup:first-child { padding-top: 0; }
.fgroup h4 { font: 700 15.5px/1.2 var(--f-title); letter-spacing: 0; margin-bottom: 12px; display: flex; justify-content: space-between; }
.fopt { display: flex; align-items: center; gap: 10px; padding: 5px 0; cursor: pointer; font-size: 15.5px; color: var(--ink-2); min-height: 34px; }
.fopt input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); flex: none; }
.fopt .c { margin-left: auto; font-size: 13.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.fopt.zero { opacity: .45; }
.fmore { border: 0; background: none; color: var(--accent); font-weight: 600; padding: 6px 0; font-size: 14.5px; }
.range { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.range .input { min-height: 42px; padding: 8px 10px; font-size: 15px; }
.seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--bg-alt); border-radius: 10px; padding: 4px; gap: 2px; }
.seg button { border: 0; background: none; min-height: 38px; border-radius: 8px; font-weight: 600; font-size: 14.5px; color: var(--muted); }
.seg button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.toolbar .count { font-size: 16px; color: var(--ink-2); }
.toolbar .count b { color: var(--ink); font-variant-numeric: tabular-nums; }
.toolbar .right { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.toolbar select { min-height: 44px; width: auto; }
.filter-btn { display: inline-flex; }
@media (min-width: 1024px) { .filter-btn { display: none; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 8px 6px 13px; font-size: 14px; font-weight: 500; }
.chip svg { width: 15px; height: 15px; }
.chip:hover { border-color: var(--ink); }
.searchbox { position: relative; }
.searchbox svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.searchbox .input { padding-left: 40px; }
.empty { text-align: center; padding: 60px 20px; border: 1px dashed var(--line); border-radius: 16px; display: grid; gap: 12px; justify-items: center; }
.empty svg { width: 40px; height: 40px; color: var(--muted); }
.empty p { color: var(--muted); max-width: 46ch; }
.more { display: flex; justify-content: center; margin-top: 30px; flex-direction: column; align-items: center; gap: 10px; color: var(--muted); font-size: 14.5px; }

/* Ficha */
.detail { display: grid; gap: clamp(24px, 4vw, 48px); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 1024px) { .detail { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); } }
.gallery { display: grid; gap: 10px; }
.g-main { position: relative; border-radius: 16px; overflow: hidden; background: var(--bg-alt); }
.g-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.g-track::-webkit-scrollbar { display: none; }
.g-track > button { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 4 / 3; border: 0; padding: 0; background: none; cursor: zoom-in; }
.g-track img { width: 100%; height: 100%; object-fit: cover; }
.g-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.95); display: grid; place-items: center; box-shadow: var(--shadow); }
.g-nav svg { width: 22px; height: 22px; }
.g-nav.prev { left: 12px; } .g-nav.next { right: 12px; }
.g-count { position: absolute; right: 12px; bottom: 12px; background: rgba(0,0,0,.6); color: #fff; padding: 5px 10px; border-radius: 8px; font-size: 14px; font-variant-numeric: tabular-nums; }
.g-tags { position: absolute; left: 12px; top: 12px; display: flex; gap: 6px; z-index: 2; flex-wrap: wrap; }
.g-thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 2px; }
.g-thumbs button { flex: 0 0 96px; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; border: 2px solid transparent; padding: 0; background: var(--bg-alt); opacity: .7; transition: opacity .2s, border-color .2s; }
.g-thumbs button[aria-current="true"] { border-color: var(--accent); opacity: 1; }
.g-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buybox { border: 1px solid var(--line); border-radius: 16px; padding: clamp(20px, 2.4vw, 28px); background: #fff; box-shadow: var(--shadow); }
@media (min-width: 1024px) { .buybox-wrap { position: sticky; top: calc(var(--header-h) + 16px); } }
.buybox h1 { font-size: clamp(28px, 3vw, 38px); margin: 10px 0 6px; }
.buybox .ver { color: var(--ink-2); font-size: 17px; }
.buybox .quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border-radius: 12px; overflow: hidden; margin: 18px 0; }
.buybox .quick div { background: var(--bg-alt); padding: 12px; text-align: center; }
.buybox .quick b { display: block; font: 800 18px/1.1 var(--f-title); font-variant-numeric: tabular-nums; white-space: nowrap; }
.buybox .quick span { font-size: 13px; color: var(--muted); }
.big-price { font: 800 clamp(32px, 3.2vw, 40px)/1 var(--f-title); letter-spacing: -.03em; white-space: nowrap; }
.price-note { color: var(--muted); font-size: 14.5px; margin-top: 6px; }
.grain { display: flex; gap: 10px; align-items: center; margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: #FBF5E4; color: #6B5007; font-size: 15px; }
.grain svg { width: 22px; height: 22px; flex: none; }
.buy-actions { display: grid; gap: 10px; margin-top: 20px; }
.buy-mini { display: flex; gap: 8px; margin-top: 12px; }
.buy-mini .btn { flex: 1; }
.seller-card { display: flex; gap: 14px; align-items: center; padding-top: 18px; margin-top: 18px; border-top: 1px solid var(--line); }
.seller-card img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; background: var(--bg-alt); }
.seller-card b { display: block; }
.seller-card span { display: block; font-size: 14px; color: var(--muted); }
.seller-card .ok { display: inline-flex; align-items: center; gap: 4px; color: var(--accent); font-weight: 600; }
.seller-card .ok svg { width: 15px; height: 15px; }
.d-section { padding-top: 36px; margin-top: 36px; border-top: 1px solid var(--line); }
.d-section h2 { font-size: clamp(24px, 2.4vw, 30px); margin-bottom: 20px; }
.specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); border-top: 1px solid var(--line); }
.specs div { display: flex; justify-content: space-between; gap: 12px; padding: 13px 2px; border-bottom: 1px solid var(--line); margin-right: 24px; }
.specs dt { color: var(--muted); font-size: 15.5px; }
.specs dd { margin: 0; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.equip { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.equip .feature { padding: 16px; }
.desc { font-size: 17.5px; color: var(--ink-2); max-width: 70ch; }

/* Simulador */
.sim { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: clamp(20px, 3vw, 30px); }
@media (min-width: 860px) { .sim { grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); } }
.sim-out { background: var(--accent); color: #fff; border-radius: 14px; padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.sim-out .big { font: 800 clamp(34px, 4vw, 48px)/1 var(--f-title); letter-spacing: -.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sim-out .rows { margin-top: 14px; display: grid; gap: 8px; font-size: 15px; }
.sim-out .rows div { display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid rgba(255,255,255,.2); padding-top: 8px; }
.sim-out .rows b { font-variant-numeric: tabular-nums; text-align: right; }
.sim-out small { opacity: .8; margin-top: auto; padding-top: 14px; font-size: 13px; line-height: 1.45; }
input[type="range"] { width: 100%; accent-color: var(--accent); height: 28px; }
.range-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.range-row output { font: 700 17px/1 var(--f-title); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills button { min-height: 40px; padding: 8px 14px; border-radius: 9px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: 15px; }
.pills button[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-dark); }

/* Diálogos */
dialog { border: 0; padding: 0; border-radius: 18px; width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 32px); box-shadow: var(--shadow-lg); color: var(--ink); }
dialog::backdrop { background: rgba(10,14,11,.6); }
dialog[open] { animation: dlg .28s var(--ease); }
@keyframes dlg { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.dlg-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; z-index: 1; }
.dlg-head h3 { font-size: 20px; }
.dlg-body { padding: 20px; }
dialog.media-dlg { width: min(1100px, calc(100vw - 24px)); background: #000; }
dialog.media-dlg .dlg-head { background: #000; border-color: #222; color: #fff; }
dialog.media-dlg .icon-btn { background: #111; border-color: #333; color: #fff; }
.vid-frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.vid-frame iframe, .vid-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vid-empty { position: absolute; inset: 0; display: grid; place-items: center; color: #aaa; text-align: center; padding: 20px; }
dialog.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; border-radius: 0; background: #0A0D0B; }
.lb { position: relative; height: 100%; display: flex; flex-direction: column; }
.lb-track { flex: 1; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.lb-track::-webkit-scrollbar { display: none; }
.lb-track > div { flex: 0 0 100%; scroll-snap-align: center; display: grid; place-items: center; padding: 60px 12px; }
.lb-track img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; border-radius: 6px; }
.lb .icon-btn { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.15); color: #fff; }
.lb-close { position: absolute; top: 14px; right: 14px; z-index: 2; }
.lb .g-nav { background: rgba(255,255,255,.12); color: #fff; }
.lb-count { position: absolute; top: 24px; left: 20px; color: #fff; font-variant-numeric: tabular-nums; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 96px; transform: translate(-50%, 20px); z-index: 120; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 10px; font-weight: 500; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease); max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Legales */
.legal { max-width: 820px; }
.legal h2 { font-size: 26px; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--ink-2); margin-bottom: 12px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }

/* Reveal */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.no-js .rv { opacity: 1; transform: none; }

@media (max-width: 600px) {
  body { font-size: 16.5px; }
  .hero { height: clamp(560px, 88svh, 720px); }
  .hero-content { align-items: flex-end; padding-bottom: 170px; }
  .dots { bottom: 128px; }
  .dots .wrap { padding-left: 104px; }
  .hero-arrow { top: auto; bottom: 120px; transform: none; width: 42px; height: 42px; }
  .hero-arrow:active { transform: scale(.94); }
  .hero-arrow svg { width: 20px; height: 20px; }
  .hero-arrow.prev { left: max(4vw, 18px); }
  .hero-arrow.next { right: auto; left: calc(max(4vw, 18px) + 50px); }
  .hero-cta .btn { flex: 1 1 100%; }
  .tmarquee .quote { width: 300px; padding: 20px; }
  .tmarquee .quote blockquote { font-size: 15.5px; }
  .brand { min-width: 132px; height: 64px; padding: 0 16px; font-size: 16px; }
  .brand.has-logo { min-width: 140px; }
  .brand img { max-height: 34px; max-width: 108px; }
  .brand img[src*="massey"], .brand img[src*="mainero"] { max-height: 48px; }
  .marquee-rows { gap: 10px; }
  /* Categorías: el texto y la cantidad uno debajo del otro */
  .cat p { flex-direction: column; gap: 2px; font-size: 13px; }
  .cat-body { left: 12px; right: 12px; bottom: 12px; }
  /* Máquinas destacadas de la home: carrusel horizontal deslizable en el celular */
  .cards.hscroll { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: calc(-1 * max(4vw, 18px)); padding: 4px max(4vw, 18px) 14px; scroll-padding-inline: max(4vw, 18px); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .cards.hscroll::-webkit-scrollbar { display: none; }
  .cards.hscroll > * { flex: 0 0 84%; scroll-snap-align: start; }
  .qsearch { margin-top: -96px; }
  .qs-card { padding: 14px; }
  .qs-tabs { display: flex; width: 100%; }
  .promo { font-size: 13.5px; }
  .promo .wrap { flex-wrap: wrap; gap: 2px 10px; padding-block: 8px; padding-right: 34px; }
  .qs-tabs button { flex: 1; padding-inline: 8px; }
  .path { min-height: 260px; }
  .buybox .quick b { font-size: 16px; }
  .wa-fab { right: 14px; bottom: 14px; }
  .cmp-bar { max-width: calc(100vw - 100px); left: 14px; transform: translate(0, 140%); }
  .cmp-bar.show { transform: none; }
  .cmp-bar span { white-space: normal; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
  .marquee-track { animation-duration: 40s !important; animation-iteration-count: infinite !important; }
  .marquee-track.r2 { animation-duration: 52s !important; }
  .marquee-track.r3 { animation-duration: 46s !important; }
  .tmarquee .marquee-track { animation-duration: 90s !important; }
  /* El carrusel de inicio mantiene el fundido y la barra de progreso */
  .slide { transition-duration: .6s !important; }
  .dots button.active span i { animation-duration: 7s !important; }
}
