/* Fire alarm maintenance page */
.fire-maint-banner {
  overflow: hidden;
  background: #0f172a;
}

.fire-maint-banner picture,
.fire-maint-banner-img {
  display: block;
  width: 100%;
}

.fire-maint-banner-img {
  aspect-ratio: 16 / 7;
  object-fit: cover;
  object-position: 36% 24%;
}

.fire-maint-hero {
  background:
    linear-gradient(135deg, rgba(15, 23, 42, .04), rgba(171, 116, 66, .08)),
    #fff;
  border-bottom: 1px solid rgba(15, 23, 42, .08);
}

.fire-maint-eyebrow,
.fire-maint-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 30px;
  padding: .35rem .8rem;
  border: 1px solid rgba(171, 116, 66, .28);
  border-radius: 999px;
  background: rgba(171, 116, 66, .1);
  color: #8a572f;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.fire-maint-hero .lead {
  color: #475569;
}

.fire-maint-hero-list {
  display: grid;
  gap: .75rem;
  max-width: 760px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.fire-maint-hero-list li {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  color: #334155;
  font-weight: 700;
  line-height: 1.45;
}

.fire-maint-hero-list i {
  color: #ab7442;
  margin-top: .16rem;
}

.fire-maint-hero-image,
.fire-maint-section-image {
  display: block;
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 18px 46px rgba(15, 23, 42, .18);
}

.fire-maint-hero-image {
  aspect-ratio: 16 / 11;
  object-position: 18% center;
}

.fire-maint-section-image {
  aspect-ratio: 4 / 3;
}

.fire-maint-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fff;
  border-bottom: 1px solid rgba(15, 23, 42, .1);
  box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
}

.fire-maint-nav .container {
  display: flex;
  justify-content: center;
  gap: .75rem;
  overflow-x: auto;
  padding-top: .85rem;
  padding-bottom: .85rem;
}

.fire-maint-nav a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 40px;
  padding: .55rem 1rem;
  border: 1px solid rgba(15, 23, 42, .1);
  border-radius: 999px;
  background: #f8fafc;
  color: #0f172a;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.fire-maint-nav a:hover {
  color: #fff;
  background: #ab7442;
  transform: translateY(-1px);
}

#coverage,
#problems,
#plans,
#related,
#faq {
  scroll-margin-top: 86px;
}

.fire-maint-narrow {
  max-width: 820px;
}

.fire-maint-card,
.fire-maint-plan,
.fire-maint-related {
  height: 100%;
  border: 1px solid rgba(15, 23, 42, .09);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .07);
}

.fire-maint-card,
.fire-maint-plan {
  padding: 1.35rem;
}

.fire-maint-card h3,
.fire-maint-plan h3,
.fire-maint-related h3 {
  margin-bottom: .55rem;
  color: #0f172a;
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.3;
}

.fire-maint-card p,
.fire-maint-plan p,
.fire-maint-related p {
  margin-bottom: 0;
  color: #64748b;
  line-height: 1.55;
}

.fire-maint-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  flex: 0 0 48px;
  margin-bottom: 1rem;
  border-radius: 8px;
  background: rgba(171, 116, 66, .12);
  color: #ab7442;
  font-size: 1.35rem;
}

.fire-maint-problem-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
}

.fire-maint-problem {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  min-height: 74px;
  padding: 1rem;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 8px;
  background: #fff;
  color: #0f172a;
  font-weight: 800;
  line-height: 1.35;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .05);
}

.fire-maint-problem i {
  color: #ab7442;
  font-size: 1.2rem;
  margin-top: .08rem;
}

.fire-maint-related {
  display: flex;
  flex-direction: column;
  padding: 1.35rem;
  color: #0f172a;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.fire-maint-related:hover {
  border-color: rgba(171, 116, 66, .38);
  color: #0f172a;
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(15, 23, 42, .12);
}

.fire-maint-related strong {
  margin-top: auto;
  padding-top: 1rem;
  color: #ab7442;
}

.fire-maint-cta {
  background: #fff;
  border-top: 1px solid rgba(15, 23, 42, .08);
}

.fire-maint-cta p {
  color: #64748b;
}

@media (max-width: 991.98px) {
  .fire-maint-nav .container {
    justify-content: flex-start;
  }

  .fire-maint-hero-image {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 767.98px) {
  .fire-maint-hero {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  .fire-maint-hero h1 {
    font-size: 2rem;
    line-height: 1.18;
  }

  .fire-maint-banner-img {
    aspect-ratio: 4 / 3;
    object-position: 50% 30%;
  }

  .fire-maint-hero .lead {
    font-size: 1rem;
    line-height: 1.55;
  }

  .fire-maint-actions .btn,
  .fire-maint-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .fire-maint-nav a {
    min-height: 38px;
    padding: .5rem .85rem;
    font-size: .9rem;
  }

  .fire-maint-hero-image {
    aspect-ratio: 4 / 3;
    object-position: 18% center;
  }

  .fire-maint-services .fire-maint-card {
    display: flex;
    align-items: flex-start;
    gap: .95rem;
    padding: 1rem;
  }

  .fire-maint-services .fire-maint-icon {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    margin-bottom: 0;
    font-size: 1.2rem;
  }

  .fire-maint-card h3,
  .fire-maint-plan h3,
  .fire-maint-related h3 {
    font-size: 1rem;
  }

  .fire-maint-card p,
  .fire-maint-plan p,
  .fire-maint-related p,
  .fire-maint-problem {
    font-size: .93rem;
    line-height: 1.48;
  }

  .fire-maint-problem-grid {
    grid-template-columns: 1fr;
  }

  .fire-maint-problem {
    min-height: auto;
  }

  .fire-maint-section-image {
    aspect-ratio: 16 / 11;
  }
}
