:root {
  --navy-900: #0c1a3d;
  --navy-800: #122455;
  --navy-700: #1a2f6b;
  --navy-600: #243f85;
  --ink: #0f1722;
  --gray-900: #1c2330;
  --gray-700: #3d4756;
  --gray-500: #6b7480;
  --gray-300: #c9ced6;
  --gray-200: #e3e7ec;
  --gray-100: #f3f5f8;
  --white: #ffffff;
  --accent: #f47c2c;
  --accent-dark: #d8631a;
  --accent-soft: #ff9b54;
  --shadow-sm: 0 1px 2px rgba(11, 31, 58, 0.06), 0 1px 3px rgba(11, 31, 58, 0.08);
  --shadow-md: 0 4px 12px rgba(11, 31, 58, 0.08), 0 2px 4px rgba(11, 31, 58, 0.06);
  --shadow-lg: 0 12px 32px rgba(11, 31, 58, 0.12), 0 4px 12px rgba(11, 31, 58, 0.08);
  --radius: 10px;
  --radius-lg: 16px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--navy-800);
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: "Inter", sans-serif;
  color: var(--ink);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 700;
}

h3 {
  font-size: 1.15rem;
  font-weight: 600;
}

h4 {
  font-size: 1rem;
  font-weight: 600;
}

p {
  margin: 0 0 12px;
  color: var(--gray-700);
}

.eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 12px;
}

.eyebrow.light {
  color: #ffb37a;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 31, 58, 0.97);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}

.brand:hover {
  color: var(--white);
}

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 8px;
  background: transparent;
}

.hero-logo {
  width: 110px;
  height: 110px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 6px 24px rgba(244, 124, 44, 0.35));
}

@media (max-width: 720px) {
  .hero-logo {
    width: 84px;
    height: 84px;
  }
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.brand-tag {
  font-size: 0.72rem;
  color: #9fb7d6;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  display: inline-block;
  padding: 8px 14px;
  color: #d5dfee;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 6px;
}

.nav-list a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.nav-list .nav-cta {
  background: var(--accent);
  color: var(--white);
  font-weight: 600;
}

.nav-list .nav-cta:hover {
  background: var(--accent-dark);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 40px;
  height: 40px;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  justify-content: space-between;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  transition: transform 0.12s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: var(--accent-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.btn-ghost-dark {
  background: transparent;
  color: var(--navy-800);
  border-color: var(--navy-800);
}

.btn-ghost-dark:hover {
  background: var(--navy-800);
  color: var(--white);
}

/* Hero */
.hero {
  position: relative;
  color: var(--white);
  overflow: hidden;
  background: var(--navy-900);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1100px 500px at 80% -10%, rgba(244, 124, 44, 0.22), transparent 60%),
    radial-gradient(900px 500px at -10% 100%, rgba(36, 63, 133, 0.55), transparent 60%),
    linear-gradient(180deg, #0c1a3d 0%, #081230 100%);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 40%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, black 30%, transparent 75%);
}

.hero-inner {
  position: relative;
  padding: 96px 24px 112px;
}

.hero-content {
  max-width: 760px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 18px;
}

.lede {
  font-size: 1.15rem;
  color: #cdd9eb;
  max-width: 640px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  color: #cdd9eb;
  font-size: 0.95rem;
}

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

.hero-points span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(201, 84, 43, 0.18);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
}

/* Sections */
.section {
  padding: 88px 0;
}

.section-alt {
  background: var(--gray-100);
}

.section-head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head h2 {
  margin-bottom: 12px;
}

.section-sub {
  color: var(--gray-700);
  font-size: 1.05rem;
}

/* Grids */
.grid {
  display: grid;
  gap: 20px;
}

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

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gray-300);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(11, 31, 58, 0.06);
  color: var(--navy-800);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.card h3 {
  color: var(--ink);
}

.card p {
  margin: 0;
  font-size: 0.95rem;
}

/* Two column */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.two-col.reverse > div:first-child {
  order: 1;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}

.checklist li {
  position: relative;
  padding: 8px 0 8px 28px;
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-700);
}

.checklist li:last-child {
  border-bottom: 0;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 16px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* Capacity card */
.capacity-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
}

.capacity-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}

.capacity-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-900);
}

.capacity-bar {
  position: relative;
  height: 10px;
  background: var(--gray-100);
  border-radius: 999px;
  overflow: hidden;
}

.capacity-bar > span {
  position: absolute;
  inset: 0 auto 0 0;
  background: linear-gradient(90deg, var(--navy-800), var(--accent));
  border-radius: 999px;
}

.capacity-note {
  margin: 8px 0 0;
  font-size: 0.85rem;
  color: var(--gray-500);
  text-align: right;
}

/* Service area */
.area-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.area-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 20px;
}

.area-grid h4 {
  color: var(--ink);
  margin-bottom: 6px;
}

.area-grid p {
  font-size: 0.93rem;
  margin: 0;
}

.area-note {
  margin-top: 18px;
  font-size: 0.85rem;
  color: var(--gray-500);
  font-style: italic;
}

/* Why grid */
.why-grid {
  grid-template-columns: repeat(3, 1fr);
}

.why-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--gray-200);
}

.why-num {
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--accent);
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}

.why-item h3 {
  margin-bottom: 8px;
}

.why-item p {
  font-size: 0.95rem;
  margin: 0;
}

/* Partners */
.partners-grid {
  grid-template-columns: repeat(4, 1fr);
}

.partner-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 26px;
}

.partner-card h3 {
  margin-bottom: 8px;
}

.partner-card p {
  font-size: 0.93rem;
  margin: 0;
}

/* Contact */
.contact-section {
  background: linear-gradient(180deg, #0c1a3d 0%, #081230 100%);
  color: var(--white);
  padding: 96px 0;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-section h2 {
  color: var(--white);
}

.contact-lede {
  color: #cdd9eb;
  font-size: 1.05rem;
  max-width: 520px;
}

.contact-actions {
  margin: 22px 0 28px;
}

.contact-meta {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 24px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-meta div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
}

.contact-meta dt {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #9fb7d6;
  font-weight: 600;
}

.contact-meta dd {
  margin: 0;
  color: #d5dfee;
  font-size: 0.95rem;
}

.contact-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.contact-card h3 {
  color: var(--white);
  margin-bottom: 8px;
}

.contact-card p {
  color: #cdd9eb;
  font-size: 0.93rem;
}

.contact-card ol {
  margin: 12px 0 22px;
  padding-left: 20px;
  color: #d5dfee;
}

.contact-card ol li {
  margin-bottom: 6px;
  font-size: 0.93rem;
}

.contact-card .btn-ghost-dark {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
  width: 100%;
}

.contact-card .btn-ghost-dark:hover {
  background: var(--white);
  color: var(--navy-900);
}

/* Footer */
.site-footer {
  background: #060f29;
  color: #9fb7d6;
  padding: 48px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 32px;
  align-items: start;
}

.footer-brand .brand-name {
  color: var(--white);
  font-size: 1.1rem;
  display: block;
  margin-bottom: 6px;
}

.footer-brand p {
  color: #9fb7d6;
  font-size: 0.9rem;
  margin: 0;
  max-width: 360px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: #d5dfee;
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.88rem;
}

.footer-meta a {
  color: var(--white);
  font-weight: 600;
}

.footer-meta span {
  color: #6f88ab;
}

.footer-entity {
  color: #d5dfee;
  font-size: 0.9rem;
  margin: 0 0 6px;
  font-weight: 500;
}

.footer-legal {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-legal p {
  color: #7f93b3;
  font-size: 0.8rem;
  line-height: 1.6;
  margin: 0 0 8px;
  max-width: 920px;
}

.footer-copyright {
  color: #9fb7d6 !important;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 960px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .two-col {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .two-col.reverse > div:first-child {
    order: 0;
  }
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }
  .nav-list {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--navy-900);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 20px;
    gap: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .nav-list.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-list a {
    padding: 12px 14px;
    font-size: 1rem;
  }
  .section {
    padding: 64px 0;
  }
  .hero-inner {
    padding: 64px 24px 80px;
  }
  .services-grid,
  .why-grid,
  .partners-grid {
    grid-template-columns: 1fr;
  }
  .area-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .contact-meta div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .capacity-row {
    grid-template-columns: 110px 1fr;
  }
  .brand-tag {
    display: none;
  }
}

@media (max-width: 420px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .btn {
    width: 100%;
  }
}

/* Partners CTAs */
.partners-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}

.partners-cta {
  text-align: left;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.partners-cta-alt {
  background: linear-gradient(180deg, #0c1a3d 0%, #122455 100%);
  border-color: transparent;
  color: var(--white);
}

.partners-cta-alt h3,
.partners-cta-alt p {
  color: var(--white);
}

.partners-cta .cta-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 10px;
}

.partners-cta-alt .cta-eyebrow {
  color: var(--accent-soft);
}

.partners-cta h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.partners-cta p {
  margin: 0 0 18px;
  color: var(--gray-700);
}

.partners-cta-alt p {
  color: #cdd9eb;
}

.partners-cta .btn {
  margin-top: auto;
}

@media (max-width: 720px) {
  .partners-cta-grid {
    grid-template-columns: 1fr;
  }
}

/* Modal */
.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 18, 48, 0.6);
  backdrop-filter: blur(2px);
}

.modal-panel {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 760px;
  width: 100%;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  padding: 32px;
  animation: modalIn 0.18s ease-out;
}

@keyframes modalIn {
  from { transform: translateY(8px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: 0;
  width: 36px;
  height: 36px;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--gray-500);
  cursor: pointer;
  border-radius: 8px;
}

.modal-close:hover {
  color: var(--ink);
  background: var(--gray-100);
}

.modal-head {
  margin-bottom: 20px;
}

.modal-head h2 {
  margin-bottom: 6px;
  font-size: 1.5rem;
}

.modal-sub {
  color: var(--gray-700);
  font-size: 0.95rem;
  margin: 0;
}

/* Form */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.dispatch-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-900);
}

.dispatch-form label.span-2 {
  grid-column: 1 / -1;
}

.dispatch-form label em {
  color: var(--accent);
  font-style: normal;
}

.dispatch-form input,
.dispatch-form select,
.dispatch-form textarea {
  font: inherit;
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  padding: 10px 12px;
  width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.dispatch-form input:focus,
.dispatch-form select:focus,
.dispatch-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(244, 124, 44, 0.18);
}

.dispatch-form textarea {
  resize: vertical;
  min-height: 80px;
}

.checkbox-group {
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 12px 14px 14px;
  margin: 0;
}

.checkbox-group legend {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-900);
  padding: 0 6px;
}

.checkbox-group .cb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-right: 16px;
  margin-top: 8px;
}

.checkbox-group .cb input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.form-foot {
  margin: 12px 0 0;
  font-size: 0.8rem;
  color: var(--gray-500);
  text-align: right;
}

.operator-notice {
  margin-top: 18px;
  padding: 12px 14px;
  background: #f3f5fb;
  border-left: 3px solid var(--brand, #0c1a3d);
  color: #36405a;
  text-align: left;
  border-radius: 4px;
  line-height: 1.5;
}

.partner-capacity-copy {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--gray-700, #36405a);
}

.partner-capacity-copy p {
  margin: 0 0 16px;
}

.partner-capacity-actions {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.modal-open {
  overflow: hidden;
}

@media (max-width: 600px) {
  .modal {
    padding: 0;
    align-items: stretch;
  }
  .modal-panel {
    border-radius: 0;
    max-height: 100vh;
    padding: 24px 20px 28px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-actions {
    flex-direction: column-reverse;
  }
  .form-actions .btn {
    width: 100%;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
