/* Centralized TechWorks PH service-page UI. Hero markup and styles are intentionally excluded. */
body.tw-services-page{--tw-ink:#102a43;--tw-blue:#005fd1;--tw-cyan:#17b8ff;--tw-line:#d8e9fb;--tw-muted:#526a82}
body.tw-services-page main>section.section{padding-block:clamp(56px,7vw,96px)}
body.tw-services-page main>section.section>*{width:min(1180px,calc(100% - 48px));max-width:1180px;margin-inline:auto}
body.tw-services-page :is(.resource-intro,.service-directory-intro,.directory-heading,.webdev-packages-intro){max-width:850px;margin-bottom:36px}
body.tw-services-page :is(.resource-intro,.service-directory-intro,.directory-heading,.webdev-packages-intro) h2{max-width:850px;margin:12px 0 14px;color:var(--tw-ink);font-size:clamp(30px,3.8vw,46px);line-height:1.08;letter-spacing:-1.5px}
body.tw-services-page :is(.resource-intro,.service-directory-intro,.directory-heading,.webdev-packages-intro) p{max-width:760px;color:var(--tw-muted);font-size:16px;line-height:1.8}
body.tw-services-page :is(.resource-card-grid,.service-cluster-grid,.related-service-grid,.service-feature-row,.service-directory-grid,.directory-grid){display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important;align-items:stretch}
body.tw-services-page :is(.resource-card,.directory-card,.category-service-card,.related-service-grid>a,.service-cluster-grid>a,.service-feature-row>article,.service-directory-grid>a){display:flex;flex-direction:column;min-width:0;min-height:100%;height:100%;padding:26px;border:1px solid var(--tw-line)!important;border-radius:18px!important;background:#fff!important;box-shadow:0 8px 26px rgba(16,42,67,.055)!important;transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease}
body.tw-services-page :is(.resource-card,.directory-card,.category-service-card,.related-service-grid>a,.service-cluster-grid>a,.service-feature-row>article,.service-directory-grid>a):hover{transform:translateY(-4px);border-color:#91caff!important;box-shadow:0 18px 42px rgba(16,42,67,.11)!important}
body.tw-services-page :is(.resource-card,.directory-card,.category-service-card,.related-service-grid>a,.service-cluster-grid>a,.service-feature-row>article,.service-directory-grid>a) :is(h2,h3){margin-top:13px;color:var(--tw-ink);font-size:clamp(18px,1.5vw,22px);line-height:1.25;letter-spacing:-.4px}
body.tw-services-page :is(.resource-card,.directory-card,.category-service-card,.related-service-grid>a,.service-cluster-grid>a,.service-feature-row>article,.service-directory-grid>a) p{color:var(--tw-muted);font-size:14px;line-height:1.75}
body.tw-services-page :is(.resource-card,.directory-card,.category-service-card,.related-service-grid>a,.service-cluster-grid>a,.service-feature-row>article,.service-directory-grid>a)>:is(strong,a:last-child){margin-top:auto;padding-top:18px;color:var(--tw-blue);font-size:13px;font-weight:750;text-decoration:none}
body.tw-services-page :is(.resource-card,.directory-card,.category-service-card,.related-service-grid>a,.service-cluster-grid>a,.service-feature-row>article,.service-directory-grid>a):focus-visible{outline:3px solid var(--tw-cyan);outline-offset:3px}
body.tw-services-page .service-overview-layout{display:grid!important;grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr)!important;gap:clamp(24px,4vw,54px)!important;align-items:stretch!important}
body.tw-services-page .service-overview-layout>article{width:100%;max-width:none;padding:clamp(26px,4vw,46px);border:1px solid var(--tw-line);border-radius:22px;background:linear-gradient(145deg,#fff,#f7fbff);box-shadow:0 12px 34px rgba(16,42,67,.055)}
body.tw-services-page .service-overview-layout>article h2{color:var(--tw-ink);font-size:clamp(30px,3.6vw,44px);line-height:1.1;letter-spacing:-1.3px}
body.tw-services-page .service-overview-layout>article p{color:var(--tw-muted);font-size:15px;line-height:1.85}
body.tw-services-page .service-overview-layout .service-planning-note,body.tw-services-page .service-planning-note{width:100%;max-width:none;min-width:0;margin:0;padding:clamp(26px,3vw,40px);border:1px solid #ffffff25;border-radius:22px;background:linear-gradient(155deg,#153d62,#102a43);box-shadow:0 18px 40px rgba(16,42,67,.14);color:#fff}
body.tw-services-page .service-planning-note h3{margin:26px 0 10px;color:#fff;font-size:24px}
body.tw-services-page .service-planning-note p{color:#d8e9fb;line-height:1.8}
body.tw-services-page .service-detail-grid{gap:clamp(24px,4vw,56px);padding-block:clamp(44px,6vw,74px);border-color:var(--tw-line)}
body.tw-services-page .service-detail-grid h2{color:var(--tw-ink);font-size:clamp(28px,3.4vw,42px);line-height:1.12}
body.tw-services-page .service-detail-grid :is(p,li){color:var(--tw-muted);font-size:14px;line-height:1.8}
body.tw-services-page .tw-service-intro-panel{width:min(1180px,calc(100% - 48px));max-width:1180px;margin:0 auto;padding:clamp(30px,5vw,62px);border:1px solid var(--tw-line);border-radius:26px;background:linear-gradient(135deg,#f4f9ff,#fff 62%,#f8fbff);box-shadow:0 18px 48px rgba(16,42,67,.065)}
body.tw-services-page .tw-service-intro-copy{max-width:940px;margin:0 auto}
body.tw-services-page .tw-service-intro-copy h2{margin:12px 0 16px;color:var(--tw-ink);font-size:clamp(32px,4.4vw,52px);line-height:1.06;letter-spacing:-1.7px}
body.tw-services-page .tw-service-intro-copy>p{max-width:820px;color:var(--tw-muted);font-size:16px;line-height:1.85}
body.tw-services-page .category-stats{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;margin-top:30px}
body.tw-services-page .category-stats>div{padding:20px;border:1px solid var(--tw-line);border-radius:15px;background:#fff;box-shadow:0 5px 18px rgba(16,42,67,.035)}
body.tw-services-page .category-stats strong{color:var(--tw-blue);font-size:21px}
body.tw-services-page .category-stats span{color:var(--tw-muted);font-size:12px;line-height:1.55}
body.tw-services-page .category-card-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important;align-items:stretch}
body.tw-services-page .category-card-grid .category-service-card{min-height:250px}
body.tw-services-page .webdev-package-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important;align-items:stretch}
body.tw-services-page .webdev-package-card{min-width:0;border:1px solid var(--tw-line);border-radius:18px;box-shadow:0 10px 30px rgba(16,42,67,.055)}
body.tw-services-page .service-faq h2{color:var(--tw-ink);font-size:clamp(30px,4vw,46px);line-height:1.08}
body.tw-services-page .faq-list{width:min(100%,1000px);max-width:1000px;border-top:1px solid var(--tw-line)}
body.tw-services-page .faq-list details{border-bottom:1px solid var(--tw-line)}
body.tw-services-page .faq-list summary{grid-template-columns:42px minmax(0,1fr);gap:14px;padding:22px 8px;color:var(--tw-ink);font-size:16px;line-height:1.45}
body.tw-services-page .faq-list summary span{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;padding:0;border:1px solid var(--tw-line);border-radius:10px;background:#f1f7ff;color:var(--tw-blue)}
body.tw-services-page .faq-list details p{margin:0 0 24px 56px;color:var(--tw-muted);font-size:14px;line-height:1.8}
body.tw-services-page main>section.cta:not(.service-cta-image-stack){padding:clamp(46px,6vw,74px) clamp(22px,5vw,56px);text-align:center}
body.tw-services-page main>section.cta:not(.service-cta-image-stack)>div{width:min(900px,100%);margin-inline:auto;display:flex;flex-direction:column;align-items:center}
body.tw-services-page main>section.cta:not(.service-cta-image-stack) :is(h2,p,label){max-width:820px;text-align:center}
body.tw-services-page .service-cta-image-stack{display:flex;align-items:center;justify-content:center;text-align:center}
body.tw-services-page .service-cta-image-stack>.image-text-copy{width:min(900px,calc(100% - 40px));margin:0 auto;align-items:center;text-align:center}
body.tw-services-page .service-cta-image-stack>.image-text-copy :is(h2,p,label,a){text-align:center}
@media(max-width:1024px){body.tw-services-page :is(.resource-card-grid,.service-cluster-grid,.related-service-grid,.service-feature-row,.service-directory-grid,.directory-grid,.category-card-grid,.webdev-package-grid){grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:700px){
 body.tw-services-page main>section.section{padding-block:52px}
 body.tw-services-page main>section.section>*{width:calc(100% - 32px)}
 body.tw-services-page :is(.resource-card-grid,.service-cluster-grid,.related-service-grid,.service-feature-row,.service-directory-grid,.directory-grid,.category-card-grid,.webdev-package-grid){grid-template-columns:minmax(0,1fr)!important;gap:14px!important}
 body.tw-services-page .service-overview-layout{grid-template-columns:minmax(0,1fr)!important;gap:18px!important}
 body.tw-services-page .service-overview-layout>article,body.tw-services-page .service-planning-note,body.tw-services-page .tw-service-intro-panel{padding:23px;border-radius:17px}
 body.tw-services-page .category-stats{grid-template-columns:minmax(0,1fr)!important}
 body.tw-services-page .service-detail-grid{grid-template-columns:minmax(0,1fr)!important;gap:18px;padding-block:40px}
 body.tw-services-page .faq-list summary{grid-template-columns:36px minmax(0,1fr);gap:10px;padding:18px 0;font-size:15px}
 body.tw-services-page .faq-list details p{margin:0 0 20px 46px;font-size:13px}
 body.tw-services-page main>section.cta:not(.service-cta-image-stack){padding:44px 20px}
 body.tw-services-page .service-cta-image-stack>.image-text-copy{width:100%;padding:18px 0}
}
@media(prefers-reduced-motion:reduce){body.tw-services-page :is(.resource-card,.directory-card,.category-service-card,.related-service-grid>a,.service-cluster-grid>a,.service-feature-row>article,.service-directory-grid>a){transition:none}}


/* Universal service CTA: apply the same dedicated translucent image treatment to every CTA section
   across the centralized service-page templates. Hero sections and all non-CTA content remain untouched. */
body.tw-services-page main > section.cta {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 430px;
  margin: 0;
  padding: clamp(68px, 8vw, 108px) clamp(20px, 5vw, 48px) !important;
  overflow: hidden;
  background: #000000 !important;
  color: #ffffff !important;
  text-align: center !important;
}

body.tw-services-page main > section.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .35;
  pointer-events: none;
  background-image: url("https://images.unsplash.com/photo-1758873272783-3e4996938595?auto=format&fit=crop&fm=jpg&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&ixlib=rb-4.1.0&q=60&w=3000");
  background-position: center 46%;
  background-size: cover;
  background-repeat: no-repeat;
}

body.tw-services-page main > section.cta > div {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(900px, 100%);
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

body.tw-services-page main > section.cta label {
  display: block;
  margin: 0 0 12px;
  color: #d8e9fb !important;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.7px;
  line-height: 1.5;
  text-align: center !important;
}

body.tw-services-page main > section.cta h2 {
  max-width: 900px;
  margin: 8px auto 18px;
  color: #ffffff !important;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: -1.8px;
  text-align: center !important;
  text-wrap: balance;
}

body.tw-services-page main > section.cta h2 span {
  color: #bedeff !important;
}

body.tw-services-page main > section.cta p {
  max-width: 760px;
  margin: 0 auto 24px;
  color: rgba(255, 255, 255, .9) !important;
  font-size: 16px;
  line-height: 1.8;
  text-align: center !important;
}

body.tw-services-page main > section.cta .btn {
  align-self: center;
  margin: 4px auto 0;
}

@media (max-width: 700px) {
  body.tw-services-page main > section.cta {
    min-height: 0;
    padding: 58px 20px !important;
  }
  body.tw-services-page main > section.cta::before {
    background-position: center center;
  }
  body.tw-services-page main > section.cta h2 {
    margin-bottom: 14px;
    font-size: clamp(30px, 8vw, 40px);
    letter-spacing: -1px;
  }
  body.tw-services-page main > section.cta p {
    margin-bottom: 22px;
    font-size: 14px;
    line-height: 1.75;
  }
}

body.tw-services-page .service-process-heading{max-width:780px;margin:clamp(42px,5vw,64px) 0 24px}
body.tw-services-page .service-process-heading h2{margin:10px 0 0;color:var(--tw-ink);font-size:clamp(28px,3.4vw,42px);line-height:1.12;letter-spacing:-1.2px}
@media(max-width:700px){body.tw-services-page .service-process-heading{margin:34px 0 18px}}
