/* The services page extends the home page's blue, typography and motion. */
.services-page .services-catalog { position: relative; isolation: isolate; overflow: hidden; padding: 78px 0 84px; background: linear-gradient(180deg,#f7fafc,#eef5f9 60%,#f8fafb); color: #123047; }
.services-catalog *, .services-catalog *::before, .services-catalog *::after { box-sizing: border-box; }
.services-catalog::before { content: ""; position: absolute; z-index: -1; width: 650px; height: 650px; border: 1px solid #b4dce970; border-radius: 50%; right: -390px; top: -380px; box-shadow: 0 0 0 70px #d9edf438,0 0 0 140px #d9edf426; pointer-events: none; }
.services-container { width: min(1180px,calc(100% - 64px)); margin: 0 auto; }
.services-intro { text-align: center; max-width: 750px; margin: 0 auto 30px; }
.services-page .services-intro h1 { font-family: var(--e-global-typography-primary-font-family,"Roboto"),sans-serif; font-size: clamp(36px,3.4vw,48px); font-weight: 900; line-height: 1.2; letter-spacing: -.025em; color: #123047; margin: 0 0 20px; }
.services-page .services-intro p { font-size: 17px; color: #627b8f; line-height: 1.8; margin: 0; }
.service-jumps { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 0 auto 48px; }
.services-page .service-jumps a { display: inline-flex; align-items: center; min-height: 43px; border: 1px solid #d4e5ef; border-radius: 30px; padding: 10px 17px; color: #33596f; background: #ffffffc9; text-decoration: none; font-size: 14px; font-weight: 600; transition: color .2s,background .2s,border-color .2s; }
.services-page .service-jumps a:hover { background: #227fa9; border-color: #227fa9; color: #fff; }
.services-list { display: grid; gap: 30px; }
.services-page .service-feature { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 50px; padding: 40px 48px; min-width: 0; border: 1px solid #e0ebf1; border-radius: 26px; background: #fff; box-shadow: 0 14px 40px #12304705; scroll-margin-top: 28px; position: relative; }
.services-page .service-feature:nth-child(even) { grid-template-columns: 1.05fr .95fr; }
.service-feature:nth-child(even) .service-visual { order: 2; }
.service-feature:nth-child(even) .service-copy { order: 1; }
.services-page .service-visual { display: grid; place-items: center; position: relative; min-width: 0; margin: 0; min-height: 250px; padding: 20px 0; }
.service-visual::before { content: ""; position: absolute; inset: 2% 8%; border-radius: 50%; background: radial-gradient(ellipse,#e4f3fb80,transparent 70%); }
.services-page .service-visual img { position: relative; display: block; width: 100%; max-width: 380px; height: 270px; object-fit: contain; mix-blend-mode: multiply; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.service-copy { min-width: 0; }
.services-page .service-number { display: inline-flex; align-items: center; gap: 13px; color: #7596ab; font-size: 12px; font-weight: 600; letter-spacing: .15em; margin: 0 0 13px; }
.service-number::after { content: ""; display: block; width: 56px; height: 3px; border-radius: 3px; background: linear-gradient(90deg,#17678c,#49a7cd,transparent); }
.services-page .service-copy h2 { color: #123047; font-family: var(--e-global-typography-primary-font-family,"Roboto"),sans-serif; font-size: clamp(27px,2.4vw,34px); line-height: 1.2; font-weight: 800; letter-spacing: -.025em; margin: 0 0 17px; }
.services-page .service-copy > p:not(.service-number) { font-size: 16px; line-height: 1.8; color: #607a8d; margin: 0 0 20px; }
.services-page .service-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 25px; }
.services-page .service-tags li { margin: 0; padding: 6px 10px; border: 1px solid #e2edf3; border-radius: 6px; color: #50758a; background: #f6fafc; font-size: 13px; line-height: 1.4; }
.services-page .service-contact { display: inline-flex; justify-content: center; align-items: center; gap: 25px; padding: 13px 19px; min-height: 48px; border: 1px solid #227fa9; border-radius: 10px; color: #fff; background: linear-gradient(115deg,#1b6c93,#227fa9); font-size: 14px; font-weight: 600; text-decoration: none; box-shadow: 0 7px 17px #227fa919; transition: background .25s,transform .25s,box-shadow .25s; }
.service-contact svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.services-page .service-contact:hover { color: #fff; background: #155779; transform: translateY(-2px); box-shadow: 0 10px 23px #227fa92b; }
.service-contact:hover svg { transform: translateX(3px); }
.service-jumps a:focus-visible,.service-contact:focus-visible,.service-models a:focus-visible { outline: 3px solid #54afd5; outline-offset: 4px; }
.services-page .service-models { display: flex; flex-wrap: wrap; gap: 8px 17px; padding-top: 20px; margin-top: 20px; border-top: 1px solid #e4edf3; }
.services-page .service-models a { font-size: 13px; font-weight: 600; color: #227fa9; text-decoration: underline; text-underline-offset: 4px; }
.services-page .contact-studio { margin-top: 75px; }
@media (hover:hover) and (prefers-reduced-motion:no-preference) { .service-feature:hover .service-visual img { transform: translateY(-5px); } }
@media(max-width:1000px) { .services-page .service-feature { gap: 30px; padding: 32px; } .services-page .service-visual img { height: 240px; } .service-jumps { gap: 8px; } }
@media(max-width:760px) {
  .services-page .services-catalog { padding: 55px 0; }
  .services-container { width: min(570px,calc(100% - 36px)); }
  .services-page .services-intro p { font-size: 16px; }
  .service-jumps { margin-bottom: 30px; gap: 8px; }
  .services-page .service-jumps a { font-size: 13px; padding: 9px 13px; }
  .services-page .service-feature,.services-page .service-feature:nth-child(even) { grid-template-columns: 1fr; gap: 18px; padding: 24px; border-radius: 21px; }
  .service-feature:nth-child(even) .service-visual,.service-feature:nth-child(even) .service-copy { order: initial; }
  .services-page .service-visual { min-height: 0; padding: 0; }
  .services-page .service-visual img { height: 200px; max-width: 320px; }
  .services-page .service-copy h2 { font-size: 29px; }
  .services-page .service-contact { width: 100%; }
  .services-page .contact-studio { margin-top: 45px; }
}
@media(prefers-reduced-motion:reduce) { .services-catalog * { animation: none!important; transition: none!important; transform: none!important; } }

/* A coordinated motion layer: entrance, ambient illustration and interaction. */
@media (prefers-reduced-motion:no-preference) {
  .services-motion-enabled .service-motion-piece {
    opacity: 0;
    translate: 0 22px;
    transition: opacity .7s ease, translate .85s cubic-bezier(.16,1,.3,1);
    transition-delay: var(--piece-delay,0ms);
  }
  .services-motion-enabled .service-feature .service-visual { translate: -34px 12px; }
  .services-motion-enabled .service-feature:nth-child(even) .service-visual { translate: 34px 12px; }
  .services-motion-enabled .service-entered .service-motion-piece,
  .services-motion-enabled :focus-within > .service-motion-piece,
  .services-motion-enabled .service-feature:focus-within .service-motion-piece {
    opacity: 1; translate: 0 0;
  }
  .services-page .service-feature {
    transition: box-shadow .4s ease, border-color .4s ease, opacity .75s ease, translate .75s ease;
    isolation: isolate;
  }
  .services-page .service-feature::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit;
    background: radial-gradient(ellipse at 10% 0%,#62b9dc20,transparent 65%);
    opacity: 0; transition: opacity .5s; pointer-events: none; z-index: -1;
  }
  .services-page .service-feature:nth-child(even)::before {
    background: radial-gradient(ellipse at 90% 0%,#62b9dc20,transparent 65%);
  }
  .services-page .service-visual img {
    animation: service-float 6s ease-in-out infinite;
    animation-play-state: paused;
  }
  .services-page .service-feature:nth-child(even) .service-visual img { animation-delay: -2s; }
  .services-page .service-visual::before {
    background: radial-gradient(ellipse,#78c5e544,#c4e9f52b 45%,transparent 72%);
    animation: service-halo 7s ease-in-out infinite;
    animation-play-state: paused;
  }
  .services-page .service-in-view .service-visual img,
  .services-page .service-in-view .service-visual::before { animation-play-state: running; }
  .services-page .service-number::after {
    background: linear-gradient(90deg,#17678c,#68c3e6,#17678c);
    background-size: 200% 100%;
    animation: service-accent 4s ease-in-out infinite; animation-play-state: paused;
  }
  .services-page .service-in-view .service-number::after { animation-play-state: running; }
  .services-page .services-intro h1::before {
    background-size: 200% 100%!important;
    animation: service-accent 4s ease-in-out infinite; animation-play-state: paused;
  }
  .services-page .services-intro.service-in-view h1::before { animation-play-state: running; }
  .services-page .service-jumps a {
    transition: opacity .6s, translate .7s cubic-bezier(.16,1,.3,1), background .25s, color .25s, box-shadow .25s, transform .25s;
    transition-delay: var(--piece-delay,0ms),var(--piece-delay,0ms),0s,0s,0s,0s;
  }
  .services-page .service-contact,
  .services-page .contact-send-actions > * { position: relative; overflow: hidden; isolation: isolate; }
  .services-page .service-contact::after,
  .services-page .contact-send-actions > *::after {
    content: ""; position: absolute; inset: -50% auto -50% -65%; width: 40%;
    background: linear-gradient(90deg,transparent,#ffffff40,transparent);
    transform: skewX(-20deg); pointer-events: none;
  }
  .services-page .service-contact:is(:hover,:focus-visible)::after,
  .services-page .contact-send-actions > :is(:hover,:focus-visible)::after { animation: service-shine .8s ease both; }
  .services-page .contact-fields label { transition: color .25s, opacity .7s, translate .85s cubic-bezier(.16,1,.3,1); }
  .services-page .contact-fields label:focus-within { color: #227fa9; opacity: 1; translate: 0 0; }
  .services-page .contact-fields :is(input,textarea):focus { box-shadow: 0 0 0 5px #227fa91c,0 8px 20px #227fa90c; }
  .services-motion-paused :is(.service-visual img,.service-visual::before,.service-number::after,.services-intro h1::before) { animation-play-state: paused!important; }
}
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  .services-page .service-feature:hover { border-color: #9bcce0; box-shadow: 0 20px 50px #17678c13; }
  .services-page .service-feature:hover::before { opacity: 1; }
  .services-page .service-feature:hover .service-visual img { transform: scale(1.035); }
  .services-page .service-jumps a:hover { transform: translateY(-3px); box-shadow: 0 8px 18px #227fa920; }
}
@keyframes service-float { 0%,100% { translate: 0 0; } 50% { translate: 0 -9px; } }
@keyframes service-halo { 0%,100% { transform: scale(.94); opacity: .6; } 50% { transform: scale(1.12); opacity: 1; } }
@keyframes service-accent { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes service-shine { to { left: 130%; } }
@media (prefers-reduced-motion:reduce) {
  .services-page .service-motion-piece { opacity: 1!important; translate: none!important; }
  .services-page .contact-studio *, .services-page .services-catalog::before,
  .services-page .services-catalog *::before, .services-page .services-catalog *::after { animation: none!important; transition: none!important; }
}
