:root {
  color-scheme: light;
  --ink: #172033;
  --muted: #667085;
  --line: #d7dde8;
  --paper: #f6f8fb;
  --white: #ffffff;
  --navy: #213a5f;
  --blue: #2e6fb8;
  --teal: #22a4a8;
  --amber: #d89a2b;
  --shadow: 0 24px 70px rgba(31, 55, 88, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(246, 248, 251, 0.88);
  border-bottom: 1px solid rgba(215, 221, 232, 0.72);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: min(230px, 48vw);
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 32px);
  color: #36445c;
  font-size: 0.93rem;
  font-weight: 700;
}

.nav-links a {
  transition: color 180ms ease;
}

.nav-links a:hover {
  color: var(--blue);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 86vh;
  overflow: hidden;
  padding: 140px clamp(20px, 7vw, 96px) 80px;
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.96) 0%, rgba(246, 248, 251, 0.9) 45%, rgba(231, 238, 247, 0.82) 100%),
    url("assets/adops-aviation-logo.svg") right 8vw center / min(44vw, 520px) auto no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 24vh;
  background: linear-gradient(180deg, rgba(246, 248, 251, 0), var(--paper));
  pointer-events: none;
}

.hero-background {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.flight-line {
  position: absolute;
  width: 62vw;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(46, 111, 184, 0.38), transparent);
  transform: rotate(-17deg);
}

.flight-line-one {
  top: 24%;
  right: -10vw;
}

.flight-line-two {
  top: 56%;
  right: 4vw;
  background: linear-gradient(90deg, transparent, rgba(34, 164, 168, 0.34), transparent);
}

.runway {
  position: absolute;
  right: 8vw;
  bottom: 10vh;
  width: min(42vw, 520px);
  height: 140px;
  border-right: 2px solid rgba(33, 58, 95, 0.14);
  border-left: 2px solid rgba(33, 58, 95, 0.14);
  transform: perspective(460px) rotateX(64deg);
}

.runway::before {
  content: "";
  position: absolute;
  inset: 0 49%;
  border-left: 3px dashed rgba(216, 154, 43, 0.52);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 710px;
}

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

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(3.25rem, 9vw, 7.2rem);
  line-height: 0.93;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 34px;
  color: #445066;
  font-size: clamp(1.12rem, 2vw, 1.38rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

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

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

.button-primary {
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 16px 34px rgba(33, 58, 95, 0.24);
}

.button-secondary {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(33, 58, 95, 0.18);
}

.section {
  padding: 78px clamp(20px, 7vw, 96px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 560px) minmax(220px, 1fr);
  align-items: end;
  gap: 32px;
  margin-bottom: 30px;
}

.section-heading h2,
.company-panel h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: 0;
}

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

.service-card {
  min-height: 280px;
  padding: clamp(24px, 4vw, 40px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(31, 55, 88, 0.08);
}

.service-number {
  display: inline-flex;
  margin-bottom: 52px;
  color: var(--amber);
  font-weight: 800;
}

.service-card h3 {
  margin-bottom: 16px;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.15;
}

.service-card p,
.company-panel p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.company-section {
  padding-top: 40px;
}

.company-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: clamp(28px, 6vw, 76px);
  padding: clamp(28px, 5vw, 56px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(33, 58, 95, 0.98), rgba(34, 164, 168, 0.88)),
    var(--navy);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.company-panel .eyebrow,
.company-panel p {
  color: rgba(255, 255, 255, 0.8);
}

.company-panel p {
  max-width: 720px;
  margin-top: 22px;
}

.company-details {
  display: grid;
  gap: 16px;
  margin: 0;
}

.company-details div {
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.company-details dt {
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.company-details dd {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 30px clamp(20px, 7vw, 96px) 42px;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--navy);
  font-weight: 800;
}

@media (max-width: 820px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: auto;
    padding-top: 70px;
    background:
      linear-gradient(130deg, rgba(255, 255, 255, 0.96), rgba(238, 244, 250, 0.92)),
      url("assets/adops-aviation-logo.svg") right 4vw top 42px / min(76vw, 360px) auto no-repeat;
  }

  .hero-content {
    padding-top: 140px;
  }

  .runway {
    display: none;
  }

  .section-heading,
  .service-grid,
  .company-panel {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .service-number {
    margin-bottom: 32px;
  }

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

@media (max-width: 520px) {
  .brand {
    width: min(220px, 78vw);
  }

  .nav-links {
    gap: 10px;
    font-size: 0.86rem;
  }

  .button {
    width: 100%;
  }
}
