:root {
  --brand: #27b9d2;
  --brand-dark: #1f617f;
  --ink: #29313d;
  --muted: #68717f;
  --surface: #f5f6f7;
  --line: #e5e8eb;
  --footer: #111628;
  --white: #fff;
  --shadow: 0 16px 40px rgb(19 30 43 / 12%);
  --content: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--white);
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgb(39 185 210 / 45%);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 9px 14px;
  transform: translateY(-150%);
  border-radius: 6px;
  color: var(--white);
  background: var(--footer);
}

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

.container {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 50;
  background: var(--white);
}

.header-inner {
  min-height: 122px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.logo {
  width: 306px;
  height: auto;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin-block: 5px;
  border-radius: 99px;
  background: currentColor;
}

.primary-nav ul {
  display: flex;
  align-items: stretch;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav a {
  position: relative;
  display: flex;
  min-height: 122px;
  align-items: center;
  padding: 5px 19px 0;
  color: #242a33;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .015em;
  text-decoration: none;
  text-transform: uppercase;
}

.primary-nav a::before {
  position: absolute;
  top: 0;
  right: 8px;
  left: 8px;
  height: 2px;
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  background: var(--brand);
  transition: transform .2s ease;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: #00aede;
}

.primary-nav a:hover::before,
.primary-nav a[aria-current="page"]::before {
  transform: scaleX(1);
}

main {
  flex: 1 0 auto;
}

.home-main {
  padding: 0 0 72px;
}

.hero-wrap {
  width: min(calc(100% - 60px), 1800px);
  margin-inline: auto;
}

.hero-slider {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  aspect-ratio: 3 / 1;
  background: #16222b;
}

.hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .65s ease;
}

.hero-slide.is-active {
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgb(5 16 24 / 18%), rgb(5 16 24 / 5%) 50%, rgb(5 16 24 / 18%));
}

.hero-slide:first-child::after {
  background: none;
}

.hero-caption {
  position: absolute;
  z-index: 2;
  inset: 50% auto auto 50%;
  width: min(90%, 850px);
  transform: translate(-50%, -50%);
  color: var(--white);
  text-align: center;
  text-shadow: 0 2px 16px rgb(0 0 0 / 55%);
}

.hero-caption strong {
  display: block;
  font-size: clamp(30px, 2.15vw, 44px);
  font-weight: 400;
  line-height: 1.2;
}

.hero-caption span {
  display: block;
  margin-top: 8px;
  font-size: clamp(15px, 1vw, 19px);
}

.slider-control {
  position: absolute;
  z-index: 5;
  top: 50%;
  width: 44px;
  height: 44px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 4px;
  color: var(--white);
  background: rgb(9 18 28 / 65%);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  opacity: .72;
  transition: opacity .2s ease, background .2s ease;
}

.slider-control:hover {
  opacity: 1;
  background: rgb(9 18 28 / 86%);
}

.slider-control.prev {
  left: 18px;
}

.slider-control.next {
  right: 18px;
}

.slider-toolbar {
  position: absolute;
  z-index: 5;
  right: 16px;
  bottom: 14px;
  left: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 80%);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.slider-dot.is-active {
  background: var(--white);
}

.slider-pause {
  position: absolute;
  right: 0;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 3px;
  color: var(--white);
  background: rgb(9 18 28 / 68%);
  cursor: pointer;
}

.page-heading {
  background: #f3f3f3;
}

.page-heading-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.page-heading h1 {
  margin: 0;
  font-size: clamp(24px, 2.1vw, 31px);
  font-weight: 400;
  letter-spacing: -.02em;
}

.breadcrumbs {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
}

.breadcrumbs a {
  color: #00aede;
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.content-section {
  padding-block: 58px 90px;
}

.copy {
  max-width: 1120px;
}

.copy h2,
.section-title {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: clamp(27px, 2vw, 34px);
  font-weight: 400;
  letter-spacing: -.025em;
}

.copy p {
  margin: 0 0 17px;
}

.copy p:last-child {
  margin-bottom: 0;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 46px;
}

.highlight-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand);
  background: #fff;
}

.highlight-card h3 {
  margin: 0 0 5px;
  font-size: 18px;
  font-weight: 600;
}

.highlight-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

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

.gallery-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 0;
  border: 0;
  color: var(--white);
  background: #17212a;
  cursor: zoom-in;
  box-shadow: var(--shadow);
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform .4s ease;
}

.gallery-card:hover img {
  transform: scale(1.035);
}

.gallery-card span {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 38px 18px 15px;
  background: linear-gradient(transparent, rgb(8 17 25 / 82%));
  font-size: 15px;
  text-align: left;
}

.lightbox {
  width: min(92vw, 1080px);
  max-width: none;
  padding: 0;
  border: 0;
  color: var(--white);
  background: #0b1018;
  box-shadow: 0 24px 90px rgb(0 0 0 / 45%);
}

.lightbox::backdrop {
  background: rgb(3 7 12 / 78%);
}

.lightbox img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
}

.lightbox-footer {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 16px;
}

.lightbox-footer p {
  margin: 0;
}

.lightbox-close {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border: 1px solid rgb(255 255 255 / 30%);
  border-radius: 50%;
  color: var(--white);
  background: transparent;
  cursor: pointer;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(340px, 1.1fr);
  gap: 70px;
  align-items: stretch;
}

.contact-list {
  display: grid;
  gap: 30px;
  margin-top: 36px;
}

.contact-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 24px;
  align-items: center;
}

.contact-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  transform: rotate(45deg);
  color: var(--white);
  background: #3f4147;
  font-size: 19px;
}

.contact-icon span {
  transform: rotate(-45deg);
}

.contact-item h2 {
  margin: 0 0 4px;
  font-size: 19px;
  font-weight: 600;
}

.contact-item p {
  margin: 0;
}

.contact-item a {
  text-decoration-color: rgb(39 185 210 / 50%);
  text-underline-offset: 4px;
}

.contact-item a:hover {
  color: #008fb4;
}

.location-card {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 34px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgb(16 29 41 / 72%), rgb(13 68 86 / 78%)),
    url("engine.jpg") center / cover;
}

.location-card::before,
.location-card::after {
  position: absolute;
  content: "";
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 50%;
}

.location-card::before {
  width: 260px;
  height: 260px;
  top: -70px;
  right: -60px;
}

.location-card::after {
  width: 140px;
  height: 140px;
  top: -10px;
  right: 0;
}

.location-card-content {
  position: relative;
  z-index: 1;
}

.location-card h2 {
  margin: 0 0 8px;
  font-size: 30px;
  font-weight: 400;
}

.location-card p {
  max-width: 440px;
  margin: 0 0 22px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid rgb(255 255 255 / 52%);
  color: var(--white);
  background: rgb(9 17 26 / 25%);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease;
}

.button:hover {
  border-color: var(--white);
  background: rgb(9 17 26 / 55%);
}

.site-footer {
  flex: 0 0 auto;
  color: #8aa0bb;
  background: var(--footer);
}

.footer-inner {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 13px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: #7895b6;
  text-decoration: none;
}

.footer-inner a:hover {
  color: var(--brand);
}

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

@media (max-width: 820px) {
  .container {
    width: min(calc(100% - 30px), var(--content));
  }

  .header-inner {
    min-height: 88px;
  }

  .logo {
    width: min(250px, 64vw);
  }

  .menu-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    visibility: hidden;
    transform: translateY(-6px);
    border-top: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 18px 30px rgb(23 31 40 / 14%);
    opacity: 0;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }

  .primary-nav.is-open {
    visibility: visible;
    transform: translateY(0);
    opacity: 1;
  }

  .primary-nav ul {
    display: block;
    width: min(calc(100% - 30px), var(--content));
    margin-inline: auto;
    padding-block: 8px 15px;
  }

  .primary-nav a {
    min-height: 48px;
    padding: 0 4px;
    border-bottom: 1px solid var(--line);
  }

  .primary-nav li:last-child a {
    border-bottom: 0;
  }

  .primary-nav a::before {
    inset: auto auto 8px 4px;
    width: 28px;
    height: 2px;
    transform-origin: left;
  }

  .hero-wrap {
    width: 100%;
  }

  .hero-slider {
    min-height: 430px;
    aspect-ratio: auto;
  }

  .slider-control {
    width: 40px;
    height: 40px;
  }

  .page-heading-inner {
    min-height: 82px;
  }

  .content-section {
    padding-block: 44px 66px;
  }

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

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

@media (max-width: 580px) {
  body {
    font-size: 15px;
  }

  .header-inner {
    min-height: 80px;
  }

  .page-heading-inner {
    min-height: 92px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
  }

  .hero-slider {
    min-height: 410px;
  }

  .hero-caption strong {
    font-size: 29px;
  }

  .slider-control.prev {
    left: 9px;
  }

  .slider-control.next {
    right: 9px;
  }

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

  .contact-item {
    grid-template-columns: 48px 1fr;
    gap: 18px;
  }

  .contact-icon {
    width: 40px;
    height: 40px;
  }

  .location-card {
    min-height: 330px;
    padding: 26px;
  }

  .footer-inner {
    min-height: 78px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
