/* ============================================================
   SpyCloud Technologies — v2 (dev.spycloud.tech)
   Wireframe-matched: deep navy + cyan, light/dark section
   alternation, bold geometric sans throughout.
   ============================================================ */

:root {
  /* Dark sections (hero, industries, footer) */
  --bg-0:        #061131;
  --bg-1:        #0a1840;
  --bg-2:        #0f2455;
  --bg-3:        #1a3270;
  --line:        rgba(140, 180, 250, 0.10);
  --line-strong: rgba(140, 180, 250, 0.22);

  /* Bright cyan accent (matches wireframe) */
  --accent:      #00b8ff;
  --accent-2:    #1ad2ff;
  --accent-3:    #3da9ff;
  --accent-deep: #0066d6;
  --accent-soft: rgba(0, 184, 255, 0.10);
  --accent-glow: rgba(0, 184, 255, 0.35);

  /* Light sections (solutions, stats, projects) */
  --light-bg:    #f4f7fc;
  --light-bg-2:  #ffffff;
  --light-line:  #e2e8f3;
  --light-line-2:#cdd7e8;
  --ink:         #0a1740;
  --ink-2:       #1d2e58;
  --ink-mute:    #4a5a7e;
  --ink-dim:     #7c8aa8;

  /* Text on dark */
  --text:        #ffffff;
  --text-mute:   #bccae5;
  --text-dim:    #8094bd;

  /* Status */
  --danger:      #ff5572;
  --success:     #2dd9a4;

  /* Radii / shadow */
  --r-sm: 6px;
  --r:    10px;
  --r-lg: 14px;
  --shadow:    0 8px 24px -10px rgba(0,0,0,.18);
  --shadow-lg: 0 18px 40px -18px rgba(10, 24, 64, .25);

  /* Font */
  --font: 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Manrope', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding: 0;
  background: var(--bg-0);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; transition: color .15s; }
a:hover { color: var(--accent-2); }

img, video { max-width: 100%; height: auto; display: block; }

::selection { background: var(--accent); color: #fff; }

/* ============================================================
   Background — deep navy radial with subtle cyan glow
   ============================================================ */
.sc-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 700px at 90% 0%, rgba(0,184,255,.16), transparent 60%),
    radial-gradient(700px 600px at 10% 30%, rgba(61,169,255,.08), transparent 55%),
    linear-gradient(180deg, var(--bg-0) 0%, #04091f 100%);
}

/* ============================================================
   Container / Section
   ============================================================ */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}
@media (max-width: 640px) { .container { padding: 0 20px; } }

section { position: relative; padding: 90px 0; }
@media (max-width: 768px) { section { padding: 56px 0; } }

/* Light-section variant */
.light-section {
  background: var(--light-bg);
  color: var(--ink);
}
.light-section h1, .light-section h2, .light-section h3, .light-section h4 { color: var(--ink); }
.light-section .text-mute { color: var(--ink-mute); }
.light-section .text-dim  { color: var(--ink-dim); }
.light-section .lead { color: var(--ink-mute); }
.light-section .section-eyebrow { color: var(--accent-deep); }
.light-section .section-eyebrow::after { background: var(--accent); }

/* Section labels */
.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  padding-bottom: 12px;
  margin-bottom: 18px;
  position: relative;
}
.section-eyebrow::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 36px; height: 2px;
  background: var(--accent);
}

/* Typography — bold geometric sans throughout */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 16px;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.15rem; }
h4 { font-size: 1rem; }

.lead {
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  color: var(--text-mute);
  max-width: 680px;
  line-height: 1.65;
  font-weight: 400;
}
.h1-stack { display: block; }
.h1-stack span { display: block; }
.accent-text { color: var(--accent); }

/* ============================================================
   Navbar
   ============================================================ */
.sc-nav {
  position: sticky; top: 0;
  z-index: 1000;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  background: rgba(6, 17, 49, 0.85);
  border-bottom: 1px solid var(--line);
}
.sc-nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 78px;
}
.sc-brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
  color: var(--text);
}
.sc-brand img {
  height: 44px;
  width: auto;
}
.sc-brand .b-name {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.05;
}
.sc-brand .b-tag {
  font-size: 9.5px;
  color: var(--accent);
  letter-spacing: .25em;
  text-transform: uppercase;
  display: block;
  margin-top: 3px;
  font-weight: 700;
}
.sc-nav-links {
  display: flex; gap: 2px; align-items: center;
  list-style: none; margin: 0; padding: 0;
}
.sc-nav-links a {
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 6px;
  transition: color .15s;
  letter-spacing: .01em;
  position: relative;
}
.sc-nav-links a::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s;
}
.sc-nav-links a.active::after,
.sc-nav-links a:hover::after { transform: scaleX(1); }
.sc-nav-links a:hover, .sc-nav-links a.active { color: var(--accent); }

.sc-nav-cta { margin-left: 12px; }
.sc-nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--text);
  width: 42px; height: 42px;
  border-radius: 8px;
  align-items: center; justify-content: center;
  cursor: pointer;
}

@media (max-width: 980px) {
  .sc-nav-links {
    position: absolute; top: 78px; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: rgba(6, 17, 49, .98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    padding: 18px 28px 24px;
    gap: 2px;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: all .2s;
  }
  .sc-nav.open .sc-nav-links {
    transform: translateY(0); opacity: 1; pointer-events: auto;
  }
  .sc-nav-links a { padding: 12px 8px; }
  .sc-nav-toggle { display: inline-flex; }
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 24px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: -.005em;
  border-radius: 30px;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s, border-color .15s, color .15s, transform .12s;
  white-space: nowrap;
}
.btn-primary {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-3);
  border-color: var(--accent-3);
  color: #fff;
  transform: translateY(-1px);
}
.btn-ghost {
  color: var(--text);
  background: transparent;
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.04);
  color: var(--accent);
  border-color: var(--accent);
}
.light-section .btn-ghost {
  color: var(--ink);
  border-color: var(--light-line-2);
}
.light-section .btn-ghost:hover { color: var(--accent-deep); border-color: var(--accent); }
.btn-lg { padding: 15px 30px; font-size: 15px; }

/* ============================================================
   Hero — INTEGRATE. SECURE. SCALE.
   ============================================================ */
.hero {
  padding: 60px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.45fr 0.85fr;
  gap: 70px;
  align-items: center;
}
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
}
.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: .98;
  margin-bottom: 28px;
}
.hero h1 .accent-text { color: var(--accent); }
.hero p.lead { font-size: 1.12rem; margin-bottom: 36px; max-width: 540px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Shield illustration */
.shield-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 440px;
  margin: 0 auto;
}
/* Main glow halo */
.shield-stage .glow-disc {
  position: absolute; inset: 8%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(0,184,255,.45) 0%, rgba(0,184,255,.12) 35%, transparent 65%);
  filter: blur(12px);
  animation: pulse-glow 4s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { opacity: .55; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.08); }
}
/* Concentric rings */
.shield-stage .ring {
  position: absolute; inset: 18%;
  border-radius: 50%;
  border: 1px dashed rgba(26, 210, 255, .35);
  animation: spin 26s linear infinite;
}
.shield-stage .ring.r2 {
  inset: 28%;
  border-style: solid;
  border-color: rgba(0, 184, 255, .18);
  animation-duration: 38s;
  animation-direction: reverse;
}
.shield-stage .ring.r3 {
  inset: 4%;
  border: 1px solid rgba(26, 210, 255, .08);
  animation: spin 60s linear infinite;
}
/* Orbit dots */
.shield-stage .orbit-dot {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 12px var(--accent-2), 0 0 24px var(--accent);
  top: 50%; left: 50%;
  transform-origin: 0 0;
}
.shield-stage .orbit-dot.d1 { animation: orbit 14s linear infinite; }
.shield-stage .orbit-dot.d2 { animation: orbit 22s linear infinite reverse; --r: 145px; }
.shield-stage .orbit-dot.d3 { animation: orbit 18s linear infinite; --r: 120px; }
@keyframes orbit {
  from { transform: translate(-50%,-50%) rotate(0deg) translateX(var(--r, 165px)); }
  to   { transform: translate(-50%,-50%) rotate(360deg) translateX(var(--r, 165px)); }
}
/* Bottom platform glow */
.shield-stage .platform {
  position: absolute;
  left: 50%; bottom: 3%;
  width: 80%; height: 16%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(0, 184, 255, .5) 0%, transparent 70%);
  filter: blur(6px);
}
.shield-stage svg.shield-svg {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -52%);
  width: 56%;
  height: 56%;
  filter:
    drop-shadow(0 20px 36px rgba(0, 184, 255, .55))
    drop-shadow(0 4px 8px rgba(0, 0, 0, .3));
  animation: float-shield 5s ease-in-out infinite;
}
@keyframes float-shield {
  0%, 100% { transform: translate(-50%, -52%); }
  50%      { transform: translate(-50%, -56%); }
}
@keyframes spin { to { transform: rotate(360deg); } }

.float-label {
  position: absolute;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px;
  background: rgba(15, 36, 85, .8);
  border: 1px solid var(--line-strong);
  border-radius: 30px;
  color: var(--text);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .005em;
  backdrop-filter: blur(8px);
  white-space: nowrap;
  animation: floatY 5s ease-in-out infinite;
}
.float-label i { color: var(--accent); font-size: 14px; }
.float-label.lbl-tl { top: 8%;  left: -2%; }
.float-label.lbl-tr { top: 18%; right: -2%; animation-delay: 1.3s; }
.float-label.lbl-bl { bottom: 28%; left: -4%; animation-delay: 2.6s; }
.float-label.lbl-br { bottom: 14%; right: 0%; animation-delay: 0.6s; }
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
@media (max-width: 600px) {
  .float-label { font-size: 11px; padding: 7px 11px; }
}

/* Hero connector lines (svg overlay) */
.shield-stage svg.connectors {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}

/* ============================================================
   Brand strip — Trusted by leading global brands
   ============================================================ */
.brand-strip {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(15, 36, 85, .35);
}
.brand-strip .label {
  text-align: center;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-mute);
  font-weight: 600;
  margin-bottom: 16px;
}
.brand-strip .label .accent { color: var(--accent); font-weight: 700; }
.brand-strip-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 30px;
  flex-wrap: wrap;
}
.brand-name {
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -.01em;
  color: var(--text);
  opacity: .82;
  transition: opacity .15s, color .15s;
  font-family: var(--font-display);
}
.brand-name:hover { opacity: 1; color: var(--accent); }
.brand-name small { font-size: 9.5px; letter-spacing: .15em; text-transform: uppercase; display: block; opacity: .6; margin-top: 2px; }

/* ============================================================
   Solution cards (white section)
   ============================================================ */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
@media (max-width: 1100px) { .solutions-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px)  { .solutions-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .solutions-grid { grid-template-columns: 1fr; } }

.solution-card {
  background: var(--light-bg-2);
  border: 1px solid var(--light-line);
  border-radius: 12px;
  padding: 26px 24px;
  text-decoration: none;
  color: inherit;
  display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  position: relative;
}
.solution-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 18px 32px -18px rgba(0, 184, 255, .35);
  color: inherit;
}
.solution-card .ico {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-deep);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 26px;
  margin-bottom: 18px;
}
.solution-card h3 { font-size: 1.02rem; margin-bottom: 8px; font-weight: 700; color: var(--ink); }
.solution-card h3 .accent { color: var(--accent-deep); }
.solution-card p {
  color: var(--ink-mute);
  font-size: 13.5px;
  line-height: 1.55;
  margin: 0 0 16px;
}
.solution-card .more {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent-deep);
  letter-spacing: .02em;
  margin-top: auto;
}
.solution-card .more::after { content: ' →'; transition: margin-left .15s; }
.solution-card:hover .more::after { margin-left: 4px; }

/* Section heading row */
.section-head-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  margin-bottom: 40px;
}
.section-head-row h2 { margin: 0; }
.section-head-row h2 .accent { color: var(--accent); }
.light-section .section-head-row h2 .accent { color: var(--accent-deep); }

/* ============================================================
   Industries — image tiles (dark section)
   ============================================================ */
.industries-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
@media (max-width: 1200px) { .industries-row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px)  { .industries-row { grid-template-columns: repeat(2, 1fr); } }

.industry-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--bg-1);
  cursor: pointer;
  border: 1px solid var(--line);
  transition: transform .2s, border-color .2s;
}
.industry-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(.55);
  transition: transform .4s, filter .2s;
}
.industry-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(6,17,49,.85) 100%);
}
.industry-card:hover { border-color: var(--accent); }
.industry-card:hover img { transform: scale(1.06); filter: brightness(.7); }
.industry-card .badge-ico {
  position: absolute;
  top: 14px; left: 14px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px;
  z-index: 2;
}
.industry-card .label {
  position: absolute;
  bottom: 16px; left: 16px; right: 16px;
  z-index: 2;
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -.01em;
}

/* ============================================================
   Stats + AMC strip (light section)
   ============================================================ */
.stats-amc {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 30px;
  align-items: stretch;
}
@media (max-width: 980px) { .stats-amc { grid-template-columns: 1fr; } }

.stats-card {
  background: var(--light-bg-2);
  border: 1px solid var(--light-line);
  border-radius: 14px;
  padding: 36px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
@media (max-width: 760px) { .stats-card { grid-template-columns: repeat(2, 1fr); } }
.stat-cell { text-align: left; padding-right: 16px; border-right: 1px solid var(--light-line); }
.stat-cell:last-child { border-right: none; padding-right: 0; }
.stat-cell .ico {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-deep);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px;
  margin-bottom: 10px;
}
.stat-cell .num {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.025em;
  line-height: 1;
}
.stat-cell .lbl {
  font-size: 12px;
  color: var(--ink-mute);
  margin-top: 6px;
  font-weight: 500;
}

.amc-card {
  border-radius: 14px;
  padding: 32px 30px;
  background: linear-gradient(135deg, var(--bg-1) 0%, var(--bg-2) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column;
  border: 1px solid var(--line-strong);
}
.amc-card .photo {
  position: absolute;
  right: -10%; top: 0;
  width: 60%; height: 100%;
  background-size: cover;
  background-position: center;
  opacity: .35;
  mask-image: linear-gradient(90deg, transparent, #000 50%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 50%);
}
.amc-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #fff;
  position: relative;
  z-index: 2;
}
.amc-card p {
  color: var(--text-mute);
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 24px;
  position: relative; z-index: 2;
  max-width: 56%;
}
.amc-card .btn { position: relative; z-index: 2; align-self: flex-start; }
@media (max-width: 600px) {
  .amc-card p { max-width: 100%; }
  .amc-card .photo { opacity: .15; }
}

/* ============================================================
   Recent projects (light section)
   ============================================================ */
.projects-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
@media (max-width: 1200px) { .projects-row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px)  { .projects-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px)  { .projects-row { grid-template-columns: 1fr; } }

.project-card {
  background: var(--light-bg-2);
  border: 1px solid var(--light-line);
  border-radius: 12px;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.project-card .thumb {
  aspect-ratio: 5 / 4;
  overflow: hidden;
}
.project-card .thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.project-card:hover .thumb img { transform: scale(1.05); }
.project-card .meta {
  padding: 14px 18px 18px;
}
.project-card .name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}
.project-card .place {
  font-size: 12.5px;
  color: var(--ink-dim);
  margin: 4px 0 0;
  letter-spacing: .01em;
}

/* ============================================================
   Service detail rows (services page)
   ============================================================ */
.service-row {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 70px;
  align-items: center;
  padding: 70px 0;
  border-bottom: 1px solid var(--line);
}
.service-row:last-child { border-bottom: none; }
.service-row.reverse { direction: rtl; }
.service-row.reverse > * { direction: ltr; }
.service-row .media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  border: 1px solid var(--line-strong);
  background: var(--bg-2);
}
.service-row .media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.85);
}
.service-row ul.feature-list {
  list-style: none; margin: 22px 0 0; padding: 0;
}
.service-row ul.feature-list li {
  position: relative;
  padding-left: 24px;
  margin: 10px 0;
  color: var(--text-mute);
  font-size: 15px;
}
.service-row ul.feature-list li::before {
  content: '';
  position: absolute; left: 0; top: 12px;
  width: 12px; height: 1px;
  background: var(--accent);
}
@media (max-width: 880px) {
  .service-row { grid-template-columns: 1fr; gap: 32px; padding: 48px 0; }
  .service-row.reverse { direction: ltr; }
}

/* ============================================================
   Cards (generic, dark theme)
   ============================================================ */
.grid {
  display: grid;
  gap: 22px;
}
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  padding: 32px 28px;
  border-radius: 12px;
  transition: border-color .2s, background .2s, transform .2s;
  display: flex;
  flex-direction: column;
}
.card:hover { border-color: var(--accent); transform: translateY(-3px); }
.card .ico {
  width: 50px; height: 50px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 20px;
  font-size: 22px;
}
.card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.card p { color: var(--text-mute); margin: 0; font-size: 14.5px; line-height: 1.6; }

/* Industries page tiles (uses industries-row above where applicable);
   keep older industries-grid alias for the dedicated /industries page */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.industry-tile {
  position: relative;
  padding: 30px 28px;
  background: var(--bg-1);
  transition: background .15s;
}
.industry-tile:hover { background: var(--bg-2); }
.industry-tile .ico {
  font-size: 18px;
  color: var(--accent);
  margin-bottom: 16px;
  display: inline-flex;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent-soft);
  align-items: center; justify-content: center;
}
.industry-tile h4 { font-size: 15.5px; margin: 0 0 6px; }
.industry-tile p  { font-size: 13.5px; color: var(--text-dim); margin: 0; line-height: 1.55; }

/* Process steps */
.process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  counter-reset: step;
}
.process-step {
  background: var(--bg-1);
  padding: 30px 28px;
  position: relative;
}
.process-step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-size: 20px;
  color: var(--accent);
  letter-spacing: .02em;
  font-weight: 800;
}
.process-step h4 { margin: 10px 0 6px; font-size: 1.02rem; }
.process-step p  { color: var(--text-mute); font-size: 14px; margin: 0; line-height: 1.6; }

/* ============================================================
   Forms
   ============================================================ */
.form-card {
  background: var(--bg-1);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 40px;
}
.form-card h2 { font-size: 1.6rem; margin-bottom: 6px; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 24px;
}
.form-grid .full { grid-column: 1 / -1; }

.form-label {
  display: block;
  font-size: 12.5px;
  letter-spacing: .02em;
  color: var(--text-mute);
  margin-bottom: 7px;
  font-weight: 600;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  background: rgba(6, 17, 49, .5);
  border: 1px solid var(--line);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  padding: 12px 14px;
  border-radius: 8px;
  transition: border-color .15s, background .15s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(6, 17, 49, .85);
}
.form-textarea { min-height: 130px; resize: vertical; }
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-dim); }
.honeypot { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

.flash-list {
  list-style: none; padding: 0; margin: 0 0 18px;
}
.flash-list li {
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 85, 114, 0.3);
  background: rgba(255, 85, 114, 0.08);
  color: #ffcfd6;
  font-size: 14px;
  margin-bottom: 8px;
}

/* ============================================================
   Client logos (about page wall)
   ============================================================ */
.clients-section { padding: 90px 0; background: var(--light-bg); }
.clients-section h2, .clients-section .section-eyebrow { color: var(--ink); }
.clients-section .section-eyebrow { color: var(--accent-deep); }
.clients-section .lead { color: var(--ink-mute); }

.client-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}
.client-tile {
  background: #ffffff;
  border: 1px solid var(--light-line);
  border-radius: 10px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.client-tile img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.client-tile:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 12px 24px -16px rgba(0, 184, 255, .4);
}

/* Client marquee on home (light bg variant) */
.marquee {
  overflow: hidden;
  position: relative;
  margin: 0;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track {
  display: flex; gap: 18px;
  width: max-content;
  animation: scroll 90s linear infinite;
  align-items: stretch;
  padding: 6px 0;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee.reverse .marquee-track { animation-direction: reverse; animation-duration: 75s; }
@keyframes scroll { to { transform: translateX(-50%); } }
.marquee .client-tile { flex: 0 0 170px; }

/* ============================================================
   CTA banner
   ============================================================ */
.cta-banner {
  margin: 0 auto;
  text-align: center;
  padding: 80px 40px;
  border-radius: 14px;
  background: var(--bg-1);
  border: 1px solid var(--line-strong);
}
.cta-banner h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 14px; }
.cta-banner .lead { margin: 0 auto 32px; }

/* ============================================================
   Right-edge floating contact rail
   ============================================================ */
.contact-rail {
  position: fixed;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 998;
  display: flex; flex-direction: column; gap: 10px;
}
.contact-rail a {
  display: flex; flex-direction: column; align-items: center;
  gap: 4px;
  padding: 12px 8px;
  width: 60px;
  background: rgba(15, 36, 85, .92);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--text);
  font-size: 9.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 700;
  backdrop-filter: blur(8px);
  transition: background .15s, border-color .15s, color .15s, transform .15s;
}
.contact-rail a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateX(-4px);
}
.contact-rail a i { font-size: 18px; color: var(--accent); transition: color .15s; }
.contact-rail a:hover i { color: #fff; }
@media (max-width: 760px) {
  .contact-rail { display: none; }
}

/* ============================================================
   Footer
   ============================================================ */
.sc-footer {
  border-top: 1px solid var(--line);
  background: #04091f;
  padding: 70px 0 30px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1fr 1.1fr 1.1fr;
  gap: 40px;
  margin-bottom: 50px;
}
@media (max-width: 980px)  { .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 540px)  { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h5 {
  font-size: 13px;
  color: var(--accent);
  margin: 0 0 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.footer-grid ul {
  list-style: none; padding: 0; margin: 0;
}
.footer-grid ul li { margin: 9px 0; }
.footer-grid ul a {
  color: var(--text-mute);
  font-size: 14px;
}
.footer-grid ul a:hover { color: var(--accent); }
.footer-brand p { color: var(--text-mute); font-size: 14px; max-width: 320px; line-height: 1.6; }
.footer-brand .brand-line { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand img { height: 40px; }
.footer-brand .brand-line .b-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.01em;
}
.footer-brand .brand-line .b-tag {
  display: block;
  font-size: 8.5px;
  letter-spacing: .25em;
  color: var(--accent);
  text-transform: uppercase;
  margin-top: 2px;
  font-weight: 700;
}
.footer-social { display: flex; gap: 8px; margin-top: 18px; }
.footer-social a {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  color: var(--text-mute);
  font-size: 15px;
  transition: all .15s;
}
.footer-social a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.footer-contact-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--text-mute); font-size: 14px; }
.footer-contact-list i { color: var(--accent); font-size: 15px; margin-top: 3px; }
.footer-contact-list a { color: var(--text-mute); }
.footer-contact-list a:hover { color: var(--accent); }

.footer-cta {
  background: var(--bg-1);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 24px 22px;
}
.footer-cta h5 { margin-bottom: 8px; }
.footer-cta p { color: var(--text-mute); font-size: 13.5px; margin: 0 0 16px; line-height: 1.55; }

.footer-bottom {
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 14px;
  color: var(--text-dim);
  font-size: 13px;
}

/* ============================================================
   Reveal-on-scroll — content is ALWAYS visible. Animation is a
   subtle "fade-up" applied only after the .in class is added.
   No page can ever be blank if JS fails or is slow.
   ============================================================ */
.reveal { opacity: 1; transform: none; transition: opacity .5s ease, transform .5s ease; }
.reveal[data-delay="100"] { transition-delay: .08s; }
.reveal[data-delay="200"] { transition-delay: .16s; }
.reveal[data-delay="300"] { transition-delay: .24s; }
.reveal[data-delay="400"] { transition-delay: .32s; }

/* ============================================================
   Utilities
   ============================================================ */
.text-mute { color: var(--text-mute); }
.text-dim  { color: var(--text-dim); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 36px; }
.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: 36px; }
.row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.row-center { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; align-items: center; }
.divider { height: 1px; background: var(--line); margin: 60px 0; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11.5px;
  letter-spacing: .04em;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid var(--line-strong);
  font-weight: 700;
}

/* Trust strip retained for /services if needed */
.trust-strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 28px 44px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-strip .label {
  font-size: 11.5px; letter-spacing: .15em; text-transform: uppercase;
  color: var(--text-dim); font-weight: 600;
}
.trust-strip .name { font-size: 1.05rem; color: var(--text-mute); font-weight: 700; }

/* Job listings */
.job-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px 28px;
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 18px;
  transition: background .15s, border-color .15s;
}
.job-card:hover { border-color: var(--accent); background: var(--bg-2); }
.job-card h4 { margin: 0 0 6px; font-size: 1.1rem; }
.job-meta { color: var(--text-dim); font-size: 13.5px; }
.job-card .apply-btn { white-space: nowrap; }
@media (max-width: 600px) { .job-card { flex-direction: column; } }

/* Floating WhatsApp (mobile only — replaced by rail on desktop) */
.fab-wa {
  position: fixed;
  bottom: 24px; right: 18px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 25px;
  text-decoration: none;
  z-index: 999;
  box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .55);
  transition: transform .15s;
}
.fab-wa:hover { color: #fff; transform: scale(1.08); }
@media (min-width: 761px) { .fab-wa { display: none; } }

/* ============================================================
   Responsive tweaks
   ============================================================ */
@media (max-width: 640px) {
  .form-card { padding: 26px; }
  .card { padding: 26px 22px; }
  .hero { padding: 30px 0; }
  .cta-banner { padding: 50px 26px; }
  section { padding: 60px 0; }
  .stats-card { padding: 24px; }
}
