/* ==========================================================================
   NETLOGIC — Enterprise IT Infrastructure & Managed Services
   Design System & Global Stylesheet
   --------------------------------------------------------------------------
   TABLE OF CONTENTS
   01. Design Tokens (Custom Properties)
   02. Reset & Base
   03. Typography
   04. Layout Primitives (container, grid, section)
   05. Buttons & Links
   06. Navigation (header, mega menu, mobile)
   07. Hero
   08. Trust Bar
   09. Stats / Counters
   10. Cards (feature, service, industry, tech, glass)
   11. Featured Project / Before-After
   12. Testimonials Slider
   13. Process Timeline
   14. FAQ Accordion
   15. CTA Band
   16. Page Hero (inner pages)
   17. Service Detail
   18. Case Studies
   19. Blog
   20. About
   21. Contact
   22. Footer
   23. Floating Actions (WhatsApp, back-to-top)
   24. Preloader & Scroll Reveal
   25. Utilities
   26. Accessibility & Motion Preferences
   27. Responsive Breakpoints
   ========================================================================== */

/* ==========================================================================
   01. DESIGN TOKENS
   ========================================================================== */
:root {
  /* Surfaces — deep slate, never pure black */
  --bg-0: #060a13;
  --bg-1: #0a1020;
  --bg-2: #0d1526;
  --surface: #101a2e;
  --surface-2: #14203a;
  --surface-glass: rgba(16, 26, 46, 0.62);

  /* Strokes */
  --border: rgba(148, 163, 184, 0.14);
  --border-strong: rgba(148, 163, 184, 0.26);

  /* Ink */
  --text: #e8eef8;
  --text-soft: #b7c3d6;
  --muted: #8494ac;
  --faint: #5c6b84;

  /* Brand */
  --accent: #3e8bff;
  --accent-strong: #2f6fe0;
  --accent-soft: rgba(62, 139, 255, 0.12);
  --cyan: #37d0ee;
  --green: #34d399;
  --amber: #fbbf24;

  --gradient-brand: linear-gradient(120deg, #3e8bff 0%, #37d0ee 100%);
  --gradient-text: linear-gradient(105deg, #dbe7ff 20%, #6aa5ff 60%, #37d0ee 100%);

  /* Type */
  --font-display: "Sora", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  /* Rhythm */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --section-pad: clamp(4.5rem, 9vw, 7.5rem);
  --container: 1200px;

  /* Elevation */
  --shadow-1: 0 1px 2px rgba(2, 6, 16, 0.5), 0 8px 24px rgba(2, 6, 16, 0.35);
  --shadow-2: 0 2px 6px rgba(2, 6, 16, 0.55), 0 18px 48px rgba(2, 6, 16, 0.5);
  --glow-accent: 0 0 0 1px rgba(62, 139, 255, 0.35), 0 8px 32px rgba(62, 139, 255, 0.25);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --speed: 0.35s;

  color-scheme: dark;
}

/* ==========================================================================
   02. RESET & BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-soft);
  background: var(--bg-0);
  overflow-x: hidden;
  min-height: 100vh;
}

/* Ambient background: subtle radial glows + grid, enterprise not neon */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(62, 139, 255, 0.10), transparent 62%),
    radial-gradient(700px 420px at -10% 25%, rgba(55, 208, 238, 0.05), transparent 60%),
    var(--bg-0);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, black 10%, transparent 75%);
  pointer-events: none;
}

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

::selection { background: rgba(62, 139, 255, 0.35); color: #fff; }

/* ==========================================================================
   03. TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 600;
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); font-weight: 700; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
h4 { font-size: 1.1rem; }

p { max-width: 68ch; }

a { color: var(--accent); text-decoration: none; transition: color var(--speed) var(--ease); }
a:hover { color: #7cb2ff; }

strong { color: var(--text); font-weight: 600; }
code, kbd { font-family: var(--font-mono); font-size: 0.9em; }

.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Eyebrow label above section headings */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--gradient-brand);
}

.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { margin-top: 1rem; font-size: 1.1rem; color: var(--muted); }
.section-head.center p { margin-inline: auto; }

/* ==========================================================================
   04. LAYOUT PRIMITIVES
   ========================================================================== */
.container { width: min(var(--container), 100% - 2.5rem); margin-inline: auto; }
.section { padding-block: var(--section-pad); position: relative; }
.section-tint { background: linear-gradient(180deg, transparent, rgba(13, 21, 38, 0.65) 18%, rgba(13, 21, 38, 0.65) 82%, transparent); }

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ==========================================================================
   05. BUTTONS & LINKS
   ========================================================================== */
.btn {
  --btn-bg: var(--surface);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.7rem;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--btn-bg);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease),
              border-color var(--speed) var(--ease), background var(--speed) var(--ease);
}
.btn svg { width: 17px; height: 17px; transition: transform var(--speed) var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.btn-primary {
  border: none;
  background: linear-gradient(120deg, #3e8bff, #2f6fe0 55%, #37d0ee 130%);
  background-size: 160% 100%;
  color: #fff;
  box-shadow: 0 4px 18px rgba(62, 139, 255, 0.30);
}
.btn-primary:hover { background-position: 90% 0; box-shadow: 0 8px 28px rgba(62, 139, 255, 0.42); color: #fff; }

.btn-ghost { background: transparent; }
.btn-ghost:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--text); }

.btn-lg { padding: 1.05rem 2.2rem; font-size: 1.02rem; border-radius: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-weight: 600; font-size: 0.95rem; color: var(--accent);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--speed) var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ==========================================================================
   06. NAVIGATION
   ========================================================================== */
.skip-link {
  position: absolute; top: -48px; left: 1rem; z-index: 200;
  padding: 0.6rem 1.1rem; border-radius: 0 0 8px 8px;
  background: var(--accent); color: #fff; font-weight: 600;
  transition: top 0.25s var(--ease);
}
.skip-link:focus { top: 0; color: #fff; }

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background var(--speed) var(--ease), border-color var(--speed) var(--ease),
              box-shadow var(--speed) var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(7, 11, 20, 0.82);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom-color: var(--border);
  box-shadow: 0 8px 32px rgba(2, 6, 16, 0.45);
}

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; height: 76px;
}

/* Brand lockup */
.brand { display: inline-flex; align-items: center; gap: 0.7rem; }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-name {
  font-family: var(--font-display); font-weight: 700; font-size: 1.28rem;
  color: var(--text); letter-spacing: -0.02em;
}
.brand-name span { color: var(--accent); }

.nav-menu { display: flex; align-items: center; gap: 0.35rem; list-style: none; }
.nav-menu > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.55rem 0.95rem; border-radius: 8px;
  color: var(--text-soft); font-weight: 500; font-size: 0.95rem;
  transition: color var(--speed) var(--ease), background var(--speed) var(--ease);
  background: none; border: none; cursor: pointer; font-family: inherit;
}
.nav-link:hover, .nav-link[aria-expanded="true"], .nav-link.is-active {
  color: var(--text); background: rgba(148, 163, 184, 0.08);
}
.nav-link.is-active { color: var(--accent); }
.nav-link .chev { width: 13px; height: 13px; transition: transform var(--speed) var(--ease); }
.nav-link[aria-expanded="true"] .chev { transform: rotate(180deg); }

/* Mega menu */
.mega {
  position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: min(860px, calc(100vw - 3rem));
  background: rgba(13, 21, 38, 0.96);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
  padding: 1.6rem;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
}
.mega.is-open {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.4rem 1.4rem; }
.mega-col-title {
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--faint);
  padding: 0.4rem 0.75rem 0.55rem; grid-column: span 1;
}
.mega-item {
  display: flex; gap: 0.8rem; align-items: flex-start;
  padding: 0.72rem 0.75rem; border-radius: 10px;
  transition: background var(--speed) var(--ease);
}
.mega-item:hover { background: rgba(62, 139, 255, 0.08); }
.mega-item .mi-icon {
  width: 34px; height: 34px; flex: none;
  display: grid; place-items: center;
  border-radius: 8px; background: var(--accent-soft);
  border: 1px solid rgba(62, 139, 255, 0.22);
  color: var(--accent);
}
.mega-item .mi-icon svg { width: 17px; height: 17px; }
.mega-item strong { display: block; font-size: 0.9rem; color: var(--text); font-weight: 600; line-height: 1.35; }
.mega-item small { display: block; font-size: 0.78rem; color: var(--muted); line-height: 1.45; margin-top: 1px; }
.mega-footer {
  margin-top: 1.1rem; padding-top: 1.1rem;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.mega-footer p { font-size: 0.88rem; color: var(--muted); }

.nav-actions { display: flex; align-items: center; gap: 0.9rem; }

/* Mobile toggle */
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0 10px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  height: 2px; border-radius: 2px; background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   07. HERO
   ========================================================================== */
.hero {
  padding-top: clamp(9rem, 16vh, 11.5rem);
  padding-bottom: clamp(4rem, 8vw, 6.5rem);
  position: relative;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.42rem 1rem 0.42rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(16, 26, 46, 0.6);
  font-size: 0.83rem; font-weight: 500; color: var(--text-soft);
  margin-bottom: 1.6rem;
}
.hero-badge .dot {
  width: 22px; height: 22px; border-radius: 999px;
  display: grid; place-items: center;
  background: rgba(52, 211, 153, 0.14);
}
.hero-badge .dot::after {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55);
  animation: pulse-dot 2.4s infinite;
}
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5); }
  70% { box-shadow: 0 0 0 7px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.hero h1 { margin-bottom: 1.4rem; }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 56ch; margin-bottom: 2.2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.4rem; }

.hero-points { display: flex; flex-wrap: wrap; gap: 1.4rem; list-style: none; }
.hero-points li {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.9rem; color: var(--muted);
}
.hero-points svg { width: 16px; height: 16px; color: var(--green); flex: none; }

.hero-visual { position: relative; }
.hero-visual .glowbox {
  position: absolute; inset: 8% -6% -4% -6%;
  background: radial-gradient(closest-side, rgba(62, 139, 255, 0.16), transparent 72%);
  z-index: -1; filter: blur(8px);
}

/* ==========================================================================
   08. TRUST BAR
   ========================================================================== */
.trustbar { padding-block: 2.4rem; border-block: 1px solid var(--border); background: rgba(10, 16, 32, 0.55); }
.trustbar-label {
  text-align: center; font-family: var(--font-mono); font-size: 0.72rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint);
  margin-bottom: 1.5rem;
}
.trustbar-track { overflow: hidden; mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent); }
.trustbar-row { display: flex; gap: 3.5rem; width: max-content; animation: marquee 36s linear infinite; }
.trustbar-track:hover .trustbar-row { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.trust-logo {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1.02rem;
  color: var(--faint); white-space: nowrap;
  transition: color var(--speed) var(--ease);
}
.trust-logo:hover { color: var(--text-soft); }
.trust-logo svg { width: 22px; height: 22px; }

/* Client marquee — same mechanics, opposite direction, richer lockups.
   Rendered from /content/clients/*.json (row is duplicated by content.js).
   Sits directly under the hero as the primary social-proof band. */
.clientbar { padding-block: 2.6rem; }
.clientbar .trustbar-label { font-size: 0.72rem; font-weight: 500; }
.clientbar .trustbar-row { animation: marquee-rev 42s linear infinite; gap: 1.1rem; }
@keyframes marquee-rev { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.client-logo {
  display: inline-flex; align-items: center; gap: 0.85rem;
  padding: 0.85rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  white-space: nowrap;
  transition: border-color var(--speed) var(--ease), transform var(--speed) var(--ease);
}
a.client-logo:hover { border-color: rgba(62, 139, 255, 0.4); transform: translateY(-2px); }
.client-logo > svg { width: 26px; height: 26px; color: var(--accent); opacity: 0.8; flex: none; }
.client-logo img {
  height: 30px; width: auto; max-width: 140px; object-fit: contain;
  /* Neutralize colored logos on the dark surface; full color on hover */
  filter: grayscale(1) brightness(1.6) contrast(0.9); opacity: 0.75;
  transition: filter var(--speed) var(--ease), opacity var(--speed) var(--ease);
}
.client-logo:hover img { filter: none; opacity: 1; }
.cl-text { display: flex; flex-direction: column; line-height: 1.25; }
.cl-name {
  font-family: var(--font-display); font-weight: 600; font-size: 0.98rem;
  color: var(--text-soft); letter-spacing: -0.01em;
}
.cl-industry {
  font-family: var(--font-mono); font-size: 0.64rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint);
}
@media (prefers-reduced-motion: reduce) {
  .clientbar .trustbar-row { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}

/* ==========================================================================
   09. STATS / COUNTERS
   ========================================================================== */
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; }
.stat-card {
  text-align: center; padding: 2rem 1.2rem;
  background: linear-gradient(160deg, var(--surface), rgba(16, 26, 46, 0.4));
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  transition: transform var(--speed) var(--ease), border-color var(--speed) var(--ease);
}
.stat-card:hover { transform: translateY(-4px); border-color: rgba(62, 139, 255, 0.4); }
.stat-value {
  font-family: var(--font-display); font-size: clamp(2rem, 3.4vw, 2.7rem);
  font-weight: 700; letter-spacing: -0.02em;
  background: var(--gradient-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label { margin-top: 0.35rem; font-size: 0.88rem; color: var(--muted); }

/* ==========================================================================
   10. CARDS
   ========================================================================== */
.card {
  position: relative;
  background: linear-gradient(165deg, var(--surface), rgba(13, 21, 38, 0.55));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.9rem;
  transition: transform var(--speed) var(--ease), border-color var(--speed) var(--ease),
              box-shadow var(--speed) var(--ease);
  overflow: hidden;
}
.card::before {
  /* top highlight line, revealed on hover */
  content: "";
  position: absolute; top: 0; left: 12%; right: 12%; height: 1px;
  background: var(--gradient-brand);
  opacity: 0; transition: opacity var(--speed) var(--ease);
}
.card:hover { transform: translateY(-5px); border-color: rgba(62, 139, 255, 0.35); box-shadow: var(--shadow-2); }
.card:hover::before { opacity: 1; }

.card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--accent-soft);
  border: 1px solid rgba(62, 139, 255, 0.25);
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.card-icon svg { width: 23px; height: 23px; }
.card h3 { margin-bottom: 0.6rem; }
.card p { font-size: 0.95rem; color: var(--muted); }

/* Glassmorphism variant — used sparingly over visuals */
.card-glass {
  background: var(--surface-glass);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

/* Service cards (home + services hub) */
.service-card { display: flex; flex-direction: column; min-height: 100%; }
.service-card .card-body { flex: 1; }
.service-card .link-arrow { margin-top: 1.4rem; }
.service-card .tag-row { margin-top: 1.1rem; }

.tag-row { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.tag {
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.02em;
  padding: 0.28rem 0.65rem; border-radius: 999px;
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid var(--border);
  color: var(--muted); white-space: nowrap;
}

/* Industry chips */
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.industry-card {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.3rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
  transition: transform var(--speed) var(--ease), border-color var(--speed) var(--ease), background var(--speed) var(--ease);
}
.industry-card:hover { transform: translateY(-3px); border-color: rgba(62, 139, 255, 0.4); background: var(--surface-2); }
.industry-card .card-icon { width: 42px; height: 42px; margin: 0; border-radius: 10px; }
.industry-card .card-icon svg { width: 20px; height: 20px; }
.industry-card strong { display: block; font-size: 0.98rem; color: var(--text); }
.industry-card small { font-size: 0.8rem; color: var(--muted); }

/* Technology stack grid */
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.tech-card {
  display: flex; gap: 1.1rem; align-items: flex-start;
  padding: 1.5rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  transition: transform var(--speed) var(--ease), border-color var(--speed) var(--ease);
}
.tech-card:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.tech-card .card-icon { margin: 0; width: 44px; height: 44px; flex: none; }
.tech-card h4 { font-size: 1rem; margin-bottom: 0.25rem; display: flex; align-items: center; gap: 0.55rem; flex-wrap: wrap; }
.tech-card p { font-size: 0.88rem; color: var(--muted); }
.tech-role {
  font-family: var(--font-mono); font-size: 0.62rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.18rem 0.5rem; border-radius: 5px;
  background: var(--accent-soft); color: var(--accent);
  border: 1px solid rgba(62, 139, 255, 0.22);
}

/* ==========================================================================
   11. FEATURED PROJECT / BEFORE-AFTER
   ========================================================================== */
.featured-project {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 4.5vw, 4rem);
  padding: clamp(1.8rem, 4vw, 3.2rem);
  background: linear-gradient(150deg, var(--surface), rgba(10, 16, 32, 0.7));
  border: 1px solid var(--border); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-1);
}
.fp-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.4rem; }
.fp-block { margin-bottom: 1.5rem; }
.fp-block h4 {
  display: flex; align-items: center; gap: 0.55rem;
  font-size: 0.82rem; font-family: var(--font-mono); font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 0.5rem;
}
.fp-block h4 svg { width: 15px; height: 15px; }
.fp-block p { font-size: 0.97rem; color: var(--text-soft); }

.before-after { display: grid; gap: 1rem; align-content: start; }
.ba-card { padding: 1.4rem 1.5rem; border-radius: var(--radius); border: 1px solid var(--border); }
.ba-card.before { background: rgba(248, 113, 113, 0.05); border-color: rgba(248, 113, 113, 0.18); }
.ba-card.after { background: rgba(52, 211, 153, 0.05); border-color: rgba(52, 211, 153, 0.2); }
.ba-card h5 {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.12em;
  text-transform: uppercase; margin-bottom: 0.8rem;
}
.ba-card.before h5 { color: #f87171; }
.ba-card.after h5 { color: var(--green); }
.ba-card ul { list-style: none; display: grid; gap: 0.5rem; }
.ba-card li { display: flex; gap: 0.6rem; font-size: 0.9rem; color: var(--text-soft); }
.ba-card li svg { width: 15px; height: 15px; flex: none; margin-top: 5px; }
.ba-card.before li svg { color: #f87171; }
.ba-card.after li svg { color: var(--green); }

/* ==========================================================================
   12. TESTIMONIALS SLIDER
   ========================================================================== */
.slider { position: relative; overflow: hidden; }
.slider-track { display: flex; transition: transform 0.55s var(--ease); }
.slide { flex: 0 0 100%; padding-inline: 0.25rem; }

.testimonial-card {
  max-width: 780px; margin-inline: auto;
  padding: clamp(1.8rem, 4vw, 2.8rem);
  background: var(--surface-glass);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  text-align: center;
}
.testimonial-card .quote-mark { width: 34px; height: 34px; margin: 0 auto 1.2rem; color: var(--accent); opacity: 0.85; }
.testimonial-card blockquote { font-size: clamp(1.05rem, 1.8vw, 1.25rem); line-height: 1.65; color: var(--text); font-weight: 450; }
.testimonial-card blockquote p { margin-inline: auto; }
.t-author { margin-top: 1.6rem; display: flex; flex-direction: column; align-items: center; gap: 0.15rem; }
.t-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 0.6rem;
  background: var(--gradient-brand);
  color: #06101f; font-weight: 700; font-family: var(--font-display); font-size: 0.95rem;
}
.t-author strong { color: var(--text); font-size: 0.98rem; }
.t-author span { font-size: 0.85rem; color: var(--muted); }
.t-stars { display: inline-flex; gap: 2px; margin-top: 0.5rem; color: var(--amber); }
.t-stars svg { width: 15px; height: 15px; }

.slider-nav { display: flex; justify-content: center; align-items: center; gap: 1.1rem; margin-top: 2rem; }
.slider-btn {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--border-strong);
  color: var(--text-soft); cursor: pointer;
  transition: all var(--speed) var(--ease);
}
.slider-btn:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.slider-btn svg { width: 17px; height: 17px; }
.slider-dots { display: flex; gap: 0.5rem; }
.slider-dot {
  width: 8px; height: 8px; border-radius: 99px; border: none; padding: 0;
  background: rgba(148, 163, 184, 0.28); cursor: pointer;
  transition: all var(--speed) var(--ease);
}
.slider-dot.is-active { width: 26px; background: var(--accent); }

/* ==========================================================================
   13. PROCESS TIMELINE
   ========================================================================== */
.timeline { position: relative; display: grid; gap: 0; max-width: 860px; margin-inline: auto; }
.timeline::before {
  content: ""; position: absolute; left: 27px; top: 14px; bottom: 14px; width: 2px;
  background: linear-gradient(180deg, rgba(62, 139, 255, 0.55), rgba(55, 208, 238, 0.3) 60%, transparent);
}
.tl-step { position: relative; display: flex; gap: 1.8rem; padding: 0 0 2.6rem 0; }
.tl-step:last-child { padding-bottom: 0; }
.tl-marker {
  position: relative; z-index: 1; flex: none;
  width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center;
  background: var(--surface-2);
  border: 1px solid rgba(62, 139, 255, 0.35);
  color: var(--accent);
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  box-shadow: 0 0 0 6px var(--bg-0);
}
.tl-body { padding-top: 0.45rem; }
.tl-body h3 { margin-bottom: 0.45rem; display: flex; align-items: baseline; gap: 0.7rem; flex-wrap: wrap; }
.tl-body .tl-dur { font-family: var(--font-mono); font-size: 0.72rem; color: var(--faint); letter-spacing: 0.06em; }
.tl-body p { font-size: 0.97rem; color: var(--muted); }

/* ==========================================================================
   14. FAQ ACCORDION
   ========================================================================== */
.faq-list { max-width: 820px; margin-inline: auto; display: grid; gap: 0.9rem; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: border-color var(--speed) var(--ease);
}
.faq-item.is-open { border-color: rgba(62, 139, 255, 0.4); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1.2rem;
  padding: 1.2rem 1.5rem; background: none; border: none; cursor: pointer;
  font-family: var(--font-display); font-size: 1.02rem; font-weight: 600;
  color: var(--text); text-align: left; line-height: 1.4;
}
.faq-q .faq-icon {
  flex: none; width: 30px; height: 30px; border-radius: 8px;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
  transition: transform 0.35s var(--ease), background var(--speed) var(--ease);
}
.faq-q .faq-icon svg { width: 15px; height: 15px; }
.faq-item.is-open .faq-icon { transform: rotate(45deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 1.5rem 1.3rem; font-size: 0.96rem; color: var(--muted); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }

/* ==========================================================================
   15. CTA BAND
   ========================================================================== */
.cta-band {
  position: relative; overflow: hidden;
  padding: clamp(3rem, 6vw, 5rem);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(62, 139, 255, 0.3);
  background:
    radial-gradient(720px 320px at 15% -20%, rgba(62, 139, 255, 0.22), transparent 60%),
    radial-gradient(600px 300px at 95% 130%, rgba(55, 208, 238, 0.14), transparent 60%),
    linear-gradient(150deg, #0e1a33, #0a1020);
  text-align: center;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse at center, black, transparent 78%);
  pointer-events: none;
}
.cta-band > * { position: relative; }
.cta-band h2 { max-width: 640px; margin-inline: auto; }
.cta-band p { max-width: 560px; margin: 1.1rem auto 2.2rem; color: var(--muted); font-size: 1.08rem; }
.cta-band .hero-ctas { justify-content: center; margin-bottom: 1.6rem; }
.cta-note { font-size: 0.85rem !important; color: var(--faint) !important; margin: 0 auto !important; }

/* ==========================================================================
   16. PAGE HERO (inner pages)
   ========================================================================== */
.page-hero {
  padding-top: clamp(8.5rem, 15vh, 10.5rem);
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
}
.breadcrumbs {
  display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem;
  list-style: none; margin-bottom: 1.4rem;
  font-size: 0.85rem; color: var(--faint);
}
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 0.5rem; color: var(--faint); }
.breadcrumbs [aria-current] { color: var(--text-soft); }
.page-hero h1 { max-width: 18ch; margin-bottom: 1.2rem; }
.page-hero .lede { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--muted); max-width: 60ch; }

/* ==========================================================================
   17. SERVICE DETAIL
   ========================================================================== */
.service-layout { display: grid; grid-template-columns: 1fr 320px; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.service-content > section { margin-bottom: clamp(2.5rem, 4vw, 3.5rem); }
.service-content h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-bottom: 1.2rem; }

.benefit-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; list-style: none; }
.benefit-list li {
  display: flex; gap: 0.9rem;
  padding: 1.2rem 1.3rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
}
.benefit-list svg { width: 20px; height: 20px; color: var(--green); flex: none; margin-top: 3px; }
.benefit-list strong { display: block; color: var(--text); font-size: 0.98rem; margin-bottom: 0.15rem; }
.benefit-list p { font-size: 0.88rem; color: var(--muted); }

.feature-list { list-style: none; display: grid; gap: 0.7rem; }
.feature-list li { display: flex; gap: 0.75rem; font-size: 0.98rem; color: var(--text-soft); }
.feature-list svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 4px; }

.service-aside { position: sticky; top: 100px; display: grid; gap: 1.25rem; }
.aside-card {
  padding: 1.6rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.aside-card h3 { font-size: 1.05rem; margin-bottom: 1rem; }
.aside-card .btn { width: 100%; margin-top: 0.4rem; }
.aside-links { list-style: none; display: grid; gap: 0.15rem; }
.aside-links a {
  display: flex; align-items: center; justify-content: space-between; gap: 0.6rem;
  padding: 0.6rem 0.7rem; border-radius: 8px;
  font-size: 0.9rem; color: var(--text-soft);
}
.aside-links a:hover { background: rgba(62, 139, 255, 0.08); color: var(--text); }
.aside-links a.is-active { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.aside-links svg { width: 14px; height: 14px; flex: none; opacity: 0.6; }

/* ==========================================================================
   18. CASE STUDIES
   ========================================================================== */
.cs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.cs-card { display: flex; flex-direction: column; }
.cs-card .cs-industry {
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--cyan); margin-bottom: 0.8rem;
}
.cs-card h3 { font-size: 1.2rem; }
.cs-card .cs-summary { flex: 1; margin: 0.7rem 0 1.2rem; }
.cs-results { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; margin-bottom: 1.3rem; }
.cs-result {
  padding: 0.75rem 0.9rem; border-radius: 10px;
  background: rgba(52, 211, 153, 0.06); border: 1px solid rgba(52, 211, 153, 0.16);
}
.cs-result strong { display: block; font-family: var(--font-display); font-size: 1.05rem; color: var(--green); }
.cs-result span { font-size: 0.75rem; color: var(--muted); line-height: 1.3; display: block; }

/* Case study article */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.article-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.2rem; }

/* Rich text (markdown output) */
.prose { font-size: 1.03rem; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 {
  font-size: clamp(1.45rem, 2.2vw, 1.8rem);
  margin-top: 2.2em; padding-top: 1.4em;
  border-top: 1px solid var(--border);
}
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.prose h3 { font-size: 1.25rem; margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.4rem; display: grid; gap: 0.45rem; }
.prose li::marker { color: var(--accent); }
.prose blockquote {
  padding: 1.1rem 1.5rem; border-left: 3px solid var(--accent);
  background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text); font-style: italic;
}
.prose code {
  background: rgba(148, 163, 184, 0.12); border: 1px solid var(--border);
  padding: 0.12em 0.42em; border-radius: 6px; font-size: 0.86em; color: var(--cyan);
}
.prose pre {
  background: #0a0f1c; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.3rem 1.5rem; overflow-x: auto; font-size: 0.86rem; line-height: 1.65;
}
.prose pre code { background: none; border: none; padding: 0; color: var(--text-soft); }
.prose img { border-radius: var(--radius); border: 1px solid var(--border); }
.prose hr { border: none; height: 1px; background: var(--border); }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.prose th, .prose td { text-align: left; padding: 0.65rem 0.9rem; border: 1px solid var(--border); }
.prose th { background: var(--surface); color: var(--text); font-family: var(--font-display); font-size: 0.85rem; }

/* ==========================================================================
   19. BLOG
   ========================================================================== */
.blog-toolbar {
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center;
  justify-content: space-between; margin-bottom: 2.5rem;
}
.blog-cats { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  padding: 0.45rem 1.05rem; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text-soft); font-size: 0.86rem; font-weight: 500;
  cursor: pointer; font-family: inherit;
  transition: all var(--speed) var(--ease);
}
.chip:hover { border-color: var(--accent); color: var(--text); }
.chip.is-active { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }

.search-box { position: relative; min-width: 260px; }
.search-box svg {
  position: absolute; left: 0.95rem; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; color: var(--faint); pointer-events: none;
}
.search-box input {
  width: 100%; padding: 0.7rem 1rem 0.7rem 2.6rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  color: var(--text); font-family: inherit; font-size: 0.92rem;
  transition: border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.search-box input::placeholder { color: var(--faint); }
.search-box input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(62, 139, 255, 0.18); }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.post-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.post-cover {
  height: 170px; position: relative; overflow: hidden;
  background:
    radial-gradient(220px 130px at 78% 18%, rgba(62, 139, 255, 0.28), transparent 65%),
    radial-gradient(200px 130px at 15% 90%, rgba(55, 208, 238, 0.18), transparent 60%),
    var(--bg-2);
  border-bottom: 1px solid var(--border);
  display: grid; place-items: center;
}
.post-cover svg { width: 52px; height: 52px; color: rgba(62, 139, 255, 0.6); }
.post-card .post-body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; align-items: center; gap: 0.7rem; font-size: 0.78rem; color: var(--faint); margin-bottom: 0.7rem; }
.post-meta .cat { color: var(--cyan); font-weight: 600; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; }
.post-card h3 { font-size: 1.13rem; line-height: 1.4; }
.post-card h3 a { color: var(--text); }
.post-card h3 a:hover { color: var(--accent); }
.post-card .post-excerpt { flex: 1; font-size: 0.9rem; margin: 0.6rem 0 1.2rem; }
.empty-state { text-align: center; padding: 4rem 1rem; color: var(--muted); }

/* ==========================================================================
   20. ABOUT
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
.mv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.founder-card {
  display: grid; grid-template-columns: 300px 1fr; gap: clamp(1.8rem, 4vw, 3rem);
  padding: clamp(1.8rem, 4vw, 3rem);
  background: linear-gradient(150deg, var(--surface), rgba(10, 16, 32, 0.7));
  border: 1px solid var(--border); border-radius: var(--radius-xl);
  align-items: center;
}
.founder-photo {
  aspect-ratio: 1; border-radius: var(--radius-lg);
  background:
    radial-gradient(200px 200px at 70% 20%, rgba(62, 139, 255, 0.25), transparent 60%),
    var(--bg-2);
  border: 1px solid var(--border);
  display: grid; place-items: center; overflow: hidden;
}
.founder-photo svg { width: 40%; height: 40%; color: rgba(62, 139, 255, 0.5); }
.founder-role { color: var(--accent); font-weight: 600; font-size: 0.92rem; margin-bottom: 1rem; display: block; }

.history { position: relative; max-width: 760px; margin-inline: auto; }
.history::before {
  content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(180deg, rgba(62, 139, 255, 0.5), transparent);
}
.history-item { position: relative; padding: 0 0 2.2rem 2.6rem; }
.history-item:last-child { padding-bottom: 0; }
.history-item::before {
  content: ""; position: absolute; left: 2px; top: 8px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--bg-0); border: 3px solid var(--accent);
}
.history-item .year { font-family: var(--font-mono); font-size: 0.8rem; color: var(--cyan); letter-spacing: 0.08em; }
.history-item h3 { font-size: 1.15rem; margin: 0.3rem 0 0.4rem; }
.history-item p { font-size: 0.95rem; color: var(--muted); }

/* ==========================================================================
   21. CONTACT
   ========================================================================== */
.contact-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.contact-channels { display: grid; gap: 1rem; }
.channel-card {
  display: flex; gap: 1.1rem; align-items: flex-start;
  padding: 1.4rem 1.5rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  transition: border-color var(--speed) var(--ease), transform var(--speed) var(--ease);
}
.channel-card:hover { border-color: rgba(62, 139, 255, 0.4); transform: translateY(-2px); }
.channel-card .card-icon { margin: 0; width: 44px; height: 44px; flex: none; }
.channel-card strong { display: block; color: var(--text); font-size: 0.98rem; }
.channel-card a { font-size: 0.95rem; }
.channel-card small { display: block; color: var(--muted); font-size: 0.82rem; margin-top: 0.15rem; }

.hours-table { width: 100%; font-size: 0.92rem; border-collapse: collapse; }
.hours-table td { padding: 0.5rem 0; border-bottom: 1px solid var(--border); color: var(--muted); }
.hours-table tr:last-child td { border-bottom: none; }
.hours-table td:last-child { text-align: right; color: var(--text-soft); font-family: var(--font-mono); font-size: 0.82rem; }
.badge-emergency {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-top: 1rem; padding: 0.55rem 1rem; border-radius: 10px;
  background: rgba(251, 191, 36, 0.08); border: 1px solid rgba(251, 191, 36, 0.25);
  color: var(--amber); font-size: 0.85rem; font-weight: 500;
}
.badge-emergency svg { width: 16px; height: 16px; flex: none; }

.contact-form-card {
  padding: clamp(1.8rem, 3.5vw, 2.6rem);
  background: linear-gradient(160deg, var(--surface), rgba(10, 16, 32, 0.65));
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.form-field { display: grid; gap: 0.4rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 0.86rem; font-weight: 600; color: var(--text); }
.form-field label span { color: var(--faint); font-weight: 400; }
.form-field input, .form-field select, .form-field textarea {
  padding: 0.8rem 1rem;
  background: var(--bg-1); border: 1px solid var(--border-strong); border-radius: 10px;
  color: var(--text); font-family: inherit; font-size: 0.95rem;
  transition: border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(62, 139, 255, 0.18);
}
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--faint); }
.form-note { grid-column: 1 / -1; font-size: 0.82rem; color: var(--faint); }
.form-status { grid-column: 1 / -1; display: none; padding: 0.9rem 1.2rem; border-radius: 10px; font-size: 0.92rem; }
.form-status.success { display: block; background: rgba(52, 211, 153, 0.1); border: 1px solid rgba(52, 211, 153, 0.3); color: var(--green); }
.form-status.error { display: block; background: rgba(248, 113, 113, 0.1); border: 1px solid rgba(248, 113, 113, 0.3); color: #f87171; }

.map-placeholder {
  margin-top: var(--section-pad);
  height: 380px; border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background:
    radial-gradient(300px 180px at 50% 45%, rgba(62, 139, 255, 0.14), transparent 65%),
    var(--bg-2);
  position: relative; overflow: hidden;
  display: grid; place-items: center;
}
.map-placeholder::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px);
  background-size: 38px 38px;
}
.map-pin { position: relative; text-align: center; z-index: 1; }
.map-pin svg { width: 44px; height: 44px; color: var(--accent); margin: 0 auto 0.7rem; filter: drop-shadow(0 6px 16px rgba(62, 139, 255, 0.5)); }
.map-pin strong { display: block; color: var(--text); font-family: var(--font-display); }
.map-pin span { font-size: 0.88rem; color: var(--muted); }

/* ==========================================================================
   22. FOOTER
   ========================================================================== */
.site-footer {
  margin-top: var(--section-pad);
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(10, 16, 32, 0.65), var(--bg-0));
  padding-top: clamp(3rem, 6vw, 4.5rem);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand p { font-size: 0.92rem; color: var(--muted); margin-top: 1.1rem; max-width: 34ch; }
.footer-col h4 {
  font-size: 0.78rem; font-family: var(--font-mono); font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint);
  margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; display: grid; gap: 0.65rem; }
.footer-col a { color: var(--muted); font-size: 0.92rem; }
.footer-col a:hover { color: var(--text); }
.footer-contact li { display: flex; gap: 0.65rem; align-items: flex-start; color: var(--muted); font-size: 0.92rem; }
.footer-contact svg { width: 16px; height: 16px; flex: none; margin-top: 4px; color: var(--accent); }

.footer-status {
  display: inline-flex; align-items: center; gap: 0.55rem;
  margin-top: 1.4rem; padding: 0.5rem 0.95rem;
  border-radius: 999px; border: 1px solid rgba(52, 211, 153, 0.25);
  background: rgba(52, 211, 153, 0.06);
  font-size: 0.8rem; color: var(--green); font-family: var(--font-mono);
}
.footer-status::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--green); animation: pulse-dot 2.4s infinite;
}

.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem; color: var(--faint);
}
.footer-bottom a { color: var(--muted); }

/* ==========================================================================
   23. FLOATING ACTIONS
   ========================================================================== */
.fab-whatsapp {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25d366; color: #06101f;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.4);
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.fab-whatsapp:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 12px 36px rgba(37, 211, 102, 0.5); color: #06101f; }
.fab-whatsapp svg { width: 28px; height: 28px; }
.fab-whatsapp .fab-tip {
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%);
  padding: 0.45rem 0.9rem; border-radius: 8px; white-space: nowrap;
  background: var(--surface-2); border: 1px solid var(--border);
  font-size: 0.8rem; font-weight: 600; color: var(--text);
  opacity: 0; pointer-events: none; transition: opacity var(--speed) var(--ease);
}
.fab-whatsapp:hover .fab-tip, .fab-whatsapp:focus-visible .fab-tip { opacity: 1; }

.back-to-top {
  position: fixed; right: 1.6rem; bottom: 5.6rem; z-index: 90;
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--border-strong);
  color: var(--text-soft); cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all var(--speed) var(--ease);
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-3px); }
.back-to-top svg { width: 18px; height: 18px; }

/* ==========================================================================
   24. PRELOADER & SCROLL REVEAL
   ========================================================================== */
.preloader {
  position: fixed; inset: 0; z-index: 999;
  display: grid; place-items: center;
  background: var(--bg-0);
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader-mark { width: 58px; height: 58px; animation: preloader-pulse 1.4s var(--ease) infinite; }
@keyframes preloader-pulse {
  0%, 100% { opacity: 0.55; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1); }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }
[data-reveal="left"] { transform: translateX(-30px); }
[data-reveal="right"] { transform: translateX(30px); }
[data-reveal="scale"] { transform: scale(0.94); }

/* ==========================================================================
   25. UTILITIES
   ========================================================================== */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.text-center { text-align: center; }

/* ==========================================================================
   26. ACCESSIBILITY & MOTION
   ========================================================================== */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .trustbar-row { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}

/* ==========================================================================
   27. RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .grid-4, .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .industry-grid { grid-template-columns: repeat(3, 1fr); }
  .tech-grid, .cs-grid, .post-grid, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .service-layout, .article-layout { grid-template-columns: 1fr; }
  .service-aside { position: static; grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 920px) {
  /* Mobile navigation */
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed; top: 76px; left: 0; right: 0; bottom: 0;
    z-index: 99;
    flex-direction: column; align-items: stretch; gap: 0.25rem;
    padding: 1.5rem 1.25rem;
    background: rgba(7, 11, 20, 0.98);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
  }
  .nav-menu.is-open { transform: translateX(0); }
  .nav-link { width: 100%; justify-content: space-between; padding: 0.9rem 1rem; font-size: 1.05rem; }
  .mega {
    position: static; transform: none; width: 100%;
    border: none; box-shadow: none; background: transparent;
    padding: 0 0 0 0.75rem; display: none;
  }
  .mega.is-open { display: block; }
  .mega-grid { grid-template-columns: 1fr; gap: 0.15rem; }
  .mega-col-title { padding-top: 0.9rem; }
  .mega-footer { flex-direction: column; align-items: flex-start; }
  .nav-actions .btn { display: none; }

  .hero-grid, .about-grid, .contact-layout { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; margin-inline: auto; }
  .featured-project { grid-template-columns: 1fr; }
  .founder-card { grid-template-columns: 1fr; }
  .founder-photo { max-width: 280px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .benefit-list { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4, .tech-grid, .cs-grid, .post-grid,
  .industry-grid, .mv-grid, .form-grid, .service-aside { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 0.9rem; }
  .stat-card { padding: 1.4rem 0.9rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-ctas .btn { width: 100%; }
  .tl-step { gap: 1.2rem; }
  .tl-marker { width: 46px; height: 46px; border-radius: 13px; box-shadow: 0 0 0 5px var(--bg-0); }
  .timeline::before { left: 22px; }
  .blog-toolbar { flex-direction: column; align-items: stretch; }
  .search-box { min-width: 0; }
  .back-to-top { right: 1.4rem; }
}
