:root {
  --ink: #18211d;
  --muted: #5f6e67;
  --paper: #f8f7f0;
  --white: #ffffff;
  --line: #d9ded7;
  --green: #14624d;
  --gold: #f3b61f;
  --coral: #e46d3f;
  --shadow: 0 18px 50px rgba(24, 33, 29, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: linear-gradient(rgba(16, 25, 21, 0.86), rgba(16, 25, 21, 0.34));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  color: var(--ink);
  background: var(--gold);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  font-size: 0.96rem;
  font-weight: 700;
}

.site-nav a {
  opacity: 0.9;
}

.site-nav a:hover {
  opacity: 1;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
}

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  align-items: end;
  padding: 130px clamp(20px, 6vw, 76px) 72px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7, 34, 27, 0.88), rgba(7, 34, 27, 0.18)),
    url("rooftop-solar-installation.jpg")
      center / cover;
}

.hero-content {
  position: relative;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--gold);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(3rem, 10vw, 7.3rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.24rem;
}

.hero-copy {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.portal-note {
  display: inline-flex;
  margin: 22px 0 0;
  padding: 8px 12px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.95rem;
  font-weight: 750;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 13px 20px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  color: var(--ink);
  background: var(--gold);
}

.button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.32);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.trust-strip div {
  padding: 24px clamp(20px, 5vw, 56px);
  background: var(--white);
}

.trust-strip strong {
  display: block;
  color: var(--green);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
}

.trust-strip span {
  color: var(--muted);
  font-weight: 700;
}

.scheme-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--line);
}

.scheme-strip div {
  padding: 28px clamp(20px, 5vw, 56px);
  background: #fffdf4;
}

.scheme-strip strong {
  display: block;
  margin-top: 6px;
  color: var(--green);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.05;
}

.scheme-strip p {
  margin: 10px 0 0;
  color: var(--muted);
  font-weight: 650;
}

.scheme-tag {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 8px;
  color: #5d3b00;
  background: rgba(243, 182, 31, 0.22);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.section {
  padding: clamp(64px, 9vw, 112px) clamp(20px, 6vw, 76px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-heading p:not(.eyebrow),
.about-section > p,
.feature-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 28px rgba(24, 33, 29, 0.07);
}

.service-icon {
  display: inline-grid;
  width: 46px;
  height: 46px;
  margin-bottom: 28px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: var(--green);
  font-weight: 850;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.why-section {
  background: #fffdf4;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.why-grid article {
  min-height: 210px;
  padding: 24px;
  border: 1px solid rgba(243, 182, 31, 0.38);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 28px rgba(24, 33, 29, 0.06);
}

.why-grid article::before {
  display: block;
  width: 42px;
  height: 6px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: var(--gold);
  content: "";
}

.why-grid p {
  margin: 0;
  color: var(--muted);
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  min-height: 560px;
  background: var(--white);
}

.feature-image {
  min-height: 420px;
  background:
    linear-gradient(rgba(19, 35, 28, 0.08), rgba(19, 35, 28, 0.08)),
    url("pm-branding-bengali.png")
      center / contain no-repeat;
  background-color: var(--white);
}

.feature-copy {
  align-self: center;
  padding: clamp(44px, 7vw, 88px);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  font-weight: 750;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--coral);
  content: "✓";
  font-weight: 900;
}

.about-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(30px, 7vw, 90px);
  align-items: start;
}

.about-section > p {
  margin: 0;
}

.testimonial {
  padding: clamp(58px, 8vw, 96px) clamp(20px, 7vw, 96px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(9, 45, 35, 0.9), rgba(9, 45, 35, 0.72)),
    url("rooftop-solar-installation.jpg")
      center / cover;
}

.testimonial blockquote {
  max-width: 960px;
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.testimonial cite {
  display: block;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.76);
  font-style: normal;
  font-weight: 800;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-form .button {
  margin-top: 4px;
}

label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid #c9d0c9;
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfcfa;
  font: inherit;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(243, 182, 31, 0.28);
  border-color: var(--gold);
}

textarea {
  resize: vertical;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-weight: 800;
}

.form-note a {
  border-bottom: 2px solid rgba(20, 98, 77, 0.45);
}

.contact-details {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  color: var(--ink);
  font-weight: 850;
}

.contact-details a,
.contact-details span {
  display: inline-flex;
  width: fit-content;
  border-bottom: 2px solid rgba(243, 182, 31, 0.65);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 28px clamp(20px, 6vw, 76px);
  color: rgba(255, 255, 255, 0.82);
  background: #111915;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 840px) {
  .menu-button {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    right: 18px;
    display: none;
    min-width: 210px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border-radius: 8px;
    color: var(--ink);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 10px 12px;
  }

  .hero {
    min-height: 86vh;
    padding-bottom: 44px;
  }

  .trust-strip,
  .scheme-strip,
  .service-grid,
  .why-grid,
  .feature-band,
  .about-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .feature-band {
    min-height: auto;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding-inline: 16px;
  }

  .brand span:last-child {
    max-width: 140px;
    line-height: 1.1;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .trust-strip div,
  .scheme-strip div,
  .service-card,
  .why-grid article,
  .contact-form {
    padding: 22px;
  }

  .testimonial blockquote {
    font-size: 2rem;
  }
}
