/* =========================================================
   Field Service Management Software (white-label)
   Palette comes from variable.css — black / white / brand red.
   Red tiles use the house #fdecec + #ec2024 pairing.
   common.css already gives every <section> 90px vertical padding,
   so only deliberate overrides live here.
   ========================================================= */

/* ---------- HERO ---------- */
.fsm-hero {
  padding-top: 70px;
  padding-bottom: 70px;
}

.fsm-eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  padding: 7px 18px;
  border-radius: 999px;
  background: #ffffff14;
  border: 1px solid var(--border-light-white-three);
  color: var(--text-dull-white-eight);
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* explore-white-icon.svg has no intrinsic size and renders 28px if left alone */
.fsm-btn-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.fsm-hero-strip li {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-light-white-three);
  background: #ffffff0d;
  color: var(--text-dull-white-eight);
  font-size: 15px;
}

/* ---------- SHARED LIGHT CARD ---------- */
.fsm-card,
.fsm-step,
.fsm-process-card,
.fsm-invest-card,
.fsm-benefit {
  background: var(--white-bg);
  border: 1px solid var(--border-grey-three);
  border-radius: 16px;
  padding: 26px 24px;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.fsm-card:hover,
.fsm-step:hover,
.fsm-process-card:hover,
.fsm-invest-card:hover,
.fsm-benefit:hover {
  border-color: var(--border-red);
  box-shadow: 0 10px 30px rgba(17, 17, 17, .07);
  transform: translateY(-3px);
}

/* the audience + integration rows sit 4-up, so they need a little more room */
.fsm-card--tall {
  padding: 28px 24px;
}

/* ---------- RED ICON TILE (house pattern) ---------- */
.fsm-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: #fdecec;
  color: var(--text-red);
}

.fsm-icon svg {
  width: 24px;
  height: 24px;
}

/* ---------- PANELS (dark, tabbed) ---------- */
.fsm-tabs {
  flex-wrap: wrap;
}

.fsm-tabs .fsm-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--border-light-white-three);
  background: #ffffff0d;
  color: var(--text-dull-white-eight);
  font-size: 16px;
  transition: background .25s ease, border-color .25s ease, color .25s ease;
}

.fsm-tabs .fsm-tab:hover {
  border-color: var(--border-red);
  color: #fff;
}

.fsm-tabs .fsm-tab.active {
  background: var(--red-bg);
  border-color: var(--red-bg);
  color: #fff;
}

.fsm-tab-num {
  font-size: 13px;
  opacity: .75;
}

.fsm-panel-intro {
  color: var(--text-dull-white-six);
  max-width: 760px;
  margin-inline: auto;
}

.fsm-panel-card,
.fsm-why-card {
  background: #ffffff0a;
  border: 1px solid var(--border-light-white-three);
  border-radius: 16px;
  padding: 24px 22px;
  color: var(--text-dull-white-six);
  transition: border-color .25s ease, background .25s ease;
}

.fsm-panel-card:hover,
.fsm-why-card:hover {
  border-color: var(--border-red);
  background: #ffffff12;
}

/* on the dark sections the tile keeps the red ink but needs a darker ground */
.fsm-why-card .fsm-icon {
  background: #ec20241f;
}

/* ---------- NUMBERED STEPS ---------- */
.fsm-step-num,
.fsm-process-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: #fdecec;
  color: var(--text-red);
  font-size: 17px;
  font-weight: 600;
}

/* ---------- BENEFITS (number beside the text) ---------- */
.fsm-benefit {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.fsm-benefit-num {
  flex: 0 0 auto;
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  color: var(--border-red);
  opacity: .35;
}

/* ---------- WHY INVEST ---------- */
.fsm-invest-note {
  background: #fdecec;
  border-left: 4px solid var(--red-bg);
  border-radius: 12px;
  padding: 20px 24px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 991.98px) {
  .fsm-hero {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .fsm-tabs .fsm-tab {
    padding: 10px 16px;
    font-size: 15px;
  }
}

@media (max-width: 575.98px) {
  .fsm-card,
  .fsm-step,
  .fsm-process-card,
  .fsm-invest-card,
  .fsm-benefit,
  .fsm-panel-card,
  .fsm-why-card {
    padding: 22px 18px;
  }

  .fsm-hero-strip li {
    font-size: 13px;
    padding: 6px 12px;
  }

  .fsm-tabs {
    gap: 8px !important;
  }
}
