.service-detail {
  --service-surface-deep: #0d0d0f;
  --service-surface-mid: #151113;
  --service-surface-warm: #20140f;
  --service-surface-warm-strong: #321c10;
  background-image: url("../images/backgrounds/migration-head-bg.webp");
  background-position: center top;
}

.service-detail::before {
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.service-detail.service-ai-page { background-image: url("../images/backgrounds/1-screen-BG.webp"); }
.service-ai-page::before { background: linear-gradient(90deg, rgba(13, 13, 15, .72) 0%, rgba(13, 13, 15, .56) 48%, rgba(13, 13, 15, .38) 100%); }
.service-ai-page .service-hero, .service-ai-page .ai-service__hero { isolation: isolate; }
.service-ai-page .service-hero__copy, .service-ai-page .ai-service__hero-copy { position: relative; z-index: 1; }

.service-detail .desktop-nav a[aria-current="page"],
.service-detail .main-nav a[aria-current="page"] { color: var(--color-text); }

.service-hero {
  position: relative;
  display: flex;
  min-height: calc(100svh - 180px);
  align-items: center;
  overflow: hidden;
}

.service-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 0;
  padding-block: clamp(40px, 4.5vw, 64px);
}

.service-hero__copy { min-width: 0; }

.service-hero h1 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .08em .3em;
  max-width: none;
  font-size: clamp(3.45rem, 5.7vw, 5.9rem);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: .96;
}

.service-hero__rotator {
  display: inline-block;
  min-height: 1.04em;
  color: var(--color-accent);
  font-size: 1em;
  letter-spacing: -.04em;
  line-height: 1;
  white-space: nowrap;
  transform-origin: left center;
  will-change: transform, opacity;
}

.service-switcher { position: relative; z-index: 3; padding: 28px 0 6px; background: transparent; }
.service-switcher__tabs { margin-bottom: 0; }
.service-switcher__tab.is-active { cursor: default; }

.service-section { padding: clamp(52px, 5.4vw, 80px) 0; }
#service-tasks { padding-top: clamp(72px, 8vw, 118px); }
.service-section__split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(56px, 9vw, 144px); }
.service-section__intro { align-self: start; }
.service-section__intro--centered { display: grid; align-self: stretch; align-content: center; justify-items: start; text-align: left; }
#service-tasks .service-section__intro--centered { display: flex; align-items: center; justify-content: flex-start; }
.service-section__intro--stacked { max-width: 720px; margin-bottom: 48px; }
.service-section__intro h2, .service-principles h2, .service-contact h2 { max-width: 14ch; font-size: clamp(2.35rem, 4vw, 4.4rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.02; text-wrap: balance; }
.service-section__intro > p, .service-principles__statement > p { max-width: 54ch; margin-top: 24px; color: var(--color-text-muted); font-size: 16px; line-height: 1.65; }

.service-task-list { border-top: 1px solid var(--color-border); }
.service-task { display: grid; grid-template-columns: minmax(160px, .75fr) minmax(0, 1.25fr); gap: 32px; padding: 25px 0 28px; border-bottom: 1px solid var(--color-border); }
.service-task summary { display: block; grid-column: 1; cursor: default; list-style: none; }
.service-task summary::-webkit-details-marker { display: none; }
.service-task summary::marker { content: ""; }
.service-task summary > span { display: none; }
.service-task > div { display: block !important; grid-column: 2; }
.service-task h3 { font-size: clamp(1.22rem, 1.65vw, 1.56rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.2; }
.service-task p { max-width: 48ch; margin: 0; color: var(--color-text-muted); font-size: clamp(.94rem, 1.08vw, 1rem); line-height: 1.62; }

@media (hover: hover) and (pointer: fine) {
  .service-ai-page .service-task h3,
  .service-ai-page .service-task p { transition: color 180ms var(--ease-out), transform 220ms var(--ease-out); }
  .service-ai-page .service-task:hover h3 { color: var(--color-accent); transform: translateX(5px); }
  .service-ai-page .service-task:hover p { color: var(--color-text); }
}

.service-section--contour { overflow: hidden; }
.service-contour { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(176px, auto); gap: 1px; border: 1px solid var(--color-border); background: var(--color-border); }
.service-contour__item { position: relative; display: flex; min-width: 0; flex-direction: column; justify-content: flex-end; padding: clamp(24px, 2.5vw, 38px); overflow: hidden; background: var(--service-surface-deep); }
.service-contour__item h3 { max-width: 15ch; font-size: clamp(1.4rem, 2vw, 2rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.08; }
.service-contour__item p { position: relative; z-index: 2; max-width: 38ch; margin-top: 15px; color: var(--color-text-muted); font-size: 14px; line-height: 1.55; }
.service-contour__item--primary { grid-column: span 6; grid-row: span 2; min-height: 420px; padding: 0; background: transparent; }
.service-technology { display: block; padding: 0; perspective: 1200px; }
.service-technology__card { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform 560ms var(--ease-in-out); will-change: transform; }
.service-technology__face { position: absolute; inset: 0; display: flex; flex-direction: column; padding: clamp(28px, 3vw, 42px); overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.service-technology__face--front { justify-content: space-between; background: var(--service-surface-deep); transform: translateZ(1px); }
.service-technology__face--back { isolation: isolate; align-items: center; justify-content: center; border: 1px solid color-mix(in srgb, var(--color-accent) 70%, transparent); background: #24150f; text-align: center; transform: rotateY(180deg) translateZ(1px); }
.service-technology__face--back::before { position: absolute; z-index: 0; inset: 0; background: linear-gradient(135deg, #3b2111 0%, #24150f 58%, var(--color-bg) 100%); content: ""; pointer-events: none; transform: translateZ(0); }
.service-technology__face--back > * { position: relative; z-index: 1; }
.service-technology__face h3 { max-width: 12ch; font-size: clamp(1.58rem, 2.15vw, 2.08rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.02; }
.service-technology__face--back p { max-width: 28ch; color: var(--color-text); font-size: 16px; font-weight: 500; line-height: 1.5; opacity: .72; transform: translate3d(0, 8px, 0); transition: transform 240ms var(--ease-out), opacity 180ms ease; }
.service-technology__tags { display: flex; flex-wrap: wrap; gap: 8px; max-width: 30ch; margin: 32px 0 0; padding: 0; list-style: none; }
.service-technology__tags li { padding: 8px 11px; border: 1px solid color-mix(in srgb, var(--color-text-muted) 34%, transparent); border-radius: 999px; color: var(--color-text-muted); font-size: 12px; font-weight: 600; line-height: 1.1; }
.service-contour__item:nth-child(2) .service-technology__face--front,
.service-contour__item:nth-child(3) .service-technology__face--front,
.service-contour__item:nth-child(4) .service-technology__face--front { background: var(--service-surface-deep); }
.service-contour__item:nth-child(2) .service-technology__face h3 { max-width: none; font-size: clamp(1.1rem, 5.5vw, 1.65rem); }
[data-service-slug="ai-development"] .service-contour__item:nth-child(2) .service-technology__face h3 { white-space: nowrap; }
.service-contour__item:nth-child(3) .service-technology__face h3,
.service-contour__item:nth-child(4) .service-technology__face h3 { font-size: clamp(1.16rem, 1.4vw, 1.35rem); }
.service-contour__item:nth-child(2) .service-technology__face--back p { font-size: 14px; }
.service-contour__item:nth-child(2) .service-technology__tags li,
.service-contour__item:nth-child(3) .service-technology__tags li,
.service-contour__item:nth-child(4) .service-technology__tags li { font-size: 11px; }
.service-contour__item:nth-child(3) .service-technology__face,
.service-contour__item:nth-child(4) .service-technology__face { padding: clamp(18px, 1.9vw, 26px); }
.service-contour__item:nth-child(3) .service-technology__face h3,
.service-contour__item:nth-child(4) .service-technology__face h3 { font-size: clamp(1.16rem, 1.4vw, 1.35rem); }
.service-contour__item:nth-child(3) .service-technology__tags,
.service-contour__item:nth-child(4) .service-technology__tags { gap: 6px; margin-top: 18px; }
.service-contour__item:nth-child(3) .service-technology__tags li,
.service-contour__item:nth-child(4) .service-technology__tags li { padding: 7px 9px; font-size: 11px; }
.service-contour__item:nth-child(3) .service-technology__face--back p,
.service-contour__item:nth-child(4) .service-technology__face--back p { max-width: 24ch; margin: 0; font-size: clamp(12px, 1.05vw, 14px); line-height: 1.45; transform: none; }
.service-contour__item:nth-child(3) .service-technology__face--back,
.service-contour__item:nth-child(4) .service-technology__face--back { align-items: center; justify-content: center; }
@media (hover: hover) and (pointer: fine) {
  .service-technology:hover .service-technology__card { transform: rotateY(180deg); }
  .service-technology:hover .service-technology__face--back p { opacity: 1; transform: translate3d(0, 0, 0); transition-delay: 250ms; }
}
.service-contour__item--visual { grid-column: span 6; min-height: 242px; padding: 0; background: transparent; }
.service-contour__item:nth-child(3), .service-contour__item:nth-child(4) { grid-column: span 3; }
.service-contour__item--warm { padding: 0; background: transparent; }

.service-product-section { overflow: hidden; }
.service-product-section .products__title { margin-bottom: 30px; }
.service-product { position: relative; min-height: clamp(410px, 38vw, 540px); }
.service-product .product-showcase__scene { position: relative; inset: auto; min-height: inherit; }
.service-product .product-visual,
.service-product .product-visual__image { display: block; min-height: inherit; }

.service-principles { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(56px, 9vw, 144px); }
.service-principles__statement { display: grid; align-self: stretch; align-content: center; justify-items: start; text-align: left; }
.service-principles__statement h2 { max-width: 14ch; }
.service-principles__list { border-top: 1px solid var(--color-border); }
.service-principles__list article { display: grid; grid-template-columns: 42px minmax(0, 1fr); column-gap: 18px; padding: 25px 0 28px; border-bottom: 1px solid var(--color-border); }
.service-principles__number { grid-column: 1; grid-row: 1 / span 2; align-self: start; padding-top: 6px; color: var(--color-accent); font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: .02em; line-height: 1.2; }
.service-principles__list h3 { grid-column: 2; font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.service-principles__list p { grid-column: 2; max-width: 48ch; margin-top: 10px; color: var(--color-text-muted); font-size: 14px; line-height: 1.62; }

.service-contact { padding: clamp(72px, 8vw, 112px) 0; background: var(--color-accent); color: var(--color-on-accent); }
.service-contact__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 48px; }
.service-contact h2 { max-width: 16ch; }
.service-contact p { max-width: 54ch; margin-top: 22px; color: color-mix(in srgb, var(--color-on-accent) 78%, transparent); font-size: 16px; line-height: 1.6; }
.service-contact__button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 0 24px; background: var(--color-on-accent); color: var(--color-text); font-size: 14px; font-weight: 700; white-space: nowrap; transition: transform 160ms var(--ease-out), background-color 160ms ease; }
.service-contact__button:hover { background: var(--color-bg-elevated); transform: translateY(-2px); }
.service-contact__button:active { transform: scale(.98); }

@media (max-width: 1100px) {
  .service-section__split, .service-principles { gap: 64px; }
  .service-task { grid-template-columns: 1fr; gap: 10px; }
}

@media (max-width: 900px) {
  .service-hero { min-height: auto; }
  .service-hero__layout { grid-template-columns: 1fr; }
  .service-hero__copy { max-width: 720px; }
}

@media (max-width: 767px) {
  .service-hero { min-height: auto; }
  .service-hero__layout { grid-template-columns: 1fr; padding-block: 52px 64px; }
  .service-hero h1 { max-width: 100%; align-items: flex-start; gap: .12em .25em; font-size: clamp(2.7rem, 13vw, 3.7rem); }
  .service-hero__rotator { min-height: 2.08em; font-size: 1em; line-height: 1.04; white-space: normal; }
  .service-section { padding: 48px 0; }
  #service-tasks { padding-top: 64px; }
  .service-section__split, .service-principles { grid-template-columns: 1fr; gap: 44px; }
  .service-section__intro h2, .service-principles h2, .service-contact h2 { font-size: clamp(2.15rem, 10.6vw, 3.2rem); }
  .service-section__intro--stacked { margin-bottom: 36px; }
  .service-task { padding-block: 22px 24px; }
  .service-contour { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .service-contour__item, .service-contour__item--primary, .service-contour__item--visual, .service-contour__item:nth-child(3), .service-contour__item:nth-child(4) { grid-column: auto; grid-row: auto; min-height: 210px; }
  .service-contour__item--primary { min-height: 390px; }
  .service-product-section .products__title { margin-bottom: 22px; }
  .service-product { min-height: 640px; }
  .service-product .product-showcase__scene { grid-template-columns: 1fr; grid-template-rows: 360px 280px; }
  .service-contact__inner { grid-template-columns: 1fr; align-items: start; gap: 34px; }
  .service-contact__button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  [data-service-reveal], [data-service-list] > *, [data-service-contour] > *, [data-service-rotator] { opacity: 1 !important; clip-path: none !important; transform: none !important; }
  .service-technology__card { transform: none !important; }
  .service-technology__face { transform: none !important; transition: opacity 160ms ease !important; }
  .service-technology__face--front { opacity: 1; }
  .service-technology__face--back { opacity: 0; }
  .service-technology:hover .service-technology__face--front { opacity: 0; }
  .service-technology:hover .service-technology__face--back { opacity: 1; }
}

/* Shared service composition based on the AI page. */
.service-ai-page .ai-service__hero { min-height: calc(100svh - 154px); }
.ai-service__hero-grid { align-items: center; }
.ai-service__hero-copy { min-width: 0; max-width: none; }
.ai-service__hero h1 { display: block; max-width: 12ch; font-size: clamp(3.8rem, 4.8vw, 4.9rem); line-height: .98; }
[data-service-slug="infrastructure-audit"] .ai-service__hero h1 { max-width: 14ch; font-size: clamp(3.25rem, 4.05vw, 4.25rem); }
.ai-service__hero-rotator { color: var(--color-accent); font-size: 1em; line-height: .98; }
.ai-service__offer { max-width: 62ch; margin-top: clamp(25px, 3.2vw, 42px); color: var(--color-text); font-size: clamp(1rem, 1.35vw, 1.25rem); line-height: 1.55; }
.ai-draft-note { display: inline-flex; width: fit-content; max-width: 65ch; margin: 0 0 21px; padding: 7px 10px; border: 1px solid color-mix(in srgb, var(--color-accent) 68%, transparent); color: var(--color-text); font-size: 11px; font-weight: 700; letter-spacing: .02em; line-height: 1.4; }
.ai-draft-note--inline { margin: -22px 0 28px; color: var(--color-text-muted); }
.ai-draft-badge { display: block; width: fit-content; margin-top: 8px; color: var(--color-accent); font-size: 10px; font-style: normal; font-weight: 700; letter-spacing: .04em; line-height: 1.25; text-transform: uppercase; }
.ai-service__hero .ai-service__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; margin: 0; }
.ai-service__hero .ai-service__facts > div { min-width: 0; padding: 26px 14px 30px; }
.ai-service__hero .ai-service__facts > div + div { padding-left: 14px; border-left: 1px solid var(--color-border); }
.ai-service__hero .ai-service__facts > .ai-service__fact--domain { border-left: 0; }
.ai-service__hero .ai-service__facts > div:first-child { display: grid; grid-column: 1 / -1; grid-template-columns: max-content minmax(0, 1fr); align-items: center; gap: 16px; padding: 32px 0 32px 20px; border-bottom: 1px solid var(--color-border); }
.ai-service__hero .ai-service__facts dt { color: var(--color-accent); font-size: clamp(3.15rem, 5vw, 5.5rem); font-weight: 600; letter-spacing: -.04em; line-height: .8; }
.ai-service__hero .ai-service__facts > div:first-child dt { color: var(--color-text); font-size: clamp(6.25rem, 8vw, 7.5rem); letter-spacing: -.07em; white-space: nowrap; }
.ai-service__hero .ai-service__facts dd { max-width: 23ch; min-height: 3.1em; margin: 0; color: var(--color-text-muted); font-size: 14px; font-weight: 600; line-height: 1.45; }
.ai-service__hero .ai-service__facts > div:first-child dd { max-width: none; min-height: 0; font-size: clamp(.95rem, 1.35vw, 1.2rem); letter-spacing: -.035em; line-height: 1.16; }
.ai-service__hero .ai-service__facts > div:first-child .hero__fact-label { white-space: nowrap; }
.ai-service__hero .ai-service__facts .ai-service__fact--domain dt, .ai-service__hero .ai-service__facts .ai-service__fact--pilot dt { font-size: clamp(calc(3.15rem - 4px), calc(5vw - 4px), calc(5.5rem - 4px)); letter-spacing: -.04em; }
.ai-service__hero .ai-service__facts .ai-service__fact--compact dt { font-size: clamp(1.9rem, 3.2vw, 3.25rem); letter-spacing: -.04em; white-space: nowrap; }
[data-service-slug="web-services"] .ai-service__hero .ai-service__facts > div:first-child,
[data-service-slug="3d"] .ai-service__hero .ai-service__facts > div:first-child,
[data-service-slug="mobile-apps"] .ai-service__hero .ai-service__facts > div:first-child,
[data-service-slug="infrastructure-audit"] .ai-service__hero .ai-service__facts > div:first-child { grid-template-columns: max-content minmax(0, 1fr); gap: clamp(10px, 1.4vw, 16px); }
[data-service-slug="web-services"] .ai-service__hero .ai-service__facts > div:first-child dd,
[data-service-slug="3d"] .ai-service__hero .ai-service__facts > div:first-child dd,
[data-service-slug="mobile-apps"] .ai-service__hero .ai-service__facts > div:first-child dd,
[data-service-slug="infrastructure-audit"] .ai-service__hero .ai-service__facts > div:first-child dd { min-width: 0; max-width: 22ch; font-size: clamp(.8rem, 1.08vw, 1rem); letter-spacing: -.025em; line-height: 1.2; }
[data-service-slug="web-services"] .ai-service__hero .ai-service__facts > div:first-child .hero__fact-label,
[data-service-slug="3d"] .ai-service__hero .ai-service__facts > div:first-child .hero__fact-label,
[data-service-slug="mobile-apps"] .ai-service__hero .ai-service__facts > div:first-child .hero__fact-label,
[data-service-slug="infrastructure-audit"] .ai-service__hero .ai-service__facts > div:first-child .hero__fact-label { overflow-wrap: anywhere; white-space: normal; }
[data-service-slug="web-services"] .ai-service__hero .ai-service__facts > .hero__fact:not(:first-child),
[data-service-slug="3d"] .ai-service__hero .ai-service__facts > .hero__fact:not(:first-child),
[data-service-slug="mobile-apps"] .ai-service__hero .ai-service__facts > .hero__fact:not(:first-child),
[data-service-slug="infrastructure-audit"] .ai-service__hero .ai-service__facts > .hero__fact:not(:first-child) { gap: clamp(10px, 1.1vw, 15px); padding: 24px 14px 26px; }
[data-service-slug="web-services"] .ai-service__hero .ai-service__facts > .hero__fact:not(:first-child) dt,
[data-service-slug="3d"] .ai-service__hero .ai-service__facts > .hero__fact:not(:first-child) dt,
[data-service-slug="mobile-apps"] .ai-service__hero .ai-service__facts > .hero__fact:not(:first-child) dt,
[data-service-slug="infrastructure-audit"] .ai-service__hero .ai-service__facts > .hero__fact:not(:first-child) dt { font-size: clamp(1.5rem, 1.8vw, 2rem); line-height: .9; }
[data-service-slug="3d"] .ai-service__hero .ai-service__facts > .hero__fact:not(:first-child) dt { font-size: clamp(2.2rem, 3vw, 3.25rem); }
[data-service-slug="mobile-apps"] .ai-service__hero .ai-service__facts > .hero__fact:nth-child(2) { border-left: 0; }
[data-service-slug="mobile-apps"] .ai-service__hero .ai-service__facts > .hero__fact:not(:first-child) dt { font-size: clamp(2.2rem, 3vw, 3.25rem); }
[data-service-slug="infrastructure-audit"] .ai-service__hero .ai-service__facts > .hero__fact:nth-child(2) { border-left: 0; }
[data-service-slug="web-services"] .ai-service__hero .ai-service__facts > .hero__fact:not(:first-child) dd,
[data-service-slug="3d"] .ai-service__hero .ai-service__facts > .hero__fact:not(:first-child) dd,
[data-service-slug="mobile-apps"] .ai-service__hero .ai-service__facts > .hero__fact:not(:first-child) dd,
[data-service-slug="infrastructure-audit"] .ai-service__hero .ai-service__facts > .hero__fact:not(:first-child) dd { min-height: 0; margin: 0; font-size: clamp(.72rem, .78vw, .8rem); line-height: 1.28; }
.ai-service__section { padding-block: clamp(76px, 9vw, 136px); }
.ai-service__heading { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 5fr); gap: clamp(34px, 8vw, 132px); align-items: end; margin-bottom: clamp(34px, 4vw, 56px); }
.ai-service__heading h2, .ai-service__form-wrap h2 { max-width: none; color: var(--color-text-muted); font-size: clamp(11px, .78vw, 13px); font-weight: 700; letter-spacing: .12em; line-height: 1.25; text-transform: uppercase; text-wrap: pretty; }
.ai-service__heading > p, .ai-service__heading > div > p { max-width: 48ch; margin: 0; color: var(--color-text-muted); font-size: 16px; line-height: 1.62; }
.ai-service__heading--row { align-items: end; }
.ai-service__heading--row > .text-link { justify-self: end; }
.ai-service__task-grid, .ai-service__formats, .ai-service__technology-grid { display: grid; gap: 1px; border: 1px solid var(--color-border); background: var(--color-border); }
.ai-service__task-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ai-service__task, .ai-service__format, .ai-service__technology { min-width: 0; background: var(--service-surface-deep); }
.ai-service__task { min-height: clamp(220px, 20vw, 310px); padding: clamp(26px, 3.1vw, 48px); }
.ai-service__task h3, .ai-service__format h3, .ai-service__technology h3 { font-size: clamp(1.3rem, 2vw, 2rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.06; }
[data-service-slug="ai-development"] .ai-service__format:nth-child(3) h3 { white-space: nowrap; }
.ai-service__task p, .ai-service__technology p { max-width: 45ch; margin-top: 20px; color: var(--color-text-muted); font-size: 14px; line-height: 1.62; }
@media (hover: hover) and (pointer: fine) { .ai-service__task { transition: background-color 220ms var(--ease-out); } .ai-service__task h3, .ai-service__task p { transition: color 180ms var(--ease-out), transform 220ms var(--ease-out); } .ai-service__task:hover { background: var(--color-surface); } .ai-service__task:hover h3 { color: var(--color-accent); transform: translateX(5px); } .ai-service__task:hover p { color: var(--color-text); } }
.ai-service__formats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.ai-service__format { position: relative; padding: clamp(26px, 3vw, 44px); }
.ai-service__format + .ai-service__format { border-left: 1px solid var(--color-border); }
.ai-service__term { display: grid; gap: 6px; margin-top: 26px; color: var(--color-accent); font-size: 15px; font-weight: 700; line-height: 1.4; }
.ai-service__term > span { color: var(--color-accent); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ai-service__format dt, .ai-service__outcome > span { color: var(--color-text-muted); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ai-service__format-field--outcome dt, .ai-service__format-field--after-launch dt, .ai-service__format-field--requirements dt { color: var(--color-accent); }
.ai-service__format dl { display: grid; gap: 20px; margin: 30px 0 0; }
.ai-service__format dd { margin: 7px 0 0; color: var(--color-text-muted); font-size: clamp(.94rem, 1.08vw, 1rem); line-height: 1.62; transition: color 180ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .ai-service__format:hover dd { color: var(--color-text); } }
.ai-service__technology-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.ai-service__technology { display: flex; grid-column: span 6; min-height: 300px; flex-direction: column; justify-content: flex-end; padding: clamp(28px, 3.5vw, 52px); }
.ai-service__technology:nth-child(3), .ai-service__technology:nth-child(4) { grid-column: span 3; min-height: 245px; }
.ai-service__technology ul { display: flex; flex-wrap: wrap; gap: 7px; margin: 25px 0 0; padding: 0; list-style: none; }
.ai-service__technology li { padding: 6px 9px; border: 1px solid color-mix(in srgb, var(--color-text-muted) 36%, transparent); border-radius: 999px; color: var(--color-text-muted); font-size: 11px; font-weight: 700; line-height: 1.15; }
.ai-service__technology:nth-child(3) h3, .ai-service__technology:nth-child(4) h3 { font-size: clamp(1.18rem, 1.55vw, 1.55rem); }
.ai-service__technology:nth-child(3) p, .ai-service__technology:nth-child(4) p { font-size: 13px; }
.service-ai-page .service-contour__item:nth-child(3), .service-ai-page .service-contour__item:nth-child(4) { border-bottom: 1px solid var(--color-border); }
.ai-service__contact { border-top: 1px solid var(--color-border); }
.ai-service__projects-section .product-showcase__content h3 { font-size: clamp(2rem, 3.4vw, 3.5rem); }
.ai-service__contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .88fr); gap: clamp(48px, 9vw, 140px); }
.ai-service__faq { border-top: 1px solid var(--color-border); }
.ai-service__faq details { border-bottom: 1px solid var(--color-border); }
.ai-service__faq summary { position: relative; display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; color: var(--color-text); cursor: pointer; font-size: clamp(1.5rem, 2vw, 2rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.2; list-style: none; }
.ai-service__faq summary::-webkit-details-marker { display: none; }
.ai-service__faq summary span { width: 10px; height: 10px; flex: 0 0 10px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform 200ms var(--ease-out), color 180ms ease; }
.ai-service__faq details[open] summary { color: var(--color-accent); }
.ai-service__faq details[open] summary span { transform: rotate(225deg) translate(-2px, -2px); }
.ai-service__faq details > div { padding: 0 34px 24px 0; }
.ai-service__faq details p { max-width: 58ch; margin: 0; color: var(--color-text-muted); font-size: clamp(.94rem, 1.08vw, 1rem); line-height: 1.62; }
.ai-service__faq details p + p { margin-top: 11px; }
.ai-service__form-wrap { align-self: start; padding: clamp(28px, 3.5vw, 50px); border: 1px solid var(--color-border); background: var(--service-surface-deep); }
.ai-service__form { margin-top: 28px; }
.ai-service__form .wpcf7-form { display: grid; gap: 1px; overflow: hidden; border: 1px solid var(--color-border); background: var(--color-border); }
.ai-service__form .wpcf7-form > p, .ai-service__form .ai-service__cf7-field { margin: 0; background: var(--service-surface-deep); }
.ai-service__form .ai-service__cf7-field { color: var(--color-text); font-size: 12px; font-weight: 700; }
.ai-service__form .ai-service__cf7-field > p { margin: 0; }
.ai-service__form .wpcf7-form-control-wrap { display: block; }
.ai-service__form input:not([type="checkbox"]), .ai-service__form textarea { width: 100%; min-height: 58px; padding: 15px 17px; border: 0; border-radius: 0; outline: 1px solid transparent; outline-offset: -1px; background: transparent; color: var(--color-text); font: inherit; font-size: 15px; font-weight: 600; line-height: 1.45; transition: color 160ms ease, outline-color 160ms ease, background-color 160ms ease; }
.ai-service__form input:not([type="checkbox"])::placeholder, .ai-service__form textarea::placeholder { color: var(--color-text-muted); opacity: 1; }
.ai-service__form input:not([type="checkbox"]):hover, .ai-service__form textarea:hover { background: color-mix(in srgb, var(--color-text) 4%, transparent); }
.ai-service__form input:not([type="checkbox"]):focus, .ai-service__form textarea:focus { outline-color: var(--color-accent); background: color-mix(in srgb, var(--color-text) 6%, transparent); }
.ai-service__form textarea { height: 240px; min-height: 240px; resize: vertical; }
.ai-service__form input[type="checkbox"] { width: 18px; min-height: 18px; flex: 0 0 18px; margin: 1px 0 0; accent-color: var(--color-accent); }
.ai-service__form input[type="checkbox"]:focus-visible { outline: 1px solid var(--color-accent); outline-offset: 3px; }
.ai-service__form .ai-service__cf7-consent { padding: 3px 0 4px; color: var(--color-text-muted); font-size: 12px; font-weight: 500; line-height: 1.45; }
.ai-service__form .ai-service__cf7-consent .wpcf7-list-item { margin: 0; }
.ai-service__form .ai-service__cf7-consent label { position: relative; display: grid; grid-template-columns: 35px minmax(0, 1fr); column-gap: 10px; cursor: pointer; }
.ai-service__form .ai-service__cf7-consent label::before { position: absolute; top: -3px; bottom: -4px; left: 35px; width: 1px; background: var(--color-border); content: ""; }
.ai-service__form .ai-service__cf7-consent input[type="checkbox"] { position: absolute; width: 1px; min-height: 1px; height: 1px; margin: -1px; clip-path: inset(50%); opacity: 0; }
.ai-service__cf7-checkbox { display: grid; width: 20px; height: 20px; grid-column: 1; align-self: center; justify-self: center; place-items: center; border: 1px solid var(--color-border); background: transparent; transition: border-color 160ms ease, background-color 160ms ease; }
.ai-service__cf7-checkbox::before { width: 8px; height: 4px; border-bottom: 1.5px solid var(--color-on-accent); border-left: 1.5px solid var(--color-on-accent); content: ""; opacity: 0; transform: rotate(-45deg) translate(1px, -1px) scale(.7); transition: opacity 140ms ease, transform 180ms var(--ease-out); }
.ai-service__form .ai-service__cf7-consent input[type="checkbox"]:checked + .ai-service__cf7-checkbox { border-color: var(--color-accent); background: var(--color-accent); }
.ai-service__form .ai-service__cf7-consent input[type="checkbox"]:checked + .ai-service__cf7-checkbox::before { opacity: 1; transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.ai-service__form .ai-service__cf7-consent input[type="checkbox"]:focus-visible + .ai-service__cf7-checkbox { outline: 1px solid var(--color-accent); outline-offset: 3px; }
.ai-service__form .ai-service__cf7-consent label > span:not(.ai-service__cf7-checkbox) { min-width: 0; grid-column: 2; }
.ai-service__form .ai-service__cf7-consent a { color: inherit; text-decoration-color: var(--color-accent); text-underline-offset: 3px; }
.ai-service__form .wpcf7-form > p:has(.ai-service__submit) { position: relative; line-height: 0; }
.ai-service__form input.ai-service__submit { display: block; width: 100%; min-height: 56px; border: 0; border-radius: 0; background: var(--service-surface-deep); color: var(--color-text); cursor: pointer; font: inherit; font-size: 14px; font-weight: 700; line-height: 1.45; transition: background-color 160ms ease, color 160ms ease, transform 160ms var(--ease-out); }
.ai-service__form input.ai-service__submit:disabled { background: color-mix(in srgb, var(--color-text-muted) 14%, transparent); color: color-mix(in srgb, var(--color-text-muted) 76%, transparent); cursor: not-allowed; }
.ai-service__form .ai-service__submit + .wpcf7-spinner { position: absolute; top: 50%; right: 17px; margin: 0; transform: translateY(-50%); }
@media (hover: hover) and (pointer: fine) { .ai-service__form input.ai-service__submit:not(:disabled):hover { background: var(--color-accent); color: var(--color-on-accent); transform: translateY(-1px); } }
.ai-service__form .ai-service__submit:active { transform: scale(.98); }
.ai-service__form .wpcf7-not-valid-tip { margin-top: 6px; color: var(--color-accent); font-size: 12px; font-weight: 600; line-height: 1.4; }
.ai-service__form .wpcf7-response-output { margin: 2px 0 0 !important; padding: 12px !important; border: 1px solid var(--color-accent) !important; color: var(--color-text-muted); font-size: 13px; line-height: 1.45; }
@media (max-width: 900px) { .ai-service__contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 767px) { .service-ai-page .ai-service__hero { min-height: calc(100svh - 130px); padding-bottom: 12px; } .service-ai-page .service-switcher { padding-top: 16px; } .service-ai-page .service-switcher__tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; } .service-ai-page .service-switcher__tab { flex: 0 0 auto; white-space: nowrap; } .ai-service__hero h1 { max-width: 11ch; font-size: clamp(2.45rem, 10.3vw, 3.1rem); } [data-service-slug="mobile-apps"] .ai-service__hero h1 { font-size: clamp(2.2rem, 9.2vw, 2.85rem); } [data-service-slug="infrastructure-audit"] .ai-service__hero h1 { max-width: 14ch; font-size: clamp(2.15rem, 9.2vw, 2.65rem); } .ai-service__descriptor { font-size: 12px; } .ai-service__offer { font-size: 16px; } .ai-service__hero .ai-service__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ai-service__hero .ai-service__facts > div { padding: 22px 6px; } .ai-service__hero .ai-service__facts > div + div { padding-left: 6px; } .ai-service__hero .ai-service__facts > div:first-child { grid-template-columns: max-content minmax(0, 1fr); gap: 10px; padding: 26px 0 26px 10px; } .ai-service__hero .ai-service__facts dt { font-size: clamp(3rem, 16vw, 4.5rem); } .ai-service__hero .ai-service__facts > div:first-child dt { font-size: clamp(5.5rem, 27vw, 7.25rem); } .ai-service__hero .ai-service__facts .ai-service__fact--domain dt, .ai-service__hero .ai-service__facts .ai-service__fact--pilot dt { font-size: clamp(calc(3rem - 4px), calc(16vw - 4px), calc(4.5rem - 4px)); } .ai-service__hero .ai-service__facts .ai-service__fact--compact dt { font-size: clamp(1.45rem, 7.6vw, 2.15rem); } .ai-service__hero .ai-service__facts dd { font-size: 13px; } .ai-service__hero .ai-service__facts > div:first-child dd { font-size: clamp(.8rem, 3.8vw, .95rem); } .ai-service__heading { grid-template-columns: 1fr; gap: 20px; } .ai-service__heading--row > .text-link { justify-self: start; } .ai-service__section, .ai-service__start { padding-block: 66px; } .ai-service__start-cta .button { width: 100%; } .ai-service__budget { margin-top: 58px; } .ai-service__task { min-height: 0; padding: 28px 24px; } .ai-service__technology-grid { grid-template-columns: 1fr; } .ai-service__technology, .ai-service__technology:nth-child(3), .ai-service__technology:nth-child(4) { grid-column: auto; min-height: 235px; padding: 28px 24px; } .ai-service__formats { grid-template-columns: 1fr; } .ai-service__format + .ai-service__format { border-top: 1px solid var(--color-border); border-left: 0; } .ai-service__projects-section .product-showcase__content h3 { font-size: clamp(1.9rem, 9.5vw, 2.8rem); } .ai-service__form-wrap { padding: 28px 22px; } }

@media (max-width: 767px) {
	.service-task { display: block; padding: 0; }
	.service-task summary { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 0; cursor: pointer; touch-action: manipulation; }
	.service-task summary > span { display: block; width: 10px; height: 10px; flex: 0 0 10px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; color: var(--color-text-muted); transform: rotate(45deg) translateY(-3px); transition: color 180ms ease, transform 200ms var(--ease-out); }
	.service-task[open] summary h3 { color: var(--color-accent); }
	.service-task[open] summary > span { color: var(--color-accent); transform: rotate(225deg) translate(-2px, -2px); }
	.service-task:not([open]) > div { display: none !important; }
	.service-task[open] > div { display: block !important; padding: 0 0 24px; }
	.service-task p { font-size: 15px; }
	.service-contour {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-auto-rows: minmax(248px, auto);
	}
	.service-contour__item,
	.service-contour__item--primary,
	.service-contour__item--visual,
	.service-contour__item:nth-child(3),
	.service-contour__item:nth-child(4) {
		grid-column: span 1;
		grid-row: auto;
		min-height: 248px;
	}
	.service-technology__face { padding: 18px 16px; }
	.service-technology__face h3 { font-size: clamp(1.12rem, 5.4vw, 1.42rem); }
	.service-technology__tags { gap: 6px; margin-top: 20px; }
	.service-technology__tags li { padding: 7px 8px; font-size: 10px; }
	.service-technology__face--back p { max-width: 24ch; font-size: clamp(10px, 2.9vw, 11px); line-height: 1.38; }
	.service-contour__item:nth-child(2) .service-technology__face--back p,
	.service-contour__item:nth-child(3) .service-technology__face--back p,
	.service-contour__item:nth-child(4) .service-technology__face--back p { font-size: clamp(10px, 2.9vw, 11px); }
}

@media (hover: none), (pointer: coarse) {
	.service-technology.is-flipped .service-technology__card { transform: rotateY(180deg); }
	.service-technology.is-flipped .service-technology__face--back p { opacity: 1; transform: translate3d(0, 0, 0); transition-delay: 250ms; }
}

@media (prefers-reduced-motion: reduce) and (max-width: 767px) {
	.service-technology.is-flipped .service-technology__face--front { opacity: 0; }
	.service-technology.is-flipped .service-technology__face--back { opacity: 1; }
}
