/* ============================================================
   Appliance Rentals — About Us page (Figma rebrand)
   Shares component styles with homepage.css; page classes: aru-*.
   ============================================================ */

/* ---------- hero ---------- */
.aru-hero {
  padding: 36px var(--ar-gutter) 0;
}
.aru-hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 500px;
  background-image: url("../../images/about/hero-bg.webp");
  background-image: image-set(url("../../images/about/hero-bg.webp") 1x, url("../../images/about/hero-bg@2x.webp") 2x);
  background-size: cover;
  background-position: center 65%;
  border-radius: 60px;
  overflow: hidden;
  padding: 50px 20px 40px;
}
.aru-hero-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(30, 27, 56, 0.78);
}
.aru-hero-inner > * {
  position: relative;
}
.aru-hero-title {
  margin: 0;
  max-width: 765px;
  font-weight: 700;
  font-size: 40px;
  line-height: 50px;
  color: #fff;
  text-align: center;
}
.aru-hero-subtitle {
  margin: 14px 0 0;
  max-width: 563px;
  font-weight: 300;
  font-size: 24px;
  line-height: 34px;
  color: #fff;
  text-align: center;
}
.aru-hero-subtitle strong {
  font-weight: 700;
}
.aru-hero-inner .ar-cityform {
  margin-top: 20px;
}
.aru-hero-inner .ar-benefits {
  margin-top: 34px;
}

/* ---------- story rows ---------- */
.aru-story {
  padding: 100px 0 0;
}
.aru-story .ar-section-title {
  margin-bottom: 52px;
}
.aru-story-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 53px;
  padding: 45px var(--ar-gutter);
}
.aru-story-row:nth-child(2) {
  background: var(--ar-mint);
  padding-top: 80px;
  padding-bottom: 80px;
}
.aru-story-row:nth-child(2) .aru-story-text {
  order: -1;
}

.aru-story-img {
  display: block;
  width: 650px;
  height: auto;
  border-radius: 40px 40px 40px 0;
  flex: none;
}
.aru-story-row:nth-child(2) .aru-story-img,
.aru-story-row:nth-child(3) .aru-story-img {
  border-radius: 40px 40px 0 40px;
}
.aru-smarter-row .aru-story-img {
  border-radius: 40px 40px 40px 0;
}
.aru-smarter-row + .aru-smarter-row .aru-story-img {
  border-radius: 40px 40px 0 40px;
}
.aru-story-text {
  max-width: 650px;
  padding-top: 8px;
}
.aru-story-text p {
  margin: 0 0 20px;
  font-weight: 300;
  font-size: 24px;
  line-height: 34px;
  color: var(--ar-ink);
}
.aru-story-lead {
  font-weight: 700 !important;
}
.aru-story-text .ara-cta-btn {
  margin-top: 12px;
}

/* ---------- benefits ---------- */
.aru-benefits {
  margin-top: 100px;
  background: var(--ar-mint);
  padding: 101px var(--ar-gutter) 84px;
  text-align: center;
}
.aru-benefits-sub {
  margin: 10px auto 0;
  max-width: 790px;
  font-weight: 300;
  font-size: 24px;
  line-height: 34px;
  color: var(--ar-ink);
}

.aru-benefits-cta {
  margin-top: 48px !important;
}

/* ---------- smarter way rows ---------- */
.aru-smarter {
  padding: 100px 0 0;
}
.aru-smarter-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 53px;
  padding: 0 var(--ar-gutter);
}
.aru-smarter-row + .aru-smarter-row {
  margin-top: 100px;
}
.aru-smarter-row .ar-pill {
  margin-bottom: 22px;
}
.aru-smarter-title {
  margin: 0 0 20px !important;
  font-weight: 700 !important;
  font-size: 32px !important;
  line-height: 38px !important;
  color: #242424;
}
.aru-smarter .ara-checklist li {
  font-weight: 400;
  margin-top: 15px;
}
.aru-smarter .ara-checklist {
  margin-bottom: 30px;
}

/* ---------- callout ---------- */
.aru-callout {
  padding: 100px var(--ar-gutter) 0;
}
.aru-callout-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 394px;
  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;
  padding: 45px 20px 40px;
}
.aru-callout-title {
  margin: 0;
  font-weight: 700;
  font-size: 28px;
  line-height: 33px;
  color: #fff;
  text-align: center;
}
.aru-callout-text {
  margin: 13px 0 0;
  max-width: 558px;
  font-weight: 300;
  font-size: 24px;
  line-height: 34px;
  color: #fff;
  text-align: center;
}
.aru-callout-text-bold {
  margin-top: 0;
  font-weight: 700;
}
.aru-callout-inner .ar-cityform {
  margin-top: 26px;
}

.aru-callout + .ar-areas {
  padding-top: 100px;
}
.ar-areas + .ar-review {
  padding-top: 100px;
}
.page-content .ar-review:last-child {
  padding-bottom: 150px;
}

/* ---------- about-only desktop adjustments (franchise imports this file,
   so these are scoped to the about body class) ---------- */
.ar-page-about .aru-story .ar-section-title {
  margin-bottom: 0;
}
.ar-page-about .aru-story-text p {
  margin: 0 0 12px;
}
body.ar-page-about .page-content a.ara-cta-btn {
  margin-top: 12px;
}
@media (min-width: 768px) {
  body.ar-page-about .page-content .aru-story-swiper a.ara-cta-btn {
    margin-top: 20px;
  }
}
.ar-page-about .aru-story-row {
  padding: 45px var(--ar-gutter) 70px;
  align-items: center;
}
.ar-page-about .aru-story-row:nth-child(2) {
  padding-top: 50px;
  padding-bottom: 50px;
}
.ar-page-about .aru-story-row:nth-child(3) {
  padding: 100px var(--ar-gutter);
}
.ar-page-about .aru-smarter-row {
  align-items: center;
}
.ar-page-about .aru-story-text {
  padding-top: 0;
}
.ar-page-about .aru-benefits {
  margin-top: 0;
}
.ar-page-about .aru-benefit-cards {
  margin-top: 30px;
}
.ar-page-about .aru-smarter-title {
  margin: 0 0 13px !important;
}
.ar-page-about .aru-callout-text {
  margin: 13px 0 8px;
}

/* ---------- responsive ---------- */
@media (max-width: 1700px) {
}

@media (max-width: 1400px) {
  .aru-story-img {
    width: 44vw;
  }
  .aru-benefit-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1360px) {
  .aru-hero-title {
    font-size: 32px;
    line-height: 40px;
  }
  .aru-hero-subtitle,
  .aru-story-text p,
  .aru-benefits-sub,
  .aru-callout-text {
    font-size: 20px;
    line-height: 28px;
  }
  .aru-smarter-title {
    font-size: 28px !important;
    line-height: 33px !important;
  }
  .aru-benefit-title {
    font-size: 21px;
    line-height: 26px;
  }
}

@media (max-width: 1100px) {
  .aru-story-row,
  .aru-smarter-row {
    padding-left: 30px;
    padding-right: 30px;
    gap: 30px;
  }
}

@media (max-width: 767px) {
  .aru-hero {
    padding: 0;
  }
  .aru-hero-inner {
    min-height: 474px;
    border-radius: 0 0 50px 50px;
    padding: 53px 20px 40px;
  }
  .aru-hero-title {
    font-size: 26px;
    line-height: 31px;
    max-width: 354px;
  }
  .aru-hero-subtitle {
    margin-top: 40px;
    font-size: 18px;
    line-height: 24px;
    max-width: 350px;
  }
  .aru-hero-inner .ar-benefits {
    margin-top: 26px;
  }
  .aru-hero-inner .ar-benefits .ar-benefit {
    color: #fff;
  }
  .aru-story {
    padding-top: 60px;
  }
  .aru-story .ar-section-title {
    margin-bottom: 40px;
    padding: 0 20px;
  }

  .aru-story-swiper,
  .aru-smarter-swiper {
    margin: 0 20px;
  }
  .aru-story-row,
  .aru-smarter-row {
    display: block;
    padding: 0;
  }
  .aru-story-row:nth-child(2) {
    background: none;
    padding: 0;
  }
  .aru-story-row:nth-child(2) .aru-story-text {
    order: 0;
  }
  .aru-story-img {
    width: 100%;
    height: 290px;
    object-fit: cover;
  }
  .aru-story-text {
    padding-top: 30px;
    max-width: none;
  }
  .aru-story-text p {
    font-size: 16px;
    line-height: 22px;
    margin-bottom: 14px;
  }
  .aru-benefits {
    margin-top: 56px;
    padding: 56px 20px 60px;
  }
  .aru-benefits-sub {
    font-size: 18px;
    line-height: 24px;
  }
  .aru-benefit-cards {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 36px;
  }
  .aru-benefit-title {
    font-size: 20px;
    line-height: 25px;
  }
  .aru-benefit-text {
    font-size: 16px;
    line-height: 22px;
  }
  .aru-benefits-cta {
    margin-top: 32px !important;
  }
  .aru-smarter {
    padding-top: 60px;
  }
  .aru-smarter-row + .aru-smarter-row {
    margin-top: 0;
  }
  .aru-smarter-title {
    font-size: 20px !important;
    line-height: 25px !important;
  }
  .aru-callout {
    padding: 60px 20px 0;
  }
  .aru-callout-inner {
    min-height: 391px;
    border-radius: 40px;
    padding: 45px 18px 40px;
  }
  .aru-callout-text {
    font-size: 18px;
    line-height: 24px;
    max-width: 315px;
  }
  .aru-callout + .ar-areas {
    padding-top: 60px;
  }
  .page-content .ar-review:last-child {
    padding-bottom: 80px;
  }
}

/* ---------- about-only mobile adjustments ---------- */
@media (max-width: 767px) {
  .ar-page-about .aru-hero-inner {
    background-image: url("../../images/about/hero-bg-mobile.webp");
    background-image: image-set(url("../../images/about/hero-bg-mobile.webp") 1x, url("../../images/about/hero-bg-mobile@2x.webp") 2x);
  }
  .ar-page-about .aru-hero .ar-cityform button {
    background: var(--ar-green);
  }
  .ar-page-about .aru-hero .ar-cityform button:hover {
    background: #4cb055;
  }
  .ar-page-about .aru-hero-subtitle {
    font-size: 17px;
  }
  .ar-page-about .aru-benefits-sub {
    font-size: 17px;
  }
  .ar-page-about .aru-benefit-title {
    font-size: 16px;
    line-height: 22px;
  }
  .ar-page-about .aru-benefit-text {
    font-size: 15px;
    line-height: 21px;
  }
  .ar-page-about .aru-callout-text {
    font-size: 17px;
  }
  .ar-page-about .ar-areas + .ar-review {
    padding-top: 70px;
  }

  .ar-page-about .aru-story-text,
  .ar-page-about .aru-story-row,
  .ar-page-about .aru-smarter-row {
    text-align: center;
  }
  .ar-page-about .aru-story-lead {
    font-size: 16px;
  }
  .ar-page-about .aru-smarter-title {
    font-size: 24px !important;
    line-height: 34px !important;
    text-align: center;
  }
  .ar-page-about .ara-checklist li {
    font-size: 16px;
    line-height: 22px;
  }

  .ar-page-about .ar-mobile-swiper .swiper-pagination {
    gap: 10px;
  }
  .ar-page-about .ar-mobile-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
  }

  .ar-page-about .aru-smarter-row {
    display: flex;
    flex-direction: column;
  }
  .ar-page-about .aru-smarter-row .aru-story-text {
    display: contents;
  }
  .ar-page-about .aru-smarter-row .ar-pill {
    order: -2;
    width: 100%;
    justify-content: center;
    white-space: normal;
    font-size: 19px;
    padding: 13px 8px;
    border-radius: 20px 20px 20px 0;
    margin-bottom: 20px;
  }
  .ar-page-about .aru-smarter-row picture,
  .ar-page-about .aru-smarter-row .aru-story-img {
    order: -1;
  }
  .ar-page-about .aru-story-row picture,
  .ar-page-about .aru-smarter-row picture {
    display: block;
    font-size: 0;
  }
  .ar-page-about .aru-smarter-row .aru-smarter-title {
    margin-top: 26px !important;
  }
  .ar-page-about .aru-hero-inner {
    background-size: 120%;
    min-height: 410px;
  }
  .ar-page-about .aru-hero-title {
    font-size: 25px;
  }
  .ar-page-about .aru-hero-subtitle {
    margin-top: 18px;
  }
  .ar-page-about .aru-story-row,
  .ar-page-about .aru-smarter-row {
    gap: 0;
  }
  .ar-page-about .ara-checklist {
    margin: 0;
  }
  .ar-page-about .aru-story {
    padding-bottom: 71px;
  }
  .ar-page-about .aru-story .ar-section-title {
    margin-bottom: 25px;
  }
  .ar-page-about .aru-story-text p {
    margin: 12px 0 0 0;
  }
  .ar-page-about .aru-smarter .ara-checklist li {
    font-weight: 300;
  }

  .ar-page-about .aru-story-row,
  .ar-page-about .aru-story-row:nth-child(2),
  .ar-page-about .aru-story-row:nth-child(3) {
    padding: 0;
  }
  .ar-page-about .aru-story-row picture {
    margin-bottom: 30px;
  }
  .ar-page-about .aru-smarter-row picture {
    margin-bottom: 0;
  }

  .ar-page-about .aru-benefit-card .aru-benefit-icon img,
  .ar-page-about .aru-benefit-card .aru-benefit-icon svg {
    transform: scale(1.18);
  }
}
