:root {
  --navy: #061a33;
  --navy-2: #09294e;
  --blue: #0f4c81;
  --yellow: #ffc928;
  --yellow-2: #ffe17a;
  --white: #ffffff;
  --ink: #101828;
  --muted: #64748b;
  --line: rgba(255, 255, 255, 0.16);
  --shadow: 0 22px 60px rgba(6, 26, 51, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: #f7fafc;
}

img {
  display: block;
  max-width: 100%;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 72px);
  background: rgba(6, 26, 51, 0.94);
  color: var(--white);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 172px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: var(--navy);
  background: linear-gradient(135deg, var(--yellow), var(--yellow-2));
  font-weight: 800;
  box-shadow: 0 0 28px rgba(255, 201, 40, 0.35);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.05rem;
}

.brand small {
  color: #bfd2e8;
  font-size: 0.75rem;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #d9e7f5;
  font-size: 0.93rem;
}

.desktop-nav a:hover {
  color: var(--yellow);
}

.header-cta {
  padding: 11px 16px;
  border-radius: 8px;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 800;
}

.section-band {
  position: relative;
  overflow: hidden;
}

.section-wrap,
.hero-grid {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  min-height: 760px;
  display: flex;
  align-items: center;
  padding: 72px 0 56px;
  color: var(--white);
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 201, 40, 0.18), transparent 28%),
    linear-gradient(130deg, #061a33 0%, #082746 52%, #0d3760 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.93fr 1.07fr;
  align-items: center;
  gap: 42px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.contact-box h2 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(2.55rem, 7vw, 5.3rem);
}

.hero-subtitle {
  max-width: 620px;
  margin: 24px 0 0;
  color: #d8e6f3;
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  line-height: 1.65;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--yellow);
  color: var(--navy);
  box-shadow: 0 16px 36px rgba(255, 201, 40, 0.28);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn-icon {
  font-size: 1.05rem;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  color: #dfeaf6;
}

.trust-row span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.88rem;
}

.hero-visual {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 26, 51, 0.18), transparent 45%);
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 1.16;
  object-fit: cover;
}

.electric-line {
  position: absolute;
  height: 1px;
  width: 42vw;
  background: linear-gradient(90deg, transparent, rgba(255, 201, 40, 0.8), transparent);
  filter: drop-shadow(0 0 12px rgba(255, 201, 40, 0.9));
  opacity: 0.55;
}

.electric-line-one {
  top: 23%;
  right: -8vw;
  transform: rotate(-15deg);
}

.electric-line-two {
  bottom: 18%;
  left: -10vw;
  transform: rotate(18deg);
}

.section-wrap {
  padding: 88px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-heading.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading h2,
.contact-box h2 {
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.about-panel {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 30px;
  padding: 34px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.about-panel p,
.contact-box p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.about-stats {
  display: grid;
  gap: 12px;
}

.about-stats span {
  padding: 16px;
  border-left: 4px solid var(--yellow);
  border-radius: 8px;
  background: #f1f6fb;
  color: var(--muted);
}

.about-stats strong {
  display: block;
  color: var(--navy);
  font-size: 1.25rem;
}

.light {
  background: var(--white);
}

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

.service-card,
.benefit-card {
  min-height: 142px;
  padding: 22px;
  border-radius: 8px;
  background: #f8fbff;
  border: 1px solid #dde8f2;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card {
  display: block;
}

.service-card:hover,
.benefit-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 201, 40, 0.75);
  box-shadow: 0 14px 34px rgba(6, 26, 51, 0.12);
}

.service-card h3,
.benefit-card h3 {
  margin: 16px 0 0;
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.35;
}

.service-icon,
.benefit-card span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--yellow);
  font-weight: 900;
}

.service-card.emergency {
  background: linear-gradient(135deg, #071f3b, #0e416f);
}

.service-card.emergency h3 {
  color: var(--white);
}

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

.benefit-card {
  background: var(--white);
}

.calculator-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 18px;
  align-items: start;
}

.solar-form,
.solar-result {
  padding: 28px;
  border: 1px solid #dbe7f2;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.solar-form .form-grid {
  margin-bottom: 16px;
}

.equipment-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 4px 0 18px;
}

.equipment-chips button {
  border: 1px solid #cbd8e5;
  border-radius: 8px;
  padding: 9px 11px;
  color: var(--navy);
  background: #f8fbff;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
}

.equipment-chips button:hover {
  border-color: var(--yellow);
  background: #fff9df;
}

.calculator-submit {
  border: 0;
  cursor: pointer;
}

.solar-result {
  position: sticky;
  top: 94px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(255, 201, 40, 0.16), transparent 42%),
    linear-gradient(135deg, var(--navy), var(--blue));
}

.solar-result h3 {
  margin: 0 0 18px;
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  line-height: 1.1;
}

.solar-result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.solar-result-grid span {
  min-height: 84px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #d8e6f3;
  font-size: 0.9rem;
}

.solar-result-grid strong {
  display: block;
  margin-bottom: 5px;
  color: var(--yellow);
  font-size: 1.45rem;
}

.solar-result p:not(.eyebrow) {
  color: #d8e6f3;
  line-height: 1.6;
}

.solar-whatsapp {
  width: 100%;
  margin-top: 12px;
}

.solar-whatsapp.disabled {
  opacity: 0.52;
  pointer-events: none;
}

.dark {
  background:
    linear-gradient(135deg, rgba(255, 201, 40, 0.08), transparent 34%),
    var(--navy);
  color: var(--white);
}

.dark .section-heading h2 {
  color: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  grid-auto-rows: 220px;
  gap: 16px;
}

.gallery-item {
  position: relative;
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--navy-2);
  border: 1px solid var(--line);
}

.gallery-item.large {
  grid-row: span 2;
}

.gallery-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(6, 26, 51, 0.06), rgba(6, 26, 51, 0.88));
  pointer-events: none;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 220ms ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  font-size: 1.05rem;
  font-weight: 800;
}

.contact-box {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 42px;
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(255, 201, 40, 0.18), transparent 42%),
    linear-gradient(135deg, var(--navy), var(--blue));
  box-shadow: var(--shadow);
}

.contact-box h2,
.contact-box p {
  color: var(--white);
}

.phone-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  color: #dce9f7;
  font-weight: 800;
}

.email-form {
  margin-top: 22px;
  padding: 34px;
  border: 1px solid #dbe7f2;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.email-form-heading {
  max-width: 720px;
  margin-bottom: 22px;
}

.email-form-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  line-height: 1.08;
}

.email-form-heading p:not(.eyebrow) {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-grid label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 800;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  border: 1px solid #cbd8e5;
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #f8fbff;
  font: inherit;
  font-weight: 500;
}

.form-grid textarea {
  resize: vertical;
}

.full-field {
  grid-column: 1 / -1;
}

.email-submit {
  margin-top: 18px;
  border: 0;
  cursor: pointer;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 28px 18px;
  color: #c7d8e9;
  background: #041224;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 12;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #20c463;
  color: var(--white);
  font-size: 1.45rem;
  font-weight: 900;
  box-shadow: 0 18px 38px rgba(32, 196, 99, 0.35);
}

.thank-you-page {
  min-height: 100vh;
  color: var(--white);
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 201, 40, 0.18), transparent 28%),
    linear-gradient(135deg, #061a33, #0d3760);
}

.thank-you-wrap {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 28px;
}

.thank-you-box {
  width: min(680px, 100%);
  padding: clamp(28px, 6vw, 48px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.thank-you-brand {
  margin-bottom: 34px;
}

.thank-you-box h1 {
  margin: 0;
  font-size: clamp(2rem, 7vw, 4rem);
  line-height: 1.05;
}

.thank-you-box p:not(.eyebrow) {
  margin: 18px 0 0;
  color: #d8e6f3;
  font-size: 1.08rem;
  line-height: 1.65;
}

.thank-you-actions .btn-secondary {
  border-color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 960px) {
  .desktop-nav {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .about-panel,
  .contact-box {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .benefit-grid,
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .calculator-panel {
    grid-template-columns: 1fr;
  }

  .solar-result {
    position: static;
  }

  .gallery-item.large {
    grid-column: span 2;
    grid-row: span 1;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 10px 14px;
  }

  .brand small,
  .header-cta {
    display: none;
  }

  .hero {
    padding: 18px 0 34px;
  }

  .hero-grid,
  .section-wrap {
    width: min(100% - 28px, 1160px);
  }

  .hero h1 {
    font-size: 2.05rem;
    line-height: 1.03;
  }

  .hero-subtitle {
    margin-top: 14px;
    font-size: 0.98rem;
    line-height: 1.5;
  }

  .hero-actions,
  .contact-actions {
    gap: 10px;
    margin-top: 18px;
  }

  .hero-visual img {
    aspect-ratio: 1.5;
  }

  .trust-row {
    gap: 8px;
    margin-top: 16px;
  }

  .trust-row span {
    padding: 7px 9px;
    font-size: 0.78rem;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .btn,
  .phone-link {
    width: 100%;
  }

  .section-wrap {
    padding: 42px 0;
  }

  .section-heading {
    margin-bottom: 22px;
  }

  .section-heading h2,
  .contact-box h2 {
    font-size: 1.75rem;
    line-height: 1.1;
  }

  .about-panel,
  .contact-box,
  .email-form,
  .solar-form,
  .solar-result {
    padding: 20px;
  }

  .about-panel p,
  .contact-box p,
  .email-form-heading p:not(.eyebrow) {
    font-size: 0.96rem;
    line-height: 1.55;
  }

  .about-stats span {
    padding: 12px;
  }

  .service-grid,
  .benefit-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-auto-rows: 158px;
    gap: 12px;
  }

  .gallery-item.large {
    grid-column: auto;
  }

  .service-grid,
  .benefit-grid {
    gap: 10px;
  }

  .service-card,
  .benefit-card {
    min-height: 86px;
    padding: 14px;
  }

  .service-card h3,
  .benefit-card h3 {
    margin-top: 10px;
    font-size: 0.9rem;
  }

  .service-icon,
  .benefit-card span {
    width: 34px;
    height: 34px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .form-grid input,
  .form-grid select,
  .form-grid textarea {
    padding: 11px 12px;
  }

  .email-submit {
    width: 100%;
  }

  .calculator-submit {
    width: 100%;
  }

  .solar-result-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .solar-result-grid span {
    min-height: 72px;
    padding: 11px;
    font-size: 0.78rem;
  }

  .solar-result-grid strong {
    font-size: 1.2rem;
  }

  .equipment-chips {
    gap: 7px;
  }

  .equipment-chips button {
    padding: 8px 9px;
    font-size: 0.8rem;
  }

  .site-footer {
    align-items: center;
    flex-direction: column;
    padding: 22px 14px;
    text-align: center;
  }
}
