/* ==========================================================================
   OUR-WORK.CSS
   Shared layer for the "Our Work" pages (case-studies.html,
   website-projects.html): hero + filter pills, featured block,
   filterable project cards, device mockup, 5-step process, trust band and
   final CTA. Page-specific additions live in their own file
   (e.g. css/website-projects.css).
   Builds on top of service-modern.css (.svc-page tokens/components) and the
   site's global tokens from style.css / newstyle.css, using the same colour
   set as best-website-designing-company-in-pune.html (.wd-page). Scoped
   under .cs-page so nothing else on the site is affected.
   Loaded AFTER service-modern.css.
   ========================================================================== */

.cs-page {
  --accent: #044a9e;
  --accent2: #1c6fd0;
  --cs-navy: #062a6b;
  --cs-navy-deep: #041b47;
  --cs-pale: #eaf5ff;
  --cs-pale-2: #f4faff;
  --cs-line: rgba(6, 42, 107, 0.12);
  --cs-shadow: 0 10px 34px rgba(6, 42, 107, 0.08);
  --cs-shadow-hover: 0 22px 54px rgba(6, 42, 107, 0.16);
  --cs-font-hand: "Caveat", cursive;
  --svc-line: var(--cs-line);
  --svc-shadow: var(--cs-shadow);
  --svc-shadow-hover: var(--cs-shadow-hover);
}

.cs-page .svc-title {
  color: var(--cs-navy);
}

.cs-page .svc-btn {
  border-radius: 999px;
}

.cs-page .svc-btn--ghost {
  border-color: var(--accent);
}

/* design shows eyebrows without the leading rule, except in the hero */
.cs-page .cs-eyebrow--plain::before {
  display: none;
}

/* current-section state for "Our Work" in the shared header (same look as
   the global .nav-link.active, which main.js's scroll-spy keeps clearing) */
.cs-page .sk-nav .nav-link.is-current {
  color: var(--accent) !important;
}

.cs-page .sk-nav .nav-link.is-current::after {
  transform: scaleX(1);
}

/* active "Case Studies" entry in the shared header dropdown */
.cs-page .sk-nav .sk-dd .dropdown-item.active {
  background: var(--sk-paper-alt, #f0f6fd);
  border-left-color: var(--sk-accent, var(--accent));
  color: var(--sk-accent-ink, var(--accent)) !important;
}

/* shared handwritten overlay text (decorative, aria-hidden in markup) */
.cs-hand {
  font-family: var(--cs-font-hand);
  font-weight: 600;
  line-height: 1.12;
  pointer-events: none;
}

.cs-hand::after {
  content: "";
  display: block;
  width: 52px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent2);
  margin-top: 8px;
}

/* shared text link with arrow */
.cs-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--accent);
  text-decoration: none;
  transition: color 0.25s var(--svc-ease);
}

.cs-link i {
  font-size: 0.8rem;
  line-height: 1;
  display: inline-flex;
  transition: transform 0.3s var(--svc-ease);
}

.cs-link:hover,
.cs-link:focus-visible {
  color: var(--accent2);
}

.cs-link:hover i,
.cs-link:focus-visible i {
  transform: translateX(4px);
}

/* client logo placeholder — replace with the real client logo <img> */
.cs-logo {
  width: 36px;
  height: 36px;
  flex: none;
  display: inline-grid;
  place-items: center;
  border-radius: 9px;
  background: var(--cs-pale);
  border: 1px solid var(--cs-line);
  color: var(--accent);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

.cs-logo--sm {
  width: 32px;
  height: 32px;
  font-size: 0.74rem;
}

img.cs-logo {
  object-fit: contain;
  background: #fff;
  padding: 3px;
}

/* --------------------------------------------------------------------------
   1. HERO — content left, image card right, both inside the .container
   -------------------------------------------------------------------------- */
.cs-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, var(--cs-pale-2) 100%);
  padding: 40px 0 44px;
}

.cs-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.cs-hero__media {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--cs-shadow-hover);
  aspect-ratio: 3 / 2;
}

.cs-hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(4, 27, 71, 0.35) 0%, rgba(4, 27, 71, 0) 40%, rgba(4, 27, 71, 0) 55%, rgba(4, 27, 71, 0.5) 100%);
  pointer-events: none;
}

.cs-hero__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s var(--svc-ease);
}

.cs-hero__media:hover .cs-hero__img {
  transform: scale(1.04);
}

.cs-hero__hand {
  position: absolute;
  z-index: 2;
  font-size: clamp(1.25rem, 1.9vw, 1.7rem);
  color: #fff;
  text-shadow: 0 2px 12px rgba(4, 27, 71, 0.5);
  transform: rotate(-5deg);
}

.cs-hero__hand::after {
  background: #9fcaff;
}

.cs-hero__hand--one {
  top: 10%;
  left: 7%;
}

.cs-hero__hand--two {
  bottom: 10%;
  right: 7%;
}

.cs-hero__filters {
  margin-top: 30px;
}

.cs-hero__content {
  max-width: 680px;
}

.cs-hero__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2rem, 4.1vw, 3.1rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--cs-navy);
  margin: 4px 0 18px;
}

.cs-hero__title span {
  color: var(--accent2);
}

.cs-hero__text {
  font-size: 1rem;
  line-height: 1.72;
  color: var(--text2);
  margin: 0 0 26px;
  max-width: 560px;
}

/* filter pills */
.cs-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cs-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 15px;
  border-radius: 999px;
  border: 1.5px solid rgba(28, 111, 208, 0.45);
  background: #fff;
  color: var(--cs-navy);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.82rem;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(6, 42, 107, 0.06);
  transition: background 0.25s var(--svc-ease), color 0.25s var(--svc-ease),
    border-color 0.25s var(--svc-ease), transform 0.25s var(--svc-ease), box-shadow 0.25s var(--svc-ease);
}

.cs-filter:hover {
  border-color: var(--accent2);
  color: var(--accent);
  transform: translateY(-2px);
}

.cs-filter:focus-visible {
  outline: 3px solid rgba(28, 111, 208, 0.35);
  outline-offset: 2px;
}

.cs-filter.is-active {
  background: linear-gradient(135deg, var(--accent2) 0%, var(--accent) 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 24px rgba(4, 74, 158, 0.26);
}

/* --------------------------------------------------------------------------
   2. FEATURED CASE STUDY
   -------------------------------------------------------------------------- */
.cs-featured {
  padding: 10px 0 20px;
}

.cs-featured__card {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.62fr;
  background: linear-gradient(135deg, var(--cs-pale-2) 0%, var(--cs-pale) 100%);
  border: 1px solid var(--cs-line);
  border-radius: 24px;
  box-shadow: var(--cs-shadow);
  overflow: hidden;
}

.cs-featured__main {
  padding: 34px 28px 30px 38px;
  min-width: 0;
}

.cs-featured__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.45rem, 2.3vw, 1.9rem);
  line-height: 1.2;
  color: var(--cs-navy);
  margin: 0 0 6px;
}

.cs-featured__subtitle {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.02rem;
  color: var(--text);
  margin: 0 0 16px;
}

.cs-featured__services {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.cs-featured__services li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--cs-navy);
}

.cs-featured__services i {
  font-size: 1.25rem;
  line-height: 1;
  display: inline-flex;
  color: var(--accent2);
}

.cs-featured__desc {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text2);
  margin: 0 0 22px;
  max-width: 480px;
}

/* device mockup (pure CSS frames around replaceable images) */
.cs-devices {
  position: relative;
  max-width: 440px;
  padding-right: 64px;
  padding-bottom: 10px;
}

.cs-devices__screen {
  background: #0e1420;
  border-radius: 12px 12px 3px 3px;
  padding: 7px 7px 0;
  box-shadow: 0 24px 48px rgba(6, 42, 107, 0.28);
}

.cs-devices__screen img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  border-radius: 4px 4px 0 0;
}

.cs-devices__base {
  height: 12px;
  margin: 0 -6%;
  background: linear-gradient(180deg, #d9dee6 0%, #aeb6c2 100%);
  border-radius: 0 0 14px 14px;
}

.cs-devices__phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 26%;
  padding: 5px;
  background: #0e1420;
  border-radius: 16px;
  box-shadow: 0 18px 36px rgba(6, 42, 107, 0.32);
}

.cs-devices__phone img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 18;
  object-fit: cover;
  object-position: center;
  border-radius: 11px;
}

/* challenge / solution / outcome */
.cs-featured__details {
  padding: 34px 28px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  min-width: 0;
}

.cs-featured__point {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.cs-featured__icon {
  width: 42px;
  height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--cs-line);
  color: var(--accent2);
  font-size: 1.15rem;
  box-shadow: 0 6px 16px rgba(6, 42, 107, 0.06);
}

.cs-featured__icon i {
  display: inline-flex;
  line-height: 1;
}

.cs-featured__label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--cs-navy);
  margin: 2px 0 4px;
}

.cs-featured__point p {
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--text2);
  margin: 0;
}

.cs-featured__btn {
  align-self: flex-start;
  margin-top: 4px;
  margin-left: 58px;
}

/* right-hand quote panel */
.cs-featured__side {
  position: relative;
  min-height: 100%;
  overflow: hidden;
}

.cs-featured__side img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s var(--svc-ease);
}

.cs-featured__card:hover .cs-featured__side img {
  transform: scale(1.04);
}

.cs-featured__side::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(244, 250, 255, 0.97) 0%, rgba(244, 250, 255, 0.9) 42%, rgba(244, 250, 255, 0.1) 72%);
}

.cs-featured__quote-mark {
  position: absolute;
  z-index: 2;
  top: 26px;
  left: 24px;
  font-size: 2.6rem;
  line-height: 1;
  color: rgba(28, 111, 208, 0.28);
}

.cs-featured__hand {
  position: absolute;
  z-index: 2;
  top: 78px;
  left: 24px;
  right: 16px;
  font-size: clamp(1.35rem, 1.8vw, 1.7rem);
  color: var(--cs-navy);
  transform: rotate(-4deg);
}

/* --------------------------------------------------------------------------
   3. CASE STUDIES GRID
   -------------------------------------------------------------------------- */
.cs-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 40px;
  margin-bottom: 30px;
}

.cs-section-head .svc-p {
  max-width: 640px;
}

.cs-section-head__link {
  flex: none;
  margin-bottom: 18px;
}

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

.cs-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--cs-line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 22px rgba(6, 42, 107, 0.06);
  /* keeps the [data-reveal] fade while adding the hover lift */
  transition: opacity 0.7s var(--svc-ease), transform 0.35s var(--svc-ease), box-shadow 0.35s var(--svc-ease), border-color 0.35s var(--svc-ease);
}

.cs-card[hidden] {
  display: none;
}

.cs-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--cs-shadow-hover);
  border-color: rgba(28, 111, 208, 0.3);
}

/* cards revealed on scroll keep the hover lift working after reveal */
.cs-card[data-reveal].is-visible:hover {
  transform: translateY(-6px);
}

.cs-card__media {
  overflow: hidden;
  /* aspect-ratio: 16 / 8; */
  background: var(--cs-pale);
}

.cs-card__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s var(--svc-ease);
}

.cs-card:hover .cs-card__media img {
  transform: scale(1.06);
}

.cs-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 22px 22px;
}

.cs-card__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--cs-line);
}

.cs-card__brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.25;
}

.cs-card__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--accent);
  margin: 0 0 3px;
  line-height: 1.3;
}

.cs-card__services {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text3);
  margin: 0 0 10px;
}

.cs-card__text {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text2);
  margin: 0 0 16px;
}

.cs-card .cs-link {
  margin-top: auto;
  align-self: flex-start;
}

/* empty state for filters without published case studies */
.cs-empty {
  text-align: center;
  background: var(--cs-pale-2);
  border: 1px dashed rgba(28, 111, 208, 0.35);
  border-radius: 16px;
  padding: 36px 24px;
}

.cs-empty__icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  color: var(--accent2);
  font-size: 1.3rem;
  border: 1px solid var(--cs-line);
  margin-bottom: 12px;
}

.cs-empty__text {
  max-width: 520px;
  margin: 0 auto 14px;
  color: var(--text2);
  font-size: 0.95rem;
  line-height: 1.65;
}

.cs-empty__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
}

/* --------------------------------------------------------------------------
   4. CASE STUDY FRAMEWORK — 5 horizontal steps with arrow connectors
   -------------------------------------------------------------------------- */
.cs-framework__row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px;
  counter-reset: none;
}

.cs-step {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}

/* arrow connector between steps */
.cs-step:not(:last-child)::after {
  content: "\f138";
  font-family: "bootstrap-icons";
  position: absolute;
  top: 18px;
  right: -22px;
  font-size: 1.05rem;
  line-height: 1;
  color: var(--accent2);
}

.cs-step__icon {
  width: 58px;
  height: 58px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(28, 111, 208, 0.25);
  box-shadow: 0 0 0 6px rgba(28, 111, 208, 0.08);
  color: var(--accent2);
  font-size: 1.35rem;
  transition: background 0.3s var(--svc-ease), color 0.3s var(--svc-ease);
}

.cs-step__icon i {
  display: inline-flex;
  line-height: 1;
}

.cs-step:hover .cs-step__icon {
  background: var(--accent2);
  color: #fff;
}

.cs-step__body {
  min-width: 0;
}

.cs-step__num {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--accent2);
  margin: 2px 0 2px;
}

.cs-step__num span {
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cs-navy);
}

.cs-step__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.3;
  color: var(--cs-navy);
  margin: 0 0 6px;
}

.cs-step__text {
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--text2);
  margin: 0;
}

/* 7-step variant (SEO & Digital, Video Projects): icon-over-text columns on
   laptop/desktop; below 992px it uses the shared vertical timeline. */
@media (min-width: 992px) {
  .cs-framework--7 .cs-framework__row {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 20px;
  }

  .cs-framework--7 .cs-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .cs-framework--7 .cs-step:not(:last-child)::after {
    top: 20px;
    right: -16px;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .cs-framework--7 .cs-step__text {
    font-size: 0.76rem;
  }
}

/* --------------------------------------------------------------------------
   5. SEO / DIGITAL RESULTS
   -------------------------------------------------------------------------- */
.cs-results__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.cs-result {
  background: #fff;
  border: 1px solid var(--cs-line);
  border-radius: 16px;
  padding: 24px 26px 26px;
  box-shadow: 0 6px 22px rgba(6, 42, 107, 0.05);
  transition: opacity 0.7s var(--svc-ease), transform 0.35s var(--svc-ease), box-shadow 0.35s var(--svc-ease);
}

.cs-result:hover {
  transform: translateY(-4px);
  box-shadow: var(--cs-shadow);
}

.cs-result[data-reveal].is-visible:hover {
  transform: translateY(-4px);
}

.cs-result__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--cs-line);
}

.cs-result__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--cs-navy);
  margin: 0;
  line-height: 1.3;
}

.cs-result__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.cs-result__list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text2);
}

.cs-result__list li::before {
  content: "\f231";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  top: 0.3em;
  font-size: 0.72rem;
  line-height: 1;
  color: var(--accent2);
}

/* --------------------------------------------------------------------------
   6. TRUST BAND
   -------------------------------------------------------------------------- */
.cs-trust {
  padding: 10px 0 50px;
}

.cs-trust__band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
  align-items: center;
  gap: 40px;
  padding: 38px 46px;
  border-radius: 22px;
  background: linear-gradient(90deg, var(--cs-pale) 0%, var(--cs-pale-2) 100%);
  border: 1px solid var(--cs-line);
  overflow: hidden;
}

.cs-trust__bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 46%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.14;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 60%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 60%);
  pointer-events: none;
}

.cs-trust__head,
.cs-trust__body,
.cs-trust__divider {
  position: relative;
  z-index: 1;
}

.cs-trust__head .svc-eyebrow {
  margin-bottom: 10px;
}

.cs-trust__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.35rem, 2.3vw, 1.8rem);
  line-height: 1.2;
  color: var(--cs-navy);
  margin: 0;
}

.cs-trust__divider {
  width: 1px;
  align-self: stretch;
  background: rgba(28, 111, 208, 0.28);
}

.cs-trust__body {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cs-trust__icon {
  width: 60px;
  height: 60px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--accent2);
  font-size: 1.7rem;
  box-shadow: 0 8px 20px rgba(6, 42, 107, 0.08);
}

.cs-trust__icon i {
  display: inline-flex;
  line-height: 1;
}

.cs-trust__text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text2);
  margin: 0;
}

/* --------------------------------------------------------------------------
   7. FINAL CTA — dark navy, content left, image right with divider
   -------------------------------------------------------------------------- */
.cs-final-cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #081b30 0%, var(--cs-navy-deep) 45%, var(--cs-navy) 100%);
  padding: 64px 0;
  min-height: 380px;
  display: flex;
  align-items: center;
}

.cs-final-cta > .container {
  position: relative;
  z-index: 2;
}

.cs-final-cta__media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 46%;
  z-index: 1;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.cs-final-cta__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.cs-final-cta__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(4, 27, 71, 0.9) 0%, rgba(4, 27, 71, 0.35) 38%, rgba(4, 27, 71, 0.05) 100%);
}

.cs-final-cta__hand {
  position: absolute;
  z-index: 2;
  top: 18%;
  left: 12%;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  color: #fff;
  transform: rotate(-6deg);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.cs-final-cta__hand::after {
  background: #9fcaff;
}

.cs-final-cta__content {
  max-width: 560px;
}

.cs-final-cta__eyebrow {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: #cfe3ff;
  margin-bottom: 8px;
}

.cs-final-cta__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.18;
  color: #fff;
  margin: 0 0 14px;
}

.cs-final-cta__text {
  font-size: 0.98rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.cs-final-cta .svc-btn:not(.svc-btn--ghost) {
  background: var(--accent2);
  border-color: var(--accent2);
}

.cs-final-cta .svc-btn:not(.svc-btn--ghost):hover {
  background: #2684e5;
  border-color: #2684e5;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.3);
}

.cs-page .cs-btn--light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}

.cs-page .cs-btn--light:hover {
  color: #fff;
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* --------------------------------------------------------------------------
   8. RESPONSIVE
   Satkar breakpoints: laptop 992–1199 · tablet 576–991 · mobile ≤575
   -------------------------------------------------------------------------- */
@media (max-width: 1199.98px) {
  .cs-featured__card {
    grid-template-columns: 1.1fr 1fr;
  }

  .cs-featured__side {
    display: none;
  }

  /* framework: icon on top so five columns still fit without overflow */
  .cs-framework__row {
    gap: 22px;
  }

  .cs-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .cs-step:not(:last-child)::after {
    top: 20px;
    right: -18px;
  }
}

@media (max-width: 991.98px) {
  .cs-hero {
    padding: 30px 0 36px;
  }

  .cs-hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .cs-hero__media {
    order: -1;
  }

  .cs-hero__content {
    max-width: none;
  }

  .cs-featured__card {
    grid-template-columns: 1fr;
  }

  .cs-featured__main {
    padding: 30px 28px 10px;
  }

  .cs-featured__details {
    padding: 20px 28px 32px;
  }

  .cs-devices {
    margin: 0 auto;
  }

  .cs-grid,
  .cs-results__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* framework becomes a vertical timeline */
  .cs-framework__row {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 640px;
  }

  .cs-step {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 18px;
    padding-bottom: 26px;
  }

  .cs-step:not(:last-child)::after {
    content: "";
    font-family: inherit;
    top: 66px;
    bottom: 6px;
    left: 28px;
    right: auto;
    width: 2px;
    background: linear-gradient(180deg, rgba(28, 111, 208, 0.45), rgba(28, 111, 208, 0.1));
  }

  .cs-step:last-child {
    padding-bottom: 0;
  }

  .cs-trust__band {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 32px 30px;
  }

  .cs-trust__divider {
    width: 60px;
    height: 1px;
    align-self: auto;
  }

  .cs-trust__bg {
    width: 70%;
  }

  .cs-final-cta {
    display: block;
    min-height: 0;
    padding: 0 0 50px;
  }

  .cs-final-cta__media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 7;
    border-left: 0;
    margin-bottom: 34px;
  }

  .cs-final-cta__media::before {
    background: linear-gradient(0deg, rgba(4, 27, 71, 1) 0%, rgba(4, 27, 71, 0.2) 45%, rgba(4, 27, 71, 0.1) 100%);
  }

  .cs-final-cta__content {
    max-width: none;
  }
}

@media (max-width: 767.98px) {
  .cs-section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .cs-section-head__link {
    margin-bottom: 0;
  }
}

@media (max-width: 575.98px) {
  .cs-hero__hand--one {
    display: none;
  }

  .cs-hero__hand--two {
    font-size: 1.2rem;
    right: 6%;
  }

  .cs-filters {
    gap: 8px;
  }

  .cs-filter {
    padding: 9px 16px;
    font-size: 0.82rem;
  }

  .cs-featured__main {
    padding: 26px 20px 8px;
  }

  .cs-featured__details {
    padding: 18px 20px 28px;
  }

  .cs-featured__btn {
    margin-left: 0;
  }

  .cs-devices {
    padding-right: 48px;
  }

  .cs-grid,
  .cs-results__grid {
    grid-template-columns: 1fr;
  }

  .cs-result {
    padding: 22px 20px;
  }

  .cs-trust__band {
    padding: 28px 22px;
    border-radius: 18px;
  }

  .cs-trust__body {
    align-items: flex-start;
    gap: 16px;
  }

  .cs-trust__icon {
    width: 50px;
    height: 50px;
    font-size: 1.4rem;
  }

  .cs-final-cta__media {
    aspect-ratio: 4 / 3;
  }

  .cs-final-cta__hand {
    font-size: 1.4rem;
    left: 8%;
  }

  .cs-final-cta .svc-btns {
    flex-direction: column;
    align-items: stretch;
  }

  .cs-final-cta .svc-btn {
    justify-content: center;
    white-space: normal;
    text-align: center;
  }
}

@media (max-width: 399.98px) {
  .cs-filter {
    flex: 1 1 calc(50% - 8px);
    padding: 9px 10px;
  }

  .cs-filter[data-filter="all"] {
    flex-basis: 100%;
  }
}

/* --------------------------------------------------------------------------
   9. REDUCED MOTION
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .cs-filter,
  .cs-card,
  .cs-card__media img,
  .cs-result,
  .cs-featured__side img,
  .cs-step__icon,
  .cs-link i,
  .cs-hero__img {
    transition: none;
  }

  .cs-card:hover,
  .cs-result:hover,
  .cs-filter:hover,
  .cs-card[data-reveal].is-visible:hover,
  .cs-result[data-reveal].is-visible:hover {
    transform: none;
  }

  .cs-card:hover .cs-card__media img,
  .cs-featured__card:hover .cs-featured__side img,
  .cs-hero__media:hover .cs-hero__img {
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   OUR WORK PAGES — SECTION BACKGROUND RHYTHM
   Every section alternates #eaf5ff (svc-bg--soft) / #fff (svc-bg--white),
   starting with the hero. The svc-bg classes only set background-color, so
   the heroes' white-to-pale gradient is cleared to let the solid colour show.
   -------------------------------------------------------------------------- */
.cs-hero.svc-bg--soft,
.wp-hero.svc-bg--soft,
.bp-hero.svc-bg--soft {
  background-image: none;
}
