/* Services-only styling. Spacing, title sizes, buttons, cards, process and FAQ toggles
   come from the shared tokens/components in style.css. */
.services-inner { padding-inline: var(--inner); }

/* Hero */
.services-hero { height: 613px; color: white; background: linear-gradient(90deg, #002333 1%, rgb(0 31 47 / 95%) 28%, rgb(0 31 47 / 45%) 52%, transparent 80%), url('../images/about/about-quality-team.webp') right center / auto 100% no-repeat; background-color: var(--navy-dark); }
.services-hero-inner { position: relative; height: 100%; padding-top: 54px; }
.services-breadcrumb { display: flex; gap: 9px; color: #bce8ee; font-size: 16px; margin-bottom: 33px; }
.services-hero .eyebrow { color: #83e5ed; font-size: 18px; margin-bottom: 14px; }
.services-hero h1 { font-size: 57px; line-height: 1.02; font-weight: 750; letter-spacing: -.035em; }
.services-hero-copy > p:last-of-type { color: #e7eff3; font-size: 20px; line-height: 1.48; max-width: 585px; margin-top: 24px; }
.services-hero .hero-actions { gap: 25px; margin-top: 26px; }
.services-hero .button { font-size: 17px; padding-inline: 30px; }
.services-hero .button-outline { gap: 21px; }
.services-hero .button-outline .icon { color: var(--cyan); }
.services-hero-statement { position: absolute; right: var(--inner); bottom: 36px; padding: 20px 25px; border: 1px solid #057c92; border-radius: 10px; color: white; background: rgb(0 23 36 / 80%); text-transform: uppercase; letter-spacing: .12em; font-size: 19px; line-height: 1.7; }
.services-hero-statement::before { content: ''; position: absolute; width: 38px; height: 2px; top: -1px; left: 23px; background: var(--teal); }

/* Eight cards: reuse Home card elements and its responsive grid.
   Icon tab and text share one left edge (23px). */
.services-catalog { padding-block: var(--space-section); background: var(--surface); }
.services-catalog-grid { margin-top: 32px; gap: 28px; }
.services-catalog .service-content { padding: 54px 23px 25px; }
.services-catalog .service-icon { left: 23px; padding: 12px; top: -34px; box-shadow: 0 5px 12px rgb(7 47 68 / 5%); border-radius: 7px; }
.services-catalog .service-content h3 { font-size: 19.5px; letter-spacing: -.04em; white-space: normal; line-height: 1.2; }
.services-catalog .service-content p { font-size: 17px; line-height: 1.4; margin: 13px 0 20px; }

/* Dark automotive feature */
.services-feature { display: grid; grid-template-columns: 57.5% 42.5%; min-height: 439px; background: var(--navy-dark); color: white; }
.services-feature-photo { --defer-bg: url('../images/home/home-automotive-sector.webp'); position: relative; background: linear-gradient(0deg, rgb(0 24 38 / 85%), transparent 85%), var(--bg-img, none) center 48% / cover; border-right: 1px solid #075567; }
.services-feature-photo > p { position: absolute; left: max(88px, calc((var(--vw) - 1264px) / 2)); bottom: 36px; color: white; font-size: 27px; line-height: 1.4; text-transform: uppercase; letter-spacing: .12em; }
.services-feature-photo > p::before, .services-feature-photo > p::after { content: ''; display: block; height: 2px; width: 65px; background: var(--teal); margin-block: 24px; }
.services-feature-photo > p::after { margin-bottom: 0; }
.services-feature-photo strong { font-weight: 650; }
.services-advantages { padding: var(--space-section) 50px var(--space-section) 75px; display: grid; align-content: center; gap: 28px; }
.services-advantages > div { display: flex; gap: 42px; align-items: center; }
.services-advantages .icon { width: 58px; height: 58px; color: var(--cyan); stroke-width: 2.2; }
.services-advantages h2 { font-size: 22px; line-height: 1.2; letter-spacing: -.015em; margin-bottom: 6px; }
.services-advantages p { font-size: 18px; color: #d3e2e9; }

/* Process (.method/.steps) and shared road CTA */
.services-process { background: var(--surface); }
.services-cta { border-top: 0; }

.services-page .footer-column a[aria-current] { color: var(--cyan); text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 1350px) and (min-width: 1101px) {
  .services-catalog .service-content { padding-inline: 22px; }
  .services-catalog .service-icon { left: 22px; }
  .services-catalog .service-content h3 { font-size: 18px; }
  .services-catalog .service-content p { font-size: 15px; }
  .services-advantages { padding-inline: 42px 25px; }
  .services-advantages > div { gap: 27px; }
  .services-advantages h2 { font-size: 20px; }
  .services-advantages p { font-size: 16px; }
}
@media (max-width: 1100px) {
  .services-hero h1 { font-size: 51px; }
  .services-hero-copy > p:last-of-type { font-size: 18px; max-width: 530px; }
  .services-hero .button { padding-inline: 22px; font-size: 15px; gap: 15px; }
  .services-hero-statement { font-size: 15px; padding: 17px 20px; }
  .services-catalog .service-photo { height: auto; aspect-ratio: 2 / 1; }
  .services-catalog .service-content h3 { font-size: 23px; }
  .services-catalog .service-content p { font-size: 17px; }
  .services-catalog .service-content p br { display: none; }
  .services-feature { grid-template-columns: 1fr 1fr; }
  .services-feature-photo > p { left: 35px; font-size: 23px; }
  .services-advantages { padding-inline: 24px; gap: 27px; }
  .services-advantages > div { gap: 20px; }
  .services-advantages .icon { width: 46px; height: 46px; }
  .services-advantages h2 { font-size: 19px; }
  .services-advantages p { font-size: 15px; }
  .services-cta p br { display: none; }
}
@media (max-width: 640px) {
  .services-hero { height: auto; min-height: 665px; background-image: linear-gradient(90deg, rgb(0 27 43 / 96%), rgb(0 27 43 / 60%)), url('../images/about/about-quality-team.webp'); background-position: 63% center; background-size: cover; }
  .services-hero-inner { padding-top: 28px; padding-bottom: 174px; }
  .services-breadcrumb { font-size: 13px; margin-bottom: 29px; }
  .services-hero .eyebrow { font-size: 13px; }
  .services-hero h1 { font-size: clamp(31px, 8.2vw, 46px); line-height: 1.1; }
  .services-hero-copy > p:last-of-type { font-size: 16px; line-height: 1.55; margin-top: 22px; }
  .services-hero .hero-actions { gap: 13px; margin-top: 25px; }
  .services-hero .button { font-size: 13px; min-height: 49px; padding-inline: 19px; }
  .services-hero-statement { font-size: 12px; bottom: 24px; padding: 15px 20px; }
  .services-catalog .section-heading br { display: none; }
  .services-catalog-grid { margin-top: 28px; gap: 23px; }
  .services-catalog .service-content { padding: 47px 25px 25px; }
  .services-catalog .service-icon { left: 25px; }
  .services-catalog .service-content h3 { font-size: 22px; }
  .services-catalog .service-content p { font-size: 16px; }
  .services-feature { grid-template-columns: 1fr; }
  .services-feature-photo { min-height: 340px; border-right: 0; }
  .services-feature-photo > p { left: 30px; bottom: 28px; font-size: 24px; }
  .services-advantages { padding-inline: var(--edge); gap: 29px; }
  .services-advantages > div { gap: 23px; }
  .services-advantages h2 { font-size: 20px; }
  .services-advantages p { font-size: 15px; }
  .services-process .section-heading br { display: none; }
}
