@font-face {
  font-family: "Blinker";
  src: url("../fonts/Blinker-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Blinker";
  src: url("../fonts/Blinker-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Blinker";
  src: url("../fonts/Blinker-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --accent: #00a7b2;
  --accent-dark: #008891;
  --ink: #030303;
  --muted: #525f63;
  --line: #cfe5e8;
  --soft: #f5fbfc;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--white);
  font-family: "Blinker", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.55;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  top: -80px;
  left: 16px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
}

.skip-link:focus {
  top: 12px;
}

.shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.service-header {
  border-bottom: 1px solid #e7eff0;
  background: var(--white);
}

.service-header__inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  display: block;
  width: 224px;
  max-width: 100%;
  height: auto;
}

.home-link {
  font-weight: 600;
  text-decoration: none;
}

.home-link:hover,
.home-link:focus-visible {
  color: var(--accent-dark);
}

.service-hero {
  padding: 70px 0 58px;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.breadcrumb {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 15px;
}

.breadcrumb a {
  color: var(--accent-dark);
  font-weight: 600;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-dark);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2 {
  margin-top: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 20px;
  font-size: 68px;
  font-weight: 700;
}

h2 {
  margin-bottom: 24px;
  font-size: 36px;
  font-weight: 600;
}

.service-subtitle {
  max-width: 850px;
  margin: 0 0 18px;
  font-size: 25px;
  line-height: 1.35;
}

.service-description {
  max-width: 850px;
  margin: 0 0 30px;
  color: var(--muted);
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  color: var(--white);
  background: var(--accent);
  font-weight: 600;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
}

.service-details {
  padding: 64px 0;
}

.service-gallery {
  padding: 64px 0;
  overflow-x: clip;
  border-bottom: 1px solid var(--line);
}

.service-gallery[hidden] {
  display: none;
}

.service-gallery h2 {
  margin-bottom: 28px;
}

.service-gallery__grid {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  touch-action: pan-y;
}

.service-gallery__track {
  display: flex;
  width: max-content;
  animation: service-gallery-scroll var(--gallery-duration, 32s) linear infinite;
  will-change: transform;
}

.service-gallery__grid:hover .service-gallery__track {
  animation-play-state: paused;
}

.service-gallery__group {
  display: flex;
  flex: none;
  gap: 16px;
  padding-right: 16px;
}

.service-gallery__item {
  flex: 0 0 clamp(280px, 34vw, 390px);
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.service-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-gallery__grid.is-static .service-gallery__track,
.service-gallery__grid.is-static .service-gallery__group {
  width: 100%;
}

.service-gallery__grid.is-static .service-gallery__track {
  animation: none;
}

.service-gallery__grid.is-static .service-gallery__group {
  justify-content: center;
  padding-right: 0;
}

.service-gallery__grid.is-static .service-gallery__item {
  flex-basis: min(100%, 640px);
}

@keyframes service-gallery-scroll {
  to {
    transform: translateX(-50%);
  }
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
}

.detail-column {
  padding-top: 24px;
  border-top: 4px solid var(--accent);
}

.detail-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-list li {
  position: relative;
  padding: 10px 0 10px 28px;
  border-bottom: 1px solid #e3ecee;
}

.detail-list li::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 4px;
  width: 8px;
  height: 8px;
  background: var(--accent);
}

.related-services {
  padding: 58px 0 70px;
  background: var(--ink);
  color: var(--white);
}

.related-services h2 {
  max-width: 650px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.related-link {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
  border: 1px solid #2f383a;
  border-radius: 6px;
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
}

.related-link::after {
  content: "→";
  color: var(--accent);
  font-size: 24px;
}

.related-link:hover,
.related-link:focus-visible {
  border-color: var(--accent);
}

.service-footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.service-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.service-footer img {
  width: 180px;
  height: auto;
}

.service-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  text-align: right;
}

@media (max-width: 900px) {
  h1 {
    font-size: 52px;
  }

  .detail-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .detail-grid {
    gap: 44px;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 17px;
  }

  .shell {
    width: min(100% - 28px, 1120px);
  }

  .service-header__inner {
    min-height: 72px;
  }

  .brand img {
    width: 174px;
  }

  .home-link {
    font-size: 15px;
  }

  .service-hero {
    padding: 44px 0 42px;
  }

  .breadcrumb {
    margin-bottom: 22px;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 30px;
  }

  .service-subtitle {
    font-size: 21px;
  }

  .button {
    width: 100%;
  }

  .service-details,
  .service-gallery,
  .related-services {
    padding: 46px 0;
  }

  .service-gallery__item {
    flex-basis: min(82vw, 340px);
  }

  .service-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-footer p {
    text-align: left;
  }
}
