:root {
  --navy: #06233f;
  --blue: #0f65aa;
  --cyan: #12a9c8;
  --orange: #ff7a2f;
  --ink: #102033;
  --muted: #627083;
  --line: rgba(12, 54, 91, 0.13);
  --panel: rgba(255, 255, 255, 0.9);
  --white: #ffffff;
  --shadow: 0 28px 80px rgba(1, 23, 43, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  height: 100%;
  overflow: hidden;
}

body {
  margin: 0;
  height: 100%;
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 16% 16%, rgba(18, 169, 200, 0.34), transparent 28rem),
    radial-gradient(circle at 82% 22%, rgba(255, 122, 47, 0.24), transparent 24rem),
    linear-gradient(135deg, #dcecf7 0%, #f4f9fc 42%, #c7dfef 100%);
  overflow: hidden;
}

body.nav-open {
  overflow: hidden;
}

.ocean-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(6, 35, 63, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 35, 63, 0.08) 1px, transparent 1px);
  background-size: 54px 54px;
}

.ocean-bg::before,
.ocean-bg::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(6, 35, 63, 0.12);
  border-radius: 999px;
}

.ocean-bg::before {
  width: 42rem;
  height: 42rem;
  left: -14rem;
  top: 11rem;
}

.ocean-bg::after {
  width: 28rem;
  height: 28rem;
  right: -8rem;
  bottom: 4rem;
}

.bg-icon {
  position: absolute;
  color: rgba(6, 35, 63, 0.12);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  border: 1px solid rgba(6, 35, 63, 0.13);
  border-radius: 999px;
  padding: 0.55rem 0.8rem;
}

.ship {
  top: 16%;
  left: 6%;
}

.anchor {
  top: 42%;
  right: 7%;
}

.route {
  bottom: 18%;
  left: 12%;
}

.port {
  bottom: 12%;
  right: 18%;
}

.site-shell {
  display: flex;
  flex-direction: column;
  width: min(1360px, calc(100% - 32px));
  height: calc(100dvh - 32px);
  margin: 16px auto;
  border: 1px solid rgba(6, 35, 63, 0.3);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.34), rgba(220, 238, 248, 0.18)),
    rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.58),
    inset 0 -24px 80px rgba(6, 35, 63, 0.08),
    0 34px 90px rgba(1, 23, 43, 0.26);
  overflow: hidden;
  padding: 12px;
  backdrop-filter: blur(18px);
}

.site-header {
  flex: 0 0 auto;
  position: relative;
  z-index: 20;
  padding: 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 56px;
  border: 1px solid rgba(6, 35, 63, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 18px 45px rgba(8, 45, 76, 0.18);
  padding: 0.55rem 0.7rem 0.55rem 0.85rem;
  backdrop-filter: blur(18px);
  margin-block-end: 16px;
}

.scroll-area {
  flex: 1 1 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-behavior: smooth;
  scroll-padding-top: 0;
  scroll-snap-type: y mandatory;
  scrollbar-color: rgba(15, 101, 170, 0.55) transparent;
  scrollbar-width: thin;
}

.scroll-area::-webkit-scrollbar {
  width: 10px;
}

.scroll-area::-webkit-scrollbar-track {
  background: transparent;
}

.scroll-area::-webkit-scrollbar-thumb {
  border: 3px solid transparent;
  border-radius: 999px;
  background: rgba(15, 101, 170, 0.55);
  background-clip: padding-box;
}

.brand,
.nav-links a,
.contact-list a {
  color: inherit;
  text-decoration: none;
}

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

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

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  border-radius: 999px;
  color: #33465d;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0.76rem 1rem;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--white);
  background: var(--navy);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--white);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.section-panel {
  display: grid;
  align-content: center;
  flex: 0 0 100%;
  height: 100%;
  min-height: 100%;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(234, 246, 252, 0.52)),
    rgba(255, 255, 255, 0.4);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 26px 70px rgba(1, 23, 43, 0.16);
  padding: clamp(1rem, 2vw, 2rem);
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1fr);
  gap: clamp(1rem, 3vw, 3.2rem);
  align-items: center;
  min-height: 100%;
  background:
    radial-gradient(circle at 18% 16%, rgba(18, 169, 200, 0.2), transparent 18rem),
    linear-gradient(135deg, rgba(6, 35, 63, 0.96), rgba(9, 75, 118, 0.9));
  color: var(--white);
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 0.85rem;
  font-size: clamp(1.95rem, 3.55vw, 3.55rem);
  line-height: 1;
}

h2 {
  margin-bottom: 0.72rem;
  color: var(--navy);
  font-size: clamp(1.45rem, 2.28vw, 2.25rem);
  line-height: 1.06;
}

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

.hero-copy,
.section-heading p,
.split-section p,
.contact-section p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
  line-height: 1.55;
}

.section-heading p,
.split-section p,
.contact-section p {
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 0.78rem 1.15rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--orange), #ff9b54);
  box-shadow: 0 16px 30px rgba(255, 122, 47, 0.26);
}

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

.hero {
  position: relative;
  overflow: hidden;
}

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

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 22, 39, 0.32), rgba(4, 22, 39, 0.5));
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.35rem;
}

.hero-points span {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  font-weight: 800;
  padding: 0.62rem 0.8rem;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 0.85rem;
}

.service-grid {
  display: block;
}

.service-rail {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.85rem 1rem 1rem;
  background: transparent;
  scrollbar-color: rgba(15, 101, 170, 0.55) transparent;
  scrollbar-width: thin;
}

.service-card {
  min-width: 300px;
  max-width: 320px;
  min-height: 320px;
  scroll-snap-align: start;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 18px 40px rgba(10, 44, 76, 0.13);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

@media (max-width: 840px) {
  .service-card {
    flex: 0 0 min(86vw, 100%);
    max-width: 86vw;
    min-height: auto;
  }
}

.service-card:hover,
.service-card.is-active {
  border-color: rgba(18, 169, 200, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 22px 46px rgba(10, 44, 76, 0.12);
}

.service-media {
  height: 220px;
  overflow: hidden;
  background: var(--navy);
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.3s ease;
}

.service-card:hover .service-media img,
.service-card.is-active .service-media img {
  transform: scale(1.08);
}

.service-copy {
  display: block;
  padding: 0.95rem;
  min-height: 118px;
}

.service-copy strong,
.service-copy small {
  display: block;
}

.service-copy strong {
  color: var(--navy);
  line-height: 1.22;
}

.service-copy small {
  margin-top: 0.36rem;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.35;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.48;
  padding: 0 0.85rem 0.85rem;
  min-height: 5.5rem;
  transition: opacity 0.25s ease;
}

.service-card:hover p,
.service-card.is-active p {
  opacity: 0;
}

.commitment-card {
  margin-top: 1.4rem;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
}

.commitment-card p:first-child {
  margin-bottom: 0.9rem;
}

.split-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: clamp(1.1rem, 3vw, 3rem);
  align-items: start;
}

.mission-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(10, 44, 76, 0.1);
  padding: 0.8rem;
}

.tab {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 0.78rem 1rem;
}

.tab.is-active {
  color: var(--white);
  background: var(--navy);
}

.tab-content {
  display: none;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.55;
  padding: 0.9rem 0.35rem 0.35rem;
}

.tab-content.is-active {
  display: block;
}

.market-map {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.market-map span {
  border: 1px solid rgba(15, 101, 170, 0.18);
  border-radius: 999px;
  color: var(--navy);
  background: #fff;
  font-weight: 800;
  padding: 0.85rem 1rem;
}

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

.gallery-card {
  position: relative;
  min-height: min(38vh, 280px);
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  background: var(--navy);
}

.gallery-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 40%, rgba(6, 35, 63, 0.82));
}

.gallery-card figcaption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 1;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
}

.contact-list {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.contact-list a,
.contact-list span {
  color: var(--navy);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 0.72rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(10, 44, 76, 0.1);
  padding: 1rem;
}

label {
  display: grid;
  gap: 0.4rem;
  color: var(--navy);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(6, 35, 63, 0.16);
  border-radius: 14px;
  color: var(--ink);
  font: inherit;
  padding: 0.72rem 0.85rem;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(18, 169, 200, 0.12);
}

.form-status {
  min-height: 1.4rem;
  margin: 0;
  color: var(--blue);
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-shell {
    width: min(100% - 18px, 920px);
    height: calc(100dvh - 18px);
    margin-top: 9px;
    border-radius: 22px;
  }

  .hero,
  .split-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 100%;
    overflow: auto;
  }

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

  .section-panel {
    align-content: start;
    overflow-y: auto;
  }
}

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

  .nav {
    position: relative;
    border-radius: 22px;
  }

  .brand small {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: grid;
    gap: 0.35rem;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 24px 60px rgba(1, 23, 43, 0.22);
    padding: 0.6rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a {
    padding: 0.9rem 1rem;
  }

  .menu-toggle.is-open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .hero-points {
    margin-right: 10px;
    margin-left: 10px;
  }

  h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

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

@media (max-height: 760px) and (min-width: 981px) {
  .site-shell {
    padding: 10px;
  }

  .nav {
    min-height: 52px;
    margin-block-end: 12px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .section-panel {
    padding: 1rem 1.35rem;
  }

  h1 {
    font-size: clamp(1.9rem, 3.25vw, 3.3rem);
  }

  h2 {
    font-size: clamp(1.35rem, 2vw, 2rem);
  }

  .gallery-card {
    min-height: 235px;
  }

  .market-map span {
    padding: 0.68rem 0.82rem;
  }
}

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