/* PPGL Services V2 — scoped to service.html; global site styles remain in style.css */
.services-page main {
  overflow-x: clip;
}
.services-page .sv-hero,
.services-page .sv-dark {
  background: #071827;
  color: #f8fafc;
}
.services-page .sv-hero {
  padding: clamp(64px, 7vw, 112px) 0 70px;
}
.services-page .sv-hero-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
}
.services-page .sv-eyebrow {
  display: inline-block;
  color: #ffd52c;
  text-transform: uppercase;
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  margin-bottom: 18px;
}
.services-page .sv-hero h1 {
  font-size: clamp(2.7rem, 5vw, 5.3rem);
  line-height: 1.02;
  letter-spacing: -0.065em;
  font-weight: 900;
  color: #fff;
  margin: 0 0 24px;
}
.services-page .sv-hero h1 span {
  color: #ffdc35;
}
.services-page .sv-hero-copy > p:not(.sv-hero-footnote) {
  color: #c5d2df;
  font-size: 1.07rem;
  line-height: 1.8;
  max-width: 640px;
}
.services-page .sv-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.services-page .sv-hero-footnote {
  margin-top: 25px;
  color: #b5c6d8;
  font-size: 0.8rem;
  line-height: 1.6;
}
.services-page .sv-hero-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  min-width: 0;
}
.services-page .sv-hero-photo {
  height: 390px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg, 18px);
  border: 1px solid #34516a;
}
.services-page .sv-hero-photo:nth-child(2) {
  margin-top: 32px;
}
.services-page .sv-hero-photo img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  display: block;
}
.services-page .sv-hero-photo:after {
  content: "";
  position: absolute;
  inset: 50% 0 0;
  background: linear-gradient(transparent, #061522e8);
}
.services-page .sv-hero-photo > span {
  position: absolute;
  z-index: 1;
  bottom: 20px;
  left: 18px;
  right: 12px;
  color: #fff;
  font-weight: 900;
  font-size: 0.86rem;
}
.services-page .sv-sector-strip {
  padding: 23px 0;
  border-bottom: 1px solid #dce2e9;
  background: #f8fafc;
  color: #0a1928;
}
.services-page .sv-sector-strip > .container {
  display: flex;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}
.services-page .sv-sector-strip strong {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.services-page .sv-sector-strip .container > div {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}
.services-page .sv-sector-strip span {
  padding: 8px 13px;
  border: 1px solid #d9e0e8;
  border-radius: 999px;
  font-size: 0.79rem;
  font-weight: 700;
}
.services-page .sv-section {
  padding: clamp(58px, 7vw, 96px) 0;
}
.services-page .sv-light {
  background: #f6f8fb;
  color: #0b1929;
}
.services-page .sv-light .sv-eyebrow {
  color: #977000;
}
.services-page .sv-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 32px;
}
.services-page .sv-section-head > div {
  max-width: 800px;
}
.services-page .sv-section h2 {
  font-size: clamp(2rem, 3.4vw, 3.4rem);
  letter-spacing: -0.055em;
  line-height: 1.12;
  margin: 0 0 16px;
  font-weight: 900;
  color: inherit;
}
.services-page .sv-section-head p,
.services-page .sv-partners p {
  line-height: 1.75;
  font-size: 1rem;
  max-width: 750px;
  margin: 0;
  color: #526276;
}
.services-page .sv-dark .sv-section-head p,
.services-page .sv-dark p {
  color: #b9c9da;
}
.services-page .sv-section-head > .btn {
  flex-shrink: 0;
}
.services-page .sv-flow {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid #dce3eb;
  border-radius: var(--radius-lg, 18px);
  margin-bottom: 26px;
  color: #24364b;
}
.services-page .sv-flow span {
  font-size: 0.8rem;
  font-weight: 700;
}
.services-page .sv-flow i {
  color: #c09a1a;
  font-size: 0.75rem;
}
.services-page .sv-grid {
  display: grid;
  gap: 15px;
}
.services-page .sv-material-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.services-page .sv-category,
.services-page .sv-role {
  font: inherit;
  text-align: left;
  cursor: pointer;
  border: 1px solid #d8e0e9;
  background: #fff;
  color: #0b1929;
  border-radius: var(--radius-lg, 18px);
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition:
    transform 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
}
.services-page .sv-category:hover,
.services-page .sv-role:hover {
  transform: translateY(-4px);
  border-color: #c7a333;
  box-shadow: 0 14px 35px #07182715;
}
.services-page .sv-category:focus-visible,
.services-page .sv-role:focus-visible,
.services-page .sv-close:focus-visible {
  outline: 3px solid #e3b722;
  outline-offset: 3px;
}
.services-page .sv-category-media {
  height: 140px;
  display: grid;
  place-items: center;
  background: #e9eff5;
  color: #235c91;
  font-size: 2.6rem;
  overflow: hidden;
}
.services-page .sv-category-media img,
.services-page .sv-role-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.services-page .sv-category-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}
.services-page .sv-category-body small {
  color: #a47d00;
  font-weight: 900;
  letter-spacing: 0.12em;
}
.services-page .sv-category-body strong {
  font-size: 0.98rem;
  line-height: 1.35;
}
.services-page .sv-category-body > span {
  font-size: 0.8rem;
  line-height: 1.55;
  color: #526276;
  flex: 1;
}
.services-page .sv-category-body em,
.services-page .sv-role-body em {
  font-size: 0.78rem;
  color: #8e6a00;
  font-weight: 900;
  font-style: normal;
  margin-top: 8px;
}
.services-page .sv-scope-note {
  font-size: 0.79rem;
  line-height: 1.6;
  margin: 20px 0 0;
  color: #58677a;
}
.services-page .sv-dark .sv-scope-note {
  color: #b7c9db;
}
.services-page .sv-workforce-banner {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 25px;
  align-items: center;
  background: #112c43;
  border: 1px solid #28465e;
  border-radius: var(--radius-lg, 18px);
  overflow: hidden;
  margin-bottom: 25px;
}
.services-page .sv-workforce-banner img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}
.services-page .sv-workforce-banner > div {
  padding: 20px 25px 20px 0;
}
.services-page .sv-workforce-banner h3 {
  font-size: 1.4rem;
  line-height: 1.3;
  color: #fff;
  margin: 0 0 9px;
}
.services-page .sv-workforce-banner p {
  font-size: 0.87rem;
  line-height: 1.6;
  margin: 0;
}
.services-page .sv-role-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.services-page .sv-role {
  background: #11283b;
  color: #fff;
  border-color: #29445a;
}
.services-page .sv-role-media {
  height: 145px;
  background: #1d3b52;
  color: #ffdb38;
  display: grid;
  place-items: center;
  font-size: 2.5rem;
  overflow: hidden;
}
.services-page .sv-role-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
  padding: 20px;
}
.services-page .sv-role-body strong {
  font-size: 1.06rem;
  line-height: 1.4;
}
.services-page .sv-role-body > span {
  color: #c1cfdd;
  font-size: 0.84rem;
  line-height: 1.55;
  flex: 1;
}
.services-page .sv-role-body em {
  color: #ffdb38;
}
.services-page .sv-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.services-page .sv-steps article {
  border: 1px solid #dce2e8;
  border-radius: var(--radius-lg, 18px);
  padding: 25px;
  background: #fff;
}
.services-page .sv-steps b {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: #ffdb38;
  border-radius: 50%;
  font-size: 0.9rem;
  margin-bottom: 22px;
}
.services-page .sv-steps h3 {
  font-size: 1.07rem;
  margin: 0 0 8px;
  color: #0b1929;
}
.services-page .sv-steps p {
  font-size: 0.86rem;
  color: #536276;
  line-height: 1.6;
  margin: 0;
}
.services-page .sv-partner-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}
.services-page .sv-partner-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}
.services-page .sv-partner-actions .btn {
  text-align: center;
  justify-content: center;
}
.services-page .sv-dark .btn-ghost,
.services-page .sv-hero .btn-ghost {
  color: #fff;
  border-color: #506277;
  background: #ffffff0c;
}
.services-page .sv-dark .btn-ghost:hover,
.services-page .sv-hero .btn-ghost:hover {
  background: #ffffff22;
}
.services-page .sv-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  max-width: min(680px, calc(100vw - 30px));
  max-height: min(85vh, 850px);
  width: 100%;
  overflow-y: auto;
  border: 1px solid #d5dde7;
  border-radius: 20px;
  padding: clamp(24px, 4vw, 42px);
  background: #fff;
  color: #101e2d;
  box-shadow: 0 30px 100px #0005;
}
.services-page .sv-dialog::backdrop {
  background: #061321b8;
  backdrop-filter: blur(5px);
}
.services-page .sv-dialog-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}
.services-page .sv-dialog .sv-eyebrow {
  color: #947000;
  margin: 0 0 14px;
}
.services-page .sv-dialog h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.045em;
  color: #0b1929;
  margin: 8px 0 16px;
}
.services-page .sv-dialog p {
  color: #4a5b70;
  line-height: 1.7;
}
.services-page .sv-close {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #cbd5e1;
  background: #f3f6fa;
  color: #101e2d;
  cursor: pointer;
  font-size: 1.15rem;
}
.services-page .sv-dialog-note {
  background: #f2f5f8;
  border-left: 4px solid #ffdb38;
  padding: 20px;
  margin: 22px 0;
  border-radius: 8px;
}
.services-page .sv-dialog-note strong {
  color: #0b1929;
}
.services-page .sv-dialog-note p {
  font-size: 0.9rem;
  margin: 7px 0 0;
}
.services-page .sv-role-list {
  columns: 2;
  column-gap: 28px;
  padding-left: 20px;
  color: #26374a;
  line-height: 1.9;
}
.services-page .sv-role-list li {
  break-inside: avoid;
}
/* Keep the dialogs readable regardless of the global light/dark theme. */
html[data-theme="light"] .services-page .sv-hero,
html[data-theme="light"] .services-page .sv-dark {
  background: #071827;
  color: #f8fafc;
}
html[data-theme="dark"] .services-page .sv-light {
  background: #f6f8fb;
  color: #0b1929;
}
@media (max-width: 1100px) {
  .services-page .sv-material-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .services-page .sv-hero-grid {
    grid-template-columns: 1fr 1fr;
  }
  .services-page .sv-hero-photo {
    height: 330px;
  }
}
@media (max-width: 850px) {
  .services-page .sv-hero-grid,
  .services-page .sv-partner-grid {
    grid-template-columns: 1fr;
  }
  .services-page .sv-hero-visual {
    max-width: 620px;
  }
  .services-page .sv-section-head {
    align-items: start;
    flex-direction: column;
  }
  .services-page .sv-material-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .services-page .sv-role-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .services-page .sv-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .services-page .sv-partner-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}
@media (max-width: 560px) {
  .services-page .sv-hero {
    padding: 50px 0;
  }
  .services-page .sv-hero-photo {
    height: 250px;
  }
  .services-page .sv-hero-photo:nth-child(2) {
    margin-top: 20px;
  }
  .services-page .sv-material-grid,
  .services-page .sv-role-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .services-page .sv-category-media {
    height: 105px;
  }
  .services-page .sv-category-body {
    padding: 13px;
  }
  .services-page .sv-category-body strong {
    font-size: 0.88rem;
  }
  .services-page .sv-category-body > span {
    font-size: 0.74rem;
  }
  .services-page .sv-role-media {
    height: 105px;
  }
  .services-page .sv-role-body {
    padding: 13px;
  }
  .services-page .sv-role-body strong {
    font-size: 0.88rem;
  }
  .services-page .sv-role-body > span {
    font-size: 0.74rem;
  }
  .services-page .sv-steps {
    grid-template-columns: 1fr;
  }
  .services-page .sv-workforce-banner {
    grid-template-columns: 1fr;
  }
  .services-page .sv-workforce-banner img {
    height: 180px;
  }
  .services-page .sv-workforce-banner > div {
    padding: 0 20px 20px;
  }
  .services-page .sv-flow i {
    display: none;
  }
  .services-page .sv-flow span {
    width: 100%;
  }
  .services-page .sv-role-list {
    columns: 1;
  }
  .services-page .sv-partner-actions {
    flex-direction: column;
  }
}
@media (prefers-reduced-motion: reduce) {
  .services-page .sv-category,
  .services-page .sv-role {
    transition: none;
  }
}
