/* PortVendor shared quality layer: responsive shell and accessibility. */
html { max-width: 100%; overflow-x: clip; }
body { max-width: 100%; overflow-x: hidden; }
img, svg, video, canvas, iframe { max-width: 100%; }
input, select, textarea, button { max-width: 100%; }
:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid #4a9fff;
  outline-offset: 3px;
}
.pv-mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font: inherit;
  cursor: pointer;
}
.pv-mobile-toggle svg { width: 21px; height: 21px; }
.pv-mobile-menu {
  display: none;
  position: fixed;
  z-index: 9998;
  top: 60px;
  left: 12px;
  right: 12px;
  padding: 10px;
  border: 1px solid rgba(74,159,255,.24);
  border-radius: 12px;
  background: #0b1e3d;
  box-shadow: 0 18px 50px rgba(5,18,38,.32);
}
.pv-mobile-menu[data-open="true"] { display: grid; gap: 4px; }
.pv-mobile-menu a {
  display: block;
  padding: 11px 12px;
  border-radius: 7px;
  color: #c9d9e5;
  text-decoration: none;
  font-size: 14px;
}
.pv-mobile-menu a:hover, .pv-mobile-menu a:focus-visible {
  color: #fff;
  background: rgba(255,255,255,.08);
}
.pv-direct-contact {
  margin: 0 0 26px;
  padding: 20px;
  border: 1px solid #bfdbfe;
  border-radius: 14px;
  background: linear-gradient(135deg,#eff6ff,#f0fdfa);
}
.pv-direct-contact h2 {
  margin: 0 0 5px;
  color: #0f1c2e;
  font-family: "Fraunces",serif;
  font-size: 22px;
  font-weight: 400;
}
.pv-direct-contact p { margin: 0 0 14px; color: #4a5e78; font-size: 13.5px; }
.pv-direct-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.pv-direct-actions a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: #fff;
  color: #0b5fc3;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.pv-direct-actions a:first-child { border-color: #0b71e8; background: #0b71e8; color: #fff; }
@media (max-width:820px) {
  nav.pv-nav, header nav, body > nav { min-width: 0; }
  nav.pv-nav > .nav-links,
  nav.pv-nav > .nav-links-desktop,
  nav.pv-nav > .links { display: none !important; }
  .pv-mobile-toggle { display: inline-flex; flex: 0 0 auto; }
  .hero-grid, .main-layout, .port-body, .pricing-grid, .fastlane-grid,
  .contact-grid, .stats-grid, .hero-stats { min-width: 0; }
  .pv-direct-actions { display: grid; grid-template-columns: 1fr; }
  .pv-direct-actions a { width: 100%; }
}
@media (max-width:640px) {
  :where(button, .btn, [class*="btn-"], input, select) { min-height: 44px; }
  :where(.content-wrap, .profile-container, .port-body, .vessels-section,
    .contact-wrap, .pricing-wrap, .section-inner) {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  :where(.hero-title, .port-title, .pricing-hero h1, .contact-hero h1) {
    font-size: clamp(30px, 9vw, 42px) !important;
    line-height: 1.08 !important;
  }
  :where(.supplier-card, .company-card, .port-card, .event-card, .pricing-card) {
    min-width: 0;
  }
  :where(.table-wrap, .vessels-table-wrap, .results-table) {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .hp-partner-banner > div:last-child {
    grid-template-columns: 64px minmax(0, 1fr) !important;
    gap: 16px !important;
    padding: 22px 18px 24px !important;
  }
  .hp-partner-banner > div:last-child > div:last-child { grid-column: 1 / -1; min-width: 0 !important; }
}
@media (prefers-reduced-motion:reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
