/* ==========================================================================
   Pathway IT — crm-service.css  (CRM Development page)
   Banner-led layout: hero image with clickable CTA hotspots, what we build,
   a dark results band, the 5-step process and a closing CTA band.
   ========================================================================== */

.crm-section { padding-block: clamp(3.5rem, 7vw, 5.5rem); }
/* Everything below the hero sits on one continuous tint; the dark bands
   float on top of it. */
.crm-section, .crm-stats-wrap, .crm-cta-wrap { background: #F5F6FB; }

/* Icon slots are filled with an SVG by crm-service.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 + CTA hotspots                                                 */
/* -------------------------------------------------------------------------- */
.crm-hero { background: #00040E; padding-top: var(--header-h); }
.crm-hero-media { position: relative; line-height: 0; }
.crm-banner { display: block; width: 100%; height: auto; }

/* Positions are measured from the artwork, so the hotspot lands exactly on
   the "Start your project" button drawn into each banner. */
.crm-hotspot {
  position: absolute; z-index: 2; padding: 0;
  background: transparent; border: 0; border-radius: var(--r-pill);
  cursor: pointer; transition: box-shadow var(--t) var(--ease);
}
.crm-hotspot:hover { box-shadow: 0 0 0 3px rgba(255, 255, 255, .45); }
.crm-hotspot:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.crm-hotspot--desktop { left: 4.69%; top: 58.39%; width: 12.71%; height: 6.94%; }
.crm-hotspot--mobile { display: none; left: 6.31%; top: 31.42%; width: 44.64%; height: 4.61%; }

@media (max-width: 760px) {
  .crm-hero { background: #000310; }
  .crm-hotspot--desktop { display: none; }
  .crm-hotspot--mobile { display: block; }
}

/* -------------------------------------------------------------------------- */
/* Section heading (shared pill eyebrow + centred title)                      */
/* -------------------------------------------------------------------------- */
.crm-head { text-align: center; max-width: 820px; margin: 0 auto clamp(2.2rem, 4.5vw, 3.2rem); }
.crm-head h2 {
  margin-top: 1.1rem;
  font-size: clamp(1.5rem, 2.9vw, 2.05rem);
  line-height: 1.3; letter-spacing: -.02em; color: var(--slate-900);
}
@media (max-width: 560px) { .crm-head h2 br { display: none; } }

/* -------------------------------------------------------------------------- */
/* What we build (3 x 2)                                                      */
/* -------------------------------------------------------------------------- */
.crm-build-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.crm-build {
  display: flex; flex-direction: column; align-items: flex-start;
  background: var(--paper); border: 1px solid #E7EAF4; border-radius: 16px;
  padding: 1.7rem 1.6rem;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}
.crm-build:hover { transform: translateY(-4px); box-shadow: 0 16px 38px rgba(20, 22, 70, .09); border-color: #CFD5F5; }
.crm-ico {
  display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 12px; background: var(--indigo-50); color: var(--indigo); margin-bottom: 1.2rem;
}
.crm-ico svg { width: 21px; height: 21px; }
.crm-build h3 { font-size: 1rem; margin-bottom: .55rem; color: var(--slate-900); }
.crm-build p { font-size: .87rem; line-height: 1.65; color: var(--slate-500); }
.crm-more {
  display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.2rem;
  font-size: .84rem; font-weight: 600; color: var(--indigo);
}
.crm-more span { font-size: .95rem; transition: transform var(--t) var(--ease); }
.crm-more:hover span { transform: translateX(3px); }

@media (max-width: 980px) { .crm-build-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .crm-build-grid { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------------------- */
/* Results band                                                               */
/* -------------------------------------------------------------------------- */
.crm-stats-wrap { padding-block: 0 clamp(3.5rem, 7vw, 5.5rem); }
.crm-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #0A0F26; border-radius: 18px;
  padding: clamp(1.8rem, 3.4vw, 2.4rem) clamp(1rem, 2.4vw, 1.8rem);
  background-image: radial-gradient(120% 140% at 50% 0%, rgba(79, 70, 229, .13) 0%, transparent 58%);
}
.crm-stat { text-align: center; padding-inline: clamp(.6rem, 2vw, 1.6rem); }
.crm-stat + .crm-stat { border-left: 1px solid rgba(255, 255, 255, .09); }
.crm-stat-ico {
  display: grid; place-items: center; width: 40px; height: 40px; margin: 0 auto .9rem;
  border-radius: 11px; background: rgba(124, 126, 245, .16); color: var(--indigo-400);
}
.crm-stat-ico svg { width: 20px; height: 20px; }
.crm-stat b { display: block; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; letter-spacing: -.03em; color: #fff; }
.crm-stat > span:last-child { display: block; margin-top: .45rem; font-size: .8rem; line-height: 1.5; color: #98A2C0; }

@media (max-width: 780px) {
  .crm-stats { grid-template-columns: repeat(2, 1fr); gap: 1.8rem 0; }
  .crm-stat:nth-child(odd) { border-left: 0; }
}
@media (max-width: 420px) {
  .crm-stats { grid-template-columns: 1fr; }
  .crm-stat + .crm-stat { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .09); padding-top: 1.6rem; }
}

/* -------------------------------------------------------------------------- */
/* 5-step process                                                             */
/* -------------------------------------------------------------------------- */
.crm-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; list-style: none; }
.crm-step { position: relative; text-align: center; padding-inline: .4rem; }
.crm-step-ico {
  position: relative; z-index: 1;
  display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 1rem;
  border-radius: 50%; background: var(--paper); border: 1px solid #DDE1F2;
  color: var(--indigo); box-shadow: 0 4px 14px rgba(20, 22, 70, .06);
}
.crm-step-ico svg { width: 22px; height: 22px; }
/* Connector between adjacent step markers. */
.crm-step:not(:last-child)::after {
  content: ""; position: absolute; top: 27px; height: 1px; background: #D9DDEE;
  left: calc(50% + 34px); right: calc(-50% + 34px);
}
.crm-step-n { display: block; font-family: var(--font-mono); font-size: .72rem; font-weight: 600; letter-spacing: .1em; color: var(--slate-500); }
.crm-step h3 { margin-top: .3rem; font-size: .95rem; margin-bottom: .5rem; color: var(--slate-900); }
.crm-step p { font-size: .82rem; line-height: 1.6; color: var(--slate-500); }

@media (max-width: 900px) {
  .crm-steps { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
  .crm-step:not(:last-child)::after { display: none; }
}
@media (max-width: 480px) { .crm-steps { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------------------- */
/* Closing CTA band                                                           */
/* -------------------------------------------------------------------------- */
.crm-cta-wrap { padding-block: 0 clamp(3.5rem, 7vw, 5.5rem); }
.crm-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%);
}
.crm-cta-copy h2 { font-size: clamp(1.2rem, 2.2vw, 1.55rem); line-height: 1.35; color: #fff; letter-spacing: -.01em; }
.crm-cta-copy p { margin-top: .6rem; font-size: .86rem; line-height: 1.6; color: #98A2C0; }

.crm-cta-action { flex: none; }
.crm-cta-form { display: flex; gap: .7rem; }
.crm-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;
}
.crm-cta-form input::placeholder { color: #6E779B; }
.crm-cta-form input:focus-visible { outline: 2px solid var(--indigo-400); outline-offset: 1px; }
.crm-cta-btn {
  background: var(--indigo); color: #fff; border-radius: 10px;
  padding: .8rem 1.3rem; font-size: .88rem; white-space: nowrap; gap: .45rem;
}
.crm-cta-btn:hover { background: #4338CA; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(79, 70, 229, .38); }

.crm-cta-points { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 1rem; }
.crm-cta-points li { display: flex; align-items: center; gap: .4rem; font-size: .76rem; color: #98A2C0; }
.crm-cta-points svg { width: 13px; height: 13px; color: var(--indigo-400); flex: none; }

@media (max-width: 940px) {
  .crm-cta { flex-direction: column; align-items: flex-start; }
  .crm-cta-action { width: 100%; }
  .crm-cta-form input { width: 100%; flex: 1; }
}
@media (max-width: 520px) {
  .crm-cta-form { flex-direction: column; }
  .crm-cta-btn { justify-content: center; }
}
