@import url('../../styles/global.css');
@import url('../../styles/home.css');

/* Active Hydraulics — Machining & Fabrication page
   Uses the locked global/home CSS as the layout master. */
.service-page .breadcrumb{padding:10px 0;color:#718492;font-size:12px}
.service-page .breadcrumb a{color:var(--blue)}
.service-page .breadcrumb span{margin:0 8px;color:#aab7bf}

.service-page .hero:before{
  background:
    linear-gradient(90deg,rgba(3,20,32,.98) 0%,rgba(3,20,32,.90) 31%,rgba(3,20,32,.48) 60%,rgba(3,20,32,.10) 100%),
    url('images/machining-fabrication-hero.png') center 52% / cover no-repeat;
}
.service-page .hero h1 span{color:var(--blue2)}
.service-page .hero p:not(.eyebrow){max-width:760px;color:#e0edf4}

.service-page .section.alt{background:var(--pale)}
.service-page .section.dark{background:var(--navy);color:#fff}
.service-page .pale-feature{background:#eef5f8}

.service-page .two-col{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);gap:70px;align-items:center}
.service-page .section h2{font-family:Manrope,Inter,sans-serif;font-size:clamp(36px,4vw,58px);line-height:1.04;letter-spacing:-.04em;margin:0 0 18px}
.service-page .section p{color:var(--muted)}
.service-page .section.dark p{color:#b7d0df}

.service-page .info-box{background:#e6f5fc;border-left:3px solid var(--blue);padding:18px 22px;margin-top:24px;line-height:1.65}
.service-page .feature-image{margin:0;min-height:360px;border-radius:8px;overflow:hidden;background:#0b2a3d;position:relative;box-shadow:0 12px 32px rgba(5,35,55,.12)}
.service-page .feature-image img{width:100%;height:100%;min-height:360px;object-fit:cover;display:block}
.service-page .feature-image figcaption{position:absolute;left:0;right:0;bottom:0;padding:15px 18px;background:linear-gradient(transparent,rgba(3,20,32,.88));color:#fff;font-size:13px;line-height:1.45}
.service-page .dark-image{box-shadow:0 10px 28px rgba(0,0,0,.22)}
.service-page .dark-callout{border-left:3px solid var(--blue2);background:#103149;color:#dcecf5;padding:18px 20px;margin-top:24px;line-height:1.65}

.service-page .section-heading{max-width:850px;margin-bottom:34px}
.service-page .cards{display:grid;gap:16px}
.service-page .cards.four{grid-template-columns:repeat(4,minmax(0,1fr))}
.service-page .cards.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.service-page .card{background:#fff;border:1px solid var(--line);border-top:2px solid var(--blue);border-radius:7px;padding:25px;min-height:205px;box-shadow:0 8px 25px rgba(5,35,55,.05)}
.service-page .card h3{font-size:21px;line-height:1.1;margin:10px 0}
.service-page .card p{font-size:14px}
.service-page .card a{display:inline-block;margin-top:10px;color:var(--blue);font-weight:800;font-size:14px}
.service-page .section.dark .card{background:#103149;border-color:#31556e;color:#fff}
.service-page .section.dark .card p{color:#b7d0df}
.service-page .num{font-size:11px;letter-spacing:1.5px;color:var(--blue);font-weight:900}
.service-page .section.dark .num{color:var(--blue2)}

.service-page .project-placeholder{min-height:360px;border:1px solid #d4e0e7;background:#dfe7eb;border-radius:8px;display:flex;flex-direction:column;justify-content:flex-end;padding:28px;box-shadow:0 8px 25px rgba(5,35,55,.06)}
.service-page .project-placeholder .placeholder-label{font-size:11px;letter-spacing:1.5px;color:#5b7282;font-weight:900;margin-bottom:8px}
.service-page .project-placeholder strong{font-family:Manrope,Inter,sans-serif;font-size:30px;color:#092033}
.service-page .project-placeholder span{color:#5e7483;margin-top:8px;max-width:420px}
.service-page .text-link{display:inline-block;margin-top:12px;color:var(--blue);font-weight:900}

.service-page .faq{max-width:900px}
.service-page .faq details{border-bottom:1px solid var(--line);padding:16px 0}
.service-page .faq summary{font-weight:800;cursor:pointer}
.service-page .faq details p{margin:10px 0 0}

.service-page .cta{padding:30px 35px;background:linear-gradient(100deg,#0a9de6,#0a8ed4);border-radius:4px;color:#fff;display:flex;justify-content:space-between;align-items:center;gap:25px}
.service-page .cta h2{font-family:Manrope,Inter,sans-serif;font-size:32px;letter-spacing:-.03em;margin:0 0 6px}
.service-page .cta p{margin:0;color:#e1f4ff}
.service-page .cta .eyebrow{margin:0 0 8px}

@media (min-width:1201px){
  .service-page .two-col{gap:90px}
  .service-page .cards{gap:18px}
  .service-page .card{min-height:225px;padding:27px}
}
@media(max-width:1000px){
  .service-page .two-col{grid-template-columns:1fr}
  .service-page .cards.four{grid-template-columns:1fr 1fr}
  .service-page .cards.three{grid-template-columns:1fr 1fr}
}
@media(max-width:650px){
  .service-page .hero-content{padding:38px 0 36px !important}
  .service-page .hero h1{font-size:48px}
  .service-page .hero p:not(.eyebrow){font-size:17px}
  .service-page .cards.four,.service-page .cards.three{grid-template-columns:1fr}
  .service-page .card{min-height:0}
  .service-page .feature-image,.service-page .feature-image img,.service-page .project-placeholder{min-height:280px}
  .service-page .cta{display:block;padding:28px}
  .service-page .cta .actions{margin-top:20px}
}
