:root {
  --primary: #153159;
  --accent: #FF6B35;
  --accent-hover: #FF8555;
  --bg: #FAFBFC;
  --card: #FFFFFF;
  --text: #1A1A2E;
  --text-secondary: #3D3D56;
  --text-muted: #8E8EA0;
  --border: #E4E4EC;
  --shadow-card: 0 20px 60px rgba(21, 49, 89, 0.08);
  --shadow-card-hover: 0 30px 80px rgba(21, 49, 89, 0.12);
  --shadow-accent: 0 2px 16px rgba(255, 107, 53, 0.25);
  --shadow-accent-hover: 0 4px 24px rgba(255, 107, 53, 0.35);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(255, 107, 53, 0.08), transparent 45%),
    radial-gradient(circle at 86% 16%, rgba(21, 49, 89, 0.08), transparent 40%),
    linear-gradient(transparent 0, transparent 23px, rgba(21, 49, 89, 0.04) 24px),
    linear-gradient(90deg, transparent 0, transparent 23px, rgba(21, 49, 89, 0.04) 24px);
  background-size: 100% 100%, 100% 100%, 24px 24px, 24px 24px;
  pointer-events: none;
  z-index: -1;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  transition: background 200ms ease, border 200ms ease;
  background: transparent;
}

.nav--scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 0 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav__logo {
  height: 52px;
  display: block;
}

.nav__meta {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav__label--brand {
  color: var(--primary);
}

.nav__link {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
}

.nav__link:hover {
  color: var(--primary);
}

.nav__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.page {
  padding-top: 56px;
}

.page-title {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px 0;
}

.form-card__title {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
}

.page-title__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.page-title__heading {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0 0 10px;
}

.page-title__subheading {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-secondary);
}

.page-title__headline {
  margin: 16px 0 6px;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
}

.btn--small {
  padding: 10px 14px;
  font-size: 14px;
}

.hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 20px 40px;
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: flex-start;
}

.hero--single {
  grid-template-columns: 1fr;
  justify-items: stretch;
}

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.nav .eyebrow {
  margin-bottom: 0;
}

.hero__title {
  font-size: 50px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 18px;
}

.hero__title-gradient {
  background: linear-gradient(135deg, #FF6B35 0%, #153159 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__subtitle {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0 0 28px;
}

.insight {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-bottom: 24px;
}

.insight__card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.insight__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 107, 53, 0.1);
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}

.insight__value {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
}

.insight__label {
  font-size: 13px;
  color: var(--text-muted);
}

.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.status {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border-radius: 100px;
}

.status--transit {
  color: #60A5FA;
  background: rgba(59, 130, 246, 0.15);
}

.status--customs {
  color: #FBBF24;
  background: rgba(245, 158, 11, 0.15);
}

.status--delivered {
  color: #34D399;
  background: rgba(34, 197, 94, 0.15);
}

.status--loading {
  color: #A78BFA;
  background: rgba(168, 85, 247, 0.15);
}

.status--booked {
  color: #22D3EE;
  background: rgba(6, 182, 212, 0.15);
}

.form-panel {
  display: flex;
  justify-content: center;
}

.form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  width: min(520px, 100%);
  box-shadow: var(--shadow-card);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.form-card--wide {
  width: 100%;
  max-width: 1120px;
}

.form-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.form-card__badge {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.form-card__header h2 {
  font-size: 28px;
  margin: 0 0 8px;
}

.title-gradient {
  background: linear-gradient(135deg, #FF6B35 0%, #153159 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.form-card__header p {
  margin: 0 0 24px;
  color: var(--text-secondary);
}

.form-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-bottom: 12px;
}

.section {
  margin-bottom: 12px;
}

.section__title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.field--spaced {
  margin-top: 12px;
}

.field__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.field input,
.field textarea,
.field select,
.multi-select__button {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 15px;
  font-family: inherit;
  transition: border 200ms ease, box-shadow 200ms ease;
}

.multi-select {
  position: relative;
}

.multi-select__button {
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.multi-select__button::after {
  content: '';
  position: absolute;
  right: 16px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: translateY(-60%) rotate(45deg);
}

.multi-select__panel {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  padding: 0;
  display: none;
  max-height: 220px;
  overflow: auto;
  z-index: 5;
  text-align: left;
}

.multi-select.is-open .multi-select__panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
}

.multi-select__option {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: center;
  column-gap: 8px;
  padding: 8px 12px 8px 8px;
  border-radius: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background 200ms ease, border 200ms ease;
  border: 1px solid transparent;
  white-space: nowrap;
  justify-content: flex-start;
  width: 100%;
  text-align: left;
}

.multi-select__option input {
  margin: 0;
  justify-self: start;
}

.multi-select__option span {
  text-align: left;
  justify-self: start;
}

.multi-select__option input {
  accent-color: var(--accent);
}

.multi-select__option:hover {
  background: rgba(255, 107, 53, 0.08);
  border-color: rgba(255, 107, 53, 0.3);
}

.field textarea {
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus,
.multi-select__button:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.chip-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 14px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: border 200ms ease, background 200ms ease;
}

.chip input {
  accent-color: var(--accent);
}

.chip:hover {
  border-color: rgba(255, 107, 53, 0.5);
  background: rgba(255, 107, 53, 0.05);
}

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

.form-actions__buttons {
  display: flex;
  gap: 12px;
  align-items: center;
}

.form-actions__meta {
  display: grid;
  gap: 4px;
}

.meta-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.meta-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
}

.form-disclaimer {
  margin: 18px 0 0;
  color: var(--text-muted);
  font-size: 13px;
}

.btn {
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn.is-loading {
  position: relative;
  color: transparent;
  pointer-events: none;
}

.btn.is-loading::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-top-color: #fff;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(250, 251, 252, 0.8);
  backdrop-filter: blur(2px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.loading-overlay.is-visible {
  display: flex;
}

.loading-spinner {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 3px solid rgba(21, 49, 89, 0.2);
  border-top-color: var(--accent);
  animation: spin 0.7s linear infinite;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-accent);
}

.btn--primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent-hover);
}

.btn--nav {
  padding: 10px 16px;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
}

.modal.is-open {
  display: flex;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 28, 0.45);
  backdrop-filter: blur(6px);
}

.modal__panel {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  width: min(520px, 92vw);
  box-shadow: var(--shadow-card-hover);
  display: grid;
  gap: 12px;
  text-align: left;
  animation: modal-in 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.modal__badge {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}

.modal__panel h3 {
  margin: 0;
  font-size: 24px;
}

.modal__panel p {
  margin: 0 0 8px;
  color: var(--text-secondary);
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1), transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

@media (max-width: 1024px) {
  .hero {
    padding-top: 60px;
  }

  .hero__title {
    font-size: 42px;
  }

  .page-title__heading {
    font-size: 36px;
  }

}

@media (max-width: 768px) {
  .nav__inner {
    padding: 14px 20px;
  }

  .nav__label {
    display: none;
  }

  .hero {
    padding: 40px 20px 60px;
  }

  .hero__title {
    font-size: 34px;
  }

  .hero__subtitle {
    font-size: 18px;
  }

  .page-title {
    padding-top: 28px;
  }

  .page-title__heading {
    font-size: 30px;
  }

  .eyebrow {
    margin-bottom: 0;
  }

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

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
