/* ==========================================================
   Inbounder — Companies · People · Spaces
   ========================================================== */
:root {
  --navy-950: #040a1a;
  --navy-900: #061230;
  --navy-800: #0a1f4d;
  --navy-700: #0d2c6b;
  --blue: #1463f3;
  --blue-2: #2f8bff;
  --cyan: #56c8ff;
  --orange: #ff7a00;
  --amber: #ffa412;
  --yellow: #ffc928;
  --ink: #0b1a38;
  --muted: #5d6c88;
  --paper: #f4f7fc;
  --white: #ffffff;
  --line: rgba(10, 31, 77, .1);
  --line-dark: rgba(255, 255, 255, .1);
  --grad-warm: linear-gradient(120deg, #ff6a00 0%, #ff9a00 50%, #ffc928 100%);
  --grad-cool: linear-gradient(135deg, #1463f3, #56c8ff);
  --radius: 24px;
  --shadow: 0 30px 80px -20px rgba(6, 18, 48, .25);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font-head: 'Cairo', system-ui, sans-serif;
  --font-body: 'Cairo', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
body.loading { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--orange); color: #fff; }

.container { width: min(1240px, 100% - 32px); margin-inline: auto; position: relative; }
.section { padding: 130px 0; position: relative; }
.dark { background: var(--navy-950); color: #e8eefb; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: 14px; font-weight: 700;
  color: var(--orange); margin-bottom: 14px;
}
.kicker::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--grad-warm); }
.title {
  font-family: var(--font-head);
  font-size: clamp(32px, 4.4vw, 60px);
  line-height: 1.25; margin: 0; font-weight: 800; letter-spacing: -.01em;
}
.grad { background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sub { color: var(--muted); font-size: 18px; line-height: 1.95; max-width: 640px; margin: 18px 0 0; }
.dark .sub { color: #9fb0cf; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 56px; }
.section-head .sub { max-width: 480px; }
.center-head { text-align: center; max-width: 900px; margin: 0 auto 60px; }
.center-head .sub { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 16px; border: 0; cursor: pointer;
  font-family: var(--font-head); font-weight: 700; font-size: 15px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s;
  will-change: transform; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(-4px); }
.btn-primary { background: var(--grad-warm); color: #fff; box-shadow: 0 14px 34px -8px rgba(255, 122, 0, .55), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-primary:hover { box-shadow: 0 22px 44px -10px rgba(255, 122, 0, .7), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-ghost { background: rgba(255, 255, 255, .06); color: #fff; border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); transform: translateY(-2px); }
.btn-sm { padding: 11px 18px; font-size: 14px; border-radius: 13px; }
.btn:focus-visible, .tab:focus-visible, a:focus-visible, .member:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 3000; background: var(--navy-950);
  display: grid; place-items: center; align-content: center; gap: 34px;
  transition: opacity .7s var(--ease), visibility .7s;
}
.loader.done { opacity: 0; visibility: hidden; }
.loader-mark { position: relative; width: 120px; height: 120px; display: grid; place-items: center; }
.loader-mark img { width: 58px; animation: loaderPulse 1.6s ease-in-out infinite; }
.loader-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255,255,255,.08); border-top-color: var(--orange); border-left-color: var(--blue-2); animation: spin 1.1s linear infinite; }
.loader-bar { width: 180px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.08); overflow: hidden; }
.loader-bar span { display: block; height: 100%; width: 0; background: var(--grad-warm); transition: width .3s; }
@keyframes loaderPulse { 50% { transform: scale(.88) rotate(-6deg); } }

/* ---------- Cursor dot ---------- */
.cursor-dot {
  position: fixed; top: 0; left: 0; z-index: 2500; pointer-events: none;
  width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%;
  border: 1.5px solid rgba(255, 164, 18, .8); mix-blend-mode: difference;
  transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background .3s, opacity .3s;
  opacity: 0;
}
.cursor-dot.on { opacity: 1; }
.cursor-dot.hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(255, 164, 18, .18); }
@media (hover: none), (pointer: coarse) { .cursor-dot { display: none; } }

/* ---------- Navigation ---------- */
.nav { position: fixed; top: 16px; inset-inline: 0; z-index: 1000; transition: top .4s var(--ease); }
.nav-inner {
  width: min(1240px, 100% - 32px); height: 72px; margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 0 14px 0 12px; border-radius: 22px;
  background: rgba(6, 18, 48, .45); border: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition: height .4s var(--ease), background .4s, box-shadow .4s;
}
.nav.scrolled { top: 8px; }
.nav.scrolled .nav-inner { height: 62px; background: rgba(5, 13, 34, .82); box-shadow: 0 18px 50px -12px rgba(0, 0, 0, .45); }
.brand { display: flex; align-items: center; gap: 10px; direction: ltr; flex-shrink: 0; }
.brand-mark { width: 30px; height: auto; }
.brand-word { width: 128px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; font-family: var(--font-head); font-size: 14px; font-weight: 500; }
.nav-links a { position: relative; padding: 8px 14px; border-radius: 12px; color: #c4d0e8; transition: color .3s, background .3s; }
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav-links a.active { color: #fff; }
.nav-links a.active::after { content: ""; position: absolute; bottom: 2px; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 10px var(--orange); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 13px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.06); cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: #fff; transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 25px; }
.menu-open .menu-btn span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .menu-btn span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden;
  display: flex; align-items: center;
  background:
    radial-gradient(1200px 700px at 20% 40%, rgba(20, 99, 243, .28), transparent 60%),
    radial-gradient(700px 500px at 85% 90%, rgba(255, 122, 0, .14), transparent 60%),
    linear-gradient(180deg, #050c22 0%, #071636 60%, #040a1a 100%);
  color: #fff; padding: 130px 0 90px;
}
#hero3d { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; display: block; }
.hero-grid-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  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: 56px 56px;
  mask-image: radial-gradient(ellipse at 30% 50%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 50%, #000 10%, transparent 70%);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; z-index: 0; }
.hero-glow.g1 { width: 420px; height: 420px; left: 12%; top: 22%; background: rgba(47, 139, 255, .25); }
.hero-glow.g2 { width: 300px; height: 300px; left: 30%; bottom: 8%; background: rgba(255, 122, 0, .16); }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 160px; background: linear-gradient(transparent, #040a1a); z-index: 1; pointer-events: none; }
.hero-inner { z-index: 2; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; pointer-events: none; }
.hero-inner a, .hero-inner button { pointer-events: auto; }
.hero-copy { max-width: 720px; }
@media (min-width: 901px) { .hero-title .line > span { white-space: nowrap; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; direction: ltr;
  padding: 9px 16px; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: .06em;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: #cfdaf0; backdrop-filter: blur(10px);
}
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px rgba(255,122,0,.18), 0 0 14px var(--orange); animation: blink 2s ease-in-out infinite; }
@keyframes blink { 50% { box-shadow: 0 0 0 9px rgba(255,122,0,0), 0 0 14px var(--orange); } }
.hero-title {
  font-family: var(--font-head); font-weight: 900;
  font-size: clamp(42px, 5vw, 78px); line-height: 1.25; letter-spacing: -.015em;
  margin: 22px 0 18px;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero-title .line > span { display: inline-block; }
.hero-desc { font-size: 18.5px; line-height: 2; color: #b4c2dd; max-width: 590px; margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-stats { display: flex; gap: 0; margin-top: 38px; max-width: 520px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 26px; }
.hero-stats > div { flex: 1; padding-inline-end: 18px; }
.hero-stats > div + div { border-inline-start: 1px solid rgba(255,255,255,.1); padding-inline-start: 22px; }
.hero-stats b { display: block; font-family: var(--font-head); font-size: 34px; font-weight: 800; line-height: 1.1; direction: ltr; text-align: right; background: linear-gradient(180deg, #fff, #b8c8ea); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stats small { color: #8ea0c3; font-size: 13.5px; }
.hero-stage { position: relative; height: 560px; }
.float-chip {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 14px; border-radius: 18px;
  background: rgba(10, 26, 64, .55); border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px -12px rgba(0,0,0,.5);
  animation: floatY 6s ease-in-out infinite;
}
.float-chip b { display: block; font-family: var(--font-head); font-size: 14px; font-weight: 700; color: #fff; }
.float-chip small { color: #93a6c9; font-size: 12px; }
.chip-ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; background: var(--grad-cool); color: #fff; font-size: 17px; flex-shrink: 0; }
.chip-ic.o { background: var(--grad-warm); }
.float-chip.c1 { top: 4%; inset-inline-start: 2%; }
.float-chip.c2 { top: 50%; inset-inline-end: -9%; animation-delay: -2s; }
.float-chip.c3 { bottom: 2%; inset-inline-start: 6%; animation-delay: -4s; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.scroll-hint { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 3; width: 28px; height: 46px; border-radius: 16px; border: 2px solid rgba(255,255,255,.3); }
.scroll-hint span { position: absolute; top: 8px; left: 50%; width: 4px; height: 9px; margin-left: -2px; border-radius: 3px; background: var(--amber); animation: scrollDot 1.8s ease-in-out infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }
.no-webgl .hero { background: radial-gradient(600px 600px at 25% 50%, rgba(20,99,243,.35), transparent 60%), linear-gradient(180deg, #050c22, #040a1a); }

/* ---------- Marquee ---------- */
.marquee-band { position: relative; z-index: 5; background: var(--navy-950); padding: 28px 0 60px; overflow: hidden; direction: ltr; }
.marquee {
  display: flex; width: 110vw; margin-left: -5vw; overflow: hidden; direction: ltr;
  background: var(--grad-warm); transform: rotate(-2deg);
  box-shadow: 0 30px 60px -20px rgba(255,122,0,.5);
}
.marquee-track { display: flex; flex-shrink: 0; animation: marquee 32s linear infinite; }
.marquee span { padding: 20px 34px; font-family: var(--font-head); font-size: 19px; font-weight: 800; color: #fff; display: flex; align-items: center; gap: 34px; white-space: nowrap; }
.marquee span::after { content: "✦"; font-size: 16px; color: var(--navy-900); }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- About ---------- */
.about { background: linear-gradient(180deg, var(--white), var(--paper)); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.about-visual { position: relative; height: 560px; transform-style: preserve-3d; perspective: 1200px; }
.about-frame { position: absolute; inset: 30px 40px 30px 30px; border-radius: 32px; overflow: hidden; box-shadow: var(--shadow); transform: translateZ(0); }
.about-frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.about-frame-shade { position: absolute; inset: 0; background: linear-gradient(200deg, rgba(20,99,243,.05) 30%, rgba(6,18,48,.65)); }
.about-badge {
  position: absolute; padding: 18px 22px; border-radius: 22px; min-width: 170px;
  background: rgba(255,255,255,.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.9); box-shadow: 0 24px 60px -16px rgba(6,18,48,.35);
}
.about-badge b { display: block; font-family: var(--font-head); font-size: 40px; font-weight: 900; line-height: 1.1; direction: ltr; text-align: right; }
.about-badge.b1 b { background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about-badge.b2 b { background: var(--grad-cool); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about-badge small { color: var(--muted); font-weight: 600; font-size: 14px; }
.about-badge.b1 { top: 0; inset-inline-start: 0; transform: translateZ(60px); }
.about-badge.b2 { bottom: 0; inset-inline-end: 0; transform: translateZ(80px); }
.about-mark { position: absolute; width: 86px; bottom: 70px; inset-inline-start: -10px; transform: translateZ(100px); filter: drop-shadow(0 18px 30px rgba(6,18,48,.35)); animation: floatY 5s ease-in-out infinite; }
.about-list { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 14px; }
.about-list li { display: flex; gap: 18px; align-items: flex-start; padding: 18px 20px; border-radius: 20px; background: #fff; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; }
.about-list li:hover { transform: translateX(-8px); box-shadow: 0 20px 50px -20px rgba(6,18,48,.25); border-color: rgba(255,122,0,.3); }
.li-ic { flex-shrink: 0; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 14px; color: #fff; background: linear-gradient(135deg, var(--navy-700), var(--blue)); }
.about-list b { display: block; font-family: var(--font-head); font-size: 17px; font-weight: 700; margin-bottom: 2px; }
.about-list small { color: var(--muted); font-size: 15px; }

/* ---------- Services (bento) ---------- */
.services { overflow: hidden; }
.services-bg { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(800px 500px at 90% 10%, rgba(20,99,243,.22), transparent 60%), radial-gradient(600px 500px at 0% 90%, rgba(255,122,0,.12), transparent 60%); }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; perspective: 1400px; }
.s-card {
  position: relative; padding: 30px; border-radius: 28px; min-height: 290px;
  background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  border: 1px solid var(--line-dark); overflow: hidden;
  transform-style: preserve-3d; transition: border-color .4s, box-shadow .4s;
  display: flex; flex-direction: column;
}
.s-card.wide { grid-column: span 2; background: linear-gradient(140deg, rgba(20,99,243,.25), rgba(255,255,255,.03) 60%); }
.s-card:hover { border-color: rgba(255,164,18,.4); box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); }
.s-glow { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255,140,20,.16), transparent 45%); }
.s-card:hover .s-glow { opacity: 1; }
.s-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.s-num { font-family: var(--font-head); font-size: 14px; font-weight: 700; color: #6f83ab; }
.s-icon { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center;
  background: var(--grad-warm); box-shadow: 0 16px 34px -10px rgba(255,122,0,.6), inset 0 1px 0 rgba(255,255,255,.4); }
.s-card:nth-child(even) .s-icon { background: var(--grad-cool); box-shadow: 0 16px 34px -10px rgba(20,99,243,.7), inset 0 1px 0 rgba(255,255,255,.4); }
.s-icon svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.s-card h3 { font-family: var(--font-head); font-size: 24px; font-weight: 700; margin: 0 0 10px; color: #fff; }
.s-card.wide h3 { font-size: 30px; }
.s-card p { color: #9fb0cf; margin: 0; font-size: 16px; max-width: 540px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips span { padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); color: #d6e0f5; }
.s-arrow { position: absolute; bottom: 26px; inset-inline-end: 26px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.15); transition: background .35s, transform .35s var(--ease), border-color .35s; transform: translateZ(40px); }
.s-arrow svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.s-card:hover .s-arrow { background: var(--orange); border-color: transparent; transform: translateZ(40px) rotate(-45deg); }
.depth { transform: translateZ(30px); }
.s-card h3.depth { transform: translateZ(50px); }

/* ---------- Consult ---------- */
.consult { background: var(--paper); }
.consult-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.tabs { display: grid; gap: 10px; margin-top: 34px; }
.tab {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-radius: 18px; text-align: start; cursor: pointer;
  font-family: var(--font-head); font-size: 16px; font-weight: 600;
  background: #fff; border: 1px solid var(--line); color: var(--ink);
  transition: transform .35s var(--ease), background .35s, color .35s, box-shadow .35s;
}
.tab::after { content: "←"; opacity: 0; transform: translateX(10px); transition: .35s var(--ease); color: var(--amber); }
.tab:hover { transform: translateX(-6px); }
.tab.active { background: linear-gradient(135deg, var(--navy-800), var(--navy-700)); color: #fff; box-shadow: 0 18px 40px -16px rgba(10,31,77,.6); transform: translateX(-10px); }
.tab.active::after { opacity: 1; transform: none; }
.consult-panel {
  position: relative; border-radius: 32px; overflow: hidden; min-height: 600px;
  background: var(--navy-900); color: #fff; box-shadow: var(--shadow);
  transform-style: preserve-3d;
}
.panel-media { position: absolute; inset: 0; }
.panel-media img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.panel-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,18,48,.2), rgba(6,18,48,.95) 65%); }
.panel-body { position: absolute; inset: auto 0 0 0; padding: 42px; transform: translateZ(40px); }
.panel-icon { width: 70px; height: 70px; border-radius: 22px; display: grid; place-items: center; font-size: 30px; background: var(--grad-warm); box-shadow: 0 20px 40px -10px rgba(255,122,0,.6); }
.panel-body h3 { font-family: var(--font-head); font-size: 34px; font-weight: 800; margin: 24px 0 10px; }
.panel-body p { color: #c3d0e8; font-size: 17px; margin: 0; max-width: 560px; }
.panel-body ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.panel-body li { padding: 12px 16px; border-radius: 14px; font-weight: 600; font-size: 15px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(8px); }
.panel-body li::before { content: "✓"; color: var(--amber); margin-inline-end: 10px; font-weight: 800; }

/* ---------- Journey ---------- */
.journey { background: var(--white); overflow: hidden; }
.steps-wrap { position: relative; }
.steps-line { position: absolute; top: 37px; inset-inline: 12%; height: 3px; border-radius: 3px; background: var(--line); }
.steps-line span { position: absolute; inset-block: 0; inset-inline-start: 0; width: 0; border-radius: 3px; background: linear-gradient(270deg, var(--orange), var(--amber), var(--blue)); box-shadow: 0 0 18px rgba(255,122,0,.5); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; perspective: 1000px; }
.step { text-align: center; padding: 0 10px; }
.step-no {
  width: 76px; height: 76px; margin: 0 auto 26px; border-radius: 24px; display: grid; place-items: center;
  font-family: var(--font-head); font-size: 22px; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--navy-800), var(--blue));
  box-shadow: 0 0 0 10px var(--white), 0 20px 40px -12px rgba(20,99,243,.6);
  transform: rotate(45deg); transition: transform .5s var(--ease), background .5s;
}

.step:hover .step-no { transform: rotate(45deg) scale(1.08); background: var(--grad-warm); }
.step h3 { font-family: var(--font-head); font-size: 21px; font-weight: 700; margin: 0 0 10px; }
.step p { color: var(--muted); margin: 0; font-size: 15.5px; }
/* keep number upright inside rotated tile */
.step-no { font-size: 0; }
.step-no::after { content: attr(data-n); display: inline-block; font-size: 22px; transform: rotate(-45deg); }

/* ---------- Workspace carousel ---------- */
.workspace { overflow: hidden; background: radial-gradient(900px 500px at 50% 60%, rgba(20,99,243,.22), transparent 70%), var(--navy-950); }
.carousel-scene { --w: 470px; --h: 310px; --r: 560px; position: relative; height: calc(var(--h) + 130px); perspective: 1500px; perspective-origin: 50% 30%; cursor: grab; user-select: none; touch-action: pan-y; direction: ltr; }
.carousel-scene:active { cursor: grabbing; }
.carousel { position: absolute; top: 40px; left: 50%; width: var(--w); height: var(--h); margin-left: calc(var(--w) / -2); transform-style: preserve-3d; }
.c-panel {
  position: absolute; inset: 0; margin: 0; border-radius: 22px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.14); box-shadow: 0 30px 60px -20px rgba(0,0,0,.7);
  backface-visibility: hidden; -webkit-backface-visibility: hidden; background: var(--navy-800);
}
.c-panel img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.c-panel figcaption { position: absolute; inset: auto 0 0 0; padding: 40px 20px 16px; direction: rtl; font-family: var(--font-head); font-weight: 700; font-size: 17px; color: #fff; background: linear-gradient(transparent, rgba(4,10,26,.9)); }
.carousel-floor { position: absolute; left: 50%; bottom: 0; width: 900px; height: 120px; margin-left: -450px; border-radius: 50%; background: radial-gradient(ellipse, rgba(47,139,255,.35), transparent 65%); filter: blur(10px); pointer-events: none; }
.ws-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 50px; }
.ws-features > div { padding: 22px; border-radius: 20px; background: rgba(255,255,255,.04); border: 1px solid var(--line-dark); text-align: center; }
.ws-features b { display: block; font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 16px; }
.ws-features small { color: #8ea0c3; font-size: 14px; }

/* ---------- Team (flip cards) ---------- */
.team { background: linear-gradient(180deg, var(--paper), var(--white)); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.member { perspective: 1200px; height: 330px; outline: none; cursor: pointer; }
.member-inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .9s var(--ease); }
.member:hover .member-inner, .member.flipped .member-inner, .member:focus-visible .member-inner { transform: rotateY(180deg); }
.m-face { position: absolute; inset: 0; border-radius: 28px; padding: 30px; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; }
.m-front { background: #fff; border: 1px solid var(--line); box-shadow: 0 20px 50px -26px rgba(6,18,48,.3); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.m-front::before { content: ""; position: absolute; inset: 0 0 auto; height: 110px; background: linear-gradient(135deg, rgba(20,99,243,.08), rgba(255,122,0,.08)); }
.avatar { position: relative; width: 110px; height: 110px; border-radius: 34px; display: grid; place-items: center; margin-bottom: 22px; transform: rotate(-6deg); box-shadow: 0 24px 40px -14px rgba(6,18,48,.45); }
.avatar span { font-family: var(--font-head); font-size: 34px; font-weight: 800; color: #fff; transform: rotate(6deg); }
.avatar::after { content: ""; position: absolute; inset: 6px; border-radius: 28px; border: 1.5px solid rgba(255,255,255,.35); }
.a1 { background: linear-gradient(135deg, #0d2c6b, #1463f3); }
.a2 { background: linear-gradient(135deg, #ff6a00, #ffc928); }
.a3 { background: linear-gradient(135deg, #1463f3, #56c8ff); }
.a4 { background: linear-gradient(135deg, #ff7a00, #ff3d6e); }
.a5 { background: linear-gradient(135deg, #0a1f4d, #2f8bff); }
.a6 { background: linear-gradient(135deg, #ffa412, #ff6a00); }
.m-front h3 { font-family: var(--font-head); font-size: 21px; font-weight: 700; margin: 0 0 4px; position: relative; }
.m-role { margin: 0; color: var(--orange); font-weight: 700; font-size: 15px; position: relative; }
.m-tag { margin-top: 14px; padding: 6px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--muted); font-size: 12.5px; font-weight: 600; direction: ltr; position: relative; }
.m-back { transform: rotateY(180deg); background: linear-gradient(150deg, var(--navy-800), var(--navy-950)); color: #fff; display: flex; flex-direction: column; justify-content: center; }
.m-back::before { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(255,122,0,.35), transparent 70%); top: -80px; inset-inline-start: -60px; }
.m-back h3 { font-family: var(--font-head); font-size: 22px; font-weight: 700; margin: 0 0 12px; position: relative; }
.m-back p { color: #b9c7e2; margin: 0; position: relative; font-size: 16px; }
.m-back .chips { position: relative; }

/* ---------- Reviews ---------- */
.reviews { background: var(--white); padding: 60px 0 50px; overflow: hidden; }
.reviews-rail { overflow: hidden; direction: ltr; display: flex; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.reviews-track { display: flex; gap: 20px; width: max-content; padding: 20px 0 30px; animation: marqueeHalf 60s linear infinite; }
@keyframes marqueeHalf { to { transform: translateX(-50%); } }
.reviews-rail:hover .reviews-track { animation-play-state: paused; }
.review { direction: rtl; width: 380px; padding: 28px; border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: 0 20px 50px -28px rgba(6,18,48,.3); display: flex; flex-direction: column; }
.stars { color: var(--amber); letter-spacing: 3px; font-size: 17px; }
.review p { color: #3e4d6a; font-size: 16px; line-height: 1.9; margin: 12px 0 20px; flex: 1; }
.r-who { display: flex; align-items: center; gap: 12px; }
.r-av { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 14px; color: #fff; background: linear-gradient(135deg, var(--navy-700), var(--blue)); }
.r-who strong { display: block; font-family: var(--font-head); font-weight: 700; font-size: 15px; }
.r-who small { color: var(--muted); font-size: 13px; }

/* ---------- CTA ---------- */
.cta-wrap { padding: 40px 0 130px; background: var(--white); }
.cta { position: relative; border-radius: 40px; padding: 64px; overflow: hidden; color: #fff;
  background: radial-gradient(600px 400px at 85% 20%, rgba(47,139,255,.35), transparent 60%), radial-gradient(500px 400px at 10% 90%, rgba(255,122,0,.3), transparent 60%), linear-gradient(135deg, #061230, #0a1f4d); box-shadow: 0 50px 100px -40px rgba(6,18,48,.6); }
.cta-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .1; mix-blend-mode: luminosity; }
.ring { position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); animation: spin 22s linear infinite; }
.ring::after { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 16px var(--amber); }
.ring.r1 { width: 380px; height: 380px; left: -120px; bottom: -160px; }
.ring.r2 { width: 560px; height: 560px; right: -220px; top: -260px; animation-direction: reverse; }
.cta-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.cta h2 { font-family: var(--font-head); font-size: clamp(34px, 4.4vw, 58px); line-height: 1.3; font-weight: 800; margin: 0 0 16px; }
.cta p { color: #b9c7e2; font-size: 17px; margin: 0; }
.contact-lines { display: grid; gap: 12px; margin-top: 34px; }
.c-line { display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: 16px; color: #e8eefb; }
.c-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); flex-shrink: 0; }
.c-ic svg { width: 20px; height: 20px; fill: none; stroke: var(--amber); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
a.c-line span[dir] { font-family: var(--font-head); font-size: 20px; font-weight: 700; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 26px; border-radius: 28px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.form label { display: grid; gap: 6px; }
.form label > span { font-size: 13px; font-weight: 600; color: #a9b9d8; }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea { width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(255,255,255,.14); background: rgba(4,10,26,.35); color: #fff; outline: none; transition: border-color .3s, box-shadow .3s; resize: vertical; }
.form input[dir="ltr"] { text-align: right; }
.form input::placeholder, .form textarea::placeholder { color: #7488ad; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--amber); box-shadow: 0 0 0 4px rgba(255,164,18,.15); }
.form select option { color: #111; }
.form .invalid { border-color: #ff5d5d; }
.form-note { margin: 0; font-size: 14px; color: #ffcf7a; min-height: 1em; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: #c4d0e8; padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; }
.f-brand .brand { width: fit-content; }
.f-brand p { color: #8496b8; font-size: 15px; margin: 20px 0 0; max-width: 340px; }
.f-tag { letter-spacing: .3em; font-size: 11px !important; color: #5f749c !important; direction: ltr; text-align: right; }
.footer h4 { font-family: var(--font-head); color: #fff; font-size: 16px; font-weight: 700; margin: 6px 0 20px; }
.f-links { display: grid; gap: 10px; font-size: 15px; color: #8496b8; }
.f-links a { transition: color .3s, transform .3s; width: fit-content; }
.f-links a:hover { color: var(--amber); transform: translateX(-4px); }
.f-phone { font-family: var(--font-head); font-weight: 700; color: #fff !important; font-size: 18px; }
.copyright { margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; gap: 20px; font-size: 13px; color: #61769e; }

/* ---------- WhatsApp ---------- */
.wa-float { position: fixed; bottom: 24px; left: 24px; z-index: 900; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; box-shadow: 0 16px 34px -8px rgba(37,211,102,.6); transition: transform .35s var(--ease); }
.wa-float:hover { transform: scale(1.1) rotate(-8deg); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: waPulse 2.2s ease-out infinite; }
@keyframes waPulse { to { transform: scale(1.6); opacity: 0; } }

/* ---------- Reveal (JS adds .is-in; without JS everything is visible) ---------- */
.js .reveal { opacity: 0; transform: translateY(40px); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .menu-btn { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: absolute; top: calc(100% + 10px); inset-inline: 0; padding: 14px;
    border-radius: 22px; background: rgba(5,13,34,.96); border: 1px solid rgba(255,255,255,.1);
    backdrop-filter: blur(18px); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
  }
  .nav-links.open a { padding: 14px 16px; font-size: 16px; }
  .nav-inner { position: relative; }
  .about-grid, .consult-grid, .cta-grid { grid-template-columns: 1fr; gap: 56px; }
  .about-visual { height: 480px; max-width: 620px; width: 100%; margin-inline: auto; }
  .bento { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .ws-features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero { align-items: flex-end; padding: 0 0 70px; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 46vh; }
  .hero-stage { display: none; }
  .hero-title { margin-top: 18px; }
  .hero-glow.g1 { left: 50%; top: 10%; transform: translateX(-50%); }
  .scroll-hint { display: none; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 0; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 50px; }
  .steps-line { display: none; }
  .carousel-scene { --w: 300px; --h: 210px; --r: 360px; }
}
@media (max-width: 640px) {
  .section { padding: 90px 0; }
  .nav { top: 10px; }
  .nav-inner { height: 62px; }
  .nav-actions .btn-sm { display: none; }
  .brand-word { width: 108px; }
  .hero-desc { font-size: 16.5px; }
  .hero-actions .btn { flex: 1; }
  .hero-stats b { font-size: 26px; }
  .hero-stats > div + div { padding-inline-start: 14px; }
  .sub { font-size: 16.5px; }
  .marquee span { font-size: 16px; padding: 16px 24px; gap: 24px; }
  .about-visual { height: 400px; }
  .about-frame { inset: 26px 10px 26px 10px; }
  .about-badge { min-width: 140px; padding: 14px 16px; }
  .about-badge b { font-size: 30px; }
  .about-mark { width: 64px; }
  .bento, .team-grid, .steps { grid-template-columns: 1fr; }
  .s-card.wide { grid-column: auto; }
  .s-card { min-height: 0; padding: 26px 24px 84px; }
  .consult-panel { min-height: 620px; }
  .panel-body { padding: 28px 24px; }
  .panel-body h3 { font-size: 27px; }
  .panel-body ul { grid-template-columns: 1fr; }
  .tabs { grid-template-columns: 1fr 1fr; }
  .tab { font-size: 14px; padding: 14px; }
  .tab::after { display: none; }
  .tab.active, .tab:hover { transform: none; }
  .carousel-scene { --w: 230px; --h: 165px; --r: 270px; }
  .carousel-floor { width: 500px; margin-left: -250px; }
  .ws-features { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ws-features > div { padding: 16px 12px; }
  .member { height: 310px; }
  .review { width: 300px; }
  .cta { padding: 36px 20px; border-radius: 30px; }
  .form { grid-template-columns: 1fr; padding: 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .copyright { flex-direction: column; }
  .wa-float { width: 52px; height: 52px; bottom: 16px; left: 16px; }
}


/* icon glyphs inside chips / consult panel */
.chip-ic svg, .panel-icon svg { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chip-ic svg { width: 20px; height: 20px; }
.panel-icon svg { width: 32px; height: 32px; }

/* bento call-to-action card */
.s-card.s-cta { background: var(--grad-warm); border-color: transparent; color: #fff; justify-content: center; }
.s-card.s-cta .s-num { color: rgba(255,255,255,.8); font-size: 26px; }
.s-card.s-cta p { color: rgba(255,255,255,.9); }
.s-card.s-cta:hover { box-shadow: 0 40px 80px -30px rgba(255,122,0,.6); }
.s-cta-btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding: 12px 20px; border-radius: 14px; width: fit-content; background: var(--navy-900); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 15px; }
.s-cta-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 1100px) { .s-card.wide, .s-card.s-cta { grid-column: span 2; } }
@media (max-width: 640px) { .s-card.wide, .s-card.s-cta { grid-column: auto; } .s-card.s-cta { padding-bottom: 28px; } }
