/* ════════════════════════════════════════════════════════════
   JDD COMMON DESIGN SYSTEM
   Shared typography, color tokens, and fluid type scale.
   Currently linked from: section287.php (website-maintenance-services)
   Intended for site-wide rollout once validated on that page.

   Every text class below uses a fluid clamp() formula that scales
   continuously from a 375px phone up to a 1920px+ desktop — no
   breakpoint steps, no "freezing" at any viewport width. Formula:
   clamp(MIN, calc(MIN - 375*(MAX-MIN)/1545 + (MAX-MIN)/15.45 * 100vw), MAX)
════════════════════════════════════════════════════════════ */

/* Prevent any horizontal scroll capability on this page, so the browser
   never reserves scrollbar-gutter width — that gutter was making
   document.documentElement.clientWidth narrower than the true viewport,
   which showed up as a right-side gap on every normal-flow section. */
   body {
    overflow-x: hidden;
    max-width: 100vw;
}
#JDDPageid-904 {
  overflow-x: hidden;
  max-width: 100vw;
}

:root {
  --jdd-navy: #023575;
  --jdd-red: #AA2121;
  --jdd-red-2: #D64545;
  --jdd-blue: #0047C4;
  --jdd-dark: #111111;
  --jdd-body: #111111;
  --jdd-gold: #ffb916;
}

/* ── Eyebrow label (11px → 13px) ─────────────────────────── */
.jdd-eyebrow,
.jdd-eyebrow-inverse {
  display: inline-block;
  font-size: clamp(11px, calc(10.51px + 0.13vw), 13px);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.jdd-eyebrow {
  color: var(--jdd-navy);
}

.jdd-eyebrow-inverse {
  letter-spacing: 1.2px;
  color: var(--jdd-gold);
}

/* ── Hero H1 (28px → 52px) ───────────────────────────────── */
.jdd-h1 {
  font-size: clamp(28px, calc(22.18px + 1.55vw), 52px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.3px;
  color: var(--jdd-dark);
}

/* ── Section heading, standard (24px → 44px) ─────────────── */
.jdd-h2 {
  font-size: clamp(24px, calc(19.15px + 1.29vw), 44px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.3px;
  color: var(--jdd-dark);
}

/* ── Section heading, compact variant (20px → 38px) ──────── */
.jdd-h2-sm {
  font-size: clamp(20px, calc(15.63px + 1.16vw), 38px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.3px;
  color: var(--jdd-dark);
}

.jdd-h1.jdd-on-dark,
.jdd-h2.jdd-on-dark,
.jdd-h2-sm.jdd-on-dark {
  color: #fff;
}

/* ── Section sub / lead paragraph (15px → 18px) ──────────── */
.jdd-sub,
.jdd-sub-inverse {
  font-size: clamp(15px, calc(14.27px + 0.19vw), 18px);
  line-height: 1.7;
}

.jdd-sub {
  color: var(--jdd-body);
}

.jdd-sub-inverse {
  color: rgba(255, 255, 255, 0.7);
}

/* ── Card / list-item heading (15px → 18px) ──────────────── */
.jdd-card-title {
  font-size: clamp(15px, calc(14.27px + 0.19vw), 18px);
  font-weight: 700;
  line-height: 1.35;
  color: var(--jdd-navy);
}

.jdd-card-title.jdd-on-dark {
  color: #fff;
}

/* ── Card / body copy (13.5px → 15px) ────────────────────── */
.jdd-card-desc,
.jdd-bullets {
  font-size: clamp(13.5px, calc(13.14px + 0.1vw), 15px);
  line-height: 1.55;
}

.jdd-card-desc {
  color: #111111;
}

.jdd-card-desc.jdd-on-dark {
  color: rgba(255, 255, 255, 0.92);
}

/* ── Small meta text / badges / labels (12px → 13px) ─────── */
.jdd-span,
.jdd-span-group li,
.jdd-span-group a {
  font-size: clamp(12px, calc(11.76px + 0.06vw), 13px);
  color: #111111;
}

/* ── Bullet / checklist items (put .jdd-bullets on the <ul>) ── */
.jdd-bullets li {
  font-size: clamp(13.5px, calc(13.14px + 0.1vw), 15px);
  line-height: 1.55;
  color: #111111;
}

/* ── Large stat numbers (22px → 34px) ─────────────────────── */
.jdd-stat-num {
  font-size: clamp(22px, calc(19.09px + 0.78vw), 34px);
  font-weight: 800;
  line-height: 1.1;
}

/* ── Featured-panel heading (17px → 24px) ────────────────── */
.jdd-panel-title {
  font-size: clamp(17px, calc(15.3px + 0.45vw), 24px);
  font-weight: 800;
  line-height: 1.3;
  color: #fff;
}

/* ── Primary CTA button (14px → 17px) ────────────────────── */
.jdd-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(120deg, var(--jdd-red) 0%, var(--jdd-red-2) 100%);
  color: #fff;
  font-weight: 700;
  font-size: clamp(14px, calc(13.27px + 0.19vw), 17px);
  padding: 9px 22px;
  border-radius: 12px;
  border: none;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: 0 14px 28px -14px rgba(170, 33, 33, 0.4);
}

.jdd-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -14px rgba(170, 33, 33, 0.48);
  color: #fff;
}

/* ── Migrated from servicesMain.css (no longer linked on this page) ──── */
.sectionDescription-loc {
  font-size: .95rem;
  line-height: 1.2rem;
  list-style: none;
}

.wm-cta3-testi-track button.slick-next.slick-arrow,
.wm-cta3-testi-track button.slick-prev.slick-arrow {
  display: none !important;
}

/* ════════════════════════════════════════════════════════════
   LARGE-SCREEN LAYOUT — page-scoped to #JDDPageid-904
   Fluid via clamp(), same as the typography above — no breakpoint
   steps. Formulas ramp between a 1200px reference (where Bootstrap's
   own .container caps at 1140px and stock component paddings apply)
   and a 1920px reference (this page's validated large-desktop
   target), then hold flat past 1920px. Below 1200px every clamp()
   floors out at its MIN, which equals the current unscoped value,
   so nothing changes below that point.
════════════════════════════════════════════════════════════ */

#JDDPageid-904 .container {
  max-width: clamp(1140px, calc(373.33px + 63.89vw), 1600px);
}

#JDDPageid-904 .wm-aus-inner {
  max-width: clamp(780px, calc(413.33px + 30.56vw), 1000px);
}

#JDDPageid-904 .wm-mid-cta-content {
  max-width: clamp(920px, calc(553.33px + 30.56vw), 1140px);
}

#JDDPageid-904 .wm-mid-cta-title {
  max-width: clamp(900px, calc(566.67px + 27.78vw), 1100px);
}

#JDDPageid-904 .wm-proc-card {
  padding: clamp(16px, calc(2.67px + 1.11vw), 24px) clamp(18px, calc(4.67px + 1.11vw), 26px) clamp(16px, calc(2.67px + 1.11vw), 24px) clamp(20px, calc(6.67px + 1.11vw), 28px);
}

#JDDPageid-904 .wm-proc2-card {
  padding: clamp(20px, calc(6.67px + 1.11vw), 28px) clamp(18px, calc(4.67px + 1.11vw), 26px);
}
