:root {
  --ink: #101820;
  --muted: #5e6975;
  --line: #dce5ec;
  --navy: #06243a;
  --blue: #0c7ec3;
  --cyan: #34c6df;
  --sea: #0e4c57;
  --ice: #f5f9fc;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  background: var(--white);
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  padding: 0 4.5vw;
  color: var(--white);
  background: linear-gradient(180deg, rgba(4, 20, 33, .72), rgba(4, 20, 33, .16));
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.brand-image {
  display: inline-flex;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.brand-image img {
  display: block;
  width: 168px;
  height: auto;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .22));
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: var(--white);
  font-size: 21px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 8px;
}

.brand-text {
  display: grid;
  gap: 1px;
}

.brand-text strong {
  font-size: 25px;
  letter-spacing: 0;
}

.brand-text small {
  font-size: 11px;
  color: rgba(255, 255, 255, .76);
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3.6vw, 58px);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding: 36px 0;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  bottom: 27px;
  width: 0;
  height: 2px;
  content: "";
  background: var(--cyan);
  transition: width .2s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.active::after {
  width: 100%;
}

.nav-toggle,
.nav-toggle-label {
  display: none;
}

.hero {
  position: relative;
  min-height: min(760px, 86vh);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(3, 13, 22, .82), rgba(3, 13, 22, .48) 48%, rgba(3, 13, 22, .22)),
    url("gallery/in-port-&-opl-service.jpg") center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(1, 9, 16, .12), rgba(1, 9, 16, .66));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 90vw);
  margin-left: 6.6vw;
  padding-top: 92px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(44px, 6vw, 82px);
  line-height: 1.03;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, .84);
  font-size: clamp(16px, 1.5vw, 20px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 23px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.button-primary {
  color: var(--white);
  background: var(--blue);
}

.button-ghost {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .5);
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 28px;
  width: 30px;
  height: 48px;
  border: 2px solid rgba(255, 255, 255, .72);
  border-radius: 18px;
  transform: translateX(-50%);
}

.scroll-cue::after {
  position: absolute;
  top: 11px;
  left: 50%;
  width: 4px;
  height: 10px;
  content: "";
  background: var(--white);
  border-radius: 4px;
  transform: translateX(-50%);
}

.section-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.about-section {
  padding: 82px 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(36px, 6vw, 92px);
  align-items: start;
}

.about-grid h2,
.section-heading h2,
.contact-band h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.12;
  letter-spacing: 0;
}

.about-copy {
  color: var(--muted);
  font-size: 17px;
}

.about-copy p {
  margin: 0 0 18px;
}

.service-section {
  padding: 96px 0;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(5, 27, 43, .88), rgba(5, 27, 43, .95)),
    url("images/main_back_img.jpg") center / cover no-repeat;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading.compact {
  max-width: 820px;
}

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

.service-card {
  min-width: 0;
  overflow: hidden;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(1, 9, 16, .22);
}

.service-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-card-body {
  padding: 26px 24px 28px;
  color: var(--ink);
}

.service-card-body span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.service-card-body h3 {
  margin: 8px 0 10px;
  font-size: 22px;
  line-height: 1.18;
}

.service-card-body p {
  min-height: 76px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
}

.service-card-body a {
  color: var(--sea);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.project-section {
  padding: 92px 0 102px;
  background: var(--ice);
}

.project-section .section-kicker {
  color: var(--blue);
}

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

.project-card {
  min-height: 188px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(2, 23, 38, .18), rgba(2, 23, 38, .88)),
    url("gallery/DSC05515.jpg") center / cover no-repeat;
  border-radius: 8px;
}

.project-card:nth-child(2),
.project-card:nth-child(5) {
  background-image:
    linear-gradient(180deg, rgba(2, 23, 38, .18), rgba(2, 23, 38, .88)),
    url("gallery/DSC05761.JPG");
}

.project-card:nth-child(3),
.project-card:nth-child(6) {
  background-image:
    linear-gradient(180deg, rgba(2, 23, 38, .18), rgba(2, 23, 38, .88)),
    url("gallery/DSC03354.JPG");
}

.project-card p,
.project-card h3 {
  margin: 0;
}

.project-card p {
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
  font-weight: 700;
}

.project-card h3 {
  margin-top: 6px;
  font-size: 24px;
  line-height: 1.18;
}

.project-card span {
  margin-top: 14px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
}

.contact-band {
  padding: 84px 0;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--sea));
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 40px;
  align-items: center;
}

.contact-panel {
  padding: 28px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
}

.contact-panel p {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, .86);
}

.contact-panel p:first-child {
  color: var(--white);
}

.site-footer {
  padding: 32px 0;
  color: #6b7680;
  background: #071521;
}

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

.footer-inner img {
  width: 118px;
  height: auto;
  background: transparent;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .22));
}

.footer-inner p {
  margin: 0;
  color: rgba(255, 255, 255, .6);
  font-size: 13px;
}

.sub-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  padding: 154px 0 78px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(3, 13, 22, .84), rgba(3, 13, 22, .42)),
    url("gallery/DSC03354.JPG") center / cover no-repeat;
}

.sub-hero.service {
  background-image:
    linear-gradient(90deg, rgba(3, 13, 22, .84), rgba(3, 13, 22, .42)),
    url("gallery/in-port-&-opl-service.jpg");
}

.sub-hero.repair {
  background-image:
    linear-gradient(90deg, rgba(3, 13, 22, .84), rgba(3, 13, 22, .42)),
    url("gallery/DSC05761.JPG");
}

.sub-hero.trading {
  background-image:
    linear-gradient(90deg, rgba(3, 13, 22, .84), rgba(3, 13, 22, .42)),
    url("gallery/DSC05515.jpg");
}

.sub-hero.gallery-hero {
  background-image:
    linear-gradient(90deg, rgba(3, 13, 22, .84), rgba(3, 13, 22, .42)),
    url("gallery/DSC05600.JPG");
}

.sub-hero.contact-hero {
  background-image:
    linear-gradient(90deg, rgba(3, 13, 22, .84), rgba(3, 13, 22, .42)),
    url("images/contact_map.gif");
}

.sub-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(42px, 5.8vw, 76px);
  line-height: 1.04;
  letter-spacing: 0;
}

.breadcrumb {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
}

.content-section {
  padding: 86px 0;
  background: var(--white);
}

.content-section.alt {
  background: var(--ice);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 5vw, 78px);
  align-items: start;
}

.content-title {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.14;
}

.lead-text {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 17px;
}

.image-panel {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(2, 23, 38, .16);
}

.image-panel img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.stat-box {
  padding: 20px;
  background: var(--ice);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.stat-box strong {
  display: block;
  color: var(--blue);
  font-size: 28px;
  line-height: 1;
}

.stat-box span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

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

.detail-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.detail-card {
  min-width: 0;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.detail-card.selectable {
  appearance: none;
  display: block;
  width: 100%;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.detail-card.selectable:hover,
.detail-card.selectable:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(0, 120, 190, .34);
  box-shadow: 0 18px 34px rgba(8, 26, 44, .12);
  outline: none;
}

.alt .detail-card {
  background: var(--white);
}

.detail-card.featured {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--sea));
  border-color: transparent;
}

.detail-card span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.detail-card.featured span {
  color: var(--cyan);
}

.detail-card h3 {
  margin: 10px 0 12px;
  font-size: 24px;
  line-height: 1.18;
}

.detail-card p {
  margin: 0;
  color: var(--muted);
}

.detail-card.featured p {
  color: rgba(255, 255, 255, .82);
}

.selection-panel {
  margin-top: 24px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 20px 44px rgba(8, 26, 44, .08);
}

.selection-panel h3 {
  margin: 8px 0 12px;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.18;
}

.selection-panel p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding: 16px 18px;
  color: var(--muted);
  background: var(--ice);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-list.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 20px;
}

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

.gallery-grid figure {
  overflow: hidden;
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-grid figcaption {
  padding: 16px 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

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

.contact-card {
  padding: 30px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--sea));
  border-radius: 8px;
}

.contact-card p {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, .86);
}

.contact-card strong {
  color: var(--white);
}

.map-card {
  overflow: hidden;
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

.subnav-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.subnav-strip a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 15px;
  color: var(--sea);
  font-size: 13px;
  font-weight: 800;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
}

@media (max-width: 1060px) {
  .site-header {
    min-height: 78px;
  }

  .site-nav {
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    display: none;
    padding: 18px 24px 26px;
    background: rgba(4, 20, 33, .96);
    border-bottom: 1px solid rgba(255, 255, 255, .14);
  }

  .site-nav a {
    display: block;
    padding: 13px 0;
  }

  .site-nav a::after {
    display: none;
  }

  .nav-toggle-label {
    display: grid;
    gap: 5px;
    width: 42px;
    padding: 10px;
    cursor: pointer;
  }

  .nav-toggle-label span {
    display: block;
    height: 2px;
    background: var(--white);
  }

  .nav-toggle:checked ~ .site-nav {
    display: block;
  }

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

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

  .content-grid,
  .contact-page-grid {
    grid-template-columns: 1fr;
  }

  .detail-grid,
  .detail-grid.two,
  .feature-list.compact,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 0 22px;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }

  .brand-image {
    padding: 0;
  }

  .brand-image img {
    width: 132px;
  }

  .brand-text strong {
    font-size: 21px;
  }

  .brand-text small {
    display: none;
  }

  .hero {
    min-height: 82vh;
  }

  .hero-content {
    width: calc(100% - 44px);
    margin-left: 22px;
  }

  .hero h1 {
    font-size: clamp(40px, 12vw, 58px);
  }

  .button {
    width: 100%;
  }

  .section-inner {
    width: calc(100% - 36px);
  }

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

  .service-grid,
  .project-grid,
  .detail-grid,
  .detail-grid.two,
  .feature-list.compact,
  .gallery-grid,
  .stat-row {
    grid-template-columns: 1fr;
  }

  .sub-hero {
    min-height: 360px;
    padding: 130px 0 58px;
  }

  .service-card-body p {
    min-height: 0;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
