.cs-hero { position: relative; overflow: hidden; padding-block: clamp(10px, 5vw, 96px) clamp(10px, 8vw, 120px);
  background: linear-gradient(180deg, #fff 0%, var(--tint) 100%); }

/* Our Process: all 4 cards in a single row with a colored top accent line */
.cs-process-grid { grid-template-columns: repeat(4, 1fr); }
.cs-process-grid .svc-card { border-top: 3px solid var(--sc, var(--blue)); padding-top: 24px; padding-left: clamp(20px, 2.4vw, 30px); }
.cs-process-grid .svc-card:first-child { padding-left: 0; }
.cs-process-grid .svc-card:not(:first-child) { border-left: 1px solid var(--border); }
.cs-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.cs-title { margin: 18px 0 20px; max-width: 15ch; }
.cs-lead { margin-bottom: 30px; }
.cs-cta { display: flex; flex-wrap: wrap; gap: 13px; }

/* ---------- hero visual: scanning cloud ---------- */
.cs-scan { display: flex; align-items: center; justify-content: center; }
.cs-scan svg { width: 100%; max-width: 420px; height: auto; overflow: visible; }
.cs-glow { fill: url(#csCloudGrad); opacity: .5; filter: blur(30px); transform-box: fill-box; transform-origin: center; animation: cs-glow-breathe 4.5s var(--ease) infinite; }
.cs-cloud { fill: url(#csCloudGrad); stroke: #fff; stroke-width: 2; }
.cs-badge { fill: var(--navy-800); stroke: #fff; stroke-width: 4; filter: drop-shadow(0 10px 18px rgba(8,24,47,.35)); }
.cs-badge-ic { color: #fff; }
.cs-badge-pulse {
  fill: none; stroke: var(--cyan); stroke-width: 1.6; opacity: 0;
  transform-box: fill-box; transform-origin: center; animation: cs-badge-pulse 3s var(--ease) infinite;
}
.cs-scanbar {
  fill: url(#csScanGrad);
  transform-box: fill-box; transform-origin: center;
  animation: cs-sweep 3.2s ease-in-out infinite;
}
.cs-tick circle:nth-child(2) { fill: #fff; stroke: var(--tc, var(--blue)); stroke-width: 1.6; }
.cs-tick { filter: drop-shadow(0 6px 12px rgba(8,24,47,.14)); }
.cs-tick .ic { color: var(--tc, var(--blue)); }
.cs-tick-ring {
  fill: none; stroke: var(--tc, var(--blue)); stroke-width: 1.4;
  transform-box: fill-box; transform-origin: center;
  animation: cs-blip 3.2s var(--ease) infinite;
}
.cs-dot { fill: var(--cyan); animation: cs-dot-drift 6s var(--ease) infinite alternate; }
.cs-dot--b { fill: var(--violet); animation-duration: 7.5s; animation-delay: -2s; }
.cs-dot--c { fill: var(--teal); animation-duration: 5.5s; animation-delay: -4s; }

@keyframes cs-sweep {
  0% { transform: translateY(-42px); opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { transform: translateY(108px); opacity: 0; }
}
@keyframes cs-blip {
  0%, 70%, 100% { transform: scale(1); opacity: 0; }
  8% { transform: scale(1); opacity: 1; }
  32% { transform: scale(1.7); opacity: 0; }
}
@keyframes cs-glow-breathe {
  0%, 100% { transform: scale(1); opacity: .5; }
  50% { transform: scale(1.1); opacity: .3; }
}
@keyframes cs-badge-pulse {
  0% { transform: scale(1); opacity: .7; }
  100% { transform: scale(1.5); opacity: 0; }
}
@keyframes cs-dot-drift {
  from { transform: translate(0, 0); }
  to { transform: translate(8px, -10px); }
}

/* ============================================================
   WHAT IS CLOUD SECURITY — left-aligned, full width
   ============================================================ */
.cs-intro .intro__grid { align-items: center; }

/* ============================================================
   FINAL CTA — floating note cluster (same pattern as vapt/soc/grc)
   ============================================================ */
.cs-cluster { position: relative; height: 380px; }
.cs-note {
  position: absolute; width: 220px; border-radius: 16px; padding: 18px 20px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: #E8EEF8; box-shadow: 0 30px 60px -30px rgba(0,0,0,.5);
  opacity: 0; transform: translateY(18px) rotate(var(--rot, 0deg));
  transition: opacity 700ms var(--ease), transform 700ms var(--ease), box-shadow 300ms var(--ease), border-color 300ms var(--ease);
}
.reveal.in .cs-note { opacity: 1; transform: translateY(0) rotate(var(--rot, 0deg)); animation: cs-float 6s var(--ease) infinite; }
.cs-note:hover { animation-play-state: paused; transform: translateY(-8px) rotate(var(--rot, 0deg)) scale(1.035); box-shadow: 0 36px 74px -28px rgba(0,0,0,.6); border-color: rgba(125,224,236,.4); }
.cs-note__ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 12px; background: rgba(125,224,236,.14); color: #7DE0EC; }
.cs-note__ic svg { width: 19px; height: 19px; }
.cs-note b { display: block; font-family: var(--display); font-weight: 600; font-size: 0.98rem; margin-bottom: 4px; }
.cs-note span { font-size: 0.82rem; color: #9FB0CC; line-height: 1.5; }
.cs-note--a { top: 6%; left: 4%; --rot: -4deg; animation-delay: .2s !important; }
.cs-note--b { top: 40%; left: 28%; --rot: 3deg; transition-delay: 140ms; animation-delay: 1.3s !important; }
.cs-note--c { top: 66%; left: 4%; --rot: -2deg; transition-delay: 280ms; animation-delay: 2.4s !important; }

@keyframes cs-float {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50% { transform: translateY(-11px) rotate(var(--rot, 0deg)); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .cs-grid { grid-template-columns: 1fr; }
  .cs-scan svg { max-width: 360px; }
}
@media (max-width: 720px) {
  .cs-cluster { height: auto; display: flex; flex-direction: column; gap: 14px; }
  .cs-note, .reveal.in .cs-note { position: static; width: auto; transform: none !important; animation: none !important; }
}
@media (max-width: 640px) {
  /* Our Process cards: single swipeable line, top accent line only (no full box border) */
  .cs-process-grid.svc-grid { flex-wrap: nowrap; }
  .cs-process-grid .svc-card {
    border: 0 !important; border-top: 3px solid var(--sc, var(--blue)) !important;
    border-radius: 0 !important; box-shadow: none !important; background: var(--tint);
  }
}
@media (prefers-reduced-motion: reduce) {
  .cs-note { transition: none !important; opacity: 1 !important; transform: none !important; }
  .cs-note, .reveal.in .cs-note { animation: none !important; }
  .cs-scanbar, .cs-tick-ring { animation: none !important; opacity: 0 !important; }
  .cs-glow, .cs-badge-pulse, .cs-dot { animation: none !important; }
  .cs-badge-pulse { opacity: 0 !important; }
}

@media (max-width: 640px) {
  /* Coverage areas: one card per row */
  .process__flow.problem { grid-template-columns: 1fr; gap: 12px; }

  /* Our process: stacked cards on phones */
  .cs-process-grid.svc-grid { display: grid; grid-template-columns: 1fr; gap: 12px; overflow: visible; }
  .cs-process-grid .svc-card {
    width: auto; max-width: none; border: 1px solid var(--border) !important; border-radius: 16px !important;
    padding: 18px !important; background: #fff !important; box-shadow: var(--shadow-sm) !important;
  }
}

/* hero spacing: 40px desktop, 10px phones */
.cs-hero { padding-block: 40px; }
@media (max-width: 640px) {
  .cs-hero { padding-block: 10px; }
}
