/* ═══════════════════════════════════════════════════
   DESIGN TOKENS — Edit here to retheme everything
═══════════════════════════════════════════════════ */
:root {
  /* Core palette */
  --ink:        #070a12;
  --ink-2:      #0d1120;
  --ink-3:      #111827;
  --surface:    #141b2d;
  --surface-2:  #1a2438;
  --surface-3:  #1f2d48;
  --border:     rgba(255,255,255,0.07);
  --border-2:   rgba(255,255,255,0.12);

  /* Brand blue */
  --blue:       #2563eb;
  --blue-bright:#3b82f6;
  --blue-glow:  #60a5fa;
  --blue-dim:   rgba(37,99,235,0.15);
  --blue-dim-2: rgba(37,99,235,0.08);

  /* Steel / gray */
  --steel:      #64748b;
  --steel-2:    #94a3b8;
  --steel-3:    #cbd5e1;

  /* Text */
  --text-1:     #f1f5f9;
  --text-2:     #94a3b8;
  --text-3:     #64748b;

  /* Accent */
  --cyan:       #06b6d4;
  --gold:       #f59e0b;

  /* Typography — UPDATED: Outfit + Plus Jakarta Sans */
  --font-display: 'Outfit', sans-serif;
  --font-body:    'Plus Jakarta Sans', sans-serif;

  /* Spacing */
  --nav-h: 72px;
  --section-py: 120px;
  --container: 1200px;

  /* Easing */
  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:    cubic-bezier(0, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--text-1);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { border: none; background: none; font-family: inherit; cursor: pointer; }

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--ink-2); }
::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue); }

/* ─── GRAIN OVERLAY ─── */
#grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 9990; opacity: .03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px; animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0); }
  10%  { transform: translate(-3%,-4%); }
  20%  { transform: translate(-5%,2%); }
  30%  { transform: translate(3%,-1%); }
  40%  { transform: translate(-4%,5%); }
  50%  { transform: translate(-2%,-4%); }
  60%  { transform: translate(4%,3%); }
  70%  { transform: translate(0,5%); }
  80%  { transform: translate(-3%,1%); }
  90%  { transform: translate(3%,-3%); }
}

/* ─── LOADER ─── */
#loader {
  position: fixed; inset: 0; background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  z-index: 9998; transition: opacity .8s var(--ease), visibility .8s;
}
#loader.out { opacity: 0; visibility: hidden; }
.loader-content { text-align: center; }
.loader-logo-text {
  font-family: var(--font-display); font-size: 2.8rem; font-weight: 800;
  letter-spacing: -1px; color: var(--text-1);
}
.loader-logo-text span { color: var(--blue-bright); }
.loader-tagline {
  color: var(--text-3); font-size: .85rem; letter-spacing: 3px;
  text-transform: uppercase; margin-top: 6px; margin-bottom: 32px;
}
.loader-track {
  width: 220px; height: 2px; background: var(--surface-2);
  border-radius: 1px; margin: 0 auto; overflow: hidden;
}
.loader-prog {
  height: 100%; background: linear-gradient(90deg, var(--blue), var(--cyan));
  border-radius: 1px; width: 0; animation: lprog 1.8s var(--ease) forwards;
}
@keyframes lprog { to { width: 100%; } }
.loader-pct {
  font-family: var(--font-display); font-size: .75rem;
  color: var(--text-3); margin-top: 12px; letter-spacing: 1px;
}

/* ─── NAVBAR ─── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; z-index: 1000;
  transition: all .4s var(--ease);
}
#navbar.scrolled {
  background: rgba(7,10,18,0.88);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  height: 60px;
}
.nav-logo {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 800;
  letter-spacing: -0.5px; color: var(--text-1);
  display: flex; align-items: center; gap: 8px;
}
/* ─── LOGO IMAGE ─── */
.logo-img {
  height: 36px; width: auto;
  mix-blend-mode: screen;        /* يجعل الخلفية الرمادية شفافة على الداكن */
  filter: brightness(1.1) contrast(1.05);
  display: block;
}
.loader-logo-img {
  height: 56px; width: auto;
  mix-blend-mode: screen;
  filter: brightness(1.1);
  margin: 0 auto 16px;
  display: block;
}
footer .logo-img {
  height: 30px; width: auto;
  mix-blend-mode: screen;
  filter: brightness(1.05);
}
.nav-logo {
  display: flex; align-items: center; gap: 0;
  text-decoration: none;
}
.nav-logo-wordmark { display: flex; flex-direction: column; gap: 1px; }
.nav-logo-name { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; letter-spacing: -0.5px; line-height: 1; color: var(--text-1); }
.nav-logo-name em { font-style: normal; color: var(--blue-glow); }
.nav-logo-slogan { font-size: .58rem; font-weight: 600; color: var(--text-3); letter-spacing: 1.2px; text-transform: uppercase; }
.nav-center { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-center li a {
  font-size: .88rem; font-weight: 500; color: var(--text-2);
  padding: 8px 14px; border-radius: 8px;
  transition: color .25s, background .25s; letter-spacing: .2px;
}
.nav-center li a:hover,
.nav-center li a.active { color: var(--text-1); background: var(--surface); }

/* Dropdown */
.nav-dd { position: relative; }
.nav-dd > a { display: flex; align-items: center; gap: 5px; }
.nav-dd > a svg { width: 12px; opacity: .5; transition: transform .3s; }
.nav-dd:hover > a svg { transform: rotate(180deg); }
.dd-panel {
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--surface-2); border: 1px solid var(--border-2);
  border-radius: 16px; padding: 8px; min-width: 240px;
  box-shadow: 0 24px 48px rgba(0,0,0,.5), 0 0 0 1px var(--border);
  opacity: 0; visibility: hidden;
  transition: all .3s var(--ease); pointer-events: none;
}
.nav-dd:hover .dd-panel {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0); pointer-events: all;
}
.dd-item {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px;
  border-radius: 10px; color: var(--text-2); font-size: .87rem; font-weight: 500;
  transition: all .2s;
}
.dd-item:hover { background: var(--surface-3); color: var(--text-1); }
.dd-icon {
  width: 32px; height: 32px; border-radius: 8px; background: var(--blue-dim);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; flex-shrink: 0;
}
.nav-right { display: flex; align-items: center; gap: 10px; }
.btn-ghost {
  font-size: .87rem; font-weight: 500; color: var(--text-2);
  padding: 8px 16px; border-radius: 8px; border: 1px solid var(--border-2);
  transition: all .25s;
}
.btn-ghost:hover { color: var(--text-1); border-color: var(--border-2); background: var(--surface); }
.btn-primary {
  font-family: var(--font-body); font-size: .87rem; font-weight: 600;
  color: #fff; padding: 9px 20px; border-radius: 9px;
  background: linear-gradient(135deg, var(--blue), #1d4ed8);
  box-shadow: 0 4px 16px rgba(37,99,235,.35), inset 0 1px 0 rgba(255,255,255,.1);
  transition: all .3s var(--ease); cursor: pointer;
  border: 1px solid rgba(59,130,246,.3);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(37,99,235,.5); }
.btn-primary:active { transform: translateY(0); }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; cursor: pointer;
}
.hamburger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--text-2); border-radius: 1px; transition: all .3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* Mobile menu */
.mobile-menu {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: rgba(7,10,18,0.97); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border); padding: 16px 5% 24px;
  flex-direction: column; gap: 4px; z-index: 999;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 12px 16px; color: var(--text-2); border-radius: 10px;
  font-weight: 500; font-size: .95rem; transition: all .2s;
}
.mobile-menu a:hover { background: var(--surface); color: var(--text-1); }
.mobile-menu .m-cta {
  background: linear-gradient(135deg, var(--blue), #1d4ed8);
  color: white !important; margin-top: 8px; text-align: center;
}

/* ─── PAGE SYSTEM ─── */
.page { display: none; }
.page.active { display: block; }

/* ─── CONTAINER ─── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 5%; }

/* ─── SECTION HEADER ─── */
.s-header { margin-bottom: 64px; }
.s-header.center { text-align: center; }
.s-header.center .s-desc { margin: 0 auto; }
.s-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .72rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--blue-glow); margin-bottom: 14px;
}
.s-eyebrow::before {
  content: ''; display: block; width: 20px; height: 1.5px; background: var(--blue-glow);
}
.s-title {
  font-family: var(--font-display); font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700; line-height: 1.2; letter-spacing: -0.3px; color: var(--text-1);
  margin-bottom: 16px;
}
.s-title .accent { color: var(--blue-glow); }
.s-title .dim { color: var(--text-2); }
.s-desc { color: var(--text-2); font-size: 1.05rem; line-height: 1.85; max-width: 560px; }

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.rv-d1 { transition-delay: .08s; }
.rv-d2 { transition-delay: .16s; }
.rv-d3 { transition-delay: .24s; }
.rv-d4 { transition-delay: .32s; }
.rv-d5 { transition-delay: .40s; }

/* ═══════════════════════════════════════════════════
   HOME PAGE
═══════════════════════════════════════════════════ */

/* ── HERO ── */
.hero {
  min-height: 100vh; padding-top: var(--nav-h);
  display: flex; align-items: center; position: relative; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg-base {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% -10%, rgba(37,99,235,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(6,182,212,0.08) 0%, transparent 50%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 80%);
}
.hero-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.12) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, black, transparent);
}
.orb {
  position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none;
  animation: orbFloat ease-in-out infinite;
}
.orb-1 { width: 500px; height: 500px; background: rgba(37,99,235,0.12); right: -10%; top: -15%; animation-duration: 12s; }
.orb-2 { width: 350px; height: 350px; background: rgba(6,182,212,0.08); left: 5%; bottom: 5%; animation-duration: 16s; animation-delay: -5s; }
.orb-3 { width: 250px; height: 250px; background: rgba(37,99,235,0.1); right: 25%; top: 50%; animation-duration: 10s; animation-delay: -3s; }
@keyframes orbFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-40px) scale(1.05); }
}

.hero-inner {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 5%;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center;
  padding-top: 60px; padding-bottom: 80px;
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(37,99,235,0.1); border: 1px solid rgba(37,99,235,0.25);
  border-radius: 100px; padding: 6px 14px 6px 8px; margin-bottom: 28px;
  animation: fadeUp .8s var(--ease) both;
}
.hero-kicker-dot {
  width: 22px; height: 22px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 10px;
}
.hero-kicker span { font-size: .78rem; font-weight: 600; color: var(--blue-glow); letter-spacing: .5px; }

.hero-h1 {
  font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 800; line-height: 1.1; letter-spacing: -1px;
  color: var(--text-1); margin-bottom: 22px;
  animation: fadeUp .8s .1s var(--ease) both;
}
.hero-h1 .gradient-text {
  background: linear-gradient(135deg, var(--blue-glow) 0%, var(--cyan) 50%, var(--blue-bright) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; background-size: 200% auto;
  animation: gradFlow 5s linear infinite;
}
@keyframes gradFlow { to { background-position: 200% center; } }

.hero-sub {
  color: var(--text-2); font-size: 1.1rem; line-height: 1.85;
  max-width: 500px; margin-bottom: 40px;
  animation: fadeUp .8s .2s var(--ease) both;
}
.hero-actions {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  animation: fadeUp .8s .3s var(--ease) both;
}
.hero-btn-main {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; color: white;
  padding: 14px 28px; border-radius: 12px; border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--blue) 0%, #1d4ed8 100%);
  box-shadow: 0 6px 28px rgba(37,99,235,.4), 0 0 0 1px rgba(59,130,246,.2);
  transition: all .3s var(--ease);
}
.hero-btn-main:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(37,99,235,.55); }
.hero-btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; font-size: .95rem; color: var(--text-2);
  padding: 14px 24px; border-radius: 12px; cursor: pointer;
  border: 1px solid var(--border-2); background: transparent;
  transition: all .3s var(--ease);
}
.hero-btn-ghost:hover { color: var(--text-1); border-color: rgba(255,255,255,.2); background: var(--surface); }
.arrow-icon { transition: transform .3s; }
.hero-btn-main:hover .arrow-icon { transform: translateX(4px); }

.hero-metrics {
  display: flex; gap: 28px; margin-top: 52px; padding-top: 36px;
  border-top: 1px solid var(--border); flex-wrap: wrap;
  animation: fadeUp .8s .4s var(--ease) both;
}
.hero-metric .val {
  font-family: var(--font-display); font-size: 1.8rem; font-weight: 800;
  color: var(--text-1); letter-spacing: -1px;
}
.hero-metric .val em { font-style: normal; color: var(--blue-glow); }
.hero-metric .lbl { font-size: .78rem; color: var(--text-3); margin-top: 2px; letter-spacing: .3px; }

/* Hero right panel */
.hero-panel { animation: fadeRight .8s .2s var(--ease) both; position: relative; padding-bottom: 32px; padding-right: 32px; }
.hero-panel-inner {
  background: linear-gradient(145deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border-2); border-radius: 24px; padding: 32px;
  box-shadow: 0 32px 64px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.05);
  position: relative; overflow: hidden;
}
.hero-panel-inner::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59,130,246,.4), transparent);
}
.panel-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.panel-avatar {
  width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.panel-heading-text h4 { font-family: var(--font-display); font-size: .95rem; font-weight: 700; color: var(--text-1); }
.panel-heading-text p { font-size: .75rem; color: var(--text-3); }
.panel-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pstat {
  background: var(--ink-2); border: 1px solid var(--border);
  border-radius: 14px; padding: 18px 16px; text-align: center; transition: border-color .3s;
}
.pstat:hover { border-color: var(--border-2); }
.pstat .pval { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: var(--text-1); }
.pstat .pval em { font-style: normal; color: var(--blue-glow); }
.pstat .plbl { font-size: .72rem; color: var(--text-3); margin-top: 3px; }
.panel-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.ptag {
  font-size: .73rem; font-weight: 600; letter-spacing: .3px;
  padding: 5px 12px; border-radius: 100px;
  border: 1px solid rgba(37,99,235,.3); color: var(--blue-glow);
  background: rgba(37,99,235,.08); transition: all .2s;
}
.ptag:hover { background: rgba(37,99,235,.15); }

/* Floating badge */
.hero-float-badge {
  position: absolute; bottom: -16px; right: -16px;
  background: linear-gradient(135deg, var(--surface-3), var(--surface-2));
  border: 1px solid var(--border-2); border-radius: 16px; padding: 14px 18px;
  box-shadow: 0 16px 32px rgba(0,0,0,.4);
  display: flex; align-items: center; gap: 10px;
  animation: badgePop 1s 1.2s var(--ease-spring) both;
}
@keyframes badgePop { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: scale(1); } }
.hfb-dot { width: 8px; height: 8px; background: #22c55e; border-radius: 50%; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100%{box-shadow:0 0 0 0 rgba(34,197,94,.4)} 50%{box-shadow:0 0 0 6px transparent} }
.hfb-text { font-size: .78rem; font-weight: 600; color: var(--text-1); }
.hfb-text span { color: var(--text-3); font-weight: 400; }

@keyframes fadeUp   { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeRight{ from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: translateX(0); } }

/* ── MARQUEE BAR ── */
.marquee-bar {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--ink-2); padding: 18px 0; overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.marquee-track {
  display: flex; gap: 0; width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-item {
  display: flex; align-items: center; gap: 10px; padding: 0 40px; white-space: nowrap;
  font-size: .82rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--text-3);
}
.marquee-item .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--blue); }

/* ── ABOUT SECTION ── */
.about-section { padding: var(--section-py) 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-visual { position: relative; padding-bottom: 60px; }
.about-card-main {
  background: linear-gradient(145deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border-2); border-radius: 24px; padding: 40px;
  position: relative; overflow: hidden;
}
.about-card-main::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(
    -45deg, rgba(37,99,235,.02) 0, rgba(37,99,235,.02) 1px, transparent 1px, transparent 32px
  );
}
.about-card-main-inner { position: relative; z-index: 1; }
.acm-icon { font-size: 3.5rem; margin-bottom: 20px; }
.acm-title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--text-1); margin-bottom: 10px; }
.acm-desc { color: var(--text-2); font-size: .9rem; line-height: 1.8; }
.acm-bar-row { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.acm-bar-item {}
.acm-bar-label { display: flex; justify-content: space-between; font-size: .78rem; font-weight: 600; color: var(--text-2); margin-bottom: 6px; }
.acm-bar-track { height: 4px; background: var(--surface-3); border-radius: 2px; overflow: hidden; }
.acm-bar-fill { height: 100%; border-radius: 2px; background: linear-gradient(90deg, var(--blue), var(--cyan)); transition: width 1.2s var(--ease-out); width: 0; }

.about-float-card {
  position: absolute; bottom: -20px; left: -24px;
  background: var(--surface-2); border: 1px solid var(--border-2);
  border-radius: 16px; padding: 16px 20px;
  box-shadow: 0 16px 40px rgba(0,0,0,.4);
  display: flex; gap: 12px; align-items: center; max-width: 230px;
}
.afc-icon { font-size: 22px; flex-shrink: 0; }
.afc-title { font-size: .82rem; font-weight: 700; color: var(--text-1); }
.afc-sub { font-size: .72rem; color: var(--text-3); }

.about-text .s-header { margin-bottom: 28px; }
.about-lead { color: var(--text-2); font-size: 1.02rem; line-height: 1.9; margin-bottom: 28px; }
.about-checks { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.about-checks li {
  display: flex; align-items: flex-start; gap: 12px;
  color: var(--text-2); font-size: .93rem; line-height: 1.6;
}
.chk {
  width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 6px; display: flex; align-items: center; justify-content: center;
  font-size: .6rem; color: white;
}
.about-cta { margin-top: 32px; }
.btn-cta {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: .95rem; color: white;
  padding: 13px 26px; border-radius: 11px; border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--blue) 0%, #1d4ed8 100%);
  box-shadow: 0 4px 20px rgba(37,99,235,.35);
  transition: all .3s var(--ease);
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(37,99,235,.5); }

/* ── SERVICES GRID (HOME PREVIEW) ── */
.services-preview { padding: var(--section-py) 0; background: var(--ink-2); }
.srv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.srv-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; padding: 32px; position: relative; overflow: hidden;
  transition: all .35s var(--ease); cursor: pointer;
  display: flex; flex-direction: column;
}
.srv-card::before {
  content: ''; position: absolute; inset: 0; opacity: 0;
  background: linear-gradient(135deg, rgba(37,99,235,.07), rgba(6,182,212,.04));
  transition: opacity .35s;
}
.srv-card:hover { border-color: rgba(37,99,235,.3); transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,.3); }
.srv-card:hover::before { opacity: 1; }
.srv-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.srv-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--blue-dim); display: flex; align-items: center; justify-content: center;
  font-size: 22px; transition: all .35s var(--ease);
}
.srv-card:hover .srv-icon { background: linear-gradient(135deg, var(--blue), var(--cyan)); }
.srv-num { font-family: var(--font-display); font-size: .72rem; font-weight: 700; color: var(--text-3); letter-spacing: 1px; }
.srv-title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--text-1); margin-bottom: 10px; }
.srv-desc { color: var(--text-2); font-size: .87rem; line-height: 1.75; flex: 1; }
.srv-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .82rem; font-weight: 600; color: var(--blue-glow);
  margin-top: 20px; transition: gap .25s;
}
.srv-link:hover { gap: 10px; }
.srv-card.highlight {
  background: linear-gradient(145deg, #0d1f6e, #0f2d8a);
  border-color: rgba(37,99,235,.4);
}
.srv-card.highlight .srv-icon { background: rgba(255,255,255,.1); }
.srv-card.highlight .srv-title { color: white; }
.srv-card.highlight .srv-desc { color: rgba(255,255,255,.65); }
.srv-card.highlight .srv-link { color: #93c5fd; }

/* ── STATS SECTION ── */
.stats-section { padding: 80px 0; }
.stats-inner {
  background: linear-gradient(135deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border-2); border-radius: 28px; padding: 60px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  position: relative; overflow: hidden;
}
.stats-inner::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue-bright), transparent);
}
.stats-inner::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 100% at 50% 0%, rgba(37,99,235,.06) 0%, transparent 60%);
  pointer-events: none;
}
.stat-col { text-align: center; padding: 20px; position: relative; z-index: 1; }
.stat-col + .stat-col { border-left: 1px solid var(--border); }
.stat-val { font-family: var(--font-display); font-size: 3rem; font-weight: 800; letter-spacing: -2px; color: var(--text-1); line-height: 1; }
.stat-val em { font-style: normal; color: var(--blue-glow); }
.stat-lbl { font-size: .82rem; color: var(--text-3); margin-top: 8px; letter-spacing: .3px; }

/* ── CLIENTS ── */
.clients-section { padding: 80px 0 var(--section-py); }
.clients-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 48px;
}
.client-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; height: 72px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: .82rem; font-weight: 700;
  color: var(--text-3); letter-spacing: .3px; transition: all .3s var(--ease);
}
.client-card:hover { border-color: var(--border-2); color: var(--text-2); background: var(--surface-2); transform: translateY(-2px); }

/* ── TESTIMONIALS ── */
.testimonials { padding: var(--section-py) 0; background: var(--ink-2); }
.test-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.test-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; padding: 30px; display: flex; flex-direction: column;
  transition: all .3s var(--ease);
}
.test-card:hover { border-color: var(--border-2); transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,.3); }
.test-stars { display: flex; gap: 3px; margin-bottom: 16px; }
.test-stars span { color: var(--gold); font-size: .9rem; }
.test-quote { color: var(--text-2); font-size: .9rem; line-height: 1.8; flex: 1; }
.test-quote::before { content: '\201C'; }
.test-quote::after  { content: '\201D'; }
.test-divider { height: 1px; background: var(--border); margin: 20px 0; }
.test-author { display: flex; align-items: center; gap: 12px; }
.test-avatar {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: .85rem; color: white;
}
.test-name { font-weight: 600; font-size: .88rem; color: var(--text-1); }
.test-role { font-size: .75rem; color: var(--text-3); }

/* ── WHY US ── */
.why-section { padding: var(--section-py) 0; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; padding: 32px; text-align: center; transition: all .3s var(--ease);
}
.why-card:hover { border-color: rgba(37,99,235,.3); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.25); }
.why-icon-wrap {
  width: 64px; height: 64px; border-radius: 18px; margin: 0 auto 20px;
  background: var(--blue-dim); display: flex; align-items: center; justify-content: center;
  font-size: 26px; transition: all .3s var(--ease);
}
.why-card:hover .why-icon-wrap { background: linear-gradient(135deg, var(--blue), var(--cyan)); }
.why-title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: var(--text-1); margin-bottom: 10px; }
.why-desc { color: var(--text-2); font-size: .87rem; line-height: 1.8; }

/* ── CTA BANNER ── */
.cta-section { padding: 80px 0 var(--section-py); }
.cta-box {
  background: linear-gradient(135deg, #0f1f6e 0%, #0d2575 40%, #0a1f5c 100%);
  border: 1px solid rgba(37,99,235,.3); border-radius: 28px; padding: 80px 60px;
  text-align: center; position: relative; overflow: hidden;
}
.cta-box::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(37,99,235,.2) 0%, transparent 60%);
}
.cta-box::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.cta-content { position: relative; z-index: 1; }
.cta-eyebrow { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--blue-glow); margin-bottom: 16px; }
.cta-title { font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800; letter-spacing: -0.3px; color: white; margin-bottom: 16px; line-height: 1.2; }
.cta-desc { color: rgba(255,255,255,.65); font-size: 1.05rem; line-height: 1.8; max-width: 500px; margin: 0 auto 36px; }
.cta-btns { display: flex; align-items: center; justify-content: center; gap: 14px; }
.btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: .95rem;
  color: var(--blue); padding: 13px 28px; border-radius: 11px; cursor: pointer;
  background: white; border: none; box-shadow: 0 6px 24px rgba(0,0,0,.3);
  transition: all .3s var(--ease);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,0,0,.4); }
.btn-outline-white {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: .95rem;
  color: rgba(255,255,255,.8); padding: 13px 24px; border-radius: 11px; cursor: pointer;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  transition: all .3s var(--ease);
}
.btn-outline-white:hover { color: white; background: rgba(255,255,255,.15); }

/* ═══════════════════════════════════════════════════
   SERVICES PAGE
═══════════════════════════════════════════════════ */
.page-hero {
  padding: calc(var(--nav-h) + 80px) 0 80px;
  background: var(--ink-2); position: relative; overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 50% -20%, rgba(37,99,235,.14) 0%, transparent 60%),
    repeating-linear-gradient(
      -45deg, rgba(255,255,255,.012) 0, rgba(255,255,255,.012) 1px, transparent 1px, transparent 40px
    );
}
.page-hero-content { text-align: center; position: relative; z-index: 1; }
.page-hero h1 {
  font-family: var(--font-display); font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 800; letter-spacing: -0.5px; color: var(--text-1); margin-bottom: 16px;
}
.page-hero h1 .blue {
  background: linear-gradient(135deg, var(--blue-glow), var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.page-hero p { color: var(--text-2); font-size: 1.05rem; max-width: 560px; margin: 0 auto; line-height: 1.85; }

/* Process strip */
.process-strip {
  padding: 70px 0; background: var(--ink);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.process-steps { display: flex; gap: 0; position: relative; }
.process-steps::before {
  content: ''; position: absolute; top: 26px; left: 48px; right: 48px; height: 1px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--blue));
  opacity: .35; z-index: 0;
}
.proc-step { flex: 1; text-align: center; position: relative; z-index: 1; padding: 0 12px; }
.proc-num {
  width: 52px; height: 52px; background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1rem; font-weight: 800; color: white;
  margin: 0 auto 16px; box-shadow: 0 4px 20px rgba(37,99,235,.4);
}
.proc-title { font-family: var(--font-display); font-size: .9rem; font-weight: 700; color: var(--text-1); margin-bottom: 6px; }
.proc-desc { font-size: .78rem; color: var(--text-3); line-height: 1.6; }

/* Service detail cards — LTR flip using flex-direction */
.service-details { padding: var(--section-py) 0; }
.sd-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center;
  margin-bottom: var(--section-py); padding-bottom: var(--section-py);
  border-bottom: 1px solid var(--border);
}
.sd-card:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
/* LTR-safe flip: swap column order using CSS grid column-reverse */
.sd-card.flip { direction: ltr; }
.sd-card.flip .sd-visual { order: 2; }
.sd-card.flip .sd-text  { order: 1; }

.sd-visual {
  background: linear-gradient(145deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border-2); border-radius: 24px; padding: 56px;
  min-height: 320px; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.sd-visual::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(
    45deg, rgba(37,99,235,.025) 0, rgba(37,99,235,.025) 1px, transparent 1px, transparent 36px
  );
}
.sd-visual-icon {
  font-size: 7rem; position: relative; z-index: 1;
  animation: iconFloat 4s ease-in-out infinite;
  filter: drop-shadow(0 0 40px rgba(37,99,235,.3));
}
@keyframes iconFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
.sd-visual-badge {
  position: absolute; bottom: 20px; right: 20px;
  background: var(--ink-2); border: 1px solid var(--border-2);
  border-radius: 10px; padding: 8px 14px;
  font-size: .72rem; font-weight: 700; color: var(--text-2); letter-spacing: .5px;
}
.sd-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .7rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--blue-glow); margin-bottom: 12px;
  background: var(--blue-dim-2); border: 1px solid rgba(37,99,235,.2);
  padding: 5px 12px; border-radius: 100px;
}
.sd-title {
  font-family: var(--font-display); font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  font-weight: 700; letter-spacing: -0.3px; color: var(--text-1); line-height: 1.25; margin-bottom: 14px;
}
.sd-lead { color: var(--text-2); font-size: .98rem; line-height: 1.9; margin-bottom: 24px; }
.sd-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.sd-features li {
  display: flex; align-items: flex-start; gap: 10px;
  color: var(--text-2); font-size: .88rem; line-height: 1.65;
}
.feat-check {
  width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 5px; display: flex; align-items: center; justify-content: center;
  font-size: .55rem; color: white;
}
.sd-price-row {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--blue-dim-2); border: 1px solid rgba(37,99,235,.2);
  border-radius: 12px; padding: 10px 18px; margin-bottom: 20px;
}
.sdp-label { font-size: .75rem; color: var(--text-3); font-weight: 500; }
.sdp-val { font-family: var(--font-display); font-size: 1rem; font-weight: 800; color: var(--blue-glow); }
.sdp-sep { width: 1px; height: 16px; background: var(--border-2); }

/* ═══════════════════════════════════════════════════
   CONTACT PAGE
═══════════════════════════════════════════════════ */
.contact-section { padding: var(--section-py) 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.45fr; gap: 60px; }
.contact-info h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; color: var(--text-1); margin-bottom: 14px; }
.contact-lead { color: var(--text-2); font-size: .95rem; line-height: 1.85; margin-bottom: 36px; }
.contact-detail { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 22px; }
.cdi {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--surface-2); border: 1px solid var(--border-2);
  border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 17px;
}
.cdt-label { font-size: .7rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--text-3); margin-bottom: 2px; }
.cdt-val { font-size: .9rem; font-weight: 500; color: var(--text-1); }
.free-consult {
  background: linear-gradient(145deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border-2); border-radius: 18px; padding: 22px; margin-top: 30px;
}
.fc-title { font-family: var(--font-display); font-size: .95rem; font-weight: 700; color: var(--text-1); margin-bottom: 6px; }
.fc-desc { font-size: .82rem; color: var(--text-2); line-height: 1.7; }

.contact-form-wrap {
  background: var(--surface); border: 1px solid var(--border-2); border-radius: 24px; padding: 44px;
  box-shadow: 0 24px 60px rgba(0,0,0,.3); position: relative; overflow: hidden;
}
.contact-form-wrap::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37,99,235,.5), transparent);
}
.cfm-title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 800; color: var(--text-1); margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fg { display: flex; flex-direction: column; gap: 6px; }
.fg.full { grid-column: 1 / -1; }
.fg label { font-size: .75rem; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; color: var(--text-3); }
.fg input, .fg select, .fg textarea {
  background: var(--ink-2); border: 1px solid var(--border-2); border-radius: 10px;
  padding: 12px 16px; font-family: var(--font-body); font-size: .9rem; color: var(--text-1);
  transition: all .25s var(--ease); outline: none; width: 100%;
  -webkit-appearance: none; text-align: left; direction: ltr;
}
.fg input::placeholder, .fg textarea::placeholder { color: var(--text-3); }
.fg select option { background: var(--surface-2); }
.fg input:focus, .fg select:focus, .fg textarea:focus {
  border-color: rgba(37,99,235,.5); background: var(--ink);
  box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}
.fg textarea { resize: vertical; min-height: 120px; }
.form-cta {
  width: 100%; margin-top: 10px; padding: 14px;
  font-family: var(--font-display); font-size: .95rem; font-weight: 700; color: white;
  background: linear-gradient(135deg, var(--blue) 0%, #1d4ed8 100%);
  border: none; border-radius: 11px; cursor: pointer;
  box-shadow: 0 6px 24px rgba(37,99,235,.35);
  transition: all .3s var(--ease); display: flex; align-items: center; justify-content: center; gap: 8px;
}
.form-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 32px rgba(37,99,235,.5); }
.form-success {
  display: none; text-align: center; padding: 36px 20px;
  background: rgba(34,197,94,.06); border: 1px solid rgba(34,197,94,.2);
  border-radius: 14px; margin-top: 16px;
}
.form-success.show { display: block; }
.form-success .suc-icon { font-size: 2.5rem; margin-bottom: 12px; }
.form-success h4 { font-family: var(--font-display); font-weight: 800; color: #22c55e; margin-bottom: 8px; }
.form-success p { font-size: .88rem; color: var(--text-2); }

/* FAQ */
.faq-section { padding: 60px 0 var(--section-py); background: var(--ink-2); }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden; transition: border-color .25s;
}
.faq-item:hover { border-color: var(--border-2); }
.faq-q {
  padding: 18px 22px; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 600; font-size: .9rem; color: var(--text-1); gap: 16px;
  transition: background .25s;
}
.faq-q:hover { background: var(--surface-2); }
.faq-arrow { flex-shrink: 0; color: var(--blue-glow); font-size: 1.1rem; transition: transform .3s; }
.faq-item.open .faq-arrow { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 22px 18px; color: var(--text-2); font-size: .87rem; line-height: 1.8; }
.faq-item.open .faq-a { display: block; }

/* ─── FOOTER ─── */
footer {
  background: var(--ink-2); border-top: 1px solid var(--border); padding: 70px 0 32px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 50px; margin-bottom: 56px; }
.footer-logo {
  display: flex; align-items: center; gap: 0;
  margin-bottom: 6px;
}
.footer-logo em { font-style: normal; color: var(--blue-glow); }
.footer-logo-icon { flex-shrink: 0; }
.footer-slogan {
  font-size: .72rem; color: var(--blue-glow); letter-spacing: 1.5px;
  text-transform: uppercase; font-weight: 600; margin-bottom: 12px;
  padding-left: 2px;
}
.footer-tagline { color: var(--text-3); font-size: .85rem; line-height: 1.75; max-width: 260px; }
.footer-col h5 { font-family: var(--font-display); font-weight: 700; font-size: .85rem; color: var(--text-2); letter-spacing: .5px; margin-bottom: 18px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: .83rem; color: var(--text-3); transition: color .25s; }
.footer-col ul li a:hover { color: var(--text-1); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px;
}
.footer-copy { font-size: .78rem; color: var(--text-3); }
.social-row { display: flex; gap: 8px; }
.soc-link {
  width: 36px; height: 36px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 9px; display: flex; align-items: center; justify-content: center;
  color: var(--text-3); transition: all .25s;
}
.soc-link svg { width: 16px; height: 16px; fill: currentColor; }
.soc-link:hover { background: var(--blue-dim); border-color: rgba(37,99,235,.3); color: var(--blue-glow); }

/* ═══════════════════════════════════════════════════
   ABOUT US PAGE
═══════════════════════════════════════════════════ */
.about-page-hero-img {
  display: flex; align-items: center; justify-content: center; gap: 20px;
  flex-wrap: wrap; margin-top: 32px;
}
.aph-badge {
  background: var(--surface); border: 1px solid var(--border-2);
  border-radius: 100px; padding: 8px 18px;
  font-size: .78rem; font-weight: 600; color: var(--text-2);
  display: flex; align-items: center; gap: 7px;
}
.aph-badge .dot-live { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; animation: pulse 2s ease-in-out infinite; }

/* Story section */
.story-section { padding: var(--section-py) 0; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.story-timeline { display: flex; flex-direction: column; gap: 0; position: relative; }
.story-timeline::before {
  content: ''; position: absolute; left: 19px; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(180deg, var(--blue), var(--cyan), transparent);
  opacity: .4;
}
.tl-item { display: flex; gap: 20px; padding-bottom: 36px; position: relative; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot {
  width: 38px; height: 38px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: .72rem; font-weight: 800; color: white;
  position: relative; z-index: 1;
  box-shadow: 0 0 0 4px var(--ink), 0 0 0 5px rgba(37,99,235,.3);
}
.tl-content {}
.tl-year { font-family: var(--font-display); font-size: .72rem; font-weight: 700; color: var(--blue-glow); letter-spacing: 1px; margin-bottom: 4px; text-transform: uppercase; }
.tl-title { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--text-1); margin-bottom: 6px; }
.tl-desc { font-size: .87rem; color: var(--text-2); line-height: 1.75; }

/* Values section */
.values-section { padding: var(--section-py) 0; background: var(--ink-2); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; padding: 32px; transition: all .3s var(--ease);
}
.value-card:hover { border-color: rgba(37,99,235,.3); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.25); }
.value-num { font-family: var(--font-display); font-size: .72rem; font-weight: 700; color: var(--blue-glow); letter-spacing: 1.5px; margin-bottom: 12px; }
.value-title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--text-1); margin-bottom: 10px; }
.value-desc { color: var(--text-2); font-size: .87rem; line-height: 1.8; }

/* Team section */
.team-section { padding: var(--section-py) 0; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.team-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; padding: 28px 24px; text-align: center;
  transition: all .3s var(--ease);
}
.team-card:hover { border-color: var(--border-2); transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,.3); }
.team-avatar {
  width: 64px; height: 64px; border-radius: 16px; margin: 0 auto 14px;
  background: linear-gradient(135deg, var(--surface-2), var(--surface-3));
  border: 1px solid var(--border-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
}
.team-name { font-family: var(--font-display); font-size: .95rem; font-weight: 700; color: var(--text-1); margin-bottom: 4px; }
.team-role { font-size: .78rem; color: var(--blue-glow); font-weight: 600; margin-bottom: 8px; }
.team-bio { font-size: .78rem; color: var(--text-3); line-height: 1.7; }

/* Culture strip */
.culture-section { padding: var(--section-py) 0; background: var(--ink-2); }
.culture-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.culture-text .s-header { margin-bottom: 24px; }
.culture-para { color: var(--text-2); font-size: .98rem; line-height: 1.9; margin-bottom: 18px; }
.culture-visual {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.cv-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 22px; text-align: center; transition: all .3s var(--ease);
}
.cv-card:hover { border-color: var(--border-2); }
.cv-icon { font-size: 2rem; margin-bottom: 10px; }
.cv-label { font-family: var(--font-display); font-size: .85rem; font-weight: 700; color: var(--text-1); margin-bottom: 4px; }
.cv-sub { font-size: .75rem; color: var(--text-3); line-height: 1.5; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-panel { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .srv-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-inner { grid-template-columns: repeat(2,1fr); }
  .stats-inner .stat-col:nth-child(3) { border-left: none; }
  .clients-grid { grid-template-columns: repeat(3,1fr); }
  .test-grid { grid-template-columns: repeat(2,1fr); }
  .why-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sd-card { grid-template-columns: 1fr; }
  .sd-card.flip .sd-visual { order: 0; }
  .sd-card.flip .sd-text  { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  /* About page */
  .story-grid { grid-template-columns: 1fr; gap: 48px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .culture-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  :root { --section-py: 70px; }
  .nav-center { display: none; }
  .nav-right .btn-ghost { display: none; }
  .hamburger { display: flex; }
  .srv-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr 1fr; padding: 36px 24px; }
  .stats-inner .stat-col + .stat-col:nth-child(3) { border-left: 1px solid var(--border); }
  .clients-grid { grid-template-columns: repeat(2,1fr); }
  .test-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .process-steps { flex-direction: column; gap: 28px; }
  .process-steps::before { display: none; }
  .cta-box { padding: 48px 24px; }
  .cta-btns { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .about-float-card { display: none; }
  /* About page */
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; }
  .culture-visual { grid-template-columns: 1fr 1fr; }
}
