/* Commercial solar panels page */
.page-commercial-solar-panels .page-hero { height: 493px; }
.page-commercial-solar-panels .page-hero h1 { line-height: 108px; }
.page-commercial-solar-panels .page-hero .page-hero__sub { font-size: 36px; line-height: 64.8px; }

/* Intro + form */
.page-commercial-solar-panels .split__grid { grid-template-columns: 700px 480px; }
.page-commercial-solar-panels .split__text { padding-top: 0; }
.page-commercial-solar-panels .split__text h2 { font-size: 36px; line-height: 43.2px; margin: 2px 0 20px; }
.page-commercial-solar-panels .split__text p { margin-bottom: 24px; }
.ben4 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; padding: 0 5px; margin: 0 0 24px; }
.ben4__item { text-align: center; padding: 8px 0 12px; }
.ben4__icon { width: 60px; height: 60px; color: var(--orange); margin: 0 auto 8px; }
.ben4__item p { margin: 0; }
.page-commercial-solar-panels .split__img { width: 666px; max-width: 100%; height: 500px; object-fit: cover; border-radius: 5%; margin: -5px auto 0; }
.page-commercial-solar-panels .logos-row { padding: 40px 40px; }

/* Why choose us: case studies + team */
.why-com { padding: 80px 40px; }
.why-com h2 { margin: 2px 0 0; }
.why-com__sub { color: #fff; font-size: 30px; line-height: 45px; text-align: center; margin: 0 0 12px; }
.why-com .pkg h3 { font-size: 30px; line-height: 45px; margin: 0 0 8px; }
.why-com .pkg p { color: #fff; margin: 0 0 12px; }
.team-row { display: grid; grid-template-columns: 560px 560px; justify-content: space-between; padding: 0 20px; margin-top: 70px; }
.team-block__logo { display: flex; align-items: center; justify-content: center; height: 162px; padding: 25px; border-radius: 30px; background: #262626; margin-bottom: 5px; }
.team-block__logo img { width: 510px; max-width: 100%; height: auto; }
.team-block__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.team-block__head h2 { color: #fff; font-size: 30px; line-height: 36px; margin: 0 0 5px; }
.team-block__head h3 { color: #fff; font-size: 18px; line-height: normal; margin: 0 0 10px; }
.team-block__social { display: flex; gap: 5px; }
.team-block__social a { width: 30px; height: 30px; border-radius: 50%; background: var(--orange); color: #262626; display: flex; align-items: center; justify-content: center; }
.team-block__social svg { width: 16px; height: 16px; }
.team-block__toggle { position: relative; flex: 0 0 30px; width: 30px; height: 30px; margin: 15px 20px 0 0; border: 0; background: none; cursor: pointer; }
.team-block__toggle::before, .team-block__toggle::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--orange); transform: translate(-50%, -50%); transition: .2s; }
.team-block__toggle::before { width: 30px; height: 7px; }
.team-block__toggle::after { width: 7px; height: 30px; }
.team-block.is-open .team-block__toggle::after { height: 7px; }
.team-block__bio { display: none; padding-top: 16px; }
.team-block.is-open .team-block__bio { display: block; }
.team-block__bio p { color: #fff; }

/* Benefits title card overlapping the grey band */
.benefits-title { padding: 82px 40px 0; position: relative; z-index: 2; }
.title-card { background: #fff; border-radius: 20px; padding: 43px 40px; box-shadow: 0 5px 0 var(--orange), 0 10px 30px rgba(0,0,0,.08); margin-bottom: -62px; }
.title-card h2 { text-align: center; margin: 0; }

.ben-com { background: rgba(242,242,242,.5); padding: 92px 40px 80px 40px; }
.ben-com__grid { display: grid; grid-template-columns: 790px 1fr; gap: 40px; align-items: center; }
.ben-group { margin-bottom: 50px; }
.ben-group:last-child { margin-bottom: 0; }
.ben-group h3 { color: var(--orange); font-size: 30px; line-height: 45px; text-align: center; margin: 0 0 21px; }
.ben-group__lead { text-align: center; margin: 0 0 25px; }
.ben-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0 5px; }
.ben-item { text-align: center; }
.ben-item__icon { width: 60px; height: 60px; color: var(--orange); margin: 0 auto 12px; }
.ben-item h4 { font-size: 20px; line-height: 30px; margin: 0 0 12px; }
.ben-item p { margin: 0; }
.ben-com__shape { max-width: 560px; margin: 0 auto; }

/* Google reviews placeholder */
.reviews { padding: 80px 40px; min-height: 360px; display: flex; align-items: center; justify-content: center; }
.reviews__spinner { width: 110px; height: 110px; border-radius: 50%; border: 6px solid #ccc; border-bottom-color: var(--orange); animation: reviews-spin 1.2s linear infinite; }
@keyframes reviews-spin { to { transform: rotate(360deg); } }

/* Installation process */
.process__grid { display: grid; grid-template-columns: 1fr 1fr; }
.process__text { padding: 52px 40px 40px 70px; }
.process__eyebrow { font-size: 20px; line-height: 30px; margin: 0 0 14px; }
.process__text h2 { max-width: 386px; margin: 0 0 35px; }
.steps { display: grid; grid-template-columns: 60px 1fr; max-width: 500px; }
.steps__nums { list-style: none; margin: 0; padding: 0; border-right: 2px solid #ddd; }
.steps__nums li { height: 82px; }
.steps__nums button { display: block; width: 100%; height: 36px; padding: 0 0 0 23px; border: 0; background: none; text-align: left; cursor: pointer; font-family: var(--font-head); font-size: 24px; line-height: 36px; font-weight: 900; color: var(--navy); position: relative; }
.steps__nums button.is-active { color: var(--orange); }
.steps__nums button.is-active::after { content: ""; position: absolute; right: -2px; top: -16px; width: 2px; height: 78px; background: var(--orange); }
.steps__panels { padding-left: 22px; }
.steps__panel { display: none; text-align: center; color: var(--navy); }
.steps__panel.is-active { display: block; }
.steps__title { font-size: 22px; line-height: 33px; font-weight: 700; color: var(--navy); margin: 15px 0 15px; }
.steps__panel p { color: var(--navy); margin: 0 0 14px; }
.steps__btn { display: inline-flex; min-height: 40px; border-radius: 8px; float: right; }
.process__video { display: block; width: 100%; height: 668px; object-fit: cover; }
.rule-orange { max-width: var(--container); margin: 11px auto 12px; border-top: 1px solid var(--orange); }
.rule-orange--lg { margin: 20px auto 13px; }

/* Panel types (dark grey band) */
.types-com { position: relative; padding: 150px 40px; background-size: cover; background-position: center; background-attachment: fixed; color: #fff; }
.types-com::before { content: ""; position: absolute; inset: 0; background: rgba(94,94,94,.93); }
.types-com__grid { position: relative; display: grid; grid-template-columns: 580px 560px; justify-content: space-between; align-items: start; max-width: var(--container); margin: 0 auto; }
.types-com__title { color: var(--orange); font-size: 48px; line-height: 72px; text-align: center; margin: -6px 0 20px; }
.types-com__lead { color: #fff; font-size: 21px; line-height: 31.5px; text-align: center; max-width: 560px; margin: 0; }
.types-com .accordion__body p, .types-com .accordion__body li { color: var(--dark); }

/* System components + maintenance bands with overlapping tile cards */
.components { position: relative; padding: 160px 40px 120px; background-size: cover; background-position: center; }
.components::before { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.97); }
.components .container { position: relative; }
.components__title { color: var(--orange); font-size: 36px; line-height: 54px; text-align: center; margin: 0 0 12px; }
.components__lead { font-size: 20px; line-height: 30px; text-align: center; margin: 0; }
.card-band { display: flow-root; position: relative; z-index: 2; background: rgba(242,242,242,.5); padding: 0 40px 20px; }
.card-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1184px; margin: -98px auto 0; }
.tile-card { background: #fff; border-radius: 20px; padding: 30px 16px 24px; text-align: center; box-shadow: 0 5px 0 var(--orange), 0 6px 18px rgba(0,0,0,.08); }
.tile-card__icon { width: 60px; height: 60px; color: var(--orange); margin: 0 auto 12px; }
.tile-card p { margin: 0; color: var(--muted); }
.tile-card b { color: var(--dark); }
.page-commercial-solar-panels .started { background: rgba(242,242,242,.5); }
.info-card__cta-mobile { display: none; }

.maint { position: relative; padding: 160px 40px 120px; background-size: cover; background-position: center; background-attachment: fixed; }
.maint::before { content: ""; position: absolute; inset: 0; background: rgba(128,128,128,.92); }
.maint .container { position: relative; }
.maint__title { color: #fff; font-size: 36px; line-height: 43.2px; text-align: center; margin: 0 0 12px; }
.maint__lead { color: var(--orange); font-size: 20px; line-height: 30px; text-align: center; margin: 0; }
.card-band--maint .card-row { margin-top: -96px; }

/* FAQ */
.faq-com { padding: 80px 40px; }
.faq-com__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-com__grid > img { width: 100%; height: 588px; object-fit: cover; margin-top: 8px; }
.faq-com h2 { text-align: center; margin: -6px 0 14px; }
.faq-com__line { margin: 0 20px 10px; border-top: 1px solid #ddd; }
.faq-com .accordion { gap: 10px; }
.faq-com .accordion__item { border-radius: 0; border: 1px solid #eee; }
.faq-com .accordion__head { padding: 16px 20px 18px; }
.faq-com .accordion__head > span:first-child { flex: 1; text-align: center; }

@media (max-width: 1100px) {
  .page-commercial-solar-panels .split__grid { grid-template-columns: 1fr; }
  .team-row { grid-template-columns: 1fr; gap: 40px; padding: 0; }
  .ben-com__grid { grid-template-columns: 1fr; }
  .process__grid { grid-template-columns: 1fr; }
  .process__video { height: 420px; }
  .types-com__grid, .faq-com__grid { grid-template-columns: 1fr; gap: 40px; }
  .card-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  /* Hero */
  .page-commercial-solar-panels .page-hero { height: auto; padding: 40px 16px; }
  .page-commercial-solar-panels h2 { font-size: 24px; line-height: 28.8px; }
  .page-commercial-solar-panels .page-hero h1 { font-size: 30px; line-height: 54px; margin: 10px 0 0; }
  .page-commercial-solar-panels .page-hero .page-hero__sub { font-size: 18px; line-height: 32.4px; margin: 0 0 20px; }

  /* Intro */
  .page-commercial-solar-panels .split { padding: 40px 20px; }
  .page-commercial-solar-panels .split__text h2 { font-size: 29px; line-height: 34.8px; margin: 0 0 16px; }
  .page-commercial-solar-panels .split__text p { margin-bottom: 8px; }
  .page-commercial-solar-panels .split__text h2 + p { margin-bottom: 31px; }
  .page-commercial-solar-panels .split__img { height: auto; aspect-ratio: 4/3; margin: 11px auto 0; }
  .page-commercial-solar-panels .split__form { display: none; }
  .ben4 { grid-template-columns: 1fr; gap: 0; padding: 0; margin: 0 0 8px; }
  .ben4__item { padding: 10px 0 8px; }
  .ben4__icon { display: block; margin-bottom: 10px; }
  .ben4__item p { padding: 2px 0; margin: 0; }
  .page-commercial-solar-panels .logos-row { padding: 50px 16px; gap: 15px 20px; }

  /* Why choose us */
  .why-com { padding: 40px 20px; }
  .why-com h2 { margin: 8px 0 0; }
  .why-com__sub { font-size: 21px; line-height: 25.2px; margin: 0 0 18px; }
  .team-row { grid-template-columns: 1fr; gap: 0; padding: 0; margin-top: 30px; }
  .team-block { padding: 10px 0; }
  .team-block__logo { height: 72px; padding: 4px 25px; border-radius: 12px; margin-bottom: 1px; }
  .team-block__logo img { max-height: 64px; width: auto; }
  .team-block__head h2 { font-size: 20px; line-height: 24px; margin: 5px 0; }
  .team-block__head h3 { font-size: 16px; line-height: 19.2px; margin: 5px 0; }
  .team-block__social { margin-top: 5px; }

  /* Benefits title card (sits between the bands on mobile) */
  .benefits-title { padding: 40px 20px; }
  .title-card { padding: 28px 20px; margin-bottom: 0; }
  .title-card h2 { font-size: 24px; line-height: 28.8px; }

  /* Benefits */
  .ben-com { padding: 40px 20px 10px; }
  .ben-com__grid { grid-template-columns: 1fr; gap: 20px; }
  .ben-group { margin-bottom: 8px; }
  .ben-group h3 { font-size: 21px; line-height: 25.2px; margin: 8px 0 16px; }
  .ben-group__lead { margin: 0 0 8px; }
  .ben-items { grid-template-columns: 1fr; gap: 0; padding: 0; }
  .ben-item { padding: 10px 0 8px; }
  .ben-item__icon { display: block; margin-bottom: 10px; }
  .ben-item h4 { font-size: 16px; line-height: 24px; margin: 2px 0 10px; }
  .ben-item p { padding: 2px 0; }
  .ben-com__shape { max-width: 231px; height: 192px; margin: 0 auto; }
  .ben-com__shape svg { width: 100%; height: 100%; display: block; }

  /* Reviews placeholder */
  .reviews { min-height: 280px; padding: 40px 20px; }

  /* Installation process: video on top, horizontal step tabs */
  .process__grid { display: flex; flex-direction: column; }
  .process__video { order: -1; height: 326px; }
  .process__text { padding: 46px 20px 50px; }
  .process__eyebrow { font-size: 16px; line-height: 24px; margin: 0 0 12px; }
  .process__text h2 { max-width: none; margin: 0 0 18px; }
  .steps { display: block; max-width: none; }
  .steps__nums { display: flex; border-right: 0; height: 48px; }
  .steps__nums li { height: 48px; }
  .steps__nums button { width: auto; height: 48px; padding: 0 16px; font-size: 16px; line-height: 48px; }
  .steps__nums button.is-active::after { left: 0; right: 0; top: auto; bottom: 0; width: auto; height: 2px; }
  .steps__panels { padding: 15px 0 30px; }
  .steps__panel p.steps__title { font-size: 18px; line-height: 27px; margin: 0 0 2px; }
  .steps__panel p { margin: 0 0 8px; }
  .steps__btn { min-height: 43px; float: none; display: flex; width: 100%; justify-content: center; }
  .rule-orange, .rule-orange--lg { margin: 51px 20px 52px; }

  /* Panel types */
  .types-com { padding: 40px 20px; background-attachment: scroll; }
  .types-com__grid { gap: 20px; }
  .types-com__title { font-size: 38px; line-height: 45.6px; margin: 8px 0 16px; }
  .types-com__lead { font-size: 17px; line-height: 25.5px; margin: 0 0 8px; }
  .types-com .accordion { gap: 10px; }
  .types-com .accordion__head { padding: 17.5px 16px; }

  /* Components + maintenance bands and tile cards */
  .components, .maint { padding: 40px 20px 80px; background-attachment: scroll; }
  .components__title, .page-commercial-solar-panels .maint__title { font-size: 29px; line-height: 34.8px; margin: 8px 0 16px; }
  .components__lead, .maint__lead { font-size: 16px; line-height: 24px; margin: 0 0 8px; }
  .card-band { padding: 0 20px 10px; }
  .card-row, .card-band--maint .card-row { grid-template-columns: 1fr; gap: 15px; margin-top: -50px; }
  .tile-card { padding: 25px 12px 23px; }
  .tile-card__icon { display: block; margin-bottom: 18px; }
  .tile-card p { padding: 2px 0; }

  /* Gallery + info cards */
  .page-commercial-solar-panels .started { padding: 40px 20px; }
  .page-commercial-solar-panels .started__grid { gap: 30px; }
  .page-commercial-solar-panels .gallery { border: 0; border-radius: 0; background: none; }
  .page-commercial-solar-panels .gallery__main { height: 290px; border-radius: 15px; }
  .page-commercial-solar-panels .gallery__thumbs { flex-wrap: nowrap; justify-content: flex-start; gap: 20px; padding: 20px 0; overflow: hidden; }
  .page-commercial-solar-panels .gallery__thumbs button { width: 80px; height: 80px; flex: 0 0 auto; }
  .info-card__cta-desktop { display: none; }
  .info-card__cta-mobile { display: inline-flex; }
  .page-commercial-solar-panels .info-card { padding: 15px 15px 40px; }
  .page-commercial-solar-panels .info-card__icon { position: static; width: 70px; height: 70px; margin: 0 auto 10px; }
  .page-commercial-solar-panels .info-card .btn { margin: 10px 0 0; }
  .page-commercial-solar-panels .info-card p.info-card__title--lg { font-size: 18px; }

  /* FAQ */
  .faq-com { padding: 40px 20px; }
  .faq-com__grid { gap: 20px; }
  .faq-com__grid > img { height: auto; margin-top: 0; }
  .faq-com h2 { font-size: 24px; line-height: 28.8px; margin: 0 0 8px; }
  .faq-com__line { margin: 0 0 10px; }
  .faq-com .accordion { gap: 10px; }
  .faq-com .accordion__head { font-size: 21px; line-height: 25.2px; padding: 18px 16px; }
}
