/* ============================================================
   Appliance Rentals — Contact page (Figma rebrand)
   Shares component styles with homepage.css (ar-*), page-specific
   classes are prefixed arc-*.
   ============================================================ */

/* ---------- hero ---------- */
.arc-hero {
  padding: 36px var(--ar-gutter) 0;
  position: relative;
}
.arc-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;
}
.arc-hero-inner {
  position: relative;
  max-width: 1601px;
  margin: 0 auto;
  min-height: 647px;
}
.arc-hero-left {
  position: relative;
  width: 601px;
  margin-left: 119px;
  padding-top: 69px;
}
.arc-hero-title {
  font-weight: 700;
  font-size: 48px;
  line-height: 54px;
  color: #fff;
  text-align: center;
  margin: 0;
}
.arc-hero-subtitle {
  margin: 8px auto 0;
  max-width: 575px;
  font-weight: 300;
  font-size: 24px;
  line-height: 34px;
  color: #fff;
  text-align: center;
}
.arc-hero-collage {
  display: block;
  position: absolute;
  top: 197px;
  left: 0;
  width: 592px;
  max-width: none;
}
.arc-hero-collage > img {
  display: block;
  width: 100%;
  height: auto;
}

.arc-hero-collage .arw-chip-delivery {
  top: 35.2%;
  right: -9px;
}
.arc-hero-collage .arw-chip-repairs {
  top: 42.4%;
  left: 17px;
}
.arc-hero-collage .arw-chip-save {
  top: 62.1%;
  right: 56px;
}

/* ---------- form card ---------- */
.arc-form-card {
  position: absolute;
  top: 47px;
  left: 802px;
  width: 595px;
  background: #fff;
  border: 1px solid var(--ar-border);
  border-radius: 20px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
  padding: 40px 31px 38px;
}
.arc-form-title {
  margin: 0 0 20px;
  font-weight: 700;
  font-size: 32px;
  line-height: 38px;
  color: #242424;
  text-align: center;
}

.page-content .arc-field {
  display: block;
  width: 100%;
  height: 60px;
  background: #fff;
  border: 1.11px solid var(--ar-border);
  border-radius: 10px;
  padding: 0 16px;
  font-family: "Rubik", sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #262626;
  outline: none;
  margin: 0 0 20px;
}
.arc-field::placeholder {
  color: #262626;
  opacity: 1;
}

.page-content input.arc-field:focus,
.page-content select.arc-field:focus,
.page-content textarea.arc-field:focus {
  border-color: #000 !important;
}
.arc-field-row {
  display: flex;
  gap: 17px;
}
.arc-field-row .arc-field {
  min-width: 0;
}
.arc-select-wrap {
  position: relative;
}
.arc-select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.arc-select:invalid {
  color: #262626;
}
.arc-select-chev {
  position: absolute;
  right: 21px;
  top: 27px;
  pointer-events: none;
}
.arc-turnstile {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}
.arc-turnstile:empty {
  display: none;
}
.arc-hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.arc-submit {
  display: block;
  margin: 33px auto 0;
  width: 153px;
  height: 60px;
  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 .arc-submit:hover {
  background-color: #005a6f;
}
.arc-submit[disabled] {
  opacity: 0.6;
  cursor: default;
}
.arc-form-msg {
  margin: 16px 0 0;
  text-align: center;
  font-size: 16px;
  line-height: 24px;
  color: var(--ar-teal);
}
.arc-form-msg.is-error {
  color: #c10230;
}
.arc-form-benefits {
  justify-content: center;
  margin-top: 24px;
}

.arc-hero + .ar-areas {
  padding-top: 100px;
}
.ar-areas + .ar-review {
  padding-top: 100px;
}
.page-content .ar-review:last-child {
  padding-bottom: 100px;
}

/* ---------- responsive ---------- */
@media (max-width: 1700px) {
  .arc-hero-left {
    margin-left: 40px;
  }
  .arc-form-card {
    left: auto;
    right: 40px;
  }
}

@media (max-width: 1360px) {
  .arc-hero-title {
    font-size: 40px;
    line-height: 46px;
  }
  .arc-hero-subtitle {
    font-size: 20px;
    line-height: 28px;
  }
  .arc-hero-left {
    width: 46%;
    margin-left: 20px;
  }
  .arc-hero-collage {
    width: 100%;
  }
  .arc-form-card {
    width: 48%;
    right: 20px;
  }
}

@media (max-width: 1100px) {
  .arc-hero {
    padding: 20px 20px 0;
  }
  .arc-hero-band {
    top: 20px;
    left: 20px;
    right: 20px;
    height: 380px;
    border-radius: 40px;
  }
  .arc-hero-inner {
    min-height: 0;
  }
  .arc-hero-left {
    width: auto;
    margin: 0 auto;
    max-width: 601px;
    padding-top: 50px;
  }
  .arc-hero-collage {
    position: static;
    margin: 30px auto 0;
    width: min(601px, 90%);
  }
  .arc-form-card {
    position: static;
    width: 100%;
    max-width: 640px;
    margin: 40px auto 0;
  }
}

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

@media (max-width: 767px) {
  .arc-hero {
    padding: 0;
  }
  .arc-hero-band {
    display: none;
  }
  .arc-hero-inner {
    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 46px;
  }
  .arc-hero-left {
    max-width: 350px;
    padding-top: 0;
  }
  .arc-hero-title {
    font-size: 40px;
    line-height: 46px;
  }
  .arc-hero-subtitle {
    margin-top: 14px;
    font-size: 18px;
    line-height: 24px;
  }
  .arc-hero-collage {
    display: none;
  }
  .arc-form-card {
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 30px auto 0;
    max-width: 350px;
  }
  .arc-form-title {
    display: none;
  }
  .arc-field {
    font-size: 16px;
  }
  .arc-field-row {
    display: block;
  }
  .arc-select-chev {
    top: 27px;
  }
  .arc-submit {
    margin-top: 11px;
    width: 161px;
    height: 50px;
    border-radius: 54px;
    font-size: 16px;
    line-height: 19px;
  }
  .arc-form-benefits {
    margin-top: 32px;
  }
  .arc-form-benefits .ar-benefit {
    color: #fff;
  }
  .arc-form-benefits .ar-benefit-icon {
    background: #fff;
    color: var(--ar-purple);
  }
  .arc-hero + .ar-areas {
    padding-top: 55px;
  }
  .page-content .ar-review:last-child {
    padding-bottom: 60px;
  }
}
