/* ==========================================================================
   CIMPEX — "THE ROUTE" · tech-noir logistics edition
   Canvas: charcoal black · Type: bone white · Accent: signal red
   Type: Unbounded (display) · JetBrains Mono (data) · Inter (body)
   ========================================================================== */

:root {
  --black:   #0E0E0C;
  --black-2: #141412;
  --black-3: #1A1A17;
  --bone:    #E8E4DA;
  --bone-70: rgba(232,228,218,.7);
  --bone-50: rgba(232,228,218,.5);
  --bone-30: rgba(232,228,218,.3);
  --hair:    rgba(232,228,218,.14);
  --red:     #E4162B;

  --disp: "Unbounded", sans-serif;
  --mono: "JetBrains Mono", monospace;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1440px;
  --gutter: clamp(20px, 4vw, 64px);
  --sec-pad: clamp(6rem, 12vw, 11rem);

  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ------------------------------ Reset ------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--black);
  color: var(--bone);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

::selection { background: var(--red); color: var(--bone); }

.mono {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* ------------------------------ Cursor ------------------------------ */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 9998;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--red);
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width .3s var(--ease), height .3s var(--ease), background .3s, border .3s, opacity .3s;
}
.cursor.is-big {
  width: 58px; height: 58px;
  background: transparent;
  border: 1px solid var(--red);
}
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ------------------------------ Grid overlay ------------------------------ */
.gridlines {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  display: flex; justify-content: space-evenly;
}
.gridlines i { width: 1px; background: rgba(232,228,218,.045); }

/* ------------------------------ Typography ------------------------------ */
.h2 {
  font-family: var(--disp);
  font-weight: 500;
  font-size: clamp(1.5rem, 3.2vw, 2.7rem);
  line-height: 1.18;
  text-transform: uppercase;
  letter-spacing: .01em;
  max-width: 900px;
}
.h2 em { font-style: normal; color: var(--red); }

.lead { font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.75; color: var(--bone); }

.sec-tag {
  display: flex; align-items: center; gap: 1rem;
  color: var(--bone-70);
  margin-bottom: clamp(1.6rem, 3vw, 2.6rem);
}
.sec-tag i { font-style: normal; color: var(--red); }
.sec-tag::after { content: ""; flex: 1; height: 1px; background: var(--hair); }
.sec-tag--center { justify-content: center; }
.sec-tag--center::after { display: none; }
.sec-tag--center::before { content: ""; width: 40px; height: 1px; background: var(--red); }

/* Giant ghost index numbers */
.sec-idx {
  position: absolute; right: var(--gutter); top: clamp(2rem, 5vw, 4rem);
  font-family: var(--disp); font-weight: 600;
  font-size: clamp(5rem, 14vw, 12rem); line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(232,228,218,.12);
  pointer-events: none; user-select: none;
  z-index: 0;
}

/* ------------------------------ Buttons ------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 1rem 2rem;
  font-family: var(--mono);
  font-size: .7rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  border-radius: 100px;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  will-change: transform;
}
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: #ff2740; }
.btn--line { border: 1px solid var(--hair); color: var(--bone); }
.btn--line:hover { border-color: var(--red); color: var(--red); }
.btn--block { width: 100%; padding-block: 1.2rem; border-radius: 4px; }

/* ==========================================================================
   PRELOADER
   ========================================================================== */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--black);
  display: grid; place-items: center;
  transition: opacity .7s var(--ease), visibility .7s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__inner { display: grid; place-items: center; gap: 1.2rem; }
.preloader__word {
  font-family: var(--disp); font-weight: 600;
  font-size: clamp(2rem, 6vw, 4rem); letter-spacing: .1em;
  color: var(--bone);
  animation: blink 1.2s steps(2) infinite;
}
.preloader__route { font-family: var(--mono); font-size: .68rem; letter-spacing: .3em; color: var(--red); }
@keyframes blink { 50% { opacity: .35; } }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: background .5s var(--ease), border-color .5s;
  border-bottom: 1px solid transparent;
}
.nav__inner {
  max-width: var(--container); margin-inline: auto;
  padding: clamp(14px, 2vw, 20px) var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.nav.is-solid {
  background: rgba(14,14,12,.85);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--hair);
}
.nav__logo { height: 36px; width: auto; filter: drop-shadow(0 2px 10px rgba(0,0,0,.5)); }

.nav__links { display: flex; gap: clamp(1rem, 1.8vw, 1.8rem); }
.nav__links a {
  font-family: var(--mono);
  font-size: .66rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--bone-70);
  position: relative; padding-block: 4px;
  transition: color .3s;
}
.nav__links a::before { content: "/ "; color: var(--red); opacity: 0; transition: opacity .3s; }
.nav__links a:hover { color: var(--bone); }
.nav__links a:hover::before { opacity: 1; }

.nav__actions { display: flex; align-items: center; gap: 1.3rem; }
.lang { display: flex; align-items: center; gap: .4rem; font-family: var(--mono); font-size: .68rem; }
.lang__btn { color: var(--bone-30); font-weight: 500; letter-spacing: .12em; padding: .3rem .1rem; transition: color .3s; }
.lang__btn:hover { color: var(--bone); }
.lang__btn.is-active { color: var(--red); }
.lang__sep { color: var(--bone-30); }
.nav__cta { padding: .62rem 1.3rem; }

.nav__burger { display: none; width: 34px; height: 34px; position: relative; z-index: 1002; }
.nav__burger span {
  position: absolute; left: 6px; right: 6px; height: 1.5px; background: var(--bone);
  transition: transform .4s var(--ease);
}
.nav__burger span:nth-child(1) { top: 13px; }
.nav__burger span:nth-child(2) { top: 21px; }
.nav.is-open .nav__burger span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* ==========================================================================
   01 · HERO
   ========================================================================== */
.hero { position: relative; padding-top: clamp(6.5rem, 13vh, 9.5rem); z-index: 1; }

.hero__manifest {
  display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  color: var(--bone-50);
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.hero__manifest span:first-child { color: var(--red); }

.hero__title {
  font-family: var(--disp);
  font-weight: 600;
  font-size: clamp(1.9rem, 6.2vw, 5.4rem);
  line-height: 1.06;
  text-transform: uppercase;
  letter-spacing: .01em;
  padding-bottom: clamp(2rem, 4vw, 3rem);
}
.anim-line { display: block; overflow: hidden; }
.anim-line > span { display: block; }
.hero__title em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--red);
}

.hero__row {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 3rem;
  padding-bottom: clamp(2rem, 4vw, 3rem);
}
.hero__sub { max-width: 46ch; color: var(--bone-70); font-size: clamp(.95rem, 1.3vw, 1.1rem); }
.hero__actions { display: flex; gap: 1rem; flex-shrink: 0; flex-wrap: wrap; }

.hero__chips {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  border-top: 1px solid var(--hair);
  padding-block: 1.2rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.hero__chips li { font-size: .82rem; color: var(--bone-50); }
.hero__chips strong {
  display: block; font-family: var(--mono); font-weight: 500;
  font-size: .66rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--bone); margin-bottom: .25rem;
}

.hero__media {
  position: relative; overflow: hidden;
  margin-inline: auto;
  width: min(100%, calc(var(--container) - var(--gutter) * 2));
}
.hero__media img {
  width: 100%; height: clamp(360px, 72vh, 680px); object-fit: cover;
  filter: grayscale(.35) contrast(1.05);
  will-change: transform;
}
.hero__route { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__tag {
  position: absolute; left: 1.2rem; bottom: 1.1rem;
  color: var(--bone);
  background: rgba(14,14,12,.7); backdrop-filter: blur(8px);
  padding: .5rem .9rem;
  border: 1px solid var(--hair);
}

/* ==========================================================================
   02 · STATS — data console
   ========================================================================== */
.stats { padding-block: clamp(4rem, 8vw, 6rem); position: relative; z-index: 1; }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--hair);
  background: var(--black-2);
}
.stat { padding: clamp(1.5rem, 3vw, 2.4rem); border-right: 1px solid var(--hair); }
.stat:last-child { border-right: none; }
.stat__key { display: block; color: var(--red); margin-bottom: 1.2rem; }
.stat__num {
  font-family: var(--disp); font-weight: 500;
  font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1;
  color: var(--bone);
}
.stat__label { margin-top: .8rem; font-size: .8rem; color: var(--bone-50); }

/* ==========================================================================
   03 · ABOUT
   ========================================================================== */
.about { padding-block: var(--sec-pad); position: relative; z-index: 1; }
.about__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(3rem, 6vw, 6rem); align-items: start; }
.about__text .h2 { margin-bottom: 2rem; }
.about__text p { color: var(--bone-70); margin-bottom: 1.2rem; max-width: 56ch; }
.about__text .lead { color: var(--bone); }

.mission {
  margin-top: 2.4rem; padding: 1.6rem 1.8rem;
  border: 1px solid var(--hair); border-left: 2px solid var(--red);
  background: var(--black-2);
}
.mission__mark { display: block; color: var(--red); margin-bottom: .8rem; }
.mission p { font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.6; color: var(--bone); margin: 0; }

.frame { overflow: hidden; border: 1px solid var(--hair); }
.frame img { filter: grayscale(.35) contrast(1.05); transition: filter .6s var(--ease); }
.frame:hover img, .pcard:hover .frame img, .case:hover .frame img { filter: grayscale(0) contrast(1); }
.about__media .frame img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.about__badge {
  display: flex; align-items: center; gap: .9rem;
  padding-top: 1rem;
  color: var(--bone-50);
}
.about__badge span:nth-child(2) { color: var(--red); }

/* ==========================================================================
   04 · WHY — sticky stack
   ========================================================================== */
.why { padding-block: var(--sec-pad); position: relative; z-index: 1; }
.why .h2 { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.why__stack { display: grid; gap: 1.2rem; }
.why__card {
  position: sticky;
  top: calc(90px + var(--i) * 3.2rem);
  background: var(--black-2);
  border: 1px solid var(--hair);
  padding: clamp(1.8rem, 4vw, 3.2rem);
  display: grid; grid-template-columns: 130px 1fr 1.2fr; gap: 2rem; align-items: baseline;
  min-height: 200px;
}
.why__card:nth-child(2) { background: #16150f; }
.why__card:nth-child(3) { background: #171712; }
.why__card:nth-child(4) { background: #1a1914; }
.why__no { color: var(--red); }
.why__card h3 {
  font-family: var(--disp); font-weight: 500;
  font-size: clamp(1.1rem, 2vw, 1.6rem); line-height: 1.25;
  text-transform: uppercase;
}
.why__card p { color: var(--bone-50); font-size: .95rem; max-width: 52ch; }

/* ==========================================================================
   05 · PROCESS
   ========================================================================== */
.process { padding-block: var(--sec-pad); position: relative; z-index: 1; background: var(--black-2); border-block: 1px solid var(--hair); }
.process__sub { margin-top: 1.2rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); color: var(--bone-50); max-width: 52ch; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hair); border: 1px solid var(--hair); }
.step { background: var(--black-2); padding: clamp(1.6rem, 3vw, 2.4rem); transition: background .4s var(--ease); }
.step:hover { background: var(--black-3); }
.step__no { display: block; color: var(--red); margin-bottom: 1.4rem; }
.step h3 {
  font-family: var(--disp); font-weight: 500;
  font-size: clamp(.95rem, 1.5vw, 1.2rem); text-transform: uppercase;
  margin-bottom: .6rem; line-height: 1.3;
}
.step p { color: var(--bone-50); font-size: .9rem; }

/* ==========================================================================
   06 · PRODUCTS — horizontal rail
   ========================================================================== */
.products { padding-block: var(--sec-pad) 0; position: relative; z-index: 1; }
.products__hint { color: var(--red); margin-top: 1rem; }

.rail { overflow: hidden; padding-block: clamp(2.5rem, 5vw, 4rem); }
.rail__track {
  display: flex; gap: clamp(1.5rem, 2.5vw, 2.5rem);
  padding-inline: var(--gutter);
  width: max-content;
  will-change: transform;
}
.pcard {
  width: clamp(300px, 34vw, 460px);
  flex-shrink: 0;
  display: block;
}
.pcard__no { display: block; color: var(--red); margin-bottom: .9rem; }
.pcard__media { overflow: hidden; border: 1px solid var(--hair); }
.pcard__media img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  filter: grayscale(.5) contrast(1.05);
  transition: filter .6s var(--ease), transform 1s var(--ease);
}
.pcard:hover .pcard__media img { filter: grayscale(0); transform: scale(1.04); }
.pcard h3 {
  font-family: var(--disp); font-weight: 500;
  font-size: clamp(1rem, 1.5vw, 1.25rem); text-transform: uppercase; line-height: 1.3;
  margin-top: 1.1rem; margin-bottom: .5rem;
  transition: color .3s;
}
.pcard:hover h3 { color: var(--red); }
.pcard p { color: var(--bone-50); font-size: .88rem; }

.pcard--custom {
  border: 1px solid var(--hair);
  background: var(--black-2);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  display: flex; flex-direction: column; justify-content: center; gap: .8rem;
}
.pcard--custom h3 { margin-top: 0; font-size: clamp(1.3rem, 2.2vw, 1.8rem); }
.pcard--custom .pcard__link { color: var(--red); margin-top: 1rem; }

/* ==========================================================================
   07 · REFERENCES — giant marquees
   ========================================================================== */
.refs { padding-block: var(--sec-pad); position: relative; z-index: 1; }
.refs .h2 { margin-bottom: clamp(2.5rem, 5vw, 4rem); }

.bmarq { overflow: hidden; border-top: 1px solid var(--hair); padding-block: clamp(.8rem, 1.6vw, 1.4rem); }
.bmarq:last-of-type { border-bottom: 1px solid var(--hair); }
.bmarq__track {
  display: flex; align-items: center; gap: clamp(2rem, 4vw, 3.5rem);
  width: max-content;
  animation: marq 26s linear infinite;
}
.bmarq--rev .bmarq__track { animation-direction: reverse; }
.bmarq__track span {
  font-family: var(--disp); font-weight: 500;
  font-size: clamp(2.2rem, 6vw, 5rem);
  text-transform: uppercase; white-space: nowrap;
  color: var(--bone);
}
.bmarq--stroke .bmarq__track span { color: transparent; -webkit-text-stroke: 1px var(--bone-30); }
.bmarq__track i { font-style: normal; color: var(--red); font-size: clamp(1.2rem, 2.6vw, 2rem); }
@keyframes marq { to { transform: translateX(-50%); } }

.refs__landmark { margin-top: clamp(2rem, 4vw, 3rem); color: var(--bone-50); font-size: .95rem; max-width: 62ch; margin-bottom: clamp(3rem, 6vw, 5rem); }
.refs__landmark strong { color: var(--bone); font-weight: 500; }

.refs__cases { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
.case .frame img { width: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter .6s var(--ease); }
.case:first-child .frame img { aspect-ratio: 3/4; }
.case:last-child .frame img { aspect-ratio: 16/10; }
.case:hover .frame img { transform: scale(1.04); }
.case figcaption {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding-top: .9rem;
}
.case__tag { font-family: var(--disp); font-weight: 500; font-size: clamp(.95rem, 1.4vw, 1.15rem); text-transform: uppercase; }
.case__loc { color: var(--red); }

/* ==========================================================================
   08 · CHINA VISIT
   ========================================================================== */
.visit {
  position: relative;
  padding-block: clamp(7rem, 14vw, 12rem);
  overflow: hidden;
  border-block: 1px solid var(--hair);
  z-index: 1;
}
.visit__bg {
  position: absolute; inset: 0;
  background: url("../assets/hero-bg.jpg") center/cover no-repeat;
  opacity: .18;
  filter: grayscale(.4);
}
.visit::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(14,14,12,.2), rgba(14,14,12,.92));
}
.visit__inner { position: relative; z-index: 2; max-width: 980px; text-align: center; }
.visit__quote {
  font-family: var(--disp); font-weight: 500;
  font-size: clamp(1.3rem, 3.4vw, 2.6rem); line-height: 1.35;
  text-transform: uppercase;
  margin-bottom: 2rem;
}
.visit__quote em { font-style: normal; color: transparent; -webkit-text-stroke: 1px var(--red); }
.visit__body { color: var(--bone-70); max-width: 60ch; margin: 0 auto 2.6rem; }

/* ==========================================================================
   09 · FAQ
   ========================================================================== */
.faq { padding-block: var(--sec-pad); position: relative; z-index: 1; }
.faq__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 6vw, 6rem); align-items: start; }
.faq__head { position: sticky; top: 110px; }
.faq__note { margin-top: 1.5rem; color: var(--bone-50); max-width: 40ch; }
.faq__note strong { color: var(--red); font-weight: 600; }

.faq__list { border-top: 1px solid var(--hair); }
.qa { border-bottom: 1px solid var(--hair); }
.qa summary {
  list-style: none; cursor: pointer;
  padding: 1.4rem 2.6rem 1.4rem 0; position: relative;
  font-family: var(--disp); font-weight: 400;
  font-size: clamp(.9rem, 1.4vw, 1.1rem); text-transform: uppercase;
  transition: color .3s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "+"; position: absolute; right: .2rem; top: 50%; transform: translateY(-50%);
  font-family: var(--mono); font-size: 1.4rem; color: var(--red);
  transition: transform .4s var(--ease);
}
.qa[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.qa summary:hover { color: var(--red); }
.qa p { padding: 0 0 1.5rem; color: var(--bone-50); max-width: 58ch; font-size: .95rem; }

/* ==========================================================================
   10 · CONTACT
   ========================================================================== */
.contact { padding-block: var(--sec-pad); position: relative; z-index: 1; background: var(--black-2); border-top: 1px solid var(--hair); }
.contact__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(3rem, 6vw, 6rem); align-items: start; }
.contact__intro .h2 { margin-bottom: 1.6rem; }
.contact__intro .lead { color: var(--bone-70); max-width: 46ch; }

.contact__meta { margin-top: 2.6rem; border-top: 1px solid var(--hair); }
.contact__meta li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1.4rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--hair);
}
.contact__meta li > span { color: var(--red); flex-shrink: 0; }
.contact__meta a { color: var(--bone); transition: color .3s; font-size: .92rem; }
.contact__meta a:hover { color: var(--red); }
.contact__plain { font-style: normal; color: var(--bone); font-size: .92rem; }

.form { border: 1px solid var(--hair); background: var(--black); padding: clamp(1.6rem, 3vw, 2.6rem); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 1.8rem; margin-bottom: 1.4rem; }
.field { display: flex; flex-direction: column; gap: .5rem; }
.field--full { grid-column: 1 / -1; }
.field > span { color: var(--bone-50); }
.field input, .field select, .field textarea {
  background: transparent;
  border: none; border-bottom: 1px solid var(--hair);
  border-radius: 0;
  padding: .65rem 0;
  color: var(--bone); font-size: .98rem;
  transition: border-color .3s;
}
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--bone-30); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--red); }
.field select {
  appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--red) 50%), linear-gradient(135deg, var(--red) 50%, transparent 50%);
  background-position: calc(100% - 16px) 55%, calc(100% - 10px) 55%;
  background-size: 6px 6px; background-repeat: no-repeat;
}
.field select option { background: var(--black-2); color: var(--bone); }

.field--check { flex-direction: row; align-items: center; gap: .8rem; }
.field--check input { width: 16px; height: 16px; accent-color: var(--red); flex-shrink: 0; }
.field--check span { font-family: var(--sans); text-transform: none; letter-spacing: 0; font-size: .9rem; color: var(--bone-70); }

.form__file-note { font-size: .8rem; color: var(--bone-50); margin: .2rem 0 1.6rem; }
.form__status { margin-top: 1rem; min-height: 1.2em; }
.form__status.is-ok { color: var(--bone); }
.form__status.is-err { color: var(--red); }

/* ==========================================================================
   11 · FOOTER
   ========================================================================== */
.footer { position: relative; z-index: 1; border-top: 1px solid var(--hair); padding-top: clamp(3rem, 6vw, 5rem); overflow: hidden; }
.footer__wordmark {
  font-family: var(--disp); font-weight: 600;
  font-size: clamp(4rem, 15.5vw, 15rem); line-height: .85;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(232,228,218,.14);
  user-select: none;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: .04em;
}
.footer__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.footer__logo { height: 42px; width: auto; margin-bottom: 1.1rem; }
.footer__tag { color: var(--bone-50); line-height: 1.8; }
.footer__col h4 { color: var(--red); margin-bottom: 1.1rem; }
.footer__col p { color: var(--bone-70); font-size: .9rem; margin-bottom: .5rem; }
.footer__col a { transition: color .3s; }
.footer__col a:hover { color: var(--red); }
.footer__muted { color: var(--bone-30) !important; }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  padding-block: 1.6rem;
  border-top: 1px solid var(--hair);
  color: var(--bone-30);
}

/* ==========================================================================
   FLOATING WHATSAPP
   ========================================================================== */
.wa-float {
  position: fixed; right: clamp(16px, 3vw, 28px); bottom: clamp(16px, 3vw, 28px); z-index: 900;
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--red); color: #fff;
  box-shadow: 0 14px 32px -10px rgba(228,22,43,.55);
  transition: background .4s var(--ease), transform .4s var(--ease);
}
.wa-float:hover { background: #ff2740; transform: translateY(-3px); }

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

.hero .anim { opacity: 0; transform: translateY(20px); }
.hero .anim-line > span { transform: translateY(110%); }
.hero--static .anim { opacity: 1; transform: none; }
.hero--static .anim-line > span { transform: none; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .about__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 560px; }
  .faq__head { position: static; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .why__card { grid-template-columns: 90px 1fr; }
  .why__card p { grid-column: 2; }
  .hero__row { flex-direction: column; align-items: flex-start; gap: 1.6rem; }

  /* Rail falls back to horizontal native scroll */
  .rail { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

@media (max-width: 860px) {
  .nav__links {
    position: fixed; inset: 0 0 0 auto; width: min(84vw, 380px);
    flex-direction: column; justify-content: center; gap: 1.4rem;
    padding: 2rem clamp(2rem, 7vw, 3rem);
    background: rgba(14,14,12,.97); backdrop-filter: blur(16px);
    border-left: 1px solid var(--hair);
    transform: translateX(100%); transition: transform .55s var(--ease);
    z-index: 1001;
  }
  .nav.is-open .nav__links { transform: none; }
  .nav__links a { font-size: .95rem; }
  .nav__burger { display: block; }
  .nav__cta { display: none; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--hair); }
  .hero__chips { grid-template-columns: 1fr; gap: 1rem; }
  .refs__cases { grid-template-columns: 1fr; }
  .sec-idx { display: none; }
}

@media (max-width: 620px) {
  .steps { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .why__card { grid-template-columns: 1fr; gap: .8rem; position: static; }
  .pcard { width: 78vw; }
  .hero__manifest span:nth-child(2) { display: none; }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal, .hero .anim { opacity: 1 !important; transform: none !important; }
  .hero .anim-line > span { transform: none !important; }
  .bmarq__track { animation: none !important; }
  .cursor { display: none; }
  .why__card { position: static; }
}
