/* ============ PACKPRO · plano técnico ============ */
:root {
  --ink: #14161a;
  --graphite: #1b1e22;
  --graphite-2: #262a2f;
  --paper: #f4f4f1;
  --white: #fff;
  --line: #dededa;
  --line-dark: rgba(255, 255, 255, .12);
  --mute: #6a6e73;
  --mute-dark: #9a9fa5;
  --red: #c40000;
  --red-hot: #e01212;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --ease: cubic-bezier(.22, .8, .24, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --wrap: 1240px;
  --pad: clamp(20px, 4vw, 48px);
  --header: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, address { margin: 0; font-style: normal; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--pad) * 2); margin-inline: auto; padding-inline: var(--pad); }
.mono { font-family: var(--mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.muted { color: var(--mute); }

/* ---------- progreso ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 100; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--red); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  height: var(--header);
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: transform .5s var(--ease), border-color .3s, height .3s var(--ease), box-shadow .3s;
}
.site-header.is-scrolled { border-color: var(--line); height: 64px; }
.site-header.is-hidden { transform: translateY(-100%); }
.header-in { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.brand img { height: 50px; width: auto; transition: height .3s var(--ease); }
.is-scrolled .brand img { height: 42px; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 36px); }
.nav a[data-link] {
  position: relative; font-size: .86rem; font-weight: 600; letter-spacing: .01em; padding: 6px 0;
}
.nav a[data-link]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s var(--ease);
}
.nav a[data-link]:hover::after, .nav a[data-link].is-current::after { transform: scaleX(1); }
.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

/* ---------- botones ---------- */
.btn {
  --bg: var(--ink); --fg: #fff; --bd: var(--ink);
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px; font-weight: 700; font-size: .9rem; letter-spacing: .01em; line-height: 1;
  color: var(--fg); background: var(--bg); border: 1px solid var(--bd);
  border-radius: 6px; overflow: hidden; isolation: isolate;
  transition: color .4s var(--ease), border-color .4s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--red);
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: #fff; border-color: var(--red); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: square; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--sm { padding: 12px 20px; font-size: .84rem; }
.btn--dark { --bg: var(--ink); --fg: #fff; }
.btn--light { --bg: #fff; --fg: var(--ink); --bd: #fff; }
.btn--ghost { --bg: transparent; --fg: #fff; --bd: rgba(255, 255, 255, .4); }
.btn--ghost:hover { border-color: var(--red); }
.btn--red { --bg: var(--red); --fg: #fff; --bd: var(--red); }
.btn--red::before { background: #fff; }
.btn--red:hover { color: var(--ink); border-color: #fff; }

/* ---------- tipografía de sección ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: .74rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink);
}
.eyebrow i { width: 28px; height: 1px; background: var(--red); display: block; }
.eyebrow b { font-weight: 500; color: var(--red); margin-right: -2px; }
.eyebrow--light { color: #d8dadd; }
.h2 {
  font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1.04; letter-spacing: -.028em; font-weight: 800;
  font-stretch: 100%; margin-top: 22px;
}
.h2--light { color: #fff; }
.h2--light .muted { color: #7e838a; }
.lead { font-size: clamp(1rem, 1.25vw, 1.14rem); color: var(--mute); max-width: 52ch; }
.lead--light { color: #b4b8bd; }
.h2 + .lead { margin-top: 28px; }
.body { color: var(--mute); max-width: 52ch; margin-top: 14px; }
.small { font-size: .88rem; color: var(--mute-dark); margin-top: 22px; max-width: 52ch; }
.note { color: var(--mute); margin-top: 28px; font-size: .68rem; }

.section { padding-block: clamp(80px, 11vw, 150px); position: relative; }
.section--paper { background: var(--paper); }
.section-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 6vw, 90px); align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- HERO ---------- */
.hero {
  position: relative; background: var(--ink); color: #fff; overflow: hidden;
  min-height: 100svh; padding-top: var(--header);
  display: flex; flex-direction: column;
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 72px 72px; background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(ellipse 80% 75% at 62% 45%, #000 20%, transparent 78%);
          mask-image: radial-gradient(ellipse 80% 75% at 62% 45%, #000 20%, transparent 78%);
}
.hero-glow {
  position: absolute; width: 780px; height: 780px; left: 0; top: 0; pointer-events: none;
  background: radial-gradient(circle, rgba(196, 0, 0, .20), transparent 62%);
  transform: translate(calc(var(--mx, 70vw) - 50%), calc(var(--my, 40vh) - 50%));
  transition: transform .9s var(--ease);
  opacity: .9;
}
.hero-in {
  position: relative; flex: 1; display: grid; grid-template-columns: 1.3fr .7fr; align-items: center;
  gap: clamp(20px, 3vw, 48px); padding-block: clamp(24px, 4vh, 56px); min-height: 0;
}
.hero-title {
  font-size: clamp(2.2rem, 4.2vw, 3.9rem); line-height: 1; font-weight: 800; letter-spacing: -.03em;
  text-transform: uppercase; margin-top: 28px;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero-title .line > span { display: block; transform: translateY(110%); animation: rise 1.15s var(--ease) forwards; }
.hero-title .line:nth-child(1) > span { animation-delay: .1s; }
.hero-title .line:nth-child(2) > span { animation-delay: .22s; }
.hero-title .line:nth-child(3) > span { animation-delay: .34s; }
.hero-title .line--muted { color: #7e838a; }
@media (min-width: 1021px) { .hero-title .line > span { white-space: nowrap; } }
@keyframes rise { to { transform: none; } }
.hero-lead { margin-top: 30px; max-width: 46ch; color: #b4b8bd; font-size: clamp(1rem, 1.3vw, 1.18rem); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero .eyebrow { opacity: 0; animation: fade .9s var(--ease) .05s forwards; }
@keyframes fade { to { opacity: 1; } }

.hero-art { color: #fff; }
@media (min-width: 1021px) { .hero-art { width: 128%; margin-left: -28%; } }
.rig { width: 100%; height: auto; max-height: 58vh; overflow: visible; }
.carriage { animation: carr 5.6s var(--ease-io) infinite alternate; }
@keyframes carr { from { transform: translateY(196px); } to { transform: translateY(318px); } }
.belt path { animation: belt 1.4s linear infinite; }
@keyframes belt { to { stroke-dashoffset: -14; } }

.hero-meta {
  position: relative; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding-block: 22px; border-top: 1px solid var(--line-dark); flex: none;
  opacity: 0; animation: fade .9s var(--ease) 1s forwards;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #aeb2b7;
}
.hero-scroll { display: inline-flex; align-items: center; gap: 12px; }
.hero-scroll i { width: 1px; height: 18px; background: linear-gradient(var(--red), transparent); animation: drip 2s var(--ease-io) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- marcas ---------- */
.brands { background: #fff; border-bottom: 1px solid var(--line); }
.brands-in { display: flex; align-items: center; gap: clamp(20px, 4vw, 56px); padding-block: 26px; }
.brands-label { color: var(--mute); line-height: 1.5; flex: none; font-size: .68rem; }
.marquee { overflow: hidden; flex: 1; min-width: 0; max-width: 100%;-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li { font-weight: 800; font-size: 1.05rem; letter-spacing: .04em; text-transform: uppercase; color: #3c4045; white-space: nowrap; display: flex; align-items: center; gap: 56px; }
.marquee-track li::after { content: ""; width: 7px; height: 7px; background: var(--red); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- filtros + tarjetas ---------- */
.filters { position: relative; display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 36px; }
.filters button { border-radius: 5px; }
.filters button { position: relative; z-index: 1; padding: 11px 18px; font-size: .84rem; font-weight: 600; color: var(--mute); transition: color .35s var(--ease); }
.filters button:hover { color: var(--ink); }
.filters button.is-active { color: #fff; }
.filters-ind { position: absolute; z-index: 0; top: 4px; left: 0; height: calc(100% - 8px); width: 0; border-radius: 5px; background: var(--ink); transition: transform .55s var(--ease), width .55s var(--ease); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  transition: opacity .45s var(--ease), transform .6s var(--ease), border-color .4s, box-shadow .5s var(--ease);
  transform-style: preserve-3d; will-change: transform;
}
.card::after { content: ""; position: absolute; left: -1px; right: -1px; bottom: -1px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--ease); }
.card:hover { border-color: #c9c9c4; box-shadow: 0 30px 60px -34px rgba(20, 22, 26, .35); }
.card:hover::after { transform: scaleX(1); }
.card.is-out { opacity: 0; transform: scale(.97) translateY(10px); pointer-events: none; }
.card.is-gone { display: none; }
.card-art { aspect-ratio: 16 / 11; background: var(--paper); display: grid; place-items: center; color: var(--ink); overflow: hidden; position: relative; }
.card-art::before {
  content: ""; position: absolute; inset: 0; opacity: .6;
  background-image: linear-gradient(rgba(20,22,26,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(20,22,26,.05) 1px, transparent 1px);
  background-size: 24px 24px;
}
.card-art svg { position: relative; width: 82%; height: auto; transition: transform .8s var(--ease); }
.card:hover .card-art svg { transform: scale(1.04); }
.card-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.tag { color: var(--red); font-size: .68rem; font-weight: 500; }
.card h3 { font-size: 1.32rem; line-height: 1.2; letter-spacing: -.015em; font-weight: 700; margin-top: 10px; }
.card-body p:not(.tag) { color: var(--mute); font-size: .95rem; margin-top: 10px; flex: 1; }
.more { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .86rem; margin-top: 22px; align-self: flex-start; padding-bottom: 3px; background: linear-gradient(var(--ink), var(--ink)) 0 100% / 100% 1px no-repeat; transition: background-size .5s var(--ease), color .3s; }
.more:hover { background-size: 0 1px; background-position: 100% 100%; color: var(--red); }
.more svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .4s var(--ease); }
.more:hover svg { transform: translateX(4px); }

/* animaciones de ilustración al pasar el ratón */
.card svg [class^="a-"] { transition: transform 1s var(--ease), stroke-dashoffset 1s var(--ease); }
.a-wrap path { stroke-dasharray: 130; }
.card:hover .a-wrap path { animation: dash 1.6s var(--ease) both; }
@keyframes dash { from { stroke-dashoffset: 130; } to { stroke-dashoffset: 0; } }
.card:hover .a-carr { transform: translateY(26px); }
.card:hover .a-slide { transform: translateX(166px); transition-duration: 1.6s; }
.card:hover .a-box { transform: translateY(14px); }
.card:hover .a-flap { transform: translateY(-4px); }
.card:hover .a-pull { transform: translateY(-14px); }
.card:hover .a-arm { transform: translateX(14px); }
.card:hover .a-agv { transform: translateX(150px); transition-duration: 2s; }

/* ---------- SIPARIO ---------- */
.feature { position: relative; background: var(--ink); color: #fff; overflow: hidden; padding-block: clamp(80px, 11vw, 150px); }
.feature .hero-grid { -webkit-mask-image: radial-gradient(ellipse 70% 80% at 25% 50%, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse 70% 80% at 25% 50%, #000 10%, transparent 75%); }
.feature-in { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 100px); align-items: center; }
.feature-art { color: #fff; }
.feature-art svg { width: 100%; height: auto; }
.gantry { animation: gantry 7s var(--ease-io) infinite; }
.pulled { animation: pulled 7s var(--ease-io) infinite; }
.film-wrap { animation: filmwrap 7s var(--ease-io) infinite; }
@keyframes gantry { 0%, 8% { transform: translateY(0); } 38%, 48% { transform: translateY(78px); } 86%, 100% { transform: translateY(0); } }
@keyframes pulled { 0%, 47% { opacity: 0; transform: translateY(0) scaleY(.2); } 62%, 86% { opacity: 1; transform: translateY(0) scaleY(1); } 96%, 100% { opacity: 0; transform: translateY(0) scaleY(1); } }
.pulled { transform-origin: 260px 146px; }
@keyframes filmwrap { 0%, 46% { opacity: 1; } 62%, 86% { opacity: .08; } 100% { opacity: 1; } }
.checks { margin-top: 34px; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: center; color: #e6e8ea; font-weight: 500; padding-bottom: 14px; border-bottom: 1px solid var(--line-dark); }
.checks svg { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--red-hot); stroke-width: 2; stroke-linecap: square; }

/* ---------- Intralogística ---------- */
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px, 6vw, 100px); align-items: center; }
.split-copy .btn { margin-top: 34px; }
.split-art { color: var(--ink); background: var(--paper); border: 1px solid var(--line); padding: clamp(12px, 2vw, 24px); }
.split-art svg { width: 100%; height: auto; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chips li { padding: 9px 16px; border: 1px solid var(--line); border-radius: 6px; font-size: .82rem; font-weight: 600; background: #fff; transition: border-color .3s, color .3s, transform .4s var(--ease); }
.chips li:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); }

/* ---------- servicio ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { position: relative; padding-top: 34px; }
.step-line { position: absolute; top: 0; left: 0; right: 0; height: 1px; background: #cfcfca; }
.step-line::after { content: ""; position: absolute; inset: 0; background: var(--red); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.4s var(--ease) calc(var(--d, 0s) + .3s); }
.step.is-in .step-line::after { transform: scaleX(1); }
.step-n { color: var(--red); font-size: .78rem; }
.step h3 { font-size: 1.45rem; letter-spacing: -.02em; line-height: 1.2; font-weight: 700; margin-top: 18px; }
.step p { color: var(--mute); margin-top: 12px; max-width: 36ch; }
.sectors { margin-top: clamp(50px, 7vw, 90px); padding-top: 34px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 18px 36px; }
.sectors > .mono { color: var(--mute); }
.sectors .chips { margin: 0; }

/* ---------- contacto ---------- */
.contact { position: relative; background: var(--graphite); color: #fff; overflow: hidden; padding-block: clamp(80px, 11vw, 150px); }
.contact .hero-grid { -webkit-mask-image: radial-gradient(ellipse 70% 90% at 80% 20%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse 70% 90% at 80% 20%, #000 0%, transparent 70%); }
.contact-in { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 100px); align-items: start; }
.addr { margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line-dark); color: #b4b8bd; line-height: 1.75; max-width: 40ch; }
.addr strong { display: block; color: #fff; font-size: 1.12rem; margin-bottom: 8px; letter-spacing: -.01em; }
.form { background: #fff; color: var(--ink); padding: clamp(24px, 3.2vw, 44px); position: relative; display: grid; gap: 18px; box-shadow: 0 50px 90px -40px rgba(0,0,0,.6); }
.form::before { content: ""; position: absolute; top: 0; left: 0; width: 64px; height: 3px; background: var(--red); }
.form-title { font-size: 1.5rem; letter-spacing: -.02em; font-weight: 800; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field span { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .96rem; color: var(--ink); background: var(--paper);
  border: 1px solid transparent; border-bottom: 1px solid #bdbdb7; padding: 13px 14px; border-radius: 0; outline: 0; resize: vertical;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { background: #fff; border-color: var(--ink); border-bottom-color: var(--red); box-shadow: 0 8px 0 -6px var(--red); }
.field input.is-bad { border-bottom-color: var(--red); background: #fdf1f1; }
.form .btn { justify-self: start; }
.form-note { font-size: .84rem; color: var(--mute); }
.preview { margin: 0; padding: 18px; background: var(--ink); color: #dfe2e5; font-family: var(--mono); font-size: .78rem; line-height: 1.7; white-space: pre-wrap; border-left: 3px solid var(--red); animation: fade .6s var(--ease) both; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #b4b8bd; border-top: 1px solid var(--line-dark); font-size: .82rem; }
.footer-in { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 24px; padding-block: 38px; align-items: start; }
.footer-in > div { display: grid; gap: 4px; }
.footer strong { color: #fff; letter-spacing: .04em; }
.footer .mail { color: #fff; font-weight: 600; justify-self: start; background: linear-gradient(var(--red), var(--red)) 0 100% / 0 1px no-repeat; padding-bottom: 2px; transition: background-size .5s var(--ease), color .3s; }
.footer .mail:hover { background-size: 100% 1px; color: #fff; }
.to-top { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; transition: color .3s; }
.to-top:hover { color: var(--red-hot); }
.to-top svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .4s var(--ease); }
.to-top:hover svg { transform: translateY(-3px); }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 120; padding: 14px 22px; background: var(--ink); color: #fff; font-size: .88rem; font-weight: 600; border-left: 3px solid var(--red); transform: translate(-50%, 24px); opacity: 0; pointer-events: none; transition: transform .5s var(--ease), opacity .4s; box-shadow: 0 20px 50px -20px rgba(0,0,0,.6); }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .hero-in, .feature-in, .split, .contact-in { grid-template-columns: 1fr; }
  .hero-art { max-width: 520px; width: 100%; justify-self: center; order: 2; }
  .feature-art { order: 2; max-width: 520px; }
  .section-head { grid-template-columns: 1fr; align-items: start; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .footer-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: var(--header) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 8px var(--pad) 28px; border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: transform .45s var(--ease), opacity .3s, visibility .3s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a[data-link] { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav a[data-link]::after { display: none; }
  .nav .btn { margin-top: 18px; justify-content: center; }
  .brand img { height: 42px; }
}
@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr; }
  .grid2 { grid-template-columns: 1fr; }
  .brands-in { flex-direction: column; align-items: flex-start; gap: 14px; }
  .brands-label br { display: none; }
  .hero-cta .btn { width: 100%; justify-content: space-between; }
  .hero-meta { flex-direction: column; gap: 10px; }
  .footer-in { grid-template-columns: 1fr; }
  .filters { display: flex; width: 100%; }
  .filters button { flex: 1 1 auto; padding-inline: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-title .line > span { transform: none; }
  .marquee-track { animation: none; }
}
