/* Shared service template. Keep these rules inside the service page. */
#content-part.ib-service-page { padding-top: 83px; }
@media (max-width: 959px) {
  #content-part.ib-service-page { padding-top: 70px; }
}
.ib-service-page {
  --ib-service-ink: #101828;
  --ib-service-body: #424b59;
  --ib-service-blue: #042b80;
  --ib-service-line: #e4e4e7;
  --ib-service-ease: cubic-bezier(.77, 0, .175, 1);
  --ib-service-ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  color: var(--ib-service-body);
  background: #fff;
  font: 400 18px/30px Montserrat, sans-serif;
  overflow: clip;
}
.ib-service-page *, .ib-service-page *::before, .ib-service-page *::after { box-sizing: border-box; }
.ib-service-page :where(h1, h2, h3, p, ol, ul) { margin: 0; padding: 0; }
.ib-service-page :where(h1, h2) { color: var(--ib-service-ink); font-family: Anton, sans-serif; font-weight: 400; text-transform: uppercase; }
.ib-service-page h1 { max-width: 1000px; font-size: 56px; line-height: 62px; letter-spacing: -.015em; }
.ib-service-page h2 { font-size: 40px; line-height: 48px; letter-spacing: -.01em; }
.ib-service-page h3 { color: var(--ib-service-ink); font-family: Montserrat, sans-serif; font-size: 22px; line-height: 30px; font-weight: 600; text-transform: none; }
.ib-service-page p { color: inherit; font: inherit; }
.ib-service-page a { color: inherit; text-decoration: none; }
.ib-service-page button { font-family: Montserrat, sans-serif; cursor: pointer; }
.ib-service-page :where(a, button, summary):focus-visible { outline: 3px solid #4a72b0; outline-offset: 5px; }
.ib-service-wide { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
.ib-service-narrow { width: min(792px, calc(100% - 80px)); margin-inline: auto; }
.ib-service-hero { display: flex; flex-direction: column; align-items: center; gap: 28px; padding: 72px 40px 56px; text-align: center; }
.ib-service-crumb { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; color: var(--ib-service-body); font-size: 13px; line-height: 20px; font-weight: 500; text-transform: uppercase; }
.ib-service-crumb a { text-decoration: underline; text-underline-offset: 3px; }
.ib-service-intro { max-width: 680px; }
.ib-service-page .ib-service-location { margin-top: -12px; font-size: 14px; line-height: 22px; }
.ib-service-page .ib-service-button { display: inline-flex; flex-shrink: 0; justify-content: center; align-items: center; gap: 20px; max-width: 100%; padding: 18px 26px; min-height: 56px; border: 1px solid #111; border-radius: 999px; box-shadow: none; background: #111; color: #fff; font-family: Montserrat, sans-serif; font-size: 14px; line-height: 20px; font-weight: 600; letter-spacing: 0; text-align: center; }
.ib-service-page .ib-service-button::before, .ib-service-page .ib-service-button::after { content: none; display: none; }
.ib-service-button svg { flex: 0 0 18px; width: 18px; height: 18px; }
.ib-service-visual { padding: 24px 0 72px; }
.ib-service-section-head { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 30px; }
.ib-service-section-head h2 { font-size: 32px; line-height: 40px; }
.ib-service-section-head > a { flex-shrink: 0; font-size: 14px; line-height: 22px; font-weight: 600; }
.ib-service-track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 24px; }
.ib-service-card { min-width: 0; }
.ib-service-card__link { display: flex; flex-direction: column; gap: 18px; height: 100%; }
.ib-service-card__media { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; width: 100%; aspect-ratio: 384 / 284; overflow: hidden; border: 1px solid var(--ib-service-line); border-radius: 8px; background: #eee; }
.ib-service-card__media > img:not(.ib-service-card__logo) { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.ib-service-card__media > svg { display: block; width: 100%; height: 100%; }
.ib-service-card__media--work { background: #f0f0f0; }
.ib-service-card__media--care, .ib-service-card__media--workflow { padding: 28px; background: #edf3ff; }
.ib-service-card__media--work.ib-service-card__media--cover { padding: 0; }
.ib-service-card__media--type { padding: 28px; background: var(--ib-service-blue); color: #fff; align-items: flex-start; }
.ib-service-card__media--contain { padding: 0; background: #091c16; }
.ib-service-card__media--contain > img:not(.ib-service-card__logo) { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.ib-service-card__media--plane { background: #bbd3e1; }
.ib-service-card__media--plane > img:not(.ib-service-card__logo) { width: 80%; height: auto; max-height: 80%; object-fit: contain; object-position: center; }
.ib-service-card__media--starthim { background: #111827; }
.ib-service-card__media--comcast { align-items: center; padding: 28px; background: #042b80; color: #fff; text-align: center; }
.ib-service-card__media--comcast .ib-service-cover__eyebrow { color: #fff; }
.ib-service-card__badge { position: absolute; top: 16px; left: 16px; z-index: 1; padding: 5px 10px; border-radius: 99px; color: #101828; background: #fff; font: 600 11px/18px Montserrat, sans-serif; letter-spacing: .04em; text-transform: uppercase; }
.ib-service-card__logo { display: block; max-width: 82%; max-height: 90px; width: auto; height: auto; object-fit: contain; margin: auto; }
.ib-service-card__media--starthim .ib-service-card__logo { position: absolute; left: 50%; top: 50%; width: 70%; max-width: 70%; max-height: none; height: auto; margin: 0; transform: translate(-50%, -50%); }
.ib-service-card__media--starthim .ib-service-card__badge { right: 16px; left: auto; }
.ib-service-card__media .ib-service-care-icon { width: 210px; height: 210px; max-width: 100%; flex-shrink: 1; min-height: 0; color: #042b80; }
.ib-service-care-steps { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; list-style: none; }
.ib-service-care-steps li { display: flex; align-items: center; gap: 10px; color: #042b80; font-size: 11px; line-height: 18px; font-weight: 600; }
.ib-service-care-steps li + li::before { content: "→"; color: #4a72b0; font-size: 16px; font-weight: 400; }
.ib-service-card__media--workflow { padding: 20px; gap: 10px; }
.ib-service-flow-eyebrow { margin-bottom: 0; color: #042b80; font-size: 11px; line-height: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.ib-service-flow { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 220px; max-width: 100%; }
.ib-service-flow-node { display: flex; align-items: center; justify-content: center; width: 100%; min-width: 0; min-height: 40px; padding: 9px 16px; border: 1px solid #cddaf5; border-radius: 5px; background: #fff; color: #101828; font-size: 14px; line-height: 20px; font-weight: 400; text-align: center; }
.ib-service-flow-node:nth-of-type(3) { border-color: #042b80; background: #042b80; color: #fff; }
.ib-service-flow-arrow { flex: 0 0 20px; width: 20px; color: #155dfc; font-size: 14px; line-height: 20px; text-align: center; }
.ib-service-cover__eyebrow { font: 600 12px/20px Montserrat, sans-serif; letter-spacing: .09em; text-transform: uppercase; }
.ib-service-cover__title { margin-top: 12px; color: inherit; font: 400 42px/48px Anton, sans-serif; letter-spacing: -.01em; }
.ib-service-card__caption { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; }
.ib-service-card__caption > div { min-width: 0; }
.ib-service-card__caption h3 { font-size: 20px; line-height: 28px; }
.ib-service-card__caption p { margin-top: 5px; font-size: 14px; line-height: 22px; }
.ib-service-card__caption > svg, .ib-service-card__caption > span { flex: 0 0 24px; width: 24px; height: 24px; color: #111; font-size: 24px; line-height: 24px; }
.ib-service-carousel-controls { display: none; }
.ib-service-carousel-pause[hidden] { display: none; }
.ib-service-card[data-carousel-clone] { display: none; }
.ib-service-scope { padding: 64px 0; background: #eee; }
.ib-service-scope h2 { text-align: center; }
.ib-service-scope-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; margin-top: 36px; }
.ib-service-scope-item > :first-child:not(h3) { display: block; color: var(--ib-service-blue); font-size: 12px; line-height: 20px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.ib-service-scope-item h3 { margin-top: 10px; }
.ib-service-scope-item p { margin-top: 12px; font-size: 17px; line-height: 28px; }
.ib-service-steps { display: flex; justify-content: center; align-items: center; gap: 36px; margin-top: 36px !important; padding-top: 28px !important; border-top: 1px solid #cdd0d5; list-style: none; }
.ib-service-steps li { display: flex; align-items: center; gap: 36px; color: var(--ib-service-ink); font-size: 15px; line-height: 24px; font-weight: 600; }
.ib-service-steps li + li::before { content: "→"; color: #555e6b; font-size: 22px; font-weight: 400; }
.ib-service-faq { padding: 72px 0; }
.ib-service-faq h2 { margin-bottom: 30px; text-align: center; }
.ib-service-questions details { border-top: 1px solid var(--ib-service-line); }
.ib-service-questions details:last-child { border-bottom: 1px solid var(--ib-service-line); }
.ib-service-questions summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; padding: 24px 0; color: var(--ib-service-ink); font: 600 18px/28px Montserrat, sans-serif; cursor: pointer; list-style: none; }
.ib-service-questions summary::-webkit-details-marker { display: none; }
.ib-service-questions summary::after { content: "+"; flex: 0 0 24px; width: 24px; text-align: center; font-size: 24px; line-height: 28px; font-weight: 400; }
.ib-service-questions details[open] summary::after { content: "−"; }
.ib-service-answer { padding: 0 42px 24px 0; font-size: 16px; line-height: 26px; }
.ib-service-answer p + p { margin-top: 12px; }
.ib-service-answer a { text-decoration: underline; text-underline-offset: 3px; }
.ib-service-reading, .ib-service-related { padding: 0 40px 40px; text-align: center; }
.ib-service-reading > *, .ib-service-related > * { max-width: 1000px; margin-inline: auto; }
.ib-service-reading h2, .ib-service-related h2 { margin-bottom: 16px; font-size: 26px; line-height: 34px; }
.ib-service-reading ul, .ib-service-related ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; list-style: none; }
.ib-service-reading a, .ib-service-related a { display: inline-block; color: var(--ib-service-blue); font-size: 14px; line-height: 24px; text-decoration: underline; text-underline-offset: 4px; }
.ib-service-cta { display: flex; flex-direction: column; align-items: center; gap: 24px; padding: 64px 40px; background: var(--ib-service-blue); color: #fff; text-align: center; }
.ib-service-cta h2 { max-width: 1000px; color: #fff; font-size: 48px; line-height: 56px; }
.ib-service-cta p { max-width: 680px; }
.ib-service-cta .ib-service-button { border-color: #fff; background: #fff; color: #111; }
@media (hover: hover) and (pointer: fine) {
  .ib-service-page a:hover { text-decoration: underline; text-underline-offset: 4px; }
  .ib-service-page .ib-service-button:hover { background: #333; border-color: #333; text-decoration: none; }
  .ib-service-cta .ib-service-button:hover { background: #eee; border-color: #eee; }
  .ib-service-card__link:hover { text-decoration: none !important; }
  a.ib-service-card__link:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
}
@media (max-width: 767px) {
  .ib-service-wide, .ib-service-narrow { width: calc(100% - 48px); }
  .ib-service-page { font-size: 17px; line-height: 28px; }
  .ib-service-page h1 { font-size: 42px; line-height: 49px; }
  .ib-service-page--wordpress-maintenance h1, .ib-service-page--maintenance h1 { font-size: 36px; line-height: 42px; }
  .ib-service-page h2 { font-size: 32px; line-height: 40px; }
  .ib-service-hero { gap: 24px; padding: 40px 24px 48px; }
  .ib-service-crumb { font-size: 11px; line-height: 18px; }
  .ib-service-page .ib-service-location { margin-top: -8px; font-size: 13px; line-height: 22px; }
  .ib-service-page .ib-service-button { padding: 18px 24px; gap: 16px; }
  .ib-service-visual { padding: 16px 0 48px; }
  .ib-service-section-head { align-items: flex-start; flex-direction: column; gap: 12px; margin-bottom: 24px; }
  .ib-service-section-head h2 { font-size: 28px; line-height: 34px; }
  .ib-service-carousel { position: relative; width: calc(100% + 48px); margin-inline: -24px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; scroll-snap-type: x mandatory; }
  .ib-service-carousel::-webkit-scrollbar { display: none; }
  .ib-service-track { display: flex; gap: 16px; width: max-content; padding-inline: max(24px, calc((100vw - min(360px, 100vw - 96px)) / 2)); }
  .ib-service-card { flex: 0 0 clamp(224px, calc(100vw - 96px), 360px); width: clamp(224px, calc(100vw - 96px), 360px); scroll-snap-align: center; }
  .ib-service-card__media { aspect-ratio: 294 / 220; }
  .ib-service-card__caption h3 { font-size: 18px; line-height: 26px; }
  .ib-service-card__media--care, .ib-service-card__media--workflow, .ib-service-card__media--type, .ib-service-card__media--comcast { padding: 20px; }
  .ib-service-card__media--workflow { aspect-ratio: 294 / 248; }
  .ib-service-cover__title { font-size: 34px; line-height: 40px; }
  .ib-service-carousel.is-enhanced { overflow: hidden; touch-action: pan-y; scroll-snap-type: none; }
  .ib-service-carousel.is-enhanced .ib-service-track { padding-inline: 0; transition: transform 500ms var(--ib-service-ease); }
  .ib-service-carousel.is-enhanced .ib-service-card[data-carousel-clone] { display: block; }
  .ib-service-carousel.is-instant .ib-service-track, .ib-service-carousel.is-dragging .ib-service-track { transition: none; }
  .ib-service-carousel-controls:not([hidden]) { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 20px; min-height: 44px; }
  .ib-service-carousel-dots { display: flex; align-items: center; gap: 0; }
  .ib-service-carousel-dot { display: grid; place-items: center; width: 30px; height: 44px; margin: 0; padding: 0; border: 0; background: transparent; }
  .ib-service-carousel-dot::before { content: ""; display: block; width: 7px; height: 7px; border-radius: 99px; background: #a0a6af; }
  .ib-service-carousel-dot[aria-current="true"]::before { width: 24px; background: #111; }
  .ib-service-carousel-pause { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 88px; min-height: 44px; padding: 8px 10px; border: 1px solid var(--ib-service-line); border-radius: 999px; color: #111; background: #fff; font-size: 12px; line-height: 20px; font-weight: 600; }
  .ib-service-scope { padding: 48px 0; }
  .ib-service-scope-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 30px; }
  .ib-service-scope-item h3 { font-size: 22px; line-height: 30px; }
  .ib-service-scope-item p { margin-top: 10px; }
  .ib-service-steps { flex-direction: column; gap: 12px; margin-top: 30px !important; padding-top: 24px !important; }
  .ib-service-steps li { flex-direction: column; gap: 12px; text-align: center; }
  .ib-service-steps li + li::before { content: "↓"; }
  .ib-service-faq { padding: 48px 0; }
  .ib-service-faq h2 { margin-bottom: 24px; }
  .ib-service-questions summary { padding-block: 22px; font-size: 16px; line-height: 26px; gap: 20px; }
  .ib-service-answer { padding-right: 0; }
  .ib-service-reading, .ib-service-related { padding: 0 24px 32px; }
  .ib-service-reading ul, .ib-service-related ul { flex-direction: column; gap: 10px; }
  .ib-service-cta { padding: 48px 24px; }
  .ib-service-cta h2 { font-size: 36px; line-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .ib-service-carousel.is-enhanced .ib-service-track { transition: none; }
}

/* Feedback stays on the image and arrow; labels and tile hit areas remain steady. */
@media (prefers-reduced-motion: no-preference) {
  .ib-service-page .ib-service-button { transition: transform 160ms var(--ib-service-ease-out); }
  .ib-service-page .ib-service-button:active:not(:focus-visible) { transform: scale(.98); }
  @media (hover: hover) and (pointer: fine) {
    .ib-service-card__media > img:not(.ib-service-card__logo) { transition: transform 250ms ease; }
    .ib-service-card__caption > svg, .ib-service-button > svg { transition: transform 160ms ease; }
    a.ib-service-card__link:hover .ib-service-card__media > img:not(.ib-service-card__logo) { transform: scale(1.025); }
    a.ib-service-card__link:hover .ib-service-card__caption > svg,
    .ib-service-button:hover > svg { transform: translate(2px, -2px); }
  }
}
