/* Page-specific styles for services.html. Shared site styles live in main.css. */

.services-hero{
  background:#1f4f7f;
}

.services-hero.hero--composed::before{
  border-color:rgba(195,150,76,.16);
}

.services-hero.hero--composed::after{
  background:
    radial-gradient(circle at 79% 58%, transparent 0 68px, rgba(195,150,76,.95) 69px 82px, transparent 83px 98px, rgba(195,150,76,.55) 99px 112px, transparent 113px),
    rgba(31,79,127,.96);
}

.services-hero .hero__content,
.services-hero .hero__summary{
  color:#fff;
}

.services-hero .eyebrow{
  color:var(--gold);
  font-weight:950;
}

.services-hero h1{
  color:#fff;
  max-width:840px;
}

.services-hero .hero__summary p{
  color:rgba(255,255,255,.9);
  line-height:1.58;
}

.services-hero .hero__summary p + p{
  margin-top:12px;
}

.services-hero .hero-photo{
  background:var(--navy);
}

.services-hero .hero-photo img{
  object-position:center;
}

.services-overview,
.services-page{
  width:min(var(--max), calc(100% - 48px));
  margin:50px auto 0;
}

.services-overview{
  margin-top:50px;
}

.services-overview .section-head,
.services-page .section-head{
  max-width:920px;
}

.services-overview .section-head p:not(.section-kicker),
.services-page .section-head p:not(.section-kicker){
  color:var(--mid-gray);
}

.services-flow-graphic{
  margin:34px auto 0;
  width:100%;
  max-width:none;
}

.services-flow-graphic img{
  display:block;
  width:100%;
  height:auto;
}

.services-card-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:28px;
  margin-top:40px;
}

.services-card{
  min-height:315px;
  padding:30px;
  background:#fff;
  border:var(--box-light-border);
  border-top:6px solid var(--navy);
  box-shadow:0 18px 46px rgba(0,32,74,.08);
}

.services-card__header{
  display:grid;
  grid-template-columns:62px 1fr;
  gap:18px;
  align-items:center;
  margin-bottom:18px;
}

.services-card__header span{
  display:grid;
  place-items:center;
  width:62px;
  height:62px;
  background:var(--gold);
  color:#fff;
  font-weight:950;
}

.services-card:nth-child(2) .services-card__header span,
.services-card:nth-child(5) .services-card__header span{
  background:var(--blue);
}

.services-card:nth-child(3) .services-card__header span,
.services-card:nth-child(6) .services-card__header span{
  background:var(--navy);
}

.services-card h3{
  margin:0;
  color:var(--navy);
  font-size:24px;
  line-height:1.15;
}

.services-card p{
  margin:0 0 22px;
  color:var(--mid-gray);
  font-size:17px;
  line-height:1.55;
}

.services-card ul{
  margin:0;
  padding-left:22px;
  color:var(--navy);
  font-weight:850;
}

.services-card li{
  line-height:1.35;
}

.services-card li + li{
  margin-top:9px;
}

.services-card__link{
  display:inline-block;
  margin-top:22px;
  color:var(--blue);
  font-weight:950;
  letter-spacing:.06em;
  text-decoration:none;
  text-transform:uppercase;
  font-size:13px;
}

.services-ribbon{
  margin-top:60px;
  padding:42px max(24px, calc((100vw - var(--max)) / 2));
  background:
    linear-gradient(90deg, rgba(0,32,74,.98), rgba(38,95,148,.9)),
    var(--navy);
  color:#fff;
}

.services-ribbon__content{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:58px;
  align-items:center;
}

.services-ribbon .section-kicker{
  color:var(--gold);
}

.services-ribbon h2{
  margin:0 0 24px;
  color:#fff;
  font-size:clamp(46px, 5.2vw, 72px);
  line-height:1;
}

.services-ribbon p:not(.section-kicker){
  max-width:800px;
  margin:0;
  color:rgba(255,255,255,.86);
  font-size:22px;
  line-height:1.55;
}

.services-ribbon__metrics{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:28px;
  margin-top:42px;
}

.services-ribbon__metrics div{
  padding-left:22px;
  border-left:3px solid var(--blue);
}

.services-ribbon__metrics strong,
.services-ribbon__metrics span{
  display:block;
}

.services-ribbon__metrics strong{
  color:#fff;
  font-size:24px;
  line-height:1.05;
}

.services-ribbon__metrics span{
  color:rgba(255,255,255,.82);
  font-size:18px;
  line-height:1.25;
}

.services-ribbon__image{
  position:relative;
  overflow:hidden;
  border-radius:8px;
}

.services-ribbon__image img{
  display:block;
  width:100%;
  height:auto;
  max-height:none;
  object-fit:contain;
}

.services-ribbon__image::before{
  content:"";
  position:absolute;
  inset:14px;
  z-index:1;
  border:1px solid rgba(255,255,255,.62);
  border-radius:5px;
  pointer-events:none;
}

.dark-cta--services{
  width:min(var(--max), calc(100% - 48px));
  margin:75px auto 90px;
  padding:36px 54px;
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:58px;
  align-items:center;
  justify-content:normal;
}

.dark-cta--services > div{
  min-width:0;
}

.dark-cta--services > .btn{
  justify-self:start;
}

.dark-cta--services h2{
  max-width:860px;
  margin-bottom:14px;
}

.dark-cta--services p:not(.eyebrow){
  margin-top:0;
}

@media (max-width:1100px){
  .services-card-grid,
  .services-ribbon__content{
    grid-template-columns:1fr;
  }
}

@media (max-width:720px){
  .services-overview,
  .services-page,
  .dark-cta--services{
    width:calc(100% - 36px);
    margin-top:72px;
  }

  .services-ribbon{
    margin-top:72px;
    padding:42px 18px;
  }

  .services-ribbon h2{
    font-size:40px;
  }

  .services-ribbon p:not(.section-kicker){
    font-size:18px;
  }

  .services-ribbon__metrics{
    grid-template-columns:1fr;
  }

  .services-card{
    padding:24px;
  }

  .services-card__header{
    grid-template-columns:52px 1fr;
  }

  .services-card__header span{
    width:52px;
    height:52px;
  }

  .dark-cta--services{
    padding:36px 24px;
    grid-template-columns:1fr;
    gap:28px;
  }
}
