/* ============================================================
   Blue Ray Solar — Global Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  --navy:       #0a1628;
  --navy-light: #112240;
  --blue:       #1e6fff;
  --blue-light: #4d8eff;
  --gold:       #f5a623;
  --gold-dark:  #d4891a;
  --white:      #ffffff;
  --gray-50:    #f8f9fa;
  --gray-100:   #f1f3f5;
  --gray-200:   #e9ecef;
  --gray-400:   #adb5bd;
  --gray-600:   #495057;
  --gray-800:   #212529;
  --green:      #25d366;
  --red:        #e53e3e;

  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'Outfit', sans-serif;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  --shadow-sm:   0 2px 8px rgba(0,0,0,.08);
  --shadow-md:   0 4px 20px rgba(0,0,0,.12);
  --shadow-lg:   0 8px 40px rgba(0,0,0,.18);
  --shadow-blue: 0 4px 24px rgba(30,111,255,.25);
  --shadow-gold: 0 4px 24px rgba(245,166,35,.30);

  --transition:      200ms ease;
  --transition-slow: 350ms ease;

  --nav-h: 110px;

  --z-base:    10;
  --z-card:    20;
  --z-sticky:  30;
  --z-overlay: 50;
  --z-modal:   60;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; }

/* ── Layout Utilities ──────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}

.section    { padding-block: 88px; }
.section-sm { padding-block: 56px; }

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

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.flex         { display: flex; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

/* ── Section Header ────────────────────────────────────────── */
.section-header { margin-bottom: 56px; }
.section-header .eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}
.section-header h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.8rem); color: var(--navy); margin-bottom: 16px; }
.section-header p  { max-width: 560px; color: var(--gray-600); font-size: 1.05rem; line-height: 1.7; }
.section-header.text-center p { margin-inline: auto; }

.divider {
  width: 56px; height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  border-radius: 2px;
  margin-bottom: 20px;
}
.text-center .divider { margin-inline: auto; }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  cursor: pointer;
  white-space: nowrap;
  border: 2px solid transparent;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); box-shadow: 0 6px 28px rgba(245,166,35,.4); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn-outline-white:hover { border-color: var(--white); background: rgba(255,255,255,.08); }

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

.btn-blue {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  box-shadow: var(--shadow-blue);
}
.btn-blue:hover { background: var(--blue-light); border-color: var(--blue-light); }

.btn-green {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
  box-shadow: 0 4px 20px rgba(37,211,102,.3);
}
.btn-green:hover { background: #1ebe5d; border-color: #1ebe5d; }

.btn-sm { padding: 10px 20px; font-size: .875rem; }
.btn-lg { padding: 16px 36px; font-size: 1.1rem; }

/* ── Navbar ────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: var(--z-sticky);
  background: rgba(10,22,40,.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: box-shadow var(--transition-slow);
}
.navbar .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.navbar.scrolled {
  box-shadow: 0 2px 24px rgba(0,0,0,.35);
  border-bottom-color: rgba(255,255,255,.10);
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: .04em;
  color: var(--white);
  flex-shrink: 0;
  cursor: pointer;
}

/* Brand name text next to logo */
.nav-brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.nav-brand-name .brand-main {
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: .06em;
  color: var(--white);
  white-space: nowrap;
}
.nav-brand-name .brand-sub {
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}

/* Real logo images — both logos are portrait with text below icon */
.nav-logo-img {
  height: 96px;
  width: auto;
  object-fit: contain;
  display: block;
}
/* solar logo has white bg in PNG — blend mode makes white areas transparent on dark bg */
.nav-logo-img:not(.nav-logo-dark) {
  mix-blend-mode: screen;
  border-radius: 0;
}
/* construction logo: dark bg blends into navy navbar */
.nav-logo-dark {
  background: transparent;
  padding: 0;
}
.footer-logo-img {
  height: 120px;
  width: auto;
  object-fit: contain;
  display: block;
  margin-bottom: 12px;
}
.footer-logo-img:not(.footer-logo-dark) {
  border-radius: 8px;
}
.footer-logo-dark {
  background: transparent;
  padding: 0;
}
.logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--gold), #ffca3a);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-icon svg { width: 20px; height: 20px; fill: var(--navy); }
.brand-blue { color: var(--blue-light); }
.brand-gold { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 20px;
}
.nav-links a {
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-weight: 500;
  white-space: nowrap;
  color: rgba(255,255,255,.75);
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); background: rgba(255,255,255,.09); }

.nav-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.btn-call {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  color: var(--white);
  font-family: var(--font-body);
  font-size: .875rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background var(--transition), border-color var(--transition);
}
.btn-call:hover {
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.3);
}
.btn-call svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  animation: ring 2.5s ease-in-out infinite;
}
@keyframes ring {
  0%, 100% { transform: rotate(0deg); }
  10%       { transform: rotate(-15deg); }
  20%       { transform: rotate(15deg); }
  30%       { transform: rotate(-10deg); }
  40%       { transform: rotate(10deg); }
  50%       { transform: rotate(0deg); }
}

.btn-construction {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: .85rem;
  font-weight: 700;
  color: var(--gold);
  border: 1.5px solid rgba(245,166,35,.6);
  background: transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: .02em;
}
.btn-construction:hover,
.btn-construction.active-brand { background: var(--gold); color: var(--navy); border-color: var(--gold); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.hamburger:hover { background: rgba(255,255,255,.1); }
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity 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); }

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(10,22,40,.97);
  backdrop-filter: blur(16px);
  padding: 20px 24px 28px;
  z-index: var(--z-overlay);
  border-top: 1px solid rgba(255,255,255,.08);
  flex-direction: column;
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  font-size: .975rem;
  font-weight: 500;
  color: rgba(255,255,255,.8);
  transition: background var(--transition), color var(--transition);
}
.mobile-menu a:hover { background: rgba(255,255,255,.07); color: var(--white); }
.mobile-menu .btn-construction { width: 100%; text-align: center; margin-top: 12px; padding: 13px 16px; border-radius: var(--radius-sm); }

.page-content { padding-top: var(--nav-h); }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--navy);
  overflow: hidden;
  padding: 100px 0 88px;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
}

/* CSS solar ray pattern */
.hero::before {
  content: '';
  position: absolute;
  top: -30%; right: -5%;
  width: 780px; height: 780px;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,   rgba(30,111,255,.07) 3deg,  transparent 6deg,
    transparent 20deg,  rgba(245,166,35,.05) 23deg,  transparent 26deg,
    transparent 40deg,  rgba(30,111,255,.06) 43deg,  transparent 46deg,
    transparent 60deg,  rgba(245,166,35,.05) 63deg,  transparent 66deg,
    transparent 80deg,  rgba(30,111,255,.07) 83deg,  transparent 86deg,
    transparent 100deg, rgba(245,166,35,.05) 103deg, transparent 106deg,
    transparent 120deg, rgba(30,111,255,.06) 123deg, transparent 126deg,
    transparent 140deg, rgba(245,166,35,.05) 143deg, transparent 146deg,
    transparent 160deg, rgba(30,111,255,.07) 163deg, transparent 166deg
  );
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 65% 60% at 75% 50%, rgba(30,111,255,.09) 0%, transparent 70%);
  pointer-events: none;
}

/* Two-column hero layout */
.hero-grid {
  display: grid;
  grid-template-columns: 55% 45%;
  align-items: center;
  gap: 40px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

/* Right side image */
.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-img-wrap {
  position: relative;
  width: 100%;
  max-width: 540px;
  border-radius: var(--radius-lg);
  overflow: visible;
}
.hero-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
  box-shadow: 0 24px 64px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.08);
}
.hero-img-badge {
  position: absolute;
  bottom: -18px;
  left: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-gold);
}
.hero-img-badge svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(30,111,255,.12);
  border: 1px solid rgba(30,111,255,.28);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: .78rem;
  font-weight: 700;
  color: var(--blue-light);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.75); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6.5vw, 5.2rem);
  line-height: 1.0;
  color: var(--white);
  margin-bottom: 20px;
}
.hero h1 .accent { color: var(--gold); }

.hero-sub {
  font-size: clamp(.95rem, 1.8vw, 1.1rem);
  color: rgba(255,255,255,.68);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 40px;
}
.stat-item {
  flex: 1;
  min-width: 110px;
  padding-right: 28px;
  border-right: 1px solid rgba(255,255,255,.1);
}
.stat-item:last-child { border-right: none; padding-right: 0; }
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: 4px;
}
.stat-label {
  font-size: .78rem;
  color: rgba(255,255,255,.5);
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* Construction hero */
.hero-construction {
  background: linear-gradient(135deg, var(--navy) 0%, #142040 100%);
}
.hero-construction .hero-eyebrow {
  background: rgba(245,166,35,.1);
  border-color: rgba(245,166,35,.25);
  color: var(--gold);
}

/* ── Card Base ─────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  padding: 32px;
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.card-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.ci-blue  { background: rgba(30,111,255,.1);  color: var(--blue); }
.ci-gold  { background: rgba(245,166,35,.12); color: var(--gold-dark); }
.ci-navy  { background: rgba(10,22,40,.08);   color: var(--navy); }
.ci-green { background: rgba(37,211,102,.1);  color: #16a34a; }

.card h3 { font-family: var(--font-display); font-size: 1.4rem; color: var(--navy); margin-bottom: 10px; }
.card p  { color: var(--gray-600); font-size: .95rem; line-height: 1.65; }

/* ── Why Solar / Feature cards ─────────────────────────────── */
.why-section { background: var(--gray-50); }
.why-card { text-align: center; }
.why-card .card-icon { margin-inline: auto; }

/* ── Package Section ───────────────────────────────────────── */
.package-section {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.package-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 75% at 80% 50%, rgba(30,111,255,.13) 0%, transparent 65%);
  pointer-events: none;
}
.package-section .section-header h2 { color: var(--white); }
.package-section .section-header .eyebrow { color: var(--gold); }
.package-section .section-header p { color: rgba(255,255,255,.6); }
.package-section .divider { background: linear-gradient(90deg, var(--gold), var(--blue-light)); }

.package-card {
  position: relative;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-xl);
  padding: 48px;
  max-width: 880px;
  margin-inline: auto;
  backdrop-filter: blur(8px);
}
.package-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gold), #ffca3a);
  color: var(--navy);
  padding: 6px 18px;
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.package-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: start;
}

.package-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--white);
  margin-bottom: 6px;
}
.package-subtitle { color: rgba(255,255,255,.5); font-size: .9rem; margin-bottom: 28px; }

.includes-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.includes-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.82);
  font-size: .95rem;
}
.check-icon {
  width: 22px; height: 22px;
  background: rgba(30,111,255,.18);
  border: 1px solid rgba(30,111,255,.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue-light);
}
.check-icon svg { width: 12px; height: 12px; }

.price-box {
  background: rgba(30,111,255,.08);
  border: 1px solid rgba(30,111,255,.2);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  min-width: 210px;
}
.price-original {
  font-size: 1.05rem;
  color: rgba(255,255,255,.3);
  text-decoration: line-through;
  margin-bottom: 2px;
}
.price-effective-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.price-effective {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--white);
  line-height: 1;
  margin-bottom: 20px;
}

.subsidy-breakdown {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}
.subsidy-row {
  display: flex;
  justify-content: space-between;
  font-size: .82rem;
  color: rgba(255,255,255,.5);
}
.subsidy-row.total {
  color: var(--gold);
  font-weight: 700;
  font-size: .92rem;
  padding-top: 8px;
  margin-top: 4px;
  border-top: 1px solid rgba(245,166,35,.2);
}

/* ── Services Section ──────────────────────────────────────── */
.services-section { background: var(--white); }

/* ── Process Section ───────────────────────────────────────── */
.process-section { background: var(--gray-50); }

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 27px;
  left: calc(12.5% + 27px);
  right: calc(12.5% + 27px);
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
}
.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 16px;
}
.step-num {
  width: 54px; height: 54px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin: 0 auto 18px;
  border: 3px solid var(--gray-50);
  box-shadow: 0 0 0 2px var(--blue);
}
.process-step h4 { font-family: var(--font-display); font-size: 1.15rem; color: var(--navy); margin-bottom: 8px; }
.process-step p  { font-size: .875rem; color: var(--gray-600); line-height: 1.55; }

/* ── Preview / Recent Work ─────────────────────────────────── */
.preview-section { background: var(--gray-50); }

/* ── Project Cards ─────────────────────────────────────────── */
.project-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
  cursor: pointer;
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.project-thumb {
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.thumb-solar        { background: linear-gradient(135deg, #0a1628 0%, #0d2151 45%, #1a3d8a 100%); }
.thumb-construction { background: linear-gradient(135deg, #2d1a00 0%, #5c3a0e 45%, #8b5e20 100%); }

.project-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.thumb-icon {
  opacity: .2;
  width: 72px; height: 72px;
  color: var(--white);
}
.thumb-icon svg { width: 100%; height: 100%; fill: currentColor; }

.project-info { padding: 20px 22px 22px; }

.project-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.tag-solar        { background: rgba(30,111,255,.1);  color: var(--blue); }
.tag-ongrid       { background: rgba(30,111,255,.08); color: #1557cc; }
.tag-residential  { background: rgba(245,166,35,.1);  color: var(--gold-dark); }
.tag-commercial   { background: rgba(10,22,40,.07);   color: var(--navy); }
.tag-construction { background: rgba(245,166,35,.12); color: var(--gold-dark); }

.project-info h4 { font-family: var(--font-display); font-size: 1.15rem; color: var(--navy); margin-bottom: 8px; line-height: 1.2; }

.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--gray-100);
}
.project-location {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .82rem;
  color: var(--gray-600);
}
.project-location svg { width: 13px; height: 13px; flex-shrink: 0; color: var(--blue); }
.project-capacity { font-size: .82rem; font-weight: 700; color: var(--navy); }

/* ── Portfolio Page ────────────────────────────────────────── */
.portfolio-hero {
  background: var(--navy);
  padding: 80px 0 56px;
  text-align: center;
}
.portfolio-hero h1 { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 4rem); color: var(--white); margin-bottom: 12px; }
.portfolio-hero p  { color: rgba(255,255,255,.6); font-size: 1.1rem; }

.portfolio-section { background: var(--gray-50); padding-block: 72px; }

.tabs-wrapper { margin-bottom: 52px; }
.tab-header {
  display: flex;
  align-items: center;
  gap: 0;
  border-bottom: 2px solid var(--gray-200);
  margin-bottom: 28px;
}
.tab-main-label {
  padding: 14px 24px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--navy);
  letter-spacing: .04em;
  border-bottom: 3px solid var(--navy);
  margin-bottom: -2px;
}

.subtabs { display: flex; gap: 10px; flex-wrap: wrap; }
.subtab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 100px;
  border: 2px solid var(--gray-200);
  font-size: .9rem;
  font-weight: 600;
  color: var(--gray-600);
  background: var(--white);
  cursor: pointer;
  transition: all var(--transition);
}
.subtab-btn:hover { border-color: var(--blue); color: var(--blue); }
.subtab-btn.active { background: var(--blue); border-color: var(--blue); color: var(--white); box-shadow: var(--shadow-blue); }
.subtab-btn.active.tab-construction { background: var(--gold-dark); border-color: var(--gold-dark); box-shadow: var(--shadow-gold); }
.subtab-btn svg { width: 16px; height: 16px; }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ── Contact Page ──────────────────────────────────────────── */
.contact-hero {
  background: var(--navy);
  padding: 80px 0 56px;
  text-align: center;
}
.contact-hero h1 { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 4rem); color: var(--white); margin-bottom: 12px; }
.contact-hero p  { color: rgba(255,255,255,.6); font-size: 1.05rem; }

.contact-section { background: var(--gray-50); padding-block: 72px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 40px;
  align-items: start;
}
.contact-info-col { display: flex; flex-direction: column; gap: 14px; }

.contact-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.contact-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.cc-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cc-label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gray-400);
  margin-bottom: 3px;
}
.cc-value {
  font-size: .95rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
}

.company-box {
  background: var(--navy);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 4px;
}
.company-box h4 { font-family: var(--font-display); font-size: 1.15rem; color: var(--white); margin-bottom: 14px; }
.company-meta-row { display: flex; flex-direction: column; gap: 7px; }
.company-meta-item { font-size: .85rem; color: rgba(255,255,255,.55); }
.company-meta-item strong { color: rgba(255,255,255,.88); }

.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.form-card h3 { font-family: var(--font-display); font-size: 1.7rem; color: var(--navy); margin-bottom: 6px; }
.form-sub { color: var(--gray-600); font-size: .9rem; margin-bottom: 28px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: .875rem; font-weight: 600; color: var(--gray-800); }

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--gray-800);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30,111,255,.12);
}
.form-group .error-input { border-color: var(--red) !important; }
.err-msg { font-size: .78rem; color: var(--red); display: none; margin-top: 2px; }
.has-error .err-msg { display: block; }
.form-group textarea { resize: vertical; min-height: 120px; }

.form-success {
  display: none;
  text-align: center;
  padding: 48px 24px;
}
.form-success.show { display: block; }
.success-icon {
  width: 68px; height: 68px;
  background: rgba(37,211,102,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #16a34a;
}
.success-icon svg { width: 32px; height: 32px; }
.form-success h4 { font-family: var(--font-display); font-size: 1.7rem; color: var(--navy); margin-bottom: 8px; }
.form-success p  { color: var(--gray-600); }

/* ── Footer ────────────────────────────────────────────────── */
.footer {
  background: var(--navy);
  padding: 64px 0 32px;
  color: rgba(255,255,255,.6);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 32px;
}
.footer-brand-desc {
  font-size: .875rem;
  line-height: 1.7;
  color: rgba(255,255,255,.45);
  max-width: 280px;
  margin: 16px 0 20px;
}
.footer-col h5 {
  font-family: var(--font-display);
  font-size: .95rem;
  letter-spacing: .1em;
  color: var(--white);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a {
  font-size: .875rem;
  color: rgba(255,255,255,.45);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--white); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .875rem;
  color: rgba(255,255,255,.45);
  margin-bottom: 10px;
  line-height: 1.5;
}
.footer-contact-item svg { flex-shrink: 0; margin-top: 2px; width: 15px; height: 15px; }
.footer-contact-item:hover { color: rgba(255,255,255,.8); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p   { font-size: .8rem; color: rgba(255,255,255,.3); }
.footer-gst        { font-size: .78rem; color: rgba(255,255,255,.25); }

/* ── Scroll Reveal ─────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ── Misc ──────────────────────────────────────────────────── */
.view-all-row { text-align: center; margin-top: 48px; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .process-grid::before { display: none; }
  .package-layout { grid-template-columns: 1fr; }
  .price-box { min-width: unset; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid .footer-brand { grid-column: 1 / -1; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
}

@media (max-width: 768px) {
  :root { --nav-h: 72px; }
  .section { padding-block: 64px; }
  .section-sm { padding-block: 40px; }

  .nav-logo-img { height: 60px; }
  .nav-brand-name { display: none; }

  .nav-links { display: none; }
  .nav-cta   { display: none; }
  .hamburger { display: flex; }

  .hero { padding: 72px 0 56px; min-height: unset; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-actions { flex-direction: column; }
  .hero-stats { gap: 20px; }
  .stat-item { border-right: none; min-width: 45%; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid  { grid-template-columns: 1fr; }
  .form-row      { grid-template-columns: 1fr; }
  .package-card  { padding: 28px 20px; }
  .footer-grid   { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.6rem; }
  .form-card { padding: 24px 20px; }
  .hero-eyebrow { font-size: .72rem; }
}
