:root {
  --navy: #071723;
  --navy-2: #0d2536;
  --ink: #172838;
  --muted: #657789;
  --line: #dbe7ee;
  --soft: #f3f8fb;
  --white: #ffffff;
  --blue: #2a9fcb;
  --blue-dark: #117da9;
  --steel: #4e626f;
  --shadow: 0 22px 60px rgba(5, 24, 38, 0.13);
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

body.nav-open { overflow: hidden; }
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }

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

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px max(20px, calc((100vw - 1160px) / 2));
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(219, 231, 238, 0.9);
  backdrop-filter: blur(18px);
}

.brand img { width: 178px; height: auto; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #243848;
  font-size: 0.92rem;
  font-weight: 800;
}

.site-nav a {
  border-radius: var(--radius);
  padding: 10px 13px;
  transition: background 180ms ease, color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.active {
  color: var(--blue-dark);
  background: #e8f6fb;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
}

.hero {
  position: relative;
  min-height: 780px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-image: url("assets/maritime-hero.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(4, 18, 28, 0.94) 0%, rgba(4, 18, 28, 0.77) 44%, rgba(4, 18, 28, 0.1) 82%),
    linear-gradient(180deg, rgba(4, 18, 28, 0.35), rgba(4, 18, 28, 0.28));
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.55fr);
  gap: 56px;
  align-items: end;
  padding-top: 110px;
}

.hero-copy { max-width: 760px; }

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1, h2, h3 {
  margin: 0;
  color: inherit;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(2.5rem, 6vw, 5.35rem);
}

.hero-copy > p:not(.eyebrow) {
  max-width: 650px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.12rem;
}

.hero-actions,
.cta-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero-actions { margin-top: 34px; }

.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 22px;
  font-weight: 900;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn:hover,
.btn:focus-visible { transform: translateY(-1px); }

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

.btn-primary:hover,
.btn-primary:focus-visible { background: #0d6f96; }

.btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.08);
}

.hero-panel {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(7, 23, 35, 0.54);
  backdrop-filter: blur(16px);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.2);
}

.panel-label,
.service-number,
.vessel-tag {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-panel strong {
  display: block;
  font-size: 1.55rem;
  line-height: 1.12;
}

.hero-panel p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.76);
}

.panel-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.panel-metrics span {
  padding: 15px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.8);
}

.panel-metrics b {
  display: block;
  color: var(--white);
  font-size: 1.55rem;
  line-height: 1;
}

.trust-strip {
  background: var(--navy);
  color: var(--white);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-grid span {
  min-height: 86px;
  display: flex;
  align-items: center;
  border-left: 1px solid rgba(255, 255, 255, 0.13);
  padding: 18px 22px;
  font-weight: 900;
}

.trust-grid span:last-child { border-right: 1px solid rgba(255, 255, 255, 0.13); }

.section { padding: 104px 0; }
.section-muted { background: var(--soft); }

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

.section h2,
.page-hero h1,
.cta-band h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.intro-layout,
.why-layout,
.narrative-grid,
.detail-grid,
.operations-grid,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 70px;
  align-items: start;
}

.intro-copy,
.content-flow {
  display: grid;
  gap: 22px;
}

.intro-copy p,
.content-flow p,
.vessel-layout p,
.mission-card p,
.capability-card p,
.detail-list p,
.vessel-card p,
.contact-side p,
.page-hero p {
  color: var(--muted);
  font-size: 1.03rem;
}

.text-link {
  width: fit-content;
  color: var(--blue-dark);
  font-weight: 900;
  border-bottom: 2px solid currentColor;
}

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

.capability-card,
.mission-card,
.detail-list article,
.vessel-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 32px rgba(5, 24, 38, 0.05);
}

.capability-card {
  min-height: 280px;
  padding: 30px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.capability-card:hover,
.capability-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.capability-card h3,
.values-grid h3,
.detail-list h3 {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 1.18rem;
}

.vessel-band {
  background:
    linear-gradient(90deg, rgba(7, 23, 35, 0.95), rgba(13, 37, 54, 0.9)),
    url("assets/maritime-hero.png") center/cover;
  color: var(--white);
}

.vessel-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.7fr);
  gap: 70px;
  align-items: center;
}

.vessel-layout p {
  max-width: 610px;
  margin: 22px 0 30px;
  color: rgba(255, 255, 255, 0.78);
}

.fleet-stack { display: grid; gap: 16px; }

.fleet-stack article {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.09);
}

.fleet-stack span {
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 900;
}

.fleet-stack strong {
  display: block;
  margin-top: 4px;
  font-size: 1.55rem;
}

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

.proof-grid span,
.contact-points span {
  position: relative;
  padding: 17px 16px 17px 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-weight: 900;
}

.proof-grid span::before,
.contact-points span::before {
  position: absolute;
  top: 22px;
  left: 19px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  content: "";
  background: var(--blue);
}

.page-hero {
  padding: 170px 0 92px;
  background:
    linear-gradient(90deg, rgba(7, 23, 35, 0.96), rgba(7, 23, 35, 0.72)),
    url("assets/maritime-hero.png") center/cover;
  color: var(--white);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.7fr);
  gap: 70px;
  align-items: end;
}

.page-hero p { color: rgba(255, 255, 255, 0.8); }

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

.mission-card,
.vessel-card { padding: 34px; }

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

.values-grid article {
  min-height: 174px;
  padding: 24px;
  border-top: 3px solid var(--blue);
  border-radius: var(--radius);
  background: var(--soft);
}

.values-grid p { color: var(--muted); }

.detail-title {
  position: sticky;
  top: 112px;
}

.detail-title span {
  display: block;
  margin-bottom: 18px;
  color: var(--blue-dark);
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 1;
}

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

.detail-list article { padding: 26px; }

.cta-band {
  padding: 52px 0;
  background: var(--navy);
  color: var(--white);
}

.cta-layout { justify-content: space-between; }

.cta-layout h2 {
  max-width: 760px;
  font-size: clamp(1.75rem, 3vw, 2.8rem);
}

.contact-page { background: var(--soft); }

.contact-side {
  padding: 38px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
}

.contact-side h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.contact-points {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-points span {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

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

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(42, 159, 203, 0.18);
}

.form-status {
  min-height: 22px;
  color: var(--steel);
  font-size: 0.88rem;
}

.site-footer {
  padding: 42px 0;
  border-top: 1px solid var(--line);
  background: #f8fbfd;
}

.footer-layout {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto auto;
  gap: 30px;
  align-items: center;
}

.site-footer img {
  width: 158px;
  margin-bottom: 12px;
}

.site-footer p,
.site-footer a {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-weight: 900;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.js .reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover,
  .btn:focus-visible,
  .capability-card:hover,
  .capability-card:focus-visible { transform: none; }
}

@media (max-width: 960px) {
  .nav-toggle { display: block; }

  .site-nav {
    position: absolute;
    top: 80px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 14px; }

  .hero-inner,
  .intro-layout,
  .why-layout,
  .narrative-grid,
  .detail-grid,
  .operations-grid,
  .contact-layout,
  .vessel-layout,
  .page-hero-grid,
  .footer-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 150px 0 76px;
  }

  .hero-inner { padding-top: 0; }
  .hero-panel { max-width: 520px; }

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

  .detail-title { position: static; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1160px); }
  .brand img { width: 148px; }
  .site-header { min-height: 76px; }

  .hero,
  .page-hero { padding-top: 132px; }

  .hero-shade {
    background: linear-gradient(90deg, rgba(4, 18, 28, 0.93), rgba(4, 18, 28, 0.68));
  }

  .hero-copy > p:not(.eyebrow) { font-size: 1rem; }

  .hero-panel,
  .contact-side,
  .contact-form,
  .mission-card,
  .vessel-card { padding: 24px; }

  .section { padding: 74px 0; }

  .trust-grid,
  .capability-grid,
  .values-grid,
  .detail-list,
  .fleet-grid,
  .proof-grid,
  .panel-metrics,
  .mission-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid span {
    min-height: 62px;
    border-right: 1px solid rgba(255, 255, 255, 0.13);
  }
}
