/* ============================================================
   SISTEMA SPEDIZIONI — Design System
   Dark ethereal-glass aesthetic · brand accent #ff9420
   ============================================================ */

:root {
  --bg: #060607;
  --bg-2: #0a0a0d;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.055);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f4f2ee;
  --text-dim: rgba(244, 242, 238, 0.62);
  --text-faint: rgba(244, 242, 238, 0.38);
  --accent: #ff9420;
  --accent-deep: #c96a00;
  --accent-glow: rgba(255, 148, 32, 0.14);
  --ease-out: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-spring: cubic-bezier(0.22, 1.2, 0.36, 1);
  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --radius-xl: 2rem;
  --radius-inner: calc(2rem - 0.5rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* body alone doesn't stop sideways panning on iOS — html must clamp too */
  overflow-x: hidden;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: #0a0a0a; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- film grain ---------- */
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- ambient orbs ---------- */
.orb-field {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0;
}
.orb {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5;
}
.orb--amber { background: radial-gradient(circle, rgba(255,148,32,0.35), transparent 65%); }
.orb--blue  { background: radial-gradient(circle, rgba(56,130,246,0.22), transparent 65%); }

/* ============================================================
   NAV — floating glass island
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: center;
  padding: 1.5rem 1rem 0;
  pointer-events: none;
}
.nav__pill {
  pointer-events: auto;
  display: flex; align-items: center; gap: 2rem;
  padding: 0.6rem 0.6rem 0.6rem 1.4rem;
  border-radius: 999px;
  background: rgba(10, 10, 13, 0.55);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.06), 0 24px 60px -20px rgba(0,0,0,0.8);
  transition: border-color 0.7s var(--ease-out), background 0.7s var(--ease-out);
}
.nav__pill:hover { border-color: var(--line-strong); }
.nav__logo img { height: 30px; width: auto; }
.nav__links { display: flex; gap: 1.7rem; }
.nav__links a {
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.02em;
  color: var(--text-dim);
  transition: color 0.5s var(--ease-out);
  position: relative;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -4px; height: 1px; width: 100%;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform 0.6s var(--ease-out);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__links a.is-active { color: var(--text); }

.nav__cta {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: var(--text); color: #0a0a0a;
  font-size: 0.8rem; font-weight: 600;
  padding: 0.55rem 0.55rem 0.55rem 1.1rem;
  border-radius: 999px;
  transition: transform 0.5s var(--ease-spring), background 0.5s var(--ease-out);
}
.nav__cta .ico {
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(0,0,0,0.1);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.5s var(--ease-spring);
}
.nav__cta:hover { transform: scale(1.03); background: var(--accent); }
.nav__cta:hover .ico { transform: translate(2px, -1px); }
.nav__cta:active { transform: scale(0.97); }

/* hamburger */
.nav__burger {
  pointer-events: auto;
  display: none;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.06); border: 1px solid var(--line);
  cursor: pointer; position: relative;
  transition: background 0.5s var(--ease-out);
}
.nav__burger span {
  position: absolute; left: 50%; top: 50%;
  width: 18px; height: 1.5px; background: var(--text);
  transition: transform 0.6s var(--ease-spring);
}
.nav__burger span:nth-child(1) { transform: translate(-50%, calc(-50% - 4px)); }
.nav__burger span:nth-child(2) { transform: translate(-50%, calc(-50% + 4px)); }
body.menu-open .nav__burger span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
body.menu-open .nav__burger span:nth-child(2) { transform: translate(-50%, -50%) rotate(-45deg); }

/* fullscreen menu */
.menu {
  position: fixed; inset: 0; z-index: 95;
  background: rgba(6, 6, 7, 0.82);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 clamp(1.5rem, 8vw, 8rem);
  opacity: 0; visibility: hidden;
  transition: opacity 0.7s var(--ease-out), visibility 0.7s;
}
body.menu-open .menu { opacity: 1; visibility: visible; }
.menu a {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 7vw, 4.5rem);
  font-weight: 500; line-height: 1.25;
  color: var(--text-dim);
  overflow: hidden; display: block; width: max-content;
  transition: color 0.5s var(--ease-out);
}
.menu a:hover { color: var(--accent); }
.menu a span {
  display: block;
  transform: translateY(110%); opacity: 0;
  transition: transform 0.9s var(--ease-out), opacity 0.9s var(--ease-out);
}
body.menu-open .menu a span { transform: translateY(0); opacity: 1; }
.menu a:nth-child(1) span { transition-delay: 0.08s; }
.menu a:nth-child(2) span { transition-delay: 0.14s; }
.menu a:nth-child(3) span { transition-delay: 0.20s; }
.menu a:nth-child(4) span { transition-delay: 0.26s; }
.menu a:nth-child(5) span { transition-delay: 0.32s; }
.menu a:nth-child(6) span { transition-delay: 0.38s; }
.menu a:nth-child(7) span { transition-delay: 0.44s; }
.menu__meta {
  margin-top: 3rem; display: flex; gap: 2.5rem; flex-wrap: wrap;
  font-size: 0.85rem; color: var(--text-faint);
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.8s var(--ease-out) 0.4s, transform 0.8s var(--ease-out) 0.4s;
}
body.menu-open .menu__meta { opacity: 1; transform: translateY(0); }

/* ============================================================
   TYPOGRAPHY & PRIMITIVES
   ============================================================ */
.container { max-width: 1280px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 3rem); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border-radius: 999px; padding: 0.35rem 0.9rem;
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid rgba(255, 148, 32, 0.25);
}
.eyebrow::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px 2px rgba(255,148,32,0.7);
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.02em; }

.display {
  font-size: clamp(2.6rem, 6.5vw, 5.2rem);
  line-height: 1.04;
}
.display em { font-style: normal; color: var(--accent); }
.h2 { font-size: clamp(1.9rem, 4vw, 3.2rem); line-height: 1.12; }
.h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.3; }
.lead { font-size: clamp(1rem, 1.4vw, 1.2rem); color: var(--text-dim); max-width: 58ch; }
.small { font-size: 0.85rem; color: var(--text-faint); }

section { position: relative; padding: clamp(6rem, 10vw, 10rem) 0; }

.section-head {
  display: flex; flex-direction: column; gap: 1.4rem;
  max-width: 780px; margin-bottom: clamp(3rem, 6vw, 5.5rem);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.8rem;
  border-radius: 999px;
  padding: 0.7rem 0.7rem 0.7rem 1.5rem;
  font-size: 0.92rem; font-weight: 600;
  cursor: pointer; border: none; font-family: var(--font-body);
  transition: transform 0.5s var(--ease-spring), background 0.5s var(--ease-out), border-color 0.5s var(--ease-out), color 0.5s var(--ease-out);
  will-change: transform;
}
.btn .ico {
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.5s var(--ease-spring);
  flex-shrink: 0;
}
.btn:hover { transform: scale(1.03); }
.btn:hover .ico { transform: translate(2px, -2px) scale(1.05); }
.btn:active { transform: scale(0.97); }

.btn--solid { background: var(--accent); color: #140b00; }
.btn--solid .ico { background: rgba(0,0,0,0.14); }
.btn--solid:hover { background: #ffa845; }

.btn--ghost {
  background: rgba(255,255,255,0.04); color: var(--text);
  border: 1px solid var(--line-strong);
}
.btn--ghost .ico { background: rgba(255,255,255,0.08); }
.btn--ghost:hover { border-color: rgba(255,255,255,0.3); }

/* ---------- double-bezel card ---------- */
.bezel {
  background: rgba(255,255,255,0.035);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 0.5rem;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,0.7);
}
.bezel__core {
  background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-inner);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.09);
  height: 100%;
  overflow: hidden;
}

/* ---------- reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(6px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out), filter 0.9s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.reveal.is-in { opacity: 1; transform: translateY(0); filter: blur(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; filter: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex; align-items: flex-end;
  padding: 0 0 clamp(3rem, 6vh, 5rem);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
}
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.08);
  animation: heroDrift 22s var(--ease-out) infinite alternate;
}
@keyframes heroDrift {
  from { transform: scale(1.08) translateX(0); }
  to   { transform: scale(1.14) translateX(-1.5%); }
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 58% 72% at 76% 42%, rgba(4,4,6,0.55) 30%, transparent 75%),
    linear-gradient(to top, var(--bg) 2%, rgba(6,6,7,0.5) 34%, rgba(6,6,7,0.16) 65%, rgba(6,6,7,0.35) 100%);
}
.hero__inner { width: 100%; }
.hero__tags { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.hero__tag {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-dim);
  border: 1px solid var(--line-strong);
  border-radius: 999px; padding: 0.4rem 0.95rem;
  background: rgba(6,6,7,0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero h1 { max-width: 15ch; }
.hero__row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 3rem; margin-top: 2.4rem; flex-wrap: wrap;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__note { max-width: 34ch; font-size: 0.9rem; color: var(--text-dim); }

/* scroll hint */
.hero__scroll {
  position: absolute; right: clamp(1.5rem, 4vw, 3rem); bottom: clamp(3rem, 6vh, 5rem);
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim);
  animation: bob 3s var(--ease-out) infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.2rem 0;
  overflow: hidden;
  background: var(--bg-2);
  display: flex;
}
.marquee__track {
  display: flex; gap: 3.5rem; flex-shrink: 0;
  padding-right: 3.5rem;
  animation: marquee 42s linear infinite;
  white-space: nowrap;
  align-items: center;
}
.marquee__track span {
  font-family: var(--font-display);
  font-size: 0.95rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-faint);
  display: inline-flex; align-items: center; gap: 3.5rem;
}
.marquee__track span::after { content: "✦"; color: var(--accent); font-size: 0.7rem; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ============================================================
   STATS
   ============================================================ */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.stat { padding: 1.8rem 1.6rem; }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.5vw, 3.4rem);
  font-weight: 500; letter-spacing: -0.03em;
  color: var(--text);
  /* counting numbers must never reflow the card */
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.stat__num em { font-style: normal; color: var(--accent); font-size: 0.6em; vertical-align: 0.28em; margin-left: 2px; }
.stat__label { font-size: 0.82rem; color: var(--text-faint); margin-top: 0.4rem; letter-spacing: 0.04em; }

/* ============================================================
   BENTO SERVICES
   ============================================================ */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}
.bento__item { grid-column: span 4; min-height: 340px; position: relative; }
.bento__item--wide { grid-column: span 8; }
.bento__item--tall { min-height: 420px; }

.svc { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; }
.svc__img {
  position: absolute; inset: 0; z-index: 0;
}
.svc__img img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.01);
  transition: transform 1.2s var(--ease-out), filter 1.2s var(--ease-out);
  filter: saturate(0.85) brightness(0.8);
}
.svc::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(4,4,5,0.92) 8%, rgba(4,4,5,0.25) 55%, rgba(4,4,5,0.1));
  border-radius: inherit;
}
.svc:hover .svc__img img { transform: scale(1.06); filter: saturate(1) brightness(0.9); }
.svc__body { position: relative; z-index: 2; padding: 1.8rem; }
.svc__kicker {
  font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: 0.5rem;
}
.svc__title { font-size: clamp(1.3rem, 2vw, 1.7rem); }
.svc__desc {
  color: var(--text-dim); font-size: 0.9rem; max-width: 46ch;
  margin-top: 0.5rem;
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height 0.8s var(--ease-out), opacity 0.8s var(--ease-out), margin-top 0.8s var(--ease-out);
}
.svc:hover .svc__desc { max-height: 130px; opacity: 1; }
.svc__arrow {
  position: absolute; top: 1.4rem; right: 1.4rem; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--text);
  transition: transform 0.6s var(--ease-spring), background 0.6s var(--ease-out), color 0.6s var(--ease-out);
}
.svc:hover .svc__arrow { transform: translate(3px, -3px) rotate(45deg); background: var(--accent); color: #140b00; }

/* ============================================================
   SPLIT / ABOUT
   ============================================================ */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.split__media { position: relative; }
.split__media .bezel__core { aspect-ratio: 4 / 4.6; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__badge {
  position: absolute; bottom: -1.4rem; left: -1.4rem;
  background: rgba(10,10,13,0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line-strong);
  border-radius: 1.4rem;
  padding: 1.2rem 1.6rem;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.8);
  transform: rotate(-2deg);
}
.split__badge strong {
  font-family: var(--font-display); font-size: 2rem; color: var(--accent); display: block; line-height: 1;
}
.split__badge span { font-size: 0.78rem; color: var(--text-dim); }
.split__list { margin-top: 2.2rem; display: flex; flex-direction: column; gap: 1.1rem; }
.split__list li {
  display: flex; gap: 1rem; align-items: flex-start;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}
.split__list li:last-child { border-bottom: none; padding-bottom: 0; }
.split__list .dot {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent-glow); border: 1px solid rgba(255,148,32,0.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 0.75rem; font-weight: 700;
  font-family: var(--font-display);
}
.split__list strong { display: block; font-weight: 600; font-size: 0.98rem; }
.split__list p { font-size: 0.88rem; color: var(--text-dim); }

/* ============================================================
   SECTORS GRID
   ============================================================ */
.sectors {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.sector {
  background: var(--bg-2);
  padding: 2rem 1.6rem;
  display: flex; flex-direction: column; gap: 0.5rem;
  transition: background 0.6s var(--ease-out);
  position: relative;
}
.sector:hover { background: #101014; }
.sector::after {
  content: "→"; position: absolute; top: 1.4rem; right: 1.4rem;
  color: var(--accent); opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.sector:hover::after { opacity: 1; transform: translateX(0); }
.sector__idx {
  font-family: var(--font-display); font-size: 0.72rem;
  color: var(--text-faint); letter-spacing: 0.15em;
}
.sector__name { font-family: var(--font-display); font-size: 1.02rem; font-weight: 500; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner { text-align: center; padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 5rem); position: relative; overflow: hidden; }
.cta-banner .display { margin: 0 auto 1.5rem; }
.cta-banner .lead { margin: 0 auto 2.5rem; }
.cta-banner__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   PARTNERS ROW
   ============================================================ */
.partners {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(2rem, 5vw, 4.5rem); flex-wrap: wrap;
  padding: 2.4rem 2rem;
}
.partners img {
  height: 44px; width: auto;
  /* full color, always */
  filter: brightness(1.15) drop-shadow(0 0 10px rgba(255, 255, 255, 0.12));
  transition: transform 0.6s var(--ease-spring);
}
.partners img:hover { transform: scale(1.16); }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  position: relative;
  padding: clamp(11rem, 20vh, 15rem) 0 clamp(4rem, 8vw, 6rem);
  overflow: hidden;
}
.page-hero h1 { max-width: 18ch; }
.page-hero .lead { margin-top: 1.4rem; }

/* ============================================================
   SERVICE DETAIL ROWS
   ============================================================ */
.svc-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  border-top: 1px solid var(--line);
}
.svc-row:first-of-type { border-top: none; }
.svc-row:nth-child(even) .svc-row__media { order: 2; }
.svc-row__media .bezel__core { aspect-ratio: 16 / 11; }
.svc-row__media img { width: 100%; height: 100%; object-fit: cover; }
.svc-row__tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 1.6rem; }
.svc-row__tags span {
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.06em;
  border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 0.35rem 0.85rem; color: var(--text-dim);
}
.svc-row__features {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1rem; margin-top: 0.5rem;
}
.svc-feat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.3rem;
  padding: 1.4rem 1.5rem;
  transition: border-color 0.6s var(--ease-out), background 0.6s var(--ease-out);
}
.svc-feat:hover { border-color: rgba(255,148,32,0.35); background: rgba(255,148,32,0.04); }
.svc-feat strong {
  display: block; font-family: var(--font-display); font-weight: 500;
  font-size: 0.98rem; margin-bottom: 0.4rem;
}
.svc-feat p { font-size: 0.86rem; color: var(--text-dim); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid; grid-template-columns: 5fr 7fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.contact-grid > *, .form__row > *, .field { min-width: 0; }
.contact-card { padding: 2.2rem; display: flex; flex-direction: column; gap: 1.6rem; }
.contact-card__item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-card__item .dot {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%;
  background: var(--accent-glow); border: 1px solid rgba(255,148,32,0.3);
  display: flex; align-items: center; justify-content: center; color: var(--accent);
}
.contact-card__item strong { display: block; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 0.2rem; }
.contact-card__item a, .contact-card__item p { font-size: 0.98rem; color: var(--text); }
.contact-card__item a:hover { color: var(--accent); }

.form { padding: 2.2rem; display: flex; flex-direction: column; gap: 1.2rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field label { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); }
.field input, .field select, .field textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 0.85rem 1.1rem;
  color: var(--text); font-family: var(--font-body); font-size: 0.95rem;
  outline: none;
  transition: border-color 0.5s var(--ease-out), background 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
  appearance: none;
}
.field select { cursor: pointer; }
.field select option { background: #131318; color: var(--text); }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: rgba(255,148,32,0.5);
  background: rgba(255,148,32,0.04);
  box-shadow: 0 0 0 4px rgba(255,148,32,0.08);
}

/* map embed */
.map-wrap .bezel__core { aspect-ratio: 21 / 9; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(0.92) contrast(0.9); }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding: clamp(4rem, 7vw, 6rem) 0 2.5rem;
  position: relative; overflow: hidden;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  margin-bottom: 4rem;
}
.footer-brand img { height: 36px; margin-bottom: 1.2rem; }
.footer-brand p { font-size: 0.88rem; color: var(--text-dim); max-width: 32ch; }
.footer-col h4 {
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-faint); margin-bottom: 1.2rem; font-family: var(--font-body);
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col a { font-size: 0.9rem; color: var(--text-dim); transition: color 0.5s var(--ease-out); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 2rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  font-size: 0.8rem; color: var(--text-faint);
}
.footer-giant {
  font-family: var(--font-display);
  font-size: clamp(3rem, 11vw, 10rem);
  font-weight: 600; letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(to bottom, rgba(255,255,255,0.1), rgba(255,255,255,0.015));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  text-align: center; margin-bottom: 3rem;
  user-select: none; white-space: nowrap;
}

/* ============================================================
   HERO GLOBE
   ============================================================ */
.hero__globe {
  position: absolute;
  top: 50%; right: -12%;
  width: min(62vw, 880px);
  aspect-ratio: 1;
  transform: translateY(-54%);
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.6s var(--ease-out);
}
.hero__globe.is-ready { opacity: 1; }
.hero__globe canvas { width: 100%; height: 100%; display: block; }
.hero__inner { position: relative; z-index: 2; }

/* ============================================================
   LANGUAGE SWITCHER
   ============================================================ */
.lang {
  position: relative;
}
.lang__btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-dim);
  font-family: var(--font-body);
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em;
  padding: 0.5rem 0.85rem;
  cursor: pointer;
  transition: color 0.5s var(--ease-out), border-color 0.5s var(--ease-out);
}
.lang__btn:hover { color: var(--text); border-color: var(--line-strong); }
.lang__btn svg { transition: transform 0.5s var(--ease-spring); }
.lang.open .lang__btn svg { transform: rotate(180deg); }
.lang__list {
  position: absolute; top: calc(100% + 0.7rem); right: 0;
  min-width: 150px;
  background: rgba(12, 12, 16, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--line-strong);
  border-radius: 1.2rem;
  padding: 0.45rem;
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(0.98);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-spring), visibility 0.5s;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.8);
}
.lang.open .lang__list { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.lang__list button {
  display: flex; align-items: center; gap: 0.6rem;
  background: none; border: none; cursor: pointer;
  font-family: var(--font-body); font-size: 0.85rem;
  color: var(--text-dim);
  padding: 0.55rem 0.8rem;
  border-radius: 0.8rem;
  text-align: left;
  transition: background 0.4s var(--ease-out), color 0.4s var(--ease-out);
}
.lang__list button:hover { background: rgba(255,255,255,0.06); color: var(--text); }
.lang__list button.is-current { color: var(--accent); }
.lang__list button .code {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em;
  width: 26px; color: var(--text-faint);
}
.menu__langs { display: flex; gap: 0.5rem; margin-top: 2rem; flex-wrap: wrap;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.8s var(--ease-out) 0.45s, transform 0.8s var(--ease-out) 0.45s;
}
body.menu-open .menu__langs { opacity: 1; transform: translateY(0); }
.menu__langs button {
  background: rgba(255,255,255,0.06); border: 1px solid var(--line);
  border-radius: 999px; padding: 0.5rem 1rem;
  color: var(--text-dim); font-family: var(--font-body);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em;
  cursor: pointer;
  transition: color 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
}
.menu__langs button.is-current { color: var(--accent); border-color: rgba(255,148,32,0.4); }

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews { position: relative; }
.reviews__track {
  display: flex; gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 0.25rem;
  margin: 0 -0.25rem;
}
.reviews__track::-webkit-scrollbar { display: none; }
.review {
  flex: 0 0 min(420px, 82vw);
  scroll-snap-align: start;
  display: flex; flex-direction: column;
}
.review .bezel__core {
  padding: 2rem;
  display: flex; flex-direction: column; gap: 1.2rem;
  height: 100%;
}
.review__quote {
  font-family: var(--font-display);
  font-size: 3rem; line-height: 0.5;
  color: var(--accent);
  height: 1.4rem;
  user-select: none;
}
.review__text { font-size: 0.94rem; color: var(--text-dim); flex: 1; }
.review__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.review__name {
  font-family: var(--font-display); font-weight: 500; font-size: 0.95rem;
  display: flex; align-items: center; gap: 0.7rem;
}
.review__name::before {
  content: ""; width: 26px; height: 1px; background: var(--accent);
}
.review__logo {
  height: 32px; width: auto; max-width: 115px; object-fit: contain;
  /* full color, always — a soft glow keeps dark marks readable on the dark theme */
  filter: brightness(1.15) drop-shadow(0 0 10px rgba(255, 255, 255, 0.12));
}
.reviews__nav { display: flex; gap: 0.7rem; margin-top: 1.8rem; }
.reviews__nav button {
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line-strong);
  color: var(--text);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.5s var(--ease-out), transform 0.5s var(--ease-spring), color 0.5s var(--ease-out);
}
.reviews__nav button:hover { background: var(--accent); color: #140b00; transform: scale(1.06); }
.reviews__nav button:active { transform: scale(0.95); }

/* social icons */
.socials { display: flex; gap: 0.7rem; margin-top: 1.6rem; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.04);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim);
  transition: color 0.5s var(--ease-out), border-color 0.5s var(--ease-out), transform 0.5s var(--ease-spring);
}
.socials a:hover { color: var(--accent); border-color: rgba(255,148,32,0.4); transform: translateY(-2px); }

/* ============================================================
   MAIL OPTIONS MODAL
   ============================================================ */
.mailbox {
  position: fixed; inset: 0; z-index: 120;
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  background: rgba(4, 4, 6, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.5s var(--ease-out), visibility 0.5s;
}
.mailbox.open { opacity: 1; visibility: visible; }
.mailbox__card { width: min(440px, 100%); }
.mailbox__card .bezel__core { padding: 1.8rem; display: flex; flex-direction: column; gap: 0.6rem; }
.mailbox__title { font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 0.6rem; }
.mailbox__opt {
  display: flex; align-items: center; gap: 0.85rem;
  background: rgba(255,255,255,0.045);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 0.85rem 1.1rem;
  color: var(--text);
  font-family: var(--font-body); font-size: 0.92rem; font-weight: 600;
  cursor: pointer; text-align: left; width: 100%;
  transition: border-color 0.4s var(--ease-out), background 0.4s var(--ease-out), transform 0.4s var(--ease-spring);
}
.mailbox__opt:hover { border-color: rgba(255,148,32,0.45); background: rgba(255,148,32,0.06); transform: translateX(3px); }
.mailbox__opt .dot {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent-glow); border: 1px solid rgba(255,148,32,0.3);
  display: flex; align-items: center; justify-content: center; color: var(--accent);
}
.mailbox__close {
  margin-top: 0.5rem; align-self: center;
  background: none; border: none; color: var(--text-faint);
  font-family: var(--font-body); font-size: 0.85rem; cursor: pointer;
  transition: color 0.4s var(--ease-out);
}
.mailbox__close:hover { color: var(--text); }

/* ============================================================
   NEWS
   ============================================================ */
.news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.news-card { display: flex; flex-direction: column; }
.news-card .bezel__core {
  padding: 1.9rem; height: 100%;
  display: flex; flex-direction: column; gap: 0.9rem;
}
.news-card__date {
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); font-weight: 600;
}
.news-card__title { font-size: 1.15rem; line-height: 1.35; }
.news-card__text { font-size: 0.9rem; color: var(--text-dim); flex: 1; }
.news-card__link {
  font-size: 0.85rem; font-weight: 600; color: var(--accent);
  display: inline-flex; align-items: center; gap: 0.45rem;
  transition: gap 0.4s var(--ease-out);
}
.news-card__link:hover { gap: 0.75rem; }

/* ============================================================
   DOWNLOAD / DOCUMENTS
   ============================================================ */
.doc-list { display: flex; flex-direction: column; gap: 1rem; }
.doc-row .bezel__core {
  display: flex; align-items: center; gap: 1.2rem;
  padding: 1.2rem 1.6rem; flex-wrap: wrap;
}
.doc-row .dot {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%;
  background: var(--accent-glow); border: 1px solid rgba(255,148,32,0.3);
  display: flex; align-items: center; justify-content: center; color: var(--accent);
}
.doc-row__body { flex: 1; min-width: 200px; }
.doc-row__name { font-family: var(--font-display); font-size: 1rem; font-weight: 500; }
.doc-row__meta { font-size: 0.75rem; color: var(--text-faint); margin-top: 0.15rem; }

.fuel-wrap { overflow-x: auto; }
.fuel-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.fuel-table th {
  text-align: left; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-faint); padding: 0.9rem 1.2rem;
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--font-body); font-weight: 600;
}
.fuel-table td {
  padding: 0.65rem 1.2rem; border-bottom: 1px solid var(--line);
  color: var(--text-dim); text-transform: capitalize;
}
.fuel-table td:last-child { color: var(--accent); font-weight: 600; font-family: var(--font-display); }
.fuel-table tr:last-child td { border-bottom: none; }

/* ============================================================
   JOBS
   ============================================================ */
.job-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.job-card { display: flex; flex-direction: column; }
.job-card .bezel__core {
  padding: 2rem; height: 100%;
  display: flex; flex-direction: column; gap: 1.1rem;
}
.job-card__meta {
  display: flex; flex-direction: column; gap: 0.45rem;
  font-size: 0.86rem; color: var(--text-dim);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 0.9rem 0;
}
.job-card__meta strong {
  color: var(--text-faint); font-size: 0.7rem; text-transform: uppercase;
  letter-spacing: 0.12em; font-weight: 600; margin-right: 0.4rem;
}
.job-card__desc { font-size: 0.9rem; color: var(--text-dim); flex: 1; }

@media (max-width: 1100px) {
  .nav__cta { display: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .bento__item, .bento__item--wide { grid-column: span 6; }
  .sectors { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .nav__pill { gap: 1rem; padding: 0.5rem 0.5rem 0.5rem 1.1rem; }

  section { padding: 4.5rem 0; }
  .container { padding: 0 1.25rem; }

  .bento { grid-template-columns: 1fr; gap: 1.2rem; }
  .bento__item, .bento__item--wide { grid-column: span 1; min-height: 300px; }

  .split, .contact-grid, .svc-row { grid-template-columns: 1fr; }
  .svc-row__features { grid-template-columns: 1fr; }
  .svc-row:nth-child(even) .svc-row__media { order: 0; }
  .split__badge { left: 1rem; bottom: -1rem; transform: none; }

  .sectors { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .hero__globe { display: none; }
  .nav .lang { display: none; }

  /* --- mobile motion: cheap & stable --- */
  /* blur() transitions shimmer on mobile GPUs; big filters and
     full-screen keyframe animations drop frames — strip them all. */
  .reveal {
    transform: translateY(22px);
    filter: none;
    transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
    transition-delay: var(--d, 0s);
  }
  .hero__bg img { animation: none; transform: scale(1.02); }
  .orb { display: none; }
  .grain { opacity: 0.035; }
  .marquee__track { animation-duration: 30s; }
  .hero__tag { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(6,6,7,0.6); }
  .svc__desc { max-height: none; opacity: 1; margin-top: 0.5rem; }
  .news-grid, .job-grid { grid-template-columns: 1fr; }
  .stat { padding: 1.3rem 1.1rem; }
  .stat__num { font-size: 1.7rem; }
  .stat__label { font-size: 0.76rem; }
  .form__row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .hero__scroll { display: none; }
}
