/* ============================================================
   Appliance Rentals - For companies / for properties pages
   Shares component styles with homepage.css; page classes: aru-*, arp-*.
   Loaded through $rebrandCssSlug = 'partners'.
   ============================================================ */

/* ---------- hero ---------- */
.aru-hero {
  padding: 36px var(--ar-gutter) 0;
}
.aru-hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  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;
  overflow: hidden;
  padding: 50px 20px 40px;
  text-align: center;
}
.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: 640px;
  font-weight: 300;
  font-size: 24px;
  line-height: 34px;
  color: #fff;
  text-align: center;
}
.aru-hero-inner .ara-cta-btn {
  margin-top: 28px;
}

/* ---------- sections ---------- */
.aru-story {
  padding: 100px var(--ar-gutter) 0;
  text-align: center;
}
.aru-story .ar-pill {
  margin-bottom: 22px;
}
.aru-benefits {
  margin-top: 100px;
  background: var(--ar-mint);
  padding: 101px var(--ar-gutter) 84px;
  text-align: center;
}
.aru-benefits .aru-benefit-cards,
.aru-story .aru-benefit-cards {
  grid-template-columns: repeat(3, 367px);
}
.arp-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ar-navy);
  color: #fff;
  font-weight: 700;
  font-size: 17px;
}
.arp-note {
  margin: 0 auto;
  max-width: 790px;
  font-weight: 300;
  font-size: 20px;
  line-height: 30px;
  color: var(--ar-ink);
}
.arp-note + .arp-note {
  margin-top: 14px;
}
.arp-note a {
  color: var(--ar-teal);
  font-weight: 500;
}

/* ---------- form card ---------- */
.arp-form-section {
  padding: 100px var(--ar-gutter) 150px;
}
.arp-form-card {
  margin: 0 auto;
  max-width: 820px;
  background: #fff;
  border: 1px solid var(--ar-border);
  border-radius: 20px;
  box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.07);
  padding: 48px 40px;
  text-align: left;
}
.arp-form-title {
  margin: 0 0 8px;
  font-weight: 700;
  font-size: 32px;
  line-height: 38px;
  color: var(--ar-ink);
  text-align: center;
}
.arp-form-intro {
  margin: 0 0 32px;
  font-weight: 300;
  font-size: 18px;
  line-height: 26px;
  color: var(--ar-ink);
  text-align: center;
}
.arp-closed {
  margin: 0;
  font-weight: 400;
  font-size: 20px;
  line-height: 30px;
  color: var(--ar-ink);
  text-align: center;
}
.arp-fieldset {
  margin: 0 0 28px;
  padding: 0;
  border: 0;
}
.arp-legend {
  margin: 0 0 14px;
  padding: 0;
  font-weight: 700;
  font-size: 20px;
  line-height: 26px;
  color: var(--ar-ink);
}
.arp-hint {
  margin: -6px 0 14px;
  font-weight: 300;
  font-size: 16px;
  line-height: 22px;
  color: #747474;
}
.arp-row {
  display: flex;
  gap: 17px;
}
.arp-row > .arp-group {
  flex: 1 1 0;
  min-width: 0;
}
.arp-group {
  margin: 0 0 18px;
}
.arp-label {
  display: block;
  margin: 0 0 6px;
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  color: #262626;
}
.arp-label em {
  font-style: normal;
  color: #ff3c00;
}
.page-content .arp-field {
  display: block;
  width: 100%;
  height: 54px;
  background: #fff;
  border: 1px solid var(--ar-border);
  border-radius: 10px;
  padding: 0 16px;
  font-family: "Rubik", sans-serif;
  font-weight: 400;
  font-size: 17px;
  color: #262626;
  outline: none;
}
.page-content textarea.arp-field {
  height: auto;
  min-height: 120px;
  padding: 14px 16px;
  line-height: 1.4;
  resize: vertical;
}
.page-content select.arp-field {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='7' viewBox='0 0 12 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 40px;
}
.page-content .arp-field:focus {
  border-color: #000;
}
.page-content .arp-field.is-invalid {
  border-color: #c0392b;
}
.arp-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 20px;
}
.arp-choice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  color: #262626;
  cursor: pointer;
}
.arp-choice input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--ar-teal);
}
.arp-fee {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  gap: 8px 17px;
  align-items: center;
  margin: 0 0 14px;
}
.arp-fee .arp-label {
  margin: 0;
}
.arp-fee .arp-choices {
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, max-content);
}
.arp-fee .arp-error {
  grid-column: 1 / -1;
}
.arp-error {
  margin: 6px 0 0;
  font-size: 15px;
  line-height: 20px;
  color: #c0392b;
}
.arp-agree {
  margin: 0 0 18px;
}
.arp-agree a,
.arp-privacy a {
  color: var(--ar-teal);
  font-weight: 500;
}
.arp-privacy {
  margin: 8px 0 0;
  font-weight: 300;
  font-size: 15px;
  line-height: 22px;
  color: #747474;
  text-align: center;
}
.arp-hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.arp-turnstile {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}
.arp-turnstile:empty {
  display: none;
}
.arp-submit {
  display: block;
  margin: 28px auto 0;
  min-width: 153px;
  height: 60px;
  padding: 0 40px;
  border: none;
  border-radius: 65px;
  background: var(--ar-teal);
  color: #fff;
  font-family: "Rubik", sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  cursor: pointer;
}
.page-content .arp-submit:hover {
  background-color: #005a6f;
}
.arp-submit[disabled] {
  opacity: 0.6;
  cursor: default;
}
.arp-form-msg {
  margin: 16px 0 0;
  text-align: center;
  font-size: 16px;
  line-height: 24px;
  color: var(--ar-teal);
}
.arp-form-msg.is-error {
  color: #c0392b;
}
.arp-success {
  text-align: center;
}
.arp-success-title {
  margin: 0 0 10px;
  font-weight: 700;
  font-size: 28px;
  line-height: 34px;
  color: var(--ar-ink);
}
.arp-success-text {
  margin: 0;
  font-weight: 300;
  font-size: 18px;
  line-height: 26px;
  color: var(--ar-ink);
}

/* ---------- agreement page ---------- */
.arp-doc {
  margin: 0 auto;
  max-width: 820px;
  padding: 60px var(--ar-gutter) 150px;
}
.arp-doc-title {
  margin: 0 0 6px;
  font-weight: 700;
  font-size: 38px;
  line-height: 46px;
  color: var(--ar-ink);
}
.arp-doc-meta {
  margin: 0 0 30px;
  font-size: 16px;
  color: #747474;
}
.arp-doc-body {
  font-weight: 400;
  font-size: 17px;
  line-height: 27px;
  color: var(--ar-ink);
  white-space: pre-line;
}

/* ---------- application page (/for-companies/apply): classes arp-apply-* ---------- */
.arp-apply-wrap {
  max-width: 1240px;
  margin: 0 auto;
}
.arp-apply-head {
  padding: 44px var(--ar-gutter) 44px;
  background: var(--ar-mint);
}
.arp-apply-head .ar-pill {
  margin-bottom: 16px;
  padding: 8px 14px;
  font-size: 15px;
  line-height: 20px;
}
.arp-apply-title {
  margin: 0;
  font-weight: 700;
  font-size: 46px;
  line-height: 54px;
  color: var(--ar-navy);
}
.arp-apply-intro {
  margin: 14px 0 0;
  max-width: 640px;
  font-weight: 300;
  font-size: 20px;
  line-height: 30px;
  color: var(--ar-ink);
}
.arp-apply {
  padding: 56px var(--ar-gutter) 120px;
}
.arp-apply-grid {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 820px);
  gap: 48px 64px;
  align-items: start;
}
.arp-apply-next {
  position: sticky;
  top: 120px;
}
.arp-apply-next-title {
  margin: 0;
  font-weight: 700;
  font-size: 24px;
  line-height: 30px;
  color: var(--ar-ink);
}
.arp-apply-steps {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.arp-apply-step {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 16px;
  margin: 0;
  padding: 18px 0;
  border-top: 1px solid var(--ar-border);
}
.arp-apply-step:last-child {
  border-bottom: 1px solid var(--ar-border);
}
.arp-apply-step-title {
  margin: 0;
  font-weight: 700;
  font-size: 18px;
  line-height: 24px;
  color: var(--ar-ink);
}
.arp-apply-step-text {
  margin: 4px 0 0;
  font-weight: 300;
  font-size: 16px;
  line-height: 24px;
  color: var(--ar-ink);
}
.arp-apply-help {
  margin: 20px 0 0;
  font-weight: 300;
  font-size: 16px;
  line-height: 24px;
  color: var(--ar-ink);
}
.arp-apply-help a {
  color: var(--ar-teal);
  font-weight: 500;
}
.arp-apply-card.arp-form-card {
  margin: 0;
  max-width: none;
}
.arp-form-intro.arp-apply-required {
  margin-bottom: 28px;
  font-size: 16px;
  line-height: 24px;
  text-align: left;
}
@media (max-width: 1000px) {
  .arp-apply-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .arp-apply-next {
    position: static;
    max-width: 640px;
  }
}

/* ---------- who we work with (for-properties) ---------- */
.arp-audiences {
  padding: 100px var(--ar-gutter) 0;
  text-align: center;
}
.arp-audience-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  max-width: 1240px;
  margin: 48px auto 0;
  padding: 0;
  list-style: none;
  text-align: left;
}
.arp-audience-item {
  display: flex;
  margin: 0;
}
.page-content a.arp-audience-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  padding: 26px 24px 28px;
  background: #fff;
  border: 1px solid var(--ar-border);
  border-radius: 20px;
  box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.07);
  color: var(--ar-ink);
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.page-content a.arp-audience-card:hover,
.page-content a.arp-audience-card:focus-visible {
  border-color: var(--ar-teal);
  box-shadow: 0 0 14px 3px rgba(0, 0, 0, 0.1);
}
.page-content a.arp-audience-card:focus-visible {
  outline: 2px solid var(--ar-teal);
  outline-offset: 2px;
}
.arp-audience-title {
  font-weight: 700;
  font-size: 20px;
  line-height: 26px;
  color: var(--ar-ink);
}
.arp-audience-title::after {
  content: " \2192";
  color: var(--ar-teal);
}
.arp-audience-text {
  font-weight: 300;
  font-size: 16px;
  line-height: 24px;
  color: #242424;
}
@media (max-width: 1000px) {
  .arp-audience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- mobile ---------- */
@media (max-width: 767px) {
  .arp-audiences {
    padding: 60px 20px 0;
  }
  .arp-audience-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-top: 32px;
  }
  .aru-hero-title {
    font-size: 28px;
    line-height: 36px;
  }
  .aru-hero-subtitle {
    font-size: 18px;
    line-height: 26px;
  }
  .aru-hero-inner {
    min-height: 340px;
    border-radius: 30px;
  }
  .aru-story {
    padding-top: 60px;
  }
  .aru-benefits .aru-benefit-cards,
  .aru-story .aru-benefit-cards {
    grid-template-columns: 1fr;
    max-width: 100%;
    margin-top: 32px;
    gap: 24px;
  }
  .page-content .arp-cards .aru-benefit-card {
    background: #fff;
    border: 1px solid #e1e1e3;
    box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.07);
    border-radius: 20px;
    padding: 28px 22px;
    display: block;
  }
  .aru-benefits {
    margin-top: 60px;
    padding: 50px 20px 50px;
  }
  .arp-note {
    font-size: 17px;
    line-height: 25px;
  }
  .arp-form-section {
    padding: 60px 20px 80px;
  }
  .arp-form-card {
    padding: 32px 20px;
  }
  .arp-form-title {
    font-size: 26px;
    line-height: 32px;
  }
  .arp-row {
    flex-direction: column;
    gap: 0;
  }
  .arp-choices {
    grid-template-columns: 1fr;
  }
  .arp-fee {
    grid-template-columns: 1fr;
  }
  .arp-submit {
    font-size: 16px;
    width: 100%;
  }
  .arp-doc-title {
    font-size: 28px;
    line-height: 34px;
  }
  .arp-apply-head {
    padding: 36px 20px 32px;
  }
  .arp-apply-title {
    font-size: 32px;
    line-height: 38px;
  }
  .arp-apply-intro {
    font-size: 18px;
    line-height: 26px;
  }
  .arp-apply {
    padding: 36px 20px 80px;
  }
}
