@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:wght@300;400;500&display=swap');

/* ─── TOKENS ─────────────────────────────────────────────── */
:root {
  --white:   #FFFFFF;
  --off:     #F8F7F4;
  --stone:   #EEECE6;
  --text:    #111110;
  --mid:     #6B6B67;
  --border:  #DDDBD3;
  --green:   #2D5A1B;
  --green2:  #4A8C2A;
  --leaf:    #7BBF50;
  --sun:     #E8C547;

  --serif:   'DM Serif Display', Georgia, serif;
  --sans:    'DM Sans', system-ui, sans-serif;

  --r:       2px;
  --gap:     clamp(1rem, 3vw, 2.5rem);
  --max:     1140px;
}

/* ─── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--sans); color: var(--text); background: var(--white); line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: var(--sans); cursor: pointer; border: none; background: none; }

/* ─── SCROLLBAR ───────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--off); }
::-webkit-scrollbar-thumb { background: var(--green); border-radius: 4px; }

/* ─── CURSOR DOT ─────────────────────────────────────────── */
.cursor-dot {
  position: fixed; width: 6px; height: 6px;
  background: var(--green); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
  transition: transform 0.1s, opacity 0.2s;
}
.cursor-ring {
  position: fixed; width: 32px; height: 32px;
  border: 1px solid var(--green); border-radius: 50%;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%,-50%);
  transition: all 0.12s ease-out;
  opacity: 0.5;
}

/* ─── NAV ────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 64px;
  display: flex; align-items: center;
  padding: 0 var(--gap);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto; width: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo-mark {
  width: 34px; height: 34px;
  background: var(--text);
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r);
}
.nav-logo-mark svg { width: 20px; height: 20px; }
.nav-logo-name { font-family: var(--serif); font-size: 18px; letter-spacing: -0.3px; }
.nav-logo-name span { color: var(--green2); }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { font-size: 13px; font-weight: 400; color: var(--mid); letter-spacing: 0.02em; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); font-weight: 500; }
.nav-cta {
  font-size: 13px; font-weight: 500;
  padding: 9px 20px;
  background: var(--green);
  color: white;
  border-radius: var(--r);
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.15s;
}
.nav-cta:hover { background: var(--green2); transform: translateY(-1px); }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; cursor: pointer; }
.hamburger span { display: block; width: 22px; height: 1.5px; background: var(--text); transition: all 0.3s; }

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
  padding-top: 64px;
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.hero-bg-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--stone) 1px, transparent 1px),
    linear-gradient(90deg, var(--stone) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.35;
}
.hero-sun {
  position: absolute; top: 80px; right: -60px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: var(--sun);
  opacity: 0.07;
  animation: pulse 8s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.08)} }

.hero-inner {
  max-width: var(--max); margin: 0 auto; width: 100%;
  padding: 6rem var(--gap) 4rem;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: center;
  position: relative; z-index: 1;
}
.hero-eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--green2);
  margin-bottom: 1.5rem;
}
.hero-eyebrow::before {
  content: '';
  display: block; width: 32px; height: 1px; background: var(--green2);
}
.hero-h1 {
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.05;
  letter-spacing: -1px;
  margin-bottom: 1.5rem;
  color: var(--text);
}
.hero-h1 em { color: var(--green2); font-style: italic; }
.hero-p {
  font-size: 16px; color: var(--mid); max-width: 480px;
  line-height: 1.8; margin-bottom: 2.5rem;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-dark {
  padding: 13px 28px;
  background: var(--text); color: white;
  font-size: 14px; font-weight: 500; letter-spacing: 0.02em;
  border-radius: var(--r);
  transition: background 0.2s, transform 0.15s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-dark:hover { background: var(--green); transform: translateY(-2px); }
.btn-outline {
  padding: 13px 28px;
  border: 1px solid var(--border); color: var(--text);
  font-size: 14px; font-weight: 500;
  border-radius: var(--r);
  transition: border-color 0.2s, transform 0.15s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline:hover { border-color: var(--text); transform: translateY(-2px); }

/* Hero right card */
.hero-card {
  background: var(--off);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  position: relative;
}
.hero-card-tag {
  position: absolute; top: -12px; left: 1.5rem;
  background: var(--green);
  color: white;
  font-size: 10px; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px; border-radius: 20px;
}
.hero-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; }
.hero-stat { background: white; border: 1px solid var(--border); border-radius: 4px; padding: 1rem; }
.hero-stat-num { font-family: var(--serif); font-size: 32px; color: var(--text); line-height: 1; }
.hero-stat-label { font-size: 11px; color: var(--mid); margin-top: 4px; letter-spacing: 0.03em; }
.hero-person {
  display: flex; align-items: center; gap: 12px;
  padding-top: 1.5rem; margin-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.hero-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 20px; color: white;
  flex-shrink: 0;
}
.hero-person-name { font-size: 14px; font-weight: 500; }
.hero-person-sub { font-size: 12px; color: var(--mid); }

/* Hero ticker */
.hero-ticker {
  border-top: 1px solid var(--border);
  position: relative; z-index: 1;
  overflow: hidden;
  background: var(--text);
  padding: 12px 0;
}
.ticker-track {
  display: flex; gap: 4rem;
  animation: ticker 30s linear infinite;
  white-space: nowrap;
}
@keyframes ticker { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.ticker-item {
  font-size: 11px; color: rgba(255,255,255,0.5);
  letter-spacing: 0.12em; text-transform: uppercase;
  display: flex; align-items: center; gap: 10px;
}
.ticker-item .dot { width: 4px; height: 4px; background: var(--leaf); border-radius: 50%; }

/* ─── SECTION BASE ───────────────────────────────────────── */
.section { padding: clamp(4rem, 8vw, 8rem) var(--gap); }
.section-inner { max-width: var(--max); margin: 0 auto; }
.section-label {
  font-size: 11px; font-weight: 500; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--green2);
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 1rem;
}
.section-label::before { content: ''; display: block; width: 20px; height: 1px; background: var(--green2); }
.section-h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 3.5vw, 48px);
  line-height: 1.1; letter-spacing: -0.5px;
  margin-bottom: 0.75rem;
}
.section-sub { font-size: 15px; color: var(--mid); max-width: 500px; line-height: 1.8; }

/* ─── PV PROCESS (full detail) ───────────────────────────── */
.pv-process { background: var(--off); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 3.5rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
.process-step {
  padding: 2rem 1.5rem;
  border-right: 1px solid var(--border);
  position: relative;
  transition: background 0.25s;
}
.process-step:last-child { border-right: none; }
.process-step:hover { background: white; }
.ps-num {
  font-family: var(--serif); font-size: 48px;
  color: var(--stone); line-height: 1; margin-bottom: 1rem;
  transition: color 0.25s;
}
.process-step:hover .ps-num { color: var(--green2); }
.ps-icon {
  width: 36px; height: 36px; background: var(--green);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.ps-icon svg { width: 18px; height: 18px; stroke: white; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ps-title { font-size: 14px; font-weight: 500; margin-bottom: 0.5rem; }
.ps-text { font-size: 12px; color: var(--mid); line-height: 1.6; }
.ps-duration { margin-top: 1rem; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--leaf); }

/* ─── SERVICES GRID ──────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  margin-top: 3.5rem;
}
.svc-item {
  background: white;
  padding: 2rem;
  transition: background 0.2s;
  cursor: default;
}
.svc-item:hover { background: var(--off); }
.svc-num { font-size: 11px; color: var(--mid); letter-spacing: 0.1em; margin-bottom: 1.5rem; }
.svc-icon-wrap {
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.svc-icon-wrap svg { width: 20px; height: 20px; stroke: var(--green); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svc-title { font-size: 15px; font-weight: 500; margin-bottom: 0.5rem; }
.svc-text { font-size: 13px; color: var(--mid); line-height: 1.65; }
.svc-tag { display: inline-block; margin-top: 1rem; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green2); }
.svc-item.featured { background: var(--green); }
.svc-item.featured .svc-num,
.svc-item.featured .svc-title,
.svc-item.featured .svc-text { color: white; }
.svc-item.featured .svc-icon-wrap { border-color: rgba(255,255,255,0.3); }
.svc-item.featured .svc-icon-wrap svg { stroke: white; }
.svc-item.featured .svc-tag { color: var(--leaf); }

/* ─── EXPERTISE / ABOUT ──────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-top: 3rem;
}
.about-left { }
.about-right { }
.years-badge {
  display: inline-flex; align-items: baseline; gap: 6px;
  background: var(--off); border: 1px solid var(--border);
  border-radius: 4px; padding: 1rem 1.5rem;
  margin-bottom: 2rem;
}
.years-num { font-family: var(--serif); font-size: 64px; color: var(--text); line-height: 1; }
.years-label { font-size: 13px; color: var(--mid); }
.about-quote {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.4;
  color: var(--text);
  font-style: italic;
  border-left: 2px solid var(--green);
  padding-left: 1.25rem;
  margin: 2rem 0;
}
.cert-list { display: flex; flex-direction: column; gap: 10px; margin-top: 1.5rem; }
.cert-item {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; padding: 10px 14px;
  background: var(--off); border: 1px solid var(--border); border-radius: 4px;
}
.cert-dot { width: 6px; height: 6px; background: var(--leaf); border-radius: 50%; flex-shrink: 0; }
.timeline {
  position: relative; padding-left: 2rem;
}
.timeline::before {
  content: ''; position: absolute; left: 0; top: 6px; bottom: 6px;
  width: 1px; background: var(--border);
}
.tl-item { position: relative; padding-bottom: 2rem; }
.tl-dot {
  position: absolute; left: -2.3rem; top: 5px;
  width: 8px; height: 8px; background: var(--green);
  border-radius: 50%; border: 2px solid white;
  box-shadow: 0 0 0 1px var(--green);
}
.tl-year { font-size: 11px; color: var(--mid); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 4px; }
.tl-title { font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.tl-text { font-size: 13px; color: var(--mid); line-height: 1.6; }

/* ─── PV DETAIL TABLE ────────────────────────────────────── */
.pv-specs { background: var(--text); color: white; }
.pv-specs .section-label { color: var(--leaf); }
.pv-specs .section-label::before { background: var(--leaf); }
.pv-specs .section-h2 { color: white; }
.pv-specs .section-sub { color: rgba(255,255,255,0.5); }

.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: #222;
  border: 1px solid #222;
  border-radius: 6px;
  overflow: hidden;
  margin-top: 3rem;
}
.spec-block {
  background: #111;
  padding: 2rem;
  transition: background 0.2s;
}
.spec-block:hover { background: #181818; }
.spec-block-title { font-size: 11px; color: rgba(255,255,255,0.3); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1.5rem; }
.spec-rows { display: flex; flex-direction: column; gap: 8px; }
.spec-row {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 13px; padding-bottom: 8px; border-bottom: 1px solid #1f1f1f;
}
.spec-row:last-child { border-bottom: none; padding-bottom: 0; }
.spec-key { color: rgba(255,255,255,0.4); }
.spec-val { color: white; font-weight: 500; }
.spec-val.accent { color: var(--leaf); }

.pv-visual {
  background: #0d0d0d;
  padding: 2rem;
  display: flex; flex-direction: column; gap: 1rem;
}
.pv-panel-row { display: flex; gap: 4px; }
.pv-panel {
  flex: 1; height: 40px;
  background: #1a2810;
  border: 1px solid #2a3a18;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s;
}
.pv-panel::after {
  content: '';
  position: absolute; inset: 2px;
  background: repeating-linear-gradient(90deg, transparent, transparent 30%, rgba(255,255,255,0.02) 30%, rgba(255,255,255,0.02) 31%),
              repeating-linear-gradient(rgba(255,255,255,0.02) 0, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 20%);
}
.pv-panel.active { background: #253d10; border-color: var(--leaf); }
.pv-panel-label { font-size: 10px; color: rgba(255,255,255,0.2); margin-top: 4px; text-align: right; letter-spacing: 0.08em; }

/* ─── FAQ ────────────────────────────────────────────────── */
.faq-list { margin-top: 3rem; border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.5rem 0; cursor: pointer;
  font-size: 15px; font-weight: 500;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--green); }
.faq-q-icon {
  width: 24px; height: 24px; border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s;
}
.faq-q-icon svg { width: 12px; height: 12px; transition: transform 0.3s; }
.faq-item.open .faq-q-icon { background: var(--green); border-color: var(--green); }
.faq-item.open .faq-q-icon svg { stroke: white; transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  font-size: 14px; color: var(--mid); line-height: 1.8;
}
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 1.5rem; }

/* ─── CONTACT ────────────────────────────────────────────── */
.contact-wrap {
  display: grid; grid-template-columns: 1fr 480px; gap: 4rem;
  align-items: start; margin-top: 3.5rem;
}
.contact-info-col .section-h2 { margin-bottom: 1rem; }
.contact-info-col p { font-size: 15px; color: var(--mid); line-height: 1.8; margin-bottom: 2.5rem; }
.contact-detail {
  display: flex; gap: 14px; align-items: flex-start;
  margin-bottom: 1.25rem; font-size: 14px;
}
.contact-icon {
  width: 40px; height: 40px; min-width: 40px;
  background: var(--off); border: 1px solid var(--border);
  border-radius: 4px; display: flex; align-items: center; justify-content: center;
}
.contact-icon svg { width: 16px; height: 16px; stroke: var(--green); fill: none; stroke-width: 1.8; stroke-linecap: round; }
.contact-label { font-size: 11px; color: var(--mid); letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 2px; }
.contact-val { font-size: 14px; font-weight: 500; }
.contact-hours { margin-top: 2.5rem; padding: 1.5rem; background: var(--off); border: 1px solid var(--border); border-radius: 4px; }
.contact-hours-title { font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1rem; }
.hours-row { display: flex; justify-content: space-between; font-size: 13px; padding: 6px 0; border-bottom: 1px solid var(--border); }
.hours-row:last-child { border-bottom: none; }
.hours-day { color: var(--mid); }

/* Form */
.form-card { background: var(--off); border: 1px solid var(--border); border-radius: 6px; padding: 2rem; }
.form-card h3 { font-family: var(--serif); font-size: 22px; margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
label { font-size: 11px; color: var(--mid); letter-spacing: 0.05em; text-transform: uppercase; }
input[type=text], input[type=email], input[type=tel], select, textarea {
  width: 100%;
  padding: 10px 14px;
  background: white; border: 1px solid var(--border); border-radius: var(--r);
  font-family: var(--sans); font-size: 14px; color: var(--text);
  outline: none; transition: border-color 0.2s;
}
input:focus, select:focus, textarea:focus { border-color: var(--green); }
textarea { min-height: 110px; resize: vertical; }
.form-submit {
  width: 100%; padding: 13px;
  background: var(--green); color: white;
  font-size: 14px; font-weight: 500;
  border-radius: var(--r);
  transition: background 0.2s, transform 0.15s;
  letter-spacing: 0.03em;
}
.form-submit:hover { background: var(--green2); transform: translateY(-1px); }
.form-note { font-size: 11px; color: var(--mid); margin-top: 0.75rem; text-align: center; }

/* ─── FOOTER ─────────────────────────────────────────────── */
footer {
  background: var(--text); color: rgba(255,255,255,0.5);
  padding: 4rem var(--gap) 2rem;
}
.footer-inner { max-width: var(--max); margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand p { font-size: 13px; line-height: 1.7; margin-top: 1rem; max-width: 240px; }
.footer-col h5 { color: white; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1.25rem; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a { font-size: 13px; transition: color 0.2s; }
.footer-col a:hover { color: white; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 2rem; font-size: 12px; flex-wrap: wrap; gap: 8px;
}
.footer-badges { display: flex; gap: 8px; }
.footer-badge {
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r); padding: 4px 10px;
  font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.footer-logo { color: white; font-family: var(--serif); font-size: 16px; display: flex; align-items: center; gap: 8px; margin-bottom: 0.5rem; }

/* ─── SOLAR CALC ─────────────────────────────────────────── */
.calc-section { background: var(--off); }
.calc-wrap {
  background: white; border: 1px solid var(--border); border-radius: 8px;
  padding: 2.5rem; margin-top: 3rem;
}
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.calc-label { font-size: 12px; color: var(--mid); margin-bottom: 6px; display: flex; justify-content: space-between; }
.calc-label span { font-weight: 500; color: var(--text); }
.calc-slider { width: 100%; margin-bottom: 1.5rem; -webkit-appearance: none; height: 2px; background: var(--border); border-radius: 2px; outline: none; }
.calc-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; background: var(--green); border-radius: 50%; cursor: pointer; }
.calc-result { background: var(--off); border: 1px solid var(--border); border-radius: 4px; padding: 1.5rem; }
.calc-res-item { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--border); }
.calc-res-item:last-child { border-bottom: none; }
.calc-res-key { font-size: 13px; color: var(--mid); }
.calc-res-val { font-family: var(--serif); font-size: 22px; color: var(--text); }
.calc-res-val.big { font-size: 32px; color: var(--green); }

/* ─── REFERENCES ─────────────────────────────────────────── */
.ref-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin-top: 3rem;
}
.ref-card {
  border: 1px solid var(--border); border-radius: 6px;
  overflow: hidden; transition: transform 0.2s, box-shadow 0.2s;
}
.ref-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.07); }
.ref-card-img {
  height: 180px;
  background: var(--stone);
  display: flex; align-items: center; justify-content: center;
  font-size: 48px;
  position: relative; overflow: hidden;
}
.ref-card-img::after {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, transparent, transparent 8px, rgba(0,0,0,0.015) 8px, rgba(0,0,0,0.015) 16px);
}
.ref-card-body { padding: 1.25rem; }
.ref-type { font-size: 10px; color: var(--green2); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.5rem; }
.ref-name { font-size: 15px; font-weight: 500; margin-bottom: 0.25rem; }
.ref-detail { font-size: 13px; color: var(--mid); }
.ref-kpi { display: flex; gap: 1rem; margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid var(--border); }
.ref-kpi-item { }
.ref-kpi-num { font-family: var(--serif); font-size: 18px; }
.ref-kpi-key { font-size: 10px; color: var(--mid); }

/* ─── ANIMATIONS ─────────────────────────────────────────── */
.fade-up {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ─── MOBILE ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-step { border-bottom: 1px solid var(--border); }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .specs-grid { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .ref-grid { grid-template-columns: 1fr 1fr; }
  .calc-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .ref-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
}

/* ─── MOBILE MENU ────────────────────────────────────────── */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: white;
  padding: 80px 2rem 2rem;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex; flex-direction: column; gap: 1.5rem;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a { font-size: 24px; font-family: var(--serif); color: var(--text); border-bottom: 1px solid var(--border); padding-bottom: 1rem; }

/* ─── EASTER EGG ─────────────────────────────────────────── */
.konami-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--text);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 1rem;
  opacity: 0; pointer-events: none;
  transition: opacity 0.5s;
}
.konami-overlay.show { opacity: 1; pointer-events: all; }
.konami-text { font-family: var(--serif); font-size: 42px; color: var(--leaf); text-align: center; }
.konami-sub { font-size: 14px; color: rgba(255,255,255,0.4); text-align: center; }
.konami-close { margin-top: 2rem; padding: 10px 24px; border: 1px solid rgba(255,255,255,0.2); color: white; font-size: 13px; cursor: pointer; border-radius: 2px; }

/* solar panel animation easter egg */
@keyframes solar-blink {
  0%,100% { background: #1a2810; }
  50% { background: #3a6020; border-color: var(--leaf); }
}
.pv-panel.blink { animation: solar-blink 0.3s ease; }

/* sun rays easter egg */
.sun-rays {
  position: fixed; inset: 0; z-index: 9990; pointer-events: none;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.5s;
}
.sun-rays.show { opacity: 1; }
.ray {
  position: absolute;
  width: 2px; height: 200px;
  background: linear-gradient(to bottom, var(--sun), transparent);
  transform-origin: bottom center;
  top: 50%; left: 50%;
}
</style>
