/* GRAPHIC EVOLUTION — user-approved final interaction refinements
   Shared across all seven pages. Existing markup, copy, links and integrations remain intact. */

/* The top utility strip is the single persistent quote action on desktop and mobile.
   Keep both social icons, the phone link, and the quote button visible on small screens. */
.utility-bar .utility-inner{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  flex-wrap:nowrap!important;
}
.utility-bar .social-links{display:flex!important;align-items:center!important;flex:0 0 auto!important;}
.utility-bar .utility-phone{display:inline-flex!important;align-items:center!important;white-space:nowrap!important;}
.utility-bar .utility-quote{display:inline-flex!important;align-items:center!important;justify-content:center!important;white-space:nowrap!important;flex:0 0 auto!important;}
/* There is intentionally no duplicate quote button in the main navigation. */

/* Match the client-approved left-to-right purple gradient sweep + gentle zoom/lift
   on the About approach cards, About process cards and homepage four process cards. */
.about-page .grid4 .card,
.about-page .about-process-steps .about-process-step,
.home-page .process .step,
body:not(.about-page) .process .step{
  position:relative!important;
  isolation:isolate!important;
  overflow:hidden!important;
  border:1px solid #e8dced!important;
  border-radius:20px!important;
  background:#fff!important;
  color:#302a36!important;
  box-shadow:0 8px 24px rgba(49,26,65,.06)!important;
  transition:transform .38s cubic-bezier(.2,.75,.25,1),
    box-shadow .38s ease,border-color .35s ease,color .3s ease!important;
}
.about-page .grid4 .card::before,
.about-page .about-process-steps .about-process-step::before,
.home-page .process .step::before,
body:not(.about-page) .process .step::before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  display:block!important;
  border-radius:inherit!important;
  background:linear-gradient(105deg,#351347 0%,#5e2082 48%,#8a35bd 100%)!important;
  transform:translateX(-105%)!important;
  opacity:1!important;
  transition:transform .55s cubic-bezier(.2,.7,.2,1)!important;
  pointer-events:none!important;
}
.about-page .grid4 .card>*,
.about-page .about-process-steps .about-process-step>*,
.home-page .process .step>*,
body:not(.about-page) .process .step>*{
  position:relative!important;
  z-index:1!important;
}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
  .about-page .grid4 .card:hover,
  .about-page .grid4 .card:focus-visible,
  .about-page .about-process-steps .about-process-step:hover,
  .about-page .about-process-steps .about-process-step:focus-within,
  .home-page .process .step:hover,
  .home-page .process .step:focus-within,
  body:not(.about-page) .process .step:hover,
  body:not(.about-page) .process .step:focus-within{
    transform:translateY(-7px) scale(1.025)!important;
    border-color:#7026a0!important;
    box-shadow:0 18px 42px rgba(53,19,71,.20),0 0 0 1px rgba(123,36,184,.07)!important;
    color:#fff!important;
  }
  .about-page .grid4 .card:hover::before,
  .about-page .grid4 .card:focus-visible::before,
  .about-page .about-process-steps .about-process-step:hover::before,
  .about-page .about-process-steps .about-process-step:focus-within::before,
  .home-page .process .step:hover::before,
  .home-page .process .step:focus-within::before,
  body:not(.about-page) .process .step:hover::before,
  body:not(.about-page) .process .step:focus-within::before{
    transform:translateX(0)!important;
  }
  .about-page .grid4 .card:hover h3,
  .about-page .grid4 .card:focus-visible h3,
  .about-page .about-process-step:hover h3,
  .about-page .about-process-step:focus-within h3,
  .process .step:hover h3,
  .process .step:focus-within h3{color:#fff!important;}
  .about-page .grid4 .card:hover p,
  .about-page .grid4 .card:focus-visible p,
  .about-page .about-process-step:hover p,
  .about-page .about-process-step:focus-within p,
  .process .step:hover p,
  .process .step:focus-within p{color:#eee4f5!important;}
  .about-page .grid4 .card:hover .num,
  .about-page .grid4 .card:focus-visible .num,
  .about-page .about-process-step:hover .step-number,
  .about-page .about-process-step:focus-within .step-number,
  .process .step:hover strong,
  .process .step:focus-within strong{
    color:#5b1c7b!important;
    background:#f0dcfb!important;
    border-radius:8px;
    padding:3px 7px;
  }
}
/* Touch devices do not retain hover styles or enlarge cards after a tap. */
@media (hover:none),(pointer:coarse){
  .about-page .grid4 .card,
  .about-page .about-process-steps .about-process-step,
  .home-page .process .step,
  body:not(.about-page) .process .step{
    transform:none!important;
  }
  .about-page .grid4 .card::before,
  .about-page .about-process-steps .about-process-step::before,
  .home-page .process .step::before,
  body:not(.about-page) .process .step::before{
    transform:translateX(-105%)!important;
  }
  .about-page .grid4 .card:active,
  .about-page .about-process-steps .about-process-step:active,
  .home-page .process .step:active,
  body:not(.about-page) .process .step:active{
    border-color:rgba(123,36,184,.35)!important;
    box-shadow:0 10px 26px rgba(49,26,65,.10)!important;
  }
}

/* More visible, colorful halftone decoration flanking the View All Services CTA.
   Pseudo-elements stay behind the existing service cards and button. */
.home-services{position:relative!important;isolation:isolate!important;}
.home-services::before,
.home-services::after{
  content:""!important;
  position:absolute!important;
  z-index:0!important;
  top:50%!important;
  width:clamp(105px,13vw,190px)!important;
  height:clamp(155px,19vw,245px)!important;
  transform:translateY(-50%)!important;
  pointer-events:none!important;
  border-radius:50%!important;
  opacity:.78!important;
}
.home-services::before{
  left:clamp(-95px,-6vw,-35px)!important;
  background:
    radial-gradient(circle,rgba(123,36,184,.54) 1.8px,transparent 2.5px) 0 0/10px 10px,
    radial-gradient(circle,rgba(198,133,225,.45) 1.4px,transparent 2.2px) 5px 5px/13px 13px,
    radial-gradient(ellipse at 55% 50%,rgba(195,150,220,.24),transparent 72%)!important;
  mask-image:radial-gradient(ellipse at center,#000 12%,rgba(0,0,0,.8) 48%,transparent 76%)!important;
}
.home-services::after{
  right:clamp(-95px,-6vw,-35px)!important;
  background:
    radial-gradient(circle,rgba(166,74,209,.52) 1.8px,transparent 2.5px) 0 0/10px 10px,
    radial-gradient(circle,rgba(111,48,158,.36) 1.3px,transparent 2.1px) 5px 5px/13px 13px,
    radial-gradient(ellipse at 45% 50%,rgba(205,169,228,.25),transparent 72%)!important;
  mask-image:radial-gradient(ellipse at center,#000 12%,rgba(0,0,0,.8) 48%,transparent 76%)!important;
}
.home-services>*{position:relative;z-index:1;}
.home-services + p{display:flex!important;justify-content:center!important;align-items:center!important;text-align:center!important;}
.home-services + p .cta{margin-left:auto!important;margin-right:auto!important;}

/* Keep the two hero buttons exactly side-by-side and centered as approved.
   Center the separate lower closing CTA pair without changing its links. */
.hero .actions{justify-content:center!important;align-items:center!important;}
.closing-cta-actions{display:flex!important;justify-content:center!important;align-items:center!important;flex-wrap:wrap!important;gap:12px!important;margin-left:auto!important;margin-right:auto!important;}
@media(max-width:650px){
  .utility-inner{gap:6px!important;padding-left:8px!important;padding-right:8px!important;}
  .utility-phone{font-size:clamp(10px,3vw,12px)!important;}
  .utility-phone .mobile-cta-icon{width:18px!important;height:20px!important;margin-right:3px!important;}
  .utility-phone .mobile-cta-icon svg{width:17px!important;height:19px!important;}
  .utility-bar .social-links{gap:3px!important;}
  .utility-bar .social-links a{width:25px!important;height:25px!important;flex:0 0 25px!important;}
  .utility-bar .social-links svg{width:14px!important;height:14px!important;}
  .utility-quote{font-size:9px!important;padding:6px 8px!important;min-height:34px!important;}
  .hero .actions{justify-content:center!important;gap:9px!important;}
  .hero .actions .cta{font-size:11px!important;padding:11px 13px!important;}
  .closing-cta-actions{width:min(100%,430px)!important;}
  .home-services::before{left:-72px!important;opacity:.42!important;width:110px!important;}
  .home-services::after{right:-72px!important;opacity:.42!important;width:110px!important;}
}
@media(max-width:370px){
  .utility-phone{font-size:10px!important;}
  .utility-quote{font-size:8px!important;padding:5px 7px!important;}
  .utility-bar .social-links a{width:23px!important;height:23px!important;flex-basis:23px!important;}
}
@media(prefers-reduced-motion:reduce){
  .about-page .grid4 .card,
  .about-page .about-process-steps .about-process-step,
  .home-page .process .step,
  body:not(.about-page) .process .step,
  .about-page .grid4 .card::before,
  .about-page .about-process-steps .about-process-step::before,
  .home-page .process .step::before,
  body:not(.about-page) .process .step::before{
    transition:none!important;animation:none!important;transform:none!important;
  }
}
