/* Residential solar panels page */
.page-residential-solar-panels .page-hero { height: 392px; }
.link-white { color: #fff; text-decoration: underline; }

/* Intro + form */
.page-residential-solar-panels .split__text { padding-top: 70px; }
.page-residential-solar-panels .split__text h2 { margin-bottom: 20px; }
.page-residential-solar-panels .split__text p { margin-bottom: 10px; }
.page-residential-solar-panels .split__img { width: 100%; height: 428px; object-fit: cover; }
.page-residential-solar-panels .split__form .form-card__title { font-family: var(--font-body); font-weight: 700; font-size: 32px; line-height: 48px; color: var(--navy); }

/* Installation services (navy cards on dark band) */
.svc { padding: 74px 40px 80px; }
.svc h2 { margin: 0 0 12px; }
.svc__lead { max-width: 950px; margin: 0 auto 32px; text-align: center; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 380px); justify-content: space-between; gap: 30px 20px; align-items: start; padding: 0 10px; }
.svc-card { background: var(--navy); border-radius: 30px 0 30px 0; padding: 30px; }
.svc-card > img { width: 100%; height: 213px; object-fit: cover; border-radius: 30px 0 30px 0; margin: 0 0 10px; }
.svc-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 70px; padding: 10px 28px 10px 20px; background: #fff; border: 0; text-align: left; cursor: pointer; font-family: var(--font-head); font-weight: 900; font-size: 21px; line-height: 31.5px; color: var(--dark); }
.svc-card__icon { position: relative; flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; background: var(--orange); }
.svc-card__icon::before { content: ""; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: translate(-50%, -70%) rotate(45deg); transition: transform .2s; }
.svc-card.is-open .svc-card__icon::before { transform: translate(-50%, -30%) rotate(225deg); }
.svc-card__body { display: none; padding: 20px 0 0; }
.svc-card.is-open .svc-card__body { display: block; }
.svc-card__body p { color: #fff; margin: 0; }
.svc-card__body a { color: var(--orange); font-weight: 700; }
.svc-card--center { grid-column: 2; }

/* Packages */
.page-residential-solar-panels .packages { padding-top: 90px; }
.page-residential-solar-panels .packages h2 { color: var(--orange); }

/* Types of systems */
.types .feature h2 { text-align: left; margin-bottom: 12px; }
.types .feature p { margin-bottom: 20px; }
.sol-btns { display: flex; flex-direction: column; gap: 10px; }
.sol-btn { display: flex; align-items: center; justify-content: center; min-height: 60px; padding: 0 20px; border-radius: 50px; background: #fff; box-shadow: 0 5px 0 var(--orange); font-size: 22px; font-weight: 700; color: var(--navy); text-align: center; transition: background .2s; }
.sol-btn:hover { background: #fff5ea; }

/* Info cards: desktop shows "See Our Work!", mobile shows "REQUEST A QUOTE" */
.info-card__cta-mobile { display: none; }

/* Benefits */
.benefits { padding: 150px 40px; }
.benefits__grid { display: grid; grid-template-columns: 580px 560px; justify-content: space-between; align-items: start; max-width: var(--container); margin: 0 auto; }
.benefits h2 { font-size: 60px; line-height: 72px; margin: 25px 0 20px; }
.benefits__lead { font-size: 21px; line-height: 31.5px; max-width: 560px; }

/* Financing tabs */
.financing { padding: 70px 40px; }
.financing__title { max-width: 794px; margin: 2px auto 12px; text-align: center; }
.financing__lead { max-width: 978px; margin: 0 auto 50px; text-align: center; }
.tabs__bar { display: flex; border-bottom: 1px solid #e6e6e6; }
.tabs__tab { flex: 1 1 0; min-height: 60px; padding: 15px 18px; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; cursor: pointer; text-align: left; font-family: var(--font-head); font-size: 20px; line-height: 30px; font-weight: 900; color: var(--dark); }
.tabs__tab.is-active { color: var(--orange); border-bottom-color: var(--orange); }
.tabs__panel { display: none; grid-template-columns: 387px 1fr; gap: 20px; align-items: center; margin-top: 32px; }
.tabs__panel.is-active { display: grid; }
.tabs__panel img { width: 100%; height: 292px; object-fit: cover; }
.tabs__title { font-size: 22px; line-height: 33px; font-weight: 700; margin: 0 0 15px; }
.tabs__panel p { margin: 0 0 15px; }
.tabs__btn { border-radius: 8px; min-width: 135px; }

/* Why choose us */
.why-res { padding: 80px 40px; }
.why-res__grid { display: grid; grid-template-columns: 575px 575px; justify-content: space-between; align-items: center; max-width: var(--container); margin: 0 auto; }
.why-res h2 { text-align: center; margin: 0 0 12px; }
.why-res p { text-align: center; margin: 0; }
.logo-card { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 30px; background: #fff; border-radius: 15px; padding: 20px 40px; }
.logo-card a { display: flex; align-items: center; justify-content: center; height: 80px; }
.logo-card img { max-height: 76px; max-width: 220px; width: auto; object-fit: contain; }

/* FAQ */
.faq-res { padding: 80px 40px; }
.faq-res__grid { display: grid; grid-template-columns: 470px 670px; gap: 60px; justify-content: space-between; align-items: start; max-width: var(--container); margin: 0 auto; }
.faq-res__grid > img { width: 100%; height: 588px; object-fit: cover; margin-top: 33px; }
.faq-res h2 { margin: -6px 0 31px; }
.faq-res .accordion { gap: 6px; }
.faq-res .accordion__item { border-radius: 0; box-shadow: none; border: 1px solid #e6e6e6; }
.faq-res .accordion__head { padding: 10px 20px; }
.faq-res .accordion__body { border-top: 0; padding: 4px 20px 16px; }
.faq-res .accordion__body ul { margin-bottom: 0; }

@media (max-width: 1100px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); padding: 0; }
  .svc-card--center { grid-column: auto; }
  .benefits__grid, .why-res__grid, .faq-res__grid { grid-template-columns: 1fr; gap: 40px; }
  .tabs__panel { grid-template-columns: 1fr; }
}
@media (max-width: 1024px) {
  .page-residential-solar-panels .page-hero { height: auto; }
  .page-residential-solar-panels h2 { font-size: 26px; line-height: 32px; }
  .page-residential-solar-panels .page-hero h1 { font-size: 32px; }
  .page-residential-solar-panels .split { padding: 40px 20px 50px; }
  .page-residential-solar-panels .split__text { padding-top: 0; }
  .page-residential-solar-panels .split__text h2 { font-size: 25px; line-height: 30px; margin-bottom: 16px; }
  .page-residential-solar-panels .split__img { height: auto; aspect-ratio: 4/3; }
  .page-residential-solar-panels .split__form { display: none; }
  .svc { padding: 50px 20px; }
  .svc-grid { grid-template-columns: 1fr; gap: 24px; }
  .svc-card { padding: 20px; }
  .types .feature h2 { font-size: 32px; }
  .sol-btn { font-size: 18px; }
  .info-card__cta-desktop { display: none; }
  .info-card__cta-mobile { display: inline-flex; }
  .page-residential-solar-panels .info-card { padding: 20px 16px; }
  .page-residential-solar-panels .info-card__icon { position: static; width: 40px; height: 40px; margin: 0 auto 12px; }
  .benefits { padding: 50px 20px; }
  .benefits h2 { font-size: 32px; line-height: 40px; margin: 0 0 16px; }
  .benefits__lead { font-size: 18px; line-height: 27px; }
  .financing { padding: 50px 20px; }
  .financing__lead { margin-bottom: 24px; }
  .tabs__bar { overflow-x: auto; }
  .tabs__tab { flex: 0 0 auto; white-space: nowrap; }
  .tabs__panel { margin-top: 20px; gap: 12px; }
  .tabs__panel img { height: 230px; }
  .tabs__btn { width: 100%; }
  .why-res { padding: 50px 20px; }
  .why-res h2 { font-size: 32px; }
  .logo-card { padding: 16px; gap: 10px 16px; }
  .logo-card img { max-height: 60px; max-width: 150px; }
  .faq-res { padding: 50px 20px; }
  .faq-res__grid > img { height: auto; margin-top: 0; }
  .faq-res h2 { margin: 0 0 20px; }
}
