/* =========================================================
   Escaper Supply LLC — styles
   ========================================================= */

:root {
  --sky: #29B6E8;
  --deep: #1E6FA8;
  --globe: #8FD3F0;
  --ink: #0D1117;
  --bg: #F0F7F8;
  --bg-2: #E6F2F5;
  --surface: #FFFFFF;
  --text: #2B3440;
  --muted: #5A6675;
  --line: rgba(30, 111, 168, .14);
  --glass: rgba(255, 255, 255, .62);
  --glass-border: rgba(255, 255, 255, .8);
  --shadow: 0 10px 30px -12px rgba(13, 40, 70, .22);
  --shadow-lg: 0 30px 60px -20px rgba(13, 40, 70, .30);
  --grad: linear-gradient(135deg, #3CC3F0 0%, #29B6E8 35%, #1E6FA8 100%);
  --heading: var(--ink);
  --radius: 20px;
  --radius-sm: 14px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font-head: "Montserrat", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --nav-h: 76px;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #07111F;
  --bg-2: #0A1830;
  --surface: #0E1D33;
  --text: #C9D6E3;
  --muted: #8EA2B8;
  --heading: #F2F8FC;
  --line: rgba(143, 211, 240, .14);
  --glass: rgba(16, 34, 60, .55);
  --glass-border: rgba(143, 211, 240, .16);
  --shadow: 0 10px 30px -12px rgba(0, 0, 0, .6);
  --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  transition: background-color .5s var(--ease), color .5s var(--ease);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--heading); margin: 0 0 .5em; line-height: 1.15; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--sky); color: #fff; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 10px; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

.section { position: relative; padding: 96px 0; }
@media (min-width: 900px) { .section { padding: 128px 0; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: .75rem;
  letter-spacing: .28em; text-transform: uppercase; color: var(--sky); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--grad); }

.section-title { font-size: clamp(1.9rem, 4.2vw, 3rem); font-weight: 800; max-width: 18ch; }
.section-lead { font-size: 1.08rem; color: var(--muted); max-width: 56ch; }
.section-head { margin-bottom: 56px; }

/* Globe-style grid background pattern */
.grid-bg::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(circle at 85% 20%, rgba(41, 182, 232, .10), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(30, 111, 168, .08), transparent 40%),
    repeating-radial-gradient(ellipse at 110% 50%, transparent 0 58px, var(--line) 58px 59px),
    linear-gradient(var(--bg-2), var(--bg));
  -webkit-mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent);
}
.section { isolation: isolate; }

.glass {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

/* ---------- Buttons ---------- */
.btn {
  --mx: 0px; --my: 0px;
  white-space: nowrap;
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px; border-radius: 14px;
  font-family: var(--font-head); font-weight: 700; font-size: .98rem; letter-spacing: .01em;
  transform: translate(var(--mx), var(--my));
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s, color .3s, border-color .3s;
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { color: #fff; background: var(--grad); box-shadow: 0 12px 28px -10px rgba(30, 111, 168, .65), inset 0 1px 0 rgba(255,255,255,.35); }
.btn--primary:hover { box-shadow: 0 18px 36px -12px rgba(30, 111, 168, .8), inset 0 1px 0 rgba(255,255,255,.35); }
.btn--primary::after { /* shine sweep */
  content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-20deg); transition: left .7s var(--ease);
}
.btn--primary:hover::after { left: 130%; }
.btn--ghost { color: var(--heading); background: var(--glass); border: 1.5px solid var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn--ghost:hover { border-color: var(--sky); color: var(--deep); }
:root[data-theme="dark"] .btn--ghost:hover { color: var(--globe); }
.btn--sm { min-height: 42px; padding: 10px 18px; font-size: .9rem; border-radius: 12px; }
.btn--block { width: 100%; white-space: normal; }

/* tap ripple (re-used logo effect) */
.ripple {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: 2;
  width: 12px; height: 12px; margin: -6px 0 0 -6px;
  border: 2px solid rgba(255,255,255,.9); background: rgba(255,255,255,.25);
  animation: ripple .7s var(--ease) forwards;
}
.btn--ghost .ripple { border-color: var(--sky); background: rgba(41,182,232,.15); }
@keyframes ripple { to { transform: scale(26); opacity: 0; } }

/* ---------- Intro ---------- */
.intro { display: none; }
.js .intro {
  position: fixed; inset: 0; z-index: 999; display: grid; place-items: center;
  background: #F0F7F8; /* logo's own background, so the mark shows exactly as designed */
  clip-path: circle(150% at 50% 50%);
  transition: clip-path .7s cubic-bezier(.7, 0, .2, 1), opacity .4s;
}
.intro.is-done { clip-path: circle(0% at var(--rx, 50%) var(--ry, 50%)); pointer-events: none; }
.intro.is-gone { display: none !important; }
.intro__stage { position: relative; width: min(46vw, 220px); aspect-ratio: 1; }
.intro__globe { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--globe); stroke-width: 2; }
.intro__globe * { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw .8s var(--ease) forwards; }
.intro__globe *:nth-child(2) { animation-delay: .08s; } .intro__globe *:nth-child(3) { animation-delay: .14s; }
.intro__globe *:nth-child(4) { animation-delay: .2s; } .intro__globe *:nth-child(5) { animation-delay: .26s; }
.intro__bag { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transform: translateY(-60%) scale(.9); animation: drop .55s .45s cubic-bezier(.34, 1.56, .64, 1) forwards; }
.intro__ripple { position: absolute; left: 51%; top: 69%; width: 14px; height: 14px; margin: -7px; border-radius: 50%; border: 2px solid var(--sky); opacity: 0; animation: tap .6s 1s var(--ease) forwards; }
.intro__skip { position: absolute; bottom: 28px; right: 24px; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #5A6675; padding: 10px 14px; border-radius: 10px; }
.intro__skip:hover { color: var(--sky); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes drop { to { opacity: 1; transform: none; } }
@keyframes tap { 0% { opacity: 1; transform: scale(.4); } 100% { opacity: 0; transform: scale(6); } }

/* ---------- Progress & cursor ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 200; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 12px rgba(41,182,232,.7); }

.cursor-dot, .cursor-ring { display: none; }
@media (hover: hover) and (pointer: fine) {
  .has-cursor .cursor-dot, .has-cursor .cursor-ring { display: block; position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none; border-radius: 50%; }
  .has-cursor .cursor-dot { width: 6px; height: 6px; margin: -3px; background: var(--sky); }
  .has-cursor .cursor-ring { width: 36px; height: 36px; margin: -18px; border: 1.5px solid rgba(41,182,232,.55); transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background-color .3s, border-color .3s; }
  .has-cursor .cursor-ring.is-hover { width: 58px; height: 58px; margin: -29px; background: rgba(41,182,232,.1); border-color: var(--sky); }
}

/* ---------- Navbar ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; padding: 14px 0; transition: padding .4s var(--ease); }
.nav__inner {
  max-width: 1200px; margin: 0 auto; padding: 0 20px; height: 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  transition: height .4s var(--ease);
}
.nav::before {
  content: ""; position: absolute; inset: 8px 12px; z-index: -1; border-radius: 20px;
  background: var(--glass); border: 1px solid transparent;
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  opacity: 0; transition: opacity .4s, inset .4s var(--ease), border-color .4s;
}
.nav.is-scrolled { padding: 6px 0; }
.nav.is-scrolled .nav__inner { height: 56px; }
.nav.is-scrolled::before { opacity: 1; inset: 6px 12px; border-color: var(--glass-border); box-shadow: var(--shadow); }
@media (min-width: 1240px) { .nav.is-scrolled::before { inset: 6px calc(50% - 612px); } }

.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand__mark { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; transition: background-color .4s, transform .4s var(--ease); }
.brand__mark img { width: 44px; height: 44px; object-fit: contain; }
.brand:hover .brand__mark { transform: rotate(-6deg) scale(1.05); }
.brand__word { height: 36px; width: auto; }
.brand__word--light { display: none; }
:root[data-theme="dark"] .brand__word--dark { display: none; }
:root[data-theme="dark"] .brand__word--light { display: block; }
:root[data-theme="dark"] .brand__mark { background: #EAF5F8; box-shadow: 0 0 22px rgba(41,182,232,.35); }

.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a:not(.btn) {
  position: relative; white-space: nowrap; padding: 10px 14px; font-weight: 500; font-size: .94rem; color: var(--text); border-radius: 10px; transition: color .3s;
}
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; border-radius: 2px;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav__links a:not(.btn):hover, .nav__links a.is-active { color: var(--heading); }
.nav__links a:not(.btn):hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__cta { margin-left: 10px; }
.nav__tools { display: flex; align-items: center; gap: 6px; }

.theme-toggle, .menu-toggle { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; transition: background-color .3s; }
.theme-toggle:hover, .menu-toggle:hover { background: var(--line); }
.theme-toggle svg { width: 22px; height: 22px; fill: none; stroke: var(--heading); stroke-width: 1.8; stroke-linecap: round; grid-area: 1/1; transition: transform .5s var(--ease), opacity .3s; }
.i-moon { opacity: 0; transform: rotate(-90deg) scale(.5); }
:root[data-theme="dark"] .i-sun { opacity: 0; transform: rotate(90deg) scale(.5); }
:root[data-theme="dark"] .i-moon { opacity: 1; transform: none; stroke: var(--globe); }
.menu-toggle { display: none; }
.menu-toggle span { grid-area: 1/1; width: 20px; height: 2px; border-radius: 2px; background: var(--heading); transition: transform .35s var(--ease); }
.menu-toggle span:first-child { transform: translateY(-4px); }
.menu-toggle span:last-child { transform: translateY(4px); }
.menu-toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

@media (max-width: 1100px) {
  .menu-toggle { display: grid; }
  .nav__links {
    position: fixed; inset: 78px 12px auto; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px;
    background: var(--surface); border: 1px solid var(--glass-border); border-radius: 20px; box-shadow: var(--shadow-lg);
    opacity: 0; transform: translateY(-10px) scale(.98); pointer-events: none; visibility: hidden;
    transition: opacity .3s, transform .35s var(--ease), visibility 0s .35s;
  }
  .nav__links.is-open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity .3s, transform .35s var(--ease); }
  .nav__links a:not(.btn) { padding: 14px 16px; font-size: 1.05rem; }
  .nav__links a:not(.btn)::after { display: none; }
  .nav__cta { margin: 8px 0 0; }
}
@media (max-width: 400px) { .brand__word { height: 30px; } .brand__mark, .brand__mark img { width: 38px; height: 38px; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 96px; overflow: hidden; isolation: isolate;
}
.hero__mesh {
  position: absolute; inset: -10%; z-index: -3;
  background:
    radial-gradient(40% 45% at 78% 30%, rgba(41,182,232,.30), transparent 70%),
    radial-gradient(35% 40% at 15% 20%, rgba(143,211,240,.45), transparent 70%),
    radial-gradient(45% 50% at 60% 95%, rgba(30,111,168,.22), transparent 70%),
    var(--bg);
  animation: mesh 18s ease-in-out infinite alternate;
}
:root[data-theme="dark"] .hero__mesh {
  background:
    radial-gradient(40% 45% at 78% 30%, rgba(41,182,232,.22), transparent 70%),
    radial-gradient(35% 40% at 15% 20%, rgba(30,111,168,.35), transparent 70%),
    radial-gradient(45% 50% at 60% 95%, rgba(41,182,232,.12), transparent 70%),
    var(--bg);
}
@keyframes mesh { to { transform: translate3d(2%, -2%, 0) scale(1.06); } }
.hero__globe { position: absolute; z-index: -2; top: 50%; right: -18%; width: min(115vw, 900px); aspect-ratio: 1; transform: translateY(-50%); opacity: .95; }
@media (max-width: 900px) { .hero__globe { right: 50%; top: 20%; transform: translate(50%, -50%); width: 140vw; opacity: .32; } }

.hero__content { position: relative; }
.hero__title { font-size: clamp(2.5rem, 7vw, 5rem); font-weight: 800; line-height: 1.04; letter-spacing: -.025em; max-width: 13ch; margin-bottom: 24px; }
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title .w > span { display: inline-block; transform: translateY(105%); transition: transform .9s var(--ease); transition-delay: calc(var(--i) * 70ms + 150ms); }
.hero__title.is-in .w > span { transform: none; }
.hero__title .w--accent > span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 54ch; margin-bottom: 36px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: .9rem; font-weight: 500; color: var(--text); }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust svg { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: rgba(41,182,232,.15); fill: none; stroke: var(--deep); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
:root[data-theme="dark"] .hero__trust svg { stroke: var(--sky); }
@media (max-width: 520px) { .hero__ctas .btn { flex: 1 1 100%; } }

.scroll-cue { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid var(--line); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--sky); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-height: 700px) { .scroll-cue { display: none; } }

/* floating packages & bags */
.floaters { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.floater { position: absolute; left: var(--x); top: var(--y); width: 58px; height: 58px; will-change: transform; }
.floater::before { content: ""; position: absolute; inset: 0; animation: bob 6s ease-in-out infinite; }
.floater--box::before {
  border-radius: 12px; background: linear-gradient(135deg, rgba(143,211,240,.9), rgba(41,182,232,.55));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.6), var(--shadow);
  -webkit-mask: linear-gradient(#000 0 0); /* keep shape */
}
.floater--box::after { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 8px; margin-left: -4px; background: rgba(255,255,255,.55); animation: bob 6s ease-in-out infinite; }
.floater--bag::before { border-radius: 10px 10px 14px 14px; background: var(--grad); box-shadow: var(--shadow); animation-delay: -2s; }
.floater--bag::after { content: ""; position: absolute; left: 30%; right: 30%; top: -14px; height: 20px; border: 3px solid var(--deep); border-bottom: 0; border-radius: 12px 12px 0 0; animation: bob 6s -2s ease-in-out infinite; }
.floater--sm { width: 36px; height: 36px; }
.floater--sm::before { animation-delay: -4s; }
@keyframes bob { 50% { transform: translateY(-14px) rotate(6deg); } }
@media (max-width: 700px) { .floater { transform: scale(.7); } .floater--bag { display: none; } }

/* ---------- Reveal ---------- */
.js .reveal, .js .reveal-group > * { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in, .js .reveal-group.is-in > * { opacity: 1; transform: none; }
.js .reveal-group.is-in > *:nth-child(2) { transition-delay: .1s; }
.js .reveal-group.is-in > *:nth-child(3) { transition-delay: .2s; }
.js .reveal-group.is-in > *:nth-child(4) { transition-delay: .3s; }
.js .reveal-group.is-in > *:nth-child(5) { transition-delay: .4s; }

/* ---------- About ---------- */
.about__grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 900px) { .about__grid { grid-template-columns: 1fr 1.05fr; gap: 80px; } }
.about__visual { position: relative; aspect-ratio: 1 / .95; max-width: 520px; width: 100%; margin: 0 auto; }
.about__orb { position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(143,211,240,.55), rgba(41,182,232,.18) 55%, transparent 70%); filter: blur(6px); }
.about__orb::after { content: ""; position: absolute; inset: -6%; border-radius: 50%; border: 1px dashed var(--line); animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.about__card--main { position: absolute; inset: 14% 16%; display: grid; place-items: center; padding: 24px; border-radius: 28px; background: #F0F7F8; border-color: rgba(255,255,255,.9); }
.about__card--main img { width: 100%; height: 100%; object-fit: contain; }
.about__chip { position: absolute; display: flex; flex-direction: column; padding: 14px 18px; border-radius: 16px; }
.about__chip strong { font-family: var(--font-head); color: var(--heading); font-size: .98rem; }
.about__chip span { font-size: .8rem; color: var(--muted); letter-spacing: .04em; }
.about__chip--a { left: 0; top: 10%; }
.about__chip--b { right: 0; bottom: 8%; }
.about__text > p:not(.eyebrow) { font-size: 1.06rem; }
.values { display: grid; gap: 14px; margin-top: 32px; }
@media (min-width: 560px) { .values { grid-template-columns: repeat(3, 1fr); } }
.value { padding: 18px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); }
.value__k { display: block; font-family: var(--font-head); font-weight: 800; color: var(--heading); margin-bottom: 4px; }
.value__v { display: block; font-size: .88rem; color: var(--muted); line-height: 1.5; }

/* ---------- Services cards ---------- */
.cards { display: grid; gap: 20px; perspective: 1000px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .cards { grid-template-columns: repeat(4, 1fr); } }
.card {
  --rx: 0deg; --ry: 0deg; --lift: 0px;
  position: relative; padding: 32px 26px; border-radius: 24px; background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow);
  transform: translateY(var(--lift)) rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
}
.js .reveal-group.is-in > .card { transition: opacity .8s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s; }
.card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(260px circle at var(--gx, 50%) var(--gy, 0%), rgba(41,182,232,.16), transparent 60%); }
.card:hover { --lift: -8px; box-shadow: var(--shadow-lg); border-color: rgba(41,182,232,.4); }
.card:hover::before { opacity: 1; }
.card h3 { font-size: 1.18rem; font-weight: 700; transform: translateZ(30px); }
.card p { color: var(--muted); font-size: .95rem; margin: 0; transform: translateZ(20px); }
.card__icon { width: 64px; height: 64px; display: grid; place-items: center; margin-bottom: 22px; border-radius: 18px; background: linear-gradient(135deg, rgba(143,211,240,.35), rgba(41,182,232,.12)); transform: translateZ(40px); }
.card__icon svg { width: 34px; height: 34px; fill: none; stroke: var(--deep); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
:root[data-theme="dark"] .card__icon svg { stroke: var(--sky); filter: drop-shadow(0 0 6px rgba(41,182,232,.5)); }
.js .draw { stroke-dasharray: 200; stroke-dashoffset: 200; transition: stroke-dashoffset 1.6s var(--ease) .3s; }
.is-in .draw { stroke-dashoffset: 0; }
.card:hover .card__icon svg { animation: wiggle .8s var(--ease); }
@keyframes wiggle { 30% { transform: rotate(-8deg) scale(1.08); } 60% { transform: rotate(5deg); } }

/* ---------- Why ---------- */
.why__grid { display: grid; gap: 48px; }
@media (min-width: 960px) { .why__grid { grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; } .why__intro { position: sticky; top: calc(var(--nav-h) + 40px); } }
.why__intro .btn { margin-top: 12px; }
.why__list { display: grid; gap: 16px; }
.why__item { display: flex; gap: 20px; padding: 24px; transition: transform .4s var(--ease), border-color .4s; }
.why__item:hover { transform: translateX(6px); border-color: rgba(41,182,232,.45); }
.why__num { flex-shrink: 0; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--grad); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: .95rem; box-shadow: 0 8px 20px -8px rgba(30,111,168,.7); }
.why__item h3 { font-size: 1.08rem; margin-bottom: 6px; }
.why__item p { margin: 0; font-size: .95rem; color: var(--muted); }

/* ---------- Marquee ---------- */
.categories { padding-bottom: 110px; overflow: hidden; }
.categories .section-head { margin-bottom: 40px; }
.marquee { position: relative; display: flex; overflow: hidden; padding: 12px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; flex-shrink: 0; gap: 16px; padding-right: 16px; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.chip {
  display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; padding: 16px 24px 16px 16px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
  font-family: var(--font-head); font-weight: 700; color: var(--heading); font-size: 1rem; transition: transform .35s var(--ease), border-color .3s;
}
.chip:hover { transform: translateY(-4px); border-color: var(--sky); }
.chip svg { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: rgba(41,182,232,.14); fill: none; stroke: var(--deep); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:root[data-theme="dark"] .chip svg { stroke: var(--sky); }
.marquee--rev .marquee__track { animation-direction: reverse; }

/* ---------- Timeline ---------- */
.timeline { position: relative; display: grid; gap: 28px; padding-left: 0; }
.timeline__line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.timeline__line path { fill: none; stroke: var(--sky); stroke-width: 3; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(41,182,232,.6)); }
.timeline__line .track { stroke: var(--line); filter: none; stroke-dasharray: 6 8; }
.step { position: relative; z-index: 1; display: flex; gap: 20px; align-items: flex-start; }
.step__dot {
  flex-shrink: 0; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%;
  font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; color: var(--deep);
  background: var(--surface); border: 2px solid var(--line); box-shadow: var(--shadow);
  transition: background .5s, color .5s, border-color .5s, transform .5s var(--ease), box-shadow .5s;
}
.step.is-active .step__dot { background: var(--grad); color: #fff; border-color: transparent; transform: scale(1.08); box-shadow: 0 0 0 8px rgba(41,182,232,.15), 0 10px 24px -8px rgba(30,111,168,.7); }
.step__body { flex: 1; padding: 22px 24px; opacity: .55; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.no-js .step__body, .step.is-active .step__body { opacity: 1; transform: none; }
.step__body h3 { font-size: 1.15rem; margin-bottom: 6px; }
.step__body p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (min-width: 900px) {
  .timeline { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .step { flex-direction: column; gap: 24px; }
  .step__body { width: 100%; }
}

/* ---------- Locations / map ---------- */
.locations__grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .locations__grid { grid-template-columns: 1fr 1.1fr; gap: 64px; } }
.loc-cards { display: grid; gap: 14px; margin-top: 28px; }
.loc-card { display: flex; align-items: center; gap: 18px; padding: 20px 22px; transition: transform .4s var(--ease), border-color .4s; }
.loc-card:hover, .loc-card.is-hl { transform: translateX(6px); border-color: var(--sky); }
.loc-card h3 { font-size: 1.08rem; margin: 0 0 2px; }
.loc-card p { margin: 0; font-size: .9rem; color: var(--muted); }
.loc-card__pin { position: relative; flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 6px rgba(41,182,232,.2), 0 0 18px rgba(41,182,232,.8); }
.loc-card__pin--alt { background: var(--deep); box-shadow: 0 0 0 6px rgba(30,111,168,.2), 0 0 18px rgba(30,111,168,.8); }
.map { margin: 0; padding: 20px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.map svg { width: 100%; height: auto; overflow: visible; }
.map__land { fill: url(#flGrad); stroke: var(--sky); stroke-width: 2; stroke-linejoin: round; stroke-dasharray: 1800; stroke-dashoffset: 1800; transition: stroke-dashoffset 2.4s var(--ease); }
.map.is-in .map__land { stroke-dashoffset: 0; }
.map__grid { pointer-events: none; }
.map__keys circle { fill: var(--sky); opacity: .7; }
.map__route { fill: none; stroke: var(--deep); stroke-width: 2.5; stroke-dasharray: 7 7; animation: dash 1.2s linear infinite; }
:root[data-theme="dark"] .map__route { stroke: var(--globe); }
@keyframes dash { to { stroke-dashoffset: -14; } }
.map__mover { fill: #fff; stroke: var(--sky); stroke-width: 2.5; filter: drop-shadow(0 0 6px var(--sky)); }
.map__dot { fill: var(--sky); stroke: #fff; stroke-width: 2.5; filter: drop-shadow(0 0 8px rgba(41,182,232,.9)); }
.map__pin--alt .map__dot { fill: var(--deep); }
.map__pulse { fill: var(--sky); opacity: .5; transform-box: fill-box; transform-origin: center; animation: pulse 2.2s var(--ease) infinite; }
.map__pin--alt .map__pulse { fill: var(--deep); animation-delay: 1.1s; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .6; } 100% { transform: scale(3.4); opacity: 0; } }
.map__label { font-family: var(--font-head); font-weight: 700; font-size: 13px; fill: var(--heading); paint-order: stroke; stroke: var(--surface); stroke-width: 4px; stroke-linejoin: round; }
.map__pin.is-hl .map__dot { r: 8; }

/* ---------- Contact / form ---------- */
.contact__grid { display: grid; gap: 48px; }
@media (min-width: 960px) { .contact__grid { grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; } }
.contact__list { display: grid; gap: 14px; margin-top: 28px; }
.contact__list li { display: flex; align-items: center; gap: 14px; font-weight: 500; color: var(--heading); word-break: break-word; }
.contact__list svg { flex-shrink: 0; width: 44px; height: 44px; padding: 11px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); fill: none; stroke: var(--sky); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact__list a:hover { color: var(--sky); }

.form-wrap { position: relative; padding: 28px 22px; border-radius: 28px; }
@media (min-width: 600px) { .form-wrap { padding: 40px; } }
.form { display: grid; gap: 16px; }
.form[hidden] { display: none; }
.form__row { display: grid; gap: 16px; }
@media (min-width: 600px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; padding: 26px 16px 10px; font: inherit; font-size: 1rem; color: var(--heading);
  background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px; outline: none; resize: vertical;
  transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.field textarea { min-height: 130px; }
.field label {
  position: absolute; left: 17px; top: 18px; color: var(--muted); pointer-events: none; transform-origin: 0 0;
  transition: transform .3s var(--ease), color .3s;
}
.field input:focus, .field textarea:focus { border-color: var(--sky); box-shadow: 0 0 0 4px rgba(41,182,232,.18); }
.field input:focus + label, .field textarea:focus + label,
.field input:not(:placeholder-shown) + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-11px) scale(.76); color: var(--sky); font-weight: 600; letter-spacing: .02em; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #E5484D; box-shadow: 0 0 0 4px rgba(229,72,77,.12); }
.field.is-invalid { animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }

.segmented { border: 0; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.segmented legend { width: 100%; padding: 0; margin-bottom: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-family: var(--font-head); }
.segmented label { position: relative; flex: 1 1 calc(50% - 8px); }
@media (min-width: 600px) { .segmented label { flex: 1 1 0; } }
.segmented input { position: absolute; opacity: 0; inset: 0; }
.segmented span { display: block; text-align: center; padding: 12px 10px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); font-weight: 600; font-size: .92rem; cursor: pointer; transition: all .3s var(--ease); }
.segmented input:checked + span { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 8px 18px -8px rgba(30,111,168,.7); }
.segmented input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 2px; }
.form__error { margin: 0; min-height: 1.2em; color: #E5484D; font-size: .9rem; font-weight: 500; }
.form button[type="submit"][disabled] { opacity: .7; pointer-events: none; }

.success { text-align: center; padding: 40px 10px; }
.success[hidden] { display: none; }
.success h3 { font-size: 1.8rem; margin-top: 28px; }
.success p { color: var(--muted); max-width: 40ch; margin: 0 auto 24px; }
.success__badge { position: relative; width: 140px; height: 140px; margin: 0 auto; display: grid; place-items: center; }
.success__badge img { position: relative; z-index: 1; width: 112px; height: 112px; padding: 8px; border-radius: 28px; background: #EAF5F8; box-shadow: var(--shadow); object-fit: contain; animation: pop .7s cubic-bezier(.34, 1.56, .64, 1) both; }
.success__check { position: absolute; z-index: 2; right: 4px; bottom: 6px; width: 46px; height: 46px; fill: none; }
.success__check circle { fill: #18B27A; stroke: #fff; stroke-width: 3; transform-origin: center; animation: pop .5s .45s cubic-bezier(.34, 1.56, .64, 1) both; }
.success__check path { stroke: #fff; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .4s .8s var(--ease) forwards; }
.success__ring { position: absolute; inset: 20px; border-radius: 50%; border: 2px solid var(--sky); animation: ring 1.4s .3s var(--ease) both; }
.success__ring--2 { animation-delay: .6s; }
@keyframes pop { 0% { transform: scale(0) translateY(-30px); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes ring { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.8); opacity: 0; } }

/* ---------- Footer ---------- */
.footer { padding: 72px 0 32px; background: var(--surface); border-top: 1px solid var(--line); }
.footer__grid { display: grid; gap: 40px; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr; } }
.footer__brand p { margin-top: 18px; color: var(--muted); max-width: 36ch; }
.footer h4 { font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; color: var(--sky); margin-bottom: 16px; }
.footer ul { display: grid; gap: 10px; }
.footer li { color: var(--text); word-break: break-word; }
.footer li a:hover { color: var(--sky); }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
.footer__base p { margin: 0; }
.to-top:hover { color: var(--sky); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .marquee { overflow-x: auto; }
  .marquee__track { flex-wrap: nowrap; }
  .marquee__track[aria-hidden="true"] { display: none; }
  .hero__title .w > span { transform: none; }
  .intro { display: none !important; }
}

/* honeypot field for spam bots (hidden from people) */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
