/* Service presentation within the existing cobalt / paper design. */
html body.obsidian-home .ss-services-guidance {
  margin: 30px 0 0;
  max-width: 76ch;
  color: #526078;
  font-size: 14px;
  line-height: 1.7;
}
html body main :is(.service-anchor, #strategie, #strategy, #proiect-nou, #new-project, #ai, .services-web-scope [id]) {
  scroll-margin-top: 110px;
}
html body main .services-web-scope {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
  padding-top: 28px;
  border-top: 1px solid #cbd5e9;
}
html body main .services-web-scope p {
  color: #526078;
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 22px;
}
html body main .services-focused-note {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  min-width: 0;
}
html body main .services-focused-note h3 {
  color: #09142f;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.2;
  margin: 0 0 16px;
}
html body main .services-ongoing {
  margin-top: 16px;
}
html body main .services-ongoing summary {
  line-height: 1.5;
}
@media (max-width: 700px) {
  html body main .services-web-scope { grid-template-columns: 1fr; gap: 16px; }
}

/* The detailed AI examples belong on Services, alongside the other families. */
html body main :is(.ss-ai-home, .ss-ai-services) {
  color: #09142f;
  scroll-margin-top: 12px;
  padding: clamp(48px, 6vw, 88px) 0;
}
html body main .ss-ai-home {
  background: #faf9f6 !important;
  padding-top: 12px;
}
.ss-ai-shell {
  width: min(1360px, calc(100% - 2 * var(--ss-gutter, 24px)));
  margin-inline: auto;
  min-width: 0;
}
html body main .ss-ai-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
  padding: clamp(28px, 4.5vw, 64px);
  border: 1px solid #c1cef0;
  border-radius: 24px;
  background: linear-gradient(120deg, #eef3ff, #f6f8ff);
}
html body main :is(.ss-ai-home, .ss-ai-services) h2 {
  color: #09142f;
  font-size: clamp(32px, 3.4vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.05em;
  font-weight: 680;
  max-width: 19ch;
  margin: 14px 0 24px;
  text-wrap: balance;
}
html body main :is(.ss-ai-home, .ss-ai-services) h3 {
  color: #09142f;
  font-size: 23px;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin: 0 0 12px;
}
html body main :is(.ss-ai-home, .ss-ai-services) p {
  color: #526078;
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 16px;
  max-width: 68ch;
}
html body main :is(.ss-ai-home, .ss-ai-services) .ss-ai-eyebrow {
  color: #1644cd;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.14em;
  font-weight: 700;
  text-transform: uppercase;
}
html body main :is(.ss-ai-home, .ss-ai-services) .ss-ai-small {
  font-size: 13px;
  margin: 20px 0 0;
}
.ss-ai-actions {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 16px;
  margin-top: 26px;
}
html body main .ss-ai-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 100%;
  min-height: 54px;
  padding: 16px 22px;
  border: 1px solid #1649ef;
  border-radius: 9px;
  color: #fff;
  background: #1649ef;
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.5;
  transition:
    background-color 0.2s,
    box-shadow 0.2s;
}
html body main .ss-ai-button:hover {
  color: #fff;
  background: #103abd;
  box-shadow: 0 6px 18px #1649ef26;
}
html body main .ss-ai-text-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: #1644cd;
  text-decoration: underline;
  text-underline-offset: 5px;
  font-size: 14px;
  font-weight: 600;
  min-height: 44px;
}
html body main :is(.ss-ai-button, .ss-ai-text-link):focus-visible {
  outline: 3px solid #1649ef;
  outline-offset: 5px;
}
.ss-ai-flow {
  padding: 28px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 40px #1a397810;
}
.ss-ai-flow ol {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
}
.ss-ai-flow li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 16px;
  position: relative;
  padding-bottom: 30px;
}
.ss-ai-flow li:last-child {
  padding-bottom: 0;
}
.ss-ai-flow li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 42px;
  bottom: 6px;
  width: 1px;
  background: #c1cef0;
}
.ss-ai-number {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #b9c9f0;
  color: #1644cd;
  background: #eef3ff;
  font-size: 11px;
  font-weight: 700;
}
html body main .ss-ai-flow h3 {
  font-size: 18px;
  margin: 5px 0 7px;
}
html body main .ss-ai-flow li p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}
html body main .ss-ai-services {
  background: #eef3ff;
  border-block: 1px solid #cbd5e9;
}
.ss-ai-service-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: end;
  margin-bottom: 46px;
}
html body main .ss-ai-service-head h2 {
  margin-bottom: 0;
}
html body main .ss-ai-service-head > p {
  margin-bottom: 0;
}
html body main .ss-ai-example-label {
  margin-bottom: 20px;
}
.ss-ai-examples {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-block: 1px solid #bdcbea;
}
.ss-ai-examples article {
  padding: 30px;
  min-width: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}
.ss-ai-examples article:first-child {
  padding-left: 0;
}
.ss-ai-examples article:last-child {
  padding-right: 0;
}
.ss-ai-examples article + article {
  border-left: 1px solid #bdcbea;
}
html body main .ss-ai-examples article p:last-child {
  margin: 0;
}
.ss-ai-delivery {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.7fr);
  gap: 32px;
  padding-block: 32px;
}
html body main .ss-ai-delivery h3 {
  font-size: 20px;
}
html body main .ss-ai-delivery p {
  margin: 0;
}
.ss-ai-project {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  padding: clamp(24px, 3vw, 40px);
  border-radius: 16px;
  background: #fff;
  border: 1px solid #cbd5e9;
}
html body main .ss-ai-project p {
  font-size: 14px;
  margin-bottom: 0;
}
.ss-ai-project .ss-ai-button {
  margin-top: 18px;
}
/* Optional AI integration is distinct from the website package inclusions. */
html
  body[data-page-family]
  main.ss-services
  .services-mode-grid
  article
  .service-ai-option {
  grid-column: 1 / -1;
  margin: 0 0 22px;
  padding: 18px;
  border: 1px solid #c1cef0;
  border-radius: 10px;
  background: #eef3ff;
}
html
  body[data-page-family]
  main.ss-services
  .services-mode-grid
  article
  .service-ai-option__label {
  display: block;
  color: #1644cd;
  font-size: 10px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
html
  body[data-page-family]
  main.ss-services
  .services-mode-grid
  article
  .service-ai-option
  strong {
  display: block;
  color: #09142f !important;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
html
  body[data-page-family]
  main.ss-services
  .services-mode-grid
  article
  .service-ai-option
  p {
  color: #526078 !important;
  font-size: 14px;
  line-height: 1.6;
  margin: 10px 0 4px;
}
html
  body[data-page-family]
  main.ss-services
  .services-mode-grid
  article
  .service-ai-option
  a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  color: #1644cd !important;
  font-size: 14px;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 4px;
}
html
  body[data-page-family]
  main.ss-services
  .services-mode-grid
  article
  .service-ai-option
  a:focus-visible {
  outline: 3px solid #1649ef;
  outline-offset: 3px;
}
html
  body[data-page-family]:not(.obsidian-home)
  main.ss-services
  .ss-services-chooser.ss-services-chooser--ai {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 1000px) {
  html body main .ss-ai-feature {
    grid-template-columns: minmax(0, 1fr);
  }
  .ss-ai-flow {
    max-width: 640px;
    width: 100%;
  }
  html
    body[data-page-family]:not(.obsidian-home)
    main.ss-services
    .ss-services-chooser.ss-services-chooser--ai {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  html
    body[data-page-family]:not(.obsidian-home)
    main.ss-services
    .ss-services-chooser.ss-services-chooser--ai
    a:nth-child(n + 3) {
    border-top: 1px solid #ffffff44;
  }
}
@media (max-width: 700px) {
  .ss-ai-shell {
    width: calc(100% - 40px);
  }
  html body main .ss-ai-feature {
    padding: 26px 22px;
    border-radius: 18px;
    gap: 28px;
  }
  .ss-ai-flow {
    padding: 22px 18px;
  }
  .ss-ai-service-head,
  .ss-ai-examples,
  .ss-ai-delivery,
  .ss-ai-project {
    grid-template-columns: minmax(0, 1fr);
  }
  .ss-ai-service-head {
    gap: 22px;
    margin-bottom: 30px;
  }
  .ss-ai-examples article,
  .ss-ai-examples article:first-child,
  .ss-ai-examples article:last-child {
    padding: 26px 0;
  }
  .ss-ai-examples article + article {
    border-left: 0;
    border-top: 1px solid #bdcbea;
  }
  .ss-ai-delivery {
    gap: 10px;
  }
  .ss-ai-project {
    gap: 22px;
  }
  html body main .ss-ai-button {
    gap: 18px;
    padding: 14px 18px;
  }
  html
    body[data-page-family]:not(.obsidian-home)
    main.ss-services
    .ss-services-chooser.ss-services-chooser--ai {
    grid-template-columns: minmax(0, 1fr);
  }
}
