/* =========================================================
   XPROPOINT SOLAR ENERGY — GLOBAL DESIGN SYSTEM
   Pure CSS | Responsive | Accessible motion
   ========================================================= */

:root {
  /* Brand */
  --color-navy: #101722;
  --color-navy-soft: #1b2634;
  --color-green: #55b83f;
  --color-green-dark: #328b2b;
  --color-green-pale: #edf8e9;
  --color-orange: #ff702b;
  --color-orange-dark: #e95716;

  /* Neutrals */
  --color-white: #ffffff;
  --color-surface: #f7f9f7;
  --color-surface-alt: #eef2ef;
  --color-text: #202a33;
  --color-text-muted: #65717b;
  --color-border: #e1e7e2;
  --color-border-dark: rgb(255 255 255 / 14%);

  /* Typography */
  --font-heading: "Poppins", sans-serif;
  --font-body: "Open Sans", sans-serif;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: clamp(1.5rem, 3vw, 2.25rem);
  --text-3xl: clamp(2rem, 4vw, 3.25rem);
  --text-hero: clamp(2.5rem, 6vw, 5rem);
  --line-tight: 1.12;
  --line-heading: 1.3;
  --line-body: 1.75;

  /* Spacing scale (8px rhythm) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --section-space: clamp(4rem, 8vw, 7rem);

  /* Layout */
  --container-width: 1200px;
  --container-gutter: clamp(1rem, 4vw, 2rem);
  --header-height: 82px;
  --header-height-mobile: 70px;

  /* Borders, shadows, radii */
  --radius-sm: 0.5rem;
  --radius-md: 0.875rem;
  --radius-lg: 1.25rem;
  --radius-xl: 1.75rem;
  --radius-pill: 999px;
  --shadow-sm: 0 4px 16px rgb(16 23 34 / 6%);
  --shadow-md: 0 14px 36px rgb(16 23 34 / 10%);
  --shadow-lg: 0 24px 64px rgb(16 23 34 / 16%);

  /* Motion */
  --ease-standard: cubic-bezier(0.2, 0.7, 0.2, 1);
  --duration-fast: 160ms;
  --duration-normal: 280ms;
  --duration-slow: 650ms;

  /* Layers */
  --z-base: 1;
  --z-header: 100;
  --z-menu: 110;
  --z-floating: 120;
  --z-overlay: 200;
}

/* ---------- Reset and document defaults ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--color-white);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--line-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body,
button,
input,
select,
textarea {
  font-family: var(--font-body);
}

img,
picture,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
[type="button"],
[type="submit"] {
  cursor: pointer;
}

button {
  color: inherit;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
figure {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--color-navy);
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: var(--line-heading);
  letter-spacing: -0.035em;
}

h1 {
  font-size: var(--text-hero);
  line-height: var(--line-tight);
}

h2 {
  font-size: var(--text-3xl);
}

h3 {
  font-size: var(--text-xl);
}

p + p {
  margin-top: var(--space-4);
}

::selection {
  background: var(--color-green);
  color: var(--color-navy);
}

:focus-visible {
  outline: 3px solid var(--color-orange);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

/* ---------- Shared layout utilities ---------- */

.container {
  width: min(100% - (var(--container-gutter) * 2), var(--container-width));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: var(--section-space);
  isolation: isolate;
}

.section--surface {
  background: var(--color-surface);
}

.section--dark {
  overflow: hidden;
  background: var(--color-navy);
  color: var(--color-white);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--color-white);
}

.section__heading {
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: var(--space-12);
  text-align: center;
}

.section__heading > p {
  max-width: 620px;
  margin: var(--space-4) auto 0;
  color: var(--color-text-muted);
}

.section--dark .section__heading > p {
  color: rgb(255 255 255 / 72%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  color: var(--color-green-dark);
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 24px;
  height: 2px;
  background: currentColor;
  content: "";
}

.section--dark .eyebrow {
  color: #8cde77;
}

.text-muted {
  color: var(--color-text-muted);
}

.text-center {
  text-align: center;
}

.text-green {
  color: var(--color-green);
}

.text-orange {
  color: var(--color-orange);
}

.flow > * + * {
  margin-top: var(--space-4);
}

.grid {
  display: grid;
  gap: var(--space-6);
}

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

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

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

.cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
}

.stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

/* ---------- Buttons and links ---------- */

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.8rem 1.4rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  transition:
    color var(--duration-fast) ease,
    background-color var(--duration-fast) ease,
    border-color var(--duration-fast) ease,
    box-shadow var(--duration-fast) ease,
    transform var(--duration-fast) ease;
}

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

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--color-green);
  color: var(--color-navy);
}

.btn--primary:hover {
  background: #70ca5a;
  box-shadow: var(--shadow-sm);
}

.btn--orange {
  background: var(--color-orange);
  color: var(--color-white);
}

.btn--orange:hover {
  background: var(--color-orange-dark);
  box-shadow: var(--shadow-sm);
}

.btn--dark {
  background: var(--color-navy);
  color: var(--color-white);
}

.btn--dark:hover {
  background: var(--color-navy-soft);
}

.btn--outline {
  border-color: var(--color-border);
  background: transparent;
  color: var(--color-navy);
}

.btn--outline:hover {
  border-color: var(--color-green);
  background: var(--color-green-pale);
}

.btn--outline-light {
  border-color: rgb(255 255 255 / 38%);
  color: var(--color-white);
}

.btn--outline-light:hover {
  border-color: var(--color-white);
  background: rgb(255 255 255 / 8%);
}

.btn--small {
  min-height: 40px;
  padding: 0.6rem 1rem;
  font-size: var(--text-xs);
}

.btn--block {
  width: 100%;
}

.btn:disabled,
.btn[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

/* ---------- SVG icon helpers ---------- */

.icon {
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon--sm {
  width: 1rem;
  height: 1rem;
}

.icon--lg {
  width: 1.75rem;
  height: 1.75rem;
}

.icon-box {
  display: grid;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: var(--radius-md);
  background: var(--color-green-pale);
  color: var(--color-green-dark);
}

.icon-box--orange {
  background: #fff0e8;
  color: var(--color-orange-dark);
}

/* ---------- Cards and reusable surfaces ---------- */

.card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.card__body {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.card__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-pill);
  background: var(--color-green-pale);
  color: var(--color-green-dark);
  font-size: var(--text-xs);
  font-weight: 700;
}

.divider {
  width: 100%;
  height: 1px;
  border: 0;
  background: var(--color-border);
}

/* ---------- Header foundation ---------- */

#site-header {
  position: relative;
  z-index: var(--z-header);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  border-bottom: 1px solid rgb(16 23 34 / 6%);
  background: rgb(255 255 255 / 96%);
  backdrop-filter: blur(16px);
}

.site-header__inner {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: var(--space-3);
}

.brand__mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: var(--color-green);
  color: var(--color-navy);
}

.brand__name {
  display: block;
  color: var(--color-navy);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.25;
}

.brand__descriptor {
  display: block;
  margin-top: 2px;
  color: var(--color-text-muted);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.4;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.8rem);
}

.site-nav a {
  color: var(--color-text);
  font-size: var(--text-sm);
  font-weight: 600;
  transition: color var(--duration-fast) ease;
}

.site-nav a:hover,
.site-nav a[aria-current="location"] {
  color: var(--color-green-dark);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-white);
}

/* ---------- Hero foundation ---------- */

.hero {
  position: relative;
  display: grid;
  min-height: min(760px, calc(100svh - var(--header-height)));
  align-items: center;
  overflow: hidden;
  background: var(--color-navy);
  color: var(--color-white);
  isolation: isolate;
}

.hero__background,
.hero__overlay {
  position: absolute;
  z-index: -1;
  inset: 0;
}

.hero__background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  background:
    linear-gradient(90deg, rgb(9 20 33 / 88%) 0%, rgb(9 20 33 / 68%) 48%, rgb(9 20 33 / 15%) 100%),
    linear-gradient(0deg, rgb(9 20 33 / 28%), transparent 45%);
}

.hero__content {
  width: min(760px, 100%);
  padding-block: clamp(5rem, 10vw, 9rem);
}

.hero h1 {
  max-width: 760px;
  color: var(--color-white);
}

.hero__description {
  max-width: 580px;
  margin-top: var(--space-6);
  color: rgb(255 255 255 / 84%);
  font-size: clamp(1rem, 1.5vw, 1.125rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-8);
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
  margin-top: var(--space-8);
  color: rgb(255 255 255 / 88%);
  font-size: var(--text-sm);
}

.hero__trust-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

/* ---------- Benefits and feature lists ---------- */

.benefit-card {
  padding: var(--space-6);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
}

.benefit-card h3 {
  margin-top: var(--space-4);
  font-size: var(--text-lg);
}

.benefit-card p {
  margin-top: var(--space-2);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.feature-list {
  display: grid;
  gap: var(--space-4);
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.feature-list__icon {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--color-green-pale);
  color: var(--color-green-dark);
}

/* ---------- Package cards ---------- */

.package-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--duration-normal) var(--ease-standard),
    box-shadow var(--duration-normal) var(--ease-standard),
    border-color var(--duration-normal) ease;
}

.package-card:hover {
  transform: translateY(-5px);
  border-color: rgb(85 184 63 / 55%);
  box-shadow: var(--shadow-md);
}

.package-card--featured {
  border: 2px solid var(--color-green);
  box-shadow: var(--shadow-md);
}

.package-card__label {
  align-self: flex-start;
  margin-bottom: var(--space-4);
}

.package-card__price {
  margin-top: var(--space-5);
  color: var(--color-navy);
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.2;
}

.package-card__price-note {
  margin-top: var(--space-2);
  color: var(--color-text-muted);
  font-size: var(--text-xs);
}

.package-card__description {
  margin-top: var(--space-4);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.package-card__action {
  margin-top: auto;
  padding-top: var(--space-6);
}

/* ---------- Process steps ---------- */

.process-step {
  position: relative;
  padding: var(--space-6);
}

.process-step__number {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-5);
  place-items: center;
  border-radius: 50%;
  background: var(--color-green);
  color: var(--color-navy);
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 800;
}

/* ---------- FAQ ---------- */

.faq-list {
  max-width: 820px;
  margin-inline: auto;
  border-top: 1px solid var(--color-border);
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item summary {
  position: relative;
  padding: var(--space-5) 3rem var(--space-5) 0;
  color: var(--color-navy);
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 600;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  position: absolute;
  top: 50%;
  right: 0;
  color: var(--color-green-dark);
  content: "+";
  font-size: 1.5rem;
  transform: translateY(-50%);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item__answer {
  max-width: 720px;
  padding: 0 0 var(--space-5);
  color: var(--color-text-muted);
}

/* ---------- Contact and forms ---------- */

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(1.5rem, 5vw, 4rem);
  border-radius: var(--radius-xl);
  background: var(--color-navy);
  color: var(--color-white);
}

.contact-panel h2,
.contact-panel h3 {
  color: var(--color-white);
}

.contact-panel__intro {
  color: rgb(255 255 255 / 74%);
}

.contact-details {
  display: grid;
  gap: var(--space-5);
  margin-top: var(--space-8);
}

.contact-details__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.contact-details__item a {
  overflow-wrap: anywhere;
}

.contact-details__label {
  display: block;
  margin-bottom: 2px;
  color: rgb(255 255 255 / 62%);
  font-size: var(--text-xs);
}

.contact-form {
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  color: var(--color-text);
}

.contact-form h3 {
  color: var(--color-navy);
}

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

.form-field {
  display: grid;
  gap: var(--space-2);
}

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

.form-field label {
  color: var(--color-navy);
  font-size: var(--text-sm);
  font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  color: var(--color-text);
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--color-green-dark);
  outline: 2px solid rgb(85 184 63 / 18%);
  outline-offset: 1px;
}

.form-note {
  color: var(--color-text-muted);
  font-size: var(--text-xs);
}

/* ---------- Footer ---------- */

.site-footer {
  padding-top: var(--space-16);
  background: #0b1119;
  color: rgb(255 255 255 / 76%);
}

.site-footer__main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-10);
  padding-bottom: var(--space-12);
}

.site-footer .brand__name {
  color: var(--color-white);
}

.site-footer .brand__descriptor {
  color: rgb(255 255 255 / 60%);
}

.site-footer__about {
  max-width: 330px;
  margin-top: var(--space-5);
  font-size: var(--text-sm);
}

.site-footer__heading {
  margin-bottom: var(--space-5);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
}

.site-footer__links {
  display: grid;
  gap: var(--space-3);
  font-size: var(--text-sm);
}

.site-footer__links a:hover,
.site-footer__credit a:hover {
  color: #8cde77;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-5);
  border-top: 1px solid var(--color-border-dark);
  font-size: var(--text-xs);
}

.site-footer__credit a {
  color: #8cde77;
  font-weight: 700;
}

/* ---------- Floating WhatsApp action ---------- */

.whatsapp-float {
  position: fixed;
  z-index: var(--z-floating);
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 2px solid rgb(255 255 255 / 85%);
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  box-shadow: var(--shadow-md);
  font-size: 1.75rem;
  font-weight: 800;
  transition:
    transform var(--duration-fast) ease,
    box-shadow var(--duration-fast) ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.whatsapp-float.is-disabled {
  display: none;
}

.whatsapp-float__icon {
  display: block;
  width: 29px;
  height: 29px;
  flex-shrink: 0;
}


/* ---------- Entry animation hooks ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity var(--duration-slow) var(--ease-standard),
    transform var(--duration-slow) var(--ease-standard);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal="left"] {
  transform: translateX(-24px);
}

[data-reveal="right"] {
  transform: translateX(24px);
}

[data-reveal="left"].is-visible,
[data-reveal="right"].is-visible {
  transform: translateX(0);
}

/* ---------- Utility helpers ---------- */

.mt-0 { margin-top: 0 !important; }
.mt-2 { margin-top: var(--space-2) !important; }
.mt-4 { margin-top: var(--space-4) !important; }
.mt-6 { margin-top: var(--space-6) !important; }
.mt-8 { margin-top: var(--space-8) !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-4 { margin-bottom: var(--space-4) !important; }
.mb-6 { margin-bottom: var(--space-6) !important; }

.mx-auto { margin-inline: auto !important; }
.w-full { width: 100% !important; }
.max-w-reading { max-width: 68ch; }
.rounded-lg { border-radius: var(--radius-lg); }
.shadow-md { box-shadow: var(--shadow-md); }

/* ---------- Tablet ---------- */

@media (max-width: 1024px) {
  :root {
    --header-height: 76px;
  }

  .site-nav {
    gap: var(--space-4);
  }

  .site-header__actions > .btn {
    padding-inline: 1rem;
  }

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

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

/* ---------- Mobile navigation and layout ---------- */

@media (max-width: 760px) {
  :root {
    --header-height: var(--header-height-mobile);
    --section-space: clamp(3.5rem, 13vw, 5rem);
  }

  html {
    scroll-padding-top: calc(var(--header-height) + 0.5rem);
  }

  .site-header__inner {
    min-height: var(--header-height);
    gap: var(--space-3);
  }

  .brand__mark {
    width: 40px;
    height: 40px;
  }

  .brand__name {
    font-size: 0.9rem;
  }

  .brand__descriptor {
    font-size: 0.58rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--container-gutter) 1rem;
    border-bottom: 1px solid var(--color-border);
    background: var(--color-white);
    box-shadow: var(--shadow-md);
  }

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

  .site-nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--color-border);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .site-header__actions > .btn {
    display: none;
  }

  .hero {
    min-height: 680px;
    min-height: min(760px, calc(100svh - var(--header-height)));
  }

  .hero__overlay {
    background:
      linear-gradient(90deg, rgb(9 20 33 / 82%), rgb(9 20 33 / 42%)),
      linear-gradient(0deg, rgb(9 20 33 / 34%), transparent 60%);
  }

  .hero__content {
    padding-block: 5rem;
  }

  .hero__trust {
    gap: var(--space-3) var(--space-4);
  }

  .grid--2,
  .grid--3 {
    grid-template-columns: 1fr;
  }

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

  .site-footer__main {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8) var(--space-5);
  }
}

/* ---------- Small mobile ---------- */

@media (max-width: 480px) {
  :root {
    --container-gutter: 1rem;
  }

  .grid--4 {
    grid-template-columns: 1fr;
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__trust {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .form-field--full {
    grid-column: auto;
  }

  .site-footer__main {
    grid-template-columns: 1fr;
  }

  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .whatsapp-float {
    width: 52px;
    height: 52px;
  }
}

/* ---------- Reduced motion accessibility ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal],
  [data-reveal="left"],
  [data-reveal="right"] {
    opacity: 1;
    transform: none;
  }
}


/* Header and hero finishing touches */

.skip-link {
  position: fixed;
  z-index: var(--z-overlay);
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--color-white);
  color: var(--color-navy);
  box-shadow: var(--shadow-md);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.hero__trust-item .icon {
  color: #8cde77;
}

@media (max-width: 760px) {
  .site-header__inner {
    flex-wrap: nowrap;
  }

  .brand {
    min-width: 0;
  }

  .brand__name {
    overflow-wrap: anywhere;
  }
}


/* =========================================
   BENEFITS, ABOUT AND SOLAR PACKAGES
   ========================================= */

/* Benefits section */

.benefits-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.benefits-layout__image {
  position: relative;
  overflow: visible;
  padding: 0 0 2rem 1rem;
}

.benefits-layout__image::before {
  position: absolute;
  z-index: -1;
  top: -1rem;
  left: 0;
  width: 65%;
  height: 70%;
  border-radius: var(--radius-lg);
  background: var(--color-green);
  content: "";
}

.benefits-layout__image > img {
  width: 100%;
  aspect-ratio: 4 / 4.2;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

.benefits-image-note {
  position: absolute;
  right: -1rem;
  bottom: 0;
  display: flex;
  max-width: 310px;
  align-items: center;
  gap: var(--space-3);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  background: var(--color-navy);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.benefits-image-note__icon {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--color-green);
  color: var(--color-navy);
}

.benefits-image-note strong,
.benefits-image-note small {
  display: block;
}

.benefits-image-note strong {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
}

.benefits-image-note small {
  margin-top: 3px;
  color: rgb(255 255 255 / 70%);
  font-size: var(--text-xs);
}

.benefits-layout__caption {
  margin-top: var(--space-6);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}

.benefit-card {
  height: 100%;
  padding: clamp(1.15rem, 2.5vw, 1.75rem);
  box-shadow: none;
  transition:
    transform var(--duration-normal) var(--ease-standard),
    box-shadow var(--duration-normal) ease,
    border-color var(--duration-normal) ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
  border-color: rgb(85 184 63 / 55%);
  box-shadow: var(--shadow-sm);
}

.benefit-card h3 {
  font-size: var(--text-lg);
  letter-spacing: -0.025em;
}

.benefits-disclaimer {
  max-width: 900px;
  margin: var(--space-8) auto 0;
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  text-align: center;
}

/* About section */

.about-section {
  background:
    radial-gradient(ellipse at 5% 90%, rgb(85 184 63 / 10%), transparent 35%),
    var(--color-navy);
}

.about-section__decoration {
  position: absolute;
  z-index: -1;
  top: 12%;
  right: -12rem;
  width: 34rem;
  aspect-ratio: 1;
  border: 1px solid rgb(255 255 255 / 8%);
  border-radius: 50%;
  box-shadow:
    0 0 0 45px rgb(255 255 255 / 2%),
    0 0 0 90px rgb(255 255 255 / 2%);
  pointer-events: none;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
}

.about-layout__visual {
  position: relative;
  padding: 0 1rem 1.5rem 0;
}

.about-layout__image {
  width: 100%;
  min-height: 390px;
  aspect-ratio: 4 / 4.2;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

.about-layout__visual::after {
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 0;
  width: 60%;
  height: 55%;
  border: 5px solid var(--color-orange);
  border-radius: var(--radius-lg);
  content: "";
}

.about-approval-card {
  position: absolute;
  right: -1rem;
  bottom: 2.5rem;
  display: flex;
  max-width: 310px;
  align-items: center;
  gap: var(--space-3);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  background: var(--color-white);
  color: var(--color-navy);
  box-shadow: var(--shadow-lg);
}

.about-approval-card__icon {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--color-green-pale);
  color: var(--color-green-dark);
}

.about-approval-card strong,
.about-approval-card small {
  display: block;
}

.about-approval-card strong {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
}

.about-approval-card small {
  margin-top: 3px;
  color: var(--color-text-muted);
  font-size: var(--text-xs);
}

.about-layout__content > p {
  margin-top: var(--space-5);
  color: rgb(255 255 255 / 74%);
}

.about-feature-list {
  margin-top: var(--space-8);
}

.about-feature-list strong {
  color: var(--color-white);
}

.about-feature-list .text-muted {
  color: rgb(255 255 255 / 65%);
  font-size: var(--text-sm);
}

.about-actions {
  margin-top: var(--space-8);
}

/* Packages */

.packages-section {
  background: var(--color-surface);
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: var(--space-6);
}

.package-card {
  min-height: 100%;
}

.package-card--featured {
  position: relative;
}

.package-card__label {
  white-space: normal;
}

.package-card__capacity {
  display: inline-flex;
  align-self: flex-start;
  margin-top: var(--space-2);
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-pill);
  background: var(--color-green-pale);
  color: var(--color-green-dark);
  font-size: var(--text-xs);
  font-weight: 700;
}

.package-card__price {
  overflow-wrap: anywhere;
}

.package-card__price .currency {
  font-size: 0.65em;
  vertical-align: 0.12em;
}

.package-card__title {
  font-size: var(--text-xl);
}

.package-card__features {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-6);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.package-card__features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
}

.package-card__features .icon {
  margin-top: 0.2rem;
  color: var(--color-green-dark);
}

.packages-note {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-top: var(--space-8);
  padding: var(--space-5);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
}

.packages-note__icon {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--color-green-pale);
  color: var(--color-green-dark);
}

.packages-note p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.packages-note strong {
  color: var(--color-navy);
}

.packages-bottom-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-5);
  margin-top: var(--space-10);
  text-align: center;
}

.packages-bottom-cta p {
  font-family: var(--font-heading);
  font-weight: 600;
}

/* Tablet adjustments */

@media (max-width: 900px) {
  .benefits-layout,
  .about-layout {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .benefits-layout__intro {
    max-width: 650px;
    margin-inline: auto;
  }

  .benefits-layout__image > img {
    max-height: 480px;
    aspect-ratio: 16 / 10;
  }

  .about-layout__visual {
    width: min(100%, 650px);
    margin-inline: auto;
  }

  .about-layout__image {
    max-height: 520px;
    aspect-ratio: 16 / 10;
  }

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

  .package-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

/* Mobile adjustments */

@media (max-width: 600px) {
  .benefits-grid,
  .packages-grid {
    grid-template-columns: 1fr;
  }

  .package-card:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .benefits-image-note {
    right: 0;
    max-width: calc(100% - 1rem);
  }

  .about-approval-card {
    right: 0;
    bottom: 1.5rem;
    max-width: calc(100% - 1rem);
  }

  .about-layout__image {
    min-height: 280px;
    aspect-ratio: 4 / 3;
  }

  .packages-bottom-cta {
    align-items: stretch;
    flex-direction: column;
  }
}


/* =========================================
   SERVICES
   ========================================= */

.services-section {
  background: var(--color-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
}

.service-card {
  display: flex;
  height: 100%;
  flex-direction: column;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  transition:
    transform var(--duration-normal) var(--ease-standard),
    box-shadow var(--duration-normal) ease,
    border-color var(--duration-normal) ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-green);
  box-shadow: var(--shadow-md);
}

.service-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-5);
}

.service-card__number {
  color: var(--color-text-muted);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
}

.service-card h3 {
  margin-bottom: var(--space-3);
  font-size: var(--text-lg);
  line-height: 1.45;
}

.service-card p {
  flex: 1;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.text-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: var(--space-2);
  margin-top: var(--space-5);
  color: var(--color-green-dark);
  font-size: var(--text-sm);
  font-weight: 700;
}

.text-link span {
  transition: transform var(--duration-fast) ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.service-card--highlight {
  border-color: rgb(85 184 63 / 45%);
  background: var(--color-green-pale);
}

.service-card--highlight .icon-box {
  background: var(--color-green);
  color: var(--color-navy);
}

.services-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  margin-top: var(--space-10);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
}

.services-bottom p {
  font-family: var(--font-heading);
  font-weight: 600;
}

/* =========================================
   HOW IT WORKS
   ========================================= */

.process-section {
  background: var(--color-surface);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-5);
}

.process-step {
  position: relative;
  padding: var(--space-5);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
}

/* Fix: remove unwanted green oval from process steps */
.process-step__number {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 44px;
  margin-bottom: var(--space-5);
  background: transparent !important;
  border: 0;
  border-radius: 0;
  overflow: visible;
}

.process-step__number::before,
.process-step__number::after {
  content: none !important;
  display: none !important;
}


.process-step__number > span {
  position: relative;
  z-index: 1;

  display: grid;
  place-items: center;

  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0;
  box-sizing: border-box;

  border-radius: 50%;
  background: var(--color-green-pale);
  color: var(--color-green-dark);

  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  line-height: 1;
  text-align: center;
}


.process-step__number > .icon {
  flex: 0 0 25px;
  width: 25px;
  height: 25px;
  background: transparent;
  color: var(--color-green-dark);
}

.process-step h3 {
  margin-bottom: var(--space-3);
  font-size: var(--text-lg);
}

.process-step p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.process-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  margin-top: var(--space-8);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--radius-lg);
  background: var(--color-navy);
  color: var(--color-white);
}

.process-cta h3 {
  margin-bottom: var(--space-2);
  font-size: var(--text-xl);
  color: var(--color-white);
}

.process-cta p {
  color: rgb(255 255 255 / 72%);
  font-size: var(--text-sm);
}

/* =========================================
   RESPONSIVE ADJUSTMENTS
   ========================================= */

@media (max-width: 1000px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 600px) {
  .services-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .services-bottom,
  .process-cta {
    align-items: stretch;
    flex-direction: column;
  }
}


/* FAQ */
.faq-section {
  background: var(--color-white);
}

.faq-list {
  width: min(100%, 850px);
  margin-inline: auto;
  display: grid;
  gap: var(--space-3);
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  overflow: hidden;
}

.faq-item summary {
  position: relative;
  padding: var(--space-5);
  padding-right: 3.5rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-navy);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: var(--space-5);
  transform: translateY(-50%);
  color: var(--color-green-dark);
  font-size: 1.5rem;
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  padding: 0 var(--space-5) var(--space-5);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

/* Contact section */
.contact-section {
  background: var(--color-surface);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.contact-copy h2 {
  margin-block: var(--space-3) var(--space-4);
}

.contact-copy > p {
  color: var(--color-text-muted);
}

.contact-detail {
  margin-top: var(--space-6);
}

.contact-detail__label {
  display: block;
  margin-bottom: var(--space-2);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  font-weight: 700;
}

.contact-phone-list {
  display: grid;
  justify-items: start;
  gap: var(--space-2);
}

.contact-phone-list a {
  color: var(--color-navy);
  font-weight: 700;
  text-decoration: none;
}

.contact-phone-list a:hover {
  color: var(--color-green-dark);
}

.contact-detail address {
  color: var(--color-navy);
  font-style: normal;
  line-height: 1.8;
}

.contact-copy .contact-note {
  margin-top: var(--space-6);
  font-size: var(--text-sm);
}

.contact-form-card {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-md);
}

.contact-form-card h3 {
    margin-top: var(--space-5);
  margin-bottom: var(--space-2);
  font-size: var(--text-xl);
  text-align: center;
}

.contact-form-intro {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  text-align: center;
}

.contact-form {
  display: grid;
  gap: var(--space-4);
}

.form-field {
  display: grid;
  gap: var(--space-2);
}

.form-field label {
  color: var(--color-navy);
  font-size: var(--text-sm);
  font-weight: 700;
}

.form-field label span {
  color: var(--color-text-muted);
  font-weight: 400;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  color: var(--color-navy);
  font: inherit;
  font-size: var(--text-sm);
}

.form-field textarea {
  min-height: 100px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--color-green);
  outline-offset: 2px;
}

.contact-form-privacy,
.contact-form-status {
  color: var(--color-text-muted);
  font-size: var(--text-xs);
}

.contact-form-status:empty {
  display: none;
}

.contact-form-status {
  overflow-wrap: anywhere;
}

@media (max-width: 800px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-copy {
    max-width: 620px;
  }
}


/* Contact and footer icons */
.contact-detail__label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-detail__icon,
.footer__icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: none;
  stroke: var(--color-green-dark);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: var(--space-3);
  color: var(--color-green-dark);
  font-size: var(--text-sm);
  font-weight: 700;
  text-decoration: none;
}

.contact-map-link:hover {
  text-decoration: underline;
}

.footer__icon {
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.5rem;
}

.footer a[href^="tel:"],
.footer a[href*="google.com/maps"] {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
