/* ============================================================
   RELIANCE ENERGY, section layout (part 2)
   ============================================================ */

/* ---------------- PLANS ---------------- */
.plans__head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 30px; flex-wrap: wrap;
}
.plans__head h2 {
  font-family: var(--display); font-weight: 700; letter-spacing: -0.03em;
  font-size: clamp(32px, 4.2vw, 58px); line-height: 0.98; max-width: 14ch;
}
.toggle {
  display: inline-flex; background: var(--cream-2); border-radius: 100px;
  padding: 5px; border: 1px solid var(--line-2); position: relative;
}
.toggle button {
  position: relative; z-index: 2; font-family: var(--display); font-weight: 600;
  font-size: 14px; padding: 10px 20px; border-radius: 100px; color: var(--muted);
  transition: color .35s var(--ease);
}
.toggle button.on { color: var(--ink); }
.toggle__pin {
  position: absolute; z-index: 1; top: 5px; bottom: 5px; left: 5px;
  background: var(--paper); border-radius: 100px;
  box-shadow: 0 3px 10px rgba(20,19,15,0.1);
  transition: transform .4s var(--ease), width .4s var(--ease);
}
.plans__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-top: clamp(34px, 4vw, 54px);
}
.plan {
  background: var(--paper); border: 1px solid var(--line-2);
  border-radius: 22px; padding: 30px 28px;
  display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.plan:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(20,19,15,0.1); }
.plan--feat { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.plan__tag {
  font-family: var(--display); font-weight: 600; font-size: 12px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--amber-2);
}
.plan--feat .plan__tag { color: var(--amber); }
.plan__name {
  font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: -0.02em;
  margin-top: 4px;
}
.plan__desc { font-size: 14.5px; color: var(--muted); margin-top: 8px; min-height: 44px; }
.plan--feat .plan__desc { color: rgba(255,255,255,0.65); }
.plan__price {
  display: flex; align-items: baseline; gap: 6px; margin-top: 22px;
  padding-top: 22px; border-top: 1px solid var(--line-2);
}
.plan--feat .plan__price { border-color: var(--line-dk); }
.plan__price .val {
  font-family: var(--display); font-weight: 700; font-size: 46px; letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.plan__price .unit { font-size: 14px; color: var(--muted); }
.plan--feat .plan__price .unit { color: rgba(255,255,255,0.6); }
.plan__feats { list-style: none; margin: 22px 0 26px; display: grid; gap: 12px; }
.plan__feats li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; }
.plan__feats svg { flex: none; margin-top: 3px; color: var(--amber-2); }
.plan--feat .plan__feats svg { color: var(--amber); }
.plan .btn { margin-top: auto; justify-content: space-between; width: 100%; }
.plan--feat .btn { background: var(--amber); color: var(--ink); }
.plan--feat .btn .dot { background: var(--ink); color: #fff; }

/* ---------------- ESTIMATOR ---------------- */
.estimator {
  background: var(--forest); color: var(--cream);
  border-radius: var(--radius-lg); overflow: hidden;
  display: grid; grid-template-columns: 1.1fr 1fr;
}
.estimator__l { padding: clamp(34px, 4vw, 60px); }
.estimator__l h3 {
  font-family: var(--display); font-weight: 700; letter-spacing: -0.025em;
  font-size: clamp(26px, 3vw, 40px); line-height: 1.04; max-width: 16ch;
}
.estimator__l p { color: rgba(255,255,255,0.7); margin-top: 14px; max-width: 38ch; }
.slider-wrap { margin-top: 36px; }
.slider-wrap .row { display: flex; justify-content: space-between; align-items: baseline; }
.slider-wrap .row span { font-family: var(--display); font-weight: 600; font-size: 14px; color: rgba(255,255,255,0.7); }
.slider-wrap .row b { font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--amber); font-variant-numeric: tabular-nums; }
input[type=range].rng {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px;
  border-radius: 100px; background: rgba(255,255,255,0.18); margin-top: 16px; cursor: pointer;
}
input[type=range].rng::-webkit-slider-thumb {
  -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--amber); border: 4px solid var(--forest); box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
input[type=range].rng::-moz-range-thumb {
  width: 26px; height: 26px; border-radius: 50%; background: var(--amber);
  border: 4px solid var(--forest); box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.estimator__r {
  background: var(--ink-2); padding: clamp(34px, 4vw, 60px);
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
}
.estimator__r .k { font-family: var(--display); font-weight: 600; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.55); }
.estimator__bill {
  font-family: var(--display); font-weight: 800; letter-spacing: -0.04em;
  font-size: clamp(52px, 8vw, 92px); line-height: 0.92; color: #fff;
  font-variant-numeric: tabular-nums;
}
.estimator__bill .cur { color: var(--amber); }
.estimator__save {
  margin-top: 18px; padding: 14px 18px; border-radius: 14px;
  background: rgba(47,168,108,0.16); border: 1px solid rgba(47,168,108,0.34);
  font-size: 14.5px; color: var(--amber-soft);
}
.estimator__save b { color: #fff; font-weight: 700; }

/* ---------------- HOW IT WORKS ---------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(34px,4vw,54px); }
.step { position: relative; padding-top: 28px; border-top: 2px solid var(--ink); }
.step__n { font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--amber-2); }
.step h4 { font-family: var(--display); font-weight: 700; font-size: clamp(20px, 2.2vw, 27px); letter-spacing: -0.02em; margin-top: 14px; }
.step p { color: var(--muted); font-size: 15px; margin-top: 10px; max-width: 30ch; }

/* ---------------- COVERAGE ---------------- */
.coverage {
  background: var(--ink); color: var(--cream); border-radius: var(--radius-lg);
  padding: clamp(36px, 5vw, 76px); position: relative; overflow: hidden;
  text-align: center;
}
.coverage__glow {
  position: absolute; width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(47,168,108,0.3), transparent 62%);
  top: -200px; left: 50%; transform: translateX(-50%); z-index: 0;
  filter: blur(8px);
}
.coverage__inner { position: relative; z-index: 2; max-width: 620px; margin: 0 auto; }
.coverage h2 {
  font-family: var(--display); font-weight: 700; letter-spacing: -0.03em;
  font-size: clamp(30px, 4vw, 52px); line-height: 1.0;
}
.coverage p { color: rgba(255,255,255,0.66); margin-top: 16px; }
.zipform {
  display: flex; gap: 8px; margin: 30px auto 0; max-width: 440px;
  background: rgba(255,255,255,0.08); border: 1px solid var(--line-dk);
  border-radius: 100px; padding: 7px 7px 7px 8px;
}
.zipform input {
  flex: 1; background: none; border: none; outline: none; color: #fff;
  font-family: var(--body); font-size: 16px; padding: 12px 16px;
}
.zipform input::placeholder { color: rgba(255,255,255,0.45); }
.zipform .btn { background: var(--amber); color: var(--ink); }
.zipform .btn .dot { background: var(--ink); color: #fff; }
.zipresult { margin-top: 20px; font-family: var(--display); font-weight: 600; font-size: 16px; min-height: 24px; opacity: 0; transition: opacity .4s var(--ease); }
.zipresult.show { opacity: 1; }
.zipresult.ok { color: var(--amber); }
.zipresult.no { color: #f0a; }

/* ---------------- IMPACT IMAGE ---------------- */
.impact { position: relative; height: clamp(420px, 56vw, 640px); border-radius: var(--radius-lg); overflow: hidden; }
.impact image-slot { width: 100%; height: 120%; position: absolute; top: -10%; left: 0; border-radius: 0; }
.impact__play {
  position: absolute; inset: 0; z-index: 3; display: grid; place-items: center;
}
.playbtn {
  display: inline-flex; align-items: center; gap: 13px;
  background: rgba(251,249,244,0.92); color: var(--ink);
  font-family: var(--display); font-weight: 600; font-size: 15px;
  padding: 9px 9px 9px 22px; border-radius: 100px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.28);
  transition: transform .4s var(--ease);
}
.playbtn:hover { transform: scale(1.04); }
.playbtn .dot { width: 34px; height: 34px; border-radius: 50%; background: var(--amber); color: var(--ink); display: grid; place-items: center; }
.impact__cap { position: absolute; left: clamp(20px,3vw,40px); bottom: clamp(20px,3vw,40px); z-index: 3; color: #fff; }
.impact__cap .pill { background: rgba(20,19,15,0.5); color: #fff; border-color: rgba(255,255,255,0.2); }

/* ---------------- PROJECTS (05) ---------------- */
.projects__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.projects__head h2 { font-family: var(--display); font-weight: 700; letter-spacing: -0.03em; font-size: clamp(30px, 3.8vw, 50px); line-height: 0.98; max-width: 16ch; }
.pcard {
  margin-top: clamp(30px,4vw,48px);
  display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(24px,4vw,56px);
  align-items: center;
}
.pcard__meta .date { font-size: 13.5px; color: var(--muted); }
.pcard__meta h3 { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 3.2vw, 42px); line-height: 1.02; letter-spacing: -0.025em; margin-top: 12px; max-width: 14ch; }
.pcard__meta p { color: var(--muted); margin-top: 14px; max-width: 36ch; }
.pcard__meta .btn { margin-top: 24px; }
.pcard__img { position: relative; }
.pcard__img image-slot { width: 100%; height: clamp(280px, 32vw, 400px); }
.pcard__tags { position: absolute; top: 16px; right: 16px; display: flex; gap: 8px; }
.dots { display: flex; gap: 8px; justify-content: center; margin-top: 30px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: width .3s, background .3s; }
.dots i.on { width: 26px; background: var(--amber); border-radius: 100px; }

/* ---------------- FAQ ---------------- */
.faq__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(30px,5vw,80px); align-items: start; }
.faq__head h2 { font-family: var(--display); font-weight: 700; letter-spacing: -0.03em; font-size: clamp(30px,3.6vw,48px); line-height: 1.0; }
.faq__head p { color: var(--muted); margin-top: 16px; max-width: 32ch; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 0; text-align: left;
  font-family: var(--display); font-weight: 600; font-size: clamp(17px, 1.9vw, 21px); letter-spacing: -0.01em;
}
.faq__q .ic { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; transition: transform .4s var(--ease), background .3s, color .3s, border-color .3s; }
.faq__item.open .faq__q .ic { background: var(--amber); border-color: var(--amber); transform: rotate(135deg); }
.faq__a { overflow: hidden; height: 0; transition: height .45s var(--ease); }
.faq__a > div { padding: 0 60px 26px 0; color: var(--muted); font-size: 16px; line-height: 1.55; }

/* ---------------- CTA BAND ---------------- */
.ctaband {
  background: var(--amber); border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 88px); position: relative; overflow: hidden;
}
.ctaband__glow { position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,0.4), transparent 65%); }
.ctaband h2 {
  position: relative; font-family: var(--display); font-weight: 800; letter-spacing: -0.035em;
  font-size: clamp(34px, 5.2vw, 72px); line-height: 0.96; color: var(--ink); max-width: 16ch;
}
.ctaband__row { position: relative; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 34px; }
.ctaband__row .note { color: rgba(20,19,15,0.66); font-size: 14.5px; max-width: 26ch; }

/* ---------------- FOOTER ---------------- */
.footer {
  background: var(--ink); color: var(--cream);
  margin-top: clamp(40px, 6vw, 90px);
  position: relative; overflow: hidden;
}

/* thin green accent line at the very top */
.footer__accent {
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--amber), var(--amber-2), transparent);
}

.footer__top {
  padding-block: clamp(48px, 6vw, 80px);
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

/* brand column */
.footer__brand { display: flex; flex-direction: column; gap: 0; }
.footer__logo {
  width: auto; height: 80px;
  display: block; object-fit: contain; object-position: left;
}
.footer__brand p {
  color: rgba(255,255,255,0.5); max-width: 32ch;
  margin-top: 18px; font-size: 14.5px; line-height: 1.65;
}

/* ERB badge */
.footer__erb {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 18px;
  font-family: var(--display); font-weight: 600; font-size: 12px;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--amber); border: 1px solid rgba(47,168,108,0.3);
  padding: 7px 14px; border-radius: 100px;
  width: fit-content;
}
.footer__erb svg { color: var(--amber); flex-shrink: 0; }
.footer__erb-logo {
  height: 22px; width: auto; object-fit: contain;
  filter: brightness(0) invert(1); /* makes it white on the dark footer */
  opacity: 0.75; flex-shrink: 0;
}

/* social icons row */
.footer__socials {
  display: flex; gap: 10px; margin-top: 22px;
}
.footer__social {
  width: 36px; height: 36px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  display: grid; place-items: center;
  color: rgba(255,255,255,0.5);
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.footer__social:hover {
  background: var(--amber); color: var(--ink);
  border-color: var(--amber);
}

/* link columns */
.footer__col h5 {
  font-family: var(--display); font-weight: 600;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.35); margin-bottom: 20px;
  padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer__col a {
  display: block; padding: 6px 0;
  color: rgba(255,255,255,0.65); font-size: 14.5px;
  transition: color .22s var(--ease), padding-left .22s var(--ease);
}
.footer__col a:hover { color: var(--amber); padding-left: 5px; }

/* contact column items with icons */
.footer__contact-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 6px 0; color: rgba(255,255,255,0.65);
  font-size: 14px; line-height: 1.5;
  transition: color .22s var(--ease);
}
.footer__contact-item:hover { color: var(--amber); }
.footer__contact-item svg { flex-shrink: 0; margin-top: 3px; color: var(--amber); }
.footer__contact-item br { display: block; }

/* bottom bar */
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-block: 24px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; flex-wrap: wrap;
}
.footer__bottom .lg { display: flex; gap: 24px; }
.footer__bottom a, .footer__bottom span {
  color: rgba(255,255,255,0.38); font-size: 13px; letter-spacing: 0.02em;
}
.footer__bottom a:hover { color: var(--amber); }

/* designer credit - subtle but linkable */
.footer__credit {
  font-family: var(--display);
  font-size: 11.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.22);
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color .3s var(--ease);
  white-space: nowrap;
  flex-shrink: 0;
}
.footer__credit span {
  color: rgba(47,168,108,0.5);
  transition: color .3s var(--ease);
}
.footer__credit:hover { color: rgba(255,255,255,0.55); }
.footer__credit:hover span { color: var(--amber); }

/* responsive */
@media (max-width: 980px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
  .footer__brand p { margin-top: 0; }
  .footer__erb, .footer__socials { margin-top: 0; }
}
@media (max-width: 640px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__brand { grid-column: 1 / -1; flex-direction: column; gap: 0; }
  .footer__brand p { margin-top: 14px; }
  .footer__erb { margin-top: 14px; }
  .footer__socials { margin-top: 18px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer__bottom .lg { flex-wrap: wrap; gap: 14px; }
}
@media (max-width: 440px) {
  .footer__top { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .estimator, .pcard, .faq__grid { grid-template-columns: 1fr; }
  .plans__grid { grid-template-columns: 1fr; max-width: 460px; }
  .steps { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer__top { grid-template-columns: 1fr; }
  .plans__head h2 { font-size: 36px; }
}
