/* ============================================================
   Dreamit Technology Ltd — Main Stylesheet
   style.css: reset, variables, layout, all components
   ============================================================ */

/* ----- CSS Custom Properties ----- */
:root {
  --navy:          #03112f;
  --navy-mid:      #193373;
  --navy-light:    #0d2545;
  --green:         #20be4a;
  --green-dark:    #17953a;
  --green-light:   #e8faee;
  --steel:         #507291;

  --white:         #ffffff;
  --off-white:     #f8f9fa;
  --gray-100:      #f1f3f5;
  --gray-200:      #e9ecef;
  --gray-300:      #dee2e6;
  --gray-500:      #adb5bd;
  --gray-600:      #6c757d;
  --gray-800:      #343a40;
  --gray-900:      #212529;

  --font-heading:  'Poppins', sans-serif;
  --font-body:     'Open Sans', sans-serif;

  --space-xs:   0.5rem;
  --space-sm:   1rem;
  --space-md:   1.5rem;
  --space-lg:   2.5rem;
  --space-xl:   4rem;
  --space-xxl:  6rem;

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  12px;
  --radius-xl:  20px;

  --shadow-sm:  0 2px 8px rgba(3, 17, 47, 0.08);
  --shadow-md:  0 4px 20px rgba(3, 17, 47, 0.12);
  --shadow-lg:  0 8px 40px rgba(3, 17, 47, 0.16);
  --shadow-green: 0 4px 20px rgba(32, 190, 74, 0.25);

  --transition:  all 0.3s ease;
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-800);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: var(--font-body); cursor: pointer; }
input, textarea, select {
  font-family: var(--font-body);
  font-size: 1rem;
}

/* ----- Layout ----- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section {
  padding: var(--space-xxl) 0;
}
.bg-off-white { background: var(--off-white); }
.bg-navy { background: var(--navy); }
.text-center { text-align: center; }

/* ----- Typography ----- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-900);
}
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ----- Section Header ----- */
.section-header {
  max-width: 700px;
  margin: 0 auto var(--space-lg);
}
.section-header.text-center { text-align: center; }
.section-eyebrow {
  display: inline-block;
  color: var(--green);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.section-sub {
  color: var(--gray-600);
  font-size: 1.05rem;
  margin-top: 0.75rem;
}

/* ----- Buttons ----- */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  border: 2px solid transparent;
  line-height: 1.4;
  text-align: center;
}
.btn-primary {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-green);
}
.btn-outline {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.7);
}
.btn-outline:hover {
  background: white;
  color: var(--navy);
  border-color: white;
}
.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: white;
}
.btn-navy {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
}
.btn-green {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.btn-green:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
}
.btn-lg { padding: 1rem 2.25rem; font-size: 1.05rem; }
.btn-full { width: 100%; justify-content: center; }

/* ----- Navigation ----- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: var(--transition);
  padding: 1rem 0;
  background: var(--navy);
  box-shadow: var(--shadow-md);
}
.site-header.scrolled {
  background: var(--navy);
  box-shadow: var(--shadow-md);
  padding: 0.75rem 0;
}
.site-header.solid {
  background: var(--navy);
  box-shadow: var(--shadow-md);
}
.navbar {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-logo img {
  transition: var(--transition);
  height: 52px;
  width: auto;
}
.nav-links .mobile-cta { display: none; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
  list-style: none;
}
.nav-links > li > a {
  display: block;
  padding: 0.5rem 0.75rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-links > li > a:hover,
.nav-links > li > a.active {
  color: white;
  background: rgba(255,255,255,0.1);
}
.nav-cta {
  margin-left: 0.5rem;
  flex-shrink: 0;
  font-size: 0.88rem;
  padding: 0.6rem 1.25rem;
}

/* Dropdown */
.nav-dropdown { position: relative; }
.dropdown-toggle { display: flex; align-items: center; gap: 0.3rem; cursor: pointer; }
.chevron { font-size: 0.7rem; transition: transform 0.2s; }
.nav-dropdown.open .chevron { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, transform 0.2s;
  transform: translateX(-50%) translateY(-8px);
  z-index: 100;
  list-style: none;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu li a {
  display: block;
  padding: 0.65rem 1.25rem;
  color: var(--gray-800);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}
.dropdown-menu li a:hover {
  background: var(--green-light);
  color: var(--navy);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----- Hero ----- */
.hero {
  min-height: 100vh;
  background: linear-gradient(rgba(3,17,47,0.68), rgba(3,17,47,0.68)),
              url('../images/hero/hero-home.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 8rem 0 4rem;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(32,190,74,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(25,51,115,0.4) 0%, transparent 50%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255,255,255,0.06);
}
.hero-content { position: relative; z-index: 1; }
.hero-text { max-width: 720px; }
.hero-eyebrow {
  display: inline-block;
  background: var(--green);
  color: white;
  border: none;
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 16px rgba(32, 190, 74, 0.45);
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: white;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  max-width: 620px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.hero-cta-group { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.hero-badges { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.badge {
  font-size: 0.82rem;
  color: white;
  font-weight: 600;
  background: rgba(255,255,255,0.18);
  padding: 0.45rem 1rem;
  border-radius: 100px;
  border: 1.5px solid rgba(255,255,255,0.55);
  font-family: var(--font-body);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
  animation: scroll-pulse 1.5s infinite;
}
@keyframes scroll-pulse {
  0%,100% { opacity: 0.2; }
  50% { opacity: 0.8; }
}

/* Page hero (non-fullscreen variant) */
.page-hero {
  background: linear-gradient(135deg, #03112f 0%, #0d2545 50%, #193373 100%);
  padding: 8rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 80%, rgba(32,190,74,0.07) 0%, transparent 50%);
  pointer-events: none;
}
.page-hero .hero-content { position: relative; z-index: 1; }
.page-hero h1 { color: white; margin-bottom: 1rem; }
.page-hero .hero-sub { color: rgba(255,255,255,0.78); max-width: 620px; margin-bottom: 2rem; }
.page-hero .hero-cta-group { margin-bottom: 0; }

/* Page-specific hero backgrounds */
.page-energy-audit .page-hero {
  background: linear-gradient(rgba(3,17,47,0.70), rgba(3,17,47,0.70)),
              url('../images/hero/hero-energy-audit.jpg') center/cover no-repeat;
}
.page-electrical .page-hero {
  background: linear-gradient(rgba(3,17,47,0.68), rgba(3,17,47,0.68)),
              url('../images/hero/hero-electrical.jpg') center/cover no-repeat;
}
.page-solar .page-hero {
  background: linear-gradient(rgba(3,17,47,0.62), rgba(3,17,47,0.62)),
              url('../images/hero/hero-solar.jpg') center/cover no-repeat;
}
.page-about .page-hero {
  background: linear-gradient(rgba(3,17,47,0.68), rgba(3,17,47,0.68)),
              url('../images/hero/hero-about.jpg') center/cover no-repeat;
}

/* Real image sizing for project cards, article cards, services, about */
.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.article-card > img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.featured-article > img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  display: block;
}
.service-section-img {
  width: 100%;
  border-radius: var(--radius-md);
  display: block;
  box-shadow: var(--shadow-md);
}
.about-story-img {
  width: 100%;
  border-radius: var(--radius-md);
  display: block;
  box-shadow: var(--shadow-md);
}

/* ----- Stats Bar ----- */
.stats-bar {
  background: var(--navy);
  padding: 3rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-item { padding: 1rem; }
.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--green);
  line-height: 1;
  margin-bottom: 0.5rem;
  white-space: nowrap;
}
.stat-label {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.4;
}

/* ----- Problem Section ----- */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.problem-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--green);
  transition: var(--transition);
}
.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.problem-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.problem-stat {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.75rem;
  line-height: 1;
}
.problem-card p { font-size: 0.9rem; color: var(--gray-600); margin: 0; }
.problem-cta { margin-top: 1rem; }
.problem-cta p {
  font-size: 1.05rem;
  color: var(--gray-700, #495057);
  max-width: 650px;
  margin: 0 auto 1.5rem;
}

/* ----- Services Grid ----- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.service-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: var(--transition);
  position: relative;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.service-card--primary {
  border-color: var(--green);
  border-width: 2px;
  box-shadow: 0 0 0 1px rgba(32,190,74,0.15), var(--shadow-sm);
}
.service-card-badge {
  position: absolute;
  top: -12px;
  left: 2rem;
  background: var(--green);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.85rem;
  border-radius: 100px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.service-icon { font-size: 2.5rem; line-height: 1; }
.service-card h3 { color: var(--navy); font-size: 1.2rem; }
.service-card p { color: var(--gray-600); font-size: 0.95rem; flex: 1; }
.service-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.service-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--gray-700, #495057);
}
.service-features li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* Services detail grid (6 cards) */
.services-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.service-detail-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}
.service-detail-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--green);
}
.service-detail-card .service-icon { font-size: 2rem; margin-bottom: 1rem; }
.service-detail-card h3 { color: var(--navy); margin-bottom: 0.75rem; font-size: 1.1rem; }
.service-detail-card p { font-size: 0.9rem; color: var(--gray-600); }

/* ----- Why Section ----- */
.why-inner { max-width: 1100px; margin: 0 auto; }
.why-header { max-width: 560px; margin-bottom: var(--space-lg); }
.why-header h2 { margin-bottom: 1rem; }
.why-header p { color: var(--gray-600); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.why-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.75rem;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}
.why-item:hover { border-color: var(--green); background: var(--green-light); }
.why-icon-wrap {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: white;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}
.why-icon { font-size: 1.6rem; }
.why-item h4 { margin-bottom: 0.5rem; color: var(--navy); }
.why-item p { font-size: 0.9rem; color: var(--gray-600); margin: 0; }

/* ----- Process Timeline ----- */
.process-timeline {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
  flex-wrap: wrap;
  justify-content: center;
}
.process-step {
  flex: 1;
  min-width: 200px;
  max-width: 240px;
  text-align: center;
  padding: 1.5rem 1rem;
}
.step-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
  margin-bottom: 0.75rem;
  opacity: 0.9;
}
.step-content h4 { color: var(--navy); margin-bottom: 0.5rem; }
.step-content p { font-size: 0.88rem; color: var(--gray-600); }
.process-connector {
  flex-shrink: 0;
  align-self: center;
  margin-top: -2rem;
  width: 40px;
  height: 2px;
  background: linear-gradient(to right, var(--green), var(--navy-mid));
  opacity: 0.4;
}

/* Vertical process (6-step) */
.process-vertical {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.process-v-step {
  display: flex;
  gap: 1.5rem;
  position: relative;
  padding-bottom: 2.5rem;
}
.process-v-step:last-child { padding-bottom: 0; }
.process-v-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--green);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  position: relative;
  z-index: 1;
}
.process-v-step:not(:last-child) .process-v-num::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: calc(100% + 1.5rem);
  background: var(--gray-200);
}
.process-v-content { padding-top: 0.5rem; }
.process-v-content h4 { color: var(--navy); margin-bottom: 0.4rem; }
.process-v-content p { font-size: 0.9rem; color: var(--gray-600); margin: 0; }

/* ----- Industries Grid ----- */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.industry-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  text-align: center;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--gray-800);
  transition: var(--transition);
  cursor: default;
}
.industry-card:hover {
  border-color: var(--green);
  background: var(--green-light);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ----- Testimonials ----- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.testimonial-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); }
.testimonial-stars { color: #f4a732; font-size: 1rem; letter-spacing: 0.1em; }
.testimonial-text {
  font-size: 0.95rem;
  color: var(--gray-700, #495057);
  font-style: italic;
  flex: 1;
  margin: 0;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--gray-200);
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 0.9rem; color: var(--gray-900); }
.testimonial-author span { font-size: 0.8rem; color: var(--gray-600); }

/* ----- CTA Banner ----- */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, var(--navy-mid) 100%);
  padding: var(--space-xxl) 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 50%, rgba(32,190,74,0.1) 0%, transparent 60%);
  pointer-events: none;
}
.cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}
.cta-inner h2 { color: white; margin-bottom: 1rem; }
.cta-inner p { color: rgba(255,255,255,0.78); font-size: 1.05rem; margin-bottom: 2rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ----- Image Placeholders ----- */
.img-placeholder {
  background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  min-height: 220px;
  border-radius: var(--radius-md);
  color: var(--gray-600);
  font-size: 0.85rem;
  border: 2px dashed var(--gray-300);
}
.img-placeholder small {
  color: var(--gray-500);
  margin-top: 0.5rem;
  font-size: 0.75rem;
  display: block;
}

/* ----- Service Tiers (Pricing-style) ----- */
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: start;
}
.tier-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.tier-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.tier-card--featured {
  border-color: var(--green);
  border-width: 2px;
  box-shadow: 0 0 0 4px rgba(32,190,74,0.08), var(--shadow-md);
}
.tier-header {
  padding: 2rem;
  border-bottom: 1px solid var(--gray-200);
  background: var(--gray-100);
}
.tier-card--featured .tier-header {
  background: var(--navy);
  border-bottom-color: transparent;
}
.tier-badge {
  display: inline-block;
  background: var(--green);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.75rem;
  border-radius: 100px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.tier-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.tier-card--featured .tier-name { color: white; }
.tier-price {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--green);
  margin-bottom: 0.25rem;
}
.tier-duration {
  font-size: 0.82rem;
  color: var(--gray-600);
}
.tier-card--featured .tier-duration { color: rgba(255,255,255,0.65); }
.tier-body { padding: 2rem; }
.tier-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.tier-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--gray-700, #495057);
}
.tier-features li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}

/* ----- FAQ Accordion ----- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--gray-200);
}
.faq-item:first-child { border-top: 1px solid var(--gray-200); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-900);
  cursor: pointer;
  gap: 1rem;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--green); }
.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: var(--green-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--green);
  transition: var(--transition);
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--green); color: white; }
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease, padding 0.25s ease;
}
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer p {
  padding-bottom: 1.25rem;
  color: var(--gray-600);
  font-size: 0.95rem;
  margin: 0;
}

/* ----- Footer ----- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
}
.footer-main { padding: var(--space-xxl) 0 var(--space-xl); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
}
.footer-brand p {
  margin-top: 1rem;
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
}
.footer-social {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  transition: var(--transition);
  text-decoration: none;
}
.social-link:hover { background: var(--green); color: white; }
.footer-col h4 {
  color: white;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  font-family: var(--font-heading);
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; list-style: none; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--green); }
.footer-cert {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.cert-badge {
  display: inline-block;
  font-size: 0.75rem;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.65);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
  width: fit-content;
  border: 1px solid rgba(255,255,255,0.12);
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.88rem;
}
.contact-icon { flex-shrink: 0; }
.footer-contact-item a { color: rgba(255,255,255,0.65); transition: color 0.2s; }
.footer-contact-item a:hover { color: var(--green); }
.footer-contact-item small { color: rgba(255,255,255,0.45); font-size: 0.78rem; display: block; }

.footer-newsletter {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 2.5rem 0;
}
.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.newsletter-inner h4 { color: white; margin-bottom: 0.25rem; font-size: 1rem; }
.newsletter-inner p { font-size: 0.88rem; color: rgba(255,255,255,0.6); margin: 0; }
.newsletter-form { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.newsletter-form input {
  padding: 0.7rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.07);
  color: white;
  font-size: 0.9rem;
  min-width: 260px;
  flex: 1;
  outline: none;
  transition: border-color 0.2s;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form input:focus { border-color: var(--green); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.4); margin: 0; }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { font-size: 0.82rem; color: rgba(255,255,255,0.4); transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--green); }

/* ----- WhatsApp Float ----- */
.whatsapp-float {
  position: fixed;
  bottom: 90px;
  right: 24px;
  background: #25D366;
  color: white;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
  animation: whatsapp-pulse 2.5s infinite;
  text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-tooltip {
  position: absolute;
  right: 66px;
  background: var(--navy);
  color: white;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }
@keyframes whatsapp-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 32px rgba(37, 211, 102, 0.7); }
}

/* ----- Back to Top ----- */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--navy);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 998;
  box-shadow: var(--shadow-md);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--green); }

/* ----- Contact Form ----- */
.contact-section { padding: var(--space-xxl) 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.25rem; }
.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-800);
}
.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--gray-800);
  background: white;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(32,190,74,0.12);
}
.form-group input.error,
.form-group textarea.error { border-color: #dc3545; }
.field-error { font-size: 0.8rem; color: #dc3545; min-height: 1rem; }
.form-note { font-size: 0.8rem; color: var(--gray-500); text-align: center; margin-top: 0.75rem; }
.form-success {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--green-light);
  border: 1px solid var(--green);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-top: 1rem;
}
.form-success span { font-size: 1.5rem; color: var(--green); flex-shrink: 0; }
.form-success strong { display: block; color: var(--navy); margin-bottom: 0.25rem; }
.form-success p { font-size: 0.9rem; color: var(--gray-600); margin: 0; }

/* Contact info column */
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-info-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--gray-200);
}
.contact-info-card h4 { color: var(--navy); margin-bottom: 1rem; }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}
.contact-info-item:last-child { margin-bottom: 0; }
.contact-info-icon { font-size: 1.2rem; flex-shrink: 0; }
.contact-info-item a { color: var(--navy); font-weight: 500; }
.contact-info-item a:hover { color: var(--green); }
.whatsapp-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #25D366;
  color: white;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  text-decoration: none;
}
.whatsapp-cta:hover { background: #1da851; transform: translateY(-2px); }
.map-placeholder {
  background: var(--gray-100);
  border-radius: var(--radius-md);
  border: 2px dashed var(--gray-300);
  padding: 3rem 2rem;
  text-align: center;
  color: var(--gray-600);
  font-size: 0.9rem;
}
.map-placeholder small { display: block; margin-top: 0.5rem; color: var(--gray-500); font-size: 0.8rem; }

/* ----- Projects Grid ----- */
.filter-tabs {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.filter-btn {
  padding: 0.5rem 1.25rem;
  border: 1.5px solid var(--gray-300);
  border-radius: 100px;
  background: white;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-600);
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.project-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.project-card .img-placeholder { border-radius: 0; min-height: 180px; }
.project-card-body { padding: 1.5rem; }
.project-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 0.75rem;
}
.tag-audit { background: var(--green-light); color: var(--green-dark); }
.tag-electrical { background: rgba(3,17,47,0.08); color: var(--navy); }
.tag-solar { background: #fff8e6; color: #b07800; }
.project-card h3 { font-size: 1rem; color: var(--navy); margin-bottom: 0.4rem; }
.project-location { font-size: 0.8rem; color: var(--gray-500); margin-bottom: 0.5rem; }
.project-card p { font-size: 0.88rem; color: var(--gray-600); margin-bottom: 0.75rem; }
.project-result {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 1rem;
}
.project-result::before { content: '📊'; }

/* ----- Resources / Articles ----- */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}
.article-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.article-card .img-placeholder { border-radius: 0; min-height: 180px; }
.article-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.article-meta { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.article-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.65rem;
  border-radius: 100px;
  background: var(--green-light);
  color: var(--green-dark);
}
.article-date { font-size: 0.78rem; color: var(--gray-500); }
.article-body h3 { font-size: 1.05rem; color: var(--navy); margin-bottom: 0.5rem; }
.article-body p { font-size: 0.9rem; color: var(--gray-600); flex: 1; margin-bottom: 1rem; }
.read-more { color: var(--green); font-weight: 600; font-size: 0.88rem; transition: color 0.2s; }
.read-more:hover { color: var(--green-dark); }

.featured-article {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 4rem;
  transition: var(--transition);
}
.featured-article:hover { box-shadow: var(--shadow-md); }
.featured-article .img-placeholder { border-radius: 0; min-height: 300px; }
.featured-article-body { padding: 3rem; display: flex; flex-direction: column; justify-content: center; }
.featured-badge {
  display: inline-block;
  background: var(--navy);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.downloads-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.download-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.download-card:hover { border-color: var(--green); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.download-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: var(--green-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.download-info h4 { color: var(--navy); margin-bottom: 0.5rem; font-size: 1rem; }
.download-info p { font-size: 0.88rem; color: var(--gray-600); margin-bottom: 1rem; }

/* ----- About Page ----- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}
.value-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem 1.25rem;
  text-align: center;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.value-card:hover { border-color: var(--green); background: var(--green-light); transform: translateY(-4px); }
.value-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.value-card h4 { color: var(--navy); font-size: 0.95rem; }

.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem; align-items: center; }
.team-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 1.25rem;
  overflow: hidden;
}
.team-card h3 { color: var(--navy); margin-bottom: 0.25rem; }
.team-role { color: var(--green); font-weight: 600; font-size: 0.9rem; margin-bottom: 1rem; display: block; }
.team-credentials { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.cred-tag {
  font-size: 0.75rem;
  background: var(--gray-100);
  color: var(--gray-700, #495057);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  border: 1px solid var(--gray-200);
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.credential-badge {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.credential-badge:hover { border-color: var(--green); box-shadow: var(--shadow-md); }
.credential-badge .cred-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.credential-badge h4 { font-size: 0.95rem; color: var(--navy); margin-bottom: 0.25rem; }
.credential-badge p { font-size: 0.82rem; color: var(--gray-500); margin: 0; }

.coverage-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
  justify-content: center;
}
.city-tag {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  font-size: 0.88rem;
  color: var(--gray-700, #495057);
  font-weight: 500;
}

/* ----- Utility ----- */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.divider { height: 1px; background: var(--gray-200); margin: 2rem 0; }

/* Standards/compliance section */
.standards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.standard-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
}
.standard-icon { font-size: 1.75rem; flex-shrink: 0; }
.standard-item h4 { font-size: 0.95rem; color: var(--navy); margin-bottom: 0.3rem; }
.standard-item p { font-size: 0.85rem; color: var(--gray-600); margin: 0; }

/* ----- Hero scroll padding compensation ----- */
.has-hero-padding { padding-top: 80px; }
