
/* Service detail pages — elegant redesign with animations
   All 5 service pages share this file.
   Palette: --primary #2142A1 · --accent #FF7A00 · Poppins + Inter */

/* ── Keyframes ──────────────────────────────────────────────── */

@keyframes sdEnter {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes sdBlobDrift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(28px, -18px) scale(1.06); }
  100% { transform: translate(-16px, 12px) scale(.97); }
}

@keyframes sdOrbitSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes sdChipCounterSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-360deg); }
}

@keyframes sdChipFloat {
  0%, 100% { margin-top: 0; }
  50%       { margin-top: -9px; }
}

@keyframes sdCorePulse {
  0%, 100% { box-shadow: 0 18px 40px rgba(33,66,161,.28); }
  50%       { box-shadow: 0 24px 60px rgba(33,66,161,.5), 0 0 0 14px rgba(33,66,161,.07); }
}

@keyframes sdCardEnter {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes sdPillEnter {
  from { opacity: 0; transform: translateY(22px) scale(.93); }
  to   { opacity: 1; transform: translateY(0)   scale(1); }
}

@keyframes sdPillScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

@keyframes sdShimmer {
  0%   { transform: translateX(-120%); }
  100% { transform: translateX(300%); }
}

@keyframes sdBorderSlide {
  from { transform-origin: left; transform: scaleX(0); }
  to   { transform-origin: left; transform: scaleX(1); }
}

/* ── Base ───────────────────────────────────────────────────── */

.service-page {
  background: #fff;
}

/* ── Hero ───────────────────────────────────────────────────── */

.sd-hero {
  position: relative;
  overflow: hidden;
  padding: 40px 0 68px;
  background:
    radial-gradient(circle at 90% 15%, rgba(255,122,0,.09) 0%, transparent 35%),
    radial-gradient(circle at 5% 80%,  rgba(33,66,161,.1)  0%, transparent 30%),
    linear-gradient(160deg, #f4f6fc 0%, #f8f9fd 60%, #eef1f9 100%);
  border-bottom: 1px solid rgba(33,66,161,.08);
}

/* Animated background blobs */
.sd-hero::before {
  position: absolute;
  content: "";
  width: 460px;
  height: 460px;
  right: -120px;
  top: -150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(33,66,161,.09) 0%, transparent 68%);
  animation: sdBlobDrift 16s ease-in-out infinite alternate;
  pointer-events: none;
}

.sd-hero::after {
  position: absolute;
  content: "";
  width: 300px;
  height: 300px;
  left: 5%;
  bottom: -90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,122,0,.11) 0%, transparent 68%);
  animation: sdBlobDrift 12s ease-in-out 3s infinite alternate-reverse;
  pointer-events: none;
}

/* Breadcrumbs */
.sd-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
  color: #5f6b76;
  font-size: .9rem;
  animation: sdEnter 500ms ease both;
}

.sd-breadcrumbs a {
  color: #2142A1;
  font-weight: 700;
  transition: color .2s ease;
}

.sd-breadcrumbs a:hover { color: #FF7A00; }

/* Hero grid */
.sd-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

/* Grid items default to a min-width based on their content's min-content
   size; a long, unbreakable compound word (common in German) can otherwise
   force this column wider than its 1.2fr share and overlap the visual. */
.sd-hero-grid > div { min-width: 0; }

/* Staggered hero content entrance */
.sd-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: #2142A1;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  animation: sdEnter 600ms cubic-bezier(.22,.61,.36,1) 60ms both;
}

.sd-kicker::before {
  width: 32px;
  height: 3px;
  content: "";
  border-radius: 999px;
  background: #FF7A00;
  flex-shrink: 0;
}

.sd-hero h1 {
  max-width: 840px;
  margin: 0 0 22px;
  color: #17212b;
  font-size: clamp(2.5rem, 5.5vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  overflow-wrap: break-word;
  hyphens: auto;
  animation: sdEnter 650ms cubic-bezier(.22,.61,.36,1) 130ms both;
}

.sd-hero h1 .accent {
  color: #2142A1;
}

.sd-hero .lead {
  max-width: 780px;
  color: #5f6b76;
  animation: sdEnter 650ms cubic-bezier(.22,.61,.36,1) 200ms both;
}

.sd-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
  animation: sdEnter 650ms cubic-bezier(.22,.61,.36,1) 270ms both;
}

.sd-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
  animation: sdEnter 650ms cubic-bezier(.22,.61,.36,1) 340ms both;
}

.sd-hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #33414d;
  font-weight: 700;
  font-size: .92rem;
}

.sd-hero-points i { color: #FF7A00; }

/* ── Hero Visual / Orbit ────────────────────────────────────── */

.sd-visual {
  position: relative;
  min-height: 380px;
  display: grid;
  place-items: center;
  animation: sdEnter 700ms cubic-bezier(.22,.61,.36,1) 180ms both;
}

.sd-hero-video {
  display: block;
  width: 100%;
  max-width: 500px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: 0 6px 10px -4px rgba(0, 0, 0, 0.35);
}

.sd-visual-orbit {
  position: relative;
  width: min(360px, 92vw);
  aspect-ratio: 1;
  border: 1px solid rgba(33,66,161,.15);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(33,66,161,.12) 0 23%, transparent 24%),
    radial-gradient(circle, transparent 0 45%, rgba(33,66,161,.06) 46% 47%, transparent 48%),
    #fff;
  box-shadow:
    0 24px 70px rgba(23,33,43,.08),
    inset 0 0 0 1px rgba(33,66,161,.05);
  animation: sdOrbitSpin 40s linear infinite;
}

.sd-visual-core {
  position: absolute;
  inset: 50% auto auto 50%;
  display: grid;
  width: 126px;
  height: 126px;
  place-items: center;
  transform: translate(-50%, -50%);
  border-radius: 34px;
  background: linear-gradient(135deg, #2142A1 0%, #1a338e 100%);
  color: #fff;
  animation: sdChipCounterSpin 40s linear infinite, sdCorePulse 3.5s ease-in-out infinite;
}

.sd-visual-core i { font-size: 2.3rem; }

.sd-orbit-chip {
  position: absolute;
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border: 1px solid rgba(33,66,161,.13);
  border-radius: 22px;
  background: #fff;
  color: #2142A1;
  font-size: 1.35rem;
  box-shadow: 0 12px 28px rgba(23,33,43,.09);
}

/* Position + counter-rotate + individual float per chip.
   Chips sit on four symmetric diagonals at a fixed ~44% radius so they
   stay clear of the central core through the full ring rotation.
   Values are percentages of the orbit, so they hold at every size. */
.sd-orbit-chip:nth-child(2) { /* top-right */
  top: 9%; left: 71%;
  animation: sdChipCounterSpin 40s linear infinite, sdChipFloat 5.2s ease-in-out infinite;
}
.sd-orbit-chip:nth-child(3) { /* bottom-right */
  top: 71%; left: 71%;
  animation: sdChipCounterSpin 40s linear infinite, sdChipFloat 6.1s 1.4s ease-in-out infinite;
}
.sd-orbit-chip:nth-child(4) { /* bottom-left */
  top: 71%; left: 9%;
  animation: sdChipCounterSpin 40s linear infinite, sdChipFloat 5.8s .7s ease-in-out infinite;
}
.sd-orbit-chip:nth-child(5) { /* top-left */
  top: 9%; left: 9%;
  animation: sdChipCounterSpin 40s linear infinite, sdChipFloat 6.4s 2.1s ease-in-out infinite;
}
.sd-orbit-chip:nth-child(6) { /* fallback 5th chip, if ever present */
  top: 40%; left: -2%;
  animation: sdChipCounterSpin 40s linear infinite, sdChipFloat 5.5s 1.8s ease-in-out infinite;
}

/* ── Sections ───────────────────────────────────────────────── */

.sd-section {
  padding: 84px 0;
}

.sd-section.alt {
  background: #f5f8fa;
}

.sd-section.blue-soft {
  background:
    radial-gradient(circle, rgba(33,66,161,.065) 1px, transparent 1px),
    linear-gradient(180deg, rgba(33,66,161,.05), rgba(33,66,161,.01));
  background-size: 30px 30px, 100% 100%;
}

/* ── DARK Capabilities Section ──────────────────────────────── */

.sd-section.dark {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0b1c50 0%, #1a338e 52%, #0d1f52 100%);
}

/* Decorative radial blobs */
.sd-section.dark::before {
  position: absolute;
  content: "";
  width: 550px;
  height: 550px;
  right: -160px;
  top: -160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,122,0,.13) 0%, transparent 62%);
  pointer-events: none;
  animation: sdBlobDrift 18s ease-in-out infinite alternate;
}

.sd-section.dark::after {
  position: absolute;
  content: "";
  width: 380px;
  height: 380px;
  left: 3%;
  bottom: -110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.05) 0%, transparent 62%);
  pointer-events: none;
  animation: sdBlobDrift 14s ease-in-out 4s infinite alternate-reverse;
}

.sd-section.dark .sd-head h2 { color: #fff; }
.sd-section.dark .sd-head p  { color: rgba(255,255,255,.72); }
.sd-section.dark .sd-eyebrow { color: rgba(255,122,0,.9); }

/* ── Section Head ───────────────────────────────────────────── */

.sd-head {
  max-width: 820px;
  margin: 0 auto 46px;
  text-align: center;
}

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

.sd-head h2 {
  margin: 10px 0 14px;
  color: #17212b;
  font-size: clamp(1.9rem, 3.2vw, 2.9rem);
}

.sd-head p {
  margin: 0;
  color: #5f6b76;
}

.sd-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #2142A1;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.sd-eyebrow::before {
  width: 26px;
  height: 3px;
  content: "";
  flex-shrink: 0;
  border-radius: 99px;
  background: var(--accent);
}

/* ── Cards ──────────────────────────────────────────────────── */

.sd-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.sd-card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sd-card-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Light card — default */
.sd-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 26px;
  border: 1px solid rgba(33,66,161,.11);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(23,33,43,.05);
  overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  /* Start invisible; JS adds .visible to trigger entrance */
  opacity: 0;
  transform: translateY(28px);
}

.sd-card > p { flex: 1; }

.sd-card.visible {
  animation: sdCardEnter 580ms cubic-bezier(.22,.61,.36,1) both;
}

/* Animated gradient bottom bar */
.sd-card::after {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, #2142A1, #FF7A00);
  transform: scaleX(0);
  transform-origin: left;
  border-radius: 0 0 20px 20px;
  transition: transform .3s ease;
}

.sd-card:hover {
  transform: translateY(-6px);
  border-color: rgba(33,66,161,.24);
  box-shadow: 0 22px 52px rgba(33,66,161,.12);
}

.sd-card:hover::after { transform: scaleX(1); }

/* Dark section — glass cards */
.sd-section.dark .sd-card {
  background: rgba(255,255,255,.065);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.11);
  box-shadow: 0 8px 32px rgba(0,0,0,.22);
}

.sd-section.dark .sd-card:hover {
  background: rgba(255,255,255,.11);
  border-color: rgba(255,255,255,.22);
  box-shadow: 0 20px 52px rgba(0,0,0,.3);
}

.sd-section.dark .sd-card h3,
.sd-section.dark .sd-card h4 { color: #fff; }

.sd-section.dark .sd-card p   { color: rgba(255,255,255,.72); }

.sd-section.dark .sd-number   { color: rgba(255,255,255,.1); }
.sd-section.dark .sd-head h2 .highlight { color: #FF7A00; }

/* Icons */
.sd-card-icon {
  display: grid;
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #2a52c9, #1a3580);
  box-shadow: 0 6px 18px rgba(33,66,161,.35);
  color: #fff;
  font-size: 1.4rem;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s ease;
}
.sd-card-icon img {
  width: 32px;
  height: 32px;
}

.sd-card:hover .sd-card-icon {
  transform: scale(1.12) rotate(-6deg);
  box-shadow: 0 10px 26px rgba(33,66,161,.5);
}

.sd-card:nth-child(2n) .sd-card-icon {
  background: linear-gradient(135deg, #FF8C1A, #d96a00);
  box-shadow: 0 6px 18px rgba(255,122,0,.35);
}
.sd-card:nth-child(2n):hover .sd-card-icon {
  box-shadow: 0 10px 26px rgba(255,122,0,.5);
}

.sd-section.dark .sd-card .sd-card-icon {
  background: linear-gradient(135deg, #2a52c9, #1a3580);
  box-shadow: 0 6px 18px rgba(33,66,161,.5);
}

.sd-section.dark .sd-card:nth-child(2n) .sd-card-icon {
  background: linear-gradient(135deg, #FF8C1A, #d96a00);
  box-shadow: 0 6px 18px rgba(255,122,0,.45);
}

.sd-card h3,
.sd-card h4 {
  margin: 0 0 10px;
  color: #17212b;
  font-size: 1.05rem;
}

.sd-card p {
  margin: 0;
  color: #5f6b76;
  font-size: .94rem;
  line-height: 1.65;
}

.sd-number {
  position: absolute;
  top: 18px;
  right: 20px;
  color: rgba(33,66,161,.14);
  font-family: "Poppins", sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

.sd-tool {
  display: inline-flex;
  margin-top: 15px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(33,66,161,.09);
  color: #1a338e;
  font-size: .78rem;
  font-weight: 800;
}

.sd-tool.high {
  background: rgba(255,122,0,.14);
  color: #cc6200;
}

/* ── Feature Split ──────────────────────────────────────────── */

.sd-feature-split {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 56px;
  align-items: start;
}

/* Check list with staggered reveal */
.sd-check-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.sd-check-list li {
  position: relative;
  padding-left: 34px;
  color: #33414d;
  line-height: 1.65;
  opacity: 0;
  transform: translateX(-14px);
  transition: opacity .4s ease, transform .4s ease;
}

.sd-check-list li.visible {
  opacity: 1;
  transform: translateX(0);
}

.sd-check-list li::before {
  position: absolute;
  left: 0;
  top: 2px;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  content: "✓";
  border-radius: 50%;
  background: rgba(33,66,161,.1);
  color: #2142A1;
  font-size: .75rem;
  font-weight: 900;
}

/* Highlight panel with shimmer */
.sd-highlight-panel {
  position: relative;
  overflow: hidden;
  padding: 36px;
  border-radius: 26px;
  background: linear-gradient(135deg, #1a338e 0%, #2142A1 60%, #1e3d9c 100%);
  color: #fff;
  box-shadow: 0 28px 64px rgba(33,66,161,.25);
}

/* Shimmer sweep */
.sd-highlight-panel::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.07) 50%, transparent 70%);
  animation: sdShimmer 5s linear 1s infinite;
  pointer-events: none;
}

/* Decorative orange circle */
.sd-highlight-panel::before {
  position: absolute;
  right: -50px;
  bottom: -70px;
  width: 240px;
  height: 240px;
  content: "";
  border-radius: 50%;
  background: rgba(255,122,0,.16);
  pointer-events: none;
}

.sd-highlight-panel h3 {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 1.7rem;
  margin-bottom: 20px;
}

.sd-highlight-panel p,
.sd-highlight-panel li {
  position: relative;
  z-index: 1;
  color: rgba(255,255,255,.88);
}

.sd-highlight-panel .sd-check-list li {
  position: relative;
  z-index: 1;
  color: rgba(255,255,255,.9);
}

.sd-highlight-panel .sd-check-list li::before {
  background: rgba(255,255,255,.15);
  color: #fff;
}

/* ── Approach / Steps ───────────────────────────────────────── */

@keyframes sdApproachIn {
  from { opacity: 0; transform: translateY(38px) scale(.91); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes sdIconPop {
  0%   { opacity: 0; transform: scale(.35) rotate(-24deg); }
  55%  { transform: scale(1.22) rotate(8deg); }
  78%  { transform: scale(.94) rotate(-4deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}

.sd-approach-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  counter-reset: approach-step;
}

/* Gradient connecting line */
.sd-approach-grid::before {
  position: absolute;
  top: 52px;
  left: 14%;
  right: 14%;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, #2142A1 0%, #FF7A00 50%, #2142A1 100%);
  opacity: .18;
  border-radius: 2px;
  z-index: 0;
  pointer-events: none;
}

.sd-approach {
  position: relative;
  z-index: 1;
  padding: 32px 24px 28px;
  text-align: center;
  border-radius: 22px;
  background: #fff;
  border: 1.5px solid rgba(33,66,161,.08);
  box-shadow: 0 8px 28px rgba(23,33,43,.06);
  overflow: hidden;
  counter-increment: approach-step;
  transition:
    transform .35s cubic-bezier(.34,1.56,.64,1),
    box-shadow .3s ease,
    border-color .3s ease;
  opacity: 0;
  transform: translateY(38px) scale(.91);
}

.sd-approach.visible {
  animation: sdApproachIn 620ms cubic-bezier(.22,.61,.36,1) both;
}

/* Animated top accent bar */
.sd-approach::before {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, #2142A1, #3a5cd0);
  transform: scaleX(0);
  transform-origin: left;
  border-radius: 22px 22px 0 0;
  transition: transform .62s cubic-bezier(.22,.61,.36,1);
}

.sd-approach.visible::before {
  transform: scaleX(1);
  transition-delay: .24s;
}

.sd-approach:nth-child(even)::before {
  background: linear-gradient(90deg, #FF7A00, #e06c00);
}

/* Large watermark step number */
.sd-approach::after {
  position: absolute;
  bottom: -14px;
  right: 6px;
  content: counter(approach-step, decimal-leading-zero);
  font-family: "Poppins", sans-serif;
  font-size: 6rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(33,66,161,.048);
  pointer-events: none;
  transition: color .3s ease, transform .35s ease;
  z-index: 0;
}

.sd-approach:nth-child(even)::after {
  color: rgba(255,122,0,.055);
}

/* Hover */
.sd-approach:hover {
  transform: translateY(-9px) scale(1.02);
  box-shadow: 0 24px 56px rgba(33,66,161,.14);
  border-color: rgba(33,66,161,.18);
}

.sd-approach:nth-child(even):hover {
  box-shadow: 0 24px 56px rgba(255,122,0,.14);
  border-color: rgba(255,122,0,.22);
}

.sd-approach:hover::after {
  color: rgba(33,66,161,.09);
  transform: scale(1.06) translateY(-4px);
}

.sd-approach:nth-child(even):hover::after {
  color: rgba(255,122,0,.1);
}

/* Icon — square badge */
.sd-approach i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  margin-bottom: 18px;
  border-radius: 18px;
  background: rgba(33,66,161,.09);
  color: #2142A1;
  font-size: 1.65rem;
  position: relative;
  z-index: 1;
  transition:
    transform .4s cubic-bezier(.34,1.56,.64,1),
    background .28s ease,
    color .28s ease,
    box-shadow .28s ease;
}

.sd-approach.visible i {
  animation: sdIconPop 640ms cubic-bezier(.22,.61,.36,1) both;
  animation-delay: .32s;
}

.sd-approach:nth-child(even) i {
  background: rgba(255,122,0,.1);
  color: #FF7A00;
}

.sd-approach:hover i {
  background: #2142A1;
  color: #fff;
  transform: rotate(-10deg) scale(1.15);
  box-shadow: 0 10px 24px rgba(33,66,161,.32);
}

.sd-approach:nth-child(even):hover i {
  background: #FF7A00;
  box-shadow: 0 10px 24px rgba(255,122,0,.34);
}

.sd-approach h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.sd-approach p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #5f6b76;
  font-size: .9rem;
  line-height: 1.65;
}

/* ── Pills (Industries) ─────────────────────────────────────── */

.sd-pill-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.sd-pill {
  display: flex;
  flex-direction: column;
  min-height: 108px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 22px 16px;
  border-radius: 20px;
  color: #33414d;
  text-align: center;
  font-weight: 700;
  font-size: .86rem;
  cursor: default;
  transition:
    transform .32s cubic-bezier(.34,1.56,.64,1),
    box-shadow .28s ease,
    border-color .28s ease,
    color .22s ease,
    background-color .22s ease;
  /* Start hidden; JS adds .visible to animate in */
  opacity: 0;
  transform: translateY(22px) scale(.93);
}

.sd-pill.visible {
  animation: sdPillEnter 500ms cubic-bezier(.22,.61,.36,1) both;
}

/* ── Odd pills — blue theme ─────────────────────────────────── */
.sd-pill:nth-child(odd) {
  background: rgba(33,66,161,.06);
  border: 1.5px solid rgba(33,66,161,.2);
}

.sd-pill:nth-child(odd) i {
  color: #2142A1;
}

.sd-pill:nth-child(odd):hover {
  background-color: #2142A1;
  border-color: transparent;
  color: #fff;
  transform: translateY(-7px) scale(1.04);
  box-shadow: 0 20px 48px rgba(33,66,161,.28), 0 2px 8px rgba(33,66,161,.1);
}

/* ── Even pills — orange theme ──────────────────────────────── */
.sd-pill:nth-child(even) {
  background: rgba(255,122,0,.06);
  border: 1.5px solid rgba(255,122,0,.22);
}

.sd-pill:nth-child(even) i {
  color: #FF7A00;
}

.sd-pill:nth-child(even):hover {
  background-color: #FF7A00;
  border-color: transparent;
  color: #fff;
  transform: translateY(-7px) scale(1.04);
  box-shadow: 0 20px 48px rgba(255,122,0,.3), 0 2px 8px rgba(255,122,0,.12);
}

/* Icon shared */
.sd-pill i {
  font-size: 1.5rem;
  transition: transform .38s cubic-bezier(.34,1.56,.64,1), color .22s ease;
}

.sd-pill:hover i {
  transform: scale(1.3) rotate(-8deg);
  color: rgba(255,255,255,.95);
}

/* ── Pill marquee (JS-converted layout) ─────────────────────── */

.sd-pill-marquee {
  display: flex;
  overflow: hidden;
  gap: 0;
  /* Fade edges */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
}

.sd-pill-track {
  display: flex;
  flex-shrink: 0;
  gap: 16px;
  padding-right: 16px; /* close the gap between duplicates */
  animation: sdPillScroll 32s linear infinite;
}

/* Pills inside marquee: fixed width, no entrance transform */
.sd-pill-marquee .sd-pill {
  flex-shrink: 0;
  width: 190px;
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

/* ── Tables ─────────────────────────────────────────────────── */

@keyframes sdTableRowEnterLeft {
  from { opacity: 0; transform: translateX(-22px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes sdTableRowEnterRight {
  from { opacity: 0; transform: translateX(22px); }
  to   { opacity: 1; transform: translateX(0); }
}

.sd-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 22px;
  background: #fff;
  box-shadow:
    0 24px 64px rgba(33,66,161,.11),
    0 2px 8px rgba(23,33,43,.05);
  /* Scroll entrance */
  opacity: 0;
  transform: translateY(24px) scale(.98);
  transition: opacity .55s ease, transform .6s cubic-bezier(.22,.61,.36,1);
}

.sd-table-wrap.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.sd-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  table-layout: fixed; /* forces strict 50 / 50 */
}

/* ── Header ─────────────────────────────────────────────────── */

.sd-table thead tr {
  display: table-row;
}

/* Left header — deep blue */
.sd-table thead th:first-child {
  background: linear-gradient(135deg, #0f1d52 0%, #2142A1 100%);
  border-right: 1px solid rgba(255,255,255,.12);
  width: 50%;
}

/* Right header — orange */
.sd-table thead th:last-child {
  background: linear-gradient(135deg, #b85200 0%, #FF7A00 100%);
  width: 50%;
}

.sd-table th {
  padding: 20px 28px;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-bottom: none;
  vertical-align: middle;
}

/* Coloured dot per column */
.sd-table th::before {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  margin-bottom: 1px;
  content: "";
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  vertical-align: middle;
  flex-shrink: 0;
}

.sd-table thead th:last-child::before {
  background: rgba(255,255,255,.6);
  box-shadow: 0 0 0 3px rgba(255,255,255,.15);
}

/* ── Body ───────────────────────────────────────────────────── */

/* Row counter */
.sd-table tbody { counter-reset: sd-row; }
.sd-table tbody tr { counter-increment: sd-row; }

.sd-table td {
  padding: 18px 28px;
  border-bottom: 1px solid rgba(33,66,161,.07);
  text-align: left;
  vertical-align: middle;
  color: #5f6b76;
  line-height: 1.65;
  width: 50%;
  transition: background .24s ease, color .22s ease, border-color .22s ease;
  /* Entrance — JS adds .visible */
  opacity: 0;
}

.sd-table td.visible {
  animation-duration: 500ms;
  animation-timing-function: cubic-bezier(.22,.61,.36,1);
  animation-fill-mode: both;
}

.sd-table td:first-child {
  border-right: 1px solid rgba(33,66,161,.08);
  border-left: 3px solid transparent;
  padding-left: 25px;
}

/* Row number badge in left cell */
.sd-table td:first-child::before {
  content: counter(sd-row, decimal-leading-zero);
  display: inline-block;
  min-width: 30px;
  margin-right: 12px;
  color: rgba(33,66,161,.22);
  font-family: "Poppins", sans-serif;
  font-size: .74rem;
  font-weight: 700;
  vertical-align: middle;
}

/* Alternating rows */
.sd-table tbody tr:nth-child(even) td:first-child {
  background: rgba(33,66,161,.02);
}

.sd-table tbody tr:nth-child(even) td:last-child {
  background: rgba(255,122,0,.018);
}

/* Row hover */
.sd-table tbody tr:hover td:first-child {
  background: rgba(33,66,161,.06);
  border-left-color: #2142A1;
  color: #17212b;
  font-weight: 600;
}

.sd-table tbody tr:hover td:last-child {
  background: rgba(255,122,0,.06);
  color: #17212b;
  border-right: 3px solid #FF7A00;
  padding-right: 25px;
}

.sd-table tr:last-child td { border-bottom: 0; }

/* ── Tech Groups ────────────────────────────────────────────── */

/* ── Tech groups new keyframes ─────────────────────────────── */

@keyframes sdTechCardIn {
  from { opacity: 0; transform: translateY(34px) scale(.91); }
  to   { opacity: 1; transform: none; }
}

@keyframes sdTechBreath {
  from { box-shadow: 0 6px 22px rgba(23,33,43,.05); }
  to   { box-shadow: 0 24px 54px rgba(33,66,161,.16); }
}

@keyframes sdTechBreathOrange {
  from { box-shadow: 0 6px 22px rgba(23,33,43,.05); }
  to   { box-shadow: 0 24px 54px rgba(255,122,0,.18); }
}

@keyframes sdTagIn {
  from { opacity: 0; transform: scale(.76) translateY(9px); }
  to   { opacity: 1; transform: none; }
}

/* ── Tech groups layout ─────────────────────────────────────── */

.sd-tech-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.sd-tech-group {
  position: relative;
  padding: 28px 22px 26px;
  border: 1.5px solid rgba(33,66,161,.1);
  border-left: 5px solid #2142A1;
  border-radius: 20px;
  background: linear-gradient(148deg, rgba(33,66,161,.045) 0%, #fff 52%);
  overflow: hidden;
  /* Initial hidden state; JS adds .visible */
  opacity: 0;
  transform: translateY(34px) scale(.91);
  transition:
    transform .38s cubic-bezier(.34,1.56,.64,1),
    border-color .3s ease;
}

.sd-tech-group:nth-child(even) {
  border-left-color: #FF7A00;
  background: linear-gradient(148deg, rgba(255,122,0,.045) 0%, #fff 52%);
}

/* Arrived state (normal CSS — overrides initial, lets hover work after animation) */
.sd-tech-group.visible {
  opacity: 1;
  transform: none;
  /* backwards fill-mode keeps card hidden during delay, then plays entrance;
     after entrance ends element falls back to the .visible CSS above (opacity:1 / transform:none)
     so hover transform is never blocked by animation fill */
  animation:
    sdTechCardIn 640ms cubic-bezier(.22,.61,.36,1) backwards,
    sdTechBreath 3.6s ease-in-out infinite alternate;
  animation-delay: 0ms, 720ms;
}

/* nth-child stagger: entrance delay + breathing phase offset per card */
.sd-tech-group:nth-child(2).visible {
  animation-name: sdTechCardIn, sdTechBreathOrange;
  animation-delay: 115ms, 2520ms;  /* breath offset = 720 + 1800 (≈half cycle) */
}
.sd-tech-group:nth-child(3).visible {
  animation-delay: 230ms, 720ms;   /* in-phase with card 1 */
}
.sd-tech-group:nth-child(4).visible {
  animation-name: sdTechCardIn, sdTechBreathOrange;
  animation-delay: 345ms, 2520ms;  /* in-phase with card 2 */
}
.sd-tech-group:nth-child(5).visible {
  animation-delay: 460ms, 720ms;
}
.sd-tech-group:nth-child(6).visible {
  animation-name: sdTechCardIn, sdTechBreathOrange;
  animation-delay: 575ms, 2520ms;
}

/* Dot-grid watermark — top-right corner */
.sd-tech-group::before {
  position: absolute;
  top: 0; right: 0;
  width: 92px;
  height: 92px;
  content: "";
  background: radial-gradient(circle, rgba(33,66,161,.13) 1.5px, transparent 1.5px);
  background-size: 13px 13px;
  border-radius: 0 18px 0 0;
  pointer-events: none;
  z-index: 0;
}

.sd-tech-group:nth-child(even)::before {
  background: radial-gradient(circle, rgba(255,122,0,.15) 1.5px, transparent 1.5px);
  background-size: 13px 13px;
}

/* Shimmer sweep on hover */
.sd-tech-group::after {
  position: absolute;
  top: 0; bottom: 0;
  left: -90%;
  width: 52%;
  content: "";
  background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,.52) 50%, transparent 100%);
  transform: skewX(-14deg);
  pointer-events: none;
  transition: left .68s ease;
  z-index: 0;
}

.sd-tech-group:hover::after { left: 145%; }

/* Hover */
.sd-tech-group:hover {
  transform: translateY(-9px) scale(1.025);
  border-color: rgba(33,66,161,.22);
}

.sd-tech-group:nth-child(even):hover {
  border-color: rgba(255,122,0,.26);
}

/* Title */
.sd-tech-group h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 14px;
  padding: 0 0 12px 20px;
  color: #17212b;
  font-size: 1.05rem;
  font-weight: 700;
  border-bottom: 1px solid rgba(33,66,161,.1);
}

.sd-tech-group:nth-child(even) h3 { border-bottom-color: rgba(255,122,0,.13); }

/* Colored dot before title */
.sd-tech-group h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-65%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2142A1;
  box-shadow: 0 0 8px rgba(33,66,161,.45);
}

.sd-tech-group:nth-child(even) h3::before {
  background: #FF7A00;
  box-shadow: 0 0 8px rgba(255,122,0,.45);
}

/* ── Tags ───────────────────────────────────────────────────── */

.sd-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.sd-tags span {
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(33,66,161,.06);
  border: 1px solid rgba(33,66,161,.17);
  color: #2142A1;
  font-size: .78rem;
  font-weight: 700;
  opacity: 0;
  cursor: default;
  transition:
    background .22s ease,
    color .22s ease,
    border-color .22s ease,
    transform .24s cubic-bezier(.34,1.56,.64,1),
    box-shadow .22s ease;
}

.sd-tech-group:nth-child(even) .sd-tags span {
  background: rgba(255,122,0,.06);
  border-color: rgba(255,122,0,.2);
  color: #b85800;
}

/* Staggered tag pop-in (relative to when .visible is added to the card) */
.sd-tech-group.visible .sd-tags span { animation: sdTagIn 380ms cubic-bezier(.22,.61,.36,1) both; }
.sd-tech-group.visible .sd-tags span:nth-child(1) { animation-delay: 330ms; }
.sd-tech-group.visible .sd-tags span:nth-child(2) { animation-delay: 410ms; }
.sd-tech-group.visible .sd-tags span:nth-child(3) { animation-delay: 490ms; }
.sd-tech-group.visible .sd-tags span:nth-child(4) { animation-delay: 570ms; }
.sd-tech-group.visible .sd-tags span:nth-child(5) { animation-delay: 650ms; }
.sd-tech-group.visible .sd-tags span:nth-child(6) { animation-delay: 730ms; }

/* Tag hover */
.sd-tags span:hover {
  background: #2142A1;
  color: #fff;
  border-color: transparent;
  transform: translateY(-3px) scale(1.07);
  box-shadow: 0 7px 18px rgba(33,66,161,.24);
}

.sd-tech-group:nth-child(even) .sd-tags span:hover {
  background: #FF7A00;
  color: #fff;
  box-shadow: 0 7px 18px rgba(255,122,0,.28);
}

/* ── Tech Marquee (dark) ────────────────────────────────────── */

.sd-tech-dark { padding-bottom: 64px; }

.sd-tech-marquee {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px max(20px, calc((100vw - 1180px) / 2)) 8px;
}

.sd-mq-shell {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.sd-mq-shell:last-child { border-bottom: 0; }

.sd-mq-label {
  position: relative;
  margin: 0;
  padding: 16px 0 4px 20px;
  color: rgba(255,255,255,.85);
  font-family: "Poppins", sans-serif;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  line-height: 1.4;
}

/* Colored marker dot before each label */
.sd-mq-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc(50% + 5px);
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.sd-mq-label.blue::before {
  background: #6d8dff;
  box-shadow: 0 0 10px rgba(109,141,255,.8);
}

.sd-mq-label.orange::before {
  background: #FF7A00;
  box-shadow: 0 0 10px rgba(255,122,0,.8);
}

.sd-mq-run {
  width: 100%;
  overflow: hidden;
  padding: 10px 0;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.sd-mq-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: sd-mq-left 65s linear infinite;
}

.sd-mq-track.rev {
  animation-name: sd-mq-right;
  animation-duration: 72s;
}

.sd-mq-track:hover { animation-play-state: paused; }

.sd-mq-group {
  display: flex;
  gap: 12px;
}

/* Glass pills */
.sd-mpill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 42px;
  padding: 0 19px;
  border-radius: 100px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.13);
  color: rgba(255,255,255,.92);
  font-family: "Poppins", sans-serif;
  font-size: .8rem;
  font-weight: 500;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}

.sd-mpill:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.3);
  transform: translateY(-2px);
}

.sd-mpill i { font-size: 1rem; }

.sd-mq-track i      { color: #8fa8ff; }
.sd-mq-track.rev i  { color: #ffa054; }

@keyframes sd-mq-left {
  to { transform: translateX(-50%); }
}

@keyframes sd-mq-right {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}


/* ── Quote ──────────────────────────────────────────────────── */

.sd-quote {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 44px 48px;
  border: 1px solid rgba(33,66,161,.11);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(23,33,43,.06);
}

.sd-quote::before {
  position: absolute;
  top: 16px;
  right: 28px;
  content: "\201C";
  color: #FF7A00;
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  opacity: .6;
}

.sd-quote blockquote {
  margin: 0 0 22px;
  color: #33414d;
  font-size: 1.08rem;
  line-height: 1.75;
}

.sd-quote strong { color: #17212b; }

/* ── Project Grid ───────────────────────────────────────────── */

.sd-project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.sd-project {
  overflow: hidden;
  border: 1px solid rgba(33,66,161,.11);
  border-radius: 20px;
  background: #fff;
  transition: transform .28s ease, box-shadow .28s ease;
}

.sd-project:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 52px rgba(33,66,161,.13);
}

.sd-project-visual {
  display: grid;
  min-height: 180px;
  place-items: center;
  background:
    radial-gradient(circle at 80% 20%, rgba(255,122,0,.22), transparent 30%),
    linear-gradient(135deg, rgba(33,66,161,.13), rgba(33,66,161,.04));
  color: #2142A1;
  font-size: 3rem;
  transition: transform .4s ease;
}

.sd-project:hover .sd-project-visual { transform: scale(1.03); }

.sd-project-body { padding: 22px; }

.sd-project-body h3 { margin: 0 0 10px; }

.sd-project-body p {
  margin: 0 0 14px;
  color: #5f6b76;
}

/* ── FAQ ────────────────────────────────────────────────────── */

.sd-faq {
  display: grid;
  gap: 12px;
  max-width: 960px;
  margin: 0 auto;
}

.sd-faq details {
  border: 1px solid rgba(33,66,161,.12);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.sd-faq details[open] {
  background: rgba(33,66,161,.025);
  border-color: rgba(33,66,161,.22);
  border-left: 3px solid #2142A1;
  box-shadow: 0 8px 24px rgba(33,66,161,.08);
}

.sd-faq summary {
  position: relative;
  padding: 20px 56px 20px 22px;
  color: #17212b;
  cursor: pointer;
  font-weight: 800;
  font-size: 1rem;
  list-style: none;
  transition: color .22s ease;
}

.sd-faq summary::-webkit-details-marker { display: none; }

.sd-faq details[open] summary { color: #2142A1; }

/* Animated +/× toggle */
.sd-faq summary::after {
  position: absolute;
  top: 50%;
  right: 22px;
  content: "+";
  transform: translateY(-50%) rotate(0deg);
  color: #2142A1;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  transition: transform .36s cubic-bezier(.22,.61,.36,1);
}

.sd-faq details[open] summary::after {
  content: "+";
  transform: translateY(-50%) rotate(45deg);
}

.sd-faq p {
  margin: 0;
  padding: 0 22px 22px;
  color: #5f6b76;
  line-height: 1.7;
}

/* ── CTA Banner ─────────────────────────────────────────────── */

.sd-cta {
  position: relative;
  overflow: hidden;
  padding: 52px;
  border-radius: 28px;
  background: var(--primary);
  color: #fff;
}

/* Dot grid texture */
.sd-cta::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    radial-gradient(circle, rgba(255,255,255,.14) 1.5px, transparent 1.5px),
    radial-gradient(circle, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 44px 44px, 22px 22px;
  background-position: 0 0, 11px 11px;
  pointer-events: none;
}

/* Animated orange blob */
.sd-cta::after {
  position: absolute;
  right: -70px;
  top: -90px;
  width: 300px;
  height: 300px;
  content: "";
  border-radius: 50%;
  background: transparent;
  animation: none;
  pointer-events: none;
}

.sd-cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}

.sd-cta h2 { margin: 0 0 8px; color: #fff; }

.sd-cta p { margin: 0; color: rgba(255,255,255,.84); }

/* ── Contact ────────────────────────────────────────────────── */

.sd-contact {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 46px;
  align-items: start;
}

.sd-contact .form-card { margin: 0; }

/* ── Inline Stats ───────────────────────────────────────────── */

.sd-inline-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.sd-mini-stat {
  padding: 18px;
  border: 1px solid rgba(33,66,161,.12);
  border-radius: 16px;
  background: #fff;
  transition: transform .25s ease, box-shadow .25s ease;
}

.sd-mini-stat:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(33,66,161,.1);
}

.sd-mini-stat strong {
  display: block;
  color: #2142A1;
  font-family: "Poppins", sans-serif;
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.sd-mini-stat span { color: #5f6b76; font-size: .82rem; }

/* ── Client Reviews ─────────────────────────────────────────── */
.center-head { text-align: center; max-width: 100%; }

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.review-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 30px;
  border: 1px solid rgba(33,66,161,.09);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.review-card:hover {
  transform: translateY(-5px);
  border-color: rgba(33,66,161,.18);
  box-shadow: var(--shadow-md);
}

.review-stars {
  display: flex;
  gap: 4px;
  color: #f59e0b;
  font-size: .95rem;
}

.review-text {
  flex: 1;
  margin: 0;
  color: var(--text);
  font-size: .95rem;
  line-height: 1.75;
  font-style: italic;
  border-left: 3px solid var(--accent);
  padding-left: 16px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.review-avatar {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, #2142A1cc 100%);
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
}

.review-author strong {
  display: block;
  color: var(--text);
  font-size: .92rem;
}

.review-author span {
  display: block;
  color: var(--muted);
  font-size: .78rem;
  margin-top: 2px;
}

/* ── Stats Strip ─────────────────────────────────────────────── */
.sd-stats-strip {
  padding: 56px 0;
  background: linear-gradient(135deg, #0f1d52 0%, #182f7a 55%, #2142A1 100%);
}

.sd-stats-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.sd-stat-item {
  flex: 1;
  min-width: 120px;
  text-align: center;
}

.sd-stat-item strong {
  display: block;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 6px;
  letter-spacing: -.02em;
}

.sd-stat-item span {
  color: rgba(255,255,255,.65);
  font-size: .82rem;
  line-height: 1.45;
}

.sd-stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,.15);
  flex-shrink: 0;
}

/* ── Benefit Points ─────────────────────────────────────────── */
.benefit-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 56px;
}

.benefit-point {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.benefit-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(33,66,161,.09);
  color: var(--primary);
  font-size: 1rem;
  transition: background .22s ease, color .22s ease;
}

.benefit-point:hover .benefit-icon {
  background: var(--primary);
  color: #fff;
}

.benefit-point h4 {
  margin: 0 0 4px;
  color: var(--text);
  font-size: .97rem;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
}

.benefit-point p {
  margin: 0;
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.65;
}

/* ── Offering Grid (portfolio-style) ────────────────────────── */
.sd-section-alt-bg { background: var(--bg); }

.offering-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

.offering-card-v2 {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(33,66,161,.09);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.offering-card-v2:hover {
  transform: translateY(-5px);
  border-color: rgba(33,66,161,.18);
  box-shadow: var(--shadow-md);
}

.ocv2-top {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 26px;
  background: var(--bg-blue);
  border-bottom: 1px solid rgba(33,66,161,.08);
}

.ocv2-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: rgba(33,66,161,.12);
  color: var(--primary);
  font-size: 1rem;
  transition: background .22s ease, color .22s ease;
}

.offering-card-v2:nth-child(2n) .ocv2-icon {
  background: rgba(255,122,0,.12);
  color: var(--accent-dark);
}

.offering-card-v2:hover .ocv2-icon {
  background: var(--primary);
  color: #fff;
}

.offering-card-v2:nth-child(2n):hover .ocv2-icon {
  background: var(--accent);
  color: #fff;
}

.ocv2-cat {
  font-family: "Poppins", sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--primary);
  text-transform: uppercase;
}

.ocv2-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px 26px;
}

.ocv2-body h3 {
  margin: 0 0 3px;
  font-size: 1.08rem;
  color: var(--text);
}

.ocv2-sub {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: .82rem;
}

.ocv2-body > p:not(.ocv2-sub) {
  font-size: .9rem;
  line-height: 1.65;
}

.ocv2-body .tags { margin-top: 16px; }

.ocv2-body .case-study { margin-top: auto; padding-top: 16px; }

.ocv2-body .case-study-content ul {
  margin: 8px 0 12px 18px;
  padding: 0;
}

.ocv2-body .case-study-content li {
  font-size: .875rem;
  color: var(--muted);
  margin-bottom: 5px;
  line-height: 1.55;
}

/* ── Offering Cards ─────────────────────────────────────────── */
.offering-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 48px;
}

.offering-card {
  border-radius: 18px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  overflow: hidden;
  transition: border-color .25s ease, background .25s ease;
}

.offering-card:hover {
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.22);
}

.oc-header {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
}

.oc-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: rgba(255,122,0,.22);
  color: #FF7A00;
  font-size: 1.1rem;
}

.offering-card:nth-child(2n) .oc-icon {
  background: rgba(33,66,161,.35);
  color: #a8bfff;
}

.oc-meta { flex: 1; min-width: 0; }

.oc-number {
  display: block;
  font-family: "Poppins", sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: rgba(255,122,0,.75);
  margin-bottom: 2px;
}

.oc-meta h3 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 1rem;
  line-height: 1.3;
}

.oc-sub {
  font-weight: 500;
  color: rgba(255,255,255,.55);
  font-size: .88em;
}

.oc-overview {
  margin: 0;
  color: rgba(255,255,255,.62);
  font-size: .875rem;
  line-height: 1.6;
}

.oc-toggle {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.2);
  background: transparent;
  color: rgba(255,255,255,.75);
  font-family: "Poppins", sans-serif;
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background .22s ease, border-color .22s ease, color .22s ease;
}

.oc-toggle:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.38);
  color: #fff;
}

.oc-toggle i { transition: transform .25s ease; }
.oc-toggle[aria-expanded="true"] i { transform: rotate(180deg); }
.oc-toggle[aria-expanded="true"] span::before { content: "Hide"; }
.oc-toggle[aria-expanded="false"] span::before { content: "View "; }

.oc-body {
  margin: 0 24px;
  padding: 20px 0 24px;
  border-top: 1px solid rgba(255,255,255,.1);
}

.oc-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.oc-cols h4 {
  margin: 0 0 12px;
  color: rgba(255,255,255,.9);
  font-family: "Poppins", sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.oc-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.oc-list li {
  position: relative;
  padding-left: 16px;
  color: rgba(255,255,255,.68);
  font-size: .875rem;
  line-height: 1.55;
}

.oc-list li::before {
  position: absolute;
  left: 0;
  content: "▸";
  color: #FF7A00;
  font-size: .75rem;
  top: 2px;
}

.oc-list.benefits li::before {
  content: "✓";
  color: #4ade80;
}

/* ── Responsive ─────────────────────────────────────────────── */

@media (max-width: 1100px) {
  .sd-card-grid,
  .sd-card-grid.three,
  .sd-approach-grid,
  .sd-tech-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sd-approach-grid::before { display: none; }

  .sd-pill-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .sd-hero-grid,
  .sd-feature-split,
  .sd-contact {
    grid-template-columns: 1fr;
  }

  .sd-visual { min-height: 320px; }

  .sd-project-grid { grid-template-columns: 1fr; }

  .sd-cta-inner { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .offering-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .offering-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }

  .sd-stats-row { gap: 24px; }
  .sd-stat-divider { display: none; }
  .sd-stat-item { min-width: calc(50% - 16px); }

  .benefit-points { grid-template-columns: 1fr; gap: 20px; }

  .oc-header { flex-wrap: wrap; gap: 14px; }
  .oc-toggle { order: 3; width: 100%; justify-content: center; }
  .oc-cols { grid-template-columns: 1fr; gap: 20px; }

  .sd-hero { padding: 58px 0 48px; }
  .sd-hero h1 { font-size: clamp(1.75rem, 8vw, 2.2rem); }

  .sd-table { min-width: 0; }
  .sd-table th,
  .sd-table td { padding: 14px 14px; }
  .sd-table td:first-child { padding-left: 14px; }

  .sd-section { padding: 62px 0; }

  .sd-card-grid,
  .sd-card-grid.three,
  .sd-card-grid.two,
  .sd-approach-grid,
  .sd-pill-grid,
  .sd-tech-groups,
  .sd-inline-stats {
    grid-template-columns: 1fr;
  }

  .sd-hero-actions .btn { width: 100%; justify-content: center; }

  .sd-visual-orbit { width: min(290px, 100%); }

  .sd-visual-core { width: 104px; height: 104px; }

  .sd-orbit-chip { width: 58px; height: 58px; }

  .sd-cta { padding: 34px 25px; }

  .sd-quote { padding: 34px 24px; }
}

/* ── Reduced motion ─────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .sd-card,
  .sd-approach,
  .sd-approach i,
  .sd-tech-group,
  .sd-tags span,
  .sd-pill,
  .sd-table-wrap,
  .sd-table td { opacity: 1 !important; transform: none !important; }

  .sd-pill-track { animation: none !important; }

  .sd-check-list li { opacity: 1 !important; transform: none !important; }
}
