:root {
  --svc-red: #b32222;
  --svc-red-bright: #d83434;
  --svc-dark: #0a1017;
  --svc-text: #151515;
  --svc-muted: rgba(255,255,255,.74);
  --svc-shell: min(96%, 1820px);
}

.services-page {
  --services-nav-height: var(--sticky-navbar-height, 94px);
  background: #ffffff;
  color: var(--svc-text);
  overflow-x: hidden;
}

.services-shell { width: var(--svc-shell); margin-inline: auto; }
.services-scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 12000; pointer-events: none; }
.services-scroll-progress span { display:block; width:100%; height:100%; transform: scaleX(0); transform-origin: left center; background: linear-gradient(90deg, #6c1919, #d83434); }

/* Keep header white */
.services-page .services-profile-navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 11000; width: 100%; max-width: none; margin: 0;
  padding: 18px max(30px, calc((100vw - var(--container, 1520px)) / 2));
  background: rgba(255,255,255,.985); border-bottom: 1px solid rgba(17,17,17,.08); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: padding .25s ease, background .25s ease;
}
.services-page .services-profile-navbar.is-scrolled { padding-top: 12px; padding-bottom: 12px; }
.services-page .services-profile-navbar .brand__logo-image,
.services-page .site-footer .footer-logo-image { display:block; width:75px; height:auto; }
.services-page .services-profile-navbar .nav-menu,
.services-page .services-profile-navbar .nav-dropdown,
.services-page .services-profile-navbar .nav-dropdown-menu { overflow: visible; }
.services-page .services-profile-navbar .nav-dropdown { position: relative; display: inline-flex; align-items: center; }
.services-page .services-profile-navbar .nav-menu > a,
.services-page .services-profile-navbar .nav-dropdown-toggle {
  position: relative; display:inline-flex; align-items:center; gap:7px; padding:0; border:0; background:transparent; color:#111 !important;
  font:inherit; font-size:12px; font-weight:800; line-height:1; text-transform:uppercase; letter-spacing:.45px; white-space:nowrap; cursor:pointer;
}
.services-page .services-profile-navbar .nav-dropdown-toggle > span { font-size:13px; transition: transform .25s ease; }
.services-page .services-profile-navbar .nav-menu > a::after,
.services-page .services-profile-navbar .nav-dropdown-toggle::after {
  content:""; position:absolute; left:0; bottom:-9px; width:0; height:2px; background:var(--svc-red); transition: width .25s ease;
}
.services-page .services-profile-navbar .nav-menu > a:hover,
.services-page .services-profile-navbar .nav-menu > a.active,
.services-page .services-profile-navbar .nav-dropdown:hover .nav-dropdown-toggle,
.services-page .services-profile-navbar .nav-dropdown.open .nav-dropdown-toggle,
.services-page .services-profile-navbar .nav-dropdown-toggle:hover,
.services-page .services-profile-navbar .nav-dropdown-toggle.active { color: var(--svc-red) !important; }
.services-page .services-profile-navbar .nav-menu > a:hover::after,
.services-page .services-profile-navbar .nav-menu > a.active::after,
.services-page .services-profile-navbar .nav-dropdown:hover .nav-dropdown-toggle::after,
.services-page .services-profile-navbar .nav-dropdown.open .nav-dropdown-toggle::after,
.services-page .services-profile-navbar .nav-dropdown-toggle.active::after { width:100%; }
.services-page .services-profile-navbar .nav-dropdown:hover .nav-dropdown-toggle > span,
.services-page .services-profile-navbar .nav-dropdown.open .nav-dropdown-toggle > span { transform: rotate(180deg); }
.services-page .services-profile-navbar .nav-dropdown-menu {
  position:absolute; top:calc(100% + 24px); left:-20px; z-index:11020; min-width:250px; padding:10px; background:#fff; border:1px solid rgba(140,32,32,.16);
  opacity:0; visibility:hidden; pointer-events:none; transform:translateY(12px); transition:opacity .24s ease, visibility .24s ease, transform .24s ease;
}
.services-page .services-profile-navbar .nav-dropdown:hover .nav-dropdown-menu,
.services-page .services-profile-navbar .nav-dropdown:focus-within .nav-dropdown-menu,
.services-page .services-profile-navbar .nav-dropdown.open .nav-dropdown-menu { opacity:1; visibility:visible; pointer-events:auto; transform:translateY(0); }
.services-page .services-profile-navbar .nav-dropdown-menu a { display:block; width:100%; padding:14px 15px; color:#111 !important; font-size:12px; font-weight:800; line-height:1.2; white-space:nowrap; border-left:3px solid transparent; }
.services-page .services-profile-navbar .nav-dropdown-menu a:hover,
.services-page .services-profile-navbar .nav-dropdown-menu a.active { color:var(--svc-red) !important; background:rgba(179,34,34,.07); border-left-color:var(--svc-red); }

/* Hero */
.services-hero {
  position: relative;
  min-height: 500px;
  padding-top: calc(var(--services-nav-height) + 34px);
  overflow: hidden;
  background: #050a10;
}
.services-hero__media,
.services-hero__overlay,
.services-hero__mesh { position:absolute; inset:0; }
.services-hero__media {
  background-image: url('assets/services/services-hero.png');
  background-position: center center;
  background-size: cover;
  transform: scale(1.02);
}
.services-hero__overlay {
  background:
    linear-gradient(90deg, rgba(4,8,14,.90) 0%, rgba(4,8,14,.74) 28%, rgba(4,8,14,.32) 56%, rgba(4,8,14,.68) 100%),
    linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.22));
}
.services-hero__mesh {
  left: auto; width: 28%; opacity: .22;
  background-image:
    linear-gradient(120deg, transparent 44%, rgba(255,255,255,.12) 45%, transparent 46%),
    linear-gradient(60deg, transparent 44%, rgba(255,255,255,.10) 45%, transparent 46%),
    linear-gradient(180deg, rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 80px 80px, 80px 80px;
  background-position: center;
}
.services-hero .services-shell { position: relative; z-index: 2; }
.services-hero__content { max-width: 420px; padding: 24px 0 170px 10px; color: #fff; }
.eyebrow { display:flex; align-items:center; gap:10px; margin:0 0 10px; color:#e03a3a; font-size:11px; font-weight:900; letter-spacing:1px; text-transform:uppercase; }
.eyebrow::after { content:""; width:44px; height:2px; background: var(--svc-red-bright); }
.services-hero__content h1 {
  margin: 0;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: clamp(58px, 5.3vw, 84px);
  line-height: .88;
  text-transform: uppercase;
  letter-spacing: -.5px;
}
.services-hero__content h1 span { display:block; color:#d93434; }
.hero-summary { max-width: 360px; margin: 14px 0 22px; color: var(--svc-muted); font-size: 14px; line-height: 1.65; }
.hero-cta {
  display:inline-flex; align-items:center; justify-content:center; gap:18px; min-height:48px; padding: 0 22px;
  background: linear-gradient(90deg, #982020, #ba2929); color:#fff; font-size:11px; font-weight:900; letter-spacing:.25px; text-transform:uppercase;
  transition: transform .25s ease, box-shadow .25s ease;
}
.hero-cta:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(179,34,34,.25); }

/* Cards */
.services-cards-panel { position: relative; z-index: 4; margin-top: -86px; padding-bottom: 0; }
.services-cards-grid { display:grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 8px; }
.service-card {
  position: relative; background:#fff; border: 1px solid rgba(18,18,18,.12); box-shadow: 0 12px 26px rgba(0,0,0,.08);
  transition: transform .28s ease, box-shadow .28s ease;
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 18px 36px rgba(179,34,34,.14); }
.service-card__image { height: 150px; overflow:hidden; }
.service-card__image img { width:100%; height:100%; object-fit:cover; display:block; }
.service-card__body { position: relative; padding: 20px 16px 18px; }
.service-card__icon {
  position:absolute; top:-20px; left:16px; width:42px; height:42px; display:grid; place-items:center; background:#fff; color:var(--svc-red);
  border:1px solid rgba(179,34,34,.18); box-shadow: 0 10px 22px rgba(0,0,0,.08);
}
.service-card__icon svg { width:22px; height:22px; fill: currentColor; }
.service-card h2 {
  margin: 14px 0 0;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 22px; line-height: 1; text-transform: uppercase; color:#191919;
}
.service-card h2::after { content:""; display:block; width:32px; height:2px; background: var(--svc-red); margin: 10px 0 12px; }
.service-card p { margin: 0; color: rgba(17,17,17,.68); font-size: 12px; line-height: 1.58; min-height: 72px; }
.service-card a { display:inline-flex; align-items:center; gap:12px; margin-top: 16px; color: var(--svc-red); font-size: 11px; font-weight: 900; text-transform: uppercase; }

/* Capability band */
.capability-band { margin-top: 2px; background: linear-gradient(180deg, #091019 0%, #0d131d 100%); color:#fff; }
.capability-layout { display:grid; grid-template-columns: minmax(260px, .46fr) minmax(0, 1.54fr); align-items: stretch; }
.capability-image { position: relative; min-height: 174px; overflow:hidden; }
.capability-image::after { content:""; position:absolute; right:-1px; top:0; bottom:0; width: 82px; background: var(--svc-red); clip-path: polygon(100% 0, 0 100%, 100% 100%); }
.capability-image img { width:100%; height:100%; object-fit:cover; display:block; }
.capability-main { display:grid; grid-template-columns: minmax(320px, .92fr) minmax(0, 1.08fr); }
.capability-copy { padding: 18px 22px 16px 22px; }
.eyebrow--small { font-size: 10px; margin-bottom: 8px; }
.capability-copy h2 {
  margin: 0;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: clamp(40px, 3.9vw, 62px);
  line-height: .9;
  text-transform: uppercase;
}
.capability-copy h2 span { display:block; color:#d93434; }
.capability-copy p:last-child { margin: 12px 0 0; max-width: 320px; color: rgba(255,255,255,.72); font-size: 12.8px; line-height: 1.55; }
.capability-stats { display:grid; grid-template-columns: repeat(4, minmax(0,1fr)); }
.stat-card {
  min-height: 174px; padding: 18px 18px 16px; display:flex; flex-direction:column; justify-content:center;
  border-left: 1px solid rgba(255,255,255,.12);
}
.stat-card strong { font-family:"Barlow Condensed", Impact, sans-serif; font-size: clamp(38px, 3.4vw, 56px); line-height: .92; }
.stat-card span { display:block; margin-top: 10px; color:#fff; font-size:10px; font-weight:900; letter-spacing:.55px; text-transform:uppercase; }
.stat-card small { display:block; margin-top: 5px; color: rgba(255,255,255,.66); font-size: 11.4px; line-height: 1.45; }

/* Why section */
.why-section { background:#fff; border-top: 1px solid rgba(17,17,17,.08); }
.why-layout { display:grid; grid-template-columns: minmax(290px, .74fr) minmax(0, 1.26fr); align-items: stretch; }
.why-copy { padding: 18px 18px 16px 0; }
.eyebrow--dark { color: var(--svc-red); }
.eyebrow--dark::after { background: var(--svc-red); }
.why-copy h2 {
  margin:0;
  font-family:"Barlow Condensed", Impact, sans-serif;
  font-size: clamp(42px, 3.9vw, 60px);
  line-height: .92;
  text-transform: uppercase;
  color:#171717;
}
.why-copy h2 span { display:block; color: var(--svc-red); }
.why-copy p:last-child { margin:12px 0 0; max-width: 360px; color: rgba(17,17,17,.68); font-size: 12.8px; line-height: 1.6; }
.why-points { display:grid; grid-template-columns: repeat(5, minmax(0,1fr)); border-left: 1px solid rgba(17,17,17,.1); }
.why-point {
  min-height: 106px; padding: 18px 14px 16px; text-align:center; border-right: 1px solid rgba(17,17,17,.1);
  transition: transform .24s ease, background .24s ease;
}
.why-point:hover { transform: translateY(-5px); background: rgba(179,34,34,.035); }
.why-point__icon { font-size: 25px; color: var(--svc-red); line-height: 1; margin-bottom: 12px; }
.why-point h3 { margin:0 0 8px; font-size: 11.2px; font-weight: 800; line-height: 1.35; color:#171717; text-transform: uppercase; }
.why-point p { margin:0; font-size: 10.7px; line-height: 1.5; color: rgba(17,17,17,.62); }

/* animation */
.reveal-item { opacity: 0; transform: translateY(28px); }
.reveal-item.is-visible { opacity: 1; transform: translateY(0); transition: opacity .75s ease, transform .75s cubic-bezier(.22,1,.36,1); }

@media (max-width: 1240px) {
  .services-cards-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
  .services-cards-panel { margin-top: -40px; }
  .capability-layout,
  .capability-main,
  .why-layout { grid-template-columns: 1fr; }
  .capability-stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stat-card { min-height: 150px; border-top: 1px solid rgba(255,255,255,.12); }
  .stat-card:nth-child(1), .stat-card:nth-child(2) { border-top: 0; }
  .why-points { grid-template-columns: repeat(5, minmax(180px,1fr)); overflow-x: auto; }
  .why-copy { padding-right: 0; }
}

@media (max-width: 1024px) {
  .services-page .services-profile-navbar,
  .services-page .services-profile-navbar.is-scrolled { padding: 14px 24px; }
  .services-page .services-profile-navbar .nav-menu {
    position: fixed; top: var(--services-nav-height); left: 0; right: 0; width: 100%; max-height: calc(100dvh - var(--services-nav-height));
    margin: 0; padding: 22px 24px 30px; display:none; flex-direction:column; align-items:flex-start; gap:0; overflow-x:hidden; overflow-y:auto;
    background: rgba(255,255,255,.995); border-top:1px solid rgba(140,32,32,.12);
  }
  .services-page .services-profile-navbar .nav-menu.open { display:flex; }
  .services-page .services-profile-navbar .nav-menu > a,
  .services-page .services-profile-navbar .nav-dropdown { width:100%; }
  .services-page .services-profile-navbar .nav-menu > a,
  .services-page .services-profile-navbar .nav-dropdown-toggle { width:100%; justify-content:space-between; padding:10px 0; text-align:left; }
  .services-page .services-profile-navbar .nav-menu > a::after,
  .services-page .services-profile-navbar .nav-dropdown-toggle::after { bottom:4px; }
  .services-page .services-profile-navbar .nav-dropdown { display:block; }
  .services-page .services-profile-navbar .nav-dropdown-menu { position:static; display:none; min-width:0; width:100%; margin:4px 0 8px; padding:4px 0 4px 14px; background:rgba(140,32,32,.035); border:0; border-left:2px solid rgba(140,32,32,.22); opacity:1; visibility:visible; pointer-events:auto; transform:none; }
  .services-page .services-profile-navbar .nav-dropdown.open .nav-dropdown-menu { display:block; }
  .services-page .services-profile-navbar .nav-dropdown-menu a { padding:12px 13px; white-space:normal; }
  .services-hero { min-height: 460px; padding-top: calc(var(--services-nav-height) + 28px); }
  .services-hero__content { padding-bottom: 130px; }
}

@media (max-width: 768px) {
  :root { --svc-shell: min(100% - 22px, 760px); }
  .services-page { --services-nav-height: 78px; }
  .services-hero { min-height: 400px; }
  .services-hero__mesh { display:none; }
  .services-hero__content { max-width: 320px; padding: 14px 0 44px 0; }
  .services-hero__content h1 { font-size: 52px; }
  .hero-summary { font-size: 13px; }
  .hero-cta { width: 100%; }
  .services-cards-grid,
  .capability-stats { grid-template-columns: 1fr; }
  .service-card__image { height: 180px; }
  .why-points { grid-template-columns: 1fr; overflow: visible; border-left: 0; }
  .why-point { border-top: 1px solid rgba(17,17,17,.1); border-right: 0; min-height: auto; }
}

@media (max-width: 640px) {
  .services-page .services-profile-navbar,
  .services-page .services-profile-navbar.is-scrolled { padding: 12px 16px; }
  .services-page .services-profile-navbar .brand__logo-image,
  .services-page .site-footer .footer-logo-image { width: 126px; }
  .services-page .services-profile-navbar .nav-menu { padding:18px 20px 28px; }
  .services-cards-panel { margin-top: -18px; }
}

@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior:auto !important; }
  .reveal-item { opacity:1 !important; transform:none !important; transition:none !important; }
}

/* =========================================================
   FINAL RESPONSIVE POLISH
   Wide-screen scaling, mobile stacking and full button sweep
   ========================================================= */

/* Keep the page visually controlled on very wide monitors. */
.services-page {
  --svc-shell: min(1600px, calc(100% - clamp(32px, 4vw, 88px)));
}

.services-shell {
  width: var(--svc-shell);
  max-width: 1600px;
}

.services-hero {
  min-height: clamp(470px, 34vw, 620px);
}

.services-hero__content {
  max-width: clamp(390px, 29vw, 500px);
  padding-top: clamp(28px, 3vw, 52px);
  padding-bottom: clamp(150px, 12vw, 205px);
}

.services-hero__content h1 {
  font-size: clamp(62px, 5.4vw, 94px);
}

.hero-summary {
  max-width: 430px;
  font-size: clamp(13px, .85vw, 15px);
}

/* Maintain clear proportions instead of stretching images. */
.service-card__image {
  height: clamp(160px, 10.5vw, 205px);
}

.service-card__image img,
.capability-image img {
  object-position: center center;
}

.service-card__body {
  padding: clamp(20px, 1.5vw, 28px) clamp(17px, 1.35vw, 24px) 22px;
}

.service-card p {
  min-height: 0;
}

.capability-layout {
  min-height: clamp(190px, 14vw, 260px);
}

.capability-image,
.stat-card {
  min-height: inherit;
}

/* Full-width animated button sweep. */
.hero-cta,
.services-page .footer-btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  background: #9b2020;
  transform: translateZ(0);
}

.hero-cta::before,
.services-page .footer-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #d33636, #841919);
  transform: translateX(-102%);
  transition: transform .42s cubic-bezier(.22, 1, .36, 1);
}

.hero-cta:hover::before,
.hero-cta:focus-visible::before,
.services-page .footer-btn:hover::before,
.services-page .footer-btn:focus-visible::before {
  transform: translateX(0);
}

.hero-cta > *,
.services-page .footer-btn > * {
  position: relative;
  z-index: 1;
}

.hero-cta:hover,
.hero-cta:focus-visible,
.services-page .footer-btn:hover,
.services-page .footer-btn:focus-visible {
  color: #ffffff;
  transform: translateY(-3px);
}

.hero-cta span,
.services-page .footer-btn span {
  transition: transform .3s ease;
}

.hero-cta:hover span,
.hero-cta:focus-visible span,
.services-page .footer-btn:hover span,
.services-page .footer-btn:focus-visible span {
  transform: translateX(6px);
}

/* Convert text links into complete, stable animated actions. */
.service-card a {
  position: relative;
  width: max-content;
  min-height: 34px;
  padding: 0 12px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(179,34,34,.2);
  transition: color .3s ease, transform .3s ease;
}

.service-card a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--svc-red);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .38s cubic-bezier(.22, 1, .36, 1);
}

.service-card a:hover,
.service-card a:focus-visible {
  color: #ffffff;
  transform: translateY(-2px);
}

.service-card a:hover::before,
.service-card a:focus-visible::before {
  transform: scaleX(1);
}

.service-card a span {
  transition: transform .28s ease;
}

.service-card a:hover span,
.service-card a:focus-visible span {
  transform: translateX(5px);
}

/* Ultra-wide screens */
@media (min-width: 1800px) {
  .services-page {
    --svc-shell: min(1640px, calc(100% - 120px));
  }

  .services-hero {
    min-height: 600px;
  }

  .services-hero__content {
    padding-top: 60px;
    padding-bottom: 210px;
  }

  .services-cards-panel {
    margin-top: -105px;
  }

  .services-cards-grid {
    gap: 14px;
  }

  .service-card__image {
    height: 205px;
  }

  .service-card h2 {
    font-size: 25px;
  }

  .service-card p {
    font-size: 13px;
    line-height: 1.65;
  }
}

/* Laptop and medium-width screens */
@media (max-width: 1360px) {
  .services-page {
    --svc-shell: min(100% - 40px, 1240px);
  }

  .services-cards-grid {
    gap: 12px;
  }

  .service-card h2 {
    font-size: 20px;
  }

  .capability-main {
    grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr);
  }

  .stat-card {
    padding-inline: 14px;
  }
}

@media (max-width: 1180px) {
  .services-hero {
    min-height: 510px;
  }

  .services-hero__content {
    padding-bottom: 112px;
  }

  .services-cards-panel {
    margin-top: -54px;
  }

  .services-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .service-card__image {
    height: clamp(190px, 24vw, 260px);
  }

  .capability-layout,
  .capability-main,
  .why-layout {
    grid-template-columns: 1fr;
  }

  .capability-image {
    min-height: 320px;
  }

  .capability-image::after {
    width: 120px;
  }

  .capability-copy {
    padding: 34px 28px 24px;
  }

  .capability-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat-card {
    min-height: 155px;
    border-top: 1px solid rgba(255,255,255,.12);
  }

  .stat-card:nth-child(1),
  .stat-card:nth-child(2) {
    border-top: 0;
  }

  .why-copy {
    padding: 40px 0 28px;
  }

  .why-points {
    grid-template-columns: repeat(5, minmax(170px, 1fr));
    overflow-x: auto;
    scrollbar-width: thin;
  }
}

/* Tablet */
@media (max-width: 900px) {
  .services-page {
    --svc-shell: min(100% - 28px, 840px);
  }

  .services-hero {
    min-height: 500px;
  }

  .services-hero__media {
    background-position: 62% center;
  }

  .services-hero__content {
    max-width: 420px;
    padding-left: 0;
    padding-bottom: 100px;
  }

  .services-cards-panel {
    margin-top: -34px;
  }

  .service-card__image {
    height: 220px;
  }

  .why-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
    border-left: 0;
  }

  .why-point {
    border-top: 1px solid rgba(17,17,17,.1);
  }
}

/* Mobile */
@media (max-width: 700px) {
  .services-page {
    --svc-shell: min(100% - 22px, 640px);
  }

  .services-hero {
    min-height: 620px;
    padding-top: calc(var(--services-nav-height) + 16px);
  }

  .services-hero__media {
    background-position: 66% center;
    transform: none;
  }

  .services-hero__overlay {
    background:
      linear-gradient(180deg, rgba(4,8,14,.88) 0%, rgba(4,8,14,.7) 46%, rgba(4,8,14,.42) 100%),
      linear-gradient(90deg, rgba(4,8,14,.68), rgba(4,8,14,.22));
  }

  .services-hero__mesh {
    display: none;
  }

  .services-hero__content {
    max-width: none;
    padding: 24px 0 70px;
  }

  .services-hero__content h1 {
    font-size: clamp(52px, 17vw, 72px);
  }

  .hero-summary {
    max-width: 430px;
    font-size: 13px;
  }

  .hero-cta {
    width: 100%;
  }

  .services-cards-panel {
    margin-top: 0;
    padding-top: 16px;
  }

  .services-cards-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .service-card__image {
    height: min(62vw, 300px);
  }

  .service-card__body {
    padding: 24px 20px 22px;
  }

  .service-card__icon {
    width: 48px;
    height: 48px;
    top: -24px;
  }

  .service-card h2 {
    margin-top: 10px;
    font-size: 25px;
  }

  .service-card a {
    width: 100%;
    min-height: 42px;
    justify-content: space-between;
  }

  .capability-image {
    min-height: 250px;
  }

  .capability-image::after {
    display: none;
  }

  .capability-copy {
    padding: 30px 18px 22px;
  }

  .capability-copy h2 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .capability-stats {
    grid-template-columns: 1fr;
  }

  .stat-card,
  .stat-card:nth-child(1),
  .stat-card:nth-child(2) {
    min-height: 0;
    padding: 26px 20px;
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.12);
  }

  .why-copy h2 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .why-points {
    grid-template-columns: 1fr;
  }

  .why-point {
    min-height: 0;
    padding: 24px 18px;
    border-right: 0;
  }

  .services-page .footer-btn {
    width: 100%;
  }
}

/* Small mobile */
@media (max-width: 430px) {
  .services-page {
    --svc-shell: calc(100% - 18px);
  }

  .services-hero {
    min-height: 590px;
  }

  .services-hero__content h1 {
    font-size: 52px;
  }

  .service-card__image {
    height: 230px;
  }
}

/* =========================================================
   Services Page Header:
   Initial menu white, sticky menu black
   Dropdown links remain black
   ========================================================= */

@media (min-width: 1025px) {

  /* Initial header transparent over hero */
  .services-page
  .services-profile-navbar:not(.is-scrolled) {
    background: transparent !important;
    border-bottom-color: rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  /* Initial top-level menu white */
  .services-page
  .services-profile-navbar:not(.is-scrolled)
  .nav-menu > a,

  .services-page
  .services-profile-navbar:not(.is-scrolled)
  .nav-dropdown-toggle {
    color: #ffffff !important;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35) !important;
  }

  /* Initial active menu also white */
  .services-page
  .services-profile-navbar:not(.is-scrolled)
  .nav-menu > a.active,

  .services-page
  .services-profile-navbar:not(.is-scrolled)
  .nav-dropdown-toggle.active {
    color: #ffffff !important;
  }

  /* Initial menu hover remains red */
  .services-page
  .services-profile-navbar:not(.is-scrolled)
  .nav-menu > a:hover,

  .services-page
  .services-profile-navbar:not(.is-scrolled)
  .nav-dropdown-toggle:hover,

  .services-page
  .services-profile-navbar:not(.is-scrolled)
  .nav-dropdown:hover
  .nav-dropdown-toggle {
    color: var(--svc-red-bright, #d83434) !important;
  }

  /* Sticky header stays white */
  .services-page
  .services-profile-navbar.is-scrolled {
    background: rgba(255, 255, 255, 0.985) !important;
    border-bottom-color: rgba(17, 17, 17, 0.08) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
  }

  /* Sticky top-level menu black */
  .services-page
  .services-profile-navbar.is-scrolled
  .nav-menu > a,

  .services-page
  .services-profile-navbar.is-scrolled
  .nav-dropdown-toggle {
    color: #111111 !important;
    text-shadow: none !important;
  }

  /* Sticky hover and active red */
  .services-page
  .services-profile-navbar.is-scrolled
  .nav-menu > a:hover,

  .services-page
  .services-profile-navbar.is-scrolled
  .nav-menu > a.active,

  .services-page
  .services-profile-navbar.is-scrolled
  .nav-dropdown-toggle:hover,

  .services-page
  .services-profile-navbar.is-scrolled
  .nav-dropdown-toggle.active,

  .services-page
  .services-profile-navbar.is-scrolled
  .nav-dropdown:hover
  .nav-dropdown-toggle {
    color: var(--svc-red, #b32222) !important;
  }
}

/* Dropdown menu items always black */
.services-page
.services-profile-navbar
.nav-dropdown-menu a,

.services-page
.services-profile-navbar
.nav-dropdown-menu a:link,

.services-page
.services-profile-navbar
.nav-dropdown-menu a:visited {
  color: #111111 !important;
  text-shadow: none !important;
}

/* Dropdown hover remains red */
.services-page
.services-profile-navbar
.nav-dropdown-menu a:hover,

.services-page
.services-profile-navbar
.nav-dropdown-menu a.active {
  color: var(--svc-red, #b32222) !important;
}

