/* Runway dispatch redesign */
:root {
  --ink: #17202a;
  --muted: #5d6976;
  --paper: #f5f8f8;
  --panel: #ffffff;
  --line: #dbe6e7;
  --teal: #0d7c83;
  --teal-2: #075763;
  --sky: #dff2f4;
  --copper: #bf7132;
  --gold: #e0a441;
  --night: #111b24;
  --shadow: 0 24px 70px rgba(18, 39, 51, .13);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 10%, rgba(224, 164, 65, .14), transparent 24%),
    radial-gradient(circle at 88% 18%, rgba(13, 124, 131, .16), transparent 28%),
    linear-gradient(180deg, #ffffff 0, #eff7f8 48%, #ffffff 100%);
}

a {
  color: var(--teal-2);
}

.navbar {
  top: 16px;
  right: 24px;
  left: 24px;
  width: auto;
  border: 1px solid rgba(13, 124, 131, .16);
  border-radius: 8px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 18px 48px rgba(13, 36, 48, .11);
}

.navbar:before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--teal), transparent);
  animation: runway-scan 4.2s linear infinite;
}

.navbar-brand span {
  border-radius: 6px;
  background: var(--night);
  color: #fff;
}

.navbar-brand strong {
  font-size: .98rem;
}

.nav-link {
  border-radius: 6px;
  color: var(--ink);
}

.nav-link:hover,
.nav-link.active {
  color: #fff !important;
  background: var(--teal);
  text-decoration: none;
}

.dropdown-menu {
  border: 1px solid rgba(13, 124, 131, .18);
  border-radius: 8px;
}

.btn {
  border-radius: 6px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}

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

.btn-primary {
  color: #fff;
  background: var(--teal);
  border-color: var(--teal);
  box-shadow: 0 12px 28px rgba(13, 124, 131, .24);
}

.btn-primary:hover {
  color: #fff;
  background: var(--teal-2);
  border-color: var(--teal-2);
}

.btn-aog {
  color: #813b12;
  background: #fff4e7;
  border-color: rgba(191, 113, 50, .32);
}

.btn-soft,
.btn-outline {
  color: var(--teal-2);
  background: #fff;
  border-color: rgba(13, 124, 131, .32);
}

.hero {
  min-height: 680px;
  padding: 136px 0 78px;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, .95) 0 42%, rgba(223, 242, 244, .72) 42% 100%);
}

.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 0 46%, rgba(13, 124, 131, .08) 46% 47%, transparent 47% 100%),
    repeating-linear-gradient(0deg, rgba(13, 124, 131, .055) 0 1px, transparent 1px 74px);
}

.hero:after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 44px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(13, 124, 131, .36), transparent);
  animation: runway-scan 5s linear infinite;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  grid-template-columns: minmax(0, .9fr) minmax(440px, 1fr);
  gap: 42px;
}

.hero-copy {
  position: relative;
  overflow: hidden;
  padding: 36px;
  border: 1px solid rgba(13, 124, 131, .18);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.hero-copy:before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  background: linear-gradient(90deg, var(--teal), var(--gold), var(--copper));
}

.hero-copy:after {
  content: "MAINTENANCE DISPATCH";
  position: absolute;
  right: 20px;
  bottom: 16px;
  color: rgba(13, 124, 131, .08);
  font-size: 1.1rem;
  font-weight: 900;
}

.eyebrow {
  color: var(--copper);
  letter-spacing: 0;
}

.hero h1 {
  color: var(--ink);
  font-size: 3.18rem;
  line-height: 1.02;
}

.hero p {
  color: var(--muted);
  font-size: 1.03rem;
}

.hero-visual {
  position: relative;
  min-height: 470px;
  border: 10px solid #fff;
  border-radius: 8px;
  box-shadow: 0 34px 82px rgba(18, 39, 51, .18);
  clip-path: polygon(0 0, 93% 0, 100% 10%, 100% 100%, 7% 100%, 0 90%);
  animation: image-float 7s ease-in-out infinite;
}

.hero-visual:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 0 34%, rgba(255, 255, 255, .28) 44%, transparent 54% 100%);
  transform: translateX(-120%);
  animation: light-sweep 4.8s ease-in-out infinite;
}

.hero-visual img {
  min-height: 470px;
  filter: saturate(1.04) contrast(1.04);
}

.status-card {
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, .52);
  border-radius: 6px;
  background: rgba(17, 27, 36, .88);
  color: #fff;
}

.status-card strong {
  color: #fff;
}

.status-card span {
  color: rgba(255, 255, 255, .72);
}

.section {
  padding: 76px 0;
}

.section-head {
  max-width: 820px;
  padding-left: 18px;
  border-left: 4px solid var(--gold);
}

.section-head h2,
.copy-block h2,
.request-form h2,
.footer-cta h2,
.contact-panel h2,
.content-card h2,
.faq-item h2 {
  font-size: 2.16rem;
  line-height: 1.12;
}

.pale {
  background:
    linear-gradient(180deg, #eaf6f7, #f9fcfc);
}

.service-grid,
.article-grid {
  gap: 22px;
}

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

.service-card,
.article-card,
.request-form,
.copy-block,
.contact-panel,
.content-card,
.faq-item,
.mini-card,
.footer-cta {
  border: 1px solid rgba(13, 124, 131, .14);
  border-radius: 8px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 16px 42px rgba(18, 39, 51, .09);
}

.service-card,
.article-card {
  overflow: hidden;
  transform: translateZ(0);
  transition: transform .26s var(--ease), box-shadow .26s var(--ease), border-color .26s var(--ease);
}

.service-card:hover,
.article-card:hover,
.mini-card:hover {
  transform: translateY(-7px);
  border-color: rgba(13, 124, 131, .34);
  box-shadow: 0 28px 66px rgba(18, 39, 51, .15);
}

.service-card img,
.article-card img {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.03);
  transition: transform .45s var(--ease), filter .45s var(--ease);
}

.service-card:hover img,
.article-card:hover img {
  transform: scale(1.045);
  filter: saturate(1.14) contrast(1.06);
}

.service-card div,
.article-card div {
  position: relative;
  padding: 20px;
}

.service-card span,
.article-card span,
.mini-card span {
  color: var(--copper);
  font-weight: 900;
}

.service-card h3,
.article-card h3 {
  font-size: 1.08rem;
  line-height: 1.25;
}

.more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
}

.more:after {
  content: ">";
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: #fff;
  background: var(--teal);
  transition: transform .22s var(--ease);
}

.more:hover:after {
  transform: translateX(4px);
}

.copy-block,
.contact-panel,
.content-card,
.faq-item {
  position: relative;
  overflow: hidden;
}

.copy-block:before,
.contact-panel:before,
.content-card:before,
.faq-item:before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--gold), var(--copper));
}

.check-list li:before {
  border-radius: 2px;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(13, 124, 131, .1);
}

.request-form {
  top: 106px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(246, 251, 251, .96));
}

.request-form input,
.request-form select,
.request-form textarea {
  border-radius: 6px;
  background: #fff;
}

.request-form input:focus,
.request-form select:focus,
.request-form textarea:focus {
  outline: 2px solid rgba(13, 124, 131, .24);
  border-color: var(--teal);
}

.footer-cta {
  background:
    linear-gradient(135deg, var(--night), #103f49);
}

.footer-cta h2,
.footer-cta .eyebrow,
.footer-cta .eyebrow:before {
  color: #fff;
}

.site-footer {
  background: #ffffff;
}

.mobile-bar a {
  background: var(--teal-2);
}

.mobile-bar a + a {
  background: var(--copper);
}

.reveal {
  opacity: 1 !important;
  transform: none !important;
  animation: rise-in .7s var(--ease) both;
}

.service-card:nth-child(2),
.article-card:nth-child(2) {
  animation-delay: .08s;
}

.service-card:nth-child(3),
.article-card:nth-child(3) {
  animation-delay: .16s;
}

.service-card:nth-child(4) {
  animation-delay: .24s;
}

@keyframes rise-in {
  from {
    opacity: 1;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes image-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes light-sweep {
  0%,
  45% {
    transform: translateX(-120%);
  }

  100% {
    transform: translateX(120%);
  }
}

@keyframes runway-scan {
  0% {
    background-position: -300px 0;
  }

  100% {
    background-position: 300px 0;
  }
}

@media (max-width: 1199px) {
  .hero h1 {
    font-size: 2.58rem;
  }

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

@media (max-width: 991px) {
  .navbar {
    top: 0;
    right: 0;
    left: 0;
    border-width: 0 0 1px;
    border-radius: 0;
  }

  .nav-actions {
    width: 100%;
    align-items: stretch;
  }

  .nav-actions .btn {
    flex: 1 1 130px;
  }

  .hero {
    min-height: 0;
    padding: 100px 0 54px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 0;
  }

  .hero-visual img {
    aspect-ratio: 21 / 9;
  }
}

@media (max-width: 767px) {
  .navbar-brand strong {
    max-width: 214px;
    font-size: .88rem;
  }

  .hero {
    padding: 84px 0 44px;
  }

  .hero-copy {
    padding: 22px;
  }

  .hero-copy:after {
    display: none;
  }

  .hero h1 {
    font-size: 1.7rem;
    line-height: 1.08;
  }

  .hero p {
    font-size: .93rem;
  }

  .hero-visual {
    border-width: 0;
    clip-path: none;
  }

  .status-card {
    position: static;
    display: grid;
    gap: 3px;
    border-radius: 0;
    background: var(--night);
  }

  .section {
    padding: 52px 0;
  }

  .section-head {
    padding-left: 14px;
  }

  .section-head h2,
  .copy-block h2,
  .request-form h2,
  .footer-cta h2,
  .contact-panel h2,
  .content-card h2,
  .faq-item h2 {
    font-size: 1.5rem;
  }

  .service-grid,
  .article-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-card,
  .article-card,
  .request-form,
  .copy-block,
  .contact-panel,
  .content-card,
  .faq-item,
  .mini-card,
  .footer-cta {
    border-radius: 8px;
  }

  .service-card img,
  .article-card img {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 420px) {
  .navbar-brand strong {
    max-width: 178px;
    font-size: .82rem;
  }

  .hero h1 {
    font-size: 1.52rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .hero-visual,
  .navbar:before,
  .hero:after,
  .hero-visual:before {
    animation: none !important;
  }

  .btn,
  .service-card,
  .article-card,
  .service-card img,
  .article-card img {
    transition: none !important;
  }
}
