/* Services page builds on the shared Home typography and site chrome. */
.services-page {
  --services-ink: #14213d;
  --services-muted: #586782;
  --services-blue: #4568ec;
  --services-deep: #0b1734;
  --services-line: #dfe7f2;
  overflow: clip;
}
.services-page .section-inner { padding-block: clamp(72px, 8vw, 112px); }
.services-page .services-kicker,
.services-page .services-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: #4867dc;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.services-page .services-kicker::before,
.services-page .services-eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; }
.services-page .services-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 21px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.services-page .services-button:hover { transform: translateY(-2px); }
.services-page .services-button-primary { color: #fff; background: var(--services-blue); box-shadow: 0 12px 25px rgba(69, 104, 236, .22); }
.services-page .services-button-primary:hover { color: #fff; background: #3653d4; }
.services-page .services-button-secondary { color: #eef3ff; background: rgba(255, 255, 255, .08); border-color: rgba(226, 234, 255, .32); }
.services-page .services-button-secondary:hover { color: #fff; background: rgba(255, 255, 255, .15); }
.services-page .services-section-heading { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: end; gap: clamp(26px, 5vw, 70px); margin-bottom: 39px; }
.services-page .services-section-heading h2 { margin-bottom: 0; }
.services-page .services-section-heading > p { margin: 0 0 3px; color: var(--services-muted); font-size: 16px; line-height: 1.85; }

/* Hero: message and a clear roadmap preview. */
.services-page .services-hero {
  position: relative;
  isolation: isolate;
  color: #fff;
  background: radial-gradient(ellipse at 86% 13%, #283e88 0%, transparent 39%),
              radial-gradient(ellipse at 5% 89%, #163472 0%, transparent 42%),
              var(--services-deep);
}
.services-page .services-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .23;
  background-image: linear-gradient(rgba(215, 225, 255, .09) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(215, 225, 255, .09) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(90deg, transparent, #000);
}
.services-page .services-hero .section-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(44px, 6vw, 82px);
  padding-block: clamp(84px, 10vw, 137px);
}
.services-page .services-hero-copy,
.services-page .services-hero-visual { min-width: 0; }
.services-page .services-hero .services-eyebrow { color: #adbeff; }
.services-page .services-hero h1 { max-width: 690px; margin-bottom: 24px; color: #fff; }
.services-page .services-hero-lead { max-width: 620px; margin-bottom: 27px; color: #c7d3ec; font-size: 17px; line-height: 1.85; }
.services-page .services-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.services-page .services-hero-note { max-width: 580px; margin: 20px 0 0; color: #afbfde; font-size: 14px; line-height: 1.8; }
.services-page .services-hero-note strong { color: #fff; }
.services-page .services-hero-visual { position: relative; }
.services-page .services-hero-visual::before { content: ""; position: absolute; z-index: -1; inset: 9% -7%; border-radius: 50%; background: #7590ff; filter: blur(80px); opacity: .27; }
.services-page .services-stack-card { overflow: hidden; border: 1px solid rgba(228, 235, 255, .56); border-radius: 20px; background: #fff; box-shadow: 0 30px 76px rgba(2, 9, 36, .28), 0 0 0 8px rgba(255, 255, 255, .045); }
.services-page .services-stack-topline { display: flex; align-items: center; gap: 10px; min-height: 51px; padding: 10px 19px; border-bottom: 1px solid #e7ecf4; color: #697994; font-size: 12px; font-weight: 700; }
.services-page .services-live-dot { width: 9px; height: 9px; border-radius: 50%; background: #5bcea4; box-shadow: 0 0 0 4px #e2f8f0; }
.services-page .services-stack-status { margin-left: auto; padding: 5px 9px; border-radius: 100px; color: #3e61c5; background: #ecf1ff; font-size: 12px; font-weight: 800; }
.services-page .services-stack-heading { display: grid; grid-template-columns: 46px 1fr; gap: 17px; align-items: start; padding: clamp(23px, 3vw, 34px) clamp(23px, 3vw, 34px) 15px; }
.services-page .services-stack-orbit { display: block; width: 44px; height: 44px; border: 10px solid #dfe8ff; border-radius: 50%; background: #6684ed; box-shadow: 0 0 0 4px #f2f5ff; }
.services-page .services-stack-kicker { margin: 0 0 6px; color: #4b6ad8; font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.services-page .services-stack-heading h2 { margin: 0; color: #1d3158; font-size: 1.2rem; line-height: 1.35; font-weight: 750; }
.services-page .services-stack-flow { display: flex; align-items: center; gap: 7px; padding: 15px clamp(23px, 3vw, 34px) 25px; }
.services-page .services-stack-flow span { display: flex; align-items: center; gap: 5px; color: #596c89; font-size: 12px; font-weight: 700; white-space: nowrap; }
.services-page .services-stack-flow b { color: #4868d6; font-size: 12px; }
.services-page .services-stack-flow i { flex: 1; height: 1px; background: #d4def1; }
.services-page .services-stack-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 0 clamp(23px, 3vw, 34px) clamp(23px, 3vw, 34px); }
.services-page .services-stack-grid > div { display: grid; gap: 3px; min-width: 0; padding: 16px; border: 1px solid #e0e7f3; border-radius: 11px; background: #f8faff; }
.services-page .services-stack-grid strong { color: #24395f; font-size: 14px; }
.services-page .services-stack-grid span { color: #71819a; font-size: 12px; line-height: 1.5; }

/* Compact proof strip separates the hero from the service catalogue. */
.services-page .services-proof-strip { background: #edf2fc; border-bottom: 1px solid #e0e7f4; }
.services-page .services-proof-strip .section-inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-block: 22px; }
.services-page .services-proof-strip .section-inner > div { display: flex; align-items: center; justify-content: center; gap: 11px; padding: 8px 14px; }
.services-page .services-proof-strip .section-inner > div + div { border-left: 1px solid #d5e0f1; }
.services-page .services-proof-strip strong { color: #5c76db; font-size: 12px; font-weight: 800; }
.services-page .services-proof-strip span { color: #2e456f; font-size: 13px; font-weight: 800; line-height: 1.4; }

/* An asymmetrical bento layout gives every service room to breathe. */
.services-page .services-offerings { background: #f8fafd; }
.services-page .services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.services-page .service-card { display: flex; flex-direction: column; min-width: 0; padding: clamp(25px, 3vw, 35px); border: 1px solid #dfe6f1; border-radius: 17px; background: #fff; box-shadow: 0 12px 32px rgba(23, 42, 89, .04); transition: transform .2s ease, box-shadow .2s ease; }
.services-page .service-card:hover { transform: translateY(-3px); box-shadow: 0 19px 43px rgba(23, 42, 89, .09); }
.services-page .service-card:nth-child(1),
.services-page .service-card:nth-child(4),
.services-page .service-card:nth-child(5) { grid-column: span 2; }
.services-page .service-card-mint { background: radial-gradient(circle at 100% 0, #e5faf5, transparent 43%), #fff; }
.services-page .service-card-blue { background: #f1f5ff; }
.services-page .service-card-sand { background: #fcf9f1; }
.services-page .service-card-lavender { background: radial-gradient(circle at 100% 0, #eeebff, transparent 43%), #fff; }
.services-page .service-card-sky { background: radial-gradient(circle at 100% 0, #e8f5ff, transparent 43%), #fff; }
.services-page .service-card-peach { background: #fff7f1; }
.services-page .service-card-number { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin-bottom: 23px; border: 1px solid #d8e2fa; border-radius: 9px; color: #4567d6; background: #edf2ff; font-size: 12px; font-weight: 800; }
.services-page .service-card h3 { margin: 0 0 11px; color: #1a2d52; }
.services-page .service-card p { max-width: 620px; margin: 0 0 17px; color: #5b6d87; font-size: 15px; line-height: 1.8; }
.services-page .service-card ul { display: grid; gap: 8px; margin: 0 0 23px; padding: 0; list-style: none; }
.services-page .service-card li { position: relative; padding-left: 25px; color: #465b79; font-size: 15px; line-height: 1.65; }
.services-page .service-card li::before { content: "✓"; position: absolute; left: 0; color: #5978df; font-weight: 800; }
.services-page .service-card a { margin-top: auto; color: #3455c7; font-size: 14px; font-weight: 800; text-decoration: none; }
.services-page .service-card a:hover { color: #223eab; }

/* Three open columns keep the service principles distinct from the cards. */
.services-page .services-difference { background: #fff; }
.services-page .services-heading-centered { display: block; max-width: 800px; margin: 0 auto 48px; text-align: center; }
.services-page .services-heading-centered h2 { max-width: none; }
.services-page .services-heading-centered > p { margin: 18px auto 0; }
.services-page .services-difference-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(25px, 4vw, 55px); }
.services-page .services-difference-grid article { padding-top: 25px; border-top: 2px solid #dce5f4; }
.services-page .services-difference-icon { display: grid; place-items: center; width: 39px; height: 39px; margin-bottom: 20px; border-radius: 10px; color: #4f6dd9; background: #edf1ff; font-size: 14px; font-weight: 800; }
.services-page .services-difference-grid h3 { margin-bottom: 10px; }
.services-page .services-difference-grid p { margin: 0; color: #5f6f88; font-size: 15px; line-height: 1.8; }

/* Search and AI discovery use a split, dark feature band. */
.services-page .services-search { color: #fff; background: radial-gradient(ellipse at 100% 0, #27428e, transparent 43%), #101f40; }
.services-page .services-search .section-inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(44px, 7vw, 98px); }
.services-page .services-search .services-kicker { color: #b7c8ff; }
.services-page .services-search h2 { margin-bottom: 22px; color: #fff; }
.services-page .services-search-copy > p:not(.services-kicker) { color: #c0cee6; font-size: 16px; line-height: 1.85; }
.services-page .services-search-copy strong { color: #fff; }
.services-page .services-search-note { margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(213, 226, 255, .22); }
.services-page .services-search-checklist { display: grid; gap: 10px; }
.services-page .services-search-checklist > div { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; align-items: start; padding: 19px 22px; border: 1px solid rgba(220, 230, 255, .19); border-radius: 12px; background: rgba(255, 255, 255, .07); }
.services-page .services-search-checklist > div > span { color: #a7bbff; font-size: 12px; font-weight: 800; }
.services-page .services-search-checklist p { display: grid; gap: 3px; margin: 0; }
.services-page .services-search-checklist strong { color: #f2f5ff; font-size: 15px; }
.services-page .services-search-checklist small { color: #b4c3df; font-size: 13px; line-height: 1.65; }

/* The process is a connected horizontal stepper. */
.services-page .services-process { background: #fff; }
.services-page .services-process-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 21px; margin: 0; padding: 0; list-style: none; }
.services-page .services-process-list li { position: relative; padding: 26px 0 0; border-top: 2px solid #dce5f3; }
.services-page .services-process-list li::before { content: ""; position: absolute; top: -6px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: #6e8bf0; box-shadow: 0 0 0 5px #edf1ff; }
.services-page .services-process-list li > span { display: block; margin-bottom: 19px; color: #5573dc; font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.services-page .services-process-list h3 { margin-bottom: 9px; }
.services-page .services-process-list p { margin: 0; color: #5d6f89; font-size: 15px; line-height: 1.8; }

/* Fit is a simple heading with a flexible set of audience labels. */
.services-page .services-fit { background: linear-gradient(125deg, #eaf0ff, #f7f9fd 70%); }
.services-page .services-fit .section-inner { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: clamp(45px, 7vw, 100px); }
.services-page .services-fit h2 { margin: 0; }
.services-page .services-fit-list { display: flex; flex-wrap: wrap; gap: 11px; }
.services-page .services-fit-list span { display: inline-flex; align-items: center; min-height: 48px; padding: 10px 16px; border: 1px solid #d9e3f7; border-radius: 100px; color: #344b76; background: #fff; box-shadow: 0 7px 18px rgba(24, 45, 94, .045); font-size: 14px; font-weight: 700; line-height: 1.5; }

/* FAQ keeps the questions in a single reading column. */
.services-page .services-faq { background: #fff; }
.services-page .services-faq .section-inner { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); align-items: start; gap: clamp(45px, 7vw, 100px); }
.services-page .services-faq .services-section-heading { position: sticky; top: 115px; margin: 0; text-align: left; }
.services-page .services-faq-list { border-top: 1px solid #dce4f0; }
.services-page .services-faq details { border-bottom: 1px solid #dce4f0; }
.services-page .services-faq summary { display: flex; justify-content: space-between; gap: 20px; padding: 23px 0; color: #1d3157; font-size: 1.2rem; font-weight: 750; line-height: 1.35; cursor: pointer; list-style: none; }
.services-page .services-faq summary::-webkit-details-marker { display: none; }
.services-page .services-faq summary span { flex: none; color: #5b77dc; font-size: 24px; font-weight: 400; line-height: 1; transition: transform .2s ease; }
.services-page .services-faq details[open] summary span { transform: rotate(45deg); }
.services-page .services-faq details p { margin: 0 0 23px; color: #5d6e87; font-size: 15px; line-height: 1.85; }

/* A luminous, full-width finish centers the next step. */
.services-page .services-final-cta { position: relative; overflow: hidden; color: #fff; background: radial-gradient(ellipse at 50% -40%, #758cff 0%, transparent 66%), linear-gradient(125deg, #28439e, #1a2e72); }
.services-page .services-final-cta::before { content: ""; position: absolute; inset: 0; opacity: .11; background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 20px 20px; }
.services-page .services-final-cta .section-inner { position: relative; text-align: center; }
.services-page .services-final-cta h2 { max-width: 840px; margin: 0 auto 20px; color: #fff; }
.services-page .services-final-cta p:not(.services-kicker) { max-width: 680px; margin: 0 auto; color: #dce5ff; font-size: 17px; line-height: 1.85; }
.services-page .services-final-cta .services-kicker { color: #dce5ff; }
.services-page .services-final-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 31px; }
.services-page .services-final-cta .services-button-primary { color: #203b89; background: #fff; box-shadow: 0 14px 30px rgba(8, 19, 57, .2); }
.services-page .services-final-cta .services-button-primary:hover { color: #172e73; background: #edf2ff; }
.services-page .services-button-light { color: #fff; background: rgba(255, 255, 255, .09); border-color: rgba(233, 240, 255, .46); }
.services-page .services-button-light:hover { color: #fff; background: rgba(255, 255, 255, .17); }

.custom-footer .footer-link-group a[aria-current="page"] { color: #fff; font-weight: 800; }

@media (max-width: 1000px) {
  .services-page .services-hero .section-inner,
  .services-page .services-search .section-inner,
  .services-page .services-fit .section-inner,
  .services-page .services-faq .section-inner { grid-template-columns: 1fr; }
  .services-page .services-hero-visual { max-width: 680px; }
  .services-page .services-faq .section-inner { gap: 34px; }
  .services-page .services-faq .services-section-heading { position: static; }
}
@media (max-width: 800px) {
  .services-page .services-section-heading { grid-template-columns: 1fr; gap: 17px; }
  .services-page .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services-page .service-card:nth-child(n) { grid-column: auto; }
  .services-page .services-difference-grid { grid-template-columns: 1fr; }
  .services-page .services-process-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .services-page .section-inner { padding-block: 65px; }
  .services-page .services-proof-strip .section-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: 14px; }
  .services-page .services-proof-strip .section-inner > div:nth-child(3) { border-left: 0; }
  .services-page .services-proof-strip .section-inner > div:nth-child(n + 3) { border-top: 1px solid #d5e0f1; }
  .services-page .services-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .services-page .services-hero .section-inner { gap: 46px; }
  .services-page .services-hero-lead,
  .services-page .services-final-cta p:not(.services-kicker) { font-size: 16px; }
  .services-page .services-hero-actions,
  .services-page .services-final-actions { flex-direction: column; align-items: stretch; }
  .services-page .services-hero-actions .services-button,
  .services-page .services-final-actions .services-button { width: 100%; }
  .services-page .services-stack-flow { gap: 4px; }
  .services-page .services-stack-flow span { font-size: 11px; }
  .services-page .services-stack-flow b { font-size: 11px; }
  .services-page .services-stack-grid { gap: 8px; }
  .services-page .services-stack-grid > div { padding: 12px; }
  .services-page .services-process-list { grid-template-columns: 1fr; }
}
