/* Sigenergy page */
.sg-btn { border-radius: 300px; min-height: 60px; min-width: 280px; padding: 10px 7px; }
.sg-btn--sm { min-height: 44px; min-width: 185px; padding: 0 20px; }
.sg-link { color: var(--orange); font-weight: 700; text-decoration: underline; }
.sg-small { font-size: 14px; line-height: 21px; }

/* Hero */
.sg-hero { position: relative; height: 867px; padding: 300px 40px 30px; background: #333 center / cover no-repeat; color: #fff; text-align: center; }
.sg-hero .slides { position: absolute; inset: 0; z-index: 0; }
.sg-hero .slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.sg-hero .slide.is-active { opacity: 1; }
.sg-hero .slide__bg { position: absolute; inset: 0; background: center / cover no-repeat; }
.sg-hero::before { z-index: 1; content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #000 0%, rgba(0,0,0,.35) 100%); }
.sg-hero__inner { position: relative; z-index: 2; max-width: var(--container); margin: 0 auto; }
.sg-hero__logo { width: 300px; height: 59px; margin: 0 auto 9px; object-fit: contain; }
.sg-hero h1 { color: #fff; font-size: 60px; line-height: 72px; margin: 0 0 12px; }
.sg-hero p { max-width: 708px; margin: 0 auto 32px; color: #fff; font-weight: 700; }
.sg-hero p em { font-style: italic; }

/* Intro band with product tiles */
.sg-intro { padding: 70px 40px 60px; background: #000 center / cover no-repeat; color: #fff; }
.sg-intro__text p { color: #fff; margin: 0 0 24px; }
.sg-checks { display: grid; gap: 20px; max-width: var(--container); margin: 0 auto; }
.sg-checks--3 { grid-template-columns: repeat(3, 1fr); margin-top: 22px; }
.sg-checks--4 { grid-template-columns: repeat(4, 1fr); }
.sg-checks--2 { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; margin: 0 0 20px; }
.sg-check { text-align: center; }
.sg-check p { max-width: 240px; margin: 0 auto; color: inherit; }
.sg-check__icon { display: block; width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%; background: var(--orange); position: relative; }
.sg-check__icon::before { content: ""; position: absolute; left: 50%; top: 50%; width: 22px; height: 12px; border-left: 4px solid #fff; border-bottom: 4px solid #fff; transform: translate(-50%, -65%) rotate(-45deg); }
.sg-check--sm { text-align: left; }
.sg-check--sm p { margin: 0; font-size: 14px; line-height: 21px; max-width: none; }
.sg-check--sm .sg-check__icon { width: 30px; height: 30px; margin: 0 0 10px; }
.sg-check--sm .sg-check__icon::before { width: 12px; height: 7px; border-width: 0 0 2.5px 2.5px; }

.sg-products { display: grid; grid-template-columns: repeat(4, 300px); grid-template-rows: 250px 250px; justify-content: center; max-width: var(--container); margin: 100px auto 0; }
.sg-product { position: relative; text-align: center; color: #fff; padding-top: 5px; }
.sg-product img { display: block; margin: 0 auto; height: 140px; width: auto; max-width: 180px; object-fit: contain; transform: scale(1.6); }
.sg-product--tall img { transform: scale(1.1); }
.sg-product h3 { color: #fff; font-family: var(--font-head); font-size: 16px; font-weight: 700; line-height: 19px; margin: 21px 0 10px; }
.sg-product__arrow { display: block; width: 30px; height: 30px; margin: 0 auto; border: 1px solid var(--orange); border-radius: 50%; color: #fff; font-size: 18px; line-height: 30px; text-indent: 14px; }
.sg-product--big { grid-row: 1 / span 2; height: 498px; padding: 0; overflow: hidden; display: block; }
.sg-product--big img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.sg-product--big::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.8) 0%, rgba(0,0,0,0) 45%); }
.sg-product__body { position: absolute; left: 0; right: 0; bottom: 27px; z-index: 1; }
.sg-product__body h3 { font-size: 30px; line-height: 36px; font-weight: 900; margin: 0; }
.sg-product__body p { font-size: 14px; line-height: 18px; margin: 0 0 10px; color: #fff; }

/* Photo bands with a white card on one side */
.sg-photo-band { background-size: cover; background-position: center; background-repeat: no-repeat; }
.sg-photo-band--grey::before { content: ""; position: absolute; inset: 0; background: rgba(51,51,51,.88); }
.sg-photo-band .container { position: relative; }
.sg-card { width: 600px; max-width: 100%; background: rgba(255,255,255,.92); padding: 40px 40px 50px; }
.sg-card--right { margin-left: auto; }
.sg-card h2 { margin: 0 0 12px; }
.sg-card p { margin: 0 0 24px; }
.sg-card .sg-check p { margin: 0; }
.sg-h5 { font-family: var(--font-body); font-size: 16px; line-height: 24px; font-weight: 700; text-transform: uppercase; color: var(--dark); margin: 0 0 22px; }
.sg-list { list-style: disc; padding-left: 28px; margin: 0 0 24px; font-size: 14px; line-height: 21px; }
.sg-card .sg-btn { margin-top: 8px; }
.sg-photo-band--grey .sg-card { padding-top: 50px; }
.sg-photo-band--grey .sg-card p { margin-bottom: 12px; }
.sg-acc { margin-top: 30px; }
.sg-acc .accordion__item { background: var(--grey-2); border-radius: 0; box-shadow: none; }
.sg-acc .accordion__head { padding: 20px; font-size: 20px; line-height: 30px; gap: 12px; }
.sg-acc__ico { width: 20px; height: 24px; flex: 0 0 20px; color: var(--orange); }
.sg-acc__title { flex: 1; }
.sg-acc .accordion__icon { background: none; flex-basis: 24px; width: 24px; height: 24px; }
.sg-acc .accordion__icon::before { border-color: var(--dark); width: 9px; height: 9px; }
.sg-acc .accordion__body { padding: 8px 20px 20px; border-top: 0; }
.sg-acc .accordion__body ul { list-style: disc; padding-left: 40px; margin: 0 0 24px; }
.sg-acc .accordion__body p { margin: 0 0 24px; }
.sg-acc + .sg-btn { margin-top: 30px; }

/* Key brand differentiators tabs */
.sg-diff h2 { margin: 10px 0 12px; }
.sg-diff__lead { max-width: 731px; margin: 0 0 37px; }
.sg-tabs { display: grid; grid-template-columns: 223px 483px 430px; column-gap: 22px; }
.sg-tabs__nav { border-right: 2px solid var(--border); padding-top: 3px; }
.sg-tab { display: block; width: 100%; padding: 40px 23px; margin-right: -2px; background: none; border: 0; border-right: 2px solid transparent; text-align: left; font-family: var(--font-head); font-size: 20px; line-height: 30px; font-weight: 900; color: var(--dark); cursor: pointer; }
.sg-tab.is-active { color: var(--orange); border-right-color: var(--orange); }
.sg-tabs__panels { grid-column: 2 / span 2; display: grid; grid-template-columns: 483px 430px; column-gap: 21px; }
.sg-panel { display: none; grid-column: 1 / span 2; grid-template-columns: subgrid; }
.sg-panel.is-active { display: grid; }
.sg-panel__text { font-size: 14px; line-height: 21px; padding-top: 10px; }
.sg-panel__text p { margin: 0 0 24px; }
.sg-panel__text ol { list-style: decimal; padding-left: 40px; margin: 0 0 48px; }
.sg-panel__text ul { list-style: disc; padding-left: 20px; margin: 0; }
.sg-panel__img { width: 430px; max-width: 100%; height: auto; display: block; }

/* Partner section */
.sg-partner .container > h2 { margin: 32px 0 12px; }
.sg-flyer { height: 640px; overflow: hidden; margin-top: 10px; }
.sg-flyer img { width: 100%; height: 100%; object-fit: cover; }
.sg-partner__lead { max-width: 792px; margin: 0 auto 22px; }
.sg-partner__foot { max-width: 880px; margin: 21px auto 32px; }

/* Contact form + video on a gradient photo */
.sg-contact { position: relative; display: flow-root; padding: 0 40px 90px; background-size: cover; background-position: center; color: #fff; }
.sg-contact::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(245,149,46,.97) 0%, rgba(58,58,72,.95) 100%); }
.sg-contact__grid { position: relative; display: grid; grid-template-columns: 570px 600px; justify-content: space-between; max-width: var(--container); margin: -20px auto 0; }
.sg-contact__form .form-card { box-shadow: 0 6px 0 var(--orange), 0 10px 30px rgba(0,0,0,.15); }
.sg-contact__right { padding-top: 190px; text-align: center; }
.sg-contact__right h2 { color: #fff; margin: 0 0 12px; }
.sg-contact__right h3 { color: #fff; font-size: 30px; line-height: 45px; margin: 0 0 24px; }
.sg-contact__right p { font-size: 14px; line-height: 21px; max-width: 528px; margin: 0 auto 22px; color: #fff; }
.sg-contact__right iframe { width: 100%; height: 360px; border: 0; border-radius: 10px; display: block; }

@media (max-width: 1100px) {
  .sg-products { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
  .sg-product--big { grid-column: 1 / -1; grid-row: auto; }
  .sg-tabs { grid-template-columns: 1fr; }
  .sg-tabs__nav { border-right: 0; padding: 0; margin-bottom: 20px; }
  .sg-tab { border-right: 0; border-left: 3px solid transparent; background: var(--grey-1); padding: 12px 20px; margin: 0 0 2px; }
  .sg-tab.is-active { border-left-color: var(--orange); }
  .sg-tabs__panels { grid-column: 1; grid-template-columns: 1fr; }
  .sg-panel { grid-column: 1; grid-template-columns: 1fr; }
  .sg-panel.is-active { display: block; }
  .sg-panel__img { width: 100%; margin-top: 20px; }
  .sg-contact__grid { grid-template-columns: 1fr; gap: 40px; margin-top: 0; }
  .sg-contact { padding-top: 40px; }
  .sg-contact__right { padding-top: 0; }
  .sg-checks--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  /* Hero */
  .sg-hero { height: auto; padding: 150px 16px 55px; }
  .sg-hero__logo { height: 54px; margin-bottom: 8px; }
  .sg-hero h1 { font-size: 30px; line-height: 36px; margin: 0 0 10px; }
  .sg-hero p { font-size: 15px; line-height: 22.5px; margin-bottom: 20px; }
  .sg-btn { min-width: 0; width: 100%; max-width: 350px; }

  /* Intro + product tiles */
  .sg-intro { padding: 8px 20px 0; }
  .sg-intro__text p { font-size: 13px; line-height: 19.5px; margin: 0 0 23px; }
  .sg-intro__text p:last-child { margin-bottom: 8px; }
  .sg-checks { gap: 0; }
  .sg-checks--3, .sg-checks--4, .sg-checks--2 { grid-template-columns: 1fr; margin: 0; }
  .sg-check { padding: 10px 0 8px; }
  .sg-check p { max-width: 260px; font-size: 14px; line-height: 21px; padding: 2px 0; }
  .sg-check__icon { width: 40px; height: 40px; margin-bottom: 10px; }
  .sg-check__icon::before { width: 16px; height: 9px; border-width: 0 0 3px 3px; }
  .sg-products { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; margin: 50px 0 10px; }
  .sg-product { padding-top: 4px; height: 199px; }
  .sg-product img { height: 120px; transform: none; }
  .sg-product--tall img { transform: none; }
  .sg-product h3 { margin: 16px 0 10px; }
  .sg-product--big { grid-column: 1 / -1; grid-row: auto; height: auto; padding-top: 0; margin-bottom: 20px; }
  .sg-product--big img { height: 350px; transform: none; }
  .sg-product--big::after { display: none; }
  .sg-product__body { position: static; background: #111; padding: 20px; }
  .sg-product__body h3 { margin: 0; }
  .sg-product__body .sg-btn { width: 100%; max-width: none; }

  /* Photo bands with white cards */
  .section.sg-photo-band { padding: 40px 20px; }
  .sg-card { width: 100%; padding: 30px 20px; }
  .sg-card h2 { font-size: 24px; line-height: 28.8px; margin: 0 0 16px; }
  .sg-small { font-size: 11px; line-height: 16.5px; }
  .sg-card p { margin: 0 0 20px; }
  .sg-h5 { font-size: 14px; line-height: 21px; margin: 0 0 8px; }
  .sg-check--sm p { font-size: 11px; line-height: 16.5px; }
  .sg-checks--2 { margin-bottom: 8px; }
  .sg-card .sg-btn { margin: 10px 0; }

  /* Key brand differentiators */
  .section.sg-diff { padding: 40px 20px; }
  .sg-diff h2 { font-size: 24px; line-height: 28.8px; margin: 8px 0 16px; }
  .sg-diff__lead { margin-bottom: 18px; }
  .sg-tabs__nav { margin-bottom: 8px; }
  .sg-tab { font-size: 16px; line-height: 24px; padding: 12px 20px; margin: 0 0 2px; }
  .sg-panel__text { padding: 8px 0 15px; }
  .sg-panel__text p { font-size: 15px; line-height: 22.5px; margin: 0 0 22px; }
  .sg-panel__text ol { margin: 0 0 22px; }
  .sg-panel__img { margin-top: 0; }

  /* Commitment (grey band) */
  .section.sg-photo-band--grey { padding: 150px 20px 40px; }
  .sg-photo-band--grey .sg-card { padding: 20px; }
  .sg-photo-band--grey .sg-card p { margin-bottom: 18px; }
  .sg-acc { margin-top: 0; gap: 10px; }
  .sg-acc .accordion__head { font-size: 16px; line-height: 24px; padding: 24px 16px; }
  .sg-acc + .sg-btn { margin: 10px 0; }

  /* Local partner */
  .section.sg-partner { padding: 40px 20px; }
  .sg-flyer { height: 188px; margin: 10px 0; }
  .sg-flyer img { height: 100%; }
  .sg-partner .container > h2 { font-size: 24px; line-height: 28.8px; margin: 20px 0 16px; }
  .sg-partner__lead { margin-bottom: 8px; }
  .sg-partner__foot { margin: 8px auto 18px; }

  /* Why choose */
  .section.sg-photo-band--why { padding: 200px 20px 60px; }
  .sg-list { font-size: 11px; line-height: 16.5px; margin: 3px 0 23px; }

  /* Contact form + video */
  .sg-contact { padding: 20px 16px 40px; }
  .sg-contact__grid { gap: 0; }
  .sg-contact__right { padding-top: 20px; }
  .sg-contact__right h2 { font-size: 24px; line-height: 28.8px; margin: 0 0 16px; }
  .sg-contact__right h3 { font-size: 21px; line-height: 25.2px; margin: 0 0 16px; }
  .sg-contact__right p { font-size: 11px; line-height: 16.5px; margin: 0 auto 16px; }
  .sg-contact__right iframe { height: 360px; aspect-ratio: auto; }
}
