:root {
  --ink: #102027;
  --muted: #5d6970;
  --line: #d9e0df;
  --paper: #f8faf7;
  --surface: #ffffff;
  --steel: #21444b;
  --teal: #0e7c72;
  --gold: #d99a2b;
  --rust: #b4552c;
  --shadow: 0 18px 45px rgba(16, 32, 39, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px clamp(18px, 4vw, 56px);
  color: #fff;
  transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(16, 32, 39, 0.96);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.site-header.is-scrolled {
  padding-block: 12px;
}

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

.brand.dark {
  color: var(--ink);
}

.brand.dark .brand-mark {
  border-color: var(--line);
  background: var(--steel);
}

.brand.dark small {
  color: var(--muted);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  max-width: min(36vw, 320px);
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.16;
}

.brand small {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.74rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.93rem;
  font-weight: 700;
}

.site-nav a {
  border-bottom: 2px solid transparent;
  padding-block: 6px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  border-color: var(--gold);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  color: #fff;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 23, 28, 0.88) 0%, rgba(8, 23, 28, 0.62) 43%, rgba(8, 23, 28, 0.08) 100%),
    linear-gradient(0deg, rgba(8, 23, 28, 0.2), rgba(8, 23, 28, 0.2));
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 92vh;
  width: min(720px, calc(100% - 36px));
  padding: 112px 0 72px;
  margin-left: clamp(18px, 7vw, 92px);
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(2.7rem, 8.2vw, 6.3rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 2vw, 1.22rem);
}

.hero-actions,
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0 18px;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--gold);
  color: #152128;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--steel);
  color: #fff;
}

.stats a {
  min-height: 138px;
  padding: clamp(20px, 4vw, 36px);
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 160ms ease;
}

.stats a:hover,
.stats a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}

.stats strong {
  display: block;
  color: var(--gold);
  font-size: clamp(2rem, 5vw, 3.3rem);
  line-height: 1;
}

.stats span {
  display: block;
  max-width: 180px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.section,
.operations,
.infrastructure,
.contact-section {
  padding: clamp(64px, 9vw, 112px) clamp(18px, 5vw, 72px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(280px, 1.3fr);
  gap: clamp(22px, 5vw, 72px);
  align-items: start;
  margin-bottom: clamp(30px, 5vw, 54px);
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -4px;
}

.section-heading p:not(.eyebrow) {
  max-width: 590px;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.interior-page {
  background: #f4f7f5;
}

.interior-page .site-header {
  position: sticky;
}

.page-hero {
  padding: clamp(120px, 15vw, 180px) clamp(18px, 5vw, 72px) clamp(54px, 8vw, 88px);
  background: var(--ink);
  color: #fff;
}

.page-hero h1 {
  max-width: 980px;
  font-size: clamp(2.4rem, 6vw, 5.2rem);
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 2vw, 1.22rem);
}

.image-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(320px, 1.14fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
}

.image-hero img {
  width: 100%;
  min-height: 380px;
  border-radius: 8px;
  object-fit: cover;
}

.page-hub {
  background: #f3f5f1;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hub-card {
  display: grid;
  align-content: end;
  min-height: 260px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(22px, 4vw, 32px);
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(16, 32, 39, 0.03);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.hub-card.featured {
  grid-column: span 2;
  background:
    linear-gradient(160deg, rgba(16, 32, 39, 0.9), rgba(16, 32, 39, 0.58)),
    url("assets/terminal-hero.png") center / cover;
  color: #fff;
}

.hub-card:hover,
.hub-card:focus-visible,
.service-card:hover,
.service-card:focus-visible,
.product-panel:hover,
.product-panel:focus-visible,
.process-list a:hover,
.process-list a:focus-visible,
.safety-grid a:hover,
.safety-grid a:focus-visible,
.infrastructure-list a:hover,
.infrastructure-list a:focus-visible {
  border-color: rgba(14, 124, 114, 0.45);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.hub-card span {
  width: fit-content;
  margin-bottom: 18px;
  border-left: 4px solid var(--gold);
  padding-left: 10px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hub-card.featured span {
  color: var(--gold);
}

.hub-card p {
  margin: 0;
  color: var(--muted);
}

.hub-card.featured p {
  color: rgba(255, 255, 255, 0.82);
}

.products {
  background:
    linear-gradient(135deg, rgba(14, 124, 114, 0.08), rgba(217, 154, 43, 0.08)),
    var(--paper);
}

.product-board {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 14px;
}

.product-panel {
  display: grid;
  align-content: end;
  min-height: 260px;
  border: 1px solid rgba(16, 32, 39, 0.12);
  border-radius: 8px;
  padding: clamp(22px, 4vw, 34px);
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(16, 32, 39, 0.04);
}

.product-panel.featured {
  grid-row: span 2;
  min-height: 534px;
  background:
    linear-gradient(160deg, rgba(16, 32, 39, 0.9), rgba(16, 32, 39, 0.62)),
    url("assets/terminal-hero.png") center / cover;
  color: #fff;
}

.product-panel span {
  width: fit-content;
  margin-bottom: 18px;
  border-left: 4px solid var(--gold);
  padding-left: 10px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.product-panel.featured span {
  color: var(--gold);
}

.product-panel p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
}

.product-panel.featured p {
  color: rgba(255, 255, 255, 0.82);
}

.section-heading.compact {
  display: block;
  max-width: 820px;
}

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

.service-card,
.safety-grid a,
.process-list a,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(16, 32, 39, 0.03);
}

.service-card {
  min-height: 270px;
  padding: 24px;
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 32px;
  border-radius: 6px;
  background: #e6f1ef;
  color: var(--teal);
  font-size: 0.85rem;
  font-weight: 900;
}

.service-card p,
.safety-grid p,
.process-list p,
.contact-copy p {
  color: var(--muted);
  margin: 0;
}

.operations {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(300px, 1.05fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  background: #eaf0ee;
}

.operations-copy p:not(.eyebrow) {
  margin: 20px 0 0;
  max-width: 620px;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  margin-top: 28px;
  color: var(--teal);
  font-weight: 900;
  border-bottom: 2px solid currentColor;
}

.process-list {
  display: grid;
  gap: 12px;
}

.process-list a {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 4px 18px;
  padding: 22px;
}

.process-list span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 6px;
  background: var(--rust);
  color: #fff;
  font-weight: 900;
}

.infrastructure {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(300px, 1.08fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: center;
  background: #f3f5f1;
}

.infrastructure-media {
  min-height: 520px;
  overflow: hidden;
  border-radius: 8px;
}

.infrastructure-media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.infrastructure-copy p:not(.eyebrow) {
  max-width: 660px;
  margin: 20px 0 0;
  color: var(--muted);
}

.infrastructure-list {
  display: grid;
  gap: 12px;
  margin: 30px 0 0;
}

.infrastructure-list div,
.infrastructure-list a {
  display: block;
  border-left: 5px solid var(--gold);
  padding: 18px 20px;
  background: #fff;
}

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

.infrastructure-list dt {
  color: var(--steel);
  font-weight: 900;
}

.infrastructure-list dd {
  margin: 6px 0 0;
  color: var(--muted);
}

.safety {
  background: #fff;
}

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

.safety-grid a {
  padding: 26px;
  border-top: 5px solid var(--teal);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(28px, 6vw, 72px);
  background: var(--ink);
  color: #fff;
}

.contact-copy {
  align-self: center;
}

.contact-copy p:not(.eyebrow) {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.72);
}

.contact-details a {
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.38);
  padding-bottom: 4px;
}

.contact-address {
  max-width: 560px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.82);
  font-style: normal;
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 32px);
  color: var(--ink);
}

.contact-page {
  min-height: calc(100vh - 84px);
  padding-top: clamp(120px, 15vw, 180px);
}

.hidden-field {
  display: none;
}

label {
  display: grid;
  gap: 7px;
  color: var(--steel);
  font-size: 0.86rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfcfb;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(14, 124, 114, 0.16);
  border-color: var(--teal);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--teal);
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  background: #0b171b;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #fff;
  font-weight: 800;
}

.simple-page {
  min-height: 100vh;
  background: #f4f7f5;
}

.thank-you {
  display: grid;
  align-content: center;
  gap: clamp(44px, 7vw, 72px);
  min-height: 100vh;
  width: min(760px, calc(100% - 36px));
  margin: 0 auto;
  padding: 48px 0;
}

.thank-you section {
  border-left: 6px solid var(--gold);
  padding-left: clamp(20px, 4vw, 36px);
}

.thank-you h1 {
  color: var(--ink);
  font-size: clamp(3rem, 10vw, 6rem);
}

.thank-you p:not(.eyebrow) {
  max-width: 600px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.thank-you .button {
  width: fit-content;
  margin-top: 28px;
}

@media (max-width: 1080px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(16, 32, 39, 0.98);
    padding: 10px;
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 13px 10px;
  }
}

@media (max-width: 980px) {
  .stats,
  .service-grid,
  .safety-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-heading,
  .image-hero,
  .operations,
  .infrastructure,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .product-board {
    grid-template-columns: 1fr;
  }

  .product-panel.featured {
    grid-row: auto;
    min-height: 360px;
  }

  .service-card {
    min-height: 230px;
  }

  .infrastructure-media,
  .infrastructure-media img {
    min-height: 360px;
  }

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

  .wide-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand small {
    display: none;
  }

  .hero,
  .hero-content {
    min-height: 88vh;
  }

  .hero-content {
    width: calc(100% - 36px);
    margin-inline: 18px;
    padding-top: 100px;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(8, 23, 28, 0.92), rgba(8, 23, 28, 0.52));
  }

  .stats,
  .service-grid,
  .safety-grid,
  .hub-grid {
    grid-template-columns: 1fr;
  }

  .hub-card.featured {
    grid-column: auto;
  }

  .product-panel,
  .product-panel.featured {
    min-height: 260px;
  }

  .stats a {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .process-list a {
    grid-template-columns: 42px 1fr;
    padding: 18px;
  }

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

@media (max-width: 430px) {
  .brand strong {
    max-width: 210px;
    font-size: 0.82rem;
  }

  .brand-mark {
    width: 42px;
    height: 38px;
  }

  .hero-actions,
  .contact-details {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }
}
