:root {
  --ink: #101417;
  --muted: #697078;
  --line: rgba(255, 255, 255, 0.12);
  --paper: #151a1c;
  --white: #ffffff;
  --navy: #071827;
  --steel: #9aa5ad;
  --blue: #10c7d8;
  --blue-dark: #0993a8;
  --lime: #28f0a0;
  --success: #116149;
  --max: 1180px;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #111616;
  color: #f4f6f7;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid rgba(31, 95, 139, 0.45);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--white);
  color: var(--ink);
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(18, 21, 21, 0.94);
  border-bottom: 1px solid rgba(16, 199, 216, 0.18);
  backdrop-filter: blur(12px);
}

.nav {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  color: var(--white);
  min-width: 0;
}

.brand-logo {
  display: block;
  width: 180px;
  max-width: 42vw;
  height: auto;
}

.brand-logo-light {
  filter: none;
  mix-blend-mode: normal;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: transparent;
  color: var(--white);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  margin: 4px auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links a[aria-current="page"],
.nav-links a:hover {
  color: var(--white);
}

.button,
button.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid var(--navy);
  background: var(--blue-dark);
  color: var(--white);
  padding: 0.76rem 1rem;
  font-weight: 720;
  text-decoration: none;
  cursor: pointer;
  border-radius: 0;
  font-family: inherit;
  font-size: 0.94rem;
}

.button:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #061214;
}

.button.secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(16, 199, 216, 0.75);
}

.button.secondary:hover {
  background: rgba(16, 199, 216, 0.13);
  color: var(--white);
}

.container {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: stretch;
  position: relative;
  overflow: hidden;
  background: #071019;
  color: var(--white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 16, 25, 0.94) 0%, rgba(7, 16, 25, 0.74) 42%, rgba(7, 16, 25, 0.36) 100%),
    linear-gradient(0deg, rgba(7, 16, 25, 0.86), rgba(7, 16, 25, 0.06) 45%, rgba(7, 16, 25, 0.8)),
    url("images/mro-hangar-hero.jpg") center / cover;
  transform: scale(1.05);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-scan {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent, rgba(16, 199, 216, 0.12), transparent),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 72px);
  mix-blend-mode: screen;
  opacity: 0.55;
  animation: scanMove 12s linear infinite;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
  align-content: center;
  gap: 3rem;
  padding: 4.5rem 0 2rem;
}

.hero-copy {
  align-self: center;
  animation: riseIn 0.9s ease both;
}

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

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

h1 {
  max-width: 900px;
  margin-bottom: 1.35rem;
  font-size: clamp(2.65rem, 5.15vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.2rem;
  line-height: 1.25;
  margin-bottom: 0.55rem;
}

.lead {
  max-width: 710px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
}

.dark-lead {
  max-width: 760px;
  color: rgba(244, 246, 247, 0.72);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.55rem;
}

.hero-visual {
  position: relative;
  min-height: 390px;
  align-self: center;
}

.hero-frame {
  position: absolute;
  background: rgba(13, 24, 29, 0.78);
  border: 1px solid rgba(16, 199, 216, 0.22);
  box-shadow: var(--shadow);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
}

.hero-frame-main {
  width: 72%;
  height: 50%;
  right: 0;
  top: 8%;
  animation: floatA 7s ease-in-out infinite;
}

.hero-frame-side {
  width: 66%;
  height: 32%;
  left: 0;
  bottom: 22%;
  animation: floatB 8s ease-in-out infinite;
}

.hero-frame-small {
  width: 42%;
  height: 25%;
  right: 8%;
  bottom: 4%;
  animation: floatC 9s ease-in-out infinite;
}

.metrics {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  margin-top: 3rem;
}

.metric {
  padding: 1rem 1rem 0 0;
}

.metric strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.metric span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.section {
  padding: 5rem 0;
  background: #111616;
}

.section.alt {
  background: #151b1d;
}

.section.navy {
  background: #071827;
  color: var(--white);
}

.section.navy .dark-lead,
.section.navy p {
  color: rgba(255, 255, 255, 0.75);
}

.section.navy .plain-list {
  color: rgba(255, 255, 255, 0.75);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: end;
  margin-bottom: 2.5rem;
}

.grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

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

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

.grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: #f4f7f8;
  color: var(--ink);
  padding: 1.55rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.card.image-card {
  padding: 0;
}

.card.image-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.card.image-card.product img {
  object-fit: contain;
  padding: 1rem;
  background: var(--paper);
}

.media-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-bottom: 2rem;
}

.media-tile {
  background: var(--white);
}

.media-tile img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  padding: 0;
  background: #071827;
}

.media-tile figcaption {
  border-top: 1px solid var(--line);
  padding: 0.75rem 1rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.branded-visual {
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #071827;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.branded-visual img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.capability-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow);
}

.capability-gallery figure {
  margin: 0;
  background: #071827;
  overflow: hidden;
}

.capability-gallery img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.capability-gallery figure:hover img {
  transform: scale(1.035);
}

.card-body {
  padding: 1.45rem;
}

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

.kicker {
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.plain-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.plain-list li {
  margin: 0.35rem 0;
}

.band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #0d222f;
  padding: 2.5rem 0;
}

.band .dark-lead {
  color: rgba(255, 255, 255, 0.72);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 4rem;
  align-items: start;
}

.page-hero {
  background:
    linear-gradient(90deg, rgba(7, 16, 25, 0.94), rgba(7, 16, 25, 0.78)),
    url("images/mro-hangar-hero.jpg") center / cover;
  color: var(--white);
  padding: 5.5rem 0 4rem;
}

.page-hero .dark-lead {
  color: rgba(255, 255, 255, 0.74);
}

.breadcrumb {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.85rem;
  margin-bottom: 1.4rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.84);
}

.service-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
}

.service-table th,
.service-table td {
  text-align: left;
  vertical-align: top;
  padding: 1rem;
  border-bottom: 1px solid var(--line);
}

.service-table th {
  width: 28%;
  color: var(--navy);
}

.contact-panel .button.secondary {
  color: var(--navy);
  border-color: var(--navy);
}

.contact-panel .button.secondary:hover {
  color: var(--white);
  background: var(--navy);
}

.contact-panel {
  background: #f4f7f8;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 1.5rem;
}

.contact-panel > img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  margin-bottom: 1.25rem;
  background: #071827;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  font-size: 0.86rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #bfc7d2;
  background: var(--white);
  min-height: 46px;
  padding: 0.75rem 0.85rem;
  font: inherit;
  color: var(--ink);
}

textarea {
  min-height: 160px;
  resize: vertical;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 1.5rem;
  color: var(--success);
  font-weight: 650;
}

.notice {
  border-left: 4px solid var(--blue);
  padding: 1rem 1.2rem;
  background: #eef5fa;
  color: var(--steel);
}

.site-footer {
  background: #071827;
  color: rgba(255, 255, 255, 0.76);
  padding: 3rem 0;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  width: 44px;
  height: 44px;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  text-decoration: none;
}

.scroll-cue span {
  width: 18px;
  height: 18px;
  border-right: 4px solid rgba(255, 255, 255, 0.82);
  border-bottom: 4px solid rgba(255, 255, 255, 0.82);
  transform: rotate(45deg);
  animation: cuePulse 1.8s ease-in-out infinite;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@keyframes heroDrift {
  from { transform: scale(1.06) translate3d(-1.2%, -0.8%, 0); }
  to { transform: scale(1.11) translate3d(1.2%, 0.8%, 0); }
}

@keyframes scanMove {
  from { background-position: -40vw 0, 0 0; }
  to { background-position: 120vw 0, 80px 0; }
}

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

@keyframes floatA {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes floatB {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(10px) translateX(8px); }
}

@keyframes floatC {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

@keyframes cuePulse {
  0%, 100% { opacity: 0.55; transform: translateY(-4px) rotate(45deg); }
  50% { opacity: 1; transform: translateY(5px) rotate(45deg); }
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 3rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  margin: 0.28rem 0;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin-top: 2rem;
  padding-top: 1rem;
  font-size: 0.86rem;
}

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

  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 78px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(18, 21, 21, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1rem 1rem;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    display: block;
    padding: 0.8rem 0;
  }

  .metrics,
  .grid.three,
  .grid.two,
  .grid.four,
  .media-strip,
  .capability-gallery,
  .section-head,
  .split,
  .footer-grid,
  .footer-links,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .metrics {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 2rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 3rem 0 1.5rem;
  }

  .hero-visual {
    min-height: 280px;
  }

  .hero-frame-main {
    width: 68%;
  }

  .hero-frame-side {
    width: 70%;
    bottom: 18%;
  }

  .hero-frame-small {
    width: 48%;
  }

  .section {
    padding: 3.25rem 0;
  }

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