.services-page { background: #fff; }
.services-page .main-nav .is-active { color: #ed111c; }

.services-hero { position: relative; min-height: 650px; overflow: hidden; border-bottom: 1px solid #e4e5e8; }
.services-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.services-hero__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.98) 31%, rgba(255,255,255,.73) 47%, rgba(255,255,255,0) 68%); }
.services-hero__content { position: relative; z-index: 1; width: min(100% - 120px, 1296px); margin: 0 auto; padding-top: 112px; }
.services-hero__kicker { margin: 0 0 24px; color: #ed111c; font-size: 13px; font-weight: 700; text-transform: uppercase; }
.services-hero h1 { max-width: 650px; margin: 0; color: #111216; font-size: clamp(48px, 4.4vw, 68px); line-height: 1.05; letter-spacing: 0; }
.services-hero__content > p:not(.services-hero__kicker) { max-width: 580px; margin: 30px 0 0; color: #5c6069; font-size: 17px; line-height: 1.65; }
.services-hero__actions { display: flex; align-items: center; gap: 18px; margin-top: 34px; }
.services-hero__actions .button { width: auto; min-width: 210px; }
.services-hero__phone { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px; color: #191a1e; font-weight: 700; text-decoration: none; border: 1px solid #cfd1d5; }
.services-hero__phone svg { width: 19px; color: #ed111c; }

.service-directions { display: grid; gap: 2px; width: min(100%, 1440px); margin: 2px auto; background: #e1e2e5; }
.direction-row { display: grid; grid-template-columns: 52.5% 47.5%; column-gap: 0; height: 340px; overflow: hidden; }
.direction-row__content { display: grid; grid-template-columns: 76px minmax(0, 1fr); grid-template-rows: auto auto; gap: 6px 24px; align-content: center; height: 340px; padding: 28px clamp(38px, 4.4vw, 68px); color: #18191d; text-decoration: none; background: #fff; }
.direction-row__number { grid-column: 2; color: #ed111c; font-size: 18px; font-weight: 700; }
.direction-row__icon { grid-row: 2; display: grid; place-items: center; width: 68px; height: 68px; margin-top: 2px; }
.direction-row__icon img { display: block; width: 68px; height: 68px; object-fit: contain; object-position: center; }
.direction-row__text { grid-column: 2; display: flex; flex-direction: column; align-items: flex-start; }
.direction-row__text strong { font-size: 26px; line-height: 1.15; }
.direction-row__text > span { max-width: 410px; margin-top: 14px; color: #666a73; font-size: 14px; line-height: 1.5; }
.direction-row__text em { display: grid; place-items: center; width: 36px; height: 36px; margin-top: 14px; color: #ed111c; font-style: normal; }
.direction-row__text em svg { width: 28px; height: 28px; }
.direction-row__image { display: block; height: 340px; overflow: hidden; background: #fff; }
.direction-row__image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }
.direction-row--reverse .direction-row__content { grid-column: 2; }
.direction-row--reverse .direction-row__image { grid-column: 1; grid-row: 1; }
.direction-row--reverse { grid-template-columns: 47.5% 52.5%; }
.direction-row__content:hover + .direction-row__image img, .direction-row__image:hover img { transform: scale(1.025); }
.direction-row__content:hover .direction-row__text strong { color: #ed111c; }

.work-process { padding: 68px 0 72px; background: #fff; border-bottom: 1px solid #e3e4e7; }
.work-process__inner, .services-seo__inner, .services-cta__inner { width: min(100% - 120px, 1296px); margin: 0 auto; }
.work-process h2 { margin: 0 0 46px; text-align: center; font-size: 34px; }
.work-process__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.work-process article { position: relative; padding: 0 38px; text-align: center; border-left: 1px solid #e1e2e5; }
.work-process article:first-child { border-left: 0; }
.work-process article > span { display: grid; place-items: center; width: 74px; height: 74px; margin: 0 auto 22px; color: #4f535b; border: 1px solid #dedfe2; border-radius: 50%; }
.work-process article > span svg { width: 34px; height: 34px; }
.work-process h3 { margin: 0; font-size: 18px; }
.work-process p { margin: 14px auto 0; color: #6b6f78; font-size: 14px; line-height: 1.55; }

.services-seo { padding: 72px 0 78px; }
.services-seo h2 { margin: 0 0 30px; font-size: clamp(30px, 3vw, 44px); }
.services-seo__copy { display: grid; grid-template-columns: repeat(3, 1fr); gap: 42px; }
.services-seo p { margin: 0; color: #5e626b; font-size: 15px; line-height: 1.75; }

.services-cta { color: #fff; background: #ed111c; }
.services-cta__inner { display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; align-items: center; gap: 24px; min-height: 132px; }
.services-cta__inner > span { display: grid; place-items: center; width: 58px; height: 58px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; }
.services-cta__inner > span svg { width: 27px; }
.services-cta h2 { margin: 0; color: #fff; font-size: 26px; }
.services-cta p { margin: 7px 0 0; font-size: 14px; }
.services-cta .button { width: auto; min-width: 190px; color: #17181b; background: #fff; box-shadow: none; }

@media (max-width: 1024px) {
  .services-hero__content, .work-process__inner, .services-seo__inner, .services-cta__inner { width: min(100% - 64px, 900px); }
  .services-hero { min-height: 580px; }
  .services-hero__content { padding-top: 86px; }
  .direction-row { height: 290px; }
  .direction-row__content { grid-template-columns: 68px minmax(0,1fr); height: 290px; min-height: 0; gap: 6px 20px; padding: 28px 30px; }
  .direction-row__image { height: 290px; }
  .direction-row__icon { width: 70px; height: 70px; }
  .direction-row__icon img { width: 70px; height: 70px; }
  .direction-row__text strong { font-size: 25px; }
  .work-process article { padding-inline: 22px; }
}

@media (max-width: 768px) {
  .services-hero { min-height: 650px; }
  .services-hero > img { object-position: 64% top; }
  .services-hero__overlay { background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.94) 47%, rgba(255,255,255,.25) 76%, rgba(255,255,255,0) 100%); }
  .services-hero__content { width: min(100% - 36px, 640px); padding-top: 48px; }
  .services-hero h1 { max-width: 570px; font-size: clamp(38px, 7.5vw, 50px); }
  .services-hero__content > p:not(.services-hero__kicker) { max-width: 560px; font-size: 15px; }
  .direction-row, .direction-row--reverse { grid-template-columns: 1fr; }
  .service-directions { gap: 2px; margin-block: 2px; }
  .direction-row, .direction-row--reverse { grid-template-columns: 1fr; column-gap: 0; height: auto; }
  .direction-row__content, .direction-row--reverse .direction-row__content { grid-column: 1; grid-row: 2; min-height: 280px; }
  .direction-row__image, .direction-row--reverse .direction-row__image { grid-column: 1; grid-row: 1; height: 280px; }
  .work-process__inner, .services-seo__inner, .services-cta__inner { width: min(100% - 36px, 680px); }
  .work-process__grid { grid-template-columns: repeat(2, 1fr); gap: 38px 0; }
  .work-process article:nth-child(3) { border-left: 0; }
  .services-seo__copy { grid-template-columns: 1fr; gap: 18px; }
  .services-cta__inner { grid-template-columns: 52px minmax(0,1fr); padding-block: 26px; }
  .services-cta .button { grid-column: 2; }
}

@media (max-width: 520px) {
  .services-hero { min-height: 620px; }
  .services-hero > img { top: 300px; bottom: auto; height: 145%; object-position: 68% top; }
  .services-hero__content { width: calc(100% - 32px); padding-top: 34px; }
  .services-hero__kicker { margin-bottom: 18px; font-size: 11px; }
  .services-hero h1 { font-size: 34px; }
  .services-hero__content > p:not(.services-hero__kicker) { margin-top: 22px; line-height: 1.52; }
  .services-hero__actions { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 24px; }
  .services-hero__actions .button, .services-hero__phone { width: 100%; min-width: 0; justify-content: center; }
  .services-hero__phone { min-height: 56px; border-color: rgba(144,148,154,.72); border-radius: 5px; background: rgba(255,255,255,.92); box-shadow: 0 12px 30px rgba(17,18,22,.08); font-size: 17px; }
  .services-hero__phone svg { width: 21px; height: 21px; }
  .direction-row__image, .direction-row--reverse .direction-row__image { height: 230px; }
  .direction-row__content, .direction-row--reverse .direction-row__content { grid-template-columns: 62px minmax(0,1fr); min-height: 260px; gap: 7px 16px; padding: 26px 18px; }
  .direction-row__icon { width: 60px; height: 60px; }
  .direction-row__icon img { width: 60px; height: 60px; }
  .direction-row__text strong { font-size: 23px; }
  .direction-row__text > span { margin-top: 16px; font-size: 14px; line-height: 1.55; }
  .direction-row__text em { margin-top: 18px; }
  .work-process { padding-block: 50px; }
  .work-process h2 { margin-bottom: 34px; font-size: 29px; }
  .work-process__grid { grid-template-columns: 1fr; gap: 0; }
  .work-process article, .work-process article:nth-child(3) { padding: 25px 10px; border-left: 0; border-top: 1px solid #e1e2e5; }
  .work-process article:first-child { padding-top: 0; border-top: 0; }
  .services-seo { padding-block: 54px; }
  .services-seo h2 { font-size: 29px; }
  .services-cta__inner { grid-template-columns: 46px minmax(0,1fr); gap: 15px; }
  .services-cta__inner > span { width: 46px; height: 46px; }
  .services-cta h2 { font-size: 21px; }
  .services-cta .button { grid-column: 1 / -1; width: 100%; }
}
