/* ==========================================================================
   ECEP HAN Global — General Trading
   ========================================================================== */

@font-face {
  font-family: "Sora";
  src: url("../fonts/sora-var.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}

:root {
  --navy-950: #030a18;
  --navy-900: #061226;
  --navy-800: #0b1d3a;
  --navy-700: #13294d;
  --blue: #4668b1;
  --blue-400: #6f8fdc;
  --teal: #23969f;
  --teal-300: #3ec4cc;
  --gray: #8d9092;
  --paper: #f4f6fb;
  --white: #ffffff;
  --ink: #0c1a33;
  --muted: #5a6680;
  --line: rgba(12, 26, 51, 0.1);
  --line-light: rgba(255, 255, 255, 0.12);

  --grad: linear-gradient(120deg, var(--blue) 0%, var(--teal) 100%);
  --grad-text: linear-gradient(100deg, #7fa0ff 0%, var(--teal-300) 70%);

  --font-display: "Sora", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 18px;
  --radius-lg: 28px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1240px;
  --header-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
html:not(.js) { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--teal); color: #fff; }
[hidden] { display: none !important; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }

.skip-link {
  position: fixed; left: 1rem; top: -100px; z-index: 1000;
  background: var(--white); color: var(--ink); padding: .75rem 1.25rem; border-radius: 10px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 2px solid var(--teal-300); outline-offset: 3px; border-radius: 6px; }

/* ---------- Initial animation states (only when JS/GSAP active) ---------- */
.js [data-reveal], .js [data-hero], .js [data-card], .js [data-hub], .js [data-feature] { opacity: 0; }
.js [data-split] { visibility: hidden; }
.no-anim [data-reveal], .no-anim [data-hero], .no-anim [data-card], .no-anim [data-hub], .no-anim [data-feature] { opacity: 1 !important; transform: none !important; }
.no-anim [data-split] { visibility: visible !important; }
.no-anim .intro { display: none; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-display);
  font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before {
  content: ""; width: 28px; height: 2px; background: var(--grad); border-radius: 2px;
}
.hero__eyebrow::before { display: none; }
.eyebrow--light { color: var(--teal-300); }

.section { padding: clamp(5rem, 11vw, 9rem) 0; position: relative; }
.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--split {
  display: grid; gap: 1.5rem 4rem; grid-template-columns: 1.2fr 1fr; align-items: end;
}
.section-title {
  font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 600; margin-top: 1rem; color: var(--ink);
}
.section-title em, .hero__title em {
  font-style: normal;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-title--light { color: var(--white); }
.section-title--light em, .hero__title em { background-image: var(--grad-text); }
.section-lead { color: var(--muted); font-size: 1.075rem; max-width: 34rem; }
.section-lead--light { color: rgba(255, 255, 255, .7); }

/* Split text: gradient must live on each word once words become inline-blocks */
.is-split em { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: inherit; }
.is-split em .word { background-image: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-title--light.is-split em .word, .hero__title.is-split em .word { background-image: var(--grad-text); }

/* Split text lines */
.split-line { overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 1rem; --pad-x: 1.6rem;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  padding: var(--pad-y) var(--pad-x);
  font-family: var(--font-display); font-size: .95rem; font-weight: 600; letter-spacing: .01em;
  border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
  isolation: isolate; overflow: hidden; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -10px rgba(35, 150, 159, .6); }
.btn--primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, var(--teal) 0%, var(--blue) 100%);
  opacity: 0; transition: opacity .4s var(--ease);
}
.btn--primary:hover::after { opacity: 1; }
.btn--primary:hover { box-shadow: 0 16px 40px -12px rgba(70, 104, 177, .7); }
.btn--ghost { border-color: rgba(255, 255, 255, .25); color: #fff; background: rgba(255, 255, 255, .04); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .1); }
.btn--sm { --pad-y: .7rem; --pad-x: 1.25rem; font-size: .875rem; }
.btn--block { width: 100%; }

.link-btn {
  background: none; border: 0; padding: 0; cursor: pointer; color: inherit;
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: currentColor;
}
.link-btn:hover { color: var(--teal-300); }

/* ---------- Intro curtain ---------- */
.intro {
  position: fixed; inset: 0; z-index: 999; background: var(--navy-950);
  display: grid; place-items: center;
}
html:not(.js) .intro { display: none; }
.intro__inner { display: grid; justify-items: center; gap: 1.75rem; }
.intro__logo { width: min(280px, 60vw); height: auto; }
.intro__bar { width: 180px; height: 2px; background: rgba(255,255,255,.1); border-radius: 2px; overflow: hidden; }
.intro__bar span { display: block; width: 100%; height: 100%; background: var(--grad); transform-origin: left; transform: scaleX(0); }

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: var(--grad); transform-origin: left; transform: scaleX(0); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  transition: background-color .45s var(--ease), box-shadow .45s var(--ease), transform .5s var(--ease), height .45s var(--ease);
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { position: relative; display: block; width: 172px; flex-shrink: 0; }
.brand__logo { width: 100%; height: auto; transition: opacity .4s var(--ease); }
.brand__logo--color { position: absolute; inset: 0; opacity: 0; }

.nav { display: flex; align-items: center; gap: 2.25rem; }
.nav__list { display: flex; gap: 2rem; }
.nav__link {
  position: relative; font-size: .92rem; font-weight: 500; color: rgba(255, 255, 255, .82);
  padding: .4rem 0; transition: color .3s;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
  background: var(--grad); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: #fff; }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }

.header.is-scrolled {
  --header-h: 70px;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(6, 18, 38, .25);
}
.header.is-scrolled .brand__logo--light { opacity: 0; }
.header.is-scrolled .brand__logo--color { opacity: 1; }
.header.is-scrolled .nav__link { color: var(--muted); }
.header.is-scrolled .nav__link:hover, .header.is-scrolled .nav__link.is-active { color: var(--ink); }
.header.is-hidden { transform: translateY(calc(-100% - 40px)); }
.header.on-dark.is-scrolled { background: rgba(6, 18, 38, .78); box-shadow: 0 1px 0 var(--line-light); }
.header.on-dark.is-scrolled .brand__logo--light { opacity: 1; }
.header.on-dark.is-scrolled .brand__logo--color { opacity: 0; }
.header.on-dark.is-scrolled .nav__link { color: rgba(255,255,255,.75); }
.header.on-dark.is-scrolled .nav__link:hover, .header.on-dark.is-scrolled .nav__link.is-active { color: #fff; }

.menu-toggle {
  display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.06); cursor: pointer; position: relative; z-index: 3;
}
.menu-toggle span {
  position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; border-radius: 2px;
  transition: transform .45s var(--ease), top .45s var(--ease), background-color .3s;
}
.menu-toggle span:first-child { top: 18px; }
.menu-toggle span:last-child { top: 26px; }
.header.is-scrolled:not(.on-dark) .menu-toggle { border-color: var(--line); }
.header.is-scrolled:not(.on-dark) .menu-toggle span { background: var(--ink); }
.menu-open .menu-toggle span { background: #fff !important; }
.menu-open .menu-toggle span:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .menu-toggle span:last-child { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  background: radial-gradient(120% 90% at 80% 40%, #0d2750 0%, var(--navy-900) 45%, var(--navy-950) 100%);
  color: #fff; overflow: hidden; padding: calc(var(--header-h) + 3rem) 0 6rem;
}
.hero__globe {
  position: absolute; top: 50%; right: -8%; width: min(64vw, 900px); aspect-ratio: 1; height: auto;
  transform: translateY(-50%); pointer-events: none;
}
.hero__glow {
  position: absolute; width: 60vw; aspect-ratio: 1; right: -5%; top: 50%; transform: translateY(-50%);
  background: radial-gradient(closest-side, rgba(35, 150, 159, .22), rgba(70, 104, 177, .12) 55%, transparent 75%);
  filter: blur(20px); pointer-events: none;
}
.hero__grid {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 30% 50%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 50%, #000 20%, transparent 75%);
}
.hero__inner { position: relative; z-index: 2; }
.hero__content { max-width: 680px; }
.hero__eyebrow {
  color: rgba(255,255,255,.85); padding: .55rem 1rem; border-radius: 999px;
  border: 1px solid var(--line-light); background: rgba(255,255,255,.04); backdrop-filter: blur(6px);
  letter-spacing: .14em;
}
.pulse-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--teal-300); }
.pulse-dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--teal-300);
  animation: pulse 2s var(--ease) infinite;
}
@keyframes pulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(2); opacity: 0; } }

.hero__title {
  font-size: clamp(2.6rem, 6.6vw, 5.4rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.02;
  margin: 1.6rem 0 1.5rem;
}
.hero__lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: rgba(255,255,255,.72); max-width: 36rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.4rem; }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 1.25rem 2.75rem; margin-top: 3.5rem; padding-top: 2rem;
  border-top: 1px solid var(--line-light); max-width: 600px;
}
.hero__meta li { display: grid; gap: .15rem; }
.hero__meta strong { font-family: var(--font-display); font-weight: 600; font-size: 1rem; }
.hero__meta span { font-size: .85rem; color: rgba(255,255,255,.55); }

.hero__scroll {
  position: absolute; left: 50%; bottom: 1.75rem; transform: translateX(-50%); z-index: 2;
  display: grid; justify-items: center; gap: .6rem;
  font-size: .7rem; letter-spacing: .25em; text-transform: uppercase; color: rgba(255,255,255,.5);
}
.hero__scroll-line { width: 1px; height: 44px; background: rgba(255,255,255,.15); position: relative; overflow: hidden; }
.hero__scroll-line::after {
  content: ""; position: absolute; left: 0; top: -50%; width: 100%; height: 50%; background: var(--teal-300);
  animation: scrollLine 2s var(--ease) infinite;
}
@keyframes scrollLine { to { top: 100%; } }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--grad); color: #fff; overflow: hidden; position: relative; z-index: 3;
  padding: 1.15rem 0;
}
.marquee__track { display: flex; width: max-content; }
.marquee__list { display: flex; flex-shrink: 0; }
.marquee__list li {
  display: flex; align-items: center; gap: 2.5rem; padding-right: 2.5rem;
  font-family: var(--font-display); font-size: clamp(1rem, 1.6vw, 1.3rem); font-weight: 500; white-space: nowrap;
}
.marquee__list li::after { content: "✦"; font-size: .7em; opacity: .6; }
html:not(.js) .marquee__track, .no-anim .marquee__track { flex-wrap: wrap; width: auto; justify-content: center; }

/* ---------- About ---------- */
.about { background: var(--white); }
.about__statement {
  font-family: var(--font-display); font-weight: 500; letter-spacing: -0.02em;
  font-size: clamp(1.6rem, 3.6vw, 3rem); line-height: 1.25; max-width: 1080px; color: var(--ink);
}
.about__statement .accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about__statement .word { display: inline-block; }
.about__statement.is-split .accent { background: none; color: inherit; }
.about__statement.is-split .accent .word { background-image: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(3.5rem, 7vw, 6rem);
  border-top: 1px solid var(--line);
}
.stat { padding: 2rem 1.5rem 0 0; display: grid; gap: .35rem; }
.stat + .stat { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.stat__num {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  letter-spacing: -0.03em; line-height: 1; color: var(--ink);
}
.stat__label { color: var(--muted); font-size: .95rem; }

/* ---------- Trade cards ---------- */
.trade { background: var(--paper); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.card {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.6rem 2.2rem; min-height: 290px;
  display: flex; flex-direction: column;
  transition: border-color .4s var(--ease), box-shadow .5s var(--ease), transform .5s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s var(--ease);
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(35,150,159,.12), transparent 45%);
}
.card:hover { border-color: rgba(35,150,159,.35); box-shadow: 0 30px 60px -30px rgba(11, 29, 58, .3); transform: translateY(-6px); }
.card:hover::before { opacity: 1; }
.card__icon {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(140deg, rgba(70,104,177,.1), rgba(35,150,159,.12)); color: var(--blue);
  margin-bottom: 1.6rem; transition: background .4s var(--ease), color .4s var(--ease);
}
.card:hover .card__icon { background: var(--grad); color: #fff; }
.card__icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card__title { font-size: 1.15rem; font-weight: 600; margin-bottom: .7rem; }
.card__text { color: var(--muted); font-size: .94rem; }
.card__num {
  position: absolute; right: 1.25rem; top: 1.1rem; font-family: var(--font-display); font-size: .8rem; font-weight: 600;
  color: rgba(12,26,51,.25); letter-spacing: .08em;
}

/* ---------- Process ---------- */
.process {
  background: radial-gradient(90% 120% at 10% 0%, #0f2a55 0%, var(--navy-900) 50%, var(--navy-950) 100%);
  color: #fff; position: relative; overflow: hidden;
}
.process__pin { padding: clamp(5rem, 10vw, 8rem) 0 clamp(4rem, 8vw, 6rem); min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }
.process__head { margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.process__viewport { position: relative; }
.process__route {
  position: absolute; left: 0; top: 0; height: 96px; pointer-events: none; overflow: visible;
}
.process__route path { fill: none; stroke-width: 2; }
.process__route-base { stroke: rgba(255,255,255,.14); stroke-dasharray: 6 8; }
.process__route-fill { stroke: var(--teal-300); stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 6px rgba(62,196,204,.7)); }
.process__vessel-halo { fill: rgba(62,196,204,.18); }
.process__vessel-core { fill: #fff; stroke: var(--teal-300); stroke-width: 3; }
html:not(.js) .process__vessel, .no-anim .process__vessel { display: none; }
.process__track {
  display: flex; gap: 2rem; padding-inline: max(1.25rem, calc((100vw - var(--container)) / 2));
  width: max-content; position: relative; padding-top: 96px;
}
.step {
  position: relative; width: min(380px, 78vw); flex-shrink: 0;
  padding: 2.4rem 2rem 2.2rem;
  border: 1px solid var(--line-light); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.015));
  backdrop-filter: blur(8px);
  transition: border-color .4s var(--ease), background .4s var(--ease);
}
.step:hover { border-color: rgba(62,196,204,.45); }
.step__num {
  position: absolute; top: 1.4rem; right: 1.6rem; font-family: var(--font-display); font-weight: 600;
  font-size: 3.2rem; line-height: 1; letter-spacing: -0.04em;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.22);
}
.step__icon {
  position: absolute; top: -80px; left: 2rem; width: 64px; height: 64px; border-radius: 50%; z-index: 1;
  display: grid; place-items: center; background: var(--navy-800); border: 1px solid rgba(62,196,204,.4);
  box-shadow: 0 0 0 8px rgba(62,196,204,.06), 0 0 30px rgba(62,196,204,.25); color: var(--teal-300);
}
.step__icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.step::before {
  content: ""; position: absolute; left: calc(2rem + 31px); top: -16px; width: 2px; height: 16px;
  background: linear-gradient(rgba(62,196,204,.6), rgba(62,196,204,0));
}
.step__title { font-size: 1.3rem; font-weight: 600; margin: 1.6rem 0 .8rem; max-width: 80%; }
.step__text { color: rgba(255,255,255,.66); font-size: .97rem; }
.process__hint {
  margin-top: 2.5rem; display: flex; align-items: center; gap: .8rem;
  font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.45);
}
.process__hint span { width: 40px; height: 1px; background: rgba(255,255,255,.3); }

/* ---------- Corridors ---------- */
.corridors { background: var(--white); }
.hubs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.hub {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 2.2rem 2rem 2.4rem;
  background: var(--paper); border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.hub::after {
  content: ""; position: absolute; width: 260px; height: 260px; right: -90px; bottom: -110px; border-radius: 50%;
  border: 1px solid rgba(70,104,177,.18); box-shadow: 0 0 0 40px rgba(70,104,177,.04), 0 0 0 80px rgba(70,104,177,.03);
  transition: transform .8s var(--ease);
}
.hub:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(11,29,58,.28); }
.hub:hover::after { transform: scale(1.15); }
.hub--featured { background: linear-gradient(150deg, var(--navy-800), var(--navy-950)); color: #fff; border-color: transparent; }
.hub--featured::after { border-color: rgba(62,196,204,.25); box-shadow: 0 0 0 40px rgba(62,196,204,.05), 0 0 0 80px rgba(62,196,204,.03); }
.hub__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 3.5rem; }
.hub__code {
  font-family: var(--font-display); font-weight: 700; font-size: .85rem; letter-spacing: .1em;
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad); color: #fff;
}
.hub__tag { font-size: .8rem; font-weight: 500; color: var(--muted); padding: .35rem .8rem; border-radius: 999px; border: 1px solid var(--line); }
.hub--featured .hub__tag { color: rgba(255,255,255,.7); border-color: var(--line-light); }
.hub__title { font-size: 1.65rem; font-weight: 600; margin-bottom: .9rem; }
.hub__text { color: var(--muted); font-size: .97rem; margin-bottom: 1.6rem; }
.hub--featured .hub__text { color: rgba(255,255,255,.68); }
.hub__list { display: flex; flex-wrap: wrap; gap: .5rem; position: relative; z-index: 1; }
.hub__list li { font-size: .8rem; font-weight: 500; padding: .35rem .75rem; border-radius: 999px; background: var(--white); border: 1px solid var(--line); }
.hub--featured .hub__list li { background: rgba(255,255,255,.07); border-color: var(--line-light); }

.modes {
  margin-top: 1.5rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.mode { background: var(--white); display: flex; align-items: center; justify-content: center; gap: .9rem; padding: 1.5rem 1rem; font-family: var(--font-display); font-weight: 500; }
.mode svg { width: 30px; height: 30px; fill: none; stroke: var(--teal); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Why ---------- */
.why { background: var(--paper); }
.why__inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(3rem, 7vw, 7rem); align-items: start; }
.why__intro { position: sticky; top: calc(var(--header-h) + 3rem); display: grid; gap: 1.5rem; justify-items: start; }
.why__intro .section-title { margin-top: 0; }
.features { display: grid; gap: 1rem; }
.feature {
  display: flex; gap: 1.25rem; padding: 1.6rem 1.6rem; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line);
  transition: border-color .4s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease);
}
.feature:hover { border-color: rgba(35,150,159,.35); transform: translateX(6px); box-shadow: 0 20px 40px -28px rgba(11,29,58,.3); }
.feature__icon {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--grad); color: #fff;
}
.feature__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: .35rem; }
.feature p { color: var(--muted); font-size: .95rem; }

/* ---------- Contact ---------- */
.contact { background: var(--navy-950); color: #fff; overflow: hidden; }
.contact__bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(50% 60% at 0% 0%, rgba(70,104,177,.28), transparent 70%),
    radial-gradient(40% 50% at 100% 100%, rgba(35,150,159,.22), transparent 70%);
}
.contact__inner { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 6vw, 6rem); align-items: start; }
.contact__intro { display: grid; gap: 1.5rem; align-content: start; padding-top: 1rem; }
.contact__intro .section-title { margin-top: 0; }
.contact__points { display: grid; gap: .9rem; margin-top: .5rem; }
.contact__points li { display: flex; align-items: center; gap: .8rem; color: rgba(255,255,255,.85); }
.contact__points svg {
  width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: rgba(62,196,204,.15);
  fill: none; stroke: var(--teal-300); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
}
.contact__email {
  display: flex; align-items: center; gap: 1rem; margin-top: .5rem; padding: 1.1rem 1.25rem;
  border-radius: 16px; border: 1px solid var(--line-light);
  background: linear-gradient(120deg, rgba(70,104,177,.14), rgba(35,150,159,.1));
  transition: border-color .4s var(--ease), background-color .4s var(--ease), transform .5s var(--ease);
}
.contact__email:hover { border-color: rgba(62,196,204,.5); transform: translateY(-3px); }
.contact__email-icon { flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); }
.contact__email-icon svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact__email-text { display: grid; gap: .1rem; min-width: 0; }
.contact__email-label { font-size: .8rem; color: rgba(255,255,255,.55); }
.contact__email-address { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: #fff; overflow-wrap: anywhere; }
.contact__email-arrow { margin-left: auto; width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: var(--teal-300); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.contact__email:hover .contact__email-arrow { transform: translate(3px, -3px); }

.contact__secure {
  display: flex; gap: .8rem; align-items: flex-start; margin-top: 1rem; padding: 1rem 1.2rem;
  border-radius: 14px; border: 1px solid var(--line-light); background: rgba(255,255,255,.03);
  font-size: .88rem; color: rgba(255,255,255,.6);
}
.contact__secure svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; fill: none; stroke: var(--teal-300); stroke-width: 2; }

.form-card {
  position: relative; border-radius: var(--radius-lg); padding: clamp(1.6rem, 3.5vw, 2.75rem);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border: 1px solid var(--line-light); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.6);
}
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.field { position: relative; display: grid; border: 0; margin: 0; padding: 0; min-width: 0; }
.field__input {
  width: 100%; padding: 1.45rem 1.1rem .6rem; border-radius: 14px;
  background: rgba(3, 10, 24, .45); border: 1px solid rgba(255,255,255,.14); color: #fff;
  outline: none; transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.field__input--area { resize: vertical; min-height: 140px; padding-top: 1.7rem; }
.field__input:hover { border-color: rgba(255,255,255,.28); }
.field__input:focus { border-color: var(--teal-300); box-shadow: 0 0 0 4px rgba(62,196,204,.15); background: rgba(3,10,24,.65); }
.field__label {
  position: absolute; left: 1.1rem; top: 1.05rem; pointer-events: none; color: rgba(255,255,255,.55);
  font-size: .97rem; transform-origin: left top; transition: transform .3s var(--ease), color .3s;
}
.field__input:focus + .field__label,
.field__input:not(:placeholder-shown) + .field__label { transform: translateY(-.6rem) scale(.78); color: var(--teal-300); }
.field__input--area + .field__label { top: 1.15rem; }
.field__counter { position: absolute; right: 1rem; bottom: .6rem; font-size: .72rem; color: rgba(255,255,255,.35); pointer-events: none; }
.field__error { font-size: .8rem; color: #ff8a8a; min-height: 0; padding-left: .3rem; }
.field__error:not(:empty) { margin-top: .35rem; }
.field.is-invalid .field__input { border-color: #ff8a8a; }
.field.is-invalid .field__label { color: #ff9f9f; }

.field--choices { gap: .7rem; }
.field__legend { font-size: .9rem; color: rgba(255,255,255,.7); margin-bottom: .7rem; padding: 0; }
.choices { display: flex; flex-wrap: wrap; gap: .55rem; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span {
  display: inline-block; padding: .6rem 1rem; border-radius: 999px; font-size: .87rem; font-weight: 500;
  border: 1px solid rgba(255,255,255,.16); background: rgba(3,10,24,.35); color: rgba(255,255,255,.8);
  transition: all .3s var(--ease);
}
.choice:hover span { border-color: rgba(255,255,255,.4); }
.choice input:checked + span { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 8px 20px -10px rgba(35,150,159,.8); }
.choice input:focus-visible + span { outline: 2px solid var(--teal-300); outline-offset: 2px; }

.check { display: flex; gap: .8rem; align-items: flex-start; cursor: pointer; font-size: .88rem; color: rgba(255,255,255,.7); }
.check input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; cursor: pointer; }
.check__box {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 7px; margin-top: 1px;
  border: 1px solid rgba(255,255,255,.3); background: rgba(3,10,24,.45); display: grid; place-items: center;
  transition: all .3s var(--ease);
}
.check__box svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .35s var(--ease); }
.check input:checked + .check__box { background: var(--grad); border-color: transparent; }
.check input:checked + .check__box svg { stroke-dashoffset: 0; }
.check input:focus-visible + .check__box { outline: 2px solid var(--teal-300); outline-offset: 2px; }
.check .link-btn { color: var(--teal-300); }

.turnstile-slot:empty { display: none; }
.form__footer { display: grid; gap: .9rem; margin-top: .4rem; }
.form__submit { --pad-y: 1.1rem; }
.btn__spinner {
  display: none; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .8s linear infinite;
}
.form.is-loading .btn__spinner { display: block; }
.form.is-loading .form__submit svg { display: none; }
.form.is-loading .form__submit { pointer-events: none; opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }
.form__status { font-size: .9rem; text-align: center; min-height: 1.4em; }
.form__status--error { color: #ff9f9f; }

.form-success { text-align: center; display: grid; justify-items: center; gap: 1rem; padding: 3rem 1rem; }
.form-success__icon svg { width: 84px; height: 84px; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.form-success__icon circle { stroke: var(--teal-300); stroke-dasharray: 160; stroke-dashoffset: 160; }
.form-success__icon path { stroke: #fff; stroke-dasharray: 40; stroke-dashoffset: 40; }
.form-success h3 { font-size: 1.6rem; font-weight: 600; }
.form-success p { color: rgba(255,255,255,.68); max-width: 28rem; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: rgba(255,255,255,.65); border-top: 1px solid var(--line-light); padding: 4rem 0 2rem; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1.6fr auto; gap: 3rem; align-items: start; padding-bottom: 3rem; border-bottom: 1px solid var(--line-light); }
.footer__brand { display: grid; gap: 1.2rem; max-width: 340px; }
.footer__logo { width: 190px; height: auto; }
.footer__brand p { font-size: .92rem; }
.footer__email { display: inline-flex; align-items: center; gap: .6rem; font-weight: 500; color: #fff; transition: color .3s; }
.footer__email:hover { color: var(--teal-300); }
.footer__email svg { width: 18px; height: 18px; fill: none; stroke: var(--teal-300); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.footer__nav { display: grid; grid-template-columns: repeat(3, auto); gap: .8rem 2.5rem; justify-content: start; }
.footer__nav a { font-size: .92rem; transition: color .3s; white-space: nowrap; }
.footer__nav a:hover { color: #fff; }
.footer__social { display: flex; gap: .6rem; }
.footer__social a {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-light); transition: all .35s var(--ease);
}
.footer__social a:hover { background: var(--grad); border-color: transparent; color: #fff; transform: translateY(-3px); }
.footer__social svg { width: 18px; height: 18px; fill: currentColor; }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 2rem; font-size: .85rem; }
.footer__slogan { font-family: var(--font-display); font-style: italic; color: var(--teal-300); }

/* ---------- Privacy modal ---------- */
.modal {
  width: min(640px, calc(100% - 2rem)); max-height: min(80vh, 760px); padding: 0; border: 0; border-radius: var(--radius-lg);
  background: var(--white); color: var(--ink); box-shadow: 0 40px 100px -30px rgba(0,0,0,.6);
}
.modal::backdrop { background: rgba(3, 10, 24, .7); backdrop-filter: blur(6px); }
.modal__body { padding: 2.5rem 2.25rem 2.25rem; display: grid; gap: .8rem; position: relative; }
.modal h2 { font-size: 1.6rem; margin-bottom: .4rem; }
.modal h3 { font-size: 1rem; margin-top: .8rem; }
.modal p { color: var(--muted); font-size: .95rem; }
.modal a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.modal__close {
  position: absolute; top: 1.2rem; right: 1.2rem; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--paper); cursor: pointer; display: grid; place-items: center;
}
.modal__close svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .nav__list { gap: 1.4rem; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__social { grid-column: 1 / -1; }
  .footer__nav { grid-template-columns: repeat(2, auto); gap: .8rem 2rem; }
}

@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: 2; flex-direction: column; justify-content: center; gap: 2.5rem;
    background: var(--navy-950); padding: 6rem 2rem 3rem;
    clip-path: circle(0% at calc(100% - 45px) 36px); visibility: hidden;
    transition: clip-path .7s var(--ease), visibility 0s .7s;
  }
  .menu-open .nav { clip-path: circle(150% at calc(100% - 45px) 36px); visibility: visible; transition: clip-path .7s var(--ease), visibility 0s; }
  .nav__list { flex-direction: column; align-items: center; gap: 1.4rem; }
  .nav__link, .header.is-scrolled .nav__link { font-family: var(--font-display); font-size: 1.7rem; color: rgba(255,255,255,.85); }
  .menu-open .brand__logo--light { opacity: 1 !important; }
  .menu-open .brand__logo--color { opacity: 0 !important; }
  .menu-open .header {
    background: transparent !important; box-shadow: none !important; transform: none !important;
    backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
  }
  .menu-open .header__inner { transform: none !important; }
  .brand { z-index: 3; }

  .hero__globe { width: 130vw; right: -55vw; top: 58%; opacity: .55; }
  .hero__glow { width: 100vw; right: -40vw; }

  .section-head--split { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 2rem; }
  .hubs { grid-template-columns: 1fr; }
  .modes { grid-template-columns: repeat(2, 1fr); }
  .why__inner, .contact__inner { grid-template-columns: 1fr; }
  .why__intro { position: static; }

  /* Process becomes a vertical timeline */
  .process__pin { min-height: 0; }
  .process__route { display: none; }
  .process__track {
    flex-direction: column; width: auto; gap: 1.25rem;
    padding-inline: 0; margin-inline: auto; width: min(100% - 2.5rem, var(--container));
  }
  .process__track::before {
    content: ""; position: absolute; left: 32px; top: 2rem; bottom: 2rem; width: 2px;
    background: linear-gradient(var(--teal-300), rgba(62,196,204,.05));
  }
  .process__track { padding-top: 0; }
  .step { width: 100%; padding: 1.8rem 1.5rem 1.8rem 6.5rem; }
  .step::before { display: none; }
  .step__title { margin-top: 0; }
  .step__icon { left: 0; top: 1.6rem; width: 64px; height: 64px; }
  .step__num { font-size: 2.2rem; top: 1.2rem; right: 1.2rem; }
  .process__hint { display: none; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 2rem, var(--container)); }
  .brand { width: 148px; }
  .hero { padding-bottom: 5rem; }
  .hero__actions .btn { width: 100%; }
  .hero__meta { gap: 1.25rem 2rem; }
  .hero__scroll { display: none; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding-right: .75rem; }
  .stat + .stat { padding-left: .75rem; }
  .stat:nth-child(3) { padding-left: 0; }
  .form__row { grid-template-columns: 1fr; }
  .modes { grid-template-columns: 1fr 1fr; }
  .mode { flex-direction: column; gap: .5rem; font-size: .9rem; }
  .step { padding-left: 5.5rem; }
  .step__icon { width: 56px; height: 56px; left: 4px; }
  .process__track::before { left: 31px; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__nav { grid-template-columns: repeat(2, auto); }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto !important; }
}
