/* =========================================================
   WebClinicHQ — Services Page
   ========================================================= */

:root{
  --svc-purple:#7C4DFF;
  --svc-purple-dark:#6236CC;
  --svc-violet:#A777FF;
  --svc-coral:#F2935C;
  --svc-teal:#18A39A;
  --svc-text:#171820;
  --svc-muted:#5E6675;
  --svc-faint:#81889A;
  --svc-white:#FFFFFF;
  --svc-dark:#111522;
  --svc-dark-two:#171B2B;
  --svc-dark-text:#F7F7FB;
  --svc-dark-muted:#B8BDCB;
  --svc-border:rgba(124,77,255,.15);
  --svc-container:1320px;
  --svc-ease:cubic-bezier(.22,1,.36,1);
}


/* =========================================================
   BASE
   ========================================================= */

.services-page,
.services-page *{
  box-sizing:border-box;
}

.services-page{
  width:100%;
  overflow:hidden;
  background:#fff;
  color:var(--svc-text);
  font-family:Arial,Helvetica,sans-serif;
}

.services-container{
  width:min(var(--svc-container),calc(100% - 48px));
  margin:0 auto;
}


/* =========================================================
   BREADCRUMB
   ========================================================= */

.services-breadcrumb{
  position:absolute;
  top:0;
  left:0;
  z-index:5;
  width:100%;
  padding:22px 0;
}

.services-breadcrumb nav{
  display:flex;
  align-items:center;
  gap:10px;
  width:max-content;
  font-size:12px;
  line-height:1.4;
}

.services-breadcrumb a{
  color:#171820;
  text-decoration:none;
  font-weight:500;
  transition:color .25s ease;
}

.services-breadcrumb a:hover{
  color:var(--svc-purple);
}

.services-breadcrumb nav>span{
  color:#9A9EAA;
}

.services-breadcrumb nav>span[aria-current="page"]{
  color:var(--svc-purple);
  font-weight:500;
}


/* =========================================================
   HERO
   Clean split layout:
   LEFT  = heading + description
   RIGHT = image
   ========================================================= */

.services-hero{
  position:relative;
  min-height:450px;
  display:flex;
  align-items:center;
  overflow:hidden;
  background:
    radial-gradient(circle at 15% 48%,rgba(242,147,92,.10),transparent 27%),
    radial-gradient(circle at 75% 35%,rgba(124,77,255,.15),transparent 31%),
    linear-gradient(120deg,#fff 0%,#fbfaff 52%,#f5f1ff 100%);
  border-bottom:1px solid rgba(124,77,255,.10);
}

.services-hero::before{
  content:"";
  position:absolute;
  width:500px;
  height:500px;
  right:-190px;
  top:-250px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(124,77,255,.10),transparent 68%);
  pointer-events:none;
}

.services-hero-grid{
  position:relative;
  z-index:2;
  min-height:450px;
  display:grid;
  grid-template-columns:minmax(390px,.82fr) minmax(520px,1.18fr);
  align-items:center;
  gap:65px;
}

.services-hero-copy{
  position:relative;
  z-index:3;
  max-width:590px;
  padding:30px 0;
}

.services-hero h1{
  margin:0;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(54px,6vw,84px);
  line-height:.98;
  letter-spacing:-.06em;
  font-weight:600;
  color:var(--svc-text);
}

.services-hero h1::after{
  content:"";
  display:block;
  width:76px;
  height:4px;
  margin-top:23px;
  border-radius:20px;
  background:linear-gradient(90deg,var(--svc-purple),var(--svc-coral));
}

.services-hero p{
  max-width:560px;
  margin:23px 0 0;
  color:var(--svc-muted);
  font-size:16px;
  line-height:1.8;
}


/* =========================================================
   HERO IMAGE
   ========================================================= */

.services-hero-media{
  position:relative;
  min-width:0;
  width:100%;
  height:350px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.services-hero-media::before{
  content:"";
  position:absolute;
  inset:15px 5px 5px 15px;
  border:1px solid rgba(124,77,255,.12);
  border-radius:30px;
  transform:rotate(2deg);
  background:rgba(255,255,255,.45);
}

.services-hero-media img{
  position:relative;
  z-index:2;
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:24px;
  border:1px solid rgba(124,77,255,.14);
  box-shadow:
    0 28px 70px rgba(58,35,120,.15),
    0 8px 25px rgba(58,35,120,.07);
  transform:rotate(-1.2deg);
  transition:
    transform .7s var(--svc-ease),
    box-shadow .6s ease;
}

.services-hero-media:hover img{
  transform:rotate(0) translateY(-5px);
  box-shadow:
    0 35px 85px rgba(58,35,120,.20),
    0 10px 30px rgba(58,35,120,.10);
}

.hero-media-glow{
  position:absolute;
  z-index:1;
  border-radius:50%;
  filter:blur(22px);
  pointer-events:none;
}

.hero-media-glow-one{
  width:190px;
  height:190px;
  left:-55px;
  bottom:-30px;
  background:rgba(124,77,255,.14);
}

.hero-media-glow-two{
  width:170px;
  height:170px;
  right:-40px;
  top:-35px;
  background:rgba(242,147,92,.12);
}


/* =========================================================
   SERVICES SECTIONS
   Alternating:
   01 — LEFT NAME / RIGHT SERVICES — LIGHT
   02 — LEFT SERVICES / RIGHT NAME — DARK
   03 — LEFT NAME / RIGHT SERVICES — LIGHT
   04 — LEFT SERVICES / RIGHT NAME — DARK
   ========================================================= */

.services-sections{
  padding:0 0 18px;
}

.service-showcase{
  position:relative;
  isolation:isolate;
  padding:22px 0;
}

.service-showcase.is-normal{
  background:
    radial-gradient(circle at 12% 50%,rgba(124,77,255,.06),transparent 30%),
    #fff;
}

.service-showcase.is-reverse{
  background:
    radial-gradient(circle at 86% 42%,rgba(124,77,255,.14),transparent 29%),
    radial-gradient(circle at 20% 80%,rgba(242,147,92,.07),transparent 25%),
    var(--svc-dark);
  color:var(--svc-dark-text);
}


/* =========================================================
   ANIMATED DIVIDER
   ========================================================= */

.service-section-divider{
  position:absolute;
  top:-1px;
  left:50%;
  z-index:5;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  width:110px;
  height:18px;
  transform:translateX(-50%);
  pointer-events:none;
}

.service-section-divider::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:8px;
  height:1px;
  background:linear-gradient(
    90deg,
    transparent,
    rgba(124,77,255,.25),
    rgba(242,147,92,.35),
    rgba(124,77,255,.25),
    transparent
  );
  transform:scaleX(.35);
  transition:transform .7s var(--svc-ease);
}

.service-section-divider span,
.service-section-divider i{
  position:relative;
  z-index:2;
  display:block;
  flex:none;
}

.service-section-divider span{
  width:5px;
  height:5px;
  border-radius:50%;
  background:var(--svc-purple);
  box-shadow:0 0 0 4px rgba(124,77,255,.08);
  animation:svcDividerPulse 3s ease-in-out infinite;
}

.service-section-divider span:last-child{
  background:var(--svc-coral);
  animation-delay:.35s;
}

.service-section-divider i{
  width:9px;
  height:9px;
  border:1.5px solid var(--svc-purple);
  border-radius:50%;
  background:#fff;
  box-shadow:0 0 18px rgba(124,77,255,.18);
  animation:svcDividerFloat 2.8s ease-in-out infinite;
}

.service-showcase.is-reverse .service-section-divider i{
  background:var(--svc-dark);
}

.service-showcase:hover .service-section-divider::before{
  transform:scaleX(1);
}

@keyframes svcDividerPulse{
  0%,100%{
    transform:scale(.8);
    opacity:.6;
  }

  50%{
    transform:scale(1.25);
    opacity:1;
  }
}

@keyframes svcDividerFloat{
  0%,100%{
    transform:translateY(0);
  }

  50%{
    transform:translateY(-3px);
  }
}


/* =========================================================
   MAIN SERVICE CARD / PANEL
   ========================================================= */

.showcase-grid{
  position:relative;
  overflow:hidden;
  display:grid;
  align-items:stretch;
  gap:48px;
  min-height:390px;
  padding:32px;
  border:1px solid rgba(124,77,255,.13);
  border-radius:25px;
  transition:
    transform .55s var(--svc-ease),
    box-shadow .55s var(--svc-ease),
    border-color .4s ease;
}


/* Normal: name LEFT, cards RIGHT */

.service-showcase.is-normal .showcase-grid{
  grid-template-columns:minmax(290px,.72fr) minmax(0,1.28fr);
  grid-template-areas:"info cards";
  background:rgba(255,255,255,.88);
  box-shadow:0 18px 55px rgba(50,30,110,.06);
}


/* Reverse: cards LEFT, name RIGHT */

.service-showcase.is-reverse .showcase-grid{
  grid-template-columns:minmax(0,1.28fr) minmax(290px,.72fr);
  grid-template-areas:"cards info";
  background:rgba(24,28,43,.78);
  border-color:rgba(255,255,255,.10);
  box-shadow:0 22px 65px rgba(0,0,0,.20);
}

.showcase-grid::before{
  content:"";
  position:absolute;
  width:310px;
  height:310px;
  right:-145px;
  top:-145px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(124,77,255,.11),transparent 68%);
  opacity:.65;
  transition:transform .8s var(--svc-ease),opacity .5s ease;
  pointer-events:none;
}

.service-showcase.is-reverse .showcase-grid::before{
  right:auto;
  left:-145px;
  background:radial-gradient(circle,rgba(124,77,255,.18),transparent 68%);
}

.service-showcase:hover .showcase-grid{
  transform:translateY(-5px);
}

.service-showcase.is-normal:hover .showcase-grid{
  border-color:rgba(124,77,255,.25);
  box-shadow:0 28px 70px rgba(50,30,110,.11);
}

.service-showcase.is-reverse:hover .showcase-grid{
  border-color:rgba(154,120,255,.30);
  box-shadow:0 30px 75px rgba(0,0,0,.27);
}

.service-showcase:hover .showcase-grid::before{
  transform:scale(1.3);
  opacity:1;
}


/* =========================================================
   SERVICE NAME / DESCRIPTION
   ========================================================= */

.showcase-info{
  grid-area:info;
  position:relative;
  z-index:2;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:28px 8px;
}

.showcase-info h2{
  margin:0;
  max-width:490px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(39px,4vw,59px);
  line-height:1.01;
  letter-spacing:-.05em;
  font-weight:600;
  color:var(--svc-text);
  transition:transform .5s var(--svc-ease);
}

.showcase-info p{
  max-width:470px;
  margin:20px 0 0;
  color:var(--svc-muted);
  font-size:14px;
  line-height:1.8;
  transition:color .3s ease;
}

.service-showcase.is-reverse .showcase-info h2{
  color:var(--svc-dark-text);
}

.service-showcase.is-reverse .showcase-info p{
  color:var(--svc-dark-muted);
}

.service-showcase:hover .showcase-info h2{
  transform:translateX(5px);
}

.service-showcase.is-reverse:hover .showcase-info h2{
  transform:translateX(-5px);
}


/* =========================================================
   SERVICE LIST
   ========================================================= */

.showcase-services{
  grid-area:cards;
  position:relative;
  z-index:2;
  min-width:0;
  display:flex;
  flex-direction:column;
  padding:7px 0;
}

.showcase-services-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:36px;
  padding:0 2px 10px;
  border-bottom:1px solid rgba(20,20,40,.08);
}

.service-showcase.is-reverse .showcase-services-head{
  border-bottom-color:rgba(255,255,255,.10);
}

.showcase-services-head>span{
  color:var(--svc-faint);
  font-size:9px;
  font-weight:700;
  letter-spacing:.16em;
}

.service-showcase.is-reverse .showcase-services-head>span{
  color:#9CA3B5;
}

.service-scroll-controls{
  display:flex;
  align-items:center;
  gap:12px;
}

.service-count{
  color:var(--svc-purple);
  font-size:9px;
  font-weight:700;
}

.service-showcase.is-reverse .service-count{
  color:#AE8DFF;
}

.scroll-hint{
  display:inline-flex;
  align-items:center;
  gap:5px;
  color:var(--svc-faint);
  font-size:9px;
}

.service-showcase.is-reverse .scroll-hint{
  color:#9CA3B5;
}

.scroll-hint b{
  color:var(--svc-purple);
}


/* =========================================================
   SERVICE CARDS CONTAINER
   ========================================================= */

.service-cards{
  min-width:0;
  flex:1;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  grid-auto-rows:minmax(112px,1fr);
  gap:10px;
  padding:12px 7px 4px 0;
}

.service-cards.has-scroll{
  max-height:350px;
  overflow-y:auto;
  padding-right:10px;
  scrollbar-width:thin;
  scrollbar-color:rgba(124,77,255,.55) transparent;
}

.service-cards.has-scroll::-webkit-scrollbar{
  width:4px;
}

.service-cards.has-scroll::-webkit-scrollbar-track{
  background:transparent;
}

.service-cards.has-scroll::-webkit-scrollbar-thumb{
  border-radius:10px;
  background:linear-gradient(var(--svc-purple),var(--svc-coral));
}


/* =========================================================
   INDIVIDUAL SERVICE CARDS
   ========================================================= */

.service-card{
  position:relative;
  min-width:0;
  display:flex;
  align-items:flex-start;
  gap:14px;
  padding:18px 43px 17px 16px;
  border:1px solid rgba(124,77,255,.14);
  border-radius:14px;
  background:rgba(255,255,255,.90);
  color:var(--svc-text);
  text-decoration:none;
  box-shadow:0 7px 20px rgba(60,30,120,.035);
  overflow:hidden;
  transition:
    transform .35s var(--svc-ease),
    border-color .3s ease,
    box-shadow .35s ease,
    background .3s ease;
}

.service-showcase.is-reverse .service-card{
  border-color:rgba(255,255,255,.10);
  background:rgba(255,255,255,.065);
  color:#fff;
  box-shadow:0 8px 24px rgba(0,0,0,.10);
}

.service-card::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:linear-gradient(
    115deg,
    rgba(124,77,255,.08),
    transparent 50%,
    rgba(242,147,92,.07)
  );
  opacity:0;
  transition:opacity .35s ease;
  pointer-events:none;
}

.service-card:hover{
  transform:translateY(-4px);
  border-color:rgba(124,77,255,.30);
  background:#fff;
  box-shadow:0 17px 35px rgba(70,40,150,.10);
}

.service-showcase.is-reverse .service-card:hover{
  border-color:rgba(167,119,255,.34);
  background:rgba(255,255,255,.10);
  box-shadow:0 18px 38px rgba(0,0,0,.18);
}

.service-card:hover::before{
  opacity:1;
}


/* =========================================================
   SERVICE CARD ICON
   ========================================================= */

.service-card-icon{
  position:relative;
  z-index:2;
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 41px;
  width:41px;
  height:41px;
  border:1px solid rgba(124,77,255,.14);
  border-radius:12px;
  background:linear-gradient(
    135deg,
    rgba(124,77,255,.09),
    rgba(23,163,152,.05)
  );
  color:var(--svc-purple);
  font-size:13px;
  font-weight:700;
  transition:
    transform .35s var(--svc-ease),
    box-shadow .35s ease;
}

.service-showcase.is-reverse .service-card-icon{
  border-color:rgba(167,119,255,.20);
  background:rgba(124,77,255,.12);
  color:#B99CFF;
}

.service-card:hover .service-card-icon{
  transform:rotate(-5deg) scale(1.08);
  box-shadow:0 8px 20px rgba(124,77,255,.13);
}


/* =========================================================
   SERVICE CARD CONTENT
   UPDATED:
   Larger + clearer + bolder typography
   ========================================================= */

.service-card-copy{
  position:relative;
  z-index:2;
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:7px;
  padding-top:1px;
}

.service-card-copy strong{
  color:var(--svc-text);
  font-size:16px;
  line-height:1.35;
  font-weight:700;
  letter-spacing:-0.01em;
}

.service-showcase.is-reverse .service-card-copy strong{
  color:#F7F7FB;
}

.service-card-copy small{
  color:var(--svc-muted);
  font-size:13.5px;
  line-height:1.55;
  font-weight:500;
}

.service-showcase.is-reverse .service-card-copy small{
  color:#C8CDDA;
}


/* =========================================================
   SERVICE CARD ARROW
   ========================================================= */

.service-card-arrow{
  position:absolute;
  z-index:3;
  right:13px;
  bottom:13px;
  display:flex;
  align-items:center;
  justify-content:center;
  width:27px;
  height:27px;
  border:1px solid rgba(124,77,255,.17);
  border-radius:50%;
  color:var(--svc-purple);
  font-size:13px;
  transition:
    transform .3s var(--svc-ease),
    color .25s ease,
    background .25s ease;
}

.service-showcase.is-reverse .service-card-arrow{
  border-color:rgba(167,119,255,.25);
  color:#B99CFF;
}

.service-card:hover .service-card-arrow{
  transform:translate(2px,-2px);
  color:#fff;
  background:var(--svc-purple);
}

.service-showcase.is-reverse .service-card:hover .service-card-arrow{
  color:#171522;
  background:#B99CFF;
}


/* =========================================================
   FINAL CTA
   ========================================================= */

.services-final-cta{
  margin:28px auto 65px;
  width:min(var(--svc-container),calc(100% - 48px));
  padding:48px 55px;
  border:1px solid rgba(124,77,255,.15);
  border-radius:25px;
  background:
    radial-gradient(circle at 90% 10%,rgba(242,147,92,.17),transparent 30%),
    linear-gradient(115deg,#f7f4ff,#fff 55%,#f5fbfa);
}

.services-final-cta .services-eyebrow{
  display:block;
  margin-bottom:10px;
  color:var(--svc-purple);
  font-size:9px;
  font-weight:700;
  letter-spacing:.18em;
}

.final-cta-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:40px;
}

.final-cta-inner h2{
  max-width:680px;
  margin:0;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(32px,4vw,52px);
  line-height:1.05;
  letter-spacing:-.04em;
  font-weight:600;
}

.final-cta-inner p{
  max-width:680px;
  margin:13px 0 0;
  color:var(--svc-muted);
  font-size:14px;
  line-height:1.65;
}

.final-cta-link{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:14px 20px;
  border-radius:10px;
  background:linear-gradient(100deg,var(--svc-purple),var(--svc-coral));
  color:#fff;
  font-size:12px;
  font-weight:700;
  text-decoration:none;
  box-shadow:0 12px 25px rgba(124,77,255,.23);
  transition:transform .3s var(--svc-ease),box-shadow .3s ease;
}

.final-cta-link:hover{
  transform:translateY(-3px);
  box-shadow:0 18px 32px rgba(124,77,255,.28);
}


/* =========================================================
   TABLET
   ========================================================= */

@media(max-width:1180px){

  .services-container{
    width:min(100% - 36px,var(--svc-container));
  }

  .services-hero-grid{
    grid-template-columns:minmax(320px,.80fr) minmax(430px,1.20fr);
    gap:35px;
  }

  .services-hero-media{
    height:310px;
  }

  .showcase-grid{
    gap:30px;
    padding:27px;
  }

  .service-showcase.is-normal .showcase-grid{
    grid-template-columns:minmax(250px,.72fr) minmax(0,1.28fr);
  }

  .service-showcase.is-reverse .showcase-grid{
    grid-template-columns:minmax(0,1.28fr) minmax(250px,.72fr);
  }

  .showcase-info h2{
    font-size:44px;
  }

  .service-card{
    padding-left:12px;
    padding-right:39px;
  }

  .service-card-icon{
    flex-basis:36px;
    width:36px;
    height:36px;
  }

  .service-card-copy strong{
    font-size:15px;
  }

  .service-card-copy small{
    font-size:13px;
  }
}


/* =========================================================
   TABLET / MOBILE
   ========================================================= */

@media(max-width:900px){

  .services-hero{
    min-height:420px;
    padding:35px 0;
  }

  .services-hero-grid{
    min-height:420px;
    grid-template-columns:1fr;
    gap:28px;
  }

  .services-hero-copy{
    max-width:760px;
    margin:0 auto;
    padding:10px 0 0;
    text-align:center;
  }

  .services-hero p{
    margin-left:auto;
    margin-right:auto;
  }

  .services-hero h1::after{
    margin-left:auto;
    margin-right:auto;
  }

  .services-hero-media{
    height:230px;
    max-width:680px;
    margin:0 auto;
  }

  .showcase-grid,
  .service-showcase.is-normal .showcase-grid,
  .service-showcase.is-reverse .showcase-grid{
    grid-template-columns:1fr;
    grid-template-areas:"info" "cards";
    min-height:auto;
    gap:22px;
  }

  .service-showcase.is-reverse .showcase-info{
    order:1;
  }

  .service-showcase.is-reverse .showcase-services{
    order:2;
  }

  .showcase-info{
    padding:25px 12px 8px;
  }

  .showcase-info h2,
  .showcase-info p{
    max-width:760px;
  }

  .service-cards.has-scroll{
    max-height:430px;
  }

  .services-final-cta{
    padding:42px 34px;
  }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media(max-width:650px){

  .services-breadcrumb{
    padding:17px 0;
  }

  .services-breadcrumb nav{
    font-size:11px;
    gap:8px;
  }

  .services-container{
    width:calc(100% - 28px);
  }

  .services-hero{
    min-height:420px;
    padding:28px 0 40px;
  }

  .services-hero-grid{
    min-height:420px;
    gap:25px;
  }

  .services-hero-copy{
    padding:12px 0 0;
  }

  .services-hero h1{
    font-size:46px;
  }

  .services-hero h1::after{
    width:60px;
    height:3px;
    margin-top:17px;
  }

  .services-hero p{
    margin-top:19px;
    font-size:14px;
    line-height:1.7;
  }

  .services-hero-media{
    height:195px;
  }

  .services-hero-media img{
    border-radius:18px;
  }

  .service-showcase{
    padding:17px 0;
  }

  .service-section-divider{
    width:82px;
  }

  .showcase-grid,
  .service-showcase.is-normal .showcase-grid,
  .service-showcase.is-reverse .showcase-grid{
    gap:12px;
    padding:17px;
    border-radius:21px;
  }

  .service-showcase:hover .showcase-grid{
    transform:translateY(-2px);
  }

  .showcase-info{
    padding:18px 4px 7px;
  }

  .showcase-info h2{
    font-size:36px;
  }

  .showcase-info p{
    margin-top:14px;
    font-size:12.5px;
    line-height:1.7;
  }

  .showcase-services{
    padding:5px 0 2px;
  }

  .showcase-services-head{
    padding-bottom:8px;
  }

  .service-cards,
  .service-cards.has-scroll{
    grid-template-columns:1fr;
    grid-auto-rows:auto;
    max-height:none;
    padding:9px 0 2px;
  }

  .service-cards.has-scroll{
    max-height:455px;
    overflow-y:auto;
    padding-right:6px;
  }

  .service-card{
    min-height:92px;
    padding:16px 40px 16px 12px;
    gap:12px;
  }

  .service-card-copy{
    gap:6px;
  }

  .service-card-copy strong{
    font-size:15px;
    line-height:1.35;
    font-weight:700;
  }

  .service-card-copy small{
    font-size:12.5px;
    line-height:1.5;
    font-weight:500;
  }

  .scroll-hint{
    display:none;
  }

  .services-final-cta{
    width:calc(100% - 28px);
    margin:18px auto 45px;
    padding:32px 23px;
    border-radius:20px;
  }

  .final-cta-inner{
    flex-direction:column;
    align-items:flex-start;
    gap:20px;
  }

  .final-cta-inner h2{
    font-size:34px;
  }

  .final-cta-inner p{
    font-size:12.5px;
  }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media(max-width:400px){

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

  .services-hero-grid{
    min-height:390px;
  }

  .services-hero h1{
    font-size:40px;
  }

  .services-hero-media{
    height:170px;
  }

  .showcase-info h2{
    font-size:31px;
  }

  .service-card-copy strong{
    font-size:14.5px;
  }

  .service-card-copy small{
    font-size:12px;
  }

  .final-cta-inner h2{
    font-size:30px;
  }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media(prefers-reduced-motion:reduce){

  .services-page *,
  .services-page *::before,
  .services-page *::after{
    animation:none!important;
    transition:none!important;
  }
}

/* =========================================================
   FINAL PRODUCTION / RESPONSIVE POLISH
   ========================================================= */

.services-page{
  max-width:100%;
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
  overflow-x:clip;
}

.services-page img{
  max-width:100%;
}

.services-page a,
.services-page button{
  -webkit-tap-highlight-color:transparent;
}

.service-card:focus-visible,
.final-cta-link:focus-visible,
.services-breadcrumb a:focus-visible{
  outline:3px solid rgba(124,77,255,.42);
  outline-offset:3px;
}

.service-showcase{
  scroll-margin-top:100px;
}

.service-card-arrow{
  pointer-events:none;
}

@media(max-width:900px){
  .services-hero-media{
    width:100%;
  }

  .services-hero-media img{
    max-width:100%;
  }

  .showcase-grid{
    width:100%;
  }
}

@media(max-width:650px){

  .services-breadcrumb nav{
    max-width:100%;
    overflow:hidden;
    white-space:nowrap;
  }

  .services-breadcrumb nav>span[aria-current="page"]{
    overflow:hidden;
    text-overflow:ellipsis;
  }

  .services-hero{
    overflow:visible;
  }

  .services-hero h1{
    line-height:1;
  }

  .services-hero p{
    max-width:520px;
  }

  .showcase-info{
    text-align:center;
    align-items:center;
  }

  .showcase-info h2,
  .showcase-info p{
    max-width:100%;
  }

  .showcase-info h2{
    width:100%;
  }

  .showcase-info p{
    margin-left:auto;
    margin-right:auto;
  }

  .showcase-services-head{
    align-items:center;
  }

  .showcase-services-head>span{
    text-align:left;
  }

  /* Avoid nested scrolling on phones. All services remain accessible
     in the normal page flow. */
  .service-cards.has-scroll{
    max-height:none;
    overflow:visible;
    padding-right:0;
    scrollbar-width:auto;
  }

  .service-cards.has-scroll::-webkit-scrollbar{
    width:auto;
  }

  .service-card{
    width:100%;
  }

  .services-final-cta{
    text-align:center;
  }

  .final-cta-inner{
    align-items:center;
    text-align:center;
  }

  .final-cta-inner p{
    margin-left:auto;
    margin-right:auto;
  }

  .final-cta-link{
    width:100%;
    justify-content:center;
  }
}

@media(max-width:400px){

  .services-container{
    width:calc(100% - 24px);
  }

  .services-hero{
    padding-left:0;
    padding-right:0;
  }

  .services-hero h1{
    font-size:38px;
  }

  .services-hero p{
    font-size:13.5px;
  }

  .services-hero-media{
    height:160px;
  }

  .showcase-grid,
  .service-showcase.is-normal .showcase-grid,
  .service-showcase.is-reverse .showcase-grid{
    padding:14px;
    border-radius:18px;
  }

  .showcase-info h2{
    font-size:29px;
  }

  .service-card{
    min-height:88px;
    padding:15px 39px 15px 11px;
  }

  .service-card-icon{
    flex-basis:36px;
    width:36px;
    height:36px;
  }

  .service-card-copy strong{
    font-size:14px;
  }

  .service-card-copy small{
    font-size:11.75px;
  }

  .services-final-cta{
    width:calc(100% - 24px);
    padding:28px 18px;
  }

  .final-cta-inner h2{
    font-size:28px;
  }
}

@media(prefers-reduced-motion:reduce){
  .services-hero-media img{
    transform:none;
  }
}
