:root {
  --navy: #063b70;
  --dark-navy: #04345f;
  --ocean: #0b6fa4;
  --gold: #f5c328;
  --gold-hover: #e7b51a;
  --white: #ffffff;
  --light-gray: #f5f7f9;
  --text-gray: #536273;
  --border: #e6edf3;
  --shadow: 0 8px 24px rgba(6, 59, 112, 0.06);
  --header-h: 96px;
  --hero-h: calc(100svh - var(--header-h));
  --container: 1360px;
  --ease: 250ms ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", "Inter", sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 200;
  background: var(--gold);
  color: var(--dark-navy);
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 700;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--white);
  transition: box-shadow var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(4, 52, 95, 0.08);
}

.header-inner {
  height: 100%;
  width: min(100% - 48px, 1440px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 28px;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-mark {
  height: 64px;
  width: auto;
  object-fit: contain;
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-text strong {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: var(--navy);
}

.logo-sub {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.6px;
  color: var(--navy);
  margin-top: 5px;
}

.nav-desktop {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.header-inner > .btn-navy {
  margin-left: auto;
}

.nav-desktop a {
  position: relative;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy);
  padding: 8px 0;
  transition: color var(--ease);
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 220ms ease;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--navy);
}

.nav-desktop a.active::after,
.nav-desktop a:hover::after {
  transform: scaleX(1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  transition: transform var(--ease), background var(--ease), box-shadow var(--ease), color var(--ease);
  white-space: nowrap;
}

.btn svg {
  width: 16px;
  height: 16px;
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 14px;
  flex-shrink: 0;
}

.btn-navy:hover {
  background: var(--dark-navy);
  transform: translateY(-1px);
}

.btn-gold {
  background: var(--gold);
  color: var(--dark-navy);
  border-radius: 6px;
  padding: 13px 22px;
  font-size: 15px;
}

.btn-gold:hover {
  background: var(--gold-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(245, 195, 40, 0.28);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  cursor: pointer;
  margin-left: auto;
  position: relative;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  position: relative;
  transition: transform 200ms ease, opacity 200ms ease;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  top: -7px;
}

.menu-toggle span::after {
  top: 7px;
}

body.menu-open .menu-toggle span {
  background: transparent;
}

body.menu-open .menu-toggle span::before {
  top: 0;
  transform: rotate(45deg);
}

body.menu-open .menu-toggle span::after {
  top: 0;
  transform: rotate(-45deg);
}

.mobile-nav {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  height: var(--hero-h);
  min-height: 640px;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 700ms ease, transform 8s ease;
}

.hero-media img.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.hero-overlay {
  background:
    linear-gradient(
      90deg,
      rgba(4, 52, 95, 0.84) 0%,
      rgba(4, 52, 95, 0.58) 34%,
      rgba(4, 52, 95, 0.22) 64%,
      rgba(4, 52, 95, 0.08) 100%
    ),
    linear-gradient(
      180deg,
      rgba(4, 52, 95, 0.18) 0%,
      rgba(4, 52, 95, 0) 28%,
      rgba(4, 52, 95, 0.12) 100%
    );
}

.hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  width: min(100%, 1440px);
  margin-inline: auto;
  padding: 0 80px;
  display: flex;
  align-items: center;
}

.hero-carousel {
  width: min(100%, 640px);
  overflow: hidden;
}

.hero-track {
  display: flex;
  transition: transform 550ms ease;
}

.hero-slide {
  flex: 0 0 100%;
  min-width: 100%;
  padding-right: 12px;
}

.hero-slide p {
  max-width: 450px;
  color: var(--white);
  font-size: 15.5px;
  line-height: 1.75;
  font-weight: 400;
  margin-bottom: 26px;
}

.hero-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}

.hero-arrow {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(4, 52, 95, 0.28);
  color: var(--white);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background var(--ease), border-color var(--ease), transform var(--ease);
}

.hero-arrow svg {
  width: 18px;
  height: 18px;
}

.hero-arrow:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark-navy);
  transform: translateY(-1px);
}

.hero-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.hero-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: width 220ms ease, background 220ms ease;
}

.hero-dots button.is-active {
  width: 28px;
  background: var(--gold);
}

.eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 4.2px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(42px, 4.6vw, 64px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.4px;
  margin-bottom: 18px;
}

.hero h1 .gold {
  color: var(--gold);
}

/* Services */
.services {
  background: var(--white);
  padding: 78px 0 86px;
}

.services-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.29fr) 1fr;
  gap: 42px;
  align-items: start;
}

.section-label {
  display: block;
  color: var(--ocean);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  color: var(--navy);
  font-size: 34px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.gold-line {
  width: 54px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin: 18px 0 16px;
}

.lede {
  color: var(--text-gray);
  font-size: 15.5px;
  line-height: 1.7;
  max-width: 320px;
}

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

.service-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 280ms ease, box-shadow 280ms ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(6, 59, 112, 0.12);
}

.card-media {
  height: 118px;
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.service-card:hover .card-media img {
  transform: scale(1.06);
}

.card-icon {
  position: absolute;
  left: 16px;
  top: 92px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--navy);
  border: 3px solid var(--white);
  box-shadow: 0 4px 10px rgba(4, 52, 95, 0.18);
  display: grid;
  place-items: center;
  color: var(--white);
}

.card-icon svg {
  width: 22px;
  height: 22px;
}

.card-body {
  padding: 38px 16px 18px;
}

.card-body h3 {
  font-size: 16.5px;
  line-height: 1.3;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
}

.card-body p {
  color: var(--text-gray);
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 14px;
  min-height: 84px;
}

.learn-more {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}

.learn-more:hover {
  color: var(--ocean);
}

/* CTA strip */
.cta-strip {
  position: relative;
  min-height: 148px;
  color: var(--white);
  overflow: hidden;
}

.cta-strip-media,
.cta-strip-overlay {
  position: absolute;
  inset: 0;
}

.cta-strip-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.cta-strip-overlay {
  background: linear-gradient(90deg, rgba(4, 36, 68, 0.92), rgba(6, 59, 112, 0.88) 55%, rgba(4, 52, 95, 0.9));
}

.cta-grid {
  position: relative;
  z-index: 2;
  min-height: 148px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1.35fr;
  gap: 18px;
  align-items: center;
  padding: 28px 0;
}

.cta-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding-right: 8px;
}

.cta-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  color: var(--white);
}

.cta-item h3,
.cta-final h3 {
  font-size: 15.5px;
  font-weight: 800;
  margin-bottom: 4px;
}

.cta-item p,
.cta-final p {
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
}

.cta-final {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  padding-left: 22px;
}

.cta-final .btn-gold {
  margin-top: 12px;
  padding: 10px 18px;
  font-size: 13.5px;
}

/* Footer */
.site-footer {
  background: #032845;
  color: rgba(255, 255, 255, 0.78);
  padding: 16px 0;
  font-size: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer a:hover {
  color: var(--gold);
}

/* Inner pages */
.page-hero {
  position: relative;
  height: 280px;
  color: var(--white);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 52, 95, 0.86) 0%, rgba(4, 52, 95, 0.5) 58%, rgba(4, 52, 95, 0.18) 100%);
}

.page-hero-copy {
  position: relative;
  z-index: 2;
  width: min(100% - 64px, var(--container));
  margin-inline: auto;
}

.page-hero .eyebrow {
  margin-bottom: 10px;
}

.page-hero h1 {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.4px;
}

.page-hero p {
  max-width: 560px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.9);
}

.section {
  padding: 84px 0;
}

.section.gray {
  background: var(--light-gray);
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.split img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.split.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.split.reverse img {
  order: -1;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 42px;
}

.stat {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px 18px;
  box-shadow: var(--shadow);
}

.stat strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
}

.stat span {
  color: var(--text-gray);
  font-size: 13.5px;
}

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: var(--shadow);
}

.value-card h3 {
  margin: 12px 0 8px;
  font-size: 20px;
}

.value-card p {
  color: var(--text-gray);
}

.detail-block {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 72px;
  scroll-margin-top: 120px;
}

.detail-block:nth-child(even) img {
  order: 2;
}

.detail-block img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 12px;
}

.detail-block h2 {
  font-size: 28px;
  margin-bottom: 12px;
}

.detail-block p {
  color: var(--text-gray);
  margin-bottom: 12px;
}

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

.equip-card,
.gallery-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 280ms ease, box-shadow 280ms ease;
}

.equip-card:hover,
.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(6, 59, 112, 0.12);
}

.equip-card img,
.gallery-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.equip-card .card-body,
.gallery-card figcaption {
  padding: 18px 18px 20px;
}

.gallery-card figcaption {
  color: var(--text-gray);
  font-size: 14px;
  font-weight: 600;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
}

.filter-btn {
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--navy);
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
}

.filter-btn.is-active,
.filter-btn:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.is-hidden {
  display: none !important;
}

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.process-step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 20px;
  box-shadow: var(--shadow);
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--dark-navy);
  font-weight: 800;
  margin-bottom: 14px;
}

.process-step h3 {
  margin-bottom: 8px;
}

.process-step p {
  color: var(--text-gray);
  font-size: 14.5px;
}

.cargo-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.cargo-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 14px;
  text-align: center;
  font-weight: 700;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
}

.info-list {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.info-list div strong {
  display: block;
  margin-bottom: 4px;
}

.info-list p,
.info-list a {
  color: var(--text-gray);
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--navy);
  background: var(--light-gray);
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

.form-success {
  background: #e8f6ee;
  color: #146c43;
  border-radius: 8px;
  padding: 12px 14px;
  font-weight: 700;
}

.map-wrap {
  margin-top: 42px;
  border-radius: 12px;
  overflow: hidden;
  min-height: 340px;
  border: 1px solid var(--border);
}

.map-wrap iframe {
  width: 100%;
  height: 340px;
  border: 0;
}

.reveal {
  animation: fadeUp 0.75s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes heroZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}

@media (max-width: 1180px) {
  .nav-desktop,
  .header-inner .btn-navy {
    display: none;
  }

  .menu-toggle,
  .mobile-nav {
    display: block;
  }

  .mobile-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--white);
    padding: 28px 28px 40px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease, transform 220ms ease;
    z-index: 90;
    overflow: auto;
  }

  body.menu-open .mobile-nav {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .mobile-nav a {
    display: block;
    padding: 14px 0;
    font-size: 20px;
    font-weight: 700;
    border-bottom: 1px solid var(--border);
  }

  .mobile-nav .btn-navy {
    margin-top: 22px;
    width: 100%;
  }

  .services-layout,
  .split,
  .split.reverse,
  .detail-block,
  .detail-block:nth-child(even),
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .split.reverse img,
  .detail-block:nth-child(even) img {
    order: 0;
  }

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

  .cta-grid {
    grid-template-columns: 1fr 1fr;
    min-height: 0;
  }

  .cta-final {
    border-left: 0;
    padding-left: 0;
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 16px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-inner {
    padding: 0 40px;
  }

  .stats,
  .process,
  .equipment-grid,
  .gallery-grid,
  .values {
    grid-template-columns: 1fr 1fr;
  }

  .cargo-list {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 84px;
  }

  .hero {
    min-height: 560px;
  }

  .container,
  .page-hero-copy {
    width: min(100% - 32px, var(--container));
  }

  .logo-mark {
    height: 48px;
  }

  .logo-text strong {
    font-size: 18px;
  }

  .logo-sub {
    font-size: 8.5px;
    letter-spacing: 1.2px;
  }

  .hero-inner {
    padding: 0 24px;
    align-items: center;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 32px;
  }

  .section-title {
    font-size: 28px;
  }

  .lede {
    max-width: none;
  }

  .service-grid,
  .stats,
  .values,
  .process,
  .equipment-grid,
  .gallery-grid,
  .cargo-list,
  .form-row,
  .cta-grid {
    grid-template-columns: 1fr;
  }

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

  .btn-navy,
  .btn-gold {
    min-height: 46px;
    padding-inline: 20px;
  }

  .split img,
  .detail-block img {
    height: 260px;
  }

  .cta-item {
    padding-bottom: 8px;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .hero-media img {
    animation: none !important;
  }
}
