/* ==========================================================================
   DIGITAL-MARKETING.CSS
   Page-specific layer for digital-marketing.html.
   Builds on top of service-modern.css (.svc-page tokens/components) and the
   site's global tokens from style.css / newstyle.css. Scoped under .dm-page
   so nothing else on the site is affected.
   Loaded AFTER service-modern.css.
   ========================================================================== */

.dm-page {
  /* Brighter brand blue used across this page family (approved palette),
     scoped locally so the shared .svc-* components inherit it here without
     touching the sitewide --accent used by older service pages. */
  --accent: #044a9e;
  --accent2: #1c6fd0;
  --dm-navy: #0f2a4d;
  --dm-pale: #eaf3fc;
  --dm-pale-2: #eaf5ff;
  --dm-line: rgba(15, 42, 77, 0.12);
  --dm-shadow: 0 10px 34px rgba(15, 42, 77, 0.08);
  --dm-font-hand: "Caveat", cursive;
  /* tokens used by the shared .cs-card / .csm case-study components */
  --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);
}

.dm-page .svc-title,
.dm-page .svc-hero__title {
  color: var(--dm-navy);
}

.dm-page .svc-section--alt {
  background: var(--dm-pale-2);
}

/* --------------------------------------------------------------------------
   1. HERO
   -------------------------------------------------------------------------- */
.dm-hero {
  padding-top: 44px;
  padding-bottom: 30px;
  background: linear-gradient(180deg, #fbfdff 0%, #ffffff 60%);
}

.dm-hero__grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 50px;
  align-items: center;
}

.dm-hero__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.85rem);
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: var(--dm-navy);
  margin: 16px 0 18px;
}

.dm-hero__title span {
  color: var(--accent);
}

.dm-hero__text p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text2);
  margin: 0 0 14px;
}

.dm-hero__text p:last-child {
  margin-bottom: 0;
}

/* --- hero visual: laptop / growth-chart composition (image + CSS overlays) */
.dm-hero__visual {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dm-hero__art {
  position: relative;
  width: 100%;
  max-width: 460px;
}

.dm-hero__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
}

.dm-hero__float {
  position: absolute;
  background: #fff;
  border: 1px solid var(--dm-line);
  border-radius: 14px;
  box-shadow: var(--dm-shadow);
  padding: 14px 18px;
  z-index: 3;
}

.dm-hero__float--checklist {
  right: -6%;
  bottom: -8%;
  min-width: 168px;
}

.dm-hero__float--checklist ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dm-hero__float--checklist li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--dm-navy);
  padding: 4px 0;
  white-space: nowrap;
}

.dm-hero__float--checklist i {
  color: var(--accent);
  font-size: 0.9rem;
}

.dm-hero__hand {
  position: absolute;
  top: -8%;
  right: 2%;
  font-family: var(--dm-font-hand);
  font-weight: 600;
  font-size: 1.35rem;
  line-height: 1.25;
  color: var(--accent2);
  text-align: right;
  transform: rotate(-2deg);
  z-index: 3;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   2. TRUST / LOCATION STRIP
   -------------------------------------------------------------------------- */
.dm-trust-strip {
  padding: 26px 0;
  border-top: 1px solid var(--dm-line);
  border-bottom: 1px solid var(--dm-line);
  background: #fff;
}

.dm-trust-strip__list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.dm-trust-strip__item {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1 1 220px;
}

.dm-trust-strip__icon {
  width: 42px;
  height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--dm-pale);
  color: var(--accent);
  /* font-size: 1.1rem; */
  font-size: 28px;
}

.dm-trust-strip__num {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.04em;
}

.dm-trust-strip__title {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--dm-navy);
  line-height: 1.3;
}

.dm-trust-strip__text {
  display: block;
  font-size: 0.82rem;
  color: var(--text3);
}

/* --------------------------------------------------------------------------
   3. TRUST POSITIONING CARDS
   -------------------------------------------------------------------------- */
.dm-positioning {
  padding: 44px 0;
  background: #fff;
}

.dm-positioning__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.dm-positioning__card {
  background: var(--dm-pale);
  border-radius: 14px;
  padding: 22px 20px;
  transition: transform 0.3s var(--svc-ease), box-shadow 0.3s var(--svc-ease);
}

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

.dm-positioning__icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #fff;
  color: var(--accent);
  /* font-size: 1.05rem; */
  font-size: 28px;
  margin-bottom: 14px;
}

.dm-positioning__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--dm-navy);
  margin: 0 0 8px;
}

.dm-positioning__text {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text3);
  margin: 0;
}

/* --------------------------------------------------------------------------
   4. INTRODUCTION / BUSINESS GOALS
   -------------------------------------------------------------------------- */
.dm-intro__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 50px;
  align-items: start;
}

.dm-intro__checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.dm-intro__item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--dm-line);
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: var(--dm-shadow);
}

.dm-intro__item i {
  color: var(--accent);
  font-size: 1.05rem;
  flex: none;
}

.dm-intro__item span {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--dm-navy);
}

.dm-intro__note {
  margin-top: 22px;
  font-size: 0.98rem;
  color: var(--text2);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   5. SERVICES GRID
   -------------------------------------------------------------------------- */
.dm-services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.dm-service-card {
  background: #fff;
  border: 1px solid var(--dm-line);
  border-radius: 14px;
  padding: 24px 22px;
  box-shadow: var(--dm-shadow);
  transition: transform 0.3s var(--svc-ease), box-shadow 0.3s var(--svc-ease),
    border-color 0.3s var(--svc-ease);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.dm-service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 46px rgba(15, 42, 77, 0.13);
  border-color: rgba(38, 132, 229, 0.3);
}

.dm-service-card__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  border: 1.5px solid rgba(38, 132, 229, 0.3);
  background: var(--dm-pale);
  color: var(--accent);
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.dm-service-card__num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--text3);
  display: block;
  margin-bottom: 6px;
}

.dm-service-card__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--dm-navy);
  margin: 0 0 8px;
  line-height: 1.32;
}

.dm-service-card__text {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text3);
  margin: 0 0 16px;
  flex: 1;
}

.dm-service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--accent);
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  align-self: flex-start;
  margin-top: auto;
}

.dm-service-card__link i {
  transition: transform 0.25s var(--svc-ease);
  font-size: 0.8rem;
}

.dm-service-card__link:hover i {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   6. SERVICE DETAIL MODAL
   -------------------------------------------------------------------------- */
.dm-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s var(--svc-ease), visibility 0.28s var(--svc-ease);
}

.dm-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.dm-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 26, 46, 0.55);
}

.dm-modal__panel {
  position: relative;
  background: #fff;
  border-radius: 18px;
  max-width: 620px;
  width: 100%;
  max-height: 86vh;
  overflow-y: auto;
  padding: 36px 34px;
  box-shadow: 0 30px 80px rgba(6, 20, 38, 0.35);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.28s var(--svc-ease);
}

.dm-modal.is-open .dm-modal__panel {
  transform: translateY(0) scale(1);
}

.dm-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--dm-line);
  background: #fff;
  color: var(--dm-navy);
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 1rem;
}

.dm-modal__close:hover {
  background: var(--dm-pale);
  color: var(--accent);
}

.dm-modal__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--dm-pale);
  color: var(--accent);
  font-size: 1.35rem;
  margin-bottom: 18px;
}

.dm-modal__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--dm-navy);
  margin: 0 0 6px;
}

.dm-modal__subtitle {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  color: var(--accent);
  margin: 0 0 14px;
}

.dm-modal__intro {
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--text2);
  margin: 0 0 16px;
}

.dm-modal__label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--dm-navy);
  margin: 0 0 12px;
}

.dm-modal__list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 20px;
}

.dm-modal__list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text2);
}

.dm-modal__list li::before {
  content: "\f26e";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--accent);
  font-size: 0.88rem;
}

.dm-modal__note {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text3);
  font-style: italic;
  margin: 0;
  border-top: 1px solid var(--dm-line);
  padding-top: 14px;
}

body.dm-modal-open {
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   7. ECOSYSTEM DIAGRAM
   -------------------------------------------------------------------------- */
.dm-ecosystem {
  background: var(--dm-pale);
}

.dm-ecosystem__grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* the channel flow reads left → right as one pipeline (stacks again ≤992px) */
.dm-flow {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dm-flow__row {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}

.dm-flow__box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--dm-line);
  border-radius: 12px;
  padding: 11px 12px;
  line-height: 1.25;
  text-align: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--dm-navy);
  box-shadow: var(--dm-shadow);
}

.dm-flow__box i {
  flex: none;
  display: inline-flex;
  color: var(--accent);
  font-size: 1.05rem;
}

.dm-flow__box--primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.dm-flow__box--primary i {
  color: #fff;
}

.dm-flow__box--final {
  background: var(--dm-navy);
  color: #fff;
  border-color: var(--dm-navy);
}

.dm-flow__box--final i {
  color: #fff;
}

.dm-flow__connector {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  color: var(--accent);
  font-size: 1.1rem;
}

.dm-flow__connector i {
  display: inline-flex;
}

.dm-ecosystem__side {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.dm-ecosystem__panel {
  height: 100%;
  background: #fff;
  border-radius: 16px;
  padding: 26px 24px;
  box-shadow: var(--dm-shadow);
}

.dm-ecosystem__panel-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--dm-navy);
  margin: 0 0 16px;
}

.dm-ecosystem__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dm-ecosystem__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.94rem;
  color: var(--text2);
  font-weight: 600;
  font-family: var(--font-head);
}

.dm-ecosystem__list i {
  color: var(--accent);
  font-size: 1rem;
}

.dm-ecosystem__hand {
  font-family: var(--dm-font-hand);
  font-weight: 600;
  font-size: 1.4rem;
  line-height: 1.3;
  color: var(--accent2);
  text-align: center;
  margin: -4px 0 0;
  transform: rotate(-1deg);
}

.dm-ecosystem__chart {
  display: flex;
  flex-direction: column;
  background: var(--dm-navy);
  border-radius: 16px;
  padding: 26px 24px;
  color: #fff;
}

/* the image takes whatever height the "Why" panel sets for the row */
.dm-ecosystem__chart-img {
  display: block;
  width: 100%;
  height: 0;
  flex: 1 1 auto;
  min-height: 150px;
  object-fit: cover;
  border-radius: 10px;
}

.dm-ecosystem__chart-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  margin: 0 0 4px;
}

.dm-ecosystem__chart-sub {
  font-size: 0.88rem;
  color: #bcd8ff;
  margin: 0 0 18px;
}

.dm-ecosystem__bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 70px;
}

.dm-ecosystem__bars span {
  flex: 1;
  background: linear-gradient(180deg, #6db2ff, var(--accent));
  border-radius: 4px 4px 0 0;
}

/* --------------------------------------------------------------------------
   8. MANUFACTURING & B2B
   -------------------------------------------------------------------------- */
.dm-b2b__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px 40px;
  align-items: start;
}

.dm-b2b__example {
  grid-column: 1 / -1;
  padding-top: 26px;
  border-top: 1px solid var(--dm-line);
}

.dm-b2b__example .svc-minihead {
  margin-bottom: 18px;
}

.dm-b2b__example .svc-note {
  margin-top: 22px;
}

.dm-b2b__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.dm-b2b__chips li {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--dm-navy);
  background: var(--dm-pale);
  border-radius: 999px;
  padding: 8px 16px;
}

.dm-b2b__combo {
  background: #fff;
  border: 1px solid var(--dm-line);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  padding: 18px 20px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--dm-navy);
  line-height: 1.6;
  box-shadow: var(--dm-shadow);
}

.dm-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.dm-timeline::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--dm-line);
}

.dm-timeline__item {
  position: relative;
  display: flex;
  gap: 18px;
  padding-bottom: 20px;
}

.dm-timeline__item:last-child {
  padding-bottom: 0;
}

.dm-timeline__item {
  transition: transform 0.3s var(--svc-ease);
}

.dm-timeline__icon {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 1.05rem;
  box-shadow: 0 0 0 5px #fff;
  transition: box-shadow 0.3s var(--svc-ease);
}

.dm-timeline__item:hover {
  transform: translateX(4px);
}

.dm-timeline__item:hover .dm-timeline__icon {
  box-shadow: 0 0 0 5px #fff, 0 0 0 9px var(--dm-pale);
}

@media (prefers-reduced-motion: reduce) {

  .dm-timeline__item,
  .dm-timeline__icon {
    transition: none;
  }

  .dm-timeline__item:hover {
    transform: none;
  }
}

.dm-timeline__body {
  padding-top: 6px;
}

.dm-timeline__title {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--dm-navy);
  margin-bottom: 4px;
}

.dm-timeline__text {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text3);
  margin: 0;
}

/* desktop: the seven steps run left → right on one connecting line */
@media (min-width: 993px) {
  .dm-b2b__example .dm-timeline {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 16px;
  }

  .dm-b2b__example .dm-timeline::before {
    left: calc(100% / 14);
    right: calc(100% / 14);
    top: 21px;
    bottom: auto;
    width: auto;
    height: 2px;
  }

  .dm-b2b__example .dm-timeline__item {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding-bottom: 0;
    text-align: center;
  }

  .dm-b2b__example .dm-timeline__item:hover {
    transform: translateY(-4px);
  }

  .dm-b2b__example .dm-timeline__body {
    padding-top: 0;
  }

  .dm-b2b__example .dm-timeline__text {
    font-size: 0.84rem;
    line-height: 1.5;
  }
}

/* --------------------------------------------------------------------------
   9. PROCESS
   -------------------------------------------------------------------------- */
.dm-process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.dm-process__step {
  background: #fff;
  border: 1px solid var(--dm-line);
  border-radius: 14px;
  padding: 22px 20px;
  box-shadow: var(--dm-shadow);
  transition: transform 0.3s var(--svc-ease), box-shadow 0.3s var(--svc-ease);
}

.dm-process__step:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 42, 77, 0.12);
}

.dm-process__num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--accent);
  line-height: 1;
  display: block;
  margin-bottom: 12px;
}

.dm-process__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--dm-navy);
  margin: 0 0 8px;
}

.dm-process__text {
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--text3);
  margin: 0;
}

/* --------------------------------------------------------------------------
   10. INDUSTRIES + LOCATIONS (shown together like the reference)
   -------------------------------------------------------------------------- */
.dm-loc-industries__grid {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
}

.dm-locations__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  height: 100%; /* cards match the industries panel height */
}

.dm-location-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--dm-line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--dm-shadow);
  transition: transform 0.3s var(--svc-ease), box-shadow 0.3s var(--svc-ease);
}

.dm-location-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 44px rgba(15, 42, 77, 0.14);
}

.dm-location-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--dm-pale);
}

.dm-location-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dm-location-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 16px 16px 18px;
}

.dm-location-card__link {
  margin-top: auto;
}

.dm-location-card__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--dm-navy);
  margin: 0 0 6px;
}

.dm-location-card__text {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--text3);
  margin: 0 0 10px;
}

.dm-location-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--accent);
  text-decoration: none;
}

.dm-location-card__link i {
  font-size: 0.75rem;
}

.dm-industries__panel {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--dm-line);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--dm-shadow);
}

.dm-industries__label {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.dm-industries__grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-content: space-evenly;
  gap: 12px;
}

.dm-industry-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 12px 6px;
  border-radius: 10px;
  transition: background 0.25s var(--svc-ease);
}

.dm-industry-tile:hover {
  background: var(--dm-pale);
}

.dm-industry-tile__icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--dm-pale);
  color: var(--accent);
  /* font-size: 1rem; */
  font-size: 28px;
}

.dm-industry-tile__label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.74rem;
  line-height: 1.3;
  color: var(--dm-navy);
}

/* --------------------------------------------------------------------------
   11. WHY CHOOSE SATKAR
   -------------------------------------------------------------------------- */
.dm-why__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.dm-why-card {
  background: #fff;
  border: 1px solid var(--dm-line);
  border-radius: 14px;
  padding: 22px 18px;
  box-shadow: var(--dm-shadow);
  transition: transform 0.3s var(--svc-ease), box-shadow 0.3s var(--svc-ease);
}

.dm-why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 42, 77, 0.12);
}

.dm-why-card__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--dm-pale);
  color: var(--accent);
  /* font-size: 1.1rem; */
  font-size: 28px;
  margin-bottom: 14px;
}

.dm-why-card__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.96rem;
  color: var(--dm-navy);
  margin: 0 0 8px;
  line-height: 1.3;
}

.dm-why-card__text {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text3);
  margin: 0;
}

/* --------------------------------------------------------------------------
   12. CASE STUDIES
   -------------------------------------------------------------------------- */
/* cards are the shared .cs-card from css/our-work.css (same as case-studies.html) */
.dm-case-studies__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.dm-case-note {
  margin-top: 26px;
  font-size: 0.88rem;
  color: var(--text3);
  font-style: italic;
  text-align: center;
}

/* --------------------------------------------------------------------------
   14. FINAL CTA
   -------------------------------------------------------------------------- */
.dm-final-cta {
  background: var(--dm-pale);
  padding: 54px 0;
  position: relative;
  overflow: hidden;
}

.dm-final-cta__grid {
  display: grid;
  grid-template-columns: 0.4fr 1.1fr;
  gap: 32px;
  align-items: center;
}

.dm-final-cta__globe {
  width: 100%;
  max-width: 220px;
  height: auto;
  display: block;
  justify-self: center;
}

.dm-final-cta__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.5rem, 2.8vw, 2.15rem);
  color: var(--dm-navy);
  margin: 0 0 14px;
  line-height: 1.2;
}

.dm-final-cta__text {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--text2);
  margin: 0 0 10px;
}

.dm-final-cta__hand {
  position: absolute;
  top: 10%;
  right: 4%;
  font-family: var(--dm-font-hand);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.3;
  color: var(--accent2);
  text-align: right;
  transform: rotate(-2deg);
}

/* --------------------------------------------------------------------------
   15. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1199.98px) {
  .dm-flow__box {
    padding: 10px 8px;
    font-size: 0.8rem;
  }

  .dm-flow__box i {
    font-size: 0.95rem;
  }

  .dm-loc-industries__grid {
    grid-template-columns: 1fr;
  }

  .dm-industries__grid {
    grid-template-columns: repeat(9, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .dm-positioning__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dm-services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dm-why__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .dm-process__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .dm-hero__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .dm-hero__visual {
    min-height: 280px;
  }

  .dm-hero__hand {
    display: none;
  }

  .dm-intro__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  /* flow stacks top → bottom again, arrows point down */
  .dm-flow {
    flex-direction: column;
    gap: 0;
  }

  .dm-flow__row {
    flex: none;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .dm-flow__box {
    padding: 11px 18px;
    font-size: 0.88rem;
  }

  .dm-flow__connector {
    width: auto;
    height: 30px;
  }

  .dm-flow__connector i {
    transform: rotate(90deg);
  }

  .dm-ecosystem__hand {
    display: none;
  }

  /* example steps: two-column cards, no connecting line */
  .dm-b2b__example .dm-timeline {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 24px;
  }

  .dm-b2b__example .dm-timeline::before {
    display: none;
  }

  .dm-b2b__example .dm-timeline__item {
    padding-bottom: 0;
  }

  .dm-industries__grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .dm-case-studies__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dm-why__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dm-final-cta__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .dm-final-cta__globe {
    max-width: 140px;
  }

  .dm-final-cta__hand {
    display: none;
  }

  .dm-trust-strip__list {
    justify-content: flex-start;
  }
}

@media (max-width: 860px) {
  .dm-locations__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {

  .dm-b2b__grid,
  .dm-ecosystem__side {
    grid-template-columns: 1fr;
  }

  .dm-b2b__grid {
    gap: 24px;
  }

  .dm-ecosystem__chart-img {
    height: auto;
    min-height: 0;
    aspect-ratio: 2 / 1;
  }

  /* example steps: back to the vertical timeline */
  .dm-b2b__example .dm-timeline {
    display: block;
  }

  .dm-b2b__example .dm-timeline::before {
    display: block;
  }

  .dm-b2b__example .dm-timeline__item {
    padding-bottom: 20px;
  }

  .dm-b2b__example .dm-timeline__item:last-child {
    padding-bottom: 0;
  }

  .dm-positioning__grid,
  .dm-services__grid,
  .dm-process__grid,
  .dm-case-studies__grid,
  .dm-why__grid {
    grid-template-columns: 1fr;
  }

  .dm-intro__checklist {
    grid-template-columns: 1fr;
  }

  .dm-industries__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .dm-trust-strip__list {
    /* flex-direction: column; */
    align-items: flex-start;
    gap: 18px;
  }

  .dm-modal__list {
    grid-template-columns: 1fr;
  }

  .dm-flow__row {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 460px) {
  .dm-locations__grid {
    grid-template-columns: 1fr;
  }

  .dm-hero__float--checklist {
    position: static;
    margin-top: 14px;
    width: 100%;
  }

  .dm-hero__art {
    max-width: 100%;
  }

  .dm-industries__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dm-modal__panel {
    padding: 28px 20px;
  }

  /* .dm-final-cta__globe {
    max-width: 100px;
  } */
}

/* --------------------------------------------------------------------------
   16. REDUCED MOTION
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {

  .dm-service-card,
  .dm-positioning__card,
  .dm-process__step,
  .dm-why-card,
  .dm-location-card,
  .dm-modal,
  .dm-modal__panel {
    transition: none;
  }
}