/* =========================================================
   AGRIUNIÓN · Landing
   Estructura:
   1. Variables y base
   2. Utilidades y tipografía
   3. Botones
   4. Encabezado y barra de progreso
   5. Secciones (hero → pie)
   6. Tractor (animaciones de la ilustración)
   7. Efectos de scroll (CSS scroll-driven) + respaldo JS
   8. Responsive
   9. Movimiento reducido
   ========================================================= */

/* ---------- 1. Variables y base ---------- */
:root {
  --cream: #F7F2E8;
  --paper: #FFFFFF;
  --sand: #F4EFE4;
  --ink: #16241C;
  --ink-2: #0E1511;
  --green: #2F6B45;
  --green-deep: #1D4630;
  --orange: #C85A17;
  --orange-dark: #9A4210;
  --sun: #F2C14E;
  --muted: #3F4B43;
  --muted-2: #5A665E;
  --on-dark: #C9D6CD;
  --line: #E4DCCB;
  --line-2: #CFC5B1;

  --display: 'Bricolage Grotesque', Georgia, serif;
  --body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --container: 1280px;
  --gutter: clamp(20px, 5.5vw, 80px);
  --section: clamp(72px, 8.5vw, 112px);
  --radius: 28px;
  --header-h: 102px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--green-deep); }
a:hover { color: var(--orange); }
ol, ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dl, dd { margin: 0; }

:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 12px 18px; border-radius: 10px;
  background: var(--ink); color: var(--cream); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 16px; color: var(--cream); }

/* ---------- 2. Utilidades y tipografía ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.stack-14, .stack-18, .stack-22, .stack-48, .stack-56 { display: flex; flex-direction: column; }
.stack-14 { gap: 14px; }
.stack-18 { gap: 18px; }
.stack-22 { gap: 22px; }
.stack-48 { gap: clamp(32px, 4vw, 48px); }
.stack-56 { gap: clamp(36px, 4.5vw, 56px); }
.self-start { align-self: flex-start; }
.push-bottom { margin-top: auto; }

.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 600; line-height: 1.3;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--green);
}
.eyebrow::before { content: ""; flex: none; width: 28px; height: 2px; background: var(--orange); }
.eyebrow-light, .eyebrow-sun { color: var(--sun); }

h1 {
  font-family: var(--display);
  font-size: clamp(44px, 6.4vw, 92px);
  line-height: .98;
  font-weight: 800;
  letter-spacing: -.04em;
  color: #FFFFFF;
}
.hl { color: var(--sun); }

.h2 {
  font-family: var(--display);
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.h3 {
  font-family: var(--display);
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -.015em;
  text-wrap: balance;
}
.h3-sm { font-size: clamp(20px, 1.8vw, 24px); }

.lede {
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.6;
  color: var(--muted);
  text-wrap: pretty;
}
.body { font-size: 16px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }

/* Cabecera de sección: título a la izquierda, párrafo a la derecha */
.sec-head { display: flex; justify-content: space-between; align-items: flex-start; gap: clamp(32px, 6vw, 80px); }
.sec-title { display: flex; flex-direction: column; gap: 18px; max-width: 740px; }
.sec-head > .lede {
  flex: 0 0 360px; margin-top: 52px; padding-left: 24px;
  border-left: 2px solid var(--line-2);
}

/* ---------- 3. Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 15px 24px;
  border: 1.5px solid transparent; border-radius: 999px;
  font-family: inherit; font-size: 16px; font-weight: 600; line-height: 1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { min-height: 44px; padding: 13px 20px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.btn-orange { background: var(--orange); color: #FFFFFF; }
.btn-orange:hover { background: var(--orange-dark); color: #FFFFFF; }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: #000000; color: #FFFFFF; }
.btn-dark-sun { background: var(--ink); color: var(--sun); }
.btn-dark-sun:hover { background: #000000; color: var(--sun); }
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-sun:hover { background: #FFD46E; color: var(--ink); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--cream); }
.btn-ghost-light { border-color: rgba(255,255,255,.7); color: #FFFFFF; background: rgba(255,255,255,.06); }
.btn-ghost-light:hover { background: #FFFFFF; color: var(--ink); }

/* ---------- 4. Encabezado y barra de progreso ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color .3s ease, border-color .3s ease, backdrop-filter .3s ease;
}
.site-header.is-scrolled {
  background: rgba(247, 242, 232, .92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-row { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; text-decoration: none; transition: opacity .2s ease; }
.brand:hover { opacity: .85; }
.brand-logo-wrap { position: relative; display: block; height: 44px; width: 88px; }
.brand-logo {
  position: absolute; inset: 0; height: 100%; width: auto; display: block;
  transition: opacity .3s ease;
}
.brand-logo-tint {
  position: absolute; inset: 0; height: 100%; width: auto; display: block;
  opacity: 0; filter: url(#tint-green-deep);
  transition: opacity .3s ease;
}
.site-header.is-scrolled .brand-logo { opacity: 0; }
.site-header.is-scrolled .brand-logo-tint { opacity: 1; }

.nav-links { display: flex; gap: clamp(20px, 2.4vw, 36px); font-size: 15px; font-weight: 500; }
.nav-links a { text-decoration: none; color: #FFFFFF; transition: color .3s ease; }
.site-header.is-scrolled .nav-links a { color: var(--green-deep); }
.site-header.is-scrolled .nav-links a:hover { color: var(--orange); }
.nav-cta-mobile { display: none; }

.nav-cta { min-height: 44px; padding: 13px 20px; font-size: 15px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #7ED29A; animation: pulse 2.4s ease-in-out infinite; }

.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 12px;
  background: transparent; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.progress-strip { height: 26px; }
.progress-track { position: relative; height: 100%; }
.progress-track::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px;
  border-top: 2px dashed #D6CCB8;
}
.progress-fill {
  position: absolute; left: 0; right: 0; bottom: 4px; height: 2px;
  background: var(--orange); transform-origin: left center; transform: scaleX(0);
}
.progress-rider { position: absolute; left: 0; bottom: 5px; width: 48px; }

/* ---------- 5. Secciones ---------- */
.section { padding-block: var(--section); }
.section-white { background: var(--paper); }
.section-dark { background: var(--ink); color: var(--cream); }
.section-dark .lede, .section-dark .body { color: var(--on-dark); }
.section-tight-top { padding-top: 0; }

/* Hero */
.hero {
  position: relative;
  min-height: clamp(640px, 100svh, 980px);
  display: flex;
  overflow: clip;
  background: var(--ink);
  color: #FFFFFF;
}
.hero-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 60% 50%;
  transform-origin: 70% 60%;
  animation: kenburns 24s ease-in-out infinite alternate;
}
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(22,36,28,0) 60%, rgba(22,36,28,.85) 100%),
    linear-gradient(90deg, rgba(14,21,17,.88) 0%, rgba(14,21,17,.7) 38%, rgba(14,21,17,.25) 68%, rgba(14,21,17,.1) 100%);
}
.hero-inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; justify-content: space-between; gap: 48px;
  padding-top: calc(var(--header-h) + clamp(56px, 8vw, 120px)); padding-bottom: 48px;
}
.hero-copy { display: flex; flex-direction: column; gap: 28px; max-width: 1040px; }
.hero-copy .lede { max-width: 560px; color: #E6ECE7; }

.hero-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.hero-facts { display: flex; gap: 0; }
.hero-facts > div { display: flex; flex-direction: column; gap: 4px; padding-inline: 32px; border-left: 1px solid rgba(255,255,255,.25); }
.hero-facts > div:first-child { padding-left: 0; border-left: 0; }
.hero-facts dt { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #B9C7BE; }
.hero-facts dd { font-family: var(--display); font-size: 20px; font-weight: 700; }

.scroll-hint {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: #FFFFFF; text-decoration: none; animation: hint 1.8s ease-in-out infinite;
}
.scroll-hint:hover { color: var(--sun); }

/* Cinta */
.marquee { height: 68px; display: flex; align-items: center; overflow: hidden; background: var(--ink); color: var(--cream); }
.marquee-track {
  display: flex; gap: 44px; white-space: nowrap;
  font-family: var(--display); font-size: 22px; font-weight: 700;
  animation: marquee 30s linear infinite;
}
.marquee-track i, .band i { font-style: normal; color: var(--sun); }

/* Buscar por labor */
.tabs { display: flex; flex-wrap: wrap; gap: 12px; }
.tab {
  min-height: 48px; padding: 14px 22px; border-radius: 999px;
  border: 1.5px solid var(--line-2); background: transparent; color: var(--ink);
  font-family: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.tab:hover { border-color: var(--ink); }
.tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--cream); }

.labor-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.labor-card {
  background: var(--paper); border-radius: var(--radius);
  padding: clamp(28px, 3.4vw, 48px);
  display: flex; flex-direction: column; gap: 22px;
}
.labor-card .lede { font-size: 17px; }
.labor-kicker { font-family: var(--display); font-size: 16px; font-weight: 700; color: var(--orange); }
.labor-title {
  font-family: var(--display); font-size: clamp(28px, 2.6vw, 36px);
  line-height: 1.1; font-weight: 700; letter-spacing: -.02em; text-wrap: balance;
}
.labor-card.is-swapping > * { animation: fadeSwap .45s ease both; }

.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.checks li {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px; border-radius: 14px; background: var(--sand);
  font-size: 15px; font-weight: 500; line-height: 1.3;
}
.checks li::before {
  content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.2l2.6 2.6L13 6.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}

.labor-visual { position: relative; min-height: 480px; border-radius: var(--radius); background: var(--green-deep); overflow: hidden; }
.labor-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 62%;
  transition: opacity .35s ease;
}
.labor-visual.is-swapping .labor-photo { opacity: 0; }
.labor-visual-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,21,17,.55) 0%, rgba(14,21,17,.08) 38%, rgba(14,21,17,.15) 70%, rgba(14,21,17,.7) 100%);
}
.labor-visual-top {
  position: absolute; top: 40px; left: 44px; right: 44px; z-index: 1;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 24px;
}
.labor-num { font-family: var(--display); font-size: clamp(88px, 9vw, 120px); line-height: .85; font-weight: 800; letter-spacing: -.05em; color: var(--sun); text-shadow: 0 4px 24px rgba(0,0,0,.35); }
.labor-visual-top p { max-width: 240px; text-align: right; font-size: 14px; line-height: 1.55; color: #FFFFFF; }

.labor-expand {
  position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%;
  border: 0; padding: 0; cursor: zoom-in; background: transparent;
}
.labor-expand::after {
  content: ""; position: absolute; right: 24px; bottom: 24px; width: 44px; height: 44px;
  border-radius: 50%; background: rgba(22,36,28,.55);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23F7F2E8' d='M9 3H3v6h2V5h4V3zm12 0h-6v2h4v4h2V3zM5 15H3v6h6v-2H5v-4zm14 4h-4v2h6v-6h-2v4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 18px;
  opacity: 0; transform: scale(.85);
  transition: opacity .2s ease, transform .2s ease;
}
.labor-expand:hover::after, .labor-expand:focus-visible::after { opacity: 1; transform: scale(1); }

/* Visor de imágenes (lightbox) */
.lightbox { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(10,15,12,.9); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lightbox-inner {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: clamp(8px, 2vw, 28px);
  width: min(92vw, 1180px); max-height: 88vh;
  animation: lightboxIn .28s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes lightboxIn { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
.lightbox-figure { flex: 1; min-width: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.lightbox-figure img {
  max-width: 100%; max-height: 74vh; width: auto; height: auto;
  border-radius: 18px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6);
  object-fit: contain;
}
.lightbox-figure figcaption { color: var(--on-dark); font-size: 15px; text-align: center; max-width: 640px; }
.lightbox-close {
  position: absolute; top: -52px; right: 0; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.3);
  background: transparent; color: #FFFFFF; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background-color .2s ease, border-color .2s ease;
}
.lightbox-close:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.6); }
.lightbox-nav {
  flex: none; width: 52px; height: 52px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.3); background: rgba(255,255,255,.04); color: #FFFFFF;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.lightbox-nav:hover { background: var(--sun); border-color: var(--sun); color: var(--ink); transform: scale(1.06); }

@media (max-width: 700px) {
  .lightbox-inner { width: 94vw; flex-direction: column; gap: 16px; }
  .lightbox-nav { position: absolute; top: 50%; margin-top: -26px; }
  .lightbox-prev { left: -4px; }
  .lightbox-next { right: -4px; }
  .lightbox-close { top: -46px; }
}

/* Catálogo */
.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cards-3 > div, .grid-2 > div { display: flex; }
.model-card {
  flex: 1; display: flex; flex-direction: column;
  border-radius: var(--radius); background: var(--cream); overflow: hidden;
}

/* Tarjeta tipo póster: imagen completa + info sobre fondo oscuro */
.model-poster { background: var(--ink); color: var(--cream); }
.model-stage { position: relative; background: var(--ink); }
.model-photo {
  display: block; width: 100%; height: auto;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.model-card:hover .model-photo { transform: scale(1.03); }

.model-hp-badge {
  position: absolute; top: 18px; left: 18px; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--sun); color: var(--ink);
  font-family: var(--display); font-size: 20px; font-weight: 800; line-height: 1;
  box-shadow: 0 10px 24px -10px rgba(0,0,0,.5);
}
.model-hp-badge small { font-size: 9px; font-weight: 700; letter-spacing: .04em; }
.model-line-tag {
  position: absolute; top: 18px; right: 18px; z-index: 1;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(22,36,28,.7); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  color: var(--cream); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.18);
}
.model-badge {
  position: absolute; right: 14px; bottom: 14px; z-index: 1;
  width: 52px; padding: 6px 6px 3px;
  border-radius: 14px; background: rgba(247,242,232,.92);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  box-shadow: 0 10px 24px -10px rgba(0,0,0,.55);
  transition: transform .3s cubic-bezier(.2,.7,.2,1);
}
.model-card:hover .model-badge { transform: translateY(-3px) scale(1.06); }
.model-card .wheel, .model-card .smoke { animation-play-state: paused; }
.model-card:hover .wheel, .model-card:hover .smoke { animation-play-state: running; }

.model-info { display: flex; flex-direction: column; gap: 14px; padding: 28px 30px 32px; }
.model-kicker { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sun); }
.model-info .h3 { color: var(--cream); }
.model-info .body { color: var(--on-dark); }
.model-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.model-tags .pill {
  padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22);
  font-size: 13px; font-weight: 600; color: var(--on-dark);
}
.model-cta {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 4px;
  color: var(--sun); font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none;
}
.model-cta span { transition: transform .2s ease; }
.model-cta:hover { color: #FFD46E; }
.model-cta:hover span { transform: translate(3px, -3px); }

.lift { transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease; }
.lift:hover { transform: translateY(-6px); box-shadow: 0 28px 56px -28px rgba(22,36,28,.35); }

/* Repuestos y cosechadoras */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.promo {
  flex: 1; display: flex; flex-direction: column;
  border-radius: var(--radius); overflow: hidden; background: var(--paper);
}
.promo-info { display: flex; flex-direction: column; gap: 14px; padding: clamp(26px, 3vw, 36px); }
.promo-kicker { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); }
.promo-title {
  max-width: 460px; font-family: var(--display); font-size: clamp(26px, 2.4vw, 32px);
  line-height: 1.1; font-weight: 800; letter-spacing: -.02em; color: var(--ink); text-wrap: balance;
}
.promo-info p { max-width: 460px; font-size: 16px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.promo .btn { align-self: flex-start; }

/* Escenario de imagen: foto grande sobre fondo desenfocado, con miniaturas */
.promo-stage {
  position: relative; overflow: hidden; aspect-ratio: 16 / 13; background: var(--ink);
}
.promo-stage-bg {
  position: absolute; inset: -20px; z-index: 0;
  background-size: cover; background-position: center;
  filter: blur(22px) brightness(.55) saturate(1.1);
  transform: scale(1.15);
  transition: background-image .4s ease;
}
.promo-num {
  position: absolute; top: 18px; left: 18px; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; background: var(--sun); color: var(--ink);
  font-family: var(--display); font-size: 15px; font-weight: 800;
  box-shadow: 0 8px 18px -8px rgba(0,0,0,.5);
}
.promo-cat {
  position: absolute; top: 18px; right: 18px; z-index: 2;
  padding: 8px 14px; border-radius: 999px; background: rgba(22,36,28,.55);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.2);
  color: #FFFFFF; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.promo-main {
  position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%;
  padding: 44px 12px 58px; border: 0; background: transparent; cursor: zoom-in;
  opacity: 0; pointer-events: none; transition: opacity .5s ease;
}
.promo-main.is-active { opacity: 1; pointer-events: auto; }
.promo-main img {
  display: block; width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,.5));
}
.promo-thumbs {
  position: absolute; left: 18px; bottom: 16px; z-index: 3;
  display: flex; align-items: center; gap: 8px;
}
.promo-thumb {
  width: 44px; height: 44px; padding: 0; border-radius: 10px; overflow: hidden; cursor: pointer;
  border: 2px solid rgba(255,255,255,.35); background: rgba(0,0,0,.2);
  transition: border-color .2s ease, transform .2s ease;
}
.promo-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.promo-thumb:hover { transform: translateY(-2px); }
.promo-thumb.is-active { border-color: var(--sun); }

/* Cómo asesoramos */
.track { position: relative; height: 84px; }
.track-line { position: absolute; left: 0; right: 0; top: 70px; border-top: 3px dashed #3E5446; }
.track-dot { position: absolute; top: 64px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--sun); }
.track-dot:first-of-type { margin-left: 0; }
.track-dot:last-of-type { margin-left: -16px; }
.track-tractor { position: absolute; left: 0; top: 0; width: 112px; animation: pathrun 9s linear infinite; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.steps li { display: flex; flex-direction: column; gap: 14px; }
.step-num { font-family: var(--display); font-size: 18px; font-weight: 700; color: var(--sun); }

/* Postventa */
.split-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(48px, 7vw, 96px); }
.numbered li { display: flex; gap: 28px; padding: 30px 0; border-top: 1px solid var(--line); }
.numbered li:last-child { border-bottom: 1px solid var(--line); }
.numbered li > div { display: flex; flex-direction: column; gap: 8px; }
.big-num { flex: none; width: 64px; font-family: var(--display); font-size: 40px; line-height: 1; font-weight: 800; color: var(--orange); }

/* Sedes */
.sedes-layout { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; gap: 24px; }
.sedes-layout > .rv { position: relative; z-index: 1; display: flex; }
.sedes-route { position: absolute; inset: -10% -4%; z-index: 0; width: 108%; height: 120%; opacity: .55; pointer-events: none; }
.sedes-route-line { animation: sedesRouteDash 5s linear infinite; }
@keyframes sedesRouteDash { to { stroke-dashoffset: -58; } }
.place {
  flex: 1; display: flex; overflow: hidden; border-radius: var(--radius); background: var(--paper);
  border: 1px solid var(--line);
}
.place-body { flex: 1; display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 2.6vw, 36px); min-width: 0; }
.place .body { font-size: 16px; }
.place-top { display: flex; justify-content: space-between; align-items: center; }
.place-region { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); }
.place-name { font-family: var(--display); font-size: clamp(30px, 3vw, 38px); line-height: 1; font-weight: 800; letter-spacing: -.025em; color: var(--ink); }

.place-contact { display: flex; flex-direction: column; gap: 8px; }
.place-contact .is-pending {
  display: flex; align-items: center; gap: 9px;
  font-size: 14px; font-style: italic; color: var(--muted-2); opacity: .8;
}
.place-contact .is-pending svg { flex: none; color: var(--orange); opacity: .8; }

.place .btn { margin-top: 4px; }
.place .btn span { display: inline-block; transition: transform .2s ease; }
.place .btn:hover span { transform: translateX(3px); }
.beacon { position: relative; width: 16px; height: 16px; }
.beacon::before, .beacon::after { content: ""; position: absolute; border-radius: 50%; }
.beacon::before { inset: 0; background: #F4B892; animation: pulse 2.4s ease-in-out infinite; }
.beacon::after { inset: 4px; background: var(--orange); }

/* Foto de la sede */
.place-photo {
  position: relative; overflow: hidden; flex: 0 0 clamp(160px, 22vw, 260px);
  background: var(--ink);
}
.place-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 32%;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.place.lift:hover .place-photo img { transform: scale(1.05); }
.place-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,21,17,.05) 0%, rgba(14,21,17,.15) 55%, rgba(14,21,17,.55) 100%);
}
.place-photo-pin {
  position: absolute; z-index: 1; top: 18px; right: 18px; color: #FFFFFF;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.45));
}

@media (max-width: 900px) {
  .sedes-layout { grid-template-columns: 1fr; gap: 24px; }
  .sedes-route { display: none; }
  .place { flex-direction: column; }
  .place-photo { flex-basis: 180px; }
}

/* Franja de texto gigante */
.band {
  height: clamp(200px, 22vw, 320px); overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
  border-block: 1px solid var(--line);
}
.band-row { overflow: hidden; }
.band-line {
  display: flex; width: max-content;
  white-space: nowrap; font-family: var(--display);
  font-size: clamp(64px, 10.4vw, 150px); line-height: 1; font-weight: 800; letter-spacing: -.045em;
  color: var(--ink);
  animation: bandLeft 70s linear infinite;
}
.band-line.band-right { animation-name: bandRight; }
.band-line i { color: var(--orange); }
.band-outline {
  font-family: var(--body);
  font-size: clamp(48px, 8vw, 118px);
  color: transparent; -webkit-text-stroke: 1.5px var(--green); paint-order: stroke;
  letter-spacing: .01em; font-weight: 700; text-transform: uppercase;
}

@keyframes bandLeft { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes bandRight { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* Preguntas frecuentes */
.faq-grid { display: grid; grid-template-columns: 440px minmax(0, 1fr); gap: clamp(48px, 7vw, 96px); }
.faq { border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; gap: 20px;
  padding: 26px 0; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq-num { flex: none; width: 24px; font-family: var(--display); font-size: 15px; font-weight: 700; color: var(--orange); }
.faq-q { flex: 1; font-family: var(--display); font-size: clamp(18px, 1.6vw, 22px); line-height: 1.3; font-weight: 700; letter-spacing: -.01em; }
.faq-icon {
  position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid var(--line-2); transition: background-color .2s ease, border-color .2s ease;
}
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px;
  margin: -1px 0 0 -6px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, background-color .2s ease;
}
.faq-icon::after { transform: rotate(90deg); }
.faq details[open] .faq-icon { background: var(--ink); border-color: var(--ink); }
.faq details[open] .faq-icon::before, .faq details[open] .faq-icon::after { background: var(--cream); }
.faq details[open] .faq-icon::after { transform: rotate(0deg); }
.faq summary:hover .faq-icon { border-color: var(--ink); }
.faq details p { padding: 0 64px 28px 44px; font-size: 17px; line-height: 1.6; color: var(--muted); animation: fadeSwap .4s ease both; }

/* Llamado final */
.cta { position: relative; min-height: 580px; background: var(--orange); color: #FFFFFF; overflow: hidden; }
.cta-inner {
  position: relative; z-index: 1;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 64px;
  padding-top: clamp(72px, 7vw, 104px);
}
.cta-title {
  max-width: 800px; font-family: var(--display); font-size: clamp(40px, 5.3vw, 76px);
  line-height: .98; font-weight: 800; letter-spacing: -.04em; text-wrap: balance;
}
.cta-side { flex: 0 0 340px; display: flex; flex-direction: column; gap: 22px; padding-top: 10px; }
.cta-side p { font-size: 18px; line-height: 1.6; text-wrap: pretty; }
.cta-ground { position: absolute; left: 0; right: 0; bottom: 0; height: 110px; background: #A94C14; }
.cta-furrow {
  position: absolute; left: 0; bottom: 0; height: 110px; width: 0;
  background: repeating-linear-gradient(180deg, #8E3F10 0 6px, #B2501A 6px 14px);
  animation: furrow 16s linear infinite;
}
.cta-drive { position: absolute; left: 0; bottom: 76px; width: 240px; animation: drive 16s linear infinite; }

/* Pie */
.site-footer {
  position: relative; background: var(--ink); color: var(--on-dark);
  padding-top: 56px; padding-bottom: 40px; overflow: hidden;
}
.site-footer .container { position: relative; z-index: 1; }
.site-footer p { font-size: 15px; line-height: 1.6; }

/* Franja "hablemos por WhatsApp" */
.footer-cta {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: clamp(20px, 3vw, 40px);
  padding: clamp(24px, 3vw, 36px); margin-bottom: 64px; border-radius: var(--radius);
  background: var(--green-deep);
}
.footer-cta-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.footer-cta-shade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--green-deep) 0%, rgba(29,70,48,.85) 55%, rgba(29,70,48,.35) 100%);
}
.footer-cta-body { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.footer-cta-kicker {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sun);
}
.footer-cta-title {
  max-width: 520px; font-family: var(--display); font-size: clamp(20px, 2.2vw, 27px);
  line-height: 1.2; font-weight: 800; letter-spacing: -.015em; color: var(--cream); text-wrap: balance;
}
.footer-cta-btn { position: relative; z-index: 1; flex: none; }

.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; }
.footer-brand-link { display: inline-flex; }
.footer-logo { height: 46px; width: auto; display: block; }
.footer-features { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; font-size: 14px; color: var(--on-dark); }
.footer-features li { display: flex; align-items: center; gap: 10px; }
.footer-features svg { flex: none; color: var(--sun); }

.footer-col { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.footer-col a { display: flex; align-items: center; gap: 8px; color: var(--on-dark); text-decoration: none; }
.footer-col a:hover { color: #FFFFFF; }
.footer-col a span { font-size: 13px; opacity: 0; transform: translateX(-3px); transition: opacity .2s ease, transform .2s ease; }
.footer-col a:hover span { opacity: 1; transform: none; }
.footer-col a svg { flex: none; color: var(--sun); }
.footer-place { display: flex; align-items: center; gap: 8px; }
.footer-place svg { flex: none; color: var(--orange); }
.footer-h { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sun); }
.footer-col .footer-strong { color: var(--cream); font-weight: 600; margin-top: 4px; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid #2E4036; font-size: 14px;
}
.footer-bottom a { color: var(--on-dark); }

/* Botón flotante WhatsApp */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  display: flex; width: 58px; height: 58px; border-radius: 50%;
  align-items: center; justify-content: center;
  background: #1FA855; color: #FFFFFF; box-shadow: 0 12px 28px -10px rgba(0,0,0,.5);
  animation: waPulse 2.6s ease-in-out infinite;
}
.wa-float:hover { color: #FFFFFF; background: #178A45; transform: scale(1.06); }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 12px 28px -10px rgba(0,0,0,.5), 0 0 0 0 rgba(31,168,85,.5); }
  50% { box-shadow: 0 12px 28px -10px rgba(0,0,0,.5), 0 0 0 10px rgba(31,168,85,0); }
}

/* ---------- 6. Tractor ---------- */
.tractor-svg { width: 100%; height: auto; overflow: visible; }
.wheel { transform-box: fill-box; transform-origin: center; animation: spin 1.6s linear infinite; }
.wheel.front { animation-duration: .9s; }
.bob { animation: bob .28s ease-in-out infinite alternate; }
.smoke { transform-box: fill-box; transform-origin: center; opacity: 0; animation: smoke 1.8s ease-out infinite; }
.smoke.d2 { animation-delay: .6s; } .smoke.d3 { animation-delay: 1.2s; }
.dust { transform-box: fill-box; transform-origin: center; opacity: 0; animation: dust 1.2s ease-out infinite; }
.dust.d2 { animation-delay: .4s; } .dust.d3 { animation-delay: .8s; }

/* Animaciones por tiempo (siempre activas) */
.rise { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.rise.r2 { animation-delay: .12s; } .rise.r3 { animation-delay: .24s; } .rise.r4 { animation-delay: .36s; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { from { transform: translateY(0); } to { transform: translateY(-.8px); } }
@keyframes smoke { 0% { opacity: .4; transform: translate(0,0) scale(.6); } 100% { opacity: 0; transform: translate(-26px,-30px) scale(2.4); } }
@keyframes dust { 0% { opacity: .45; transform: translate(0,0) scale(.5); } 100% { opacity: 0; transform: translate(-46px,-8px) scale(2); } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.35); opacity: .5; } }
@keyframes hint { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes fadeSwap { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.1); } }
@keyframes drive { from { transform: translateX(-280px); } to { transform: translateX(calc(100vw + 40px)); } }
@keyframes furrow { 0% { width: 0; opacity: 1; } 14% { width: 0; } 94% { width: 100%; opacity: 1; } 100% { width: 100%; opacity: 0; } }
@keyframes pathrun { 0% { left: 0; opacity: 0; } 6% { opacity: 1; } 92% { opacity: 1; } 100% { left: calc(100% - 112px); opacity: 0; } }

/* ---------- 7. Efectos de scroll ---------- */
/* Navegadores con soporte nativo (Chrome, Edge, Safari 26+): 100 % CSS */
@keyframes reveal { from { opacity: 0; transform: translateY(56px); } to { opacity: 1; transform: none; } }
@keyframes heroOut { to { opacity: 0; transform: translateY(-140px); } }
@keyframes photoScroll { from { transform: scale(1.02) translateY(0); } to { transform: scale(1.16) translateY(60px); } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes ride { from { left: 0; } to { left: calc(100% - 48px); } }
@keyframes pathScroll { from { left: 0; } to { left: calc(100% - 112px); } }
@keyframes driveS { from { transform: translateX(-240px); } to { transform: translateX(100vw); } }
@keyframes furrowS { 0% { width: 0; } 12% { width: 0; } 100% { width: 100%; } }
@keyframes slideL { from { transform: translateX(0); } to { transform: translateX(-640px); } }
@keyframes slideR { from { transform: translateX(-640px); } to { transform: translateX(0); } }
@keyframes zoomIn { from { transform: scale(.9); opacity: .4; } to { transform: scale(1); opacity: 1; } }
@keyframes driveIn {
  from { opacity: 0; transform: translate(var(--drive-x, 0), var(--drive-y, 54px)) rotate(var(--drive-r, 0deg)) scale(.92); }
  to { opacity: 1; transform: none; }
}

/* Entrada de las tarjetas del catálogo: cada una "llega" desde un lado distinto */
.cards-3 > div:nth-child(1) { --drive-x: -64px; --drive-y: 34px; --drive-r: -3.5deg; }
.cards-3 > div:nth-child(2) { --drive-x: 0px; --drive-y: 64px; --drive-r: 0deg; }
.cards-3 > div:nth-child(3) { --drive-x: 64px; --drive-y: 34px; --drive-r: 3.5deg; }

.process { view-timeline-name: --proc; }
.cta { view-timeline-name: --cta; }

@supports (animation-timeline: view()) {
  .cards-3 .rv { animation-name: driveIn; }

  .progress-fill { animation: grow linear both; animation-timeline: scroll(root); }
  .progress-rider { animation: ride linear both; animation-timeline: scroll(root); }

  .hero-copy { animation: heroOut linear both; animation-timeline: scroll(root); animation-range: 0 70vh; }
  .hero-photo { animation: photoScroll linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }

  .rv { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% cover 28%; }
  .rv.d2 { animation-range: entry 10% cover 34%; }
  .rv.d3 { animation-range: entry 20% cover 40%; }
  .zoom { animation: zoomIn linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }

  .track-tractor { animation: pathScroll linear both; animation-timeline: --proc; animation-range: cover 25% cover 70%; }
  .cta-drive { animation: driveS linear both; animation-timeline: --cta; animation-range: cover 10% cover 90%; }
  .cta-furrow { animation: furrowS linear both; animation-timeline: --cta; animation-range: cover 10% cover 90%; }

  .slide-l { animation: slideL linear both; animation-timeline: view(); animation-range: cover; }
  .slide-r { animation: slideR linear both; animation-timeline: view(); animation-range: cover; }
}

/* Respaldo para navegadores sin soporte (p. ej. Firefox): JS agrega .no-sdt
   y activa las apariciones con IntersectionObserver. Sin JS, todo queda visible. */
.no-sdt .rv, .no-sdt .zoom {
  opacity: 0; transform: translateY(40px);
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
}
.no-sdt .rv.d2 { transition-delay: .1s; }
.no-sdt .rv.d3 { transition-delay: .2s; }
.no-sdt .rv.is-visible, .no-sdt .zoom.is-visible { opacity: 1; transform: none; }

.no-sdt .cards-3 .rv {
  transform: translate(var(--drive-x, 0), var(--drive-y, 54px)) rotate(var(--drive-r, 0deg)) scale(.92);
  transition-timing-function: cubic-bezier(.34, 1.56, .64, 1);
}
.no-sdt .cards-3 .rv.is-visible { transform: none; }

/* ---------- 8. Responsive ---------- */
@media (max-width: 1100px) {
  .sec-head > .lede { flex-basis: 320px; }
  .cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  :root { --header-h: 90px; }
  .nav-row { height: 64px; }
  .brand-logo-wrap { height: 32px; width: 64px; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; padding: 8px var(--gutter) 24px;
    background: var(--cream); border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(22,36,28,.35);
    font-size: 17px;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  .nav-links.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s ease, transform .2s ease; }
  .nav-links a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--green-deep); }
  .nav-links a:not(.btn):hover { color: var(--orange); }
  .nav-toggle span { background: #FFFFFF; }
  .site-header.is-scrolled .nav-toggle span { background: var(--ink); }
  .nav-cta-mobile { display: inline-flex; margin-top: 18px; }

  .sec-head { flex-direction: column; align-items: flex-start; }
  .sec-head > .lede { flex-basis: auto; max-width: 560px; margin-top: 8px; padding-left: 20px; }

  .labor-grid, .grid-2, .split-2 { grid-template-columns: 1fr; }
  .labor-visual { min-height: 380px; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .track { display: none; }
  .cta-inner { flex-direction: column; gap: 28px; }
  .cta-side { flex-basis: auto; max-width: 480px; }
  .cta { min-height: 560px; }

  .hero-foot { flex-direction: column; align-items: flex-start; }
  .scroll-hint { display: none; }
}

@media (max-width: 640px) {
  .cards-3 { grid-template-columns: 1fr; }
  .checks { grid-template-columns: 1fr; }
  .hero-facts { flex-direction: column; gap: 14px; }
  .hero-facts > div { padding: 0; border-left: 0; }
  .hero-shade {
    background:
      linear-gradient(180deg, rgba(14,21,17,.55) 0%, rgba(14,21,17,.75) 55%, rgba(22,36,28,.92) 100%);
  }
  .labor-visual-top { left: 24px; right: 24px; top: 28px; }
  .labor-visual-top p { display: none; }
  .faq details p { padding: 0 0 24px 44px; }
  .numbered li { gap: 18px; }
  .big-num { width: 48px; font-size: 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-cta { flex-direction: column; align-items: flex-start; }
  .footer-cta-btn { align-self: stretch; justify-content: center; }
  .btn-row .btn { flex: 1 1 auto; }
}

/* ---------- 9. Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .no-sdt .rv, .no-sdt .zoom { opacity: 1; transform: none; }
  .progress-fill { transform: scaleX(1); }
  .cta-furrow { width: 100%; }
  .cta-drive { left: 60%; }
}
