/* ==========================================================================
   Rivero — industrial / logistics theme
   ========================================================================== */

:root {
  --ink: #0E0E0C;
  --ink-2: #161614;
  --ink-3: #20201D;
  --ink-4: #2C2C28;
  --on-ink: #F3F2EC;
  --on-ink-2: rgba(243, 242, 236, .68);
  --on-ink-3: rgba(243, 242, 236, .44);
  --line-d: rgba(243, 242, 236, .12);

  --paper: #EEEDE6;
  --paper-2: #E2E0D7;
  --white: #FFFFFF;
  --text: #0E0E0C;
  --text-2: #4A4A44;
  --text-3: #7A7A72;
  --line: rgba(14, 14, 12, .13);

  --yellow: #FFD000;
  --yellow-2: #FFDE40;
  --wa: #25D366;
  --wa-2: #3BE07A;
  --wa-ink: #052E16;
  --red: #E0302B;

  --font: "Roboto Flex", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wide: 135%;

  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 40px);
  --r: 10px;
  --r-lg: 16px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --header-h: 72px;
}
:root[dir="rtl"] { --font: "Cairo", system-ui, sans-serif; --wide: 100%; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font: 400 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ol, ul, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--yellow); color: var(--ink); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.ltr { direction: ltr; unicode-bidi: isolate; }
:root[dir="rtl"] .ltr { text-align: end; }
.ic { width: 22px; height: 22px; flex: none; }
:root[dir="rtl"] .flip { transform: scaleX(-1); }

/* ---------- Type ---------- */
.display, .h2 {
  font-family: var(--font); font-weight: 900; font-stretch: var(--wide);
  text-transform: uppercase; letter-spacing: -.01em; text-wrap: balance;
  overflow-wrap: break-word; hyphens: manual;
}
/* German compounds are too long for phone widths without hyphenation */
:lang(de) .display, :lang(de) .h2 { hyphens: auto; }
.display { font-size: clamp(36px, 6.2vw, 92px); line-height: .94; }
.h2 { font-size: clamp(30px, 4.4vw, 62px); line-height: .98; }
.h2--sm { font-size: clamp(26px, 3.2vw, 44px); }
.display em, .h2 em { font-style: normal; }

:root[dir="rtl"] .display, :root[dir="rtl"] .h2 { text-transform: none; letter-spacing: 0; line-height: 1.3; font-weight: 800; }
:root[dir="rtl"] .display { font-size: clamp(34px, 5vw, 72px); }
:root[dir="rtl"] .h2 { font-size: clamp(28px, 3.6vw, 50px); }
:root[dir="rtl"] body { line-height: 1.75; }
:root[dir="rtl"] * { letter-spacing: 0 !important; }

.tag {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--yellow);
}
.tag__sq { width: 10px; height: 10px; background: var(--yellow); flex: none; }
.tag--dark { color: var(--text); }
.tag--dark .tag__sq { outline: 2px solid var(--ink); outline-offset: -2px; }
.tag--ink { color: var(--ink); }
.tag--ink .tag__sq { background: var(--ink); }
:root[dir="rtl"] .tag { text-transform: none; font-size: 15px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding-inline: 24px; border-radius: var(--r);
  font: 800 16px/1 var(--font); white-space: nowrap; text-align: center;
  transition: transform .2s var(--ease), background-color .2s, color .2s, border-color .2s, box-shadow .25s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.97); }
.btn--lg { height: 62px; padding-inline: 28px; font-size: 17px; }
.btn--sm { height: 44px; padding-inline: 16px; font-size: 15px; }
.btn--block { width: 100%; }
.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--yellow:hover { background: var(--yellow-2); box-shadow: 0 14px 30px -12px rgba(255, 208, 0, .65); }
.btn--wa { background: var(--wa); color: var(--wa-ink); }
.btn--wa:hover { background: var(--wa-2); box-shadow: 0 14px 30px -12px rgba(37, 211, 102, .7); }
.btn--ink { background: var(--ink); color: var(--on-ink); }
.btn--ink:hover { background: #000; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .7); }
.btn--line { border: 2px solid var(--line-d); color: var(--on-ink); }
.btn--line:hover { border-color: var(--on-ink); background: rgba(255, 255, 255, .06); }
.btn--line-dark { border: 2px solid var(--line); color: var(--text); height: 50px; }
.btn--line-dark:hover { border-color: var(--ink); }
.btn--icon { width: 54px; padding: 0; }
.btn .ic { width: 22px; height: 22px; }

/* ---------- Progress + lang bar + header ---------- */
.progress { position: fixed; z-index: 100; top: 0; left: 0; right: 0; height: 3px; background: var(--yellow); transform-origin: 0 50%; transform: scaleX(0); }
:root[dir="rtl"] .progress { transform-origin: 100% 50%; }

.langbar { background: #000; color: var(--on-ink-2); font-size: 13px; }
.langbar__in { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.langbar__note { display: flex; align-items: center; gap: 10px; }
.langs { display: flex; align-items: center; gap: 4px; }
.langs__ic { width: 16px; height: 16px; margin-inline-end: 6px; color: var(--on-ink-3); }
.langs button {
  min-width: 38px; height: 32px; padding-inline: 9px; border-radius: 6px;
  font: 800 13px/1 var(--font); letter-spacing: .04em; color: var(--on-ink-2);
  transition: background-color .2s, color .2s;
}
.langs button:hover { background: var(--ink-4); color: var(--on-ink); }
.langs button[aria-pressed="true"] { background: var(--yellow); color: var(--ink); }
.langs button[lang="ar"] { font-family: "Cairo", sans-serif; font-size: 14px; letter-spacing: 0; }

.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--wa); flex: none; animation: pulse 2s infinite; }

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 14, 12, .94); color: var(--on-ink);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-d);
}
.header__in { height: var(--header-h); display: flex; align-items: center; gap: 32px; transition: height .3s var(--ease); }
.header.is-scrolled .header__in { height: 62px; }

.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo__mark { width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; background: var(--yellow); color: var(--ink); }
.logo__mark svg { width: 24px; height: 24px; }
.logo__word { font: 900 23px/1 "Roboto Flex", sans-serif; font-stretch: 140%; text-transform: uppercase; letter-spacing: .02em; }

.nav { display: flex; gap: 28px; margin-inline-start: auto; }
.nav a { position: relative; padding-block: 8px; font-weight: 700; font-size: 15px; color: var(--on-ink-2); white-space: nowrap; transition: color .2s; }
.nav a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
:root[dir="rtl"] .nav a::after { transform-origin: right; }
.nav a:hover { color: var(--on-ink); }
.nav a:hover::after { transform: scaleX(1); }
.header__cta { display: flex; gap: 8px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); color: var(--on-ink); padding-block: clamp(48px, 7vw, 96px) clamp(80px, 9vw, 128px); }
.hero__grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line-d) 1px, transparent 1px), linear-gradient(90deg, var(--line-d) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 20% 30%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 80% at 20% 30%, #000, transparent 75%);
  opacity: .55;
}
.hero__in { position: relative; z-index: 2; }
.hero__in > * { max-width: min(700px, 54vw); }
.hero__title { margin-bottom: 26px; }
.hero__title em { color: var(--yellow); }
.hero__lead { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; color: var(--on-ink-2); max-width: 56ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.live {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 26px;
  padding: 11px 18px; border-radius: 999px; border: 1px solid var(--line-d); background: var(--ink-2);
  font-size: 15px; font-weight: 600; color: var(--on-ink-2);
}
.live strong { color: var(--yellow); font-weight: 800; }
.live__sep { width: 1px; height: 16px; background: var(--line-d); }

.stats { display: grid; grid-template-columns: repeat(2, auto); justify-content: start; align-items: end; gap: 20px 56px; margin-top: 52px; padding-top: 28px; border-top: 1px solid var(--line-d); }
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat__n { font: 900 clamp(34px, 4vw, 52px)/1 "Roboto Flex", sans-serif; font-stretch: 130%; color: var(--on-ink); direction: ltr; unicode-bidi: isolate; font-variant-numeric: tabular-nums; }
:root[dir="rtl"] .stat__n { text-align: start; }
/* Word instead of a number ("All of Europe"): same weight, smaller, follows text direction */
.stat__n--word { font-size: clamp(28px, 3vw, 44px); line-height: 1.05; text-transform: uppercase; direction: inherit; unicode-bidi: normal; text-wrap: balance; }
:root[dir="rtl"] .stat__n--word { font-family: var(--font); text-transform: none; }.stat span { font-size: 14px; color: var(--on-ink-3); }

/* Moving wall of real stock photos (desktop) */
.hero__wall {
  position: absolute; z-index: 1; top: -40px; bottom: -40px; inset-inline-end: 0; width: 44%;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding-inline: 14px;
  transform: rotate(-4deg); transform-origin: center;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 28%);
  mask-image: linear-gradient(90deg, transparent, #000 28%);
}
:root[dir="rtl"] .hero__wall { transform: rotate(4deg); -webkit-mask-image: linear-gradient(-90deg, transparent, #000 28%); mask-image: linear-gradient(-90deg, transparent, #000 28%); }
.wall__col { display: flex; flex-direction: column; animation: wall-up 60s linear infinite; will-change: transform; }
.wall__col:nth-child(2) { animation-name: wall-down; animation-duration: 74s; }
.wall__col:nth-child(3) { animation-duration: 52s; }
.wall__col img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; margin-bottom: 14px; filter: saturate(.85) brightness(.8); }
.hero__strip { display: none; }

/* Hazard band */
.band-wrap { position: relative; z-index: 3; overflow: hidden; margin-top: -40px; padding-block: 16px 22px; pointer-events: none; }
.band { background: var(--yellow); color: var(--ink); transform: rotate(-1.5deg); margin-inline: -24px; border-block: 3px solid var(--ink); box-shadow: 0 18px 40px -20px rgba(0,0,0,.5); }
.band__track { display: flex; width: max-content; direction: ltr; padding-block: 15px; animation: marquee 34s linear infinite; }
.band__item { display: inline-flex; align-items: center; gap: 24px; padding-inline-end: 24px; font: 900 22px/1 "Roboto Flex", "Cairo", sans-serif; font-stretch: 125%; text-transform: uppercase; white-space: nowrap; }
.band__item::after { content: ""; width: 13px; height: 13px; background: var(--ink); transform: rotate(45deg); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--light { background: var(--paper); color: var(--text); }
.section--dark { background: var(--ink); color: var(--on-ink); }
.section--dark .h2 em { color: var(--yellow); }
.section--light .h2 em {
  background: linear-gradient(var(--yellow), var(--yellow)) no-repeat 0 92% / 0% 34%;
  transition: background-size 1.1s var(--ease-out) .35s;
  padding-inline: .06em; margin-inline: -.06em;
}
:root[dir="rtl"] .section--light .h2 em { background-position: 100% 92%; }
.section--light .reveal.in .h2 em, .section--light .in .h2 em { background-size: 100% 34%; }
#pallets { padding-top: clamp(56px, 7vw, 96px); }

.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 20px 56px; align-items: end; margin-bottom: clamp(32px, 4vw, 52px); }
.sec-head--single { grid-template-columns: 1fr; }
.sec-head__side { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.sec-lead { font-size: 16.5px; line-height: 1.6; color: var(--text-2); text-wrap: pretty; }
.section--dark .sec-lead { color: var(--on-ink-2); }

.seg { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--white); border: 2px solid var(--ink); }
.seg button { direction: ltr; height: 40px; padding-inline: 14px; border-radius: 8px; font: 800 14px/1 var(--font); color: var(--text-2); transition: background-color .2s, color .2s; }
.seg button:hover { color: var(--text); }
.seg button[aria-pressed="true"] { background: var(--yellow); color: var(--ink); }

/* ---------- Pallet cards (core offer) ---------- */
.pallets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pcard {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.pcard:hover { transform: translateY(-4px); box-shadow: 0 28px 60px -28px rgba(0, 0, 0, .4); }
.pcard--feature { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.media { position: relative; display: block; width: 100%; overflow: hidden; background: var(--ink-2); }
.pcard .media { aspect-ratio: 4 / 3; }
.pcard--feature .media { aspect-ratio: auto; min-height: 460px; height: 100%; }
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.pcard:hover .media img, .lcard:hover .media img { transform: scale(1.05); }
.media__badge {
  position: absolute; z-index: 3; top: 14px; inset-inline-start: 14px;
  padding: 7px 11px; border-radius: 6px; background: var(--ink); color: var(--yellow);
  font: 800 12px/1 var(--font); letter-spacing: .1em; text-transform: uppercase;
}
:root[dir="rtl"] .media__badge { text-transform: none; font-size: 13px; }
.nophoto {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px;
  background: repeating-linear-gradient(-45deg, #141412 0 22px, #1B1B18 22px 44px);
  color: var(--yellow); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.nophoto svg { width: 72px; height: 72px; }
.nophoto span { color: var(--on-ink-3); }

/* Yellow wipe that reveals each photo as it scrolls in */
.js .media::after { content: ""; position: absolute; inset: 0; z-index: 2; background: var(--yellow); transform: scaleX(1); transform-origin: 100% 50%; transition: transform .9s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms + .1s); }
:root[dir="rtl"].js .media::after { transform-origin: 0 50%; }
.js .in .media::after, .js .media.in::after { transform: scaleX(0); }

.pcard__body { display: flex; flex-direction: column; gap: 14px; flex: 1; padding: 24px; }
.pcard__ref { font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.pcard__name { font: 850 23px/1.12 var(--font); font-stretch: 112%; text-wrap: balance; }
.pcard__name button { text-align: start; }
.pcard__name button:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.pcard--feature .pcard__name { font-size: clamp(26px, 2.4vw, 34px); }
.pcard__note { color: var(--text-2); font-size: 15.5px; }
:root[dir="rtl"] .pcard__name { font-stretch: 100%; line-height: 1.45; }

.specs-row { display: flex; flex-wrap: wrap; gap: 6px; }
.specs-row li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border-radius: 8px; background: var(--paper); font-size: 14px; font-weight: 700; }
.specs-row .ic { width: 17px; height: 17px; color: var(--text-2); }

.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: auto; padding-top: 16px; border-top: 2px dashed var(--line); }
.price strong { font: 900 38px/1 "Roboto Flex", sans-serif; font-stretch: 118%; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.price__unit { font-size: 15px; font-weight: 700; color: var(--text-2); }
.price__pc { flex-basis: 100%; font-size: 13.5px; color: var(--text-3); }
.pcard__actions { display: grid; grid-template-columns: minmax(0, 1fr) 54px; gap: 8px; }
.pcard__actions .btn--wa { white-space: normal; line-height: 1.15; }
.btn-more { width: 54px; height: 54px; border-radius: var(--r); display: grid; place-items: center; border: 2px solid var(--line); transition: border-color .2s, background-color .2s, transform .2s; }
.btn-more:hover { border-color: var(--ink); background: var(--paper); }
.btn-more:active { transform: scale(.95); }

/* Truckload card */
.truck {
  position: relative; display: flex; flex-direction: column; gap: 14px; min-width: 0;
  padding: 34px 26px 26px; border-radius: var(--r-lg); overflow: hidden;
  background: var(--ink); color: var(--on-ink);
}
.truck::before { content: ""; position: absolute; inset: 0 0 auto; height: 12px; background: repeating-linear-gradient(-45deg, var(--yellow) 0 14px, var(--ink) 14px 28px); }
.truck__ic { width: 64px; height: 64px; border-radius: 14px; display: grid; place-items: center; background: var(--yellow); color: var(--ink); }
.truck__ic .ic { width: 34px; height: 34px; }
.truck h3 { font: 900 28px/1.02 var(--font); font-stretch: var(--wide); text-transform: uppercase; margin-top: 8px; }
:root[dir="rtl"] .truck h3 { text-transform: none; line-height: 1.4; }
.truck p { color: var(--on-ink-2); }
.truck .btn { margin-top: auto; }
.js .truck .truck__ic { transform: scale(.6) rotate(-12deg); opacity: 0; transition: transform .7s var(--ease-out) .3s, opacity .4s .3s; }
.js .truck.in .truck__ic { transform: none; opacity: 1; }

/* ---------- Why ---------- */
.why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.why__item { padding: 28px 24px; border-radius: var(--r-lg); background: var(--ink-2); border: 1px solid var(--line-d); transition: border-color .3s, transform .35s var(--ease); }
.why__item:hover { border-color: rgba(255, 208, 0, .5); transform: translateY(-3px); }
.why__ic { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--yellow); color: var(--ink); margin-bottom: 22px; }
.why__ic .ic { width: 26px; height: 26px; }
.why__item h3 { font: 800 19px/1.25 var(--font); margin-bottom: 8px; }
.why__item p { color: var(--on-ink-2); font-size: 15.5px; }

/* ---------- Other lots (secondary) ---------- */
.section--lots { padding-top: clamp(56px, 7vw, 96px); }
.lots { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 16px; }
.lcard {
  display: flex; flex-direction: column; min-width: 0; overflow: hidden;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.lcard:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .35); }
.lcard .media { aspect-ratio: 4 / 3; }
.lcard .media__badge { top: 10px; inset-inline-start: 10px; padding: 6px 9px; font-size: 11px; }
.lcard__body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 14px 14px 14px; }
.lcard__name { font: 800 16px/1.25 var(--font); }
.lcard__name button { text-align: start; }
.lcard__meta { font-size: 13.5px; color: var(--text-3); }
.lcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; }
.lcard__price { font: 900 21px/1 "Roboto Flex", sans-serif; font-stretch: 112%; font-variant-numeric: tabular-nums; }
.iconbtn { width: 46px; height: 46px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--wa); color: var(--wa-ink); transition: background-color .2s, transform .2s; }
.iconbtn:hover { background: var(--wa-2); transform: translateY(-1px); }
.iconbtn:active { transform: scale(.94); }
.stamp {
  position: absolute; z-index: 3; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-12deg);
  padding: 6px 14px; border: 3px solid var(--red); border-radius: 6px; background: rgba(255, 255, 255, .88); color: var(--red);
  font: 900 20px/1 var(--font); font-stretch: 125%; text-transform: uppercase; letter-spacing: .06em;
}
.is-sold .media img { filter: grayscale(1); opacity: .6; }
.is-sold .lcard__price { color: var(--text-3); text-decoration: line-through; }
.fineprint { margin-top: 36px; font-size: 13px; color: var(--text-3); }

/* ---------- Steps ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.steps::before { content: ""; position: absolute; top: 33px; inset-inline: 34px; height: 3px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease-out) .2s; }
:root[dir="rtl"] .steps::before { transform-origin: right; }
.js .steps.reveal { opacity: 1; transform: none; }
.steps.in::before { transform: scaleX(1); }
.step { position: relative; }
.step__n {
  position: relative; z-index: 1; display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%;
  background: var(--ink); border: 3px solid var(--yellow); color: var(--yellow);
  font: 900 28px/1 "Roboto Flex", sans-serif; font-stretch: 125%;
}
.js .step__n { transform: scale(.4); opacity: 0; transition: transform .6s var(--ease-out), opacity .4s, background-color .3s, color .3s; transition-delay: calc(var(--i) * 280ms + .2s); }
.js .steps.in .step__n { transform: none; opacity: 1; }
.step:hover .step__n { background: var(--yellow); color: var(--ink); }
.step h3 { margin-top: 22px; font: 800 20px/1.25 var(--font); }
.step p { margin-top: 8px; color: var(--on-ink-2); font-size: 15.5px; }
.js .step h3, .js .step p { opacity: 0; transform: translateY(12px); transition: opacity .6s, transform .6s var(--ease-out); transition-delay: calc(var(--i) * 280ms + .35s); }
.js .steps.in .step h3, .js .steps.in .step p { opacity: 1; transform: none; }

/* ---------- Delivery tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tile { display: flex; flex-direction: column; gap: 12px; padding: clamp(26px, 3vw, 36px); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.tile__ic { width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center; background: var(--ink); color: var(--yellow); margin-bottom: 18px; }
.tile__ic .ic { width: 28px; height: 28px; }
.tile h3 { font: 850 23px/1.15 var(--font); font-stretch: 110%; }
.tile p { color: var(--text-2); }
.tile--hot { background: var(--yellow); border-color: var(--yellow); }
.tile--hot p { color: rgba(14, 14, 12, .78); }
.tile--hot .btn { margin-top: auto; }
.tile--hot p + .btn { margin-top: 14px; }

/* ---------- Contact ---------- */
.contact { background: var(--yellow); color: var(--ink); padding-block: clamp(64px, 9vw, 120px); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 540px); gap: clamp(36px, 5vw, 80px); align-items: center; }
.contact__grid > *, .sec-head > *, .hero__in > * { min-width: 0; }
.contact__title { font-size: clamp(40px, 5.4vw, 88px); margin-bottom: 24px; }
.contact__title em { color: transparent; -webkit-text-stroke: 2px var(--ink); }
:root[dir="rtl"] .contact__title em { color: var(--ink); -webkit-text-stroke: 0; text-decoration: underline 4px; text-underline-offset: 10px; }
.contact__lead { font-size: 18px; max-width: 46ch; color: rgba(14, 14, 12, .8); }
.contact__list { display: flex; flex-direction: column; gap: 10px; }
.cbig {
  display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 14px;
  background: var(--ink); color: var(--on-ink);
  transition: transform .3s var(--ease), box-shadow .3s;
}
a.cbig:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -18px rgba(0, 0, 0, .55); }
a.cbig:active { transform: scale(.98); }
.cbig__ic { width: 50px; height: 50px; border-radius: 12px; flex: none; display: grid; place-items: center; background: var(--ink-4); color: var(--yellow); }
.cbig--wa .cbig__ic { background: var(--wa); color: var(--wa-ink); }
.cbig__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.cbig__l { font-size: 13px; color: var(--on-ink-3); }
.cbig__v { font-size: 19px; font-weight: 800; overflow-wrap: anywhere; }
.cbig__v--sm { font-size: 15.5px; font-weight: 600; }
.cbig__go { color: var(--on-ink-3); transition: transform .3s var(--ease), color .2s; }
a.cbig:hover .cbig__go { color: var(--yellow); transform: translateX(4px); }
:root[dir="rtl"] a.cbig:hover .cbig__go { transform: scaleX(-1) translateX(4px); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--on-ink-2); font-size: 14.5px; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 40px; padding-block: 56px 40px; }
.footer .logo { color: var(--on-ink); }
.footer__tag { margin-top: 18px; max-width: 34ch; }
.footer__nav { display: flex; flex-direction: column; gap: 10px; }
.footer__nav a:hover { color: var(--yellow); }
.footer__h { color: var(--on-ink); font-weight: 800; margin-bottom: 10px; }
.footer__company { line-height: 1.8; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; padding-block: 22px 28px; border-top: 1px solid var(--line-d); font-size: 13px; }

/* ---------- Modal ---------- */
.modal {
  width: min(1000px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 40px);
  padding: 0; border: 0; border-radius: 18px; overflow: hidden; background: var(--white); color: var(--text);
  box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .7);
}
.modal::backdrop { background: rgba(0, 0, 0, .72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal[open] { animation: modal-in .45s var(--ease-out); }
.modal__in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); max-height: calc(100dvh - 40px); }
.modal__media { position: relative; min-height: 560px; overflow: hidden; background: var(--ink-2); }
.modal__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.modal__body { display: flex; flex-direction: column; padding: clamp(26px, 3.5vw, 44px); overflow-y: auto; }
.modal__body .tag { margin-bottom: 14px; }
.modal__title { font: 900 clamp(26px, 2.8vw, 36px)/1.08 var(--font); font-stretch: 112%; text-wrap: balance; }
:root[dir="rtl"] .modal__title { font-stretch: 100%; line-height: 1.4; }
.modal__note { margin-top: 14px; color: var(--text-2); }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 24px; }
.specs div { padding: 12px 14px; border-radius: 10px; background: var(--paper); }
.specs dt { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 3px; }
:root[dir="rtl"] .specs dt { text-transform: none; font-size: 13px; }
.specs dd { font-weight: 800; font-size: 16px; }
.modal__price { display: flex; flex-direction: column; gap: 4px; margin-top: 24px; padding-top: 18px; border-top: 2px dashed var(--line); }
.modal__price-l { font-size: 13.5px; font-weight: 700; color: var(--text-3); }
.modal__price strong { font: 900 44px/1.05 "Roboto Flex", sans-serif; font-stretch: 118%; font-variant-numeric: tabular-nums; }
.modal__price-per { font-size: 14px; color: var(--text-2); }
.soldnote { margin-top: 16px; padding: 12px 14px; border-radius: 10px; background: #FDECEB; color: #8C1C18; font-weight: 600; font-size: 14.5px; }
.modal__ctas { display: flex; flex-direction: column; gap: 8px; margin-top: auto; padding-top: 26px; }
.modal__ctas-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.modal__close { position: absolute; z-index: 5; top: 14px; inset-inline-end: 14px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--white); box-shadow: 0 6px 20px -6px rgba(0, 0, 0, .35); transition: transform .3s var(--ease); }
.modal__close:hover { transform: rotate(90deg); }
body.modal-open { overflow: hidden; }

/* ---------- Reveal + headline words ---------- */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.js .reveal.in { opacity: 1; transform: none; }
.js .pcard.reveal, .js .lcard.reveal { transition-delay: calc(var(--i, 0) * 90ms); }
.js .pcard.reveal.in:hover, .js .lcard.reveal.in:hover { transition-delay: 0s; }

.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-top: .14em; margin-top: -.14em; padding-bottom: .06em; margin-bottom: -.06em; }
.split .w__i { display: inline-block; transform: translateY(110%); transition: transform .9s var(--ease-out); transition-delay: calc(var(--i) * 60ms + .1s); }
.split.go .w__i { transform: none; }

/* ---------- Keyframes ---------- */
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes wall-up { to { transform: translateY(-50%); } }
@keyframes wall-down { from { transform: translateY(-50%); } to { transform: translateY(0); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .6); } 70% { box-shadow: 0 0 0 9px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
@keyframes modal-in { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes sheet-in { from { transform: translateY(60px); opacity: 0; } to { transform: none; opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .split .w__i { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .nav { display: none; }
  .header__cta { margin-inline-start: auto; }
  .why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact__grid { grid-template-columns: 1fr; }
  .contact__list { max-width: 640px; }
}

@media (max-width: 960px) {
  .hero__wall { display: none; }
  .hero__in > * { max-width: 700px; }
  .hero__strip { display: block; margin: 36px calc(var(--gutter) * -1) 0; max-width: none; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
  .strip__track { display: flex; gap: 10px; width: max-content; direction: ltr; animation: marquee 40s linear infinite; }
  .strip__track img { width: 108px; height: 136px; object-fit: cover; border-radius: 10px; filter: saturate(.85) brightness(.85); }

  .sec-head { grid-template-columns: 1fr; }
  .pallets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pcard--feature { grid-template-columns: 1fr; }
  .pcard--feature .media { aspect-ratio: 16 / 10; min-height: 0; height: auto; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 28px; }
  .steps::before { display: none; }
  .tiles { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }

  .modal__in { grid-template-columns: 1fr; overflow-y: auto; }
  .modal__media { min-height: 0; aspect-ratio: 4 / 3; }
  .modal__body { overflow: visible; }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }
  body { font-size: 16.5px; }
  .langbar__note { display: none; }
  .langbar__in { justify-content: center; min-height: 46px; }
  .langs__ic { display: none; }
  .langs { gap: 3px; }
  .langs button { min-width: 0; height: 34px; padding-inline: 8px; font-size: 13px; }
  .header__in { gap: 12px; }
  .header.is-scrolled .header__in { height: 58px; }
  .logo__word { font-size: 20px; }
  .logo__mark { width: 34px; height: 34px; }
  .hide-md { display: none; }
  .header .js-tel { width: 44px; padding: 0; }

  .display { font-size: clamp(30px, 9.4vw, 44px); }
  :root:not([dir="rtl"]) .display { font-stretch: 112%; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .live { font-size: 14px; border-radius: 14px; }
  .stats { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 12px 20px; margin-top: 36px; }
  .stat__n { font-size: 30px; font-stretch: 115%; }
  .stat__n--word { font-size: 22px; }
  .stat span { font-size: 12.5px; line-height: 1.35; }

  .band__item { font-size: 17px; gap: 18px; padding-inline-end: 18px; }
  .band__track { padding-block: 12px; }

  .h2 { font-size: clamp(28px, 8vw, 38px); }
  :root:not([dir="rtl"]) .h2 { font-stretch: 112%; }
  .pallets { grid-template-columns: 1fr; gap: 16px; }
  .pcard--feature { grid-column: auto; }
  .pcard__body { padding: 18px; gap: 12px; }
  .pcard__name { font-size: 21px; }
  .price strong { font-size: 34px; }

  .why { grid-template-columns: 1fr; gap: 10px; }
  .why__item { display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; padding: 20px; }
  .why__ic { grid-row: span 2; margin: 0; }
  .why__item h3 { margin-bottom: 4px; }

  .lots { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .lcard__body { padding: 12px; }
  .lcard__name { font-size: 14.5px; }
  .lcard__price { font-size: 18px; }
  .iconbtn { width: 42px; height: 42px; }

  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; padding-bottom: 28px; }
  .step::before { content: ""; position: absolute; top: 56px; bottom: 0; inset-inline-start: 27px; width: 2px; background: var(--ink-4); }
  .step:last-child::before { display: none; }
  .step__n { width: 56px; height: 56px; font-size: 22px; grid-row: span 2; }
  .step h3 { margin-top: 12px; }

  .contact__title { font-size: clamp(28px, 8.6vw, 48px); }
  :root:not([dir="rtl"]) .contact__title { font-stretch: 108%; }
  .cbig { padding: 14px 16px; gap: 14px; }
  .cbig__ic { width: 46px; height: 46px; }
  .cbig__v { font-size: 17.5px; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; gap: 6px; }

  .modal { width: 100%; max-height: 94dvh; margin: auto 0 0; border-radius: 20px 20px 0 0; }
  .modal[open] { animation: sheet-in .45s var(--ease-out); }
  .modal__in { max-height: 94dvh; }
  .modal__price strong { font-size: 36px; }
  .modal__ctas { position: sticky; bottom: 0; background: var(--white); margin: 22px calc(clamp(26px, 3.5vw, 44px) * -1) calc(clamp(26px, 3.5vw, 44px) * -1); padding: 14px clamp(26px, 3.5vw, 44px) calc(14px + env(safe-area-inset-bottom)); box-shadow: 0 -1px 0 var(--line); }
}
