/*
 * Cosmos Pilot V1
 * Shared presentation styles for every public page and the local demo viewer.
 * Brand colors, spacing and component shapes can be adjusted from :root.
 */

:root {
  --navy-950: #071b2b;
  --navy-900: #0b2942;
  --navy-800: #103a5d;
  --navy-700: #155079;
  --blue-100: #dfeaf1;
  --blue-50: #eef4f7;
  --ink: #17232d;
  --muted: #65727d;
  --line: #dce4e9;
  --surface: #ffffff;
  --canvas: #f7f9fa;
  --warm: #f3f0ea;
  --success: #27684a;
  --success-bg: #e7f4ed;
  --error: #a43f3f;
  --error-bg: #fff0ef;
  --warning: #946623;
  --warning-bg: #fff7e6;
  --shadow-sm: 0 10px 30px rgba(7, 27, 43, 0.06);
  --shadow-md: 0 24px 60px rgba(7, 27, 43, 0.12);
  --shadow-lg: 0 34px 90px rgba(7, 27, 43, 0.2);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 30px;
  --container: 1180px;
  --header-height: 80px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 22px);
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Heebo", "Assistant", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

[hidden],
[data-public] [data-open-meeting] {
  display: none !important;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
}

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

h1,
h2,
h3 {
  line-height: 1.18;
}

h1,
h2 {
  letter-spacing: -0.035em;
}

p:last-child {
  margin-bottom: 0;
}

::selection {
  background: var(--navy-800);
  color: #fff;
}

:focus-visible {
  outline: 3px solid rgba(21, 80, 121, 0.28);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 2000;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--navy-950);
  color: #fff;
  transform: translateY(-160%);
  transition: transform 0.2s;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  padding-block: clamp(72px, 9vw, 118px);
}

.section--tight {
  padding-block: clamp(54px, 7vw, 82px);
}

.section--white {
  background: var(--surface);
}

.section--soft {
  background: var(--blue-50);
}

.section--warm {
  background: var(--warm);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: 44px;
  align-items: end;
  margin-bottom: clamp(34px, 5vw, 56px);
}

.section-heading--center {
  display: block;
  max-width: 730px;
  margin-inline: auto;
  text-align: center;
}

.section-heading h2 {
  max-width: 780px;
  margin-bottom: 0;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
}

.section-heading p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.16rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  color: var(--navy-700);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.eyebrow::before {
  width: 24px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  content: "";
}

.eyebrow--light {
  color: #c6dbe8;
}

.micro-label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy-800);
  font-weight: 800;
}

.text-link::after {
  content: "←";
  transition: transform 0.2s var(--ease);
}

.text-link:hover::after {
  transform: translateX(-4px);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(220, 228, 233, 0.82);
  background: rgba(255, 255, 255, 0.91);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 28px rgba(7, 27, 43, 0.06);
}

.site-nav {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 195px;
}

.brand__mark {
  position: relative;
  display: grid;
  width: 43px;
  height: 43px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: var(--navy-900);
  color: #fff;
  font-family: Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.brand__mark::after {
  position: absolute;
  width: 51px;
  height: 14px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  content: "";
  transform: rotate(-22deg);
}

.brand__name {
  display: block;
  color: var(--navy-950);
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.brand__tagline {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  direction: ltr;
  font-size: 0.62rem;
  line-height: 1.1;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 27px);
}

.nav-links > a:not(.btn) {
  position: relative;
  padding-block: 27px;
  color: #4f5d67;
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links > a:not(.btn)::after {
  position: absolute;
  right: 0;
  bottom: 18px;
  width: 100%;
  height: 2px;
  border-radius: 99px;
  background: var(--navy-700);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s var(--ease);
}

.nav-links > a:hover,
.nav-links > a.is-active {
  color: var(--navy-900);
}

.nav-links > a:hover::after,
.nav-links > a.is-active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin-block: 5px;
  border-radius: 99px;
  background: var(--navy-900);
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 13px;
  background: var(--navy-900);
  color: #fff;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  transition: background 0.22s, border-color 0.22s, box-shadow 0.22s, color 0.22s,
    transform 0.22s var(--ease);
}

.btn::after {
  font-size: 1rem;
}

.btn:hover {
  background: var(--navy-700);
  box-shadow: 0 12px 26px rgba(11, 41, 66, 0.18);
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--arrow::after {
  content: "←";
}

.btn--secondary {
  border-color: #c9d5dc;
  background: rgba(255, 255, 255, 0.84);
  color: var(--navy-900);
}

.btn--secondary:hover {
  border-color: var(--navy-700);
  background: #fff;
  color: var(--navy-800);
}

.btn--light {
  background: #fff;
  color: var(--navy-900);
}

.btn--light:hover {
  background: var(--blue-50);
  color: var(--navy-950);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.15);
}

.btn--small {
  min-height: 42px;
  padding: 9px 14px;
  border-radius: 11px;
  font-size: 0.86rem;
}

.btn--wide {
  width: 100%;
}

/* Home hero */
.home-hero {
  padding-block: 28px clamp(72px, 8vw, 104px);
  background: var(--surface);
}

.hero-panel {
  position: relative;
  min-height: min(680px, calc(100vh - 115px));
  overflow: hidden;
  border-radius: clamp(22px, 3vw, 34px);
  background-color: #edf1f2;
  background-image: linear-gradient(
      90deg,
      rgba(247, 249, 250, 0) 20%,
      rgba(247, 249, 250, 0.58) 49%,
      rgba(247, 249, 250, 0.96) 70%,
      #f7f9fa 100%
    ),
    url("../assets/images/cargo-ship-hero.png");
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow-md);
}

.hero-panel::before {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(11, 41, 66, 0.08);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(54%, 650px);
  min-height: inherit;
  flex-direction: column;
  justify-content: center;
  padding: clamp(46px, 7vw, 84px);
}

.hero-content h1 {
  max-width: 610px;
  margin-bottom: 24px;
  color: var(--navy-950);
  font-size: clamp(3.2rem, 6.7vw, 6.1rem);
  font-weight: 900;
}

.hero-content h1 span {
  display: block;
  color: var(--navy-700);
}

.hero-lead {
  max-width: 580px;
  margin-bottom: 0;
  color: #4d5d68;
  font-size: clamp(1.06rem, 1.9vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 32px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 25px;
  margin: 30px 0 0;
  padding: 0;
  color: #445561;
  font-size: 0.9rem;
  font-weight: 700;
  list-style: none;
}

.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-trust li::before {
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--navy-800);
  content: "✓";
  font-size: 0.72rem;
}

.hero-route-card {
  position: absolute;
  left: 34px;
  bottom: 30px;
  display: grid;
  width: min(370px, 38%);
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 13px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(16px);
}

.route-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--navy-700);
  box-shadow: 0 0 0 5px rgba(21, 80, 121, 0.12);
}

.route-line {
  position: relative;
  height: 1px;
  background: #b7c8d2;
}

.route-line::after {
  position: absolute;
  top: 50%;
  left: 48%;
  width: 7px;
  height: 7px;
  border: 2px solid var(--navy-700);
  border-radius: 50%;
  background: #fff;
  content: "";
  transform: translate(-50%, -50%);
}

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

.route-copy strong {
  font-size: 0.86rem;
}

.route-copy small {
  color: var(--muted);
  font-size: 0.72rem;
}

/* Cards and feature surfaces */
.service-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.service-card {
  grid-column: span 2;
  min-height: 245px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.22s, box-shadow 0.22s, transform 0.22s var(--ease);
}

.service-card:nth-child(4),
.service-card:nth-child(5) {
  grid-column: span 3;
}

.service-card:hover {
  border-color: #c1d1da;
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.icon-box {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 32px;
  place-items: center;
  border-radius: 14px;
  background: var(--blue-50);
  color: var(--navy-800);
  font-family: Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
}

.service-card h3 {
  margin-bottom: 10px;
  font-size: 1.22rem;
}

.service-card p {
  color: var(--muted);
}

.audience-strip {
  display: grid;
  grid-template-columns: 0.8fr 1fr 1fr 1fr;
  gap: 1px;
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.audience-strip > * {
  min-height: 110px;
  padding: 24px;
  background: #fff;
}

.audience-strip__label {
  display: flex;
  align-items: center;
  color: var(--navy-900);
  font-size: 1.1rem;
  font-weight: 900;
}

.audience-strip strong,
.audience-strip span {
  display: block;
}

.audience-strip span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.88rem;
}

/* Process */
.process-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  padding: 30px 22px 26px;
  border: 1px solid #294963;
  border-radius: var(--radius-lg);
  background: var(--navy-950);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.process-track::before {
  position: absolute;
  top: 61px;
  right: 8.5%;
  left: 8.5%;
  height: 1px;
  background: rgba(198, 219, 232, 0.28);
  content: "";
}

.process-step {
  position: relative;
  z-index: 1;
  padding: 8px;
  text-align: center;
}

.process-step__number {
  display: grid;
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  background: var(--navy-800);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: 0 0 0 7px var(--navy-950);
}

.process-step strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.process-step p {
  color: #aebfca;
  font-size: 0.8rem;
  line-height: 1.55;
}

/* Showcase cards */
.showcase-grid,
.catalog-grid,
.opportunity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.showcase-card,
.catalog-card,
.opportunity-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.22s, box-shadow 0.22s, transform 0.22s var(--ease);
}

.showcase-card:hover,
.catalog-card:hover {
  border-color: #c4d3dc;
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.showcase-card__image,
.catalog-card__image,
.opportunity-card__image {
  position: relative;
  overflow: hidden;
  background: var(--blue-50);
}

.showcase-card__image {
  aspect-ratio: 1.4;
}

.catalog-card__image,
.opportunity-card__image {
  aspect-ratio: 1.33;
}

.showcase-card__image img,
.catalog-card__image img,
.opportunity-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.showcase-card:hover img,
.catalog-card:hover img,
.opportunity-card:hover img {
  transform: scale(1.035);
}

.image-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--navy-900);
  font-size: 0.72rem;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.showcase-card__body,
.catalog-card__body,
.opportunity-card__body {
  padding: 22px;
}

.showcase-card h3,
.catalog-card h3,
.opportunity-card h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.showcase-card p,
.catalog-card p,
.opportunity-card p {
  color: var(--muted);
}

.catalog-meta,
.opportunity-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-block: 18px;
  padding-block: 14px;
  border-block: 1px solid #edf1f3;
  color: var(--muted);
  font-size: 0.8rem;
}

.catalog-meta span,
.opportunity-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.card-actions {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 8px;
}

.section-footer-link {
  margin-top: 34px;
  text-align: center;
}

/* Why Cosmos */
.why-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 22px;
  align-items: stretch;
}

.problem-panel,
.solution-panel {
  min-height: 440px;
  padding: clamp(30px, 5vw, 52px);
  border-radius: var(--radius-lg);
}

.problem-panel {
  border: 1px solid var(--line);
  background: #fff;
}

.problem-panel h3,
.solution-panel h3 {
  margin-bottom: 26px;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.problem-list,
.check-list,
.plain-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.problem-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.problem-list li {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--canvas);
  color: #56646e;
  font-size: 0.88rem;
}

.solution-panel {
  position: relative;
  overflow: hidden;
  background: var(--navy-900);
  color: #fff;
}

.solution-panel::after {
  position: absolute;
  left: -80px;
  bottom: -110px;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 50px rgba(255, 255, 255, 0.025),
    0 0 0 100px rgba(255, 255, 255, 0.018);
}

.solution-panel > * {
  position: relative;
  z-index: 1;
}

.solution-panel p {
  max-width: 620px;
  color: #c7d6df;
  font-size: 1.08rem;
}

.solution-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 36px;
}

.solution-points span {
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.055);
  color: #e7f0f4;
  font-size: 0.9rem;
}

.solution-points span::before {
  margin-left: 7px;
  color: #94bad0;
  content: "✓";
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.trust-item {
  min-height: 180px;
  padding: 25px;
  border-top: 2px solid var(--navy-700);
  background: #fff;
}

.trust-item strong {
  display: block;
  margin-bottom: 9px;
  color: var(--navy-900);
  font-size: 1.12rem;
}

.trust-item p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Inner page hero */
.page-hero {
  padding-block: clamp(62px, 8vw, 96px);
  overflow: hidden;
  background: var(--surface);
}

.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.75fr);
  gap: 70px;
  align-items: center;
}

.page-hero h1 {
  max-width: 780px;
  margin-bottom: 24px;
  color: var(--navy-950);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 900;
}

.page-hero__lead {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.page-hero__aside {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--navy-900);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.page-hero__aside img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.52;
}

.page-hero__aside::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 27, 43, 0.92), rgba(7, 27, 43, 0.08));
  content: "";
}

.page-hero__aside-copy {
  position: absolute;
  z-index: 1;
  right: 28px;
  bottom: 25px;
  left: 28px;
}

.page-hero__aside-copy strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.16rem;
}

.page-hero__aside-copy span {
  color: #cad9e2;
  font-size: 0.88rem;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.84rem;
}

.breadcrumb a:hover {
  color: var(--navy-800);
}

/* Catalog page */
.catalog-intro {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
  margin-bottom: 36px;
}

.info-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.info-card--navy {
  background: var(--navy-900);
  color: #fff;
}

.info-card h2,
.info-card h3 {
  margin-bottom: 12px;
}

.info-card p {
  color: var(--muted);
}

.info-card--navy p {
  color: #c6d6df;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.filter-chip {
  min-height: 42px;
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: #fff;
  color: #53616c;
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 750;
  transition: 0.2s;
}

.filter-chip:hover,
.filter-chip.is-active {
  border-color: var(--navy-800);
  background: var(--navy-900);
  color: #fff;
}

.catalog-card.is-hidden {
  display: none;
}

.catalog-maker {
  display: block;
  margin-bottom: 4px;
  color: var(--navy-700);
  font-size: 0.74rem;
  font-weight: 800;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 52px 24px;
  border: 1px dashed #bfd0da;
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
}

/* Opportunities */
.notice {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 30px;
  padding: 15px 17px;
  border: 1px solid #e4d5ad;
  border-radius: 14px;
  background: var(--warning-bg);
  color: #71501f;
  font-size: 0.88rem;
}

.notice::before {
  content: "i";
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: Georgia, serif;
  font-weight: 700;
}

.opportunity-price {
  margin-top: 18px;
  color: var(--navy-900);
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1.2;
}

.opportunity-price small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.availability::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3b8a64;
  content: "";
  box-shadow: 0 0 0 3px rgba(59, 138, 100, 0.12);
}

.opportunity-difference {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  padding: clamp(28px, 5vw, 50px);
  border-radius: var(--radius-lg);
  background: var(--navy-950);
  color: #fff;
}

.difference-side span {
  color: #a9c0ce;
  font-size: 0.8rem;
  font-weight: 800;
}

.difference-side h3 {
  margin: 8px 0 9px;
  font-size: 1.5rem;
}

.difference-side p {
  color: #b9cbd5;
  font-size: 0.92rem;
}

.difference-arrow {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: #b9d1df;
  font-size: 1.4rem;
}

/* About */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.value-card {
  min-height: 260px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.value-card__number {
  display: block;
  margin-bottom: 58px;
  color: #9fb4c1;
  font-size: 0.8rem;
  font-weight: 900;
}

.value-card h3 {
  margin-bottom: 10px;
}

.value-card p {
  color: var(--muted);
}

.markets-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
  align-items: center;
  padding: clamp(30px, 5vw, 56px);
  border-radius: var(--radius-lg);
  background: var(--blue-50);
}

.market-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.market-tags span {
  padding: 11px 15px;
  border: 1px solid #cbd9e0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--navy-800);
  font-size: 0.88rem;
  font-weight: 800;
}

.faq-list {
  max-width: 850px;
  margin-inline: auto;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  position: relative;
  padding: 23px 42px 23px 0;
  cursor: pointer;
  font-size: 1.08rem;
  font-weight: 800;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before,
.faq-item summary::after {
  position: absolute;
  top: 50%;
  right: 3px;
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: var(--navy-800);
  content: "";
  transition: transform 0.2s;
}

.faq-item summary::after {
  transform: rotate(90deg);
}

.faq-item[open] summary::after {
  transform: rotate(0);
}

.faq-item p {
  max-width: 760px;
  padding: 0 42px 24px 0;
  color: var(--muted);
}

/* CTA */
.cta-panel {
  position: relative;
  display: flex;
  min-height: 310px;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  overflow: hidden;
  padding: clamp(34px, 6vw, 64px);
  border-radius: var(--radius-lg);
  background: var(--navy-900);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.cta-panel::before,
.cta-panel::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  content: "";
}

.cta-panel::before {
  left: -80px;
  bottom: -160px;
  width: 380px;
  height: 380px;
}

.cta-panel::after {
  left: -25px;
  bottom: -105px;
  width: 270px;
  height: 270px;
}

.cta-panel__copy,
.cta-panel .btn {
  position: relative;
  z-index: 1;
}

.cta-panel h2 {
  max-width: 650px;
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.cta-panel p {
  max-width: 650px;
  color: #c4d4de;
  font-size: 1.05rem;
}

/* Footer */
.site-footer {
  padding-top: 65px;
  background: var(--navy-950);
  color: #aebfca;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand .brand__name {
  color: #fff;
}

.footer-brand .brand__tagline {
  color: #94a9b6;
}

.footer-brand p {
  max-width: 320px;
  margin-top: 18px;
  font-size: 0.9rem;
}

.footer-column h3 {
  margin-bottom: 18px;
  color: #fff;
  font-size: 0.95rem;
}

.footer-links {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a,
.footer-links span {
  font-size: 0.88rem;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.76rem;
}

.footer-bottom a:hover {
  color: #fff;
}

/* Modals */
.modal {
  position: fixed;
  z-index: 1500;
  inset: 0;
  display: grid;
  visibility: hidden;
  place-items: center;
  padding: 20px;
  background: rgba(4, 17, 27, 0.68);
  opacity: 0;
  backdrop-filter: blur(8px);
  transition: opacity 0.2s, visibility 0.2s;
}

.modal.is-open {
  visibility: visible;
  opacity: 1;
}

.modal__dialog {
  width: min(820px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(16px) scale(0.985);
  transition: opacity 0.26s, transform 0.26s var(--ease);
}

.modal.is-open .modal__dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.modal__dialog--catalog {
  width: min(1010px, 100%);
}

.modal__header {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 25px 28px 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
}

.modal__header h2 {
  margin-bottom: 4px;
  font-size: 1.65rem;
}

.modal__header p {
  color: var(--muted);
  font-size: 0.88rem;
}

.modal__close {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}

.modal__close:hover {
  border-color: #b9c9d2;
  background: var(--blue-50);
}

.modal__body {
  padding: 25px 28px 29px;
}

.meeting-form,
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}

.field {
  min-width: 0;
}

.field--full,
.form-actions,
.form-message {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  margin-bottom: 7px;
  color: #293944;
  font-size: 0.86rem;
  font-weight: 800;
}

.field .optional {
  color: #87939c;
  font-size: 0.72rem;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #cbd6dc;
  border-radius: 11px;
  background: #fff;
  outline: 0;
  transition: border-color 0.18s, box-shadow 0.18s;
}

.field textarea {
  min-height: 105px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--navy-700);
  box-shadow: 0 0 0 4px rgba(21, 80, 121, 0.1);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--error);
}

.field-error {
  display: block;
  min-height: 18px;
  margin-top: 4px;
  color: var(--error);
  font-size: 0.72rem;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 4px;
}

.form-actions small {
  max-width: 390px;
  color: var(--muted);
  font-size: 0.72rem;
}

.form-message {
  display: none;
  padding: 16px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 700;
}

.form-message.is-visible {
  display: block;
}

.form-message--success {
  background: var(--success-bg);
  color: var(--success);
}

.form-message--error {
  background: var(--error-bg);
  color: var(--error);
}

.success-state {
  padding: 30px 8px 18px;
  text-align: center;
}

.success-state__icon {
  display: grid;
  width: 62px;
  height: 62px;
  margin: 0 auto 20px;
  place-items: center;
  border-radius: 50%;
  background: var(--success-bg);
  color: var(--success);
  font-size: 1.55rem;
  font-weight: 900;
}

.success-state h3 {
  font-size: 1.5rem;
}

.success-state p {
  max-width: 530px;
  margin-inline: auto;
  color: var(--muted);
}

/* Catalog viewer */
.catalog-viewer {
  padding: 20px;
  background: #e8edf0;
}

.catalog-sheet {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 45px rgba(7, 27, 43, 0.15);
}

.catalog-sheet__cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalog-sheet::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 27, 43, 0.88), rgba(7, 27, 43, 0.04) 65%);
  content: "";
}

.catalog-sheet__copy {
  position: absolute;
  z-index: 1;
  right: 35px;
  bottom: 34px;
  left: 35px;
  color: #fff;
}

.catalog-sheet__copy span {
  display: block;
  margin-bottom: 7px;
  color: #c6dbe8;
  font-size: 0.78rem;
  font-weight: 800;
}

.catalog-sheet__copy h3 {
  max-width: 650px;
  margin-bottom: 8px;
  font-size: clamp(2rem, 5vw, 3.7rem);
}

.catalog-sheet__copy p {
  color: #d8e2e8;
}

.catalog-viewer__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 16px;
}

.viewer-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.viewer-nav button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #c8d3da;
  border-radius: 11px;
  background: #fff;
  cursor: pointer;
}

.viewer-nav button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.viewer-page {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.viewer-note {
  padding: 15px 28px 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.viewer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 18px 28px 28px;
}

/* Admin demo */
.admin-shell {
  min-height: 100vh;
  background: #f2f5f7;
}

.admin-header {
  padding-block: 20px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.admin-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.demo-ribbon {
  display: inline-flex;
  padding: 7px 11px;
  border: 1px solid #dfc982;
  border-radius: 99px;
  background: #fff9e8;
  color: #765c18;
  font-size: 0.76rem;
  font-weight: 900;
}

.admin-main {
  padding-block: 45px 80px;
}

.admin-titlebar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.admin-titlebar h1 {
  margin-bottom: 4px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.admin-titlebar p {
  color: var(--muted);
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.admin-stat {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.admin-stat span,
.admin-stat strong {
  display: block;
}

.admin-stat span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.admin-stat strong {
  margin-top: 5px;
  color: var(--navy-900);
  font-size: 1.75rem;
}

.lead-table-wrap {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.lead-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}

.lead-table th,
.lead-table td {
  padding: 16px;
  border-bottom: 1px solid #edf1f3;
  text-align: right;
  vertical-align: top;
}

.lead-table th {
  background: #f8fafb;
  color: #596873;
  font-size: 0.74rem;
  font-weight: 900;
}

.lead-table tr:last-child td {
  border-bottom: 0;
}

.lead-table strong {
  display: block;
  color: var(--navy-900);
}

.lead-table small {
  color: var(--muted);
}

.admin-empty {
  padding: 70px 25px;
  color: var(--muted);
  text-align: center;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

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

/* Responsive */
@media (max-width: 1020px) {
  :root {
    --header-height: 72px;
  }

  .nav-toggle {
    display: block;
    margin-right: auto;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: grid;
    visibility: hidden;
    gap: 0;
    padding: 12px 20px 20px;
    border-bottom: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 20px 34px rgba(7, 27, 43, 0.1);
    opacity: 0;
    transform: translateY(-8px);
    transition: 0.2s;
  }

  .nav-links.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .nav-links > a:not(.btn) {
    padding: 13px 4px;
    border-bottom: 1px solid #edf1f3;
  }

  .nav-links > a:not(.btn)::after {
    display: none;
  }

  .nav-links .btn {
    margin-top: 14px;
  }

  .hero-panel {
    min-height: 620px;
    background-image: linear-gradient(
        90deg,
        rgba(247, 249, 250, 0.02) 5%,
        rgba(247, 249, 250, 0.66) 45%,
        rgba(247, 249, 250, 0.98) 70%
      ),
      url("../assets/images/cargo-ship-hero.png");
  }

  .hero-content {
    width: 63%;
    padding: 52px;
  }

  .hero-route-card {
    width: 36%;
  }

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

  .service-card,
  .service-card:nth-child(4),
  .service-card:nth-child(5) {
    grid-column: auto;
  }

  .service-card:last-child {
    grid-column: 1 / -1;
  }

  .audience-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .audience-strip__label {
    grid-column: 1 / -1;
    min-height: auto;
  }

  .process-track {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px 8px;
  }

  .process-track::before {
    display: none;
  }

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

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

  .page-hero__grid {
    grid-template-columns: 1fr 0.72fr;
    gap: 38px;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .brand__tagline {
    display: none;
  }

  .brand {
    min-width: 0;
  }

  .home-hero {
    padding-top: 14px;
  }

  .hero-panel {
    display: flex;
    min-height: 670px;
    align-items: flex-start;
    background-image: linear-gradient(
        180deg,
        #f7f9fa 0%,
        rgba(247, 249, 250, 0.97) 46%,
        rgba(247, 249, 250, 0.25) 73%,
        rgba(7, 27, 43, 0.12) 100%
      ),
      url("../assets/images/cargo-ship-hero.png");
    background-position: 18% center;
  }

  .hero-content {
    width: 100%;
    min-height: 0;
    padding: 42px 24px 210px;
  }

  .hero-content h1 {
    font-size: clamp(3.15rem, 15.6vw, 5rem);
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-trust {
    gap: 10px 16px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(10px);
  }

  .hero-route-card {
    right: 18px;
    bottom: 18px;
    left: 18px;
    width: auto;
  }

  .service-grid,
  .showcase-grid,
  .catalog-grid,
  .opportunity-grid,
  .value-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .service-card:last-child {
    grid-column: auto;
  }

  .audience-strip {
    grid-template-columns: 1fr;
  }

  .audience-strip__label {
    grid-column: auto;
  }

  .process-track {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .process-step {
    display: grid;
    grid-template-columns: 48px 1fr;
    column-gap: 15px;
    padding: 7px 0;
    text-align: right;
  }

  .process-step:not(:last-child)::after {
    position: absolute;
    right: 23px;
    top: 59px;
    bottom: -15px;
    width: 1px;
    background: rgba(198, 219, 232, 0.22);
    content: "";
  }

  .process-step__number {
    grid-row: span 2;
    margin: 0;
    box-shadow: 0 0 0 5px var(--navy-950);
  }

  .process-step strong {
    align-self: end;
    margin: 0;
  }

  .process-step p {
    margin: 2px 0 0;
  }

  .why-grid,
  .page-hero__grid,
  .catalog-intro,
  .markets-panel {
    grid-template-columns: 1fr;
  }

  .problem-panel,
  .solution-panel {
    min-height: auto;
  }

  .solution-points {
    grid-template-columns: 1fr;
  }

  .page-hero__aside {
    min-height: 260px;
  }

  .opportunity-difference {
    grid-template-columns: 1fr;
  }

  .difference-arrow {
    transform: rotate(90deg);
  }

  .cta-panel {
    min-height: 360px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }

  .cta-panel .btn {
    width: 100%;
  }

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

  .footer-brand,
  .footer-column:last-child {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .meeting-form,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .field--full,
  .form-actions,
  .form-message {
    grid-column: auto;
  }

  .form-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .modal {
    padding: 8px;
  }

  .modal__dialog {
    max-height: calc(100vh - 16px);
    border-radius: 18px;
  }

  .modal__header,
  .modal__body {
    padding-right: 19px;
    padding-left: 19px;
  }

  .catalog-viewer {
    padding: 10px;
  }

  .catalog-sheet {
    min-height: 420px;
  }

  .catalog-sheet__copy {
    right: 22px;
    bottom: 22px;
    left: 22px;
  }

  .viewer-note,
  .viewer-actions {
    padding-right: 19px;
    padding-left: 19px;
  }

  .viewer-actions .btn {
    width: 100%;
  }

  .admin-header__inner,
  .admin-titlebar {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-stats {
    grid-template-columns: 1fr;
  }

  .lead-table thead {
    display: none;
  }

  .lead-table,
  .lead-table tbody,
  .lead-table tr,
  .lead-table td {
    display: block;
    width: 100%;
  }

  .lead-table tr {
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
  }

  .lead-table tr:last-child {
    border-bottom: 0;
  }

  .lead-table td {
    display: grid;
    grid-template-columns: 105px 1fr;
    gap: 8px;
    padding: 7px 16px;
    border: 0;
  }

  .lead-table td::before {
    color: var(--muted);
    content: attr(data-label);
    font-size: 0.72rem;
    font-weight: 800;
  }
}

@media (max-width: 430px) {
  .brand__mark {
    width: 39px;
    height: 39px;
  }

  .brand__name {
    font-size: 1.1rem;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
  }

  .hero-content {
    padding-inline: 20px;
  }

  .hero-trust {
    display: grid;
  }

  .card-actions {
    grid-template-columns: 1fr;
  }

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

  .footer-brand,
  .footer-column:last-child {
    grid-column: auto;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
