:root {
  --bg: #f5f7f9;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --line: #d7dfe6;
  --line-strong: #c7d1db;
  --text: #253546;
  --muted: #5d6c7a;
  --accent: #ca7329;
  --accent-dark: #b15f1c;
  --brand: #1f3d5a;
  --brand-soft: #ebf1f5;
  --shadow: 0 18px 36px rgba(26, 45, 68, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "IBM Plex Sans", Arial, sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, #f9fbfc 0%, #f2f5f8 100%);
}

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

.top-stripe {
  height: 8px;
  background: linear-gradient(90deg, #17324f 0%, #2d557d 58%, #ca7329 100%);
}

.page-shell {
  width: min(1360px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 22px 0 44px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  padding: 22px 30px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.brand-mark {
  width: 16px;
  height: 54px;
  flex: 0 0 auto;
  background: linear-gradient(180deg, var(--accent) 0%, #dda06e 100%);
  border: 1px solid var(--accent-dark);
}

.brand-title,
h1,
.section-heading h2 {
  margin: 0;
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.brand-title {
  color: var(--brand);
  font-size: 2rem;
}

.brand-subtitle {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.header-side {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: #45576a;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.site-nav a {
  padding: 4px 0;
  transition: color 160ms ease;
}

.site-nav a:hover {
  color: var(--brand);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  font-size: 0.93rem;
  font-weight: 600;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(180deg, #d68b48 0%, var(--accent) 100%);
  border-color: var(--accent-dark);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(202, 115, 41, 0.2);
}

.button-secondary {
  border-color: var(--line-strong);
  background: linear-gradient(180deg, #ffffff 0%, #eef3f6 100%);
  color: var(--text);
}

.header-button {
  white-space: nowrap;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.9fr);
  gap: 24px;
  margin-bottom: 24px;
}

.hero-copy,
.hero-panel,
.route-panel,
.content-section {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 42px 44px 38px;
}

.section-name,
.section-kicker,
.service-tag,
.info-row span,
.map-note span,
.modal-kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section-name,
.section-kicker,
.modal-kicker {
  margin: 0;
  color: #718190;
  font-size: 0.78rem;
}

h1 {
  max-width: 11ch;
  color: var(--brand);
  font-size: clamp(2.7rem, 4.8vw, 4.6rem);
  line-height: 1.06;
  text-wrap: balance;
}

.hero-text,
.service-card p,
.copy-card p,
.info-row span,
.contact-address p,
.hero-point span,
.hero-stat p,
.section-intro,
.modal-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.78;
}

.hero-text {
  max-width: 58rem;
  margin-top: 20px;
  font-size: 1.05rem;
  text-wrap: pretty;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.hero-point {
  padding: 20px 20px 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fbfcfd 0%, #f4f7fa 100%);
}

.hero-point strong,
.hero-stat strong,
.info-row strong,
.map-note strong {
  display: block;
  color: var(--brand);
  font-size: 1rem;
  line-height: 1.45;
}

.hero-point strong {
  margin-bottom: 8px;
}

.hero-panel {
  display: grid;
  align-content: start;
  background:
    linear-gradient(180deg, #ffffff 0%, #f5f8fb 100%);
}

.hero-panel-intro {
  padding: 26px 24px 20px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(235, 241, 245, 0.82) 0%, rgba(255, 255, 255, 0) 100%);
}

.hero-panel-title {
  margin: 6px 0 0;
  color: var(--brand);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 2rem;
  line-height: 1.08;
}

.hero-panel-text {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.72;
}

.hero-panel-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 20px;
}

.hero-stat {
  min-height: 150px;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
}

.hero-stat strong {
  margin-bottom: 8px;
}

.hero-stat-accent {
  background:
    linear-gradient(180deg, rgba(31, 61, 90, 0.06) 0%, rgba(202, 115, 41, 0.05) 100%);
}

.route-panel {
  overflow: hidden;
  margin-bottom: 24px;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #f5f8fa 0%, #e8eef3 100%);
  color: #617182;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.panel-map {
  position: relative;
  overflow: hidden;
  min-height: 410px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f4f8fb 72%, #e7eff6 100%);
}

.map-grid,
.route,
.route-point,
.map-label,
.ship,
.map-note {
  position: absolute;
}

.map-grid {
  inset: 0;
  background:
    linear-gradient(rgba(43, 80, 119, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43, 80, 119, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
}

.route {
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(43, 80, 119, 0.62), transparent);
}

.route-one {
  top: 27%;
  left: 15%;
  width: 47%;
  transform: rotate(12deg);
}

.route-two {
  top: 44%;
  left: 31%;
  width: 30%;
  transform: rotate(-8deg);
}

.route-three {
  top: 61%;
  left: 18%;
  width: 40%;
  transform: rotate(9deg);
}

.route-point {
  width: 10px;
  height: 10px;
  border: 1px solid var(--accent-dark);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(202, 115, 41, 0.08);
  animation: marker-pulse 3s ease-in-out infinite;
}

.point-one {
  top: 25%;
  right: 29%;
}

.point-two {
  top: 43%;
  right: 37%;
  animation-delay: 0.9s;
}

.point-three {
  top: 59%;
  right: 31%;
  animation-delay: 1.7s;
}

.map-label {
  padding: 6px 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  color: #617182;
  font-size: 0.78rem;
}

.label-left {
  top: 14%;
  left: 11%;
}

.label-center {
  top: 39%;
  left: 42%;
}

.label-right {
  top: 18%;
  right: 12%;
}

.ship-main {
  right: 7%;
  bottom: 9%;
  width: min(52%, 430px);
  animation: ship-drift 8s ease-in-out infinite;
}

.ship svg {
  width: 100%;
  height: auto;
}

.ship-hull {
  fill: #21405e;
}

.ship-deck {
  fill: #8d9eae;
}

.ship-stack {
  fill: var(--accent);
}

.ship-wave {
  fill: none;
  stroke: rgba(73, 119, 163, 0.44);
  stroke-width: 3;
}

.map-note {
  max-width: 240px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
}

.map-note strong {
  margin-bottom: 6px;
}

.map-note span {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
}

.note-left {
  left: 24px;
  bottom: 22px;
}

.note-right {
  top: 24px;
  right: 24px;
}

.content-section {
  margin-bottom: 24px;
  padding: 34px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  gap: 26px;
  align-items: start;
  margin-bottom: 26px;
}

.section-heading h2 {
  color: var(--brand);
  font-size: clamp(1.95rem, 3.5vw, 2.9rem);
  line-height: 1.08;
  text-wrap: balance;
}

.section-intro {
  font-size: 0.98rem;
  text-wrap: pretty;
  max-width: 34rem;
}

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

.service-card,
.copy-card,
.info-row,
.contact-box,
.modal-contact {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.service-card {
  display: grid;
  gap: 10px;
  min-height: 240px;
  padding: 22px;
  border-top: 3px solid rgba(31, 61, 90, 0.2);
}

.service-tag {
  color: #7b8a99;
  font-size: 0.72rem;
}

.service-card h3 {
  margin: 0;
  color: var(--brand);
  font-size: 1.06rem;
  line-height: 1.35;
}

.info-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  gap: 20px;
}

.info-copy,
.info-table {
  display: grid;
  gap: 14px;
}

.copy-card {
  padding: 22px;
  border-left: 4px solid rgba(31, 61, 90, 0.12);
}

.copy-card p {
  text-wrap: pretty;
}

.info-row {
  display: grid;
  gap: 8px;
  padding: 20px 22px;
}

.info-row strong {
  font-size: 1rem;
}

.contact-box {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.8fr) auto;
  gap: 18px;
  align-items: center;
  padding: 20px 22px;
}

.contact-company {
  margin-bottom: 8px;
  color: var(--brand);
  font-size: 1.08rem;
  font-weight: 600;
}

.contact-actions {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.contact-note {
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fbfcfd 0%, #f3f7fa 100%);
}

.contact-note strong {
  display: block;
  margin-bottom: 8px;
  color: var(--brand);
  font-size: 1rem;
}

.contact-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.plain-link {
  color: #5f7080;
  font-size: 0.9rem;
  text-decoration: underline;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 6px 4px 0;
  color: #6c7b89;
  font-size: 0.9rem;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
}

.modal-overlay:target {
  display: block;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(21, 42, 63, 0.34);
}

.modal-window {
  position: relative;
  width: min(560px, calc(100vw - 24px));
  margin: 9vh auto 0;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  box-shadow: 0 28px 56px rgba(21, 42, 63, 0.18);
}

.modal-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #f4f8fb 0%, #e8eef3 100%);
}

.modal-header h2 {
  margin: 2px 0 0;
  color: var(--brand);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.75rem;
  line-height: 1.15;
}

.modal-close {
  color: #6c7b89;
  font-size: 1.8rem;
  line-height: 1;
}

.modal-body {
  padding: 20px;
}

.modal-contact {
  margin-top: 18px;
  padding: 18px;
}

.modal-contact p + p {
  margin-top: 4px;
}

.modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

@keyframes ship-drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(-5px, -2px, 0);
  }
}

@keyframes marker-pulse {
  0%,
  100% {
    transform: scale(0.94);
    opacity: 0.82;
  }

  50% {
    transform: scale(1.12);
    opacity: 1;
  }
}

@media (max-width: 1060px) {
  .hero,
  .info-layout,
  .section-heading,
  .contact-box {
    grid-template-columns: 1fr;
  }

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

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

  .header-side {
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100vw - 16px, 1180px);
    padding-top: 16px;
  }

  .site-header,
  .header-side,
  .site-footer,
  .panel-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header {
    padding: 18px;
  }

  .hero-copy,
  .content-section {
    padding: 22px;
  }

  h1 {
    font-size: clamp(2.2rem, 11vw, 3.5rem);
  }

  .hero-points,
  .service-grid,
  .hero-panel-body {
    grid-template-columns: 1fr;
  }

  .panel-map {
    min-height: 300px;
  }

  .map-note {
    max-width: 200px;
    padding: 10px 12px;
  }

  .ship-main {
    width: 68%;
    right: 4%;
  }
}

@media (max-width: 560px) {
  .brand-title {
    font-size: 1.6rem;
  }

  .brand-subtitle {
    font-size: 0.88rem;
  }

  .site-nav {
    gap: 12px;
    font-size: 0.8rem;
  }

  .hero-copy,
  .content-section,
  .modal-body,
  .modal-header {
    padding-left: 16px;
    padding-right: 16px;
  }

  .panel-map {
    min-height: 260px;
  }

  .map-label,
  .map-note {
    font-size: 0.72rem;
  }

  .note-left,
  .note-right {
    display: none;
  }
}

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

  .button,
  .ship-main,
  .route-point {
    transition: none;
    animation: none;
  }
}
