/* Reliable hero and phone layout.  The approved SINOXIA logo asset is unchanged. */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

img { max-width: 100%; }

/* Keep the supplied shipping artwork inside one complete hero rather than in
   normal document flow above the introduction. */
.hero {
  min-height: 680px;
  background: #001f53 url("assets/ship-flags-original.jpg") center / cover no-repeat;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, rgba(0, 24, 68, .96) 0%, rgba(0, 37, 96, .84) 43%, rgba(0, 34, 84, .34) 71%, rgba(0, 0, 0, .10) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 160px;
  background: linear-gradient(transparent, rgba(0, 31, 83, .52));
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  grid-template-columns: 1.12fr .88fr;
  min-height: 680px;
  gap: 40px;
  padding-block: 0;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1.02;
}

.hero-card {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  height: 100%;
  padding-bottom: 70px;
}

.glass-card {
  width: min(360px, 100%);
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 12px;
  background: rgba(0, 28, 72, .68);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.mini-title { font-size: 24px; }
.glass-card p { margin-block: 1em; }
.mini-line { display: block; }

@media (max-width: 1000px) {
  .nav { position: relative; }
  .hero,
  .hero-grid { min-height: 640px; }
  .hero-grid {
    grid-template-columns: 1fr;
    padding-block: 64px;
  }
  .hero-copy { max-width: 680px; }
  .hero-card { display: none; }
}

@media (max-width: 640px) {
  .topbar { display: none; }
  .nav {
    height: 72px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }
  .brand {
    grid-column: 2;
    min-width: 0;
    max-width: calc(100vw - 120px);
    justify-self: center;
  }
  .brand img {
    display: block;
    width: min(220px, 58vw);
    max-width: 100%;
    height: auto;
    mix-blend-mode: normal;
  }
  .menu-btn {
    display: block;
    grid-column: 3;
    grid-row: 1;
    width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    justify-self: end;
    font-size: 28px;
    line-height: 1;
  }
  html[dir="rtl"] .menu-btn {
    grid-column: 1;
    justify-self: start;
  }
  .navlinks {
    top: 72px;
    right: 0;
    left: 0;
    z-index: 100;
  }
  .hero,
  .hero-grid { min-height: 620px; }
  .hero {
    background-position: 61% center;
  }
  .hero-grid {
    padding-block: 48px;
    gap: 0;
  }
  .hero h1 {
    font-size: clamp(2rem, 10vw, 2.8rem);
    line-height: 1.05;
  }
  .hero-routes {
    gap: 4px;
    font-size: 11px;
    letter-spacing: .1em;
  }
  .hero-copy { max-width: 100%; }
  .hero-actions { align-items: stretch; }
  .hero-proof { font-size: 12px; }
}

html[dir="rtl"] body {
  font-family: Arial, system-ui, sans-serif;
}
