/* ============================================================
   iServe Solutions & Services — "Deep Circuit" design system
   Dark, glassy, 3D-forward. Brand blue #0087CB from the logo.
   ============================================================ */

:root {
  --bg: #050b1a;
  --bg-2: #0a1428;
  --bg-3: #101d3a;
  --ink: #eaf2ff;
  --ink-2: #b7c6e0;
  --ink-3: #7f92b3;
  --brand: #0087cb;
  --brand-2: #38d1ff;
  --brand-3: #7ae7ff;
  --accent: #ffb347;
  --accent-2: #ff7a59;
  --line: rgba(140, 180, 255, 0.14);
  --glass: rgba(14, 26, 54, 0.55);
  --glass-2: rgba(20, 36, 72, 0.7);
  --shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
  --glow: 0 0 60px -10px rgba(56, 209, 255, 0.45);
  --radius: 22px;
  --radius-sm: 14px;
  --font-head: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 0.5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5vw, 4.1rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; color: var(--ink-2); }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 62ch; }
.container { width: min(1180px, 92vw); margin-inline: auto; }
.section { padding: clamp(72px, 9vw, 130px) 0; position: relative; overflow-x: clip; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; position: relative; overflow-x: clip; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.grad-text {
  background: linear-gradient(92deg, #fff 0%, var(--brand-3) 45%, var(--brand-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--brand-2); font-weight: 600; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: linear-gradient(90deg, var(--brand), var(--brand-2)); border-radius: 2px; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.center { margin-inline: auto; }

/* ---------- Ambient background ---------- */
.ambient { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.ambient::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(120, 170, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 170, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%);
}
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.55; animation: drift 22s ease-in-out infinite alternate; }
.orb-a { width: 60vw; height: 60vw; left: -20vw; top: -25vw; background: radial-gradient(circle, #0a5fb0 0%, transparent 65%); }
.orb-b { width: 50vw; height: 50vw; right: -18vw; top: 20vh; background: radial-gradient(circle, #1b3d8a 0%, transparent 65%); animation-delay: -8s; }
.orb-c { width: 40vw; height: 40vw; left: 30vw; bottom: -20vw; background: radial-gradient(circle, #0d7fc2 0%, transparent 65%); animation-delay: -14s; }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(6vw, 4vh, 0) scale(1.12); } }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center;
  background: var(--bg); transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.preloader.done { opacity: 0; visibility: hidden; }
.loader-dots { display: flex; gap: 10px; }
.loader-dots span { width: 14px; height: 14px; border-radius: 50%; background: var(--brand); animation: bounce 1s infinite ease-in-out; box-shadow: 0 0 20px var(--brand-2); }
.loader-dots span:nth-child(2) { animation-delay: 0.12s; width: 18px; height: 18px; }
.loader-dots span:nth-child(3) { animation-delay: 0.24s; width: 22px; height: 22px; }
.loader-dots span:nth-child(4) { animation-delay: 0.36s; width: 18px; height: 18px; }
.loader-dots span:nth-child(5) { animation-delay: 0.48s; width: 14px; height: 14px; }
@keyframes bounce { 0%, 80%, 100% { transform: translateY(0); opacity: 0.6; } 40% { transform: translateY(-14px); opacity: 1; } }

/* ---------- Scroll progress + cursor ---------- */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 999; background: linear-gradient(90deg, var(--brand), var(--brand-2), var(--accent)); box-shadow: 0 0 12px var(--brand-2); }
.cursor-glow {
  position: fixed; width: 420px; height: 420px; border-radius: 50%; pointer-events: none; z-index: -1;
  left: 0; top: 0; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(56, 209, 255, 0.14) 0%, transparent 60%);
  transition: opacity 0.4s; opacity: 0;
}
@media (hover: hover) { .cursor-glow { opacity: 1; } }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900; height: var(--nav-h);
  display: flex; align-items: center;
  transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s, height 0.3s;
}
.nav.scrolled { background: rgba(5, 11, 26, 0.72); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); box-shadow: 0 10px 40px -20px rgba(0,0,0,0.8); border-bottom: 1px solid var(--line); }
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 42px; width: auto; filter: drop-shadow(0 0 12px rgba(56, 209, 255, 0.35)); }
.brand-logo { display: inline-flex; align-items: center; justify-content: center; background: #fff; padding: 5px 7px; border-radius: 10px; line-height: 0; width: max-content; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { padding: 10px 14px; border-radius: 10px; font-size: 0.93rem; color: var(--ink-2); font-weight: 500; position: relative; transition: color 0.25s, background 0.25s; }
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(56, 209, 255, 0.08); }
.nav-links a.active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--brand-2); border-radius: 2px; box-shadow: 0 0 10px var(--brand-2); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--glass); color: var(--ink); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.3s, opacity 0.3s, top 0.3s; }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 29px; }
.burger.open span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 14px; font-weight: 600; font-size: 0.95rem;
  border: 1px solid transparent; transition: transform 0.3s var(--ease), box-shadow 0.3s, background 0.3s, border-color 0.3s;
  position: relative; overflow: hidden; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: linear-gradient(135deg, var(--brand) 0%, #1aa9e6 60%, var(--brand-2) 100%); color: #fff; box-shadow: 0 14px 34px -12px rgba(0, 135, 203, 0.7); }
.btn-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform 0.7s var(--ease); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -12px rgba(56, 209, 255, 0.7); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-ghost { background: rgba(255,255,255,0.04); border-color: var(--line); color: var(--ink); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(56, 209, 255, 0.1); border-color: rgba(56, 209, 255, 0.5); transform: translateY(-3px); }
.btn-accent { background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%); color: #1a0b00; box-shadow: 0 14px 34px -12px rgba(255, 179, 71, 0.6); }
.btn-accent:hover { transform: translateY(-3px); }
.btn-sm { padding: 10px 18px; font-size: 0.86rem; border-radius: 11px; }

/* ---------- Hero (3D) ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 40px) 0 80px; overflow: hidden; }
.hero-canvas { position: absolute; inset: 0; z-index: 0; }
.hero-canvas canvas { display: block; width: 100%; height: 100%; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 220px; background: linear-gradient(to bottom, transparent, var(--bg)); z-index: 1; pointer-events: none; }
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(10px); font-size: 0.82rem; color: var(--ink-2); margin-bottom: 26px; }
.hero-badge b { display: inline-grid; place-items: center; padding: 4px 10px; border-radius: 999px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-size: 0.72rem; letter-spacing: 0.08em; }
.hero h1 { margin-bottom: 22px; font-size: clamp(2.2rem, 4vw, 3.4rem); }
.hero h1 .line { display: block; }
.hero .lead { font-size: clamp(1.02rem, 1.4vw, 1.2rem); margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 14px; }
.chip { display: flex; flex-direction: column; gap: 2px; padding: 12px 18px; border-radius: 16px; background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(12px); min-width: 120px; transition: transform 0.4s var(--ease), border-color 0.3s; }
.chip:hover { transform: translateY(-4px); border-color: rgba(56, 209, 255, 0.5); }
.chip strong { font-family: var(--font-head); font-size: 1.5rem; color: #fff; line-height: 1; }
.chip > span { font-size: 0.74rem; color: var(--ink-3); letter-spacing: 0.06em; text-transform: uppercase; }

/* Floating 3D card stack in hero */
.hero-visual { position: relative; height: 520px; perspective: 1400px; }
.float-card {
  position: absolute; padding: 20px 22px; border-radius: 20px; background: var(--glass-2); border: 1px solid var(--line);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.08);
  transform-style: preserve-3d; animation: floaty 7s ease-in-out infinite; will-change: transform;
}
.float-card .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 12px; background: linear-gradient(135deg, rgba(0,135,203,0.5), rgba(56,209,255,0.25)); box-shadow: inset 0 1px 0 rgba(255,255,255,0.15); }
.float-card .ic svg { width: 22px; height: 22px; stroke: var(--brand-3); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.float-card h4 { margin: 0 0 4px; font-size: 1rem; color: #fff; font-family: var(--font-head); }
.float-card p { margin: 0; font-size: 0.82rem; color: var(--ink-3); }
.fc-1 { top: 30px; left: 20px; width: 250px; animation-delay: 0s; }
.fc-2 { top: 190px; right: 0; width: 260px; animation-delay: -2.4s; }
.fc-3 { bottom: 20px; left: 60px; width: 240px; animation-delay: -4.8s; }
.fc-ring { position: absolute; left: 50%; top: 50%; width: 360px; height: 360px; border-radius: 50%; transform: translate(-50%, -50%); border: 1px dashed rgba(56,209,255,0.35); animation: spin 40s linear infinite; }
.fc-ring::before, .fc-ring::after { content: ""; position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--brand-2); box-shadow: 0 0 20px var(--brand-2); top: -7px; left: 50%; }
.fc-ring::after { top: auto; bottom: -7px; background: var(--accent); box-shadow: 0 0 20px var(--accent); }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotateX(6deg) rotateY(-8deg); } 50% { transform: translateY(-18px) rotateX(-4deg) rotateY(6deg); } }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes rotate { to { transform: rotate(360deg); } }

/* Inner page header */
.page-head { position: relative; padding: calc(var(--nav-h) + 90px) 0 90px; overflow: hidden; }
.page-head .hero-canvas { opacity: 0.9; }
.page-head::after { content: ""; position: absolute; inset: auto 0 0 0; height: 160px; background: linear-gradient(to bottom, transparent, var(--bg)); pointer-events: none; }
.page-head .container { position: relative; z-index: 2; }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 4rem); max-width: 700px; }
.page-head .lead { max-width: 600px; }
.crumbs { display: flex; gap: 8px; font-size: 0.8rem; color: var(--ink-3); margin-bottom: 20px; letter-spacing: 0.06em; text-transform: uppercase; }
.crumbs a:hover { color: var(--brand-2); }

/* ---------- Marquee ---------- */
.marquee-wrap { padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(10, 20, 40, 0.4); backdrop-filter: blur(6px); overflow: hidden; position: relative; }
.marquee-wrap::before, .marquee-wrap::after { content: ""; position: absolute; top: 0; bottom: 0; width: 140px; z-index: 2; pointer-events: none; }
.marquee-wrap::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.marquee-wrap::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.marquee { display: flex; gap: 60px; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.marquee .logo-tile { display: flex; align-items: center; gap: 12px; height: 64px; padding: 0 22px; border-radius: 14px; background: #fff; color: #0b1a33; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; opacity: 0.92; transition: opacity 0.3s, transform 0.3s; }
.marquee .logo-tile:hover { opacity: 1; transform: scale(1.05); }
.marquee .logo-tile img { height: 34px; width: auto; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cards / tilt ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  position: relative; padding: 30px; border-radius: var(--radius); background: var(--glass);
  border: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.4s; overflow: hidden;
  transform-style: preserve-3d;
}
.card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, rgba(56,209,255,0.5), transparent 40%, transparent 60%, rgba(255,179,71,0.35)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity 0.4s; pointer-events: none; }
.card:hover { border-color: rgba(56,209,255,0.35); box-shadow: var(--shadow), var(--glow); }
.card:hover::before { opacity: 1; }
.card .glare { position: absolute; inset: -50%; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,0.16), transparent 40%); opacity: 0; transition: opacity 0.4s; pointer-events: none; }
.card:hover .glare { opacity: 1; }
.card .icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px; background: linear-gradient(135deg, rgba(0,135,203,0.45), rgba(56,209,255,0.18)); box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), 0 10px 30px -14px var(--brand-2); transform: translateZ(30px); }
.card .icon svg { width: 26px; height: 26px; stroke: var(--brand-3); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { color: #fff; transform: translateZ(20px); }
.card p { font-size: 0.95rem; transform: translateZ(10px); }
.card .more { display: inline-flex; align-items: center; gap: 8px; color: var(--brand-2); font-weight: 600; font-size: 0.9rem; margin-top: 8px; }
.card .more svg { width: 16px; height: 16px; transition: transform 0.3s; }
.card:hover .more svg { transform: translateX(4px); }
.card-num { position: absolute; top: 22px; right: 26px; font-family: var(--font-head); font-size: 3rem; font-weight: 700; color: rgba(56,209,255,0.08); line-height: 1; }
.tag { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; background: rgba(56,209,255,0.12); color: var(--brand-2); border: 1px solid rgba(56,209,255,0.25); }
.tag.warm { background: rgba(255,179,71,0.12); color: var(--accent); border-color: rgba(255,179,71,0.3); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { padding: 34px 26px; border-radius: var(--radius); background: linear-gradient(160deg, rgba(20,36,72,0.8), rgba(10,20,40,0.6)); border: 1px solid var(--line); text-align: center; position: relative; overflow: hidden; }
.stat::after { content: ""; position: absolute; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(56,209,255,0.25), transparent 65%); top: -60px; right: -60px; }
.stat strong { display: block; font-family: var(--font-head); font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 700; line-height: 1; color: #fff; }
.stat strong small { font-size: 0.55em; color: var(--brand-2); }
.stat > span { display: block; margin-top: 10px; color: var(--ink-3); font-size: 0.86rem; letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------- 3D Cube ---------- */
.cube-scene { perspective: 1200px; width: 100%; display: grid; place-items: center; min-height: 380px; }
.cube { position: relative; width: 240px; height: 240px; transform-style: preserve-3d; animation: cubeSpin 24s linear infinite; }
.cube:hover { animation-play-state: paused; }
.cube .face {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px;
  background: linear-gradient(160deg, rgba(0,135,203,0.45), rgba(10,20,40,0.85)); border: 1px solid rgba(56,209,255,0.45);
  backdrop-filter: blur(6px); box-shadow: inset 0 0 40px rgba(56,209,255,0.15); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem;
}
.cube .face svg { width: 48px; height: 48px; stroke: var(--brand-3); fill: none; stroke-width: 1.5; margin-bottom: 8px; }
.cube .face small { display: block; font-weight: 400; font-family: var(--font-body); color: var(--ink-2); font-size: 0.8rem; margin-top: 4px; }
.cube .f-front { transform: translateZ(120px); }
.cube .f-back { transform: rotateY(180deg) translateZ(120px); }
.cube .f-right { transform: rotateY(90deg) translateZ(120px); }
.cube .f-left { transform: rotateY(-90deg) translateZ(120px); }
.cube .f-top { transform: rotateX(90deg) translateZ(120px); }
.cube .f-bottom { transform: rotateX(-90deg) translateZ(120px); }
@keyframes cubeSpin { from { transform: rotateX(-18deg) rotateY(0); } to { transform: rotateX(-18deg) rotateY(360deg); } }
.cube-shadow { width: 220px; height: 30px; border-radius: 50%; background: radial-gradient(ellipse, rgba(56,209,255,0.35), transparent 70%); filter: blur(8px); margin-top: 60px; }

/* ---------- Split layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.rev > :first-child { order: 2; }
.list-check { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 12px; }
.list-check li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.list-check li::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 7px; margin-top: 2px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/70% no-repeat, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/70% no-repeat, linear-gradient(#000 0 0); mask-composite: exclude; }

/* 3D framed image */
.frame3d { position: relative; perspective: 1200px; }
.frame3d { max-width: 440px; margin-inline: auto; }
.frame3d .img { border-radius: 50%; aspect-ratio: 1; overflow: hidden; border: 4px solid rgba(56,209,255,0.35); box-shadow: var(--shadow), var(--glow); transform: rotateY(-8deg) rotateX(4deg); transition: transform 0.8s var(--ease); background: var(--bg-3); }
.frame3d:hover .img { transform: rotateY(0) rotateX(0); }
.frame3d .img img { width: 100%; height: 100%; object-fit: cover; }
.frame3d .badge { position: absolute; bottom: 16px; left: -10px; padding: 16px 20px; border-radius: 16px; background: var(--glass-2); border: 1px solid var(--line); backdrop-filter: blur(14px); box-shadow: var(--shadow); transform: translateZ(60px); }
.frame3d .badge strong { display: block; font-family: var(--font-head); color: #fff; font-size: 1.3rem; }
.frame3d .badge span { font-size: 0.78rem; color: var(--ink-3); }
.frame3d .ring { position: absolute; inset: -30px; border-radius: 50%; border: 1px solid rgba(56,209,255,0.2); animation: rotate 30s linear infinite; pointer-events: none; }
.frame3d .ring::before { content: ""; position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--brand-2); box-shadow: 0 0 16px var(--brand-2); top: 10%; left: 10%; }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(to bottom, var(--brand-2), rgba(56,209,255,0.05)); }
.tl-item { position: relative; padding: 0 0 34px 24px; }
.tl-item::before { content: ""; position: absolute; left: -30px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 3px solid var(--brand-2); box-shadow: 0 0 16px var(--brand-2); }
.tl-item .year { font-family: var(--font-head); color: var(--brand-2); font-weight: 700; letter-spacing: 0.06em; }
.tl-item h3 { margin: 4px 0 6px; color: #fff; }
.tl-item p { margin: 0; font-size: 0.95rem; }

/* ---------- Product cards ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.filters button { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); color: var(--ink-2); font-weight: 500; font-size: 0.88rem; transition: all 0.3s; }
.filters button:hover, .filters button.active { color: #fff; border-color: rgba(56,209,255,0.6); background: rgba(56,209,255,0.14); box-shadow: 0 0 20px -6px var(--brand-2); }
.product { padding: 0; display: flex; flex-direction: column; }
.product .pimg { position: relative; height: 210px; display: grid; place-items: center; background: radial-gradient(ellipse at 50% 80%, rgba(56,209,255,0.18), transparent 70%), #f4f7fb; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; }
.product .pimg img { max-height: 170px; width: auto; max-width: 85%; object-fit: contain; transition: transform 0.6s var(--ease); filter: drop-shadow(0 20px 20px rgba(0,0,0,0.25)); }
.product:hover .pimg img { transform: translateY(-8px) scale(1.06); }
.product .pbody { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product .pbody h3 { font-size: 1.02rem; margin: 6px 0 2px; }
.product .pbody p { font-size: 0.86rem; margin: 0; flex: 1; }
.product .pbody .row { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }
.product .sku { font-size: 0.74rem; color: var(--ink-3); letter-spacing: 0.06em; }
.product.hide { display: none; }

/* Category tiles */
.cat { min-height: 220px; display: flex; flex-direction: column; justify-content: flex-end; }
.cat .bg-ico { position: absolute; right: -10px; top: -10px; width: 150px; height: 150px; opacity: 0.09; }
.cat .bg-ico svg { width: 100%; height: 100%; stroke: var(--brand-2); fill: none; stroke-width: 1; }
.cat .sub { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.cat .sub span { font-size: 0.72rem; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-3); }

/* ---------- Brands ---------- */
.brand-card { display: grid; grid-template-columns: 140px 1fr; gap: 28px; align-items: start; }
.brand-card .blogo { background: #fff; border-radius: 16px; padding: 20px; display: grid; place-items: center; min-height: 110px; box-shadow: 0 20px 40px -20px rgba(0,0,0,0.6); transform: translateZ(30px); }
.brand-card .blogo img { max-height: 60px; width: auto; }
.brand-card .blogo.text { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; color: #0b1a33; letter-spacing: -0.02em; }
.brand-card .ach { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }

/* ---------- Awards ---------- */
.awards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.award { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 1; border: 1px solid var(--line); background: var(--bg-3); cursor: zoom-in; transform-style: preserve-3d; transition: transform 0.5s var(--ease), box-shadow 0.4s; }
.award img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.award:hover { transform: translateY(-6px) rotateX(3deg); box-shadow: var(--shadow), var(--glow); }
.award:hover img { transform: scale(1.08); }
.award figcaption { position: absolute; inset: auto 0 0 0; padding: 40px 14px 12px; font-size: 0.78rem; color: #fff; background: linear-gradient(to top, rgba(5,11,26,0.95), transparent); }
.lightbox { position: fixed; inset: 0; z-index: 950; background: rgba(3, 7, 18, 0.9); backdrop-filter: blur(10px); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; padding: 30px; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(92vw, 900px); max-height: 82vh; border-radius: 16px; box-shadow: var(--shadow); }
.lightbox .cap { color: var(--ink-2); margin-top: 14px; text-align: center; }
.lightbox .close { position: absolute; top: 24px; right: 24px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--glass); color: #fff; font-size: 1.4rem; }

/* ---------- Feature rows / steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 28px 24px 24px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--line); }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-head); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.1em; color: var(--brand-2); display: inline-block; margin-bottom: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(56,209,255,0.1); }
.step h3 { font-size: 1.05rem; color: #fff; }
.step p { font-size: 0.9rem; margin: 0; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--glass); overflow: hidden; transition: border-color 0.3s; }
.faq details[open] { border-color: rgba(56,209,255,0.45); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font-family: var(--font-head); font-weight: 600; color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--brand-2); transition: transform 0.3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 24px 22px; color: var(--ink-2); font-size: 0.95rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 32px; align-items: start; }
.info-list { display: grid; gap: 14px; }
.info { display: flex; gap: 16px; padding: 18px 20px; border-radius: 16px; background: var(--glass); border: 1px solid var(--line); transition: transform 0.4s var(--ease), border-color 0.3s; }
.info:hover { transform: translateX(6px); border-color: rgba(56,209,255,0.4); }
.info .ic { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(0,135,203,0.5), rgba(56,209,255,0.2)); }
.info .ic svg { width: 22px; height: 22px; stroke: var(--brand-3); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.info b { display: block; color: #fff; font-family: var(--font-head); font-size: 0.95rem; margin-bottom: 2px; }
.info span, .info a { color: var(--ink-2); font-size: 0.92rem; }
.info a:hover { color: var(--brand-2); }
.form { display: grid; gap: 16px; padding: 34px; border-radius: var(--radius); background: var(--glass-2); border: 1px solid var(--line); backdrop-filter: blur(16px); box-shadow: var(--shadow); }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.field input, .field select, .field textarea { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: rgba(5,11,26,0.5); color: #fff; font: inherit; transition: border-color 0.3s, box-shadow 0.3s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 4px rgba(56,209,255,0.15); }
.field select option { color: #111; }
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 0.8rem; color: var(--ink-3); margin: 0; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); filter: saturate(0.6) contrast(1.05); }
.map iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ---------- Policy tabs ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.tabs button { padding: 12px 20px; border-radius: 12px; border: 1px solid var(--line); background: var(--glass); color: var(--ink-2); font-weight: 500; transition: all 0.3s; }
.tabs button.active { color: #fff; background: rgba(56,209,255,0.14); border-color: rgba(56,209,255,0.6); }
.panel { display: none; padding: 40px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--line); }
.panel.active { display: block; animation: fadeUp 0.5s var(--ease); }
.panel h2 { font-size: 1.7rem; }
.panel h3 { color: #fff; margin-top: 28px; font-size: 1.05rem; }
.panel ul { color: var(--ink-2); padding-left: 20px; }
.panel li { margin-bottom: 6px; }
.panel p { font-size: 0.95rem; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; padding: clamp(50px, 6vw, 80px); border-radius: 30px; overflow: hidden; background: linear-gradient(135deg, #0a3f7a 0%, #0087cb 55%, #1fb6ea 100%); text-align: center; box-shadow: 0 40px 100px -30px rgba(0,135,203,0.8); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.25), transparent 40%), radial-gradient(circle at 80% 80%, rgba(255,179,71,0.35), transparent 40%); }
.cta-band .shape { position: absolute; border-radius: 30%; border: 1px solid rgba(255,255,255,0.25); animation: rotate 26s linear infinite; }
.cta-band .s1 { width: 220px; height: 220px; left: -60px; top: -70px; }
.cta-band .s2 { width: 300px; height: 300px; right: -90px; bottom: -120px; animation-direction: reverse; }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 60ch; margin-inline: auto; }
.cta-band .btn-primary { background: #fff; color: #0a3f7a; box-shadow: 0 14px 34px -12px rgba(0,0,0,0.5); }

/* ---------- Footer ---------- */
.footer { margin-top: 60px; border-top: 1px solid var(--line); background: linear-gradient(to bottom, rgba(10,20,40,0.4), rgba(3,7,18,0.9)); padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 50px; }
.footer h4 { color: #fff; font-size: 0.9rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer ul a { color: var(--ink-3); font-size: 0.93rem; transition: color 0.3s, padding-left 0.3s; }
.footer ul a:hover { color: var(--brand-2); padding-left: 4px; }
.footer p { font-size: 0.92rem; color: var(--ink-3); }
.footer .brand-logo { margin-bottom: 18px; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line); background: var(--glass); transition: all 0.3s; }
.social a svg { width: 18px; height: 18px; fill: var(--ink-2); }
.social a:hover { transform: translateY(-4px); border-color: var(--brand-2); box-shadow: var(--glow); }
.social a:hover svg { fill: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--ink-3); }
.footer-bottom a:hover { color: var(--brand-2); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-l { opacity: 0; transform: translateX(-24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal-r { opacity: 0; transform: translateX(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal-l.in, .reveal-r.in { opacity: 1; transform: none; }
.stagger > * { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.stagger.in > * { opacity: 1; transform: none; }
.stagger.in > :nth-child(2) { transition-delay: 0.08s; }
.stagger.in > :nth-child(3) { transition-delay: 0.16s; }
.stagger.in > :nth-child(4) { transition-delay: 0.24s; }
.stagger.in > :nth-child(5) { transition-delay: 0.32s; }
.stagger.in > :nth-child(6) { transition-delay: 0.40s; }
.stagger.in > :nth-child(7) { transition-delay: 0.48s; }
.stagger.in > :nth-child(8) { transition-delay: 0.56s; }
.stagger.in > :nth-child(9) { transition-delay: 0.64s; }
.stagger.in > :nth-child(10) { transition-delay: 0.72s; }
.stagger.in > :nth-child(11) { transition-delay: 0.80s; }
.stagger.in > :nth-child(12) { transition-delay: 0.88s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero .reveal-h { opacity: 0; transform: translateY(24px); animation: fadeUp 1s var(--ease) forwards; }
.hero .reveal-h:nth-child(2) { animation-delay: 0.1s; } .hero .reveal-h:nth-child(3) { animation-delay: 0.2s; }
.hero .reveal-h:nth-child(4) { animation-delay: 0.3s; } .hero .reveal-h:nth-child(5) { animation-delay: 0.4s; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 20px); padding: 14px 22px; border-radius: 14px; background: var(--glass-2); border: 1px solid rgba(56,209,255,0.5); color: #fff; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transition: all 0.4s var(--ease); z-index: 990; backdrop-filter: blur(12px); font-size: 0.92rem; }
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* WhatsApp float */
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 800; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25d366; box-shadow: 0 10px 30px -8px rgba(37,211,102,0.8); transition: transform 0.3s var(--ease); }
.wa-float:hover { transform: scale(1.1) translateY(-3px); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }
.wa-float::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(37,211,102,0.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { transform: scale(0.9); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats, .steps, .awards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
}
@media (max-width: 900px) {
  .nav-links, .nav-cta .btn { display: none; }
  .burger { display: block; }
  .nav-links.open { display: flex; position: fixed; top: var(--nav-h); left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 16px; gap: 6px; background: rgba(5,11,26,0.96); backdrop-filter: blur(20px); border-bottom: 1px solid var(--line); animation: fadeUp 0.35s var(--ease); }
  .nav-links.open a { padding: 14px 18px; font-size: 1.05rem; }
  .nav-links.open a.active::after { display: none; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .split, .split.rev { grid-template-columns: 1fr; }
  .split.rev > :first-child { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .brand-card { grid-template-columns: 1fr; }
  .brand-card .blogo { width: 160px; }
  .form .row2 { grid-template-columns: 1fr; }
  .panel { padding: 26px; }
}
@media (max-width: 560px) {
  .grid-4, .stats, .steps, .awards { grid-template-columns: 1fr; }
  .awards { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding-top: calc(var(--nav-h) + 20px); }
  .chip { min-width: calc(50% - 7px); }
  .form { padding: 22px; }
  .cta-band { border-radius: 20px; }
  .cursor-glow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
  .reveal, .reveal-l, .reveal-r, .stagger > * { opacity: 1; transform: none; }
}

/* ---------- Hero / page-head background video ---------- */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; filter: saturate(1.1) brightness(0.85); }
.hero-overlay { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5,11,26,0.94) 0%, rgba(5,11,26,0.8) 40%, rgba(5,11,26,0.3) 75%, rgba(5,11,26,0.15) 100%),
    linear-gradient(180deg, rgba(5,11,26,0.7) 0%, rgba(5,11,26,0) 28%, rgba(5,11,26,0) 65%, var(--bg) 100%); }
.hero-overlay::after { content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(120,170,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(120,170,255,0.05) 1px, transparent 1px);
  background-size: 64px 64px; mix-blend-mode: screen; }
.page-head .hero-overlay { background:
    linear-gradient(90deg, rgba(5,11,26,0.95) 0%, rgba(5,11,26,0.82) 45%, rgba(5,11,26,0.4) 100%),
    linear-gradient(180deg, rgba(5,11,26,0.75) 0%, rgba(5,11,26,0.1) 40%, var(--bg) 100%); }
@media (max-width: 900px) { .hero-overlay, .page-head .hero-overlay { background: linear-gradient(180deg, rgba(5,11,26,0.8) 0%, rgba(5,11,26,0.55) 45%, rgba(5,11,26,0.7) 75%, var(--bg) 100%); } }

/* ---------- Conditional partner-onboarding fields (contact form) ---------- */
.partner-fields { border: 1px solid rgba(56,209,255,0.35); border-radius: 16px; padding: 18px 18px 6px; margin: 0; display: grid; gap: 14px; background: rgba(56,209,255,0.05); animation: fadeUp 0.4s var(--ease); }
.partner-fields[hidden] { display: none; }
.partner-fields legend { padding: 0 8px; font-family: var(--font-head); font-weight: 600; color: #fff; font-size: 0.95rem; }
.partner-fields legend small { font-family: var(--font-body); font-weight: 400; color: var(--ink-3); font-size: 0.78rem; }
.partner-fields .row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.partner-fields .row3 input { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(5,11,26,0.5); color: #fff; font: inherit; }
.partner-fields .row3 input:focus { outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 4px rgba(56,209,255,0.15); }
.partner-fields .form-note { margin: 0; }
.field .req { color: var(--accent); }
@media (max-width: 560px) { .partner-fields .row3 { grid-template-columns: 1fr; } }

/* ---------- Clients: organisations we have worked with ---------- */
.clients-title { font-size: 0.9rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand-2); margin: 46px 0 18px; display: flex; align-items: center; gap: 14px; }
.clients-title::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), transparent); }
.client-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 16px; }
.client { margin: 0; background: #fff; border-radius: 16px; padding: 14px 12px 12px; display: flex; flex-direction: column; align-items: center; gap: 10px; border: 1px solid rgba(56,209,255,0.25); box-shadow: 0 18px 40px -22px rgba(0,0,0,0.7); transition: transform 0.45s var(--ease), box-shadow 0.4s; }
.client:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -20px rgba(0,0,0,0.75), 0 0 40px -12px rgba(56,209,255,0.6); }
.client .clogo { height: 78px; width: 100%; display: grid; place-items: center; }
.client .clogo img { max-height: 78px; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.client figcaption { font-size: 0.74rem; font-weight: 600; line-height: 1.25; color: #0b1a33; text-align: center; min-height: 2.5em; display: grid; place-items: center; }
.client-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.client-chips span { font-size: 0.78rem; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); color: var(--ink-2); }
.client-grid.stagger.in > * { transition-delay: 0s; }
.client-grid.stagger.in > :nth-child(2) { transition-delay: 0.05s; } .client-grid.stagger.in > :nth-child(3) { transition-delay: 0.1s; }
.client-grid.stagger.in > :nth-child(4) { transition-delay: 0.15s; } .client-grid.stagger.in > :nth-child(5) { transition-delay: 0.2s; }
.client-grid.stagger.in > :nth-child(6) { transition-delay: 0.25s; } .client-grid.stagger.in > :nth-child(7) { transition-delay: 0.3s; }
.client-grid.stagger.in > :nth-child(8) { transition-delay: 0.35s; }
@media (max-width: 560px) { .client-grid { grid-template-columns: repeat(2, 1fr); } .client .clogo { height: 64px; } .client .clogo img { max-height: 64px; } }
.client-grid.stagger.in > :nth-child(n+9) { transition-delay: 0.4s; }
.client .clogo.text { background: linear-gradient(135deg, #0b2a55, #0087cb); border-radius: 12px; padding: 8px; }
.client .ctext { font-family: var(--font-head); font-weight: 700; font-size: 1rem; line-height: 1.15; color: #fff; text-align: center; letter-spacing: -0.01em; }
.client .ctext small { display: block; font-family: var(--font-body); font-weight: 600; font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.8); margin-bottom: 4px; }

/* Clients: 4-across, centred rows (a short last row sits in the middle) */
.client-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; max-width: 1040px; margin-inline: auto; }
.client-grid > .client { flex: 0 0 calc((100% - 48px) / 4); max-width: calc((100% - 48px) / 4); }
.clients-title { justify-content: center; text-align: center; }
.clients-title::before { content: ""; flex: 1; height: 1px; background: linear-gradient(270deg, var(--line), transparent); }
@media (max-width: 560px) {
  .client-grid > .client { flex-basis: calc((100% - 16px) / 2); max-width: calc((100% - 16px) / 2); }
}

/* ---------- Form fallback panel (shown only if the delivery service is unreachable) ---------- */
.form-status { display: none; padding: 14px 18px; border-radius: 14px; font-size: 0.92rem; color: var(--ink); animation: fadeUp 0.4s var(--ease); }
.form-status.is-sending { display: block; border: 1px solid rgba(56,209,255,0.4); background: rgba(56,209,255,0.08); }
.form-status.is-done { display: block; border: 1px solid rgba(84,242,139,0.45); background: rgba(84,242,139,0.08); }
.form-status.is-fallback { display: block; border: 1px solid rgba(255,179,71,0.5); background: rgba(255,179,71,0.08); }
.form-status p { margin: 0 0 12px; color: var(--ink); font-size: 0.92rem; }
.form-fallback-actions { display: flex; flex-wrap: wrap; gap: 10px; }
