/* ==========================================================================
   VELA VERITAS — shared stylesheet
   Used by: index.html, legalnotice.html, privacypolicy.html
   ========================================================================== */

/* ----- RESET & VARIABLES ----- */
:root {
  --navy: #062b49;
  --navy-2: #0a4167;
  --blue: #0b6fae;
  --cyan: #1ea9d6;
  --ink: #102331;
  --muted: #61717d;
  --line: #dbe5eb;
  --surface: #f4f8fa;
  --white: #fff;
  --shadow: 0 22px 60px rgba(4, 31, 50, 0.12);
  --radius: 22px;
  --max: 1180px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial,
    sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.7;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}

/* ----- UTILITY ----- */
.skip {
  position: absolute;
  left: -9999px;
  top: auto;
}
.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 9999;
  background: #fff;
  padding: 12px 18px;
  border-radius: 8px;
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.container {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}
.eyebrow {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--cyan);
}
h1,
h2,
h3 {
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial,
    sans-serif;
  line-height: 1.12;
  margin: 0;
}
h1 {
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  letter-spacing: -0.045em;
}
h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: -0.035em;
}
h3 {
  font-size: 1.25rem;
}
p {
  margin: 0 0 1rem;
  color: var(--muted);
}

/* ----- BUTTONS ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 21px;
  border-radius: 999px;
  font-weight: 800;
  transition: 0.25s ease;
}
.btn-primary {
  background: var(--cyan);
  color: #03253b;
  box-shadow: 0 12px 30px rgba(30, 169, 214, 0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: #48bde0;
}
.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.btn-outline:hover {
  background: #fff;
  color: var(--navy);
}
.btn-outline-dark {
  border: 1px solid rgba(6, 43, 73, 0.22);
  color: var(--navy);
  background: #fff;
}
.btn-outline-dark:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

/* ----- TOPBAR ----- */
.topbar {
  background: #021b2d;
  color: #c9d7df;
  font-size: 0.8rem;
}
.topbar .container {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.topbar a {
  color: #fff;
  font-weight: 600;
}

/* ----- HEADER / NAV ----- */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(6, 43, 73, 0.1);
  box-shadow: 0 8px 30px rgba(4, 31, 50, 0.07);
  transition: top 0.25s ease;
}
header .nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.brand img {
  width: 66px;
  height: auto;
}
header nav {
  margin-left: auto;
}
header nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
}
header nav ul a {
  position: relative;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 0;
  text-transform: uppercase;
}
header nav ul a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 2px;
  background: var(--cyan);
  transition: 0.25s ease;
}
header nav ul a:hover {
  color: var(--blue);
}
header nav ul a:hover::after {
  width: 100%;
}
.btn-outline-dark:hover::after {
  width: 0% !important;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-cta .btn-outline-dark {
  color: var(--navy);
  border: 1px solid rgba(6, 43, 73, 0.22);
  background: #fff;
}
.nav-cta .btn-outline-dark:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(6, 43, 73, 0.15);
  border-radius: 10px;
  background: #f5f9fb;
  color: var(--navy);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

/* ----- HERO ----- */
.hero {
  min-height: 850px;
  padding-top: 118px;
  display: flex;
  align-items: center;
  position: relative;
  color: #fff;
  overflow: hidden;
  background: linear-gradient(
      105deg,
      rgba(2, 25, 42, 0.96) 0%,
      rgba(4, 49, 75, 0.83) 48%,
      rgba(4, 49, 75, 0.48) 100%
    ),
    url("/img/home-services-container-ship.jpg") center / cover
      no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 78% 28%,
      rgba(103, 209, 239, 0.17),
      transparent 27%
    ),
    linear-gradient(180deg, transparent 65%, rgba(2, 18, 30, 0.72));
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  right: -180px;
  bottom: -260px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.025),
    0 0 0 140px rgba(255, 255, 255, 0.018);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 90px 10px 100px;
  max-width: 900px;
}
.hero .eyebrow {
  color: #72d6f2;
}
.hero h1 {
  max-width: 850px;
  margin: 22px 0 24px;
  font-size: clamp(3rem, 6.2vw, 5.1rem);
}
.hero h1 span {
  color: #67d1ef;
}
.hero-copy {
  max-width: 690px;
  font-size: 1.15rem;
  line-height: 1.8;
  color: #d6e4eb;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 58px;
  max-width: 820px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(2, 30, 48, 0.42);
  backdrop-filter: blur(12px);
}
.stat {
  min-height: 105px;
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.035);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}
.stat:last-child {
  border-right: 0;
}
.stat strong {
  display: block;
  color: #fff;
  font: 800 1.05rem "Manrope", sans-serif;
  margin-bottom: 5px;
}
.stat span {
  display: block;
  font-size: 0.78rem;
  line-height: 1.5;
  color: #b8ccd7;
}

/* ----- SECTIONS (general) ----- */
section {
  padding: 105px 0;
}
.section-head {
  max-width: 760px;
  margin-bottom: 48px;
}
.section-head h2 {
  margin: 14px 0 16px;
}
.section-head p {
  font-size: 1.05rem;
}

/* ----- INTRO / ABOUT ----- */
.intro {
  background: var(--surface);
}
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 70px;
  align-items: start;
}
.lead {
  font-size: 1.18rem;
  color: var(--ink);
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 25px 0 0;
  display: grid;
  gap: 14px;
}
.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink);
  font-weight: 600;
}
.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--cyan);
  font-weight: 900;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.about-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 35px rgba(12, 43, 62, 0.05);
}
.about-card h3 {
  margin-bottom: 15px;
}
.about-card.featured {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.about-card.featured p {
  color: #cbdce5;
}

/* ----- VALUES ----- */
.values {
  background: var(--navy);
  color: #fff;
}
.values .section-head p {
  color: #bfd2dd;
}
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.value-card {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
}
.icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(103, 209, 239, 0.13);
  color: #67d1ef;
  font-size: 22px;
  margin-bottom: 25px;
}
.value-card p {
  color: #bcd0da;
  margin-top: 12px;
  font-size: 0.94rem;
}

/* ----- SERVICES ----- */
.services {
  background: #fff;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.service {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  transition: 0.25s ease;
}
.service:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: #b9dce9;
}
.service .number {
  font: 800 0.78rem "Manrope", sans-serif;
  color: var(--cyan);
  letter-spacing: 0.12em;
}
.service h3 {
  margin: 18px 0 10px;
}
.service p {
  font-size: 0.95rem;
}

/* ----- GLOBAL PRESENCE / WORLD MAP ----- */
.presence {
  background: #fff;
}
.map-layout {
  margin-top: 8px;
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 26px;
  align-items: start;
}
.map-panel {
  margin: 0;
  padding: 20px;
  background: radial-gradient(
    120% 130% at 12% -10%,
    #0d4468 0%,
    #062b49 55%,
    #04203a 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  box-shadow: 0 26px 60px rgba(4, 31, 50, 0.28);
  overflow: hidden;
}
.worldmap {
  width: 100%;
  height: auto;
  display: block;
}
.worldmap .graticule path {
  stroke: #ffffff;
  stroke-opacity: 0.05;
  stroke-width: 1;
}
.worldmap .land {
  fill: #0f4a70;
  stroke: #1c6390;
  stroke-width: 0.4;
  stroke-linejoin: round;
}
.worldmap .arcs path {
  fill: none;
  stroke: var(--cyan);
  stroke-opacity: 0.22;
  stroke-width: 1.1;
  stroke-linecap: round;
  transition: stroke-opacity 0.25s ease, stroke-width 0.25s ease;
}
.worldmap .arcs path.is-active {
  stroke-opacity: 0.85;
  stroke-width: 1.7;
}
.worldmap .marker {
  cursor: pointer;
}
.worldmap .marker:focus {
  outline: none;
}
.worldmap .marker .glow {
  opacity: 0;
  transition: opacity 0.25s ease;
}
.worldmap .marker .dot {
  fill: #eafaff;
  stroke: var(--cyan);
  stroke-width: 2;
  transition: r 0.18s ease, stroke 0.18s ease;
}
.worldmap .marker .ping {
  fill: var(--cyan);
  transform-box: fill-box;
  transform-origin: center;
  animation: vv-ping 2.8s ease-out infinite;
}
.worldmap .marker .lbl {
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  fill: #eef7fb;
  paint-order: stroke;
  stroke: #052135;
  stroke-width: 3.5;
  pointer-events: none;
  transition: font-size 0.15s ease;
}
.worldmap .marker:hover .glow,
.worldmap .marker:focus-visible .glow,
.worldmap .marker.is-active .glow {
  opacity: 1;
}
.worldmap .marker:hover .dot,
.worldmap .marker:focus-visible .dot,
.worldmap .marker.is-active .dot {
  r: 7.5;
}
.worldmap .marker:focus-visible .dot {
  stroke: #ffffff;
}
.worldmap .marker.is-active .lbl,
.worldmap .marker:hover .lbl {
  font-size: 15px;
}
.worldmap .marker:nth-child(2) .ping {
  animation-delay: 0.5s;
}
.worldmap .marker:nth-child(3) .ping {
  animation-delay: 1s;
}
.worldmap .marker:nth-child(4) .ping {
  animation-delay: 1.5s;
}
.worldmap .marker:nth-child(5) .ping {
  animation-delay: 2s;
}
.worldmap .marker:nth-child(6) .ping {
  animation-delay: 2.5s;
}
@keyframes vv-ping {
  0% {
    r: 5;
    opacity: 0.6;
  }
  70% {
    r: 20;
    opacity: 0;
  }
  100% {
    r: 20;
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .worldmap .marker .ping {
    animation: none;
    opacity: 0;
  }
}
.map-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.location-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.location-list .loc {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font: inherit;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease,
    transform 0.18s ease;
}
.location-list .loc:hover,
.location-list .loc:focus-visible,
.location-list .loc.is-active {
  border-color: var(--cyan);
  background: #f2fbfe;
  transform: translateX(3px);
  outline: none;
}
.location-list .loc-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(30, 169, 214, 0.15);
}
.location-list .tag {
  margin-left: auto;
  padding: 2px 8px;
  border-radius: 999px;
  background: #e9f8fc;
  color: #075d80;
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.map-detail {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--cyan);
  border-radius: 12px;
  background: var(--surface);
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink);
}

/* ----- ENDORSEMENT ----- */
.endorsement {
  background: linear-gradient(135deg, #eaf7fb, #f7fbfc);
}
.endorsement-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}
.endorsement-box {
  padding: 38px;
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--shadow);
  border: 1px solid #d7eaf0;
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  border-radius: 999px;
  background: #e9f8fc;
  color: #075d80;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

/* ----- TESTIMONIALS ----- */
.testimonials {
  background: var(--surface);
}
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
blockquote {
  margin: 0;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}
blockquote p {
  font-size: 1.05rem;
  color: var(--ink);
  font-weight: 600;
}
blockquote footer {
  font-size: 0.8rem;
  color: var(--blue);
  font-weight: 800;
}

/* ----- CONTACT ----- */
.contact {
  padding-bottom: 70px;
}
.contact-wrap {
  background: var(--navy);
  color: #fff;
  border-radius: 30px;
  padding: 55px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  overflow: hidden;
  position: relative;
}
.contact-wrap::after {
  content: "";
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  right: -160px;
  top: -160px;
  background: rgba(30, 169, 214, 0.13);
}
.contact p {
  color: #bfd2dd;
}
.contact-info {
  position: relative;
  z-index: 1;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 25px 0 0;
  display: grid;
  gap: 12px;
}
.contact-list a {
  color: #fff;
}
.contact-list strong {
  color: #72d6f2;
}
.contact-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  z-index: 1;
}

/* ----- FOOTER ----- */
footer.site-footer {
  background: #031d31;
  color: #a9beca;
  padding: 55px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 50px;
}
.footer-brand img {
  width: 104px;
  height: auto;
  margin-bottom: 20px;
}
.footer-title {
  color: #fff;
  font: 800 1rem "Manrope", sans-serif;
  margin-bottom: 18px;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.footer-links a:hover {
  color: #fff;
}
.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
  padding-top: 18px;
  font-size: 0.78rem;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

/* ----- SCROLL TO TOP ----- */
#scrollTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--cyan);
  color: #03253b;
  border: none;
  font-size: 24px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(30, 169, 214, 0.35);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
  line-height: 1;
}
#scrollTop.visible {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
#scrollTop:hover {
  background: #48bde0;
  transform: scale(1.05) translateY(-4px);
}

/* ----- BREADCRUMB ----- */
.breadcrumb {
  margin: 0 0 26px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}
.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
}
.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb li + li::before {
  content: "/";
  color: var(--line);
}
.breadcrumb a {
  color: var(--blue);
}
.breadcrumb a:hover {
  text-decoration: underline;
}
.breadcrumb [aria-current="page"] {
  color: var(--ink);
}

/* ----- LEGAL PAGES (standalone) ----- */
.legal-page {
  background: var(--surface);
  padding: 180px 0 80px;
  min-height: 100vh;
}
.legal-page .container {
  background: #fff;
  padding: 50px 60px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.legal-page h1 {
  font-size: 2.6rem;
  margin: 0 0 0.5rem;
}
.legal-page h2 {
  font-size: 1.6rem;
  margin: 2.5rem 0 1rem;
}
.legal-page h3 {
  font-size: 1.25rem;
  margin: 2rem 0 0.5rem;
}
.legal-page p {
  color: var(--ink);
  margin-bottom: 1rem;
}
.legal-page ul {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}
.legal-page .back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  font-weight: 700;
  color: var(--blue);
}
.legal-page .back-link:hover {
  text-decoration: underline;
}

/* ----- RESPONSIVE ----- */
@media (max-width: 1100px) {
  header nav ul {
    gap: 20px;
  }
  .nav-cta .btn-outline-dark {
    padding: 11px 15px;
    font-size: 0.82rem;
  }
  .hero {
    min-height: 800px;
  }
}
@media (max-width: 900px) {
  header .nav {
    min-height: 72px;
  }
  .brand img {
    width: 60px;
  }
  .nav-cta {
    margin-left: auto;
  }
  .nav-cta .btn-outline-dark {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  header nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    padding: 12px;
    background: rgba(255, 255, 255, 0.99);
    border-top: 1px solid var(--line);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.12);
  }
  header nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
  }
  header nav ul a {
    display: block;
    padding: 13px 15px;
    border-radius: 9px;
  }
  header nav ul a::after {
    display: none;
  }
  header nav ul a:hover {
    background: #f1f7fa;
  }
  .hero {
    min-height: 790px;
    padding-top: 108px;
    background-position: 58% center;
  }
  .hero-content {
    padding: 75px 10px 80px;
  }
  .hero h1 {
    font-size: clamp(2.8rem, 8vw, 4.5rem);
    max-width: 760px;
  }
  .hero-copy {
    max-width: 620px;
  }
  .hero-stats {
    max-width: 700px;
  }
  .intro-grid,
  .endorsement-grid,
  .contact-wrap {
    grid-template-columns: 1fr;
  }
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .map-layout {
    grid-template-columns: 1fr;
  }
  .quotes {
    grid-template-columns: 1fr;
  }
  .contact-actions {
    justify-content: flex-start;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .legal-page .container {
    padding: 30px 24px;
  }
}
@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 28px), var(--max));
  }
  .topbar {
    display: none;
  }
  header .nav {
    min-height: 68px;
  }
  .brand img {
    width: 56px;
  }
  .hero {
    min-height: 760px;
    padding-top: 68px;
    align-items: flex-start;
    background: linear-gradient(
        180deg,
        rgba(2, 25, 42, 0.9) 0%,
        rgba(4, 49, 75, 0.76) 45%,
        rgba(2, 18, 30, 0.9) 100%
      ),
      url("/img/home-services-container-ship.jpg") 62% center / cover
        no-repeat;
  }
  .hero-content {
    padding: 88px 10px 60px;
  }
  .hero h1 {
    font-size: clamp(2.55rem, 12vw, 3.65rem);
    line-height: 1.04;
    margin: 18px 0 20px;
  }
  .hero-copy {
    font-size: 1rem;
    line-height: 1.7;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    margin-top: 28px;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .hero-stats {
    grid-template-columns: 1fr;
    margin-top: 35px;
    border-radius: 16px;
  }
  .stat {
    min-height: auto;
    padding: 16px 18px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .stat:last-child {
    border-bottom: 0;
  }
  section {
    padding: 75px 0;
  }
  .about-grid,
  .service-grid,
  .value-grid {
    grid-template-columns: 1fr;
  }
  .map-panel {
    padding: 14px;
  }
  .contact-wrap {
    padding: 35px 24px;
  }
  .contact-actions {
    width: 100%;
  }
  .contact-actions .btn {
    width: 100%;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .copyright {
    flex-direction: column;
  }
  .legal-page .container {
    padding: 30px 20px;
  }
}
