@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Manrope:wght@700;800&display=swap');

/* =========================================================
   ACTIVE HYDRAULICS — SERVICES PAGE / ISOLATED V2
   This file is intentionally self-contained.
   It does NOT depend on ../styles/global.css so changes made
   to other pages cannot alter the Services page.
   ========================================================= */

:root{
  --navy:#061b2b;
  --navy2:#0b2940;
  --blue:#139be5;
  --blue2:#36b5ff;
  --orange:#ff8b1f;
  --ink:#10263b;
  --muted:#597087;
  --pale:#eef4f7;
  --white:#fff;
  --line:#d7e3ea;
  --shadow:0 18px 50px rgba(4,25,42,.12);
}

.services-page,.services-page *{box-sizing:border-box}
.services-page{margin:0;background:#fff;color:var(--ink);font-family:Inter,Arial,sans-serif;line-height:1.55}
.services-page a{color:inherit;text-decoration:none}
.services-page img{max-width:100%;display:block}
.services-page button{font:inherit}
.services-page .wrap{
  width:calc(100% - 80px) !important;
  max-width:1450px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}
.services-page .eyebrow{margin:0 0 12px;color:var(--blue);font-size:12px;font-weight:900;letter-spacing:.13em;text-transform:uppercase}
.services-page .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 18px;border-radius:7px;font-weight:800;border:1px solid transparent;transition:transform .2s ease,background .2s ease,border-color .2s ease}
.services-page .btn:hover{transform:translateY(-2px)}
.services-page .btn-blue{background:var(--blue);color:#fff}
.services-page .btn-orange{background:var(--orange);color:#fff}
.services-page .btn-dark{background:var(--navy);color:#fff}

/* HEADER — isolated; must not inherit other page styles */
.services-page .site-header{position:relative;top:auto;z-index:50;background:var(--navy);border-bottom:1px solid rgba(255,255,255,.10);box-shadow:none}
.services-page .nav{min-height:72px;display:flex;align-items:center;gap:24px}
.services-page .brand{display:block;flex:0 0 auto}
.services-page .logo{width:175px;height:auto}
.services-page .navlinks{display:flex;gap:20px;align-items:center;margin-left:auto}
.services-page .navlinks a,.services-page .navlinks a:visited{color:#fff !important;opacity:1 !important;font-size:12px;font-weight:800;line-height:1.15;white-space:nowrap}
.services-page .navlinks a:hover,.services-page .navlinks a:focus-visible,.services-page .navlinks a.active{color:var(--blue2) !important;opacity:1 !important}
.services-page .navcta{display:flex;gap:8px;flex:0 0 auto}
.services-page .navcta .btn{padding:10px 13px;font-size:12px}
.services-page .mobile-toggle{display:none;color:#fff;font-size:26px;background:none;border:0;padding:4px;cursor:pointer}

/* HERO */
.services-page .services-hero{position:relative;min-height:520px;color:#fff;overflow:hidden;background:var(--navy)}
.services-page .services-hero-bg{position:absolute;inset:0;background-image:linear-gradient(90deg,rgba(3,20,32,.97) 0%,rgba(3,20,32,.88) 30%,rgba(3,20,32,.52) 58%,rgba(3,20,32,.10) 100%),url('../assets/services-hero-image.png');background-position:center center;background-size:cover;background-repeat:no-repeat}
.services-page .services-hero-bg:after{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(54,181,255,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(54,181,255,.045) 1px,transparent 1px);background-size:70px 70px;pointer-events:none}
.services-page .services-hero-grid{position:relative;z-index:2;min-height:520px;display:flex;align-items:center}
.services-page .services-hero-copy{max-width:820px;padding:72px 0}
.services-page .services-hero .eyebrow{color:#65c7ff;margin-bottom:13px}
.services-page .services-hero h1{font-family:Manrope,Inter,sans-serif;font-size:clamp(52px,5.1vw,78px);line-height:.98;letter-spacing:-.055em;margin:0 0 18px;color:#fff;max-width:760px}
.services-page .services-hero h1 span{display:block;color:var(--blue2)}
.services-page .hero-tagline{font-size:20px;font-weight:900;margin:0 0 4px;color:#fff}
.services-page .hero-description{max-width:720px;color:#e0edf4;font-size:16px;line-height:1.5;margin:0 0 24px}
.services-page .actions{display:flex;gap:10px;flex-wrap:wrap}

/* INTRO + SERVICE DIRECTORY */
.services-page .services-intro{background:#fff;padding:72px 0 80px}
.services-page .intro-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:80px;align-items:end;margin-bottom:38px}
.services-page .intro-heading h2{font-family:Manrope,Inter,sans-serif;font-size:clamp(38px,4vw,58px);line-height:1.02;letter-spacing:-.045em;margin:0 0 17px;color:var(--ink)}
.services-page .intro-lead{font-size:17px;color:var(--muted);margin:0;max-width:620px}
.services-page .intro-copy{font-size:17px;color:var(--muted);line-height:1.65;max-width:580px}
.services-page .intro-copy p{margin:0}
.services-page .service-directory{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.services-page .directory-card{border:1px solid var(--line);border-top:3px solid var(--blue);border-radius:9px;background:#fff;padding:23px;min-height:245px;display:flex;flex-direction:column;box-shadow:0 8px 25px rgba(5,35,55,.055);transition:transform .2s ease,box-shadow .2s ease}
.services-page .directory-card b{font-size:11px;color:var(--blue);letter-spacing:.08em}
.services-page .directory-card h3{font-family:Manrope,Inter,sans-serif;font-size:23px;line-height:1.08;letter-spacing:-.025em;margin:11px 0 10px;color:var(--ink)}
.services-page .directory-card p{font-size:13px;line-height:1.55;color:var(--muted);margin:0 0 18px}
.services-page .directory-card a{margin-top:auto;color:var(--blue);font-size:13px;font-weight:900}
.services-page .directory-card:hover{transform:translateY(-3px);box-shadow:0 14px 32px rgba(5,35,55,.10)}

/* PROCESS */
.services-page .process-section{background:var(--navy);color:#fff;padding:78px 0 82px}
.services-page .process-head{max-width:820px}
.services-page .process-head .eyebrow{color:#65c7ff}
.services-page .process-head h2{font-family:Manrope,Inter,sans-serif;font-size:clamp(38px,4vw,58px);line-height:1.02;letter-spacing:-.045em;margin:0 0 16px;color:#fff}
.services-page .process-head p:last-child{color:#a9c4d5;font-size:17px;margin:0}
.services-page .process-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:34px}
.services-page .process-card{background:#102f45;border:1px solid #31526a;border-radius:10px;padding:26px;min-height:220px}
.services-page .process-card b{font-size:11px;letter-spacing:.08em;color:var(--blue2)}
.services-page .process-card h3{font-family:Manrope,Inter,sans-serif;font-size:23px;line-height:1.1;margin:16px 0 10px;color:#fff}
.services-page .process-card p{font-size:13px;line-height:1.55;color:#b7d0df;margin:0}

/* CTA */
.services-page .services-cta-section{background:#fff;padding:58px 0 70px}
.services-page .cta-band{background:#0799dc;color:#fff;border-radius:8px;padding:27px 31px;display:flex;align-items:center;justify-content:space-between;gap:30px}
.services-page .cta-band .eyebrow{color:#bdeaff;margin-bottom:5px}
.services-page .cta-band h2{font-family:Manrope,Inter,sans-serif;font-size:30px;line-height:1.05;margin:0 0 5px;color:#fff}
.services-page .cta-band p:last-child{margin:0;color:#e6f7ff;font-size:13px}
.services-page .cta-actions{display:flex;gap:9px;flex-wrap:wrap;flex-shrink:0}

/* FOOTER */
.services-page .site-footer{background:#041825;color:#c6d8e3;padding:55px 0 20px}
.services-page .footer-grid{display:grid;grid-template-columns:1.25fr .75fr .9fr .95fr;gap:40px}
.services-page .footer-logo{width:175px;margin-bottom:16px}
.services-page .footer-grid p{max-width:310px;font-size:13px;margin:0}
.services-page .footer-grid h4{color:#fff;font-size:15px;margin:0 0 12px}
.services-page .footer-grid a{display:block;margin:7px 0;font-size:13px}
.services-page .footer-grid a:hover{color:#64c7ff}
.services-page .footer-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:38px;padding-top:16px;display:flex;justify-content:space-between;font-size:12px}

@media(max-width:1100px){
  .services-page .navlinks{gap:14px}
  .services-page .navlinks a{font-size:11px}
  .services-page .service-directory{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:1000px){
  .services-page .wrap{
    width:calc(100% - 40px) !important;
    max-width:1450px !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }
  .services-page .nav{min-height:64px}
  .services-page .navlinks{display:none;position:absolute;left:20px;right:20px;top:72px;background:var(--navy);padding:18px;border:1px solid rgba(255,255,255,.12);border-radius:0 0 10px 10px;box-shadow:0 12px 30px rgba(6,27,43,.12);flex-direction:column;align-items:flex-start}
  .services-page .navlinks.open{display:flex}
  .services-page .mobile-toggle{display:block;margin-left:auto}
  .services-page .navcta{margin-left:auto}
  .services-page .navcta .btn:first-child{display:none}
  .services-page .intro-grid{grid-template-columns:1fr;gap:28px;align-items:start}
  .services-page .services-hero{min-height:520px}
  .services-page .services-hero-grid{min-height:520px}
  .services-page .services-hero-copy{max-width:650px;padding:65px 0}
  .services-page .services-hero-bg{background-position:60% center}
  .services-page .process-grid{grid-template-columns:1fr 1fr}
  .services-page .footer-grid{grid-template-columns:1fr 1fr}
}

@media(max-width:650px){
  .services-page .wrap{
    width:calc(100% - 28px) !important;
    max-width:1450px !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }
  .services-page .logo{width:160px}
  .services-page .navcta{display:none}
  .services-page .services-hero{min-height:610px}
  .services-page .services-hero-grid{min-height:610px}
  .services-page .services-hero-bg{background-position:67% center}
  .services-page .services-hero-bg:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,20,32,.97) 0%,rgba(3,20,32,.82) 62%,rgba(3,20,32,.42) 100%)}
  .services-page .services-hero-copy{padding:58px 0}
  .services-page .services-hero h1{font-size:48px}
  .services-page .hero-description{font-size:15px}
  .services-page .services-intro{padding:60px 0 64px}
  .services-page .service-directory,.services-page .process-grid{grid-template-columns:1fr}
  .services-page .directory-card{min-height:0}
  .services-page .process-section{padding:62px 0 65px}
  .services-page .services-cta-section{padding:48px 0 58px}
  .services-page .cta-band{display:block;padding:25px}
  .services-page .cta-actions{margin-top:18px}
  .services-page .footer-grid{grid-template-columns:1fr}
  .services-page .footer-bottom{display:block}
  .services-page .footer-bottom span{display:block;margin:5px 0}
}

/* HOME HEADER MATCH — locked for Services page */
.services-page .site-header .navlinks a,
.services-page .site-header .navlinks a:visited{color:#fff !important;}
.services-page .site-header .navlinks a.active,
.services-page .site-header .navlinks a:hover,
.services-page .site-header .navlinks a:focus-visible{color:var(--blue2) !important;}
