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

:root {
  --energreen: #A4D233;
  --enerblue: #01426A;
  --enerblue-dark: #013558;
  --pollen: #FFB81C;
  --solar-blue: #00AFD7;
  --neutral-60: #666666;
  --neutral-40: #A7A9AC;
  --neutral-15: #D9D9D9;
  --neutral-5: #F1F1F2;
}

body {
  font-family: 'Mulish', sans-serif;
  background: #f4f5f4;
  color: #1a1a1a;
  min-height: 100vh;
}

/* ── PAGE LAYOUT ── */
.page-wrap {
  max-width: 480px;
  margin: 0 auto;
  padding: 3rem 1rem;
}

/* ── CALCULATOR ── */
.calc-col {}

.calculator-shell {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 32px rgba(1,66,106,0.10);
}

.calc-header {
  background: var(--enerblue);
  padding: 1.5rem 1.75rem;
}

.calc-header-eyebrow {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--energreen);
  font-weight: 700;
  margin-bottom: 6px;
}

.calc-header h1 {
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  line-height: 1.25;
}

.calc-header p {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  margin-top: 5px;
}

.calc-body {
  padding: 1.5rem 1.75rem;
}

/* ── PROGRESS ── */
.progress {
  display: flex;
  gap: 5px;
  margin-bottom: 1.25rem;
}

.progress-dot {
  height: 3px;
  flex: 1;
  border-radius: 2px;
  background: var(--neutral-15);
  transition: background 0.3s;
}

.progress-dot.done { background: var(--energreen); }
.progress-dot.active { background: var(--enerblue); }

/* ── STEPS ── */
.step { display: none; }
.step.active { display: block; }

.step-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--neutral-40);
  font-weight: 700;
  margin-bottom: 1rem;
}

/* ── FORM FIELDS ── */
.field { margin-bottom: 1rem; }

.field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #444;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.field input, .field select {
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid var(--neutral-15);
  border-radius: 7px;
  font-size: 14px;
  font-family: 'Mulish', sans-serif;
  color: #1a1a1a;
  background: #fff;
  transition: border-color 0.2s;
}

.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--enerblue);
  box-shadow: 0 0 0 3px rgba(1,66,106,0.08);
}

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }

/* ── BUILDING CARDS ── */
.building-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.building-card {
  border: 1.5px solid var(--neutral-15);
  border-radius: 8px;
  padding: 0.75rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  text-align: left;
  background: #fff;
}

.building-card:hover { border-color: var(--enerblue); background: var(--neutral-5); }
.building-card.selected { border-color: var(--enerblue); border-width: 2px; background: #EEF5FA; }

.building-name { font-size: 13px; font-weight: 700; color: #1a1a1a; }
.building-desc { font-size: 11px; color: var(--neutral-60); margin-top: 2px; }

/* ── BUTTONS ── */
.btn-primary {
  width: 100%;
  padding: 11px;
  background: var(--enerblue);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Mulish', sans-serif;
  cursor: pointer;
  margin-top: 0.25rem;
  transition: background 0.2s;
  letter-spacing: 0.02em;
}

.btn-primary:hover { background: var(--enerblue-dark); }

.btn-secondary {
  width: 100%;
  padding: 10px;
  background: transparent;
  color: var(--neutral-60);
  border: 1.5px solid var(--neutral-15);
  border-radius: 8px;
  font-size: 13px;
  font-family: 'Mulish', sans-serif;
  cursor: pointer;
  margin-top: 0.5rem;
}

.btn-secondary:hover { background: var(--neutral-5); }

/* ── RESULTS ── */
.results-card {
  background: var(--enerblue);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
}

.results-eyebrow {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 4px;
  font-weight: 700;
}

.results-big { font-size: 36px; font-weight: 900; color: var(--energreen); line-height: 1; }
.results-sub { font-size: 12px; color: rgba(255,255,255,0.55); margin-top: 6px; }

.metrics-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.5rem; margin-bottom: 1rem; }

.metric { background: var(--neutral-5); border-radius: 7px; padding: 0.75rem; }
.metric-label { font-size: 11px; color: var(--neutral-60); margin-bottom: 3px; font-weight: 600; }
.metric-value { font-size: 16px; font-weight: 900; color: var(--enerblue); }

.disclaimer {
  font-size: 11px;
  color: var(--neutral-60);
  line-height: 1.6;
  padding: 0.75rem;
  border-left: 3px solid var(--energreen);
  background: var(--neutral-5);
  border-radius: 0 6px 6px 0;
  margin-bottom: 1rem;
}

/* ── CONTACT CARD ── */
.contact-card-inner {
  border: 1.5px solid var(--neutral-15);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
}

.contact-card-inner .step-label { margin-bottom: 0.75rem; }

/* ── ERROR ── */
.error {
  font-size: 11px;
  color: #c0392b;
  margin-top: 5px;
  display: none;
}

/* ── SUCCESS ── */
.success-icon {
  width: 48px;
  height: 48px;
  background: var(--energreen);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.success-icon svg { width: 22px; height: 22px; }

.tagline-footer {
  text-align: center;
  font-size: 11px;
  color: var(--neutral-40);
  margin-top: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.tagline-footer span { color: var(--energreen); }

/* ── FOOTER ── */
.page-footer {
  text-align: center;
  padding: 2rem;
  font-size: 12px;
  color: var(--neutral-40);
}

/* ── RESPONSIVE ── */
@media (max-width: 480px) {
  .page-wrap { padding: 1.5rem 0.75rem; }
}
