/* ============================================================
   Appliance Rentals — Areas of Service page (Figma rebrand)
   Shares component styles with homepage.css; page classes: ara-*.
   ============================================================ */

/* ---------- hero + mission card ---------- */
.ara-hero {
  padding: 36px var(--ar-gutter) 0;
  position: relative;
}
.ara-hero-band {
  position: absolute;
  top: 36px;
  left: var(--ar-gutter);
  right: var(--ar-gutter);
  height: 415px;
  background-color: var(--ar-navy);
  background-image: url("../../images/homepage/hero-bg.webp");
  background-image: image-set(url("../../images/homepage/hero-bg.webp") 1x, url("../../images/homepage/hero-bg@2x.webp") 2x);
  background-size: cover;
  background-position: center;
  border-radius: 60px;
}
.ara-hero-inner {
  position: relative;
  max-width: 1601px;
  margin: 0 auto;
  min-height: 614px;
}
.ara-hero-title {
  margin: 0;
  padding-top: 46px;
  font-weight: 700;
  font-size: 38px;
  line-height: 45px;
  color: #fff;
  text-align: center;
}
.ara-hero-subtitle {
  margin: 15px auto 0;
  max-width: 716px;
  font-weight: 300;
  font-size: 24px;
  line-height: 34px;
  color: #fff;
  text-align: center;
}

.ara-mission-card {
  margin-top: 34px;
}

/* ---------- locations intro ---------- */
.ara-locations-intro {
  padding: 100px 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.ara-locations-intro .ar-section-title {
  margin-top: 23px;
}
.ara-locations-text {
  margin: 16px 0 10px 0;
  max-width: 762px;
  font-weight: 300;
  font-size: 24px;
  line-height: 34px;
  color: #242424;
}
.ara-locations-text-bold {
  margin-top: 0;
  font-weight: 700;
}

.ar-areas-mini {
  padding-top: 55px;
}

.ar-how {
  margin-top: 90px;
  margin-bottom: 90px;
}

/* ---------- responsive ---------- */
@media (max-width: 1700px) {
  .ara-how .ar-how-inner::before {
    left: -100px;
    right: -100px;
  }
}

@media (max-width: 1400px) {
  .ara-how .ar-how-media img {
    width: min(715px, 44vw);
    height: auto;
  }
}

@media (max-width: 1360px) {
  .ara-hero-title {
    font-size: 32px;
    line-height: 38px;
  }
  .ara-hero-subtitle {
    font-size: 20px;
    line-height: 28px;
  }
  .ara-locations-text {
    font-size: 20px;
    line-height: 28px;
  }
  .ara-how-title {
    font-size: 28px;
    line-height: 33px;
  }
}

@media (max-width: 1100px) {
  .ara-how .ar-how-inner::before {
    left: -30px;
    right: -30px;
  }
}

@media (min-width: 768px) and (max-width: 992px) {
  .ara-hero {
    padding-left: 40px;
    padding-right: 40px;
  }
  .ara-hero-band {
    left: 40px;
    right: 40px;
  }
}

@media (max-width: 767px) {
  .ara-hero {
    padding: 0;
  }
  .ara-hero-band {
    display: none;
  }
  .ara-hero-inner {
    min-height: 0;
    background-color: var(--ar-navy);
    background-image: url("../../images/homepage/hero-bg-mobile.webp");
    background-image: image-set(url("../../images/homepage/hero-bg-mobile.webp") 1x, url("../../images/homepage/hero-bg-mobile@2x.webp") 2x);
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: top center;
    border-radius: 0 0 50px 50px;
    padding: 47px 20px 44px;
  }
  .ara-hero-title {
    padding-top: 0;
    font-size: 40px;
    line-height: 46px;
  }
  .ara-hero-subtitle {
    margin-top: 22px;
    font-size: 18px;
    line-height: 24px;
    max-width: 350px;
  }

  .ara-mission-card {
    margin: 32px auto 0;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    max-width: 350px;
  }
  .ara-mission-card .ar-section-title,
  .ara-mission-card .ar-cta-desc,
  .ara-mission-card .ar-benefits {
    display: none;
  }
  .ara-mission-card .ar-cityform {
    margin: 0;
  }
  .ara-locations-intro {
    padding-top: 60px;
  }
  .ara-locations-intro .ar-pill {
    align-self: flex-start;
    margin-left: 22px;
  }
  .ara-locations-intro .ar-section-title {
    margin-top: 25px;
  }
  .ara-locations-text {
    font-size: 18px;
    line-height: 24px;
    max-width: 354px;
  }

  .ar-areas-mini {
    padding: 35px 20px 0;
  }
  .ar-areas-mini .ar-areas-grid {
    display: grid;
    grid-template-columns: repeat(2, 169px);
    gap: 20px 12px;
    justify-content: center;
  }
  .ar-areas-mini .ar-area-card {
    width: 169px;
    border-radius: 9px;
  }
  .ar-areas-mini .ar-area-card img {
    height: 80px;
    border-radius: 9px 9px 0 0;
  }
  .ar-areas-mini .ar-area-card span {
    padding: 8px 10px 9px;
    font-size: 13px;
    line-height: 15px;
  }
  .ara-how {
    margin-top: 0;
  }
  .ara-how .ar-how-inner::before {
    left: -20px;
    right: -20px;
    top: 31px;
    bottom: 57px;
  }
  .ara-how .ar-how-content {
    padding: 0;
  }
  .ara-how-title {
    margin-top: 25px;
    font-size: 28px;
    line-height: 33px;
    text-align: center;
  }
  .ara-checklist {
    text-align: left;
  }
  .ara-checklist li {
    font-size: 16px;
    line-height: 22px;
  }
  .page-content a.ara-cta-btn {
    margin: 26px auto 0;
    padding: 15px 33px;
    font-size: 16px;
    line-height: 19px;
  }
  .ara-how .ar-how-media img {
    width: 342px;
    height: 342px;
  }
}

@media (max-width: 767px) {
  .ara-hero-subtitle {
    font-size: 17px;
    margin-top: 14px;
  }
  .ar-section-title {
    font-size: 26px;
  }
  .ara-locations-text {
    font-size: 17px;
  }
  .ara-locations-text-bold {
    font-weight: 300;
  }
  .ar-areas-mini {
    padding: 15px 20px 0;
  }
  .ara-how {
    margin-top: 55px;
  }
  .ara-how .ar-how-media {
    margin-top: 30px;
  }
  .ar-how {
    margin-top: 59px;
    margin-bottom: 53px;
  }

  .ara-hero .ar-cityform {
    max-width: 330px;
  }
}
