/* District service page layout - Pioneer Security Services */

.dist-hero {
  background: var(--black, #000000);
  border-bottom: 1px solid var(--border-grey, #3a3a3a);
}
.dist-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 0;
  max-width: var(--wrap, 1240px);
  margin: 0 auto;
}
.dist-hero-copy {
  padding: 56px 24px 56px 0;
}
.dist-hero-title {
  font-family: var(--font-head, "Oswald", Arial, sans-serif);
  font-weight: 700;
  font-size: clamp(38px, 6vw, 66px);
  line-height: 0.95;
  letter-spacing: 0.5px;
  color: var(--white, #ffffff);
  margin: 0;
  text-transform: uppercase;
}
.dist-hero-title span {
  color: var(--green, #62bb46);
  display: block;
}
.dist-hero-rule {
  width: 120px;
  height: 5px;
  background: var(--green, #62bb46);
  margin: 22px 0;
}
.dist-hero-sub {
  font-family: var(--font-head, "Oswald", Arial, sans-serif);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--green, #62bb46);
  font-size: clamp(18px, 2.2vw, 26px);
  line-height: 1.2;
  margin: 0 0 22px;
}
.dist-points {
  list-style: none;
  margin: 0;
  padding: 0;
}
.dist-points li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 18px 0;
  border-top: 1px dotted #4a4a4a;
}
.dist-points li:first-child {
  border-top: 0;
}
.dist-points .dp-ic {
  flex: none;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid var(--green, #62bb46);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green, #62bb46);
  font-size: 22px;
}
.dist-points p {
  margin: 0;
  color: var(--grey-text, #cfcfcf);
  font-size: 16px;
  line-height: 1.55;
}
.dist-hero-media {
  position: relative;
  min-height: 420px;
  background-size: cover;
  background-position: center;
}
.dist-hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0) 45%);
}
.dist-hero-badge {
  position: absolute;
  top: 22px;
  right: 22px;
  text-align: right;
  color: var(--white, #ffffff);
  font-family: var(--font-head, "Oswald", Arial, sans-serif);
  z-index: 2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}
.dist-hero-badge strong {
  display: block;
  font-size: 20px;
  font-weight: 600;
}
.dist-hero-badge span {
  font-size: 13px;
  color: var(--grey-text, #cfcfcf);
  font-family: var(--font-body, "Carlito", Arial, sans-serif);
}
.dist-hero-badge i {
  color: var(--green, #62bb46);
  margin-right: 6px;
}

/* Panels */
.dist-sections {
  background: var(--black, #000000);
  padding: 40px 0 60px;
}
.dist-panel {
  border: 2px solid var(--green, #62bb46);
  border-radius: 18px;
  background: #0a0a0a;
  padding: 30px 32px;
  margin-bottom: 26px;
}
.dist-panel-title {
  font-family: var(--font-head, "Oswald", Arial, sans-serif);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.15;
  color: var(--white, #ffffff);
  margin: 0 0 6px;
}
.dist-panel-title span {
  color: var(--green, #62bb46);
}
.dist-panel-lead {
  color: var(--grey-text, #cfcfcf);
  margin: 0 0 18px;
}
.dist-solutions {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 44px;
}
.dist-solutions li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px dotted #4a4a4a;
  color: var(--white, #ffffff);
  font-size: 17px;
}
.dist-solutions li i {
  color: var(--green, #62bb46);
  font-size: 20px;
  width: 26px;
  text-align: center;
}
.dist-solutions li:nth-last-child(-n + 2) {
  border-bottom: 0;
}

/* Why panel */
.dist-why {
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: 30px;
  align-items: center;
}
.dist-why-ic {
  font-size: 74px;
  color: var(--green, #62bb46);
  line-height: 1;
}
.dist-why-copy h3 {
  font-family: var(--font-head, "Oswald", Arial, sans-serif);
  text-transform: uppercase;
  font-size: 28px;
  margin: 0;
  color: var(--green, #62bb46);
  font-weight: 700;
}
.dist-why-copy h3 span {
  display: block;
  color: var(--white, #ffffff);
  font-size: 22px;
}
.dist-why-copy p {
  color: var(--grey-text, #cfcfcf);
  margin: 10px 0 0;
  font-size: 15px;
}
.dist-checks {
  list-style: none;
  margin: 0;
  padding: 0 0 0 26px;
  border-left: 1px dotted #4a4a4a;
}
.dist-checks li {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  color: var(--white, #ffffff);
  font-size: 17px;
}
.dist-checks li i {
  color: var(--green, #62bb46);
  font-size: 20px;
}

.dist-tagline {
  text-align: center;
  font-family: var(--font-head, "Oswald", Arial, sans-serif);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white, #ffffff);
  font-size: clamp(18px, 2.4vw, 26px);
  margin: 6px 0 0;
}
.dist-tagline span {
  color: var(--green, #62bb46);
}
.dist-back {
  display: inline-block;
  margin-top: 18px;
  color: var(--green, #62bb46);
  font-family: var(--font-head, "Oswald", Arial, sans-serif);
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 900px) {
  .dist-hero-grid {
    grid-template-columns: 1fr;
  }
  .dist-hero-copy {
    padding: 40px 0 32px;
  }
  .dist-hero-media {
    min-height: 260px;
    margin: 0 -16px;
  }
  .dist-solutions {
    grid-template-columns: 1fr;
  }
  .dist-solutions li:nth-last-child(-n + 2) {
    border-bottom: 1px dotted #4a4a4a;
  }
  .dist-solutions li:last-child {
    border-bottom: 0;
  }
  .dist-why {
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: left;
  }
  .dist-checks {
    border-left: 0;
    padding-left: 0;
    border-top: 1px dotted #4a4a4a;
  }
  .dist-panel {
    padding: 24px 18px;
  }
}

/* Card-grid panel (matches "Security designed around your business" layout) */
.dist-cards {
  border: none;
  background: transparent;
  padding: 8px 0 24px;
  text-align: center;
}
.dist-cards-title {
  font-family: var(--font-head, "Oswald", Arial, sans-serif);
  font-weight: 700;
  font-size: clamp(26px, 4.5vw, 42px);
  letter-spacing: 1px;
  color: var(--white, #ffffff);
  margin: 0;
  text-transform: uppercase;
  line-height: 1.1;
}
.dist-cards-title span {
  color: var(--green, #62bb46);
}
.dist-cards-lead {
  color: var(--grey-text, #cfcfcf);
  font-family: var(--font-body, "Carlito", Arial, sans-serif);
  margin: 16px 0 34px;
}
.dist-card-grid {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 980px;
}
.dist-card {
  background: var(--bg-panel, #141414);
  border: 1px solid var(--border-grey, #3a3a3a);
  border-radius: 6px;
  padding: 26px 14px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.dist-card:hover {
  border-color: var(--green, #62bb46);
  transform: translateY(-2px);
}
.dist-card-ic {
  width: 72px;
  height: 72px;
  border: 2px solid var(--green, #62bb46);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dist-card-ic i {
  font-size: 30px;
  color: var(--white, #ffffff);
}
.dist-card-label {
  font-family: var(--font-head, "Oswald", Arial, sans-serif);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.4px;
  color: var(--white, #ffffff);
}
@media (max-width: 900px) {
  .dist-card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
  .dist-card-grid { grid-template-columns: 1fr; }
}
