@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("assets/fonts/manrope-variable.woff2") format("woff2");
}

:root {
  --brand-blue: #789bc8;
  --brand-blue-dark: #164a91;
  --text: #111318;
  --surface: #ffffff;
  --line: rgba(17, 19, 24, 0.38);
  --content-width: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color: var(--text);
  background: var(--surface);
  font-family: "Manrope", Arial, Helvetica, sans-serif;
  font-size: 100%;
  line-height: 1.5;
  scroll-behavior: smooth;
  container-type: inline-size;
}

body {
  min-width: 320px;
  margin: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible {
  outline: 3px solid #ffd54a;
  outline-offset: 4px;
}

button:focus-visible {
  outline: 3px solid #ffd54a;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.9rem;
  color: #fff;
  background: #111;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
.site-footer {
  background: var(--brand-blue);
}

.site-header {
  padding: 1.4rem clamp(1rem, 4vw, 3rem) 1rem;
}

.header-inner,
.footer-inner,
.service-content {
  width: min(100%, var(--content-width));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand,
.header-contact,
.phone-link,
.footer-brand {
  display: flex;
  align-items: center;
}

.brand {
  max-width: 40rem;
  gap: 1rem;
  text-decoration: none;
}

.brand-symbol {
  width: 4.4rem;
  flex: 0 0 auto;
}

.brand-name {
  width: min(31rem, 100%);
}

.header-contact {
  justify-content: flex-end;
  gap: 2rem;
}

.phone-link {
  gap: 0.55rem;
  font-size: 1.2rem;
  white-space: nowrap;
}

.phone-link img {
  width: 2.5rem;
}

.social-link {
  border-radius: 50%;
}

.social-link img {
  width: 2.25rem;
}

.primary-nav {
  width: min(100%, var(--content-width));
  margin: 1.25rem auto 0;
  padding-block: 0.55rem;
  border-block: 1px solid var(--line);
}

.primary-nav ul,
.footer-nav ul,
.certifications ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.primary-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.2rem 0;
}

.primary-nav li {
  display: flex;
  align-items: center;
}

.primary-nav li + li::before {
  content: "|";
  margin-inline: 0.65rem;
}

.primary-nav a {
  padding-block: 0.3rem;
  text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  text-decoration: underline;
}

.page-main {
  min-height: 22rem;
}

.not-found {
  min-height: 32rem;
}

.not-found > p {
  max-width: 40rem;
  margin: 0 0 1.5rem 5.1rem;
  font-size: 1.15rem;
}

.not-found > .button-link {
  margin-left: 5.1rem;
}

.service-content {
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.25rem, 5vw, 4rem);
}

.section-heading {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.section-heading img {
  width: 4.5rem;
  margin-top: 0.25rem;
  flex: 0 0 auto;
}

.section-heading h1,
.section-heading h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  font-weight: 400;
  line-height: 1.15;
}

.service-list {
  max-width: 62rem;
  margin: 0 0 0 4.7rem;
  padding-left: 1.45rem;
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
}

.service-list li + li {
  margin-top: 0.55rem;
}

.soft-services-content {
  width: min(100%, var(--content-width));
  margin-inline: auto;
}

.service-detail {
  padding: clamp(2.25rem, 5vw, 4rem) clamp(1.25rem, 5vw, 4rem);
  border-bottom: 4px solid var(--brand-blue);
}

.service-detail:last-child {
  border-bottom: 0;
}

.service-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 9rem;
  gap: 2rem;
  align-items: center;
}

.service-detail .service-list {
  margin-top: 0;
}

.service-detail-icon {
  width: 8rem;
  justify-self: end;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.contact-content {
  width: min(100%, var(--content-width));
  margin-inline: auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.25rem, 5vw, 4rem);
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.contact-method {
  text-align: center;
  font-style: normal;
}

.contact-method img {
  width: 5rem;
  margin: 0 auto 0.9rem;
}

.contact-method p {
  margin: 0.35rem 0 0;
}

.contact-method a,
.contact-method p {
  overflow-wrap: anywhere;
}

.contact-method .contact-note {
  color: #666;
}

.map-wrap {
  margin-inline: calc(50% - 50cqw);
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 28rem;
  border: 0;
}

.map-link {
  display: block;
  width: fit-content;
  margin: 0.75rem auto 0;
}

.contact-form-section {
  max-width: 52rem;
  margin: 0 auto;
  padding-top: clamp(2.5rem, 6vw, 4.5rem);
}

.contact-form-section h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 400;
}

.contact-form {
  display: grid;
  gap: 1.25rem;
}

.form-field {
  display: grid;
  gap: 0.45rem;
}

.form-field label {
  font-weight: 700;
}

.required {
  color: #a82020;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #999;
  border-radius: 0;
  color: var(--text);
  background: #fff;
  font: inherit;
}

.form-field textarea {
  min-height: 10rem;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--brand-blue-dark);
  outline: 3px solid rgba(22, 74, 145, 0.2);
  outline-offset: 1px;
}

.contact-form button {
  width: fit-content;
  padding: 0.7rem 1.1rem;
  border: 0;
  border-radius: 0.2rem;
  color: #fff;
  background: var(--brand-blue-dark);
  font: inherit;
  font-weight: 700;
}

.contact-form button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.form-status,
.privacy-note {
  margin: 0;
  font-size: 0.92rem;
}

.hero {
  position: relative;
  overflow: hidden;
  background: #555;
}

.hero-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.hero-track::-webkit-scrollbar {
  display: none;
}

.hero-slide {
  position: relative;
  display: grid;
  flex: 0 0 100%;
  min-height: clamp(24rem, 48vw, 38rem);
  place-items: center;
  padding: 3rem 1.25rem 5rem;
  color: #fff;
  background-image: linear-gradient(rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.48)), var(--hero-image);
  background-position: center;
  background-size: cover;
  scroll-snap-align: start;
}

.hero-slide-content {
  max-width: 58rem;
  text-align: center;
}

.hero-slide-content > img {
  width: 6rem;
  margin: 0 auto 1rem;
}

.hero-slide h1,
.hero-slide h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
}

.hero-slide p {
  margin: 0.8rem 0 1.5rem;
  font-size: clamp(1.15rem, 2.5vw, 1.65rem);
}

.button-link {
  display: inline-block;
  padding: 0.8rem 1.7rem;
  border-radius: 999px;
  color: #fff;
  background: #3f91db;
  font-weight: 700;
  text-decoration: none;
}

.hero-pagination {
  position: absolute;
  z-index: 2;
  bottom: 1.35rem;
  left: 50%;
  display: flex;
  gap: 0.65rem;
  transform: translateX(-50%);
}

.hero-pagination a {
  width: 0.85rem;
  height: 0.85rem;
  border: 2px solid #fff;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  overflow: hidden;
  text-indent: -999px;
}

.hero-pagination a[aria-current="true"] {
  background: #fff;
}

.hero-controls {
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;
}

.hero-controls button {
  width: 2.5rem;
  height: 3.5rem;
  padding: 0;
  border: 0;
  color: #fff;
  background: transparent;
  cursor: pointer;
  position: absolute;
  overflow: hidden;
  text-indent: -999px;
  opacity: 0.8;
  pointer-events: auto;
  transition: opacity 0.2s, transform 0.15s;
}

.hero-controls button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.8rem;
  height: 0.8rem;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.hero-controls button:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.15);
}

.hero-previous,
.hero-next {
  top: 50%;
  transform: translateY(-50%);
}

.hero-previous::before {
  transform: translate(-35%, -50%) rotate(-135deg);
}

.hero-next::before {
  transform: translate(-65%, -50%) rotate(45deg);
}

.hero-previous {
  left: clamp(0.5rem, 2vw, 1.5rem);
}

.hero-next {
  right: clamp(0.5rem, 2vw, 1.5rem);
}

.home-section {
  width: min(100%, var(--content-width));
  margin-inline: auto;
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1.25rem, 5vw, 4rem);
}

.home-heading {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.home-heading img {
  width: 4.5rem;
  flex: 0 0 auto;
}

.home-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-weight: 400;
  line-height: 1.15;
  text-transform: uppercase;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(18rem, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.about-intro {
  margin: 0 0 clamp(2.5rem, 6vw, 4.5rem);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
}

.about-copy {
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
}

.about-copy h3 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 400;
  line-height: 1.15;
}

.about-image {
  width: min(100%, 26rem);
  justify-self: center;
}

.benefits {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.benefits li {
  position: relative;
  padding-left: 1.65rem;
}

.benefits li + li {
  margin-top: 0.6rem;
}

.benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #111;
  font-weight: 700;
}

.services-section {
  width: 100%;
  padding-block: clamp(2rem, 5vw, 4rem) 0;
}

.services-section .home-heading {
  width: min(100%, var(--content-width));
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 4rem);
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.service-card {
  position: relative;
  display: grid;
  min-height: clamp(22rem, 40vw, 37rem);
  place-items: center;
  overflow: hidden;
  color: #fff;
  background: #333;
  text-decoration: none;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(221, 231, 232, 0.36);
  transition: background-color 300ms ease;
}

.service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

@media (hover: hover) {
  .service-card:hover img,
  .service-card:focus-visible img {
    transform: scale(1.035);
  }
  .service-card:hover::after,
  .service-card:focus-visible::after {
    background: rgba(18, 31, 43, 0.18);
  }
}

.service-card span {
  position: relative;
  z-index: 1;
  font-size: clamp(1.25rem, 2.5vw, 1.7rem);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.js-enabled .industries-grid {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.js-enabled .industries-grid::-webkit-scrollbar {
  display: none;
}

.js-enabled .industry {
  flex: 0 0 calc((100% - 3rem) / 4);
  scroll-snap-align: start;
}

.industry {
  display: grid;
  min-height: clamp(16rem, 24vw, 20rem);
  align-content: center;
  justify-items: center;
  gap: 0.75rem;
  padding: 1.25rem;
  text-align: center;
}

.industry img {
  width: clamp(10rem, 16vw, 14rem);
  max-height: 14rem;
  object-fit: contain;
}

.industry span {
  font-size: 1.05rem;
}

.form-status {
  color: #555;
}

.form-status--success {
  color: #1a7a3c;
  font-weight: 600;
}

.form-status--error {
  color: #a82020;
  font-weight: 600;
}

.site-footer {
  padding: clamp(2rem, 5vw, 4rem) clamp(1.25rem, 4vw, 3rem);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.05fr 1.15fr 0.55fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.footer-brand {
  gap: 1rem;
}

.footer-brand img {
  width: 6rem;
}

.footer-brand h2,
.certifications h2 {
  margin: 0;
  font-size: 1.65rem;
  font-weight: 600;
  text-transform: uppercase;
}

.footer-company p {
  margin: 1.2rem 0 0;
  font-size: 0.83rem;
  line-height: 1.4;
}

.certifications h2 {
  margin-bottom: 1rem;
  font-size: 1.35rem;
}

.certifications ul {
  display: grid;
  gap: 0.75rem;
}

.certifications li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.certifications img {
  width: 9rem;
  flex: 0 0 auto;
}

.certifications a {
  line-height: 1.35;
}

.certifications span {
  text-decoration: none;
}

.footer-nav ul {
  display: grid;
  gap: 0.55rem;
  justify-items: end;
  text-align: right;
}

.footer-nav a[aria-current="page"] {
  font-weight: 700;
}

@media (max-width: 850px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-contact {
    width: 100%;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-nav ul {
    justify-items: start;
    text-align: left;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-image {
    width: min(100%, 25rem);
  }

  .service-cards {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 28rem;
  }

  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .js-enabled .industry {
    flex-basis: 100%;
  }
}

@media (max-width: 700px) {
  .contact-methods {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding-inline: 1rem;
  }

  .brand {
    gap: 0.65rem;
  }

  .brand-symbol {
    width: 3rem;
  }

  .brand-name {
    width: calc(100% - 3.65rem);
  }

  .header-contact {
    align-items: center;
    justify-content: flex-end;
    gap: 1.5rem;
  }

  .phone-link {
    font-size: 1.05rem;
  }

  .primary-nav li + li::before {
    margin-inline: 0.45rem;
  }

  .service-content {
    padding: 2.25rem 1rem 3rem;
  }

  .section-heading img {
    width: 3.25rem;
  }

  .section-heading h1,
  .section-heading h2 {
    font-size: 1.7rem;
  }

  .service-list {
    margin-left: 0;
    font-size: 1.05rem;
  }

  .not-found > p,
  .not-found > .button-link {
    margin-left: 0;
  }

  .service-detail {
    padding: 2rem 1rem 2.5rem;
  }

  .service-detail-layout {
    grid-template-columns: minmax(0, 1fr) 5.25rem;
    gap: 0.5rem;
  }

  .service-detail-icon {
    width: 5rem;
  }

  .footer-brand img {
    width: 5.2rem;
  }

  .footer-brand h2 {
    font-size: 1.45rem;
  }

  .certifications li {
    align-items: flex-start;
  }

  .certifications img {
    width: 8.6rem;
  }

  .hero-slide {
    min-height: 24rem;
  }

  .home-heading img {
    width: 3.25rem;
  }

  .industries-grid {
    grid-template-columns: 1fr;
  }

  .industry {
    min-height: 17rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .service-card img,
  .service-card::after {
    transition: none;
  }
}
