/* ==========================================================================
   AhmedTech Solutions - Dedicated Service Pages Shared Stylesheet
   Designed for SEO Performance, Core Web Vitals & Premium Aesthetics
   ========================================================================== */

/* ============ DESIGN TOKENS ============ */
:root[data-theme="dark"] {
  --bg: #0B0F19;
  --bg-soft: #0F1524;
  --card: rgba(255, 255, 255, 0.03);
  --card-hover: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.09);
  --line2: rgba(255, 255, 255, 0.18);
  --text: #F8FAFC;
  --muted: #94A3B8;
  --acc: #00D2FF;
  --acc-rgb: 0, 210, 255;
  --grad: linear-gradient(92deg, #4F8DFF, #00D2FF);
  --grad-hover: linear-gradient(92deg, #3b75eb, #00bce6);
  --em: #10B981;
  --glass: rgba(11, 15, 25, 0.82);
  --gridc: rgba(148, 163, 184, 0.07);
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.55);
}

:root[data-theme="light"] {
  --bg: #F8FAFC;
  --bg-soft: #FFFFFF;
  --card: #FFFFFF;
  --card-hover: #F1F5F9;
  --line: rgba(11, 15, 25, 0.09);
  --line2: rgba(11, 15, 25, 0.2);
  --text: #0B0F19;
  --muted: #5B6B84;
  --acc: #0066FF;
  --acc-rgb: 0, 102, 255;
  --grad: linear-gradient(92deg, #0047FF, #00A3CE);
  --grad-hover: linear-gradient(92deg, #003cd4, #0090b8);
  --em: #059669;
  --glass: rgba(248, 250, 252, 0.85);
  --gridc: rgba(15, 23, 42, 0.06);
  --shadow: 0 24px 60px -28px rgba(15, 23, 42, 0.22);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  transition: background 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.025em;
  font-weight: 800;
  line-height: 1.2;
}

p {
  color: var(--muted);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s, border-color 0.2s;
}

img, svg {
  display: block;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

ul {
  list-style: none;
}

::selection {
  background: rgba(var(--acc-rgb), 0.35);
}

:focus-visible {
  outline: 2px solid var(--acc);
  outline-offset: 2px;
  border-radius: 6px;
}

.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

.section {
  padding: 96px 0;
  position: relative;
}

.alt {
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
}

/* ============ ICONS ============ */
.ic {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.icf {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex: none;
}

/* ============ TYPOGRAPHY UTILS ============ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--acc);
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
}

.grad-txt {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sec-head {
  max-width: 720px;
  margin: 0 auto 52px;
  text-align: center;
}

.sec-head h2 {
  font-size: clamp(1.85rem, 3.8vw, 2.6rem);
  font-weight: 800;
  margin: 16px 0 14px;
}

.sec-head p {
  font-size: 16.5px;
}

.sec-head.left {
  text-align: left;
  margin-inline: 0;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s, border-color 0.25s;
  white-space: nowrap;
}

.btn .ic {
  width: 17px;
  height: 17px;
  transition: transform 0.25s;
}

.btn-primary {
  background: var(--grad);
  color: #fff !important;
  box-shadow: 0 10px 26px -10px rgba(var(--acc-rgb), 0.55);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -10px rgba(var(--acc-rgb), 0.65);
}

.btn-primary:hover .ic {
  transform: translateX(4px);
}

.btn-ghost {
  border: 1px solid var(--line2);
  color: var(--text);
  background: var(--card);
}

.btn-ghost:hover {
  border-color: var(--acc);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 13.5px;
  border-radius: 11px;
}

.btn-wa {
  background: #1FB855;
  color: #fff !important;
  box-shadow: 0 10px 26px -10px rgba(31, 184, 85, 0.55);
}

.btn-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -10px rgba(31, 184, 85, 0.65);
}

.w-full {
  width: 100%;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: var(--card);
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: 0.25s;
}

.icon-btn:hover {
  color: var(--text);
  border-color: var(--line2);
  transform: translateY(-1px);
}

/* ============ HEADER & NAV ============ */
#scrollProgress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--grad);
  z-index: 300;
}

#siteHeader {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 200;
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s, border-color 0.3s;
}

.nav {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--grad);
  display: grid;
  place-items: center;
  color: #fff;
  font: 800 19px 'Plus Jakarta Sans';
  box-shadow: 0 8px 20px -6px rgba(var(--acc-rgb), 0.6);
  overflow: hidden;
}

.logo-txt {
  line-height: 1.05;
}

.logo-txt b {
  display: block;
  font: 800 16.5px 'Plus Jakarta Sans';
}

.logo-txt span {
  display: block;
  font: 700 9.5px 'JetBrains Mono';
  letter-spacing: 0.32em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: 0.2s;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--text);
  background: var(--card);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 250px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.25s cubic-bezier(0.2, 0.8, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 250;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.current {
  color: var(--acc);
  background: var(--card);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

:root[data-theme="dark"] .ic-sun { display: block; }
:root[data-theme="dark"] .ic-moon { display: none; }
:root[data-theme="light"] .ic-sun { display: none; }
:root[data-theme="light"] .ic-moon { display: block; }

#navToggle {
  display: none;
}

/* ============ MOBILE DRAWER ============ */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 400;
  visibility: hidden;
  transition: visibility 0s 0.4s;
}

.drawer.open {
  visibility: visible;
  transition-delay: 0s;
}

.drawer-back {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 16, 0.65);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: 0.35s;
}

.drawer.open .drawer-back {
  opacity: 1;
}

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 88%);
  background: var(--bg-soft);
  border-left: 1px solid var(--line);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateX(102%);
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.3, 1);
  overflow-y: auto;
}

.drawer.open .drawer-panel {
  transform: none;
}

.drawer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.drawer-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 10px;
  border-radius: 10px;
  font: 600 15px 'Plus Jakarta Sans';
  border-bottom: 1px solid var(--line);
  color: var(--text);
}

.drawer-links a:hover, .drawer-links a.active {
  color: var(--acc);
}

.drawer-sublinks {
  padding-left: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 6px 0 10px;
}

.drawer-sublinks a {
  font-size: 13.5px;
  padding: 8px 10px;
  border-bottom: 0;
  color: var(--muted);
}

.drawer-foot {
  margin-top: auto;
  padding-top: 18px;
  font-size: 13px;
  color: var(--muted);
  display: grid;
  gap: 10px;
}

.drawer-foot a {
  display: flex;
  gap: 9px;
  align-items: center;
}

/* ============ BREADCRUMB ============ */
.breadcrumb-wrap {
  padding: 95px 0 0;
  background: var(--bg);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13.5px;
  color: var(--muted);
  padding-top: 16px;
}

.breadcrumbs a {
  color: var(--muted);
  transition: 0.2s;
}

.breadcrumbs a:hover {
  color: var(--acc);
}

.breadcrumbs .sep {
  opacity: 0.5;
}

.breadcrumbs .current {
  color: var(--text);
  font-weight: 600;
}

/* ============ SERVICE HERO ============ */
.svc-hero {
  position: relative;
  padding: 30px 0 76px;
  overflow: hidden;
}

.svc-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(640px 420px at 85% 10%, rgba(var(--acc-rgb), 0.16), transparent 60%),
    radial-gradient(540px 400px at 5% 90%, rgba(var(--acc-rgb), 0.09), transparent 60%);
}

.svc-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--gridc) 1px, transparent 1px), linear-gradient(90deg, var(--gridc) 1px, transparent 1px);
  background-size: 50px 50px;
  -webkit-mask-image: radial-gradient(700px 450px at 60% 10%, #000 30%, transparent 75%);
  mask-image: radial-gradient(700px 450px at 60% 10%, #000 30%, transparent 75%);
}

.svc-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.svc-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  font: 600 13px 'Inter';
  color: var(--muted);
  margin-bottom: 22px;
}

.chip-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--em);
  animation: ring 2s infinite;
  flex: none;
}

.svc-hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
}

.svc-hero-sub {
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 600px;
}

.svc-hero-ctas {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.trust-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.trust-txt {
  font-size: 13.5px;
  color: var(--muted);
}

.stars {
  display: inline-flex;
  gap: 2px;
  color: #F59E0B;
  vertical-align: -2px;
  margin-right: 6px;
}

.stars .icf {
  width: 14px;
  height: 14px;
}

/* Hero Visual Card */
.svc-visual-card {
  position: relative;
  background: var(--bg-soft);
  border: 1px solid var(--line2);
  border-radius: 22px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.svc-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.svc-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(var(--acc-rgb), 0.2), rgba(var(--acc-rgb), 0.06));
  border: 1px solid rgba(var(--acc-rgb), 0.35);
  display: grid;
  place-items: center;
  color: var(--acc);
}

.svc-card-header h3 {
  font-size: 18px;
  font-weight: 700;
}

.svc-card-header p {
  font-size: 13px;
  color: var(--muted);
}

.svc-card-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.svc-card-m-box {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 14px;
  border-radius: 12px;
  text-align: center;
}

.svc-card-m-box b {
  display: block;
  font: 800 20px 'Plus Jakarta Sans';
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.svc-card-m-box span {
  font-size: 12px;
  color: var(--muted);
}

.svc-card-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.svc-card-pills span {
  font-size: 12.5px;
  font-family: 'JetBrains Mono', monospace;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--muted);
}

/* ============ METRICS BAR ============ */
.metrics-strip {
  border-block: 1px solid var(--line);
  background: var(--bg-soft);
}

.metrics-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.m-strip-item {
  padding: 34px 24px;
  text-align: center;
}

.m-strip-item + .m-strip-item {
  border-left: 1px solid var(--line);
}

.m-strip-item .val {
  font: 800 clamp(1.8rem, 3.2vw, 2.4rem) 'Plus Jakarta Sans';
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.m-strip-item .lbl {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 4px;
  font-weight: 500;
}

/* ============ CAPABILITIES / SUB-SERVICES GRID ============ */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cap-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.cap-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--grad);
  opacity: 0;
  transition: 0.3s;
}

.cap-card:hover {
  transform: translateY(-5px);
  border-color: rgba(var(--acc-rgb), 0.45);
  box-shadow: 0 20px 48px -20px rgba(var(--acc-rgb), 0.35);
  background: var(--card-hover);
}

.cap-card:hover::before {
  opacity: 1;
}

.cap-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(var(--acc-rgb), 0.15), rgba(var(--acc-rgb), 0.05));
  border: 1px solid rgba(var(--acc-rgb), 0.25);
  color: var(--acc);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.cap-card h3 {
  font-size: 18.5px;
  font-weight: 700;
  margin-bottom: 10px;
}

.cap-card p {
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 18px;
}

.cap-card ul {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}

.cap-card li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13.5px;
  color: var(--muted);
}

.cap-card li .ic {
  width: 15px;
  height: 15px;
  color: var(--em);
  margin-top: 3px;
}

/* ============ TECH STACK SECTION ============ */
.tech-badges-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}

.tech-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 13px;
  border: 1px solid var(--line);
  background: var(--card);
  font: 600 14px 'Inter';
  color: var(--text);
  transition: 0.25s;
}

.tech-badge:hover {
  border-color: var(--acc);
  transform: translateY(-2px);
  background: var(--card-hover);
}

.tech-tag-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font: 700 11.5px 'JetBrains Mono';
  color: var(--acc);
  background: rgba(var(--acc-rgb), 0.12);
  border: 1px solid rgba(var(--acc-rgb), 0.3);
}

/* ============ CASE STUDY / PROOFS FEATURE ============ */
.svc-case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 26px;
}

.svc-case-grid.is-single {
  grid-template-columns: 1fr;
}

.svc-case-grid.is-single .svc-case-card {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) 1.2fr;
}

.svc-case-grid.is-single .svc-case-img {
  height: 100%;
  min-height: 380px;
}

@media (max-width: 860px) {
  .svc-case-grid.is-single .svc-case-card {
    display: flex;
    flex-direction: column;
  }
  .svc-case-grid.is-single .svc-case-img {
    height: 320px;
    min-height: 300px;
  }
}

.svc-case-results {
  list-style: none;
  padding: 0;
  margin: 12px 0 16px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.svc-case-results li {
  font-size: 13.5px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--txt);
}

.svc-case-results li svg {
  width: 14px;
  height: 14px;
  color: #34D399;
  flex-shrink: 0;
}

.svc-case-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.svc-case-card:hover {
  transform: translateY(-5px);
  border-color: rgba(var(--acc-rgb), 0.45);
  box-shadow: var(--shadow);
}

.svc-case-img {
  height: 360px;
  min-height: 320px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
  background: radial-gradient(circle at 50% 30%, rgba(var(--acc-rgb), 0.22), transparent 70%), linear-gradient(135deg, #071326 0%, #0d2242 100%);
}

.svc-case-img img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.12);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.svc-case-card:hover .svc-case-img img {
  transform: scale(1.03);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(var(--acc-rgb), 0.35);
}

.svc-case-chip {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(2, 6, 16, 0.72);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #34D399;
  font: 700 12px 'Inter', sans-serif;
  z-index: 3;
  pointer-events: none;
}

.svc-case-chip .ic {
  width: 13px;
  height: 13px;
}

.svc-case-body {
  padding: 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.svc-case-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.svc-case-meta .client {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

.svc-case-meta .tag {
  font: 700 10.5px 'JetBrains Mono';
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--acc);
  background: rgba(var(--acc-rgb), 0.1);
  border: 1px solid rgba(var(--acc-rgb), 0.3);
  padding: 3px 9px;
  border-radius: 999px;
}

.svc-case-body h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 8px;
}

.svc-case-body p {
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 18px;
}

.svc-case-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.svc-case-tech span {
  font-size: 11.5px;
  font-family: 'JetBrains Mono', monospace;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--muted);
}

/* ============ WORKFLOW STEPS ============ */
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.workflow-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 22px;
}

.workflow-num {
  font: 800 13px 'JetBrains Mono';
  color: var(--acc);
  background: rgba(var(--acc-rgb), 0.1);
  border: 1px solid rgba(var(--acc-rgb), 0.3);
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.workflow-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.workflow-card p {
  font-size: 13.5px;
  line-height: 1.6;
}

/* ============ GLOBAL AUDIENCE BANNER ============ */
.global-banner {
  background: linear-gradient(135deg, rgba(var(--acc-rgb), 0.08), rgba(var(--acc-rgb), 0.02));
  border: 1px solid rgba(var(--acc-rgb), 0.25);
  border-radius: 22px;
  padding: 44px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
}

.global-banner h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.3rem);
  font-weight: 800;
  margin-bottom: 14px;
}

.global-banner p {
  font-size: 15.5px;
  line-height: 1.7;
}

.global-points {
  display: grid;
  gap: 12px;
}

.global-pt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.global-pt .ic {
  color: var(--acc);
}

/* ============ FAQ ACCORDION ============ */
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  overflow: hidden;
  transition: border-color 0.25s, background 0.25s;
}

.faq-item:hover {
  border-color: var(--line2);
}

.faq-question {
  width: 100%;
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font: 700 16.5px 'Plus Jakarta Sans';
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.faq-question .ic {
  width: 18px;
  height: 18px;
  color: var(--acc);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question .ic {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.2, 0.8, 0.3, 1), padding 0.35s ease;
  padding: 0 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 24px 24px;
}

/* ============ OTHER SERVICES GRID ============ */
.other-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.other-svc-card {
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--card);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, border-color 0.25s;
}

.other-svc-card:hover {
  transform: translateY(-4px);
  border-color: var(--acc);
  background: var(--card-hover);
}

.other-svc-card h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

.other-svc-card p {
  font-size: 13.5px;
  margin-bottom: 14px;
}

.other-svc-card .link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 600 13px 'Inter';
  color: var(--acc);
}

.other-svc-card .link .ic {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
}

.other-svc-card:hover .link .ic {
  transform: translateX(4px);
}

/* ============ FINAL CTA BANNER ============ */
.cta-banner {
  background: radial-gradient(circle at 80% 20%, rgba(var(--acc-rgb), 0.18), transparent 60%), var(--bg-soft);
  border: 1px solid var(--line2);
  border-radius: 24px;
  padding: 60px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.cta-banner h2 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 17px;
  max-width: 620px;
  margin: 0 auto 32px;
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============ FOOTER ============ */
footer {
  padding: 80px 0 34px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.f-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 60px;
}

.f-brand p {
  font-size: 14px;
  margin: 18px 0 20px;
  max-width: 320px;
}

.f-social {
  display: flex;
  gap: 10px;
}

.f-grid h4 {
  font: 700 13px 'JetBrains Mono';
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 20px;
}

.f-links {
  display: grid;
  gap: 11px;
}

.f-links a {
  font-size: 14px;
  color: var(--muted);
  transition: 0.2s;
}

.f-links a:hover {
  color: var(--acc);
}

.f-contact p {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
}

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

.f-bottom nav {
  display: flex;
  gap: 20px;
}

.f-bottom nav a:hover {
  color: var(--text);
}

/* ============ FLOATING WIDGETS ============ */
.wa-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #1FB855;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 34px -10px rgba(31, 184, 85, 0.7);
  z-index: 180;
  transition: transform 0.25s;
}

.wa-float:hover {
  transform: scale(1.08);
}

.wa-float svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

#toTop {
  position: fixed;
  bottom: 26px;
  right: 90px;
  z-index: 180;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
}

#toTop.show {
  opacity: 1;
  pointer-events: auto;
}

/* ============ KEYFRAMES ============ */
@keyframes ring {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
  70% { box-shadow: 0 0 0 9px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* ============ RESPONSIVE MEDIA QUERIES ============ */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  #navToggle { display: grid; }
  .svc-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .capabilities-grid { grid-template-columns: 1fr 1fr; }
  .metrics-strip-grid { grid-template-columns: 1fr 1fr; }
  .m-strip-item:nth-child(3) { border-left: 0; }
  .m-strip-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .workflow-grid { grid-template-columns: 1fr 1fr; }
  .global-banner { grid-template-columns: 1fr; gap: 28px; padding: 32px 24px; }
  .f-grid { grid-template-columns: 1fr 1fr; }
  .other-services-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .section { padding: 64px 0; }
  .capabilities-grid { grid-template-columns: 1fr; }
  .svc-case-grid { grid-template-columns: 1fr; }
  .svc-case-img { height: 290px; min-height: 270px; padding: 16px 12px; }
  .workflow-grid { grid-template-columns: 1fr; }
  .metrics-strip-grid { grid-template-columns: 1fr; }
  .m-strip-item + .m-strip-item { border-left: 0; border-top: 1px solid var(--line); }
  .cta-banner { padding: 40px 22px; }
  .f-grid { grid-template-columns: 1fr; }
  .nav-cta { display: none; }
  .other-services-grid { grid-template-columns: 1fr; }
}
