.services-page { --service-sticky-offset: calc(var(--sticky-header-height, 112px) + 18px); background: #fff; }

.service-hero { padding: 56px 0 68px; background: #fff; }
.service-hero-grid { display: grid; grid-template-columns: .92fr 1.08fr; min-height: 610px; background: var(--parchment); }
.service-hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 68px 64px; }
.service-category { margin-bottom: 18px; color: var(--blue); font-size: 11px; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; }
.service-hero h1 { max-width: 610px; margin: 0; font-size: clamp(48px, 5.2vw, 74px); font-weight: 600; line-height: 1.03; letter-spacing: -.05em; }
.service-hero-copy > p { max-width: 620px; margin: 26px 0 30px; color: #5f5f63; font-size: 18px; line-height: 1.55; }
.service-hero-actions { display: flex; align-items: center; gap: 25px; }
.service-hero-actions > a:not(.button) { display: inline-flex; gap: 10px; color: var(--blue); font-size: 15px; }
.service-trust { display: flex; flex-wrap: wrap; gap: 18px 26px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); }
.service-trust span { display: grid; color: var(--muted); font-size: 10px; }
.service-trust b { color: var(--ink); font-size: 12px; font-weight: 600; }
.service-hero-media { position: relative; min-height: 610px; overflow: hidden; background: var(--dark); }
.service-hero-media > img { width: 100%; height: 100%; object-fit: cover; }
.service-hero-media::after { display: none; }
.service-hero-media > div { position: absolute; z-index: 2; left: 24px; bottom: 24px; max-width: calc(100% - 48px); padding: 14px 16px; border-radius: 11px; color: var(--ink); background: rgba(255,255,255,.9); backdrop-filter: blur(18px); }
.service-hero-media small { display: block; margin-bottom: 4px; opacity: .68; font-size: 9px; letter-spacing: .12em; }
.service-hero-media b { font-size: 15px; font-weight: 600; }
.service-proof-strip { border-top: 1px solid var(--soft-line); border-bottom: 1px solid var(--soft-line); background: #fff; }
.service-proof-strip .shell { min-height: 72px; display: grid; grid-template-columns: repeat(4,1fr); align-items: center; }
.service-proof-strip span { padding: 0 22px; border-right: 1px solid var(--line); color: #515154; font-size: 12px; text-align: center; }
.service-proof-strip span:first-child { padding-left: 0; }
.service-proof-strip span:last-child { padding-right: 0; border-right: 0; }
.anchor-target { position: relative; top: -70px; }

.services-page .legacy-content { background: #fff; }
.services-page .legacy-content > section { padding: 82px 0; background: #fff !important; }
.services-page .service-details > .container,
.services-page .service-details .service-container,
.services-page .service-details .content-wrapper { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 390px); gap: clamp(32px,4vw,48px); align-items: start; }
.services-page .main-content, .services-page .service-content { min-width: 0; }
.services-page .service-content > .content-block:first-child > h2,
.services-page .main-content > .content-block:first-child > h2 { max-width: 800px; margin-bottom: 28px; font-size: clamp(38px, 4.2vw, 58px); }
.services-page .service-content > .content-block:first-child > p:first-of-type,
.services-page .main-content > .content-block:first-child > p:first-of-type { color: #3a3a3c; font-size: 20px; line-height: 1.58; }
.services-page .main-content > img, .services-page .service-content > img, .services-page .intro-image img { width: 100%; max-height: 520px; margin-bottom: 42px; object-fit: cover; }
.services-page .main-content > img:first-child, .services-page .service-content > img:first-child { display: none; }
.services-page .content-block { margin-bottom: 50px; }
.services-page .content-block > h3, .services-page .content-block > h2:not(:first-child) { margin-top: 54px; }
.services-page .service-content > h3,
.services-page .main-content > h3 { margin: 60px 0 26px; font-size: clamp(28px,3vw,38px); }
.services-page .benefit-pills, .services-page .badges-container, .services-page .certification-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 42px; }
.services-page .benefit-pills .pill, .services-page .badges-container > *, .services-page .certification-badges > * { padding: 9px 14px; border: 1px solid #d8d8dc; border-radius: 999px; color: #414145; background: #fff; font-size: 12px; }

.services-page .sidebar { position: sticky; top: var(--service-sticky-offset); align-self: start; min-width: 0; max-height: calc(100vh - var(--service-sticky-offset) - 24px); overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; padding: 26px 26px 24px; border: 1px solid var(--soft-line); border-radius: 18px; background: var(--parchment); }
.services-page .sidebar > * + * { margin-top: 24px; }
.services-page .sidebar h3 { margin-bottom: 8px; font-size: 21px; letter-spacing: -.02em; }
.services-page .sidebar p { font-size: 14px; line-height: 1.55; }
.services-page .sidebar .contact-card-sidebar, .services-page .sidebar .sidebar-card { padding: 0; border: 0; background: transparent; }
.services-page .sidebar form { display: grid; gap: 15px; margin-top: 22px; padding-bottom: 2px; }
.services-page .sidebar .form-group { display: grid; gap: 7px; margin: 0; }
.services-page .sidebar .form-label { color: var(--ink); font-size: 13px; font-weight: 700; line-height: 1.35; }
.services-page .sidebar input:not([type="checkbox"]):not([type="radio"]),
.services-page .sidebar textarea,
.services-page .sidebar select { width: 100%; min-height: 48px; border-color: #d8d8dc; border-radius: 14px; background: #fff; font-size: 14px; }
.services-page .sidebar textarea { min-height: 118px; resize: vertical; }
.services-page .quote-form button[type="submit"],
.services-page .sidebar .quote-form .btn-primary { position: sticky; z-index: 2; bottom: 0; width: 100%; min-height: 50px; margin-top: 4px; margin-bottom: 2px; white-space: nowrap; box-shadow: 0 -14px 18px var(--parchment); }
.services-page .related-services, .services-page .related-links { display: grid; gap: 0; }
.services-page .related-services a, .services-page .related-links a { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.services-page .related-services a::after, .services-page .related-links a::after { content: "›"; }
.services-page .related-services-mini { margin-top: 54px; padding-top: 30px; border-top: 1px solid var(--line); }
.services-page .related-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.services-page .related-grid a { padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--blue); background: #fff; font-size: 13px; }
.services-page .related-grid a:hover { border-color: var(--blue); }

.services-page .service-features, .services-page .features-list, .services-page .offerings-grid, .services-page .technology-grid,
.services-page .features-grid, .services-page .benefits-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; margin: 34px 0 50px; }
.services-page .service-content > .feature-grid,
.services-page .main-content > .feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin: 28px 0 44px; }
.services-page .service-content > .feature-grid:has(> :nth-child(4):last-child),
.services-page .main-content > .feature-grid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2,minmax(0,1fr)); }
.services-page .feature-item, .services-page .offering-card, .services-page .technology-card,
.services-page .feature-card, .services-page .benefit-card { min-height: 210px; padding: 26px; border: 1px solid var(--soft-line); border-radius: 18px; background: var(--parchment); }
.services-page .feature-item h3, .services-page .offering-card h3, .services-page .technology-card h3,
.services-page .feature-card h3, .services-page .benefit-card h3 { font-size: 19px; }
.services-page .feature-item p, .services-page .offering-card p, .services-page .technology-card p,
.services-page .feature-card p, .services-page .benefit-card p { font-size: 15px; line-height: 1.55; }
.services-page .service-details section { margin: 48px 0; }
.services-page .service-details ul:not(.contact-list) { display: grid; gap: 9px; padding: 0; list-style: none; }
.services-page .service-details ul:not(.contact-list) li { position: relative; padding-left: 24px; }
.services-page .service-details ul:not(.contact-list) li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 600; }
.services-page table { overflow: hidden; border-radius: 12px; }
.services-page th { color: #fff; background: var(--dark); }
.services-page td { background: #fff; }
.services-page tr:nth-child(even) td { background: var(--parchment); }

.services-page .cta-section, .services-page .cta-premium, .services-page .cta-box { margin: 70px 0 0; border-radius: 0; }


.services-page .content-area { width: min(980px,calc(100% - 48px)) !important; max-width: 980px !important; margin-inline: auto !important; }
.services-page .content-area > h2 { margin: 62px 0 20px !important; font-size: clamp(32px,3.8vw,46px) !important; }
.services-page .content-area > h2:first-child { margin-top: 0 !important; }
.services-page .content-area > p { max-width: 900px; }
.services-page .content-area > ul { display: grid; gap: 9px; margin: 22px 0 42px !important; padding: 0 !important; list-style: none; }
.services-page .content-area > ul li { position: relative; margin: 0; padding: 13px 16px 13px 42px; border: 1px solid var(--soft-line); border-radius: 12px; background: #fff; }
.services-page .content-area > ul li::before { content: "✓"; position: absolute; left: 17px; color: var(--blue); font-weight: 800; }
.services-page .content-area .cta-banner { margin: 38px 0; padding: 34px; border: 1px solid #d8e5f0; border-radius: 18px; background: linear-gradient(135deg,#f0f7fd,#fff); }
.services-page .content-area .cta-banner h3 { margin-bottom: 9px; font-size: 24px; }
.services-page .content-area .cta-banner p { margin-bottom: 18px; }
.services-page .content-area .cta-banner .btn-primary { color: #fff !important; }
.services-page .content-area .process-steps { counter-reset: legacy-service-step; display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 12px !important; margin: 26px 0 50px !important; }
.services-page .content-area .process-steps > div { counter-increment: legacy-service-step; position: relative; min-height: 120px; padding: 24px 24px 24px 66px !important; border: 1px solid var(--soft-line) !important; border-left: 1px solid var(--soft-line) !important; border-radius: 16px; background: #fff !important; line-height: 1.55; }
.services-page .content-area .process-steps > div::before { content: counter(legacy-service-step,decimal-leading-zero); position: absolute; left: 22px; top: 25px; color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.services-page .content-area .feature-grid { grid-template-columns: repeat(2,minmax(0,1fr)); margin: 25px 0 45px; }
.services-page .content-area .feature-item { min-height: 0; padding: 22px; border: 1px solid var(--soft-line); border-radius: 16px; background: #fff; }
.services-page .content-area .b2b-faq-accordion { display: grid; gap: 11px; margin-top: 22px; }
.services-page .content-area .b2b-faq-item { padding: 0 22px; border: 1px solid var(--soft-line); border-radius: 15px; background: #fff; }
.services-page .content-area .b2b-faq-question { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.services-page .content-area .b2b-faq-question h3 { margin: 0; font-size: 18px; }

.services-page .partner-brands-section { padding-block: 76px !important; background: #f7f8fa !important; }
.services-page .partner-brands-section h3 { margin-bottom: 34px; font-size: clamp(28px,3.4vw,44px); }
.services-page .logo-strip { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.services-page .logo-strip img { width: 100%; height: 132px; padding: 30px; border: 1px solid var(--soft-line); border-radius: 18px; background: #fff; object-fit: contain; filter: grayscale(1); transition: filter .2s, transform .2s, border-color .2s; }
.services-page .logo-strip img:hover { border-color: #bdd7ef; filter: none; transform: translateY(-3px); }

@media (max-width: 980px) {
  .service-hero-grid { grid-template-columns: 1fr; }
  .service-hero-copy { padding: 58px 52px; }
  .service-hero-media { min-height: 480px; }
  .services-page .service-features, .services-page .features-list, .services-page .offerings-grid, .services-page .technology-grid,
  .services-page .features-grid, .services-page .benefits-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (min-width: 1100px) and (max-height: 800px) {
  .services-page .sidebar { padding: 22px; }
  .services-page .sidebar > * + * { margin-top: 18px; }
  .services-page .sidebar form { gap: 12px; margin-top: 16px; }
  .services-page .sidebar textarea { min-height: 110px; }
}

@media (max-width: 1024px) {
  .services-page .service-details > .container,
  .services-page .service-details .service-container,
  .services-page .service-details .content-wrapper { grid-template-columns: 1fr; }
  .services-page .sidebar { position: static; max-height: none; overflow: visible; }
}

@media (max-width: 960px) {
  .service-hero { padding: 30px 0 45px; }
  .service-hero-grid { min-height: 0; }
  .service-hero h1 { font-size: 50px; }
  .service-hero-media { min-height: 420px; }
  .service-proof-strip .shell { grid-template-columns: 1fr 1fr; }
  .service-proof-strip span { min-height: 58px; display: grid; place-content: center; }
  .service-proof-strip span:nth-child(2) { border-right: 0; }
  .service-proof-strip span:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .services-page .service-details > .container,
  .services-page .service-details .service-container,
  .services-page .service-details .content-wrapper { gap: 45px; }
  .services-page .service-content > .feature-grid,
  .services-page .main-content > .feature-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .services-page .logo-strip { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 560px) {
  .service-hero { padding-top: 14px; }
  .service-hero .shell { width: 100%; }
  .service-hero-copy { padding: 46px 28px; }
  .service-hero h1 { font-size: 40px; }
  .service-hero-copy > p { font-size: 17px; }
  .service-hero-actions { align-items: flex-start; flex-direction: column; }
  .service-trust { gap: 16px; }
  .service-hero-media { min-height: 340px; }
  .service-proof-strip span { padding: 0 10px; font-size: 10px; }
  .services-page .legacy-content > section { padding: 68px 0; }
  .services-page .service-content > .content-block:first-child > h2,
  .services-page .main-content > .content-block:first-child > h2 { font-size: 35px; }
  .services-page .service-content > .content-block:first-child > p:first-of-type,
  .services-page .main-content > .content-block:first-child > p:first-of-type { font-size: 18px; }
  .services-page .service-features, .services-page .features-list, .services-page .offerings-grid, .services-page .technology-grid,
  .services-page .features-grid, .services-page .benefits-grid { grid-template-columns: 1fr; gap: 12px; margin: 24px 0 38px; }
  .services-page .service-content > .feature-grid,
  .services-page .main-content > .feature-grid,
  .services-page .service-content > .feature-grid:has(> :nth-child(4):last-child),
  .services-page .main-content > .feature-grid:has(> :nth-child(4):last-child),
  .services-page .content-area .process-steps,
  .services-page .content-area .feature-grid { grid-template-columns: 1fr !important; }
  .services-page .content-area { width: calc(100% - 28px) !important; }
  .services-page .content-area > h2 { margin-top: 46px !important; font-size: 31px !important; }
  .services-page .content-area .process-steps > div { min-height: 0; padding: 21px 20px 21px 58px !important; }
  .services-page .content-area .cta-banner { padding: 26px 22px; }
  .services-page .feature-item, .services-page .offering-card, .services-page .technology-card,
  .services-page .feature-card, .services-page .benefit-card { min-height: 0; padding: 21px; border-radius: 15px; }
  .services-page .content-block { margin-bottom: 44px; }
  .services-page .content-block > h3,
  .services-page .content-block > h2:not(:first-child) { margin-top: 42px; }
  .services-page table.service-table { display: block; margin: 20px 0 34px; overflow: visible; border: 0; background: transparent; }
  .services-page table.service-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .services-page table.service-table tbody { display: grid; gap: 12px; }
  .services-page table.service-table tr { display: block; overflow: hidden; border: 1px solid var(--soft-line); border-radius: 15px; background: #fff; box-shadow: 0 10px 26px rgba(0,0,0,.035); }
  .services-page table.service-table td,
  .services-page table.service-table tr:nth-child(even) td { display: block; padding: 11px 13px; border: 0; border-bottom: 1px solid var(--soft-line); background: #fff; font-size: 14px; overflow-wrap: anywhere; }
  .services-page table.service-table td:last-child { border-bottom: 0; }
  .services-page table.service-table td::before { content: attr(data-label); display: block; margin-bottom: 5px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .06em; line-height: 1.35; text-transform: uppercase; }
  .services-page table.service-table td > .service-table-icon { margin-right: 7px; }
  .services-page .partner-brands-section { padding-block: 52px !important; }
  .services-page .logo-strip { gap: 10px; }
  .services-page .logo-strip img { height: 100px; padding: 22px; border-radius: 14px; }
}
