/* =====================================================================
   CANAIMA LOGISTICS — main.css
   Post-modern / Memphis × Bofill × Swiss-punk editorial.
   Palette: bone paper, warm ink, Muralla red, ultramarine, pink, ochre, mint.
   ===================================================================== */

/* ---------- Fonts (self-hosted, SIL OFL) ---------- */
@font-face { font-family: "Archivo"; src: url("../fonts/archivo.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-italic.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: italic; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("../fonts/bodoni-moda-italic.woff2") format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("../fonts/bodoni-moda.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Martian Mono"; src: url("../fonts/martian-mono.woff2") format("woff2"); font-weight: 100 800; font-stretch: 75% 112.5%; font-display: swap; }
@font-face { font-family: "Mrs Saint Delafield"; src: url("../fonts/mrs-saint-delafield.woff2") format("woff2"); font-weight: 400; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --paper: #EFE6D8;
  --paper-2: #E6D9C4;
  --paper-3: #FBF6EE;
  --ink: #1A1614;
  --rojo: #E5533A;
  --rojo-ink: #B5361F;
  --azul: #2A3BD6;
  --rosa: #F2B8C6;
  --ocre: #F0B323;
  --menta: #9ED3C0;

  --f-display: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --f-serif: "Bodoni Moda", "Bodoni 72", Didot, Georgia, serif;
  --f-mono: "Martian Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --f-sign: "Mrs Saint Delafield", "Snell Roundhand", cursive;

  --pad: clamp(1rem, 3.4vw, 3.25rem);
  --hdr-h: 68px;
  --bw: 2px;
  --shadow: 6px 6px 0 var(--ink);
  --shadow-lg: 12px 12px 0 var(--ink);

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);

  --star: polygon(50% 0%,59.6% 8.1%,71.7% 5%,76.8% 16.4%,89.1% 18.8%,88.7% 31.3%,98.7% 38.9%,93% 50%,98.7% 61.1%,88.7% 68.7%,89.1% 81.2%,76.8% 83.6%,71.7% 95%,59.6% 91.9%,50% 100%,40.4% 91.9%,28.3% 95%,23.2% 83.6%,10.9% 81.2%,11.3% 68.7%,1.3% 61.1%,7% 50%,1.3% 38.9%,11.3% 31.3%,10.9% 18.8%,23.2% 16.4%,28.3% 5%,40.4% 8.1%);
  --tepui: polygon(0 100%, 9% 34%, 19% 30%, 23% 0, 77% 0, 81% 30%, 91% 34%, 100% 100%);
}
@media (min-width: 1024px) { :root { --hdr-h: 76px; } }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  min-height: 100svh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-display);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; }
ul[class], ol[class] { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-weight: inherit; font-size: inherit; line-height: 1.05; overflow-wrap: break-word; }
p, li, dd { text-wrap: pretty; }
abbr[title] { text-decoration: none; }
::selection { background: var(--ocre); color: var(--ink); }
:focus-visible { outline: 3px solid var(--azul); outline-offset: 3px; }
[hidden] { display: none !important; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* Paper grain overlay */
body::after {
  content: "";
  position: fixed; inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: .085;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Utilities ---------- */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mono { font-family: var(--f-mono); font-variation-settings: "wdth" 87.5; letter-spacing: .02em; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 300; background: var(--ink); color: var(--paper); padding: .8rem 1.2rem; font-weight: 700; transition: top .2s; }
.skip:focus { top: 1rem; }
.is-loading .hero { visibility: hidden; }

.label {
  display: inline-flex; align-items: center; gap: .7em;
  font-family: var(--f-mono); font-variation-settings: "wdth" 87.5;
  font-size: .7rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 1.4rem;
}
.label::before { content: ""; width: .8em; height: .8em; background: var(--rojo); border: var(--bw) solid var(--ink); flex: none; }

.h2 {
  font-weight: 900;
  font-variation-settings: "wdth" 112;
  font-size: clamp(2.3rem, 6vw, 5.9rem);
  line-height: .9;
  letter-spacing: -.025em;
  text-transform: uppercase;
  text-wrap: balance;
}
.h2 em, .ftr__tag em, .services__end-title em, .legal__title em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 500;
  text-transform: none;
  letter-spacing: -.01em;
  color: var(--azul);
  font-size: 1.06em;
}

.link-u {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .28em;
  transition: text-decoration-color .2s, color .2s;
}
.link-u:hover { text-decoration-color: var(--rojo); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--paper);
  --btn-fg: var(--ink);
  --btn-shadow: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .7em;
  min-height: 52px;
  padding: .9em 1.5em;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: var(--bw) solid var(--ink);
  box-shadow: 5px 5px 0 var(--btn-shadow);
  font-weight: 800;
  font-variation-settings: "wdth" 115;
  font-size: .86rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
  cursor: pointer;
  transition: transform .25s var(--ease-spring), box-shadow .25s var(--ease-spring), background-color .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--btn-shadow); }
.btn:active { transform: translate(4px, 4px); box-shadow: 1px 1px 0 var(--btn-shadow); transition-duration: .08s; }
.btn .ico-arrow { width: 1.15em; height: 1.15em; transition: transform .3s var(--ease-spring); }
.btn:hover .ico-arrow { transform: translateX(4px); }
.btn--rojo { --btn-bg: var(--rojo); }
.btn--ocre { --btn-bg: var(--ocre); }
.btn--paper { --btn-bg: var(--paper); }
.btn--ink { --btn-bg: var(--ink); --btn-fg: var(--paper); --btn-shadow: var(--rojo); }
.btn--sm { min-height: 44px; padding: .7em 1.1em; font-size: .74rem; box-shadow: 4px 4px 0 var(--btn-shadow); }
.btn--sm:hover { box-shadow: 6px 6px 0 var(--btn-shadow); }

/* =====================================================================
   HEADER
   ===================================================================== */
.hdr {
  position: fixed; inset: 0 0 auto;
  z-index: 60;
  height: var(--hdr-h);
  background: var(--paper);
  border-bottom: var(--bw) solid var(--ink);
  transition: transform .45s var(--ease-out);
}
.hdr.is-hidden { transform: translateY(-105%); }
.menu-open .hdr { transform: none; }
.hdr__inner {
  height: 100%;
  display: flex; align-items: center; gap: 1.5rem;
  padding-inline: var(--pad);
}
.logo { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; flex: none; }
.logo__mark { width: 40px; height: 40px; }
.c-ocre { fill: var(--ocre); } .c-ink { fill: var(--ink); } .c-rojo { fill: var(--rojo); } .c-paper { fill: var(--paper); }
.logo__word {
  display: flex; flex-direction: column;
  font-weight: 900; font-variation-settings: "wdth" 125;
  font-size: 1.12rem; line-height: .9; letter-spacing: .01em;
}
.logo__word small {
  font-family: var(--f-mono); font-variation-settings: "wdth" 112.5;
  font-weight: 500; font-size: .52rem; letter-spacing: .42em; text-transform: uppercase;
  margin-top: .3rem;
}
.logo:hover .logo__mark .c-ocre { transform: translateY(-3px); }
.logo__mark .c-ocre { transition: transform .4s var(--ease-spring); }

.hdr__nav { margin-inline: auto; display: none; }
.hdr__nav ol, .menu__nav ol, .legal__toc ol, .legal__others ul, .ftr ul { list-style: none; padding: 0; }
.hdr__nav ol { display: flex; gap: .25rem; }
.hdr__nav a {
  position: relative; display: inline-flex; align-items: flex-start; gap: .35em;
  padding: .55rem .8rem;
  font-family: var(--f-mono); font-variation-settings: "wdth" 87.5;
  font-size: .72rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none;
  isolation: isolate;
}
.hdr__nav a::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ocre); border: var(--bw) solid var(--ink);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .3s var(--ease-out);
}
.hdr__nav a:hover::before, .hdr__nav a:focus-visible::before { transform: scaleY(1); }
.hdr__num { font-size: .55rem; opacity: .6; transform: translateY(-.2em); }

.hdr__tools { display: flex; align-items: center; gap: .6rem; margin-left: auto; }
.lang { display: flex; border: var(--bw) solid var(--ink); }
.lang a {
  display: grid; place-items: center;
  min-width: 36px; height: 36px; padding: 0 .4rem;
  font-family: var(--f-mono); font-size: .66rem; font-weight: 600; letter-spacing: .05em;
  text-decoration: none;
  transition: background-color .2s;
}
.lang a + a { border-left: var(--bw) solid var(--ink); }
.lang a:hover { background: var(--rosa); }
.lang a[aria-current] { background: var(--ink); color: var(--paper); }

.motion {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  border: var(--bw) solid var(--ink);
  background: var(--paper);
  transition: background-color .2s, transform .3s var(--ease-spring);
}
.motion:hover { background: var(--menta); transform: rotate(-12deg); }
.motion svg { width: 16px; height: 16px; fill: currentColor; }
.motion__play { display: none; }
.is-still .motion__play { display: block; }
.is-still .motion__pause { display: none; }

.hdr__cta { display: none; }

.burger {
  width: 44px; height: 44px; display: grid; place-items: center;
  border: var(--bw) solid var(--ink); background: var(--ocre);
}
.burger__bars { position: relative; width: 20px; height: 12px; }
.burger__bars i { position: absolute; left: 0; width: 100%; height: 2.5px; background: var(--ink); transition: transform .35s var(--ease-out), top .35s var(--ease-out); }
.burger__bars i:first-child { top: 0; }
.burger__bars i:last-child { top: calc(100% - 2.5px); }
.burger[aria-expanded="true"] .burger__bars i:first-child { top: calc(50% - 1.25px); transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__bars i:last-child { top: calc(50% - 1.25px); transform: rotate(-45deg); }

@media (min-width: 640px) { .hdr__cta { display: inline-flex; } }
@media (min-width: 1100px) {
  .hdr__nav { display: block; }
  .burger { display: none; }
}
@media (max-width: 479px) {
  .hdr__tools > .lang { display: none; }
}
@media (max-width: 420px) {
  .logo__word { font-size: .98rem; }
  .logo__mark { width: 34px; height: 34px; }
  .hdr__inner { gap: .6rem; }
  .lang a { min-width: 32px; }
}

/* ---------- Mobile menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 55;
  background: var(--azul); color: var(--paper);
  padding: calc(var(--hdr-h) + 2rem) var(--pad) 2rem;
  display: flex; flex-direction: column; justify-content: space-between;
  overflow-y: auto;
}
.menu :focus-visible { outline-color: var(--ocre); }
.menu__nav ol { display: grid; gap: .2rem; }
.menu__nav a {
  display: flex; align-items: flex-start; gap: .6rem;
  font-weight: 900; font-variation-settings: "wdth" 125;
  font-size: clamp(2.2rem, 10.5vw, 4.5rem); line-height: 1; text-transform: uppercase;
  text-decoration: none; padding-block: .3rem;
}
.menu__nav a span { font-family: var(--f-mono); font-size: .8rem; font-weight: 500; color: var(--ocre); margin-top: .5em; }
.menu__nav a:hover { color: var(--ocre); }
.menu__foot { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2rem; }
.lang--lg { border-color: var(--paper); }
.lang--lg a { min-width: 48px; height: 48px; font-size: .8rem; }
.lang--lg a + a { border-color: var(--paper); }
.lang--lg a[aria-current] { background: var(--paper); color: var(--azul); }
.lang--lg a:hover { background: var(--rojo); color: var(--ink); }
.menu__mail { font-size: .8rem; }
.menu__shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.menu__sun { position: absolute; right: -12vw; bottom: 10vh; width: 52vw; max-width: 420px; aspect-ratio: 1; border-radius: 50%; background: var(--ocre); }
.menu__tepui { position: absolute; left: -6vw; bottom: -2vh; width: 70vw; max-width: 560px; height: 24vh; background: var(--rojo); clip-path: var(--tepui); }
.menu__dots { position: absolute; right: 8vw; top: calc(var(--hdr-h) + 2rem); width: 30vw; height: 20vh; background-image: radial-gradient(var(--paper) 2px, transparent 2.5px); background-size: 16px 16px; opacity: .35; }
.menu-open { overflow: hidden; }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--hdr-h) + 1rem) var(--pad) 0;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(.75rem, 1.5vw, 1.5rem);
  align-content: start;
  overflow: clip;
  background-image:
    linear-gradient(to right, rgb(26 22 20 / .07) 1px, transparent 1px);
  background-size: calc((100% - 2 * var(--pad)) / 12) 100%;
  background-position: var(--pad) 0;
}
.hero__meta {
  grid-column: 1 / -1;
  display: flex; justify-content: space-between; gap: 1rem;
  padding-block: .7rem;
  border-bottom: var(--bw) solid var(--ink);
  font-size: .66rem; letter-spacing: .1em; text-transform: uppercase;
}
.hero__meta-mid { display: none; }

.hero__title {
  grid-column: 1 / -1;
  margin-top: clamp(1.6rem, 4vh, 3rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: .84;
  letter-spacing: -.02em;
  position: relative; z-index: 3;
}
.ht { display: block; }
.ht--1 { --wdth: 108; font-variation-settings: "wdth" var(--wdth); font-size: clamp(2.7rem, 11.6vw, 9.6rem); white-space: nowrap; }
.ht--2 {
  position: relative; display: inline-block;
  margin: .08em 0 .02em 12%;
  font-family: var(--f-serif); font-style: italic; font-weight: 500;
  text-transform: none; letter-spacing: -.01em;
  font-size: clamp(2.4rem, 10vw, 8.2rem); line-height: .95;
  color: var(--azul);
}
.ht__squiggle { position: absolute; left: -4%; bottom: -.12em; width: 108%; height: .3em; stroke: var(--rojo); z-index: -1; }
.ht--3 { --wdth: 62; font-variation-settings: "wdth" var(--wdth); font-size: clamp(4.6rem, 29vw, 19rem); line-height: .78; padding-left: 4%; white-space: nowrap; }
.ht__in { display: inline-block; }
@media (max-width: 899px) {
  :lang(en) .ht--1 { font-size: clamp(2.4rem, 10vw, 6rem); }
  :lang(en) .ht--3 { font-size: clamp(4.5rem, 27.5vw, 14rem); }
}

.hero__visual {
  grid-column: 1 / -1;
  position: relative;
  height: clamp(380px, 118vw, 620px);
  margin-top: 2rem;
}
.hero__arch {
  position: absolute; z-index: 3;
  left: 50%; top: 4%;
  width: min(62%, 360px);
  aspect-ratio: 3 / 4.2;
  translate: -50% 0;
  border-radius: 999px 999px 0 0;
  isolation: isolate;
}
.hero__arch::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border: var(--bw) solid var(--ink); border-radius: inherit;
  translate: 16px 16px;
}
.hero__video {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: inherit;
  border: var(--bw) solid var(--ink);
  background: var(--ink);
}
.hero__tepui {
  position: absolute; z-index: 2;
  left: 0; right: 0; bottom: 4%;
  height: 42%;
  background: var(--rojo);
  clip-path: var(--tepui);
}
.hero__sun {
  position: absolute; z-index: 1;
  right: 2%; top: 0;
  width: 42%; aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ocre);
  border: var(--bw) solid var(--ink);
}
.hero__checker {
  position: absolute; z-index: 4;
  left: 4%; top: 30%;
  width: 18%; aspect-ratio: 1;
  border: var(--bw) solid var(--ink);
  background: conic-gradient(var(--ink) 25%, var(--paper) 0 50%, var(--ink) 0 75%, var(--paper) 0) 0 0 / 50% 50%;
  rotate: 9deg;
}
.hero__badge {
  position: absolute; z-index: 5;
  right: 4%; bottom: 0;
  width: clamp(112px, 26vw, 156px); aspect-ratio: 1;
  border-radius: 50%;
  background: var(--azul); color: var(--paper);
  border: var(--bw) solid var(--ink);
  box-shadow: var(--shadow);
  display: grid; place-items: center;
}
.hero__badge svg { position: absolute; inset: 6%; width: 88%; height: 88%; animation: spin 24s linear infinite; }
.hero__badge text { font-family: var(--f-mono); font-size: 15.5px; font-weight: 600; letter-spacing: .08em; fill: currentColor; }
.hero__badge-core { display: block; width: 38%; position: relative; }
.hero__badge-core svg { width: 100%; height: auto; }
@keyframes spin { to { rotate: 360deg; } }

.hero__body { grid-column: 1 / -1; margin-top: 2rem; position: relative; z-index: 3; }
.hero__lead { max-width: 44ch; font-size: clamp(1.02rem, 1.2vw, 1.2rem); line-height: 1.5; }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin-top: 1.6rem; }

.hero__manifest {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: repeat(2, 1fr);
  margin-top: clamp(2rem, 5vh, 3.5rem);
  border-top: var(--bw) solid var(--ink);
  margin-inline: calc(var(--pad) * -1);
  padding-inline: var(--pad);
}
.hero__manifest > div { padding: .9rem .9rem .9rem 0; border-bottom: var(--bw) solid var(--ink); }
.hero__manifest > div:nth-child(even) { padding-left: .9rem; border-left: var(--bw) solid var(--ink); }
.hero__manifest dt { font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.hero__manifest dd { font-family: var(--f-display); font-variation-settings: "wdth" 100; font-weight: 700; font-size: .9rem; letter-spacing: 0; margin-top: .2rem; }

@media (min-width: 900px) {
  .hero__meta-mid { display: inline; }
  .hero__title { grid-column: 1 / span 8; grid-row: 2; }
  .ht--1 { font-size: clamp(2.8rem, 7.3vw, 9.6rem); }
  .ht--2 { font-size: clamp(2.4rem, 6vw, 8.2rem); }
  .ht--3 { font-size: clamp(5rem, 17.5vw, 19rem); }
  :lang(en) .ht--1 { font-size: clamp(2.6rem, 6vw, 8rem); }
  .hero__visual { grid-column: 9 / -1; grid-row: 2 / 4; height: auto; min-height: 520px; margin-top: clamp(1.5rem, 4vh, 3rem); }
  .hero__arch { left: auto; right: 10%; translate: none; width: 70%; max-width: 380px; top: 2%; }
  .hero__tepui { left: -22%; right: -8%; bottom: 10%; height: 38%; }
  .hero__sun { right: -10%; top: -4%; width: 50%; }
  .hero__checker { left: -6%; top: 36%; width: 22%; }
  .hero__badge { left: -10%; right: auto; bottom: 6%; }
  .hero__body { grid-column: 1 / span 7; grid-row: 3; align-self: end; margin-top: 1.5rem; }
  .hero__manifest { grid-row: 4; grid-template-columns: repeat(4, 1fr); }
  .hero__manifest > div { border-bottom: 0; padding: 1rem 1rem 1.1rem; }
  .hero__manifest > div:first-child { padding-left: 0; }
  .hero__manifest > div + div { border-left: var(--bw) solid var(--ink); }
}

/* =====================================================================
   TICKERS
   ===================================================================== */
.tickers { position: relative; height: clamp(150px, 17vw, 240px); overflow: clip; margin-block: 1.5rem; }
.ticker {
  position: absolute; left: -5%; width: 110%; top: 50%;
  border-block: var(--bw) solid var(--ink);
  padding-block: clamp(.6rem, 1.1vw, 1rem);
  overflow: hidden;
}
.ticker--a { z-index: 2; background: var(--azul); color: var(--paper); transform: translateY(-62%) rotate(-3.2deg); }
.ticker--b { z-index: 1; background: var(--rosa); color: var(--ink); transform: translateY(-30%) rotate(2.6deg); }
.ticker__track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.ticker--b .ticker__track { animation-direction: reverse; animation-duration: 52s; }
.ticker__group { display: flex; align-items: center; flex: none; }
.ticker__item {
  font-weight: 900; font-variation-settings: "wdth" 125;
  font-size: clamp(1.4rem, 3.3vw, 2.9rem); line-height: 1.1;
  text-transform: uppercase; white-space: nowrap; padding-inline: .5em;
}
.ticker--b .ticker__item { font-family: var(--f-serif); font-style: italic; font-weight: 500; text-transform: none; font-size: clamp(1.4rem, 3.1vw, 2.7rem); }
.ticker__sep { font-size: clamp(1rem, 2vw, 1.6rem); color: var(--ocre); }
.ticker--b .ticker__sep { color: var(--rojo-ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =====================================================================
   SERVICES (vertical by default; horizontal pinned when .is-horizontal)
   ===================================================================== */
.services { position: relative; border-top: var(--bw) solid var(--ink); }
.services__track { display: flex; flex-direction: column; }
.services__progress { display: none; }

.services__intro {
  position: relative; overflow: clip;
  padding: clamp(4rem, 9vw, 7rem) var(--pad) clamp(3rem, 7vw, 5rem);
}
.services__lead { max-width: 42ch; font-size: clamp(1.02rem, 1.2vw, 1.2rem); margin-top: 1.6rem; }
.services__hint { display: none; margin-top: 2.5rem; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.services__intro-shape {
  position: absolute; z-index: -1;
  right: -8%; bottom: -14%;
  width: clamp(180px, 34vw, 420px); aspect-ratio: 1;
  background: var(--ocre); border: var(--bw) solid var(--ink);
  border-radius: 100% 0 0 0;
}

.svc {
  --bg: var(--paper); --fg: var(--ink);
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 1.25rem var(--pad) clamp(3rem, 8vw, 4.5rem);
  background: var(--bg); color: var(--fg);
  border-top: var(--bw) solid var(--ink);
  overflow: clip;
  isolation: isolate;
}
.svc--road { --bg: var(--ocre); }
.svc--sea { --bg: var(--azul); --fg: var(--paper); }
.svc--air { --bg: var(--rosa); }
.svc--warehouse { --bg: var(--menta); }
.svc--customs { --bg: var(--rojo); }
.svc--sea :focus-visible { outline-color: var(--ocre); }

.svc__ticket {
  display: flex; justify-content: space-between;
  padding-bottom: .7rem;
  border-bottom: var(--bw) solid currentColor;
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
}
.svc__num {
  position: absolute; z-index: -1;
  right: var(--pad); top: 3.2rem;
  font-weight: 900; font-variation-settings: "wdth" 62;
  font-size: clamp(9rem, 42vw, 34rem); line-height: .78; letter-spacing: -.04em;
  color: transparent;
  -webkit-text-stroke: 2px var(--fg);
  opacity: .75;
  pointer-events: none;
}
.svc__media {
  position: relative;
  justify-self: center;
  width: min(78vw, 440px);
  margin-top: 1rem;
}
.svc__clip { width: 100%; height: 100%; overflow: hidden; background: var(--ink); }
.svc__clip img, .svc__clip video { width: 100%; height: 100%; object-fit: cover; }
.svc__media--arch { aspect-ratio: 3 / 4; }
.svc__media--arch .svc__clip { border-radius: 999px 999px 0 0; border: var(--bw) solid var(--ink); box-shadow: var(--shadow-lg); }
.svc__media--circle { aspect-ratio: 1; }
.svc__media--circle .svc__clip { border-radius: 50%; border: var(--bw) solid var(--ink); box-shadow: var(--shadow-lg); }
.svc__media--dome { aspect-ratio: 1; }
.svc__media--dome .svc__clip { border-radius: 0 999px 0 999px; border: var(--bw) solid var(--ink); box-shadow: var(--shadow-lg); }
.svc__media--tepui { aspect-ratio: 5 / 4; filter: drop-shadow(12px 12px 0 var(--ink)); }
.svc__media--tepui .svc__clip { clip-path: var(--tepui); }
.svc__media--diamond { aspect-ratio: 1; filter: drop-shadow(12px 12px 0 var(--ink)); }
.svc__media--diamond .svc__clip { clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }

.svc__body { position: relative; z-index: 2; container-type: inline-size; min-width: 0; }
.svc__title {
  font-weight: 900; font-variation-settings: "wdth" 115;
  --title-max: clamp(2.6rem, 13vw, 5.6rem);
  font-size: min(var(--title-max), calc(100cqi / (var(--n, 8) * .92))); line-height: .88; letter-spacing: -.02em;
  overflow-wrap: normal; hyphens: manual;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.svc__body p { max-width: 40ch; font-size: 1.04rem; }
.svc__points { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.svc__points li {
  border: var(--bw) solid currentColor; border-radius: 999px;
  padding: .5em .95em;
  font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; line-height: 1.2;
}

.svc__deco { position: absolute; z-index: -1; pointer-events: none; }
.svc__deco--dots { left: 0; bottom: 0; width: 40%; height: 30%; background-image: radial-gradient(var(--ink) 2.2px, transparent 2.7px); background-size: 18px 18px; opacity: .55; }
.svc__deco--waves { left: var(--pad); top: 4.4rem; width: clamp(120px, 20vw, 240px); }
.svc__deco--waves svg { stroke: var(--paper); opacity: .8; }
.svc__deco--stripes { right: 0; top: 0; width: 38%; height: 34%; background: repeating-linear-gradient(-45deg, var(--ink) 0 3px, transparent 3px 16px); opacity: .5; }
.svc__deco--checker { left: 0; bottom: 0; width: clamp(90px, 14vw, 180px); aspect-ratio: 1; background: conic-gradient(var(--ink) 25%, transparent 0 50%, var(--ink) 0 75%, transparent 0) 0 0 / 25% 25%; opacity: .85; }
.svc__deco--stamp { right: 6%; top: 18%; width: clamp(110px, 16vw, 200px); rotate: -14deg; }
.svc__deco--stamp svg { stroke: var(--ink); overflow: visible; animation: spin 40s linear infinite; }
.svc__deco--stamp .stamp__ring { font-family: var(--f-mono); font-size: 15px; font-weight: 700; letter-spacing: .1em; fill: var(--ink); stroke: none; }
.svc__deco--stamp .stamp__ok { font-family: var(--f-display); font-variation-settings: "wdth" 125; font-weight: 900; font-size: 40px; fill: var(--ink); stroke: none; }

.services__end {
  position: relative; overflow: clip;
  display: grid; align-content: center; justify-items: start; gap: 2rem;
  padding: clamp(4rem, 10vw, 7rem) var(--pad);
  background: var(--ink); color: var(--paper);
  border-top: var(--bw) solid var(--ink);
}
.services__end :focus-visible { outline-color: var(--ocre); }
.services__end-title {
  position: relative; z-index: 1;
  font-weight: 900; font-variation-settings: "wdth" 112;
  font-size: clamp(2.2rem, 6vw, 5.4rem); line-height: .92; letter-spacing: -.02em;
  text-transform: uppercase; max-width: 14ch; text-wrap: balance;
}
.services__end-title em { color: var(--ocre); }
.services__end .btn { position: relative; z-index: 1; }
.services__end-arch {
  position: absolute; right: -6%; bottom: -2px;
  width: clamp(160px, 30vw, 380px); aspect-ratio: 3 / 4;
  background: var(--rojo); border: var(--bw) solid var(--paper);
  border-radius: 999px 999px 0 0;
}

@media (min-width: 720px) {
  .svc { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); grid-template-rows: auto 1fr; column-gap: 4vw; }
  .svc:nth-of-type(even) { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
  .svc__ticket { grid-column: 1 / -1; }
  .svc__media { grid-column: 1; grid-row: 2; align-self: center; width: min(100%, 420px); }
  .svc__body { grid-column: 2; grid-row: 2; align-self: end; }
  .svc:nth-of-type(even) .svc__media { grid-column: 2; }
  .svc:nth-of-type(even) .svc__body { grid-column: 1; grid-row: 2; }
  .svc__num { font-size: clamp(9rem, 30vw, 34rem); }
}

/* Horizontal mode (desktop + motion allowed) */
.services.is-horizontal .services__pin { height: 100svh; overflow: hidden; position: relative; }
.services.is-horizontal .services__track { flex-direction: row; height: 100%; width: max-content; will-change: transform; }
.services.is-horizontal .services__track > * { flex: none; height: 100%; }
.services.is-horizontal .services__intro { width: min(46vw, 760px); display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--hdr-h) + 2rem); }
.services.is-horizontal .services__hint { display: block; }
.services.is-horizontal .svc {
  width: min(86vw, 1340px);
  border-top: 0; border-left: var(--bw) solid var(--ink);
  padding: calc(var(--hdr-h) + 1.2rem) clamp(2rem, 4vw, 4rem) clamp(2rem, 5vh, 3.5rem);
  grid-template-rows: auto minmax(0, 1fr);
}
.services.is-horizontal .svc__media { width: min(100%, 520px); height: auto; max-height: min(64vh, 580px); margin: 0; }
.services.is-horizontal .svc__media--arch { width: min(100%, 440px); }
.services.is-horizontal .svc__media--circle, .services.is-horizontal .svc__media--dome, .services.is-horizontal .svc__media--diamond { width: min(100%, 64vh, 560px); }
.services.is-horizontal .svc__num { top: calc(var(--hdr-h) + 3.5rem); font-size: 44vh; }
.services.is-horizontal .svc__title { --title-max: 7.4vw; }
.services.is-horizontal .services__end { width: 62vw; border-top: 0; border-left: var(--bw) solid var(--ink); }
.services.is-horizontal .services__progress {
  display: block; position: absolute; left: var(--pad); right: var(--pad); bottom: 1.1rem; z-index: 5;
  height: 6px; border: var(--bw) solid var(--ink); background: var(--paper);
}
.services.is-horizontal .services__progress span { display: block; height: 100%; background: var(--ink); transform-origin: left; transform: scaleX(0); }

/* =====================================================================
   PROCESS — Bofill stairs
   ===================================================================== */
.process {
  position: relative; overflow: clip;
  padding: clamp(5rem, 10vw, 9rem) var(--pad) 0;
  border-top: var(--bw) solid var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(rgb(26 22 20 / .07) 1px, transparent 1px),
    linear-gradient(90deg, rgb(26 22 20 / .07) 1px, transparent 1px);
  background-size: 32px 32px;
}
.process__head { position: relative; z-index: 2; max-width: 62rem; }
.process__intro { margin-top: 1.4rem; max-width: 36ch; font-size: clamp(1.02rem, 1.2vw, 1.2rem); }
.process__moon {
  position: relative; z-index: 1;
  width: clamp(170px, 50vw, 380px); aspect-ratio: 1;
  margin: 2.5rem 0 0 auto;
}
.process__moon video {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 50%; border: var(--bw) solid var(--ink);
  box-shadow: var(--shadow-lg);
  background: var(--ink);
}
.stairs { position: relative; z-index: 2; display: grid; gap: 0; margin-top: 2.5rem; }
.step { --c: var(--ocre); --fg: var(--ink); }
.step:nth-child(2) { --c: var(--rosa); }
.step:nth-child(3) { --c: var(--menta); }
.step:nth-child(4) { --c: var(--azul); --fg: var(--paper); }
.step__block {
  height: 100%;
  margin-left: calc((var(--i) - 1) * 8%);
  padding: 1.4rem 1.4rem 1.8rem;
  background: var(--c); color: var(--fg);
  border: var(--bw) solid var(--ink);
  border-bottom: 0;
  display: flex; flex-direction: column; gap: .5rem;
}
.step:last-child .step__block { border-bottom: var(--bw) solid var(--ink); }
.step__num { font-weight: 900; font-variation-settings: "wdth" 62; font-size: 4rem; line-height: .8; letter-spacing: -.03em; }
.step__title { font-weight: 900; font-variation-settings: "wdth" 125; font-size: clamp(1.4rem, 2vw, 1.9rem); text-transform: uppercase; line-height: .95; }
.step__block p { font-size: .98rem; max-width: 30ch; }
.step:nth-child(4) :focus-visible { outline-color: var(--ocre); }

@media (min-width: 900px) {
  .process__head { max-width: min(62rem, 66%); }
  .process__moon { position: absolute; top: clamp(5rem, 9vw, 8rem); right: var(--pad); margin: 0; width: clamp(200px, 24vw, 360px); }
  .stairs { grid-template-columns: repeat(4, 1fr); align-items: end; margin-top: clamp(3rem, 6vw, 5rem); }
  .step__block {
    margin-left: 0;
    min-height: calc(11rem + var(--i) * clamp(3.5rem, 6vw, 6.5rem));
    border-bottom: 0; border-right: 0;
    padding: 1.6rem 1.6rem 2rem;
  }
  .step:last-child .step__block { border-right: var(--bw) solid var(--ink); border-bottom: 0; }
  .step__num { font-size: clamp(4rem, 6vw, 6.5rem); }
}

/* =====================================================================
   FILM — video through letters
   ===================================================================== */
.film { position: relative; border-top: var(--bw) solid var(--ink); background: var(--ink); }
.film__stage { position: relative; height: clamp(280px, 56vw, 88vh); overflow: hidden; }
.film__stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film__mask {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: var(--paper);
  mix-blend-mode: screen;
}
.film__mask span {
  display: block;
  color: #000;
  font-weight: 900; font-variation-settings: "wdth" 125;
  font-size: 14.2vw; line-height: .8; letter-spacing: -.03em;
  text-transform: uppercase;
  white-space: nowrap;
  will-change: transform;
}
.film__caption {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem;
  padding: .9rem var(--pad);
  background: var(--paper);
  border-block: var(--bw) solid var(--ink);
  font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
}

/* =====================================================================
   ABOUT + CEO
   ===================================================================== */
.about { position: relative; padding-bottom: clamp(5rem, 10vw, 9rem); overflow-x: clip; }
.about__land { height: clamp(150px, 24vw, 360px); border-bottom: var(--bw) solid var(--ink); overflow: hidden; background: var(--paper); }
.about__land svg { width: 100%; height: 100%; }
.t-sun circle { fill: var(--ocre); stroke: var(--ink); stroke-width: 2; }
.t-hatch rect { fill: var(--paper); }
.t-far { fill: var(--rosa); stroke: var(--ink); stroke-width: 2; }
.t-mid { fill: var(--azul); stroke: var(--ink); stroke-width: 2; }
.t-near { fill: var(--rojo); stroke: var(--ink); stroke-width: 2; }
.t-fall { stroke: var(--paper-3); }
.t-birds { stroke: var(--ink); }
.t-ground { fill: var(--ink); }

.about__grid {
  display: grid; gap: 3.5rem;
  padding: clamp(4rem, 8vw, 7rem) var(--pad) 0;
}
.about__media { position: relative; max-width: 460px; width: 86%; }
.about__arch {
  position: relative; z-index: 2;
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px 0 0;
  border: var(--bw) solid var(--ink);
  overflow: hidden;
  background: var(--ink);
}
.about__arch img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; scale: 1.15; }
.about__media figcaption { margin-top: 1.2rem; font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; max-width: 36ch; line-height: 1.6; }
.about__quarter {
  position: absolute; z-index: 1;
  right: -16%; bottom: 3.5rem;
  width: 58%; aspect-ratio: 1;
  background: var(--rosa); border: var(--bw) solid var(--ink);
  border-radius: 100% 0 0 0;
}
.about__km {
  position: absolute; z-index: 3;
  left: -6%; top: 10%;
  width: clamp(84px, 9vw, 110px); aspect-ratio: 1;
  border-radius: 50%;
  display: grid; place-content: center; text-align: center;
  background: var(--ocre); border: var(--bw) solid var(--ink);
  box-shadow: var(--shadow);
  rotate: -12deg;
  font-size: .66rem; font-weight: 600; letter-spacing: .2em; line-height: 1;
}
.about__km b { display: block; font-family: var(--f-display); font-variation-settings: "wdth" 125; font-weight: 900; font-size: 2.6em; letter-spacing: 0; margin-top: .1em; }
.about__text { align-self: center; max-width: 40rem; }
.about__text p { margin-top: 1.3rem; font-size: clamp(1.02rem, 1.15vw, 1.15rem); }
.about__text .about__p1 { margin-top: 2rem; }
.about__p1::first-letter {
  float: left;
  font-family: var(--f-serif); font-style: italic; font-weight: 600;
  font-size: 5.4em; line-height: .78;
  padding: .04em .1em 0 0;
  color: var(--azul);
}

.ceo {
  position: relative; overflow: clip;
  margin: clamp(4.5rem, 9vw, 8rem) var(--pad) 0;
  padding: clamp(2rem, 5.5vw, 5rem);
  background: var(--azul); color: var(--paper);
  border: var(--bw) solid var(--ink);
  box-shadow: var(--shadow-lg);
}
.ceo__quote p {
  position: relative; z-index: 1;
  font-family: var(--f-serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.55rem, 3.6vw, 3.4rem); line-height: 1.12; letter-spacing: -.01em;
  max-width: 24ch; text-wrap: balance;
}
.ceo__by { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: flex-end; gap: .4rem 1.6rem; margin-top: clamp(1.8rem, 4vw, 3rem); }
.ceo__sign { font-family: var(--f-sign); font-size: clamp(3rem, 6vw, 5.2rem); line-height: .9; color: var(--ocre); rotate: -5deg; transform-origin: left bottom; padding-right: .3em; }
.ceo__name { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; padding-bottom: .8rem; }
.ceo__mark {
  position: absolute; right: 3%; top: -.06em; z-index: 0;
  font-family: var(--f-serif); font-weight: 900; font-style: italic;
  font-size: clamp(14rem, 30vw, 28rem); line-height: 1;
  color: var(--rosa); opacity: .9;
  pointer-events: none;
}

@media (min-width: 900px) {
  .about__grid { grid-template-columns: 5fr 7fr; gap: 7vw; }
  .about__media { width: 100%; margin-left: 4%; }
}

/* =====================================================================
   PRINCIPLES — stickers
   ===================================================================== */
.principles {
  position: relative; overflow: clip;
  padding: clamp(5rem, 10vw, 9rem) var(--pad);
  background-color: var(--paper-2);
  background-image: radial-gradient(rgb(26 22 20 / .22) 1.4px, transparent 1.8px);
  background-size: 22px 22px;
  border-block: var(--bw) solid var(--ink);
  margin-top: clamp(5rem, 10vw, 9rem);
}
.stickers {
  display: grid; gap: 2.6rem 1.6rem;
  grid-template-columns: 1fr;
  justify-items: center;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.sticker {
  --rot: 0deg;
  position: relative;
  width: min(100%, 320px); aspect-ratio: 1;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center;
  padding: 15%;
  border: var(--bw) solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  rotate: var(--rot);
  transition: rotate .6s var(--ease-spring), scale .6s var(--ease-spring);
}
.sticker:hover { rotate: 0deg; scale: 1.04; }
.sticker h3 { font-weight: 900; font-variation-settings: "wdth" 115; font-size: clamp(1.1rem, 1.6vw, 1.4rem); text-transform: uppercase; line-height: 1; }
.sticker p { font-size: .9rem; line-height: 1.4; margin-top: .6rem; }
.sticker__n { position: absolute; top: 9%; font-size: .66rem; font-weight: 700; letter-spacing: .14em; }
.sticker--circle { --rot: -6deg; border-radius: 50%; background: var(--ocre); }
.sticker--arch { --rot: 4deg; border-radius: 999px 999px 0 0; background: var(--menta); padding-top: 22%; }
.sticker--ticket {
  --rot: -3deg;
  aspect-ratio: 1.15; background: var(--rosa); box-shadow: none;
  -webkit-mask: radial-gradient(circle at 0 50%, #0000 20px, #000 21px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, #0000 20px, #000 21px) right / 51% 100% no-repeat;
          mask: radial-gradient(circle at 0 50%, #0000 20px, #000 21px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, #0000 20px, #000 21px) right / 51% 100% no-repeat;
}
.sticker--ticket::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: 16%; border-top: 3px dashed var(--ink); }
.sticker--burst { --rot: 8deg; background: none; border: 0; box-shadow: none; color: var(--paper); filter: drop-shadow(8px 8px 0 var(--ink)); padding: 21%; }
.sticker--burst::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--azul); clip-path: var(--star); }
.sticker--burst { isolation: isolate; }

@media (min-width: 640px) { .stickers { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) {
  .stickers { grid-template-columns: repeat(4, 1fr); align-items: center; }
  .sticker:nth-child(even) { margin-top: 5rem; }
}

/* =====================================================================
   CONTACT — waybill form
   ===================================================================== */
.contact {
  display: grid; gap: 3.5rem;
  padding: clamp(5rem, 10vw, 9rem) var(--pad);
}
.contact { overflow-x: clip; }
.contact > * { min-width: 0; }
.contact__lead { margin-top: 1.4rem; max-width: 38ch; font-size: clamp(1.02rem, 1.2vw, 1.2rem); }
.contact__info { margin-top: 2.2rem; border-top: var(--bw) solid var(--ink); }
.contact__info > div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: .95rem 0; border-bottom: var(--bw) solid var(--ink); }
.contact__info dt { font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; padding-top: .3em; }
.contact__info dd { font-weight: 600; overflow-wrap: anywhere; }

.mapcard { margin-top: 2.2rem; border: var(--bw) solid var(--ink); background: var(--paper-2); box-shadow: 8px 8px 0 var(--ink); }
.mapcard__art svg { width: 100%; height: auto; }
.m-bg { fill: var(--paper-2); }
.m-grid path { fill: none; stroke: var(--ink); stroke-width: 2; opacity: .3; }
.m-grid .m-main { stroke: var(--rojo); stroke-width: 10; opacity: 1; }
.m-block { fill: var(--ocre); stroke: var(--ink); stroke-width: 2; }
.m-park { fill: var(--menta); stroke: var(--ink); stroke-width: 2; }
.m-label { font-family: var(--f-mono); font-size: 10px; font-weight: 700; letter-spacing: .12em; fill: var(--ink); }
.m-pin circle { fill: var(--ink); }
.m-pin .m-pin-in { fill: var(--ocre); }
.m-pin { animation: pin-bob 2.4s var(--ease-out) infinite; }
@keyframes pin-bob { 50% { translate: 0 -4px; } }
.m-compass circle { fill: var(--paper); stroke: var(--ink); stroke-width: 2; }
.m-compass path { fill: var(--rojo); }
.m-compass text, .m-code { font-family: var(--f-mono); font-size: 10px; font-weight: 700; fill: var(--ink); letter-spacing: .1em; }
.mapcard__links { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; padding: .9rem 1rem; border-top: var(--bw) solid var(--ink); font-size: .9rem; background: var(--paper); }

.waybill {
  position: relative; align-self: start;
  overflow: clip;
  background: var(--paper-3);
  border: var(--bw) solid var(--ink);
  box-shadow: 14px 14px 0 var(--rojo), 14px 14px 0 var(--bw) var(--ink);
}
.waybill__head {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .8rem 1rem; align-items: start;
  padding: 1.3rem 1.4rem 1.1rem;
  background: var(--ocre);
  border-bottom: var(--bw) solid var(--ink);
}
.waybill__title { font-weight: 900; font-variation-settings: "wdth" 125; font-size: clamp(1.5rem, 3vw, 2.2rem); text-transform: uppercase; line-height: .95; }
.waybill__sub { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; margin-top: .4rem; }
.waybill__no { font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-align: right; padding-top: .3rem; }
.waybill__no output { display: block; font-size: .95rem; }
.waybill__barcode { grid-column: 1 / -1; height: 40px; }
.waybill__barcode svg { width: 100%; height: 100%; fill: var(--ink); }

.waybill__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.waybill__grid > * { min-width: 0; }
.field {
  grid-column: 1 / -1;
  position: relative;
  padding: .85rem 1.4rem 1rem;
  border-bottom: var(--bw) solid var(--ink);
  transition: background-color .2s;
}
.field--half { grid-column: span 2; }
.field:focus-within { background: rgb(240 179 35 / .16); box-shadow: inset 6px 0 0 var(--azul); }
.field label, .field legend {
  display: flex; align-items: center; gap: .55rem;
  font-family: var(--f-mono); font-variation-settings: "wdth" 87.5;
  font-size: .66rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
}
.field abbr { color: var(--rojo-ink); }
.field__n { display: inline-grid; place-items: center; min-width: 2.1em; height: 1.75em; padding: 0 .35em; background: var(--ink); color: var(--paper); font-size: .9em; }
.field input[type="text"], .field input[type="email"], .field select, .field textarea {
  display: block; width: 100%;
  margin-top: .45rem; padding: .35rem 0;
  border: 0; border-bottom: 2px dashed rgb(26 22 20 / .3);
  background: transparent; border-radius: 0;
  font-size: 1.12rem; font-weight: 500;
  outline: none;
}
.field textarea { resize: vertical; min-height: 6.5rem; line-height: 1.45; }
.field input::placeholder, .field textarea::placeholder { color: rgb(26 22 20 / .5); }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--azul); border-bottom-style: solid; }
.select { position: relative; }
.select::after { content: ""; position: absolute; right: .2rem; top: 55%; width: .6rem; height: .6rem; border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); translate: 0 -75%; rotate: 45deg; pointer-events: none; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 2rem; cursor: pointer; }
.field__err { margin-top: .35rem; font-family: var(--f-mono); font-size: .66rem; font-weight: 600; color: var(--rojo-ink); }
.field__err:empty { display: none; }
.field.is-invalid { background: rgb(229 83 58 / .1); box-shadow: inset 6px 0 0 var(--rojo); }

fieldset.field { border: 0; border-bottom: var(--bw) solid var(--ink); min-inline-size: 0; }
fieldset.field legend { float: left; width: 100%; padding: 0; }
.chips__row { clear: both; display: flex; flex-wrap: wrap; gap: .5rem; padding-top: .7rem; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.chip span {
  display: inline-flex; align-items: center; min-height: 40px;
  padding: .45em 1em;
  border: var(--bw) solid var(--ink); border-radius: 999px;
  font-family: var(--f-mono); font-size: .68rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  transition: background-color .15s, color .15s, transform .25s var(--ease-spring);
}
.chip:hover span { background: var(--rosa); }
.chip input:checked + span { background: var(--ink); color: var(--paper); transform: rotate(-3deg); }
.chip input:focus-visible + span { outline: 3px solid var(--azul); outline-offset: 2px; }

.field--hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field--consent { display: grid; grid-template-columns: auto 1fr; gap: .2rem .8rem; align-items: start; }
.field--consent input {
  appearance: none; -webkit-appearance: none;
  width: 26px; height: 26px; margin: 0;
  border: var(--bw) solid var(--ink); background: var(--paper);
  display: grid; place-items: center; cursor: pointer;
}
.field--consent input::after { content: ""; width: 12px; height: 7px; border-left: 3px solid var(--ink); border-bottom: 3px solid var(--ink); rotate: -45deg; translate: 0 -2px; scale: 0; transition: scale .25s var(--ease-spring); }
.field--consent input:checked { background: var(--ocre); }
.field--consent input:checked::after { scale: 1; }
.field--consent label { font-family: var(--f-display); font-variation-settings: "wdth" 100; font-size: .95rem; font-weight: 400; letter-spacing: 0; text-transform: none; display: block; padding-top: .1rem; }
.field--consent label a { font-weight: 700; }
.field--consent .field__err { grid-column: 2; }

.waybill__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; padding: 1.4rem; }
.btn--stamp { --btn-bg: var(--rojo); font-size: .92rem; min-height: 56px; }
.waybill__status { font-size: .74rem; font-weight: 600; max-width: 40ch; }
.waybill__status.is-error { color: var(--rojo-ink); }

.waybill__gdpr { border-top: var(--bw) solid var(--ink); padding: 1rem 1.4rem 1.2rem; font-size: .84rem; }
.waybill__gdpr summary { cursor: pointer; font-size: .66rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; list-style: none; display: flex; align-items: center; gap: .6rem; min-height: 32px; }
.waybill__gdpr summary::-webkit-details-marker { display: none; }
.waybill__gdpr summary::before { content: "+"; display: inline-grid; place-items: center; width: 22px; height: 22px; border: var(--bw) solid var(--ink); font-size: .9rem; transition: rotate .3s var(--ease-spring); }
.waybill__gdpr[open] summary::before { rotate: 45deg; background: var(--ocre); }
.waybill__gdpr table { width: 100%; border-collapse: collapse; margin-top: .8rem; }
.waybill__gdpr th, .waybill__gdpr td { text-align: left; vertical-align: top; padding: .5rem .6rem; border: 1px solid rgb(26 22 20 / .25); }
.waybill__gdpr th { font-family: var(--f-mono); font-size: .62rem; letter-spacing: .06em; text-transform: uppercase; width: 34%; font-weight: 600; }

.waybill__stamp {
  position: absolute; left: 50%; top: 42%; z-index: 5;
  display: grid; justify-items: center; gap: .2rem;
  padding: .35em .9em .45em;
  border: 6px double var(--rojo-ink); border-radius: 10px;
  color: var(--rojo-ink);
  font-weight: 900; font-variation-settings: "wdth" 125;
  font-size: clamp(2rem, 6vw, 3.6rem); line-height: 1; text-transform: uppercase; letter-spacing: .04em;
  mix-blend-mode: multiply;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) rotate(-14deg) scale(2.6);
}
.waybill__stamp small { font-family: var(--f-mono); font-size: .2em; letter-spacing: .3em; font-weight: 700; }
.waybill.is-sent .waybill__stamp { opacity: .9; transform: translate(-50%, -50%) rotate(-14deg) scale(1); transition: transform .5s cubic-bezier(.2, 1.8, .4, 1), opacity .2s; }

@media (max-width: 479px) {
  .waybill__head { grid-template-columns: 1fr; }
  .waybill__no { text-align: left; padding-top: 0; }
}
@media (min-width: 640px) {
  .field--half { grid-column: span 1; }
  .field--half:has(#f-name), .field--half:has(#f-origin) { border-right: var(--bw) solid var(--ink); }
}
@media (min-width: 1000px) {
  .contact { grid-template-columns: 5fr 7fr; gap: 5vw; }
}

/* =====================================================================
   FOOTER
   ===================================================================== */
.ftr {
  position: relative; overflow: clip;
  background: var(--ink); color: var(--paper);
  padding: clamp(4rem, 8vw, 6.5rem) var(--pad) 1.5rem;
}
.ftr :focus-visible { outline-color: var(--ocre); }
.ftr__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 2rem; padding-bottom: 3rem; border-bottom: var(--bw) solid rgb(239 230 216 / .25); }
.ftr__tag { font-weight: 900; font-variation-settings: "wdth" 112; font-size: clamp(1.8rem, 4.4vw, 4rem); line-height: .95; text-transform: uppercase; letter-spacing: -.02em; max-width: 17ch; text-wrap: balance; }
.ftr__tag em { color: var(--ocre); }
.ftr__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.4rem 1.6rem; padding-block: 3rem; }
.ftr__col:first-child { grid-column: 1 / -1; }
.ftr__h { font-family: var(--f-mono); font-size: .66rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ocre); margin-bottom: 1rem; }
.ftr address { font-style: normal; line-height: 1.6; }
.ftr address + p { margin-top: .9rem; }
.ftr ul { display: grid; gap: .45rem; }
.ftr ul a { text-decoration: none; background: linear-gradient(var(--ocre), var(--ocre)) 0 100% / 0 2px no-repeat; transition: background-size .3s var(--ease-out); padding-bottom: 2px; }
.ftr ul a:hover, .ftr ul a[aria-current] { background-size: 100% 2px; }
.ftr__word {
  position: relative;
  font-weight: 900; font-variation-settings: "wdth" 125;
  font-size: 15.4vw; line-height: .76; letter-spacing: -.035em;
  text-transform: uppercase; white-space: nowrap;
  margin: 1rem 0 0 -.05em;
  user-select: none;
}
.ftr__word > span:first-child { position: relative; z-index: 1; }
.ftr__shapes i { position: absolute; z-index: 0; display: block; }
.ftr__shapes .s-sun { width: 15vw; aspect-ratio: 1; border-radius: 50%; background: var(--ocre); left: 41%; top: -26%; }
.ftr__shapes .s-arch { width: 9vw; height: 12vw; border-radius: 999px 999px 0 0; background: var(--rojo); right: 3%; bottom: -12%; }
.ftr__shapes .s-tepui { width: 22vw; height: 7vw; background: var(--azul); clip-path: var(--tepui); left: 8%; bottom: -16%; }
.ftr__word > span:first-child { mix-blend-mode: difference; color: var(--paper); }
.ftr__bottom { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; padding-top: 1.4rem; margin-top: 2rem; border-top: var(--bw) solid rgb(239 230 216 / .25); font-size: .64rem; letter-spacing: .06em; }
.ftr__top-link { text-decoration: none; }
.ftr__top-link:hover { color: var(--ocre); }

@media (min-width: 900px) {
  .ftr__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
  .ftr__col:first-child { grid-column: auto; }
}

/* ---------- Notice ---------- */
.notice {
  position: fixed; left: var(--pad); bottom: 1rem; z-index: 70;
  max-width: min(380px, calc(100vw - 2 * var(--pad)));
  display: flex; align-items: center; gap: 1rem;
  padding: .9rem 1rem .9rem 1.1rem;
  background: var(--rosa); border: var(--bw) solid var(--ink); box-shadow: var(--shadow);
  rotate: -1.2deg;
  font-size: .86rem; line-height: 1.4;
}
.menu-open .notice { display: none; }
.notice a { font-weight: 700; }
.notice .btn { flex: none; }

/* =====================================================================
   LEGAL PAGES
   ===================================================================== */
.legal__head {
  position: relative; overflow: clip;
  padding: calc(var(--hdr-h) + clamp(3rem, 8vw, 6rem)) var(--pad) clamp(2.5rem, 5vw, 4rem);
  background: var(--paper-2);
  border-bottom: var(--bw) solid var(--ink);
}
.legal__title {
  position: relative; z-index: 1;
  font-weight: 900; font-variation-settings: "wdth" 125;
  font-size: clamp(2.4rem, 8vw, 7.6rem); line-height: .86; letter-spacing: -.03em;
  text-transform: uppercase; max-width: 12ch; text-wrap: balance;
}
.legal__meta { position: relative; z-index: 1; margin-top: 1.6rem; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.legal__prevail { position: relative; z-index: 1; margin-top: 1rem; max-width: 60ch; font-size: .88rem; padding-left: .9rem; border-left: 4px solid var(--rojo); }
.legal__shapes span { position: absolute; display: block; }
.legal__sun { right: 6%; top: calc(var(--hdr-h) + 1.5rem); width: clamp(120px, 22vw, 320px); aspect-ratio: 1; border-radius: 50%; background: var(--ocre); border: var(--bw) solid var(--ink); }
.legal__arch { right: 22%; bottom: -2px; width: clamp(70px, 10vw, 150px); aspect-ratio: 3 / 4; border-radius: 999px 999px 0 0; background: var(--rosa); border: var(--bw) solid var(--ink); }
.legal__grid { right: 0; bottom: 0; width: 30%; height: 50%; background-image: linear-gradient(rgb(26 22 20 / .14) 1px, transparent 1px), linear-gradient(90deg, rgb(26 22 20 / .14) 1px, transparent 1px); background-size: 24px 24px; }
.page-cookies .legal__sun { background: var(--menta); }
.page-legalNotice .legal__sun { background: var(--rosa); }
.page-legalNotice .legal__arch { background: var(--ocre); }
.page-terms .legal__sun { background: var(--azul); }

.legal__layout { display: grid; gap: 2.5rem; padding: clamp(3rem, 6vw, 5rem) var(--pad) clamp(5rem, 9vw, 8rem); }
.legal__aside { display: grid; gap: 2rem; align-content: start; }
.legal__toc-title { font-size: .66rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding-bottom: .7rem; border-bottom: var(--bw) solid var(--ink); }
.legal__toc ol, .legal__others ul { display: grid; }
.legal__toc a, .legal__others a { display: block; padding: .55rem 0 .55rem .1rem; border-bottom: 1px solid rgb(26 22 20 / .18); font-size: .9rem; text-decoration: none; transition: padding .25s var(--ease-out), box-shadow .25s; }
.legal__toc a:hover, .legal__others a:hover { padding-left: .6rem; box-shadow: inset 4px 0 0 var(--ocre); }
.legal__toc a.is-active { padding-left: .6rem; font-weight: 700; box-shadow: inset 4px 0 0 var(--rojo); }

.prose { max-width: 74ch; font-size: 1.03rem; line-height: 1.68; }
.prose > * + * { margin-top: 1em; }
.prose .lead { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.5; padding-bottom: 1.6rem; border-bottom: var(--bw) solid var(--ink); }
.prose h2 {
  margin-top: 3rem; padding-top: 1rem;
  border-top: var(--bw) solid var(--ink);
  font-weight: 900; font-variation-settings: "wdth" 112;
  font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.05; text-transform: uppercase;
  scroll-margin-top: calc(var(--hdr-h) + 1.2rem);
}
.prose h2 + * { margin-top: 1.1rem; }
.prose .lead + h2 { border-top: 0; margin-top: 2rem; }
.prose ul { padding-left: 1.4rem; }
.prose ul li + li { margin-top: .5em; }
.prose ul li::marker { content: "■  "; color: var(--rojo); font-size: .8em; }
.prose a { font-weight: 600; text-decoration-thickness: 2px; text-underline-offset: .2em; }
.prose a:hover { text-decoration-color: var(--rojo); }
.prose code { font-family: var(--f-mono); font-size: .82em; background: var(--paper-2); padding: .12em .4em; border: 1px solid rgb(26 22 20 / .2); }
.table-wrap { overflow-x: auto; border: var(--bw) solid var(--ink); background: var(--paper-3); }
.prose table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: .92rem; line-height: 1.5; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: .75rem .9rem; border-bottom: 1px solid rgb(26 22 20 / .2); }
.prose td + td, .prose th + th { border-left: 1px solid rgb(26 22 20 / .2); }
.prose thead th { background: var(--ink); color: var(--paper); font-family: var(--f-mono); font-size: .64rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.legal-card { border: var(--bw) solid var(--ink); background: var(--paper-3); box-shadow: 8px 8px 0 var(--ocre), 8px 8px 0 var(--bw) var(--ink); }
.legal-card > div { display: grid; gap: .2rem 1.4rem; padding: .8rem 1.1rem; border-bottom: 1px solid rgb(26 22 20 / .18); }
.legal-card > div:last-child { border-bottom: 0; }
.legal-card dt { font-family: var(--f-mono); font-size: .64rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding-top: .3em; }
.legal-card dd { font-weight: 600; }
.fill-in { background: var(--ocre); padding: 0 .35em; font-family: var(--f-mono); font-weight: 600; }
.legal__back { margin-top: 3.5rem !important; }

@media (min-width: 640px) { .legal-card > div { grid-template-columns: 13rem 1fr; } }
@media (min-width: 1000px) {
  .legal__layout { grid-template-columns: 17rem minmax(0, 1fr); gap: 6vw; }
  .legal__aside { position: sticky; top: calc(var(--hdr-h) + 1.5rem); align-self: start; max-height: calc(100svh - var(--hdr-h) - 3rem); overflow-y: auto; }
}

/* ---------- 404 ---------- */
.lost {
  position: relative; overflow: clip;
  min-height: 100svh;
  display: grid; align-content: center; justify-items: start; gap: 1.2rem;
  padding: calc(var(--hdr-h) + 3rem) var(--pad) 4rem;
}
.lost__title { position: relative; z-index: 1; font-weight: 900; font-variation-settings: "wdth" 125; font-size: clamp(2.6rem, 9vw, 8rem); line-height: .86; text-transform: uppercase; letter-spacing: -.03em; max-width: 12ch; }
.lost__text { position: relative; z-index: 1; font-size: 1.15rem; max-width: 40ch; }
.lost__alt { position: relative; z-index: 1; font-size: .7rem; letter-spacing: .06em; opacity: .75; }
.lost .btn { position: relative; z-index: 1; margin-top: 1rem; }
.lost__sun { position: absolute; right: -6vw; top: 18vh; width: 40vw; max-width: 520px; aspect-ratio: 1; border-radius: 50%; background: var(--ocre); border: var(--bw) solid var(--ink); }
.lost__box { position: absolute; right: 14vw; bottom: 12vh; width: clamp(110px, 16vw, 220px); aspect-ratio: 1; display: grid; place-items: center; background: var(--rosa); border: var(--bw) solid var(--ink); box-shadow: var(--shadow-lg); rotate: 14deg; font-family: var(--f-serif); font-style: italic; font-size: clamp(4rem, 9vw, 9rem); line-height: 1; animation: wobble 3.2s ease-in-out infinite; }
@keyframes wobble { 50% { rotate: 4deg; translate: 0 -10px; } }

/* =====================================================================
   MOTION PREFERENCES
   ===================================================================== */
.is-still *, .is-still *::before, .is-still *::after { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .ticker__track { animation: none; }
}

/* ---------- Print ---------- */
@media print {
  .hdr, .menu, .notice, .tickers, .film, .hero__visual, .services__progress, body::after { display: none !important; }
  .legal__layout { display: block; }
  body { background: #fff; }
}
