/* ==========================================================================
   Pathway IT — data-management.css  (Data Management page)
   Banner hero plus a desktop trust strip, six services, a five-step process
   with filled markers, a four-up why-us row and a closing CTA band.
   ========================================================================== */

.dm-section { padding-block: clamp(3.5rem, 7vw, 5.5rem); background: #FAFBFE; }
.dm-proc-wrap { padding-block: clamp(3.5rem, 7vw, 5.5rem); background: #F1F2FB; }
.dm-cta-wrap { padding-block: 0 clamp(3.5rem, 7vw, 5.5rem); background: #FAFBFE; }

/* Icon slots are filled with an SVG by data-management.js. */
span[data-icon]:not([class]) { display: inline-flex; flex: none; vertical-align: middle; }
span[data-icon]:not([class]) svg { width: 1em; height: 1em; }

/* -------------------------------------------------------------------------- */
/* Hero banner                                                                */
/* -------------------------------------------------------------------------- */
.dm-hero { background: #050A18; padding-top: var(--header-h); }
.dm-hero-media { position: relative; max-width: 1600px; margin-inline: auto; }
.dm-banner { display: block; width: 100%; height: auto; }

/* Transparent overlays sitting exactly on the "Start your project" button
   baked into each banner. Percentages are measured from the artwork. */
.dm-hotspot {
  position: absolute; border: 0; background: transparent; padding: 0;
  cursor: pointer; border-radius: var(--r-pill);
  transition: box-shadow var(--t) var(--ease), transform var(--t) var(--ease);
}
.dm-hotspot:hover { transform: scale(1.03); box-shadow: 0 10px 30px rgba(79, 70, 229, .45); }
.dm-hotspot:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.dm-hotspot--desktop { left: 5.75%; top: 68.47%; width: 13.62%; height: 8.83%; }
.dm-hotspot--mobile  { left: 5.56%; top: 29.73%; width: 44.26%; height: 6.54%; display: none; }

@media (max-width: 760px) {
  .dm-hotspot--desktop { display: none; }
  .dm-hotspot--mobile  { display: block; }
}

/* --- trust strip under the banner (desktop only) --- */
.dm-trust {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 0;
  max-width: 1180px; margin: 0 auto;
  padding: 1.4rem 1.5rem 2.2rem;
}
.dm-trust li {
  display: inline-flex; align-items: center; gap: .55rem;
  padding-inline: clamp(1rem, 3vw, 2.4rem);
  font-size: .82rem; color: #C3CBE4;
}
.dm-trust li + li { border-left: 1px solid rgba(255, 255, 255, .12); }
.dm-trust svg { width: 17px; height: 17px; color: var(--indigo-400); flex: none; }

@media (max-width: 760px) { .dm-trust { display: none; } }

/* -------------------------------------------------------------------------- */
/* Section heading                                                            */
/* -------------------------------------------------------------------------- */
.dm-head { text-align: center; max-width: 720px; margin: 0 auto clamp(2.2rem, 4.5vw, 3.2rem); }
.dm-head h2 {
  margin-top: 1rem;
  font-size: clamp(1.4rem, 2.7vw, 1.95rem);
  line-height: 1.3; letter-spacing: -.02em; color: var(--slate-900);
}
/* Keeps the highlighted phrase on one line. */
.dm-head h2 span { color: var(--indigo); white-space: nowrap; }
/* Narrow enough that the long "what we do" title breaks after "management". */
.dm-head--tight h2 { max-width: 540px; margin-inline: auto; }
@media (max-width: 620px) { .dm-head--tight h2 { max-width: none; } }
.dm-head > p { margin-top: .9rem; font-size: .88rem; line-height: 1.65; color: var(--slate-500); }

/* -------------------------------------------------------------------------- */
/* What we do (3 x 2, icon above)                                             */
/* -------------------------------------------------------------------------- */
.dm-do-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.dm-do {
  display: flex; flex-direction: column; align-items: flex-start;
  background: var(--paper); border: 1px solid #E7EAF4; border-radius: 14px;
  padding: 1.6rem 1.5rem;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}
.dm-do:hover { transform: translateY(-4px); box-shadow: 0 16px 38px rgba(20, 22, 70, .09); border-color: #CFD5F5; }
.dm-do-ico {
  display: grid; place-items: center; width: 42px; height: 42px;
  border-radius: 12px; background: var(--indigo-50); color: var(--indigo); margin-bottom: 1.1rem;
}
.dm-do-ico svg { width: 20px; height: 20px; }
.dm-do h3 { font-size: 1rem; line-height: 1.35; margin-bottom: .5rem; color: var(--slate-900); }
.dm-do p { font-size: .84rem; line-height: 1.6; color: var(--slate-500); }
.dm-more {
  display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.1rem;
  font-size: .82rem; font-weight: 600; color: var(--indigo);
}
.dm-more span { font-size: .95rem; transition: transform var(--t) var(--ease); }
.dm-more:hover span { transform: translateX(3px); }

@media (max-width: 1000px) { .dm-do-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .dm-do-grid { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------------------- */
/* Process (5 steps, filled markers, number under the icon)                   */
/* -------------------------------------------------------------------------- */
.dm-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; list-style: none; }
.dm-step { position: relative; text-align: center; padding-inline: .3rem; }
.dm-step-ico {
  position: relative; z-index: 1;
  display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto .7rem;
  border-radius: 50%; background: var(--indigo); color: #fff;
  box-shadow: 0 8px 20px rgba(79, 70, 229, .30);
}
.dm-step-ico svg { width: 20px; height: 20px; }
/* Dashed rail linking the markers. */
.dm-step:not(:last-child)::after {
  content: ""; position: absolute; top: 24px; height: 0;
  border-top: 1px dashed #C6CCE6;
  left: calc(50% + 30px); right: calc(-50% + 30px);
}
.dm-step-n {
  display: block; margin-bottom: .35rem;
  font-family: var(--font-mono); font-size: .62rem; font-weight: 600;
  letter-spacing: .1em; color: var(--slate-500);
}
.dm-step h3 { font-size: .88rem; margin-bottom: .4rem; color: var(--slate-900); }
.dm-step p { font-size: .76rem; line-height: 1.55; color: var(--slate-500); }

@media (max-width: 900px) {
  .dm-steps { grid-template-columns: repeat(3, 1fr); gap: 2rem 1rem; }
  .dm-step:nth-child(3n)::after { display: none; }
}
@media (max-width: 560px) {
  .dm-steps { grid-template-columns: repeat(2, 1fr); }
  .dm-step::after { display: none; }
}

/* -------------------------------------------------------------------------- */
/* Why choose us (4 across, icon beside the copy)                             */
/* -------------------------------------------------------------------------- */
.dm-why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.dm-why { display: flex; align-items: flex-start; gap: .85rem; padding-inline: clamp(.2rem, 1vw, .8rem); }
.dm-why-ico {
  display: grid; place-items: center; width: 40px; height: 40px; flex: none;
  border-radius: 50%; background: var(--indigo-50); color: var(--indigo);
}
.dm-why-ico svg { width: 19px; height: 19px; }
.dm-why div { min-width: 0; }
.dm-why h3 { font-size: .87rem; margin-bottom: .35rem; color: var(--slate-900); }
.dm-why p { font-size: .78rem; line-height: 1.55; color: var(--slate-500); }

@media (max-width: 900px) { .dm-why-grid { grid-template-columns: repeat(2, 1fr); gap: 1.8rem 1.2rem; } }
@media (max-width: 520px) { .dm-why-grid { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------------------- */
/* Closing CTA band                                                           */
/* -------------------------------------------------------------------------- */
.dm-cta {
  display: flex; align-items: center; justify-content: space-between; gap: clamp(1.6rem, 4vw, 3rem);
  background: #0A0F26; border-radius: 18px;
  padding: clamp(1.8rem, 3.6vw, 2.6rem) clamp(1.6rem, 3.6vw, 2.8rem);
  background-image: radial-gradient(110% 150% at 15% 0%, rgba(79, 70, 229, .16) 0%, transparent 60%);
}
.dm-cta-copy h2 { font-size: clamp(1.2rem, 2.2vw, 1.55rem); line-height: 1.35; color: #fff; letter-spacing: -.01em; }
.dm-cta-copy p { margin-top: .6rem; font-size: .86rem; line-height: 1.6; color: #98A2C0; }

.dm-cta-action { flex: none; }
.dm-cta-form { display: flex; gap: .7rem; }
.dm-cta-form input {
  width: clamp(200px, 22vw, 260px);
  background: #131A36; border: 1px solid #262F55; color: #fff;
  border-radius: 10px; padding: .8rem 1rem; font-size: .88rem;
}
.dm-cta-form input::placeholder { color: #6E779B; }
.dm-cta-form input:focus-visible { outline: 2px solid var(--indigo-400); outline-offset: 1px; }
.dm-cta-btn {
  background: var(--indigo); color: #fff; border-radius: 10px;
  padding: .8rem 1.3rem; font-size: .88rem; white-space: nowrap; gap: .45rem;
}
.dm-cta-btn:hover { background: #4338CA; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(79, 70, 229, .38); }

.dm-cta-points { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 1rem; }
.dm-cta-points li { display: flex; align-items: center; gap: .4rem; font-size: .76rem; color: #98A2C0; }
.dm-cta-points svg { width: 13px; height: 13px; color: var(--indigo-400); flex: none; }

@media (max-width: 940px) {
  .dm-cta { flex-direction: column; align-items: flex-start; }
  .dm-cta-copy h2 br { display: none; }
  .dm-cta-action { width: 100%; }
  .dm-cta-form input { width: 100%; flex: 1; }
}
@media (max-width: 520px) {
  .dm-cta-form { flex-direction: column; }
  .dm-cta-btn { justify-content: center; }
}
