/* =========================================================================
   SOLAR ENERGY — components: shared building blocks
   ========================================================================= */

/* ============================ 10. MARQUEE ============================ */
.trust {
  background: var(--ink);
  color: rgba(255,255,255,.72);
  padding-block: 1.25rem;
  border-block: 1px solid rgba(255,255,255,.08);
  overflow: hidden;
}
.marquee { display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track {
  display: flex;
  gap: 3.2rem;
  flex: none;
  padding-right: 3.2rem;
  animation: marquee 44s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 500;
  stroke-width: 1.8;
}
.marquee__item .icon { color: var(--sun); width: 1.15em; height: 1.15em; }

/* ============================ 11. STATS ============================ */
.stats { background: var(--paper); padding-block: clamp(3.5rem, 7vw, 6rem); }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.stat { position: relative; padding-left: 1.5rem; }
.stat::before {
  content: "";
  position: absolute;
  left: 0; top: .35rem; bottom: .35rem;
  width: 3px;
  border-radius: 3px;
  background: var(--grad-sun);
}
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.4vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.035em;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}
.stat__unit { font-size: .48em; font-weight: 600; margin-left: .12em; color: var(--sun-ink); }
.stat__label {
  margin-top: .6rem;
  font-size: .93rem;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 24ch;
}

/* ============================ 12. ABOUT ============================ */
.about { background: var(--paper); }
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}

.about__media { position: relative; perspective: 1000px; }

.frame {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  transform-style: preserve-3d;
}
.frame img {
  width: 100%;
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out);
}
.about__media:hover .frame img { transform: scale(1.05); }
.frame__glow {
  position: absolute; inset: 0;
  background: linear-gradient(190deg, rgba(255,176,32,.20) 0%, transparent 42%, rgba(10,20,14,.42) 100%);
  pointer-events: none;
}
/* decorative offset outline behind the image */
.about__media::before {
  content: "";
  position: absolute;
  inset: 1.6rem -1.6rem -1.6rem 1.6rem;
  border: 1.5px solid var(--brand-100);
  border-radius: var(--r-xl);
  z-index: -1;
}

.badge-card {
  position: absolute;
  left: -1.4rem;
  bottom: 2.2rem;
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: 1rem 1.3rem;
  background: rgba(255,255,255,.9);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transform: translateZ(50px);
}
.badge-card .icon { width: 2rem; height: 2rem; color: var(--sun-deep); stroke-width: 1.8; }
.badge-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}
.badge-card span { font-size: .82rem; color: var(--text-muted); }

.feature-list { display: grid; gap: 1.5rem; margin-block: 2.2rem; }
.feature-list li { display: flex; gap: 1.1rem; }
.feature-list__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  color: var(--brand);
  stroke-width: 1.9;
  transition: transform .4s var(--ease-spring), background .3s;
}
.feature-list__icon .icon { width: 1.35rem; height: 1.35rem; }
.feature-list li:hover .feature-list__icon {
  transform: translateY(-3px) rotate(-6deg);
  background: var(--brand-100);
}
.feature-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.09rem;
  font-weight: 600;
  margin-bottom: .28rem;
}
.feature-list p { font-size: .96rem; color: var(--text-muted); line-height: 1.68; }

/* ============================ 13. SERVICES ============================ */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.6rem);
}
.card {
  position: relative;
  padding: 2.1rem 1.9rem;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--r-lg);
  overflow: hidden;
  isolation: isolate;
  transform-style: preserve-3d;
  transition: border-color .4s var(--ease-out), background .4s var(--ease-out), box-shadow .4s;
}
.card:hover {
  border-color: rgba(255,176,32,.34);
  background: rgba(255,255,255,.07);
  box-shadow: 0 24px 60px rgba(0,0,0,.32);
}
/* pointer-tracked spotlight */
.card__spot {
  position: absolute;
  inset: -1px;
  z-index: -1;
  opacity: 0;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(255,176,32,.20), transparent 62%);
  transition: opacity .4s var(--ease-out);
  pointer-events: none;
}
.card:hover .card__spot { opacity: 1; }

.card__icon {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  margin-bottom: 1.4rem;
  border-radius: 16px;
  background: linear-gradient(150deg, rgba(255,176,32,.22), rgba(255,176,32,.05));
  border: 1px solid rgba(255,176,32,.26);
  color: var(--sun-400);
  stroke-width: 1.8;
  transition: transform .5s var(--ease-spring);
}
.card__icon .icon { width: 1.6rem; height: 1.6rem; }
.card:hover .card__icon { transform: translateZ(38px) rotate(-7deg) scale(1.06); }

.card h3 {
  font-size: 1.32rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: .6rem;
  letter-spacing: -.02em;
}
.card > p { font-size: .96rem; color: var(--text-light); line-height: 1.7; }

.card__list {
  display: grid;
  gap: .5rem;
  margin-top: 1.35rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255,255,255,.10);
}
.card__list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: .89rem;
  color: rgba(255,255,255,.66);
}
.card__list li::before {
  content: "";
  position: absolute;
  left: 0; top: .58em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sun);
}

/* ============================ 15. SHOWCASE BAND ============================ */
.showcase {
  position: relative;
  padding-block: clamp(6rem, 14vw, 11rem);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.showcase__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}
.showcase__scrim {
  position: absolute; inset: 0;
  z-index: -1;
  background:
    linear-gradient(92deg, rgba(6,18,10,.94) 0%, rgba(6,18,10,.72) 42%, rgba(6,18,10,.34) 100%),
    radial-gradient(90% 120% at 88% 12%, rgba(255,176,32,.26), transparent 60%);
}
.showcase__body { max-width: 880px; }
.showcase__body .h2 { color: #fff; margin-bottom: 2rem; }

/* ============================ 16. PROCESS ============================ */
.process { background: var(--paper); }
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(1rem, 2vw, 1.75rem);
  position: relative;
}
/* the connecting line the sun travels along */
.steps::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 6%;
  right: 6%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px);
}
.step { position: relative; padding-top: 4.6rem; }
.step__num {
  position: absolute;
  top: 0; left: 0;
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--brand-100);
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--brand);
  transition: transform .45s var(--ease-spring), background .45s, color .45s, border-color .45s, box-shadow .45s;
}
.step:hover .step__num,
.step.is-in .step__num {
  background: var(--grad-sun);
  border-color: transparent;
  color: #2A1803;
  box-shadow: var(--sh-sun);
}
.step:hover .step__num { transform: scale(1.09) rotate(-5deg); }

.step h3 {
  font-size: 1.18rem;
  font-weight: 600;
  margin-bottom: .55rem;
  letter-spacing: -.02em;
}
.step p { font-size: .93rem; color: var(--text-muted); line-height: 1.68; }
.step__meta {
  display: inline-block;
  margin-top: .9rem;
  padding: .3rem .7rem;
  font-size: .76rem;
  font-weight: 600;
  color: var(--brand-600);
  background: var(--brand-50);
  border-radius: var(--r-pill);
}

/* ============================ 18. PROJECTS ============================ */
.projects { background: var(--paper-2); }

.filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter {
  padding: .6rem 1.25rem;
  font-family: var(--font-display);
  font-size: .93rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  transition: all .3s var(--ease-out);
}
.filter:hover { color: var(--brand); border-color: var(--brand-300); }
.filter.is-active {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
  box-shadow: var(--sh-brand);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  grid-auto-flow: dense;
  gap: clamp(.85rem, 1.6vw, 1.4rem);
}
.tile {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: zoom-in;
  background: var(--ink-2);
  box-shadow: var(--sh-md);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out), box-shadow .5s;
}
.tile--wide { grid-column: span 2; }
.tile--tall { grid-row: span 2; }

.tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out), filter .6s;
}
.tile:hover img { transform: scale(1.07); }
.tile:hover { box-shadow: var(--sh-lg); }

.tile figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 2.6rem 1.5rem 1.4rem;
  background: linear-gradient(180deg, transparent, rgba(6,16,10,.82) 42%, rgba(6,16,10,.95));
  color: #fff;
  transform: translateY(14px);
  opacity: .96;
  transition: transform .5s var(--ease-out);
}
.tile:hover figcaption { transform: translateY(0); }
.tile__cat {
  display: inline-block;
  margin-bottom: .5rem;
  padding: .2rem .65rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sun-300);
  background: rgba(255,176,32,.14);
  border: 1px solid rgba(255,176,32,.3);
  border-radius: var(--r-pill);
}
.tile figcaption h3 { font-size: 1.16rem; font-weight: 600; color: #fff; letter-spacing: -.02em; }
.tile figcaption p { font-size: .86rem; color: rgba(255,255,255,.66); margin-top: .2rem; }

/* full-tile hit area — a real button, so the figure keeps its semantics */
.tile__open {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  cursor: zoom-in;
  border-radius: inherit;
}
.tile__open:focus-visible { outline: 3px solid var(--sun); outline-offset: -3px; }

.tile.is-hidden {
  opacity: 0;
  transform: scale(.92);
  pointer-events: none;
  position: absolute;
  visibility: hidden;
}

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(4,10,6,.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: lbIn .35s var(--ease-out);
}
.lightbox[hidden] { display: none; }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }

.lightbox__figure { max-width: min(1100px, 92vw); text-align: center; }
.lightbox__figure img {
  max-height: 76vh;
  width: auto;
  margin-inline: auto;
  border-radius: var(--r-lg);
  box-shadow: 0 30px 90px rgba(0,0,0,.6);
  animation: lbZoom .4s var(--ease-out);
}
@keyframes lbZoom { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
.lightbox__figure figcaption {
  margin-top: 1.1rem;
  color: rgba(255,255,255,.8);
  font-size: .95rem;
}
.lightbox__close {
  position: absolute;
  top: clamp(1rem, 3vw, 2rem);
  right: clamp(1rem, 3vw, 2rem);
  width: 48px; height: 48px;
  font-size: 2rem;
  line-height: 1;
  color: #fff;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  transition: background .3s, transform .3s;
}
.lightbox__close:hover { background: rgba(255,255,255,.2); transform: rotate(90deg); }

.lightbox__nav {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  color: #fff;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  stroke-width: 2;
  transition: background .3s, transform .3s;
}
.lightbox__nav:hover { background: rgba(255,255,255,.2); }
.lightbox__nav .icon { width: 1.4rem; height: 1.4rem; }
.lightbox__nav--prev { left: clamp(.75rem, 3vw, 2rem); }
.lightbox__nav--prev .icon { transform: rotate(180deg); }
.lightbox__nav--next { right: clamp(.75rem, 3vw, 2rem); }

/* ============================ 19. TESTIMONIALS ============================ */
.quotes { background: var(--paper); overflow: hidden; }
.quotes__viewport { overflow: hidden; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.quotes__track {
  display: flex;
  gap: clamp(1rem, 2vw, 1.6rem);
  transition: transform .7s var(--ease-out);
}
.quote {
  flex: 0 0 clamp(280px, 40%, 460px);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding: 2.2rem 2rem;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: border-color .4s, box-shadow .4s, transform .4s var(--ease-out);
}
.quote:hover { border-color: var(--brand-300); box-shadow: var(--sh-md); transform: translateY(-4px); }
.quote__mark { width: 34px; height: auto; fill: var(--sun-300); flex: none; }
.quote p { font-size: 1.03rem; line-height: 1.72; color: var(--text); text-wrap: pretty; }
.quote footer { display: flex; align-items: center; gap: .85rem; margin-top: auto; }
.quote__avatar {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  flex: none;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.quote footer strong { display: block; font-family: var(--font-display); font-size: 1rem; font-weight: 600; }
.quote footer span { font-size: .85rem; color: var(--text-muted); }

.quotes__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.qbtn {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  color: var(--text);
  stroke-width: 2;
  transition: all .3s var(--ease-out);
}
.qbtn:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.qbtn:disabled { opacity: .32; pointer-events: none; }
#qPrev .icon { transform: rotate(180deg); }

.quotes__dots { display: flex; gap: .5rem; }
.quotes__dots button {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--line);
  transition: all .35s var(--ease-out);
}
.quotes__dots button.is-active { width: 30px; border-radius: var(--r-pill); background: var(--grad-sun); }

/* ============================ 20. FAQ ============================ */
.faq { background: var(--paper-2); }
.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.faq__intro .btn { margin-top: 2rem; }

.accordion { display: grid; gap: .75rem; }
.acc {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color .35s, box-shadow .35s;
}
.acc.is-open { border-color: var(--brand-300); box-shadow: var(--sh-md); }

.acc__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  padding: 1.4rem 1.6rem;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -.012em;
  color: var(--text);
  transition: color .3s;
}
.acc__btn:hover { color: var(--brand); }
.acc.is-open .acc__btn { color: var(--brand); }

.acc__sign {
  position: relative;
  flex: none;
  width: 22px; height: 22px;
}
.acc__sign::before, .acc__sign::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  background: currentColor;
  border-radius: 2px;
  transition: transform .4s var(--ease-out);
}
.acc__sign::before { width: 14px; height: 2px; translate: -50% -50%; }
.acc__sign::after  { width: 2px; height: 14px; translate: -50% -50%; }
.acc.is-open .acc__sign::after { transform: scaleY(0); }
.acc.is-open .acc__sign::before { transform: rotate(180deg); }

.acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s var(--ease-out);
}
.acc.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__inner { overflow: hidden; }
.acc__inner p {
  padding: 0 1.6rem 1.5rem;
  font-size: .97rem;
  line-height: 1.75;
  color: var(--text-muted);
  text-wrap: pretty;
}

/* ============================ 21. CTA BAND ============================ */
.cta-band {
  position: relative;
  padding-block: clamp(4rem, 9vw, 7rem);
  background: var(--grad-sun);
  color: #2A1803;
  overflow: hidden;
  isolation: isolate;
}
.cta-band__sun {
  position: absolute;
  top: 50%; left: 50%;
  width: 140%;
  aspect-ratio: 1;
  translate: -50% -50%;
  background: radial-gradient(circle, rgba(255,255,255,.5) 0%, transparent 42%);
  z-index: -1;
  animation: pulseGlow 9s var(--ease-io) infinite;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: repeating-linear-gradient(115deg, rgba(255,255,255,.09) 0 2px, transparent 2px 26px);
  opacity: .55;
}
.cta-band__inner { text-align: center; display: grid; justify-items: center; gap: 2.2rem; }
.cta-band .h2 { color: #2A1803; max-width: 22ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; }

/* ============================ 22. CONTACT ============================ */
.contact { background: var(--paper); }
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.contact__list { display: grid; gap: 1.5rem; margin-top: 2.2rem; }
.contact__list li { display: flex; gap: 1.1rem; }
.contact__ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  color: var(--brand);
  stroke-width: 1.9;
}
.contact__ico .icon { width: 1.3rem; height: 1.3rem; }
.contact__list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: .2rem;
}
.contact__list p { font-size: .95rem; color: var(--text-muted); line-height: 1.6; }
.contact__list a:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }

.whatsapp {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  margin-top: 2.2rem;
  padding: .95rem 1.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: #fff;
  background: #075E54;
  border-radius: var(--r-pill);
  box-shadow: 0 8px 24px rgba(7,94,84,.3);
  transition: transform .35s var(--ease-spring), box-shadow .35s;
}
.whatsapp:hover { background: #0A7466; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(7,94,84,.42); }
.whatsapp .icon { width: 1.4rem; height: 1.4rem; fill: currentColor; }

.contact__form-wrap {
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-md);
}
.form { display: grid; gap: 1.25rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form__field { display: grid; gap: .45rem; }
.form__field label {
  font-family: var(--font-display);
  font-size: .93rem;
  font-weight: 600;
}
.form__opt { font-weight: 400; color: var(--text-muted); }

.form input, .form select, .form textarea {
  width: 100%;
  padding: .92rem 1.1rem;
  font-size: .98rem;
  color: var(--text);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.form textarea { resize: vertical; min-height: 110px; }
.form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A6D61' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 18px;
  padding-right: 2.8rem;
}
.form input::placeholder, .form textarea::placeholder { color: #9BAAA0; }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(14,128,59,.12);
}
.form input[aria-invalid="true"], .form textarea[aria-invalid="true"] {
  border-color: #D64545;
  box-shadow: 0 0 0 4px rgba(214,69,69,.1);
}
.form__error {
  font-size: .82rem;
  color: #C63B3B;
  min-height: 0;
  transition: min-height .2s;
}
.form__error:not(:empty) { min-height: 1.2em; }
.form__note { font-size: .82rem; color: var(--text-muted); text-align: center; }
.form__status {
  font-size: .95rem;
  font-weight: 600;
  text-align: center;
  padding: .85rem 1rem;
  border-radius: var(--r-sm);
  display: none;
}
.form__status.is-ok {
  display: block;
  color: var(--brand-600);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
}

@media (max-width: 1100px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 2rem; }
  .steps::before { display: none; }
}

@media (max-width: 980px) {
  /* full-screen menu sheet */
  .nav {
    position: fixed;
    inset: 0;
    z-index: 99;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 1rem;
    padding: calc(var(--header-h) + 2rem) var(--gutter) 2.5rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--grad-dark);
    clip-path: circle(0% at calc(100% - 44px) 42px);
    visibility: hidden;
    transition: clip-path .55s var(--ease-io), visibility .55s;
  }
  /* the header sits above the sheet so brand and close stay reachable */
  .header__actions { position: relative; z-index: 101; }
  .about__grid,
  .subsidy__grid,
  .faq__grid,
  .contact__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 520px; }
  .about__media::before { inset: 1.2rem -1.2rem -1.2rem 1.2rem; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 230px; }
  .tile--tall { grid-row: span 1; }
  .section-head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 700px) {
  .stats__grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 2rem; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 250px; }
  .tile--wide { grid-column: span 1; }
  .form__row { grid-template-columns: 1fr; }
  .quote { flex-basis: 84%; }
  .lightbox__nav { width: 44px; height: 44px; }
  .lightbox__nav--prev { left: .5rem; }
  .lightbox__nav--next { right: .5rem; }
}

@media (max-width: 420px) {
  .badge-card { left: -.5rem; padding: .85rem 1rem; }
}

/* =========================================================================
   ADDED COMPONENTS — shared across the multi-page build
   ========================================================================= */

/* ---------------- call-Jithin card ---------------- */
.call-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.4rem 1.6rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
  transition: transform .4s var(--ease-spring), box-shadow .4s, border-color .4s;
}
.call-card:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); border-color: var(--brand-300); }
.call-card__ring {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  flex: none;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  stroke-width: 2;
}
.call-card__ring::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--brand-300);
  animation: ping 2.6s var(--ease-out) infinite;
}
.call-card__ring .icon { width: 1.4rem; height: 1.4rem; }
/* the text column beside the ring */
.call-card > span + span { display: grid; gap: .1rem; min-width: 0; }

.call-card__label {
  display: block;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.call-card__name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--text);
}
.call-card__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.28rem, 2.2vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.call-card--dark {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.12);
  box-shadow: none;
}
.call-card--dark:hover { background: rgba(255,255,255,.08); border-color: rgba(255,176,32,.34); }
.call-card--dark .call-card__label { color: rgba(255,255,255,.55); }
.call-card--dark .call-card__name  { color: #fff; }
.call-card--dark .call-card__num   { color: var(--sun-300); }

/* ---------------- timeline ---------------- */
.timeline { position: relative; display: grid; gap: 2.4rem; padding-left: 3.2rem; }
.timeline::before {
  content: "";
  position: absolute;
  left: 15px; top: .6rem; bottom: .6rem;
  width: 2px;
  background: var(--line);
}
/* The sun-coloured fill that grows as you scroll. Drawn with ::after so
   the <ol> keeps only <li> children and stays a valid list. */
.timeline::after {
  content: "";
  position: absolute;
  left: 15px; top: .6rem;
  width: 2px;
  height: var(--progress, 0%);
  background: var(--grad-sun);
  box-shadow: 0 0 12px rgba(255,176,32,.6);
}
.tl-item { position: relative; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -3.2rem; top: .35rem;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--brand-100);
  transition: background .45s, border-color .45s, box-shadow .45s, transform .45s var(--ease-spring);
}
.tl-item.is-in::before {
  background: var(--grad-sun);
  border-color: transparent;
  box-shadow: var(--sh-sun);
  transform: scale(1.06);
}
.tl-item__year {
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: .35rem;
}
.tl-item h3 { font-size: 1.24rem; font-weight: 600; margin-bottom: .45rem; letter-spacing: -.02em; }
.tl-item p { color: var(--text-muted); line-height: 1.7; max-width: 56ch; }
.section--dark .timeline::before { background: rgba(255,255,255,.12); }
.section--dark .tl-item::before { background: var(--ink-2); border-color: rgba(255,255,255,.18); }
.section--dark .tl-item__year { color: var(--sun-400); }
.section--dark .tl-item h3 { color: #fff; }
.section--dark .tl-item p { color: var(--text-light); }

/* ---------------- comparison table ---------------- */
.compare-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--paper); }
.compare { width: 100%; border-collapse: collapse; min-width: 620px; }
.compare th, .compare td { padding: 1.05rem 1.25rem; text-align: left; font-size: .95rem; }
.compare thead th {
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.compare tbody tr + tr { border-top: 1px solid var(--line-2); }
.compare tbody th {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}
.compare td { color: var(--text-muted); }
.compare .yes { color: var(--brand); font-weight: 600; }
.compare .no  { color: #B45454; }
.compare tbody tr:hover { background: var(--brand-50); }

/* ---------------- checklist ---------------- */
.checklist { display: grid; gap: .85rem; }
.checklist li {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  padding: 1rem 1.2rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color .35s, transform .35s var(--ease-out);
}
.checklist li:hover { border-color: var(--brand-300); transform: translateX(4px); }
.checklist__box {
  flex: none;
  display: grid;
  place-items: center;
  width: 24px; height: 24px;
  margin-top: .1rem;
  border-radius: 7px;
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  color: var(--brand);
  stroke-width: 3;
}
.checklist__box .icon { width: .85rem; height: .85rem; }
.checklist strong { display: block; font-family: var(--font-display); font-weight: 600; margin-bottom: .12rem; }
.checklist p { font-size: .89rem; color: var(--text-muted); line-height: 1.6; }

/* ---------------- animated bar chart ---------------- */
.chart {
  display: flex;
  align-items: flex-end;
  gap: clamp(3px, .8vw, 10px);
  height: clamp(160px, 24vw, 240px);
  padding-top: 1rem;
}
.chart__bar {
  position: relative;
  flex: 1;
  height: 100%;
  display: flex;
  align-items: flex-end;
}
.chart__fill {
  width: 100%;
  height: 0;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--sun-300), rgba(255,176,32,.30));
  transition: height 1s var(--ease-out);
}
.chart__bar--peak .chart__fill { background: linear-gradient(180deg, var(--sun), var(--sun-deep)); }
.is-in .chart__fill { height: var(--h, 50%); }
.chart__bar::after {
  content: attr(data-label);
  position: absolute;
  inset: auto 0 -1.6rem;
  text-align: center;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--text-muted);
}
.chart__bar:hover .chart__fill { filter: brightness(1.12); }
.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  margin-top: 2.6rem;
  font-size: .84rem;
  color: var(--text-muted);
}
.chart-legend span { display: flex; align-items: center; gap: .45rem; }
.chart-legend i { width: 12px; height: 12px; border-radius: 3px; }

/* ---------------- pill row ---------------- */
.pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .45rem 1rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--brand-600);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: var(--r-pill);
}
.pill .icon { width: 1em; height: 1em; }
.pill--sun { color: #7A4400; background: #FFF4DE; border-color: #FFE0A3; }
.section--dark .pill {
  color: var(--sun-300);
  background: rgba(255,176,32,.10);
  border-color: rgba(255,176,32,.26);
}

/* ---------------- section intro rule ---------------- */
.rule {
  height: 1px;
  background: linear-gradient(90deg, var(--line), transparent);
  margin-block: clamp(3rem, 6vw, 5rem);
}
.section--dark .rule { background: linear-gradient(90deg, rgba(255,255,255,.16), transparent); }

@media (max-width: 700px) {
  .call-card { flex-direction: column; align-items: flex-start; gap: .9rem; }
  .timeline { padding-left: 2.6rem; }
  .tl-item::before { left: -2.6rem; width: 26px; height: 26px; }
  .timeline::before, .timeline::after { left: 12px; }
}

/* =========================================================================
   BRANDS WE INSTALL — the manufacturers from the company letterhead
   ========================================================================= */
.brands { background: var(--paper); }
.brands--tight { padding-block: clamp(3rem, 6vw, 4.5rem); }

.brands__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(.75rem, 1.6vw, 1.25rem);
  perspective: 900px;
}
.brand-tile {
  display: grid;
  place-items: center;
  padding: 1.35rem 1.15rem;
  min-height: 96px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transform-style: preserve-3d;
  transition: border-color .4s var(--ease-out), box-shadow .4s, transform .4s var(--ease-out);
}
.brand-tile:hover {
  border-color: var(--brand-300);
  box-shadow: var(--sh-md);
  transform: translateY(-4px);
}
.brand-tile img {
  width: auto;
  max-height: 54px;
  max-width: 100%;
  object-fit: contain;
  /* the crops carry a white ground — multiply drops it onto the tile */
  mix-blend-mode: multiply;
  transition: transform .45s var(--ease-spring);
}
.brand-tile:hover img { transform: scale(1.06); }

.brands__note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem 1.4rem;
  margin-top: 2rem;
  font-size: .92rem;
  color: var(--text-muted);
}
.brands__note strong { color: var(--text); font-weight: 600; }

/* on a dark section the white logo grounds need inverting instead */
.section--dark .brand-tile {
  background: rgba(255,255,255,.94);
  border-color: rgba(255,255,255,.16);
}
.section--dark .brands__note { color: var(--text-light); }
.section--dark .brands__note strong { color: #fff; }

@media (max-width: 900px) {
  .brands__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .brands__grid { grid-template-columns: repeat(2, 1fr); }
  .brand-tile { padding: 1.1rem .9rem; min-height: 86px; }
  .brand-tile img { max-height: 38px; }
}

/* =========================================================================
   HEADER WHATSAPP BUTTON
   ========================================================================= */
.header__wa {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  flex: none;
  border-radius: 50%;
  color: #fff;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background .3s var(--ease-out), border-color .3s, transform .35s var(--ease-spring), color .3s;
}
.header__wa .icon { width: 1.3rem; height: 1.3rem; fill: currentColor; }
.header__wa:hover {
  background: #075E54;
  border-color: #075E54;
  color: #fff;
  transform: translateY(-2px) scale(1.05);
}
.header.is-stuck .header__wa {
  color: #075E54;
  background: rgba(7,94,84,.08);
  border-color: rgba(7,94,84,.22);
}
.header.is-stuck .header__wa:hover { background: #075E54; color: #fff; }
