/* ==========================================================================
   TechGate Digital Services LLP — Main stylesheet
   Brand: Navy #2a2e6c · Red #eb3b26
   Fonts: Outfit (headings) · Plus Jakarta Sans (body)
   See docs/DESIGN-SYSTEM.md for usage.
   ========================================================================== */

:root {
  --navy: #2a2e6c;
  --navy-900: #171a45;
  --navy-700: #22265b;
  --navy-100: #e8e9f4;
  --navy-50: #f4f5fb;
  --red: #eb3b26;
  --red-600: #d02f1b;
  --red-50: #fdeeec;
  --ink: #14163a;
  --body: #4a4d6b;
  --muted: #7a7d98;
  --line: #e3e5f0;
  --bg: #ffffff;
  --bg-soft: #f7f8fc;
  --success: #1a9e6b;

  --font-head: "Outfit", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(20, 22, 58, .06);
  --shadow: 0 10px 30px -12px rgba(20, 22, 58, .18);
  --shadow-lg: 0 30px 60px -20px rgba(20, 22, 58, .28);
  --container: 1200px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
html, body { overflow-x: clip; }
body {
  margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.65;
  color: var(--body); background: var(--bg); -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--red); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 999; }
.skip-link:focus { left: 8px; color: #fff; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; border-radius: 4px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em; font-family: var(--font-head);
  font-weight: 600; font-size: 1rem; padding: .85em 1.5em; border-radius: 999px;
  border: 2px solid transparent; cursor: pointer; transition: all .2s ease; line-height: 1.2;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-600); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 20px -8px rgba(235, 59, 38, .55); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-900); color: #fff; transform: translateY(-1px); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost-light { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }
.btn-sm { padding: .6em 1.15em; font-size: .92rem; }
.link-arrow { font-family: var(--font-head); font-weight: 600; display: inline-flex; align-items: center; gap: .35em; color: var(--red); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: transparent; border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
/* Blur lives on a pseudo-element: backdrop-filter on the header itself would trap the
   fixed-position mobile menu inside the header's 76px box. */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); }
.site-header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
.brand img { height: 40px; width: auto; }
.main-nav > ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; align-items: center; }
.main-nav a, .main-nav .nav-btn {
  font-family: var(--font-head); font-weight: 500; color: var(--ink); padding: 10px 14px;
  border-radius: 8px; display: inline-flex; align-items: center; gap: 4px; font-size: .98rem;
  background: none; border: 0; cursor: pointer;
}
.main-nav a:hover, .main-nav .nav-btn:hover, .main-nav a[aria-current="page"] { color: var(--red); }
.nav-btn svg { width: 14px; height: 14px; transition: transform .2s; }
.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(6px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 10px; width: 340px; opacity: 0; visibility: hidden; transition: all .18s ease; list-style: none; margin: 0;
}
.has-dropdown:hover .dropdown, .has-dropdown.open .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.has-dropdown:hover .nav-btn svg, .has-dropdown.open .nav-btn svg { transform: rotate(180deg); }
.dropdown a { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; width: 100%; }
.dropdown a:hover { background: var(--navy-50); }
.dropdown .dd-ico { flex: 0 0 36px; height: 36px; border-radius: 9px; background: var(--navy-50); color: var(--navy); display: grid; place-items: center; }
.dropdown .dd-ico svg { width: 18px; height: 18px; }
.dropdown strong { display: block; font-weight: 600; color: var(--ink); font-size: .95rem; }
.dropdown small { display: block; color: var(--muted); font-family: var(--font-body); font-size: .8rem; line-height: 1.4; font-weight: 400; }
.dropdown .badge { margin-left: 6px; }
.nav-mobile-cta { display: none !important; }
.header-cta { display: flex; gap: 10px; align-items: center; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- Badges / eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600;
  font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.badge { display: inline-block; font-family: var(--font-head); font-size: .72rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--red-50); color: var(--red); letter-spacing: .02em; }
.badge-navy { background: var(--navy-100); color: var(--navy); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-soft { background: var(--bg-soft); }
.section-navy { background: var(--navy-900); color: #c9cbe6; }
.section-navy h2, .section-navy h3, .section-navy h4 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { font-size: 1.08rem; }
.lead { font-size: 1.15rem; color: var(--body); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; background: var(--navy-900); color: #c9cbe6;
  padding: 96px 0 104px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
}
.hero::after {
  content: ""; position: absolute; width: 640px; height: 640px; right: -160px; top: -200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(235,59,38,.28), transparent 65%);
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: #fff; }
.hero h1 .accent { color: var(--red); }
.hero .lead { color: #c9cbe6; max-width: 580px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 32px 0 36px; }
.hero-points { display: flex; gap: 22px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; font-size: .93rem; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points svg { width: 18px; height: 18px; color: var(--red); }

.page-hero { background: var(--navy-900); color: #c9cbe6; padding: 72px 0 80px; position: relative; overflow: hidden; }
.page-hero::before { 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: 44px 44px; mask-image: radial-gradient(ellipse at 80% 30%, #000 15%, transparent 70%); }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; max-width: 820px; font-size: clamp(2rem, 4vw, 3.1rem); }
.page-hero .lead { color: #c9cbe6; max-width: 680px; }
.breadcrumb { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 22px; font-size: .88rem; color: #9ea1c8; }
.breadcrumb a { color: #c9cbe6; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }

/* ---------- Snapshot (UI mockup) ---------- */
.snapshot {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden;
  border: 1px solid rgba(255,255,255,.1); color: var(--body); font-size: .85rem;
}
.snap-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: var(--navy-50); border-bottom: 1px solid var(--line); }
.snap-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d4d6e6; }
.snap-bar i:first-child { background: var(--red); }
.snap-bar span { margin-left: 10px; font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: .82rem; }
.snap-body { padding: 20px; }
.snap-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.snap-kpi { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.snap-kpi small { display: block; color: var(--muted); font-size: .72rem; }
.snap-kpi b { font-family: var(--font-head); font-size: 1.25rem; color: var(--ink); }
.snap-kpi em { font-style: normal; font-size: .7rem; color: var(--success); margin-left: 4px; }
.snap-pipeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.snap-col { background: var(--bg-soft); border-radius: 10px; padding: 8px; }
.snap-col h5 { margin: 0 0 6px; font-family: var(--font-head); font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.snap-card { background: #fff; border: 1px solid var(--line); border-radius: 7px; padding: 6px 8px; margin-bottom: 6px; font-size: .72rem; line-height: 1.35; }
.snap-card b { display: block; color: var(--ink); font-weight: 600; }
.snap-card .bar { height: 4px; border-radius: 3px; background: var(--navy-100); margin-top: 5px; overflow: hidden; }
.snap-card .bar span { display: block; height: 100%; background: var(--red); }
.snap-rows { display: grid; gap: 8px; }
.snap-row { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
.snap-avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--navy-100); color: var(--navy); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: .72rem; }
.snap-row b { color: var(--ink); font-size: .8rem; display: block; }
.snap-row small { color: var(--muted); font-size: .72rem; }
.pill { font-size: .68rem; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: #e6f6ef; color: var(--success); white-space: nowrap; }
.pill.amber { background: #fff4e0; color: #b46b00; }
.pill.red { background: var(--red-50); color: var(--red); }
.pill.navy { background: var(--navy-100); color: var(--navy); }
.hero-visual { position: relative; }
.float-card {
  position: absolute; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); padding: 12px 14px;
  display: flex; gap: 10px; align-items: center; font-size: .8rem; color: var(--body);
}
.float-card b { display: block; color: var(--ink); font-family: var(--font-head); font-size: .95rem; }
.float-card .fc-ico { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--red-50); color: var(--red); }
.float-card .fc-ico svg { width: 18px; height: 18px; }
.float-a { left: -28px; bottom: 34px; }
.float-b { right: -18px; top: -22px; }

/* ---------- Cards / grids ---------- */
.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 {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.card p:last-child { margin-bottom: 0; }
.icon-box { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--navy-50); color: var(--navy); margin-bottom: 18px; }
.icon-box svg { width: 26px; height: 26px; }
.icon-box.red { background: var(--red-50); color: var(--red); }
.icon-box.solid { background: var(--navy); color: #fff; }
.pillar { position: relative; padding: 34px 30px 30px; display: flex; flex-direction: column; }
.pillar .num { position: absolute; top: 24px; right: 26px; font-family: var(--font-head); font-weight: 700; font-size: 2.4rem; color: var(--navy-100); line-height: 1; }
.pillar ul { list-style: none; padding: 0; margin: 4px 0 22px; display: grid; gap: 8px; }
.pillar .link-arrow { margin-top: auto; }
.check-list { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list svg { flex: 0 0 20px; width: 20px; height: 20px; color: var(--red); margin-top: 2px; }
.section-navy .check-list li { color: #c9cbe6; }

/* Flagship spotlight */
.spotlight {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-900) 100%); border-radius: 28px;
  padding: 56px; color: #c9cbe6; display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center;
  position: relative; overflow: hidden;
}
.spotlight::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; right: -120px; bottom: -200px; background: radial-gradient(circle, rgba(235,59,38,.3), transparent 65%); }
.spotlight > * { position: relative; z-index: 1; }
.spotlight h2 { color: #fff; }
.spotlight .badge { background: var(--red); color: #fff; margin-bottom: 16px; }
.spotlight .check-list li { color: #dfe0f2; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse > :first-child { order: 2; }

/* Models */
.model-card { border-top: 4px solid var(--navy); }
.model-card.featured { border-top-color: var(--red); box-shadow: var(--shadow); }
.model-card .meta { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 16px; }

/* Skills */
.skills { display: flex; flex-wrap: wrap; gap: 10px; }
.skill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-family: var(--font-head); font-weight: 500; color: var(--ink); font-size: .93rem; }
.skill svg { width: 16px; height: 16px; color: var(--red); }
.skill-group h4 { margin-bottom: 12px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; position: relative; }
.step { position: relative; padding-top: 8px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero); display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%; background: #fff; border: 2px solid var(--red); color: var(--red);
  font-family: var(--font-head); font-weight: 700; margin-bottom: 18px; position: relative; z-index: 1;
}
.steps::before { content: ""; position: absolute; top: 34px; left: 26px; right: 26px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }
.section-navy .step::before { background: var(--navy-900); }
.section-navy .steps::before { background: repeating-linear-gradient(90deg, rgba(255,255,255,.18) 0 8px, transparent 8px 14px); }

/* Industries */
.industry { padding: 32px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.industry .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.tag { font-size: .78rem; padding: 4px 10px; border-radius: 999px; background: var(--navy-50); color: var(--navy); font-weight: 500; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat b { display: block; font-family: var(--font-head); font-size: clamp(2.2rem, 4vw, 3rem); color: #fff; line-height: 1; margin-bottom: 8px; }
.stat b span { color: var(--red); }
.stat small { font-size: .95rem; color: #b9bcdc; }

/* Case studies */
.case { display: grid; grid-template-columns: 1fr 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.case + .case { margin-top: 28px; }
.case-body { padding: 40px; }
.case-visual { background: var(--navy-50); padding: 36px; display: flex; align-items: center; }
.case-visual .snapshot { width: 100%; box-shadow: var(--shadow); }
.case-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.case dl { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0 0; }
.case dt { font-family: var(--font-head); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.case dd { margin: 2px 0 0; color: var(--ink); font-weight: 500; }

/* Proof strip */
.proof { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.proof-card { display: flex; gap: 18px; align-items: flex-start; }
.proof-logo { flex: 0 0 64px; height: 64px; border-radius: 16px; background: var(--navy); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; }
.proof-logo.red { background: var(--red); }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 24px; margin-bottom: 12px; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 1.06rem; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--red); font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 20px; margin: 0; }

/* CTA band */
.cta-band { background: var(--red); border-radius: 28px; padding: 56px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; color: #ffe3df; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.14) 1.5px, transparent 1.5px); background-size: 22px 22px; mask-image: linear-gradient(90deg, transparent 40%, #000); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { margin: 0; font-size: 1.08rem; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.cta-band .btn-navy { background: var(--navy-900); }
.cta-band .btn-ghost-light { border-color: rgba(255,255,255,.55); }

/* Forms */
.form-tabs { display: inline-flex; background: var(--navy-50); border-radius: 999px; padding: 5px; margin-bottom: 28px; gap: 4px; flex-wrap: wrap; }
.form-tabs button { border: 0; background: none; padding: 10px 20px; border-radius: 999px; font-family: var(--font-head); font-weight: 600; color: var(--navy); cursor: pointer; font-size: .95rem; }
.form-tabs button[aria-selected="true"] { background: var(--navy); color: #fff; }
.form-panel[hidden] { display: none; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-family: var(--font-head); font-weight: 500; font-size: .9rem; color: var(--ink); margin-bottom: 6px; }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .97rem; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px var(--navy-100); }
.hp { position: absolute; left: -5000px; }
.form-note { font-size: .85rem; color: var(--muted); margin: 14px 0 0; }
.form-status { margin-top: 16px; padding: 12px 16px; border-radius: 10px; font-weight: 500; display: none; }
.form-status.ok { display: block; background: #e6f6ef; color: #0f6b47; }
.form-status.err { display: block; background: var(--red-50); color: var(--red-600); }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 14px; }
.contact-list .icon-box { margin: 0; flex: 0 0 48px; width: 48px; height: 48px; }
.contact-list b { display: block; color: var(--ink); font-family: var(--font-head); }

/* Feature list (product pages) */
.feature { display: flex; gap: 16px; }
.feature .icon-box { flex: 0 0 48px; width: 48px; height: 48px; margin: 0; }
.feature h3 { font-size: 1.1rem; margin-bottom: 6px; }
.feature p { margin: 0; font-size: .96rem; }

/* Service blocks */
.service-block { padding: 72px 0; border-bottom: 1px solid var(--line); }
.service-block:last-of-type { border-bottom: 0; }
.service-block .mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin-top: 8px; }
.tech-strip { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

/* Founder */
.founder { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: center; }
.founder-photo { aspect-ratio: 4/5; border-radius: var(--radius-lg); background: linear-gradient(160deg, var(--navy), var(--navy-900)); display: grid; place-items: center; color: #fff; font-family: var(--font-head); font-size: 4rem; font-weight: 700; position: relative; overflow: hidden; }
.founder-photo::after { content: ""; position: absolute; width: 200px; height: 200px; right: -60px; bottom: -60px; border-radius: 50%; background: radial-gradient(circle, rgba(235,59,38,.45), transparent 70%); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #a9acd0; padding: 80px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #a9acd0; }
.site-footer a:hover { color: #fff; }
.footer-brand img { height: 40px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 300px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.07); }
.socials a:hover { background: var(--red); color: #fff; }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .87rem; }

/* WhatsApp float */
.wa-float { position: fixed; right: 22px; bottom: 22px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 24px -8px rgba(0,0,0,.35); z-index: 90; transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); color: #fff; }
.wa-float svg { width: 28px; height: 28px; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .grid-4, .stats { grid-template-columns: repeat(2, 1fr); }
  .header-cta .btn-outline { display: none; }
}
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .main-nav { position: fixed; inset: var(--header-h) 0 0 0; z-index: 150; background: #fff; box-shadow: 0 20px 40px -20px rgba(0,0,0,.25); padding: 16px 24px 32px; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility .25s; }
  .main-nav.open { transform: none; visibility: visible; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid var(--line); }
  .main-nav a, .main-nav .nav-btn { width: 100%; padding: 14px 4px; justify-content: space-between; font-size: 1.05rem; }
  .dropdown { position: static; transform: none; width: auto; box-shadow: none; border: 0; padding: 0 0 10px; display: none; opacity: 1; visibility: visible; }
  .has-dropdown:hover .dropdown { transform: none; }
  .has-dropdown.open .dropdown { display: block; transform: none; }
  .header-cta .btn { display: none; }
  .nav-mobile-cta { display: grid !important; gap: 10px; padding: 18px 0 8px; border-bottom: 0 !important; }
  .main-nav .nav-mobile-cta .btn { justify-content: center; width: 100%; padding: .85em 1.5em; font-size: 1rem; }
  .main-nav .nav-mobile-cta .btn-primary { background: var(--red); color: #fff; border: 2px solid var(--red); }
  .main-nav .nav-mobile-cta .btn-outline { background: #fff; color: var(--navy); border: 2px solid var(--navy); }
  .hero-grid, .split, .spotlight, .case, .cta-band, .founder { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
  .cta-actions { justify-content: flex-start; }
  .spotlight, .cta-band { padding: 40px 28px; }
  .float-a { left: 8px; } .float-b { right: 8px; }
  .founder-photo { max-width: 260px; }
}
@media (max-width: 640px) {
  .section { padding: 68px 0; }
  .grid-2, .grid-3, .grid-4, .proof, .form-grid, .service-block .mini-grid, .case dl { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .snap-pipeline { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 64px 0 72px; }
  .form-card, .case-body { padding: 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .float-card { display: none; }
}

/* ==========================================================================
   Motion & effects (used with assets/js/motion.js)
   ========================================================================== */
.motion .reveal { transition: none; }
.split-line { padding-bottom: .06em; }

/* Scroll progress bar */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--red), #ff7a5c); transform: scaleX(0); transform-origin: 0 50%; }

/* Typed word */
.typed-wrap { color: var(--red); white-space: nowrap; }
.typed-wrap::after { content: ""; display: inline-block; width: 3px; height: .9em; background: var(--red); margin-left: 4px; vertical-align: -.08em; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

/* Hero decor: spinning dashed ring + glowing orbit dot */
.hero-ring { position: absolute; width: 118%; aspect-ratio: 1; left: -9%; top: 50%; translate: 0 -50%; z-index: -1; pointer-events: none; animation: spin 60s linear infinite; }
.hero-ring circle { fill: none; stroke: rgba(255,255,255,.14); stroke-width: 1.2; stroke-dasharray: 4 9; }
.hero-ring .orbit-dot { fill: var(--red); stroke: none; filter: drop-shadow(0 0 8px rgba(235,59,38,.9)); }
@keyframes spin { to { rotate: 360deg; } }
.float-card { animation: bob 5s ease-in-out infinite; }
.float-b { animation-delay: -2.5s; }
@keyframes bob { 50% { translate: 0 -10px; } }
.hero-visual { perspective: 1200px; }

/* Card spotlight glow (follows cursor) */
.fx-spot { position: relative; isolation: isolate; transition: transform .25s ease, box-shadow .2s ease, border-color .2s; will-change: transform; }
.fx-spot::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; opacity: 0; transition: opacity .3s;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(235,59,38,.09), transparent 45%);
}
.fx-spot::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; z-index: -1; opacity: 0; transition: opacity .3s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(235,59,38,.55), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.fx-spot:hover::before, .fx-spot:hover::after { opacity: 1; }

/* Magnetic buttons */
[data-magnetic] { transition: transform .25s cubic-bezier(.2,.8,.2,1), background .2s, box-shadow .2s; }

/* Steps connector draws on scroll */
.steps::before { transform: scaleX(var(--line, 1)); transform-origin: 0 50%; }

/* Marquee strips */
.marquee-section { padding: 56px 0; overflow: hidden; background: var(--bg-soft); border-block: 1px solid var(--line); }
.marquee-title { text-align: center; font-family: var(--font-head); font-weight: 600; color: var(--muted); font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 22px; }
.marquee { display: flex; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee + .marquee { margin-top: 14px; }
.marquee-track { display: flex; gap: 14px; padding-right: 14px; flex-shrink: 0; animation: marquee 40s linear infinite; }
.marquee.reverse .marquee-track { animation-direction: reverse; animation-duration: 46s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee .skill { white-space: nowrap; font-size: 1rem; padding: 12px 20px; }
.marquee .skill.hot { background: var(--navy); color: #fff; border-color: var(--navy); }
.marquee .skill.hot svg { color: #ff8a7a; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* Big outlined text band */
.outline-band { overflow: hidden; padding: 10px 0 0; white-space: nowrap; }
.outline-band span { font-family: var(--font-head); font-weight: 700; font-size: clamp(3rem, 9vw, 7.5rem); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--navy-100); display: inline-block; padding-right: .4em; animation: marquee 30s linear infinite; }
.outline-band span em { font-style: normal; -webkit-text-stroke: 1.5px rgba(235,59,38,.35); }

/* Side quote tab + drawer */
.quote-tab {
  position: fixed; right: 0; top: 50%; z-index: 95; transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl;
  background: var(--navy); color: #fff; border: 0; padding: 18px 11px; border-radius: 0 10px 10px 0; cursor: pointer;
  font-family: var(--font-head); font-weight: 600; letter-spacing: .06em; font-size: .85rem; display: flex; align-items: center; gap: 8px;
  box-shadow: var(--shadow); transition: background .2s, padding .2s;
}
.quote-tab:hover { background: var(--red); padding-right: 15px; }
.quote-tab svg { width: 16px; height: 16px; transform: rotate(90deg); }
.quote-drawer { position: fixed; inset: 0; z-index: 300; visibility: hidden; }
.quote-drawer.open { visibility: visible; }
.qd-backdrop { position: absolute; inset: 0; background: rgba(15,17,48,.55); backdrop-filter: blur(3px); opacity: 0; transition: opacity .3s; }
.quote-drawer.open .qd-backdrop { opacity: 1; }
.qd-panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(440px, 100%); background: #fff; overflow-y: auto;
  transform: translateX(100%); transition: transform .45s cubic-bezier(.2,.8,.2,1); box-shadow: -30px 0 60px -20px rgba(0,0,0,.3);
}
.quote-drawer.open .qd-panel { transform: none; }
.qd-head { background: var(--navy-900); color: #c9cbe6; padding: 28px; position: relative; }
.qd-head h3 { color: #fff; margin: 0 0 4px; font-size: 1.4rem; }
.qd-head p { margin: 0; font-size: .92rem; }
.qd-close { position: absolute; top: 18px; right: 18px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.1); color: #fff; font-size: 1.3rem; cursor: pointer; }
.qd-close:hover { background: var(--red); }
.qd-body { padding: 26px 28px 32px; }
.qd-body .form-grid { grid-template-columns: 1fr; gap: 14px; }
body.drawer-open { overflow: hidden; }

@media (max-width: 640px) {
  .quote-tab { padding: 14px 9px; font-size: .78rem; }
  .hero-ring { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track, .outline-band span, .hero-ring, .float-card, .typed-wrap::after { animation: none; }
}

.h1-sub { display: block; font-size: .5em; font-weight: 600; color: #c9cbe6; letter-spacing: -.01em; margin-top: .35em; }
.typed-wrap { display: inline-block; min-height: 1.15em; }

/* GSAP owns opacity/transform while animating, so CSS transitions must not touch them */
.motion .btn:not([data-magnetic]) { transition-property: background-color, color, border-color, box-shadow; }
.motion .reveal { transition: none !important; }

/* Client strip */
.clients-strip { padding: 36px 0; border-bottom: 1px solid var(--line); background: #fff; }
.clients-title { text-align: center; font-family: var(--font-head); font-weight: 600; color: var(--muted); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 20px; }
.clients-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.client-tile { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s; }
.client-tile:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-2px); }
.client-tile b { display: block; font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1.02rem; line-height: 1.2; }
.client-tile small { color: var(--muted); font-size: .78rem; }
/* With a logo: show the logo, hide icon + text. Without (no-logo): show icon + text. */
.client-tile { justify-content: center; min-height: 72px; }
.client-tile .ct-logo { max-height: 42px; max-width: 100%; width: auto; object-fit: contain; }
.client-tile:not(.no-logo) .ct-ico, .client-tile:not(.no-logo) .ct-text { display: none; }
.client-tile.no-logo { justify-content: flex-start; }
.ct-text { min-width: 0; }
.client-tile b { overflow-wrap: break-word; }
.ct-ico { flex: 0 0 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--navy-50); color: var(--navy); }
.ct-ico svg { width: 18px; height: 18px; }
.client-tile.more { background: var(--navy); border-color: var(--navy); }
.client-tile.more b { color: #fff; } .client-tile.more small { color: #b9bcdc; }
@media (max-width: 960px) { .clients-row { grid-template-columns: repeat(2, 1fr); } .client-tile.more { grid-column: 1 / -1; justify-content: center; text-align: center; } }
@media (max-width: 480px) { .client-tile { padding: 12px; min-height: 64px; } .client-tile.no-logo .ct-ico { display: none; } .client-tile b { font-size: .86rem; } .client-tile small { font-size: .72rem; } }

/* Legal pages */
.legal-wrap { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 24px); background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; font-size: .9rem; }
.legal-toc h4 { margin-bottom: 10px; }
.legal-toc ol { margin: 0; padding-left: 0; list-style: none; display: grid; gap: 8px; }
.legal-toc a { color: var(--body); }
.legal-toc a:hover { color: var(--red); }
.legal { max-width: 780px; }
.legal section { padding-bottom: 30px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.legal section:last-child { border-bottom: 0; }
.legal h2 { font-size: 1.4rem; margin-bottom: 14px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.legal-table { width: 100%; border-collapse: collapse; margin: 6px 0 16px; font-size: .93rem; }
.legal-table th, .legal-table td { text-align: left; padding: 10px 12px; border: 1px solid var(--line); vertical-align: top; }
.legal-table th { background: var(--navy-50); font-family: var(--font-head); color: var(--ink); }
.legal-links a { color: #a9acd0; }
.form-note a { color: var(--navy); text-decoration: underline; }
@media (max-width: 960px) { .legal-wrap { grid-template-columns: 1fr; } .legal-toc { position: static; } .legal-table { font-size: .85rem; } }

.fallback-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.form-status.err .btn { text-decoration: none; }
