/* ===========================================
   ENFORMA – Shared Stylesheet v51
   Professional energy specialist website
   =========================================== */

/* ── 1. Reset & Custom Properties ────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Core palette */
  --graphite: #1C1C1E;
  --graphite-mid: #2C2C2E;
  --accent: #3DBE7A;
  --accent-dark: #2A6B5C;
  --accent-pale: #EAF8EF;
  --blue: #185FA5;
  --blue-dark: #0C447C;
  --blue-pale: #E6F1FB;

  /* Neutrals */
  --white: #fff;
  --off-white: #F8F8F6;
  --warm-grey: #F2F0ED;
  --border: rgba(0,0,0,0.08);
  --border-light: rgba(0,0,0,0.06);

  /* Text */
  --text: #1C1C1E;
  --text-muted: #6B6B6B;
  --text-faint: #9A9A9A;

  /* System */
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 4px;
  --radius-lg: 8px;
  --radius-xl: 16px;
  --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.04);
  --shadow-md: 0 2px 8px rgba(0,0,0,0.08), 0 8px 32px rgba(0,0,0,0.06);
  --shadow-lg: 0 4px 16px rgba(0,0,0,0.1), 0 16px 48px rgba(0,0,0,0.08);
}

/* Commercial theme – applied via body.theme-blue */
body.theme-blue {
  --accent: #185FA5;
  --accent-dark: #0C447C;
  --accent-pale: #E6F1FB;
}

/* ── 2. Base Typography ──────────────────── */
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.5px;
}
h1.sub { font-size: clamp(28px, 4vw, 46px); line-height: 1.15; }

h2 {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.3px;
}
h2.sm { font-size: clamp(22px, 3vw, 34px); }

h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.2px; }
h3.sm { font-size: 18px; font-weight: 600; }

p { font-size: 15px; line-height: 1.75; color: var(--text-muted); }

.label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
}

/* ── 3. Layout ───────────────────────────── */
.container { max-width: 1080px; margin: 0 auto; padding: 0 2rem; }
.container.narrow { max-width: 1000px; }
.container.tight { max-width: 960px; }
.section { padding: 5rem 0; }
hr { border: none; border-top: 0.5px solid var(--border); }

/* ── 4. Skip to Content (Accessibility) ─── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--accent);
  color: white;
  padding: 8px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  z-index: 200;
  transition: top 0.2s;
}
.skip-link:focus { top: 0.5rem; }

/* ── 5. Navigation ───────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 0.5px solid var(--border);
  transition: padding 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}
nav.scrolled {
  padding: 0.625rem 2rem;
  background: rgba(255,255,255,0.97);
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
}

.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo-name { font-size: 18px; font-weight: 700; color: var(--graphite); letter-spacing: -0.3px; }
.nav-logo-name span { color: #3DBE7A; }
.nav-logo-claim { font-size: 11px; color: var(--text-faint); margin-top: 1px; }

.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--text-muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--graphite); }

.back-link { font-size: 14px; color: var(--text-muted); transition: color 0.2s; }
.back-link:hover { color: var(--graphite); }

/* Hamburger menu button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 36px;
  height: 36px;
  position: relative;
  z-index: 110;
  padding: 0;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--graphite);
  margin: 0 auto;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.menu-toggle span:nth-child(1) { transform: translateY(-6px); }
.menu-toggle span:nth-child(3) { transform: translateY(6px); }

body.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(0) rotate(45deg);
}
body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-2px) rotate(-45deg);
}

/* Mobile overlay menu */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 105;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.nav-mobile a {
  font-size: 20px;
  font-weight: 600;
  color: var(--graphite);
  transition: color 0.2s;
}
.nav-mobile a:hover { color: var(--accent); }

body.menu-open .nav-mobile {
  display: flex;
  opacity: 1;
}
body.menu-open { overflow: hidden; }

/* ── 6. Buttons ──────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  font-family: var(--sans);
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.25s ease;
}
.btn:hover::after { background: rgba(255,255,255,0.08); }
.btn:active { transform: scale(0.98); }

.btn-accent { background: var(--accent); color: white; }
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(61,190,122,0.3); }
body.theme-blue .btn-accent:hover { box-shadow: 0 4px 16px rgba(24,95,165,0.3); }

.btn-green { background: #3DBE7A; color: white; }
.btn-green:hover { background: #2A6B5C; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(61,190,122,0.3); }

.btn-blue { background: #185FA5; color: white; }
.btn-blue:hover { background: #0C447C; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(24,95,165,0.3); }

.btn-ghost { background: transparent; color: var(--graphite); border: 1px solid var(--border); }
.btn-ghost:hover { background: var(--warm-grey); }

.btn-outline-white { background: transparent; color: white; border: 1px solid rgba(255,255,255,0.3); }
.btn-outline-white:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.5); }

.arrow { transition: transform 0.25s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* Hero CTA subtle pulse on load */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(61,190,122,0.4); }
  50% { box-shadow: 0 0 0 8px rgba(61,190,122,0); }
}
.btn-accent.pulse { animation: pulse-glow 2.5s ease-in-out 1.5s 2; }

/* ── 7. Hero Section ─────────────────────── */
.hero {
  min-height: 100vh;
  background: var(--graphite);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}
.hero.short { min-height: 55vh; }
.hero.shorter { min-height: 50vh; }

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(42,107,92,0.18) 0%, transparent 60%),
              radial-gradient(ellipse 40% 60% at 10% 80%, rgba(61,190,122,0.06) 0%, transparent 50%);
  animation: hero-bg-shift 12s ease-in-out infinite alternate;
}
body.theme-blue .hero-bg {
  background: radial-gradient(ellipse 70% 90% at 90% 50%, rgba(24,95,165,0.2) 0%, transparent 60%);
}

@keyframes hero-bg-shift {
  0% { opacity: 0.8; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.05); }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 4rem 2rem;
}
.hero-inner.narrow { max-width: 1000px; }
.hero-inner.tight { max-width: 960px; }

.hero h1 { color: white; max-width: 720px; margin-bottom: 1.25rem; }
.hero h1 em { font-style: normal; color: var(--accent); }
body.theme-blue .hero h1 em { color: #5BA4E0; }

.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.6);
  max-width: 520px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
  font-weight: 300;
}
.hero-sub.wide { max-width: 540px; }

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 4rem; }
.hero-cta.no-mb { margin-bottom: 0; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.06);
  border: 0.5px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.5rem;
}
.hero-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* Hero stagger load animation */
.hero-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  animation: stagger-in 0.6s ease forwards;
}
.hero-stagger > *:nth-child(1) { animation-delay: 0.1s; }
.hero-stagger > *:nth-child(2) { animation-delay: 0.25s; }
.hero-stagger > *:nth-child(3) { animation-delay: 0.4s; }
.hero-stagger > *:nth-child(4) { animation-delay: 0.55s; }
.hero-stagger > *:nth-child(5) { animation-delay: 0.7s; }
.hero-stagger > *:nth-child(6) { animation-delay: 0.85s; }
.hero-stagger > *:nth-child(7) { animation-delay: 1.0s; }

@keyframes stagger-in {
  to { opacity: 1; transform: translateY(0); }
}

/* Hero proof items */
.hero-proof { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.proof-item { border-left: 2px solid var(--accent); padding-left: 1rem; }
.proof-num { font-size: 22px; font-weight: 700; color: white; letter-spacing: -0.3px; }
.proof-label { font-size: 11px; color: rgba(255,255,255,0.4); letter-spacing: 0.5px; margin-top: 2px; }

/* ── 8. Proof Bar & Tags ─────────────────── */
.proof-bar {
  background: var(--off-white);
  border-bottom: 0.5px solid var(--border);
  padding: 1.25rem 2rem;
}
.proof-bar-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.proof-bar-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-faint);
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}
.proof-tags { display: flex; gap: 10px; flex-wrap: wrap; }
.proof-tag {
  font-size: 12px;
  padding: 4px 12px;
  border: 0.5px solid var(--border);
  border-radius: 20px;
  color: var(--text-muted);
  font-weight: 500;
  background: white;
}
.proof-tag-dark {
  font-size: 12px;
  padding: 4px 12px;
  border: 0.5px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
  background: rgba(255,255,255,0.08);
  transition: background 0.2s, border-color 0.2s;
}
.proof-tag-dark:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
}

/* ── 9. Split Cards (Rozcestník) ─────────── */
.split-cards { display: grid; grid-template-columns: 1fr 1fr; }

.split-card {
  padding: 3.5rem;
  display: block;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}
.split-card-rd {
  composes: split-card;
  background: var(--accent-pale);
  border-right: 0.5px solid rgba(61,190,122,0.2);
}
.split-card-rd { background: #EAF8EF; padding: 3.5rem; display: block; transition: all 0.3s ease; cursor: pointer; position: relative; border-right: 0.5px solid rgba(61,190,122,0.2); }
.split-card-rd:hover { background: #d0f5e4; transform: translateY(-2px); box-shadow: 0 8px 32px rgba(61,190,122,0.15); }

.split-card-com { background: #E6F1FB; padding: 3.5rem; display: block; transition: all 0.3s ease; cursor: pointer; position: relative; }
.split-card-com:hover { background: #c8dff5; transform: translateY(-2px); box-shadow: 0 8px 32px rgba(24,95,165,0.15); }

.split-icon {
  width: 48px; height: 48px;
  background: white;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}
.split-card-rd:hover .split-icon,
.split-card-com:hover .split-icon { transform: scale(1.05); }

.split-card-rd h3, .split-card-com h3 {
  font-size: 22px; font-weight: 700; margin-bottom: 0.75rem; color: var(--graphite); letter-spacing: -0.2px;
}
.split-card-rd p, .split-card-com p { font-size: 14px; margin-bottom: 1.5rem; line-height: 1.6; }

.link-green { color: #2A6B5C; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.link-blue { color: #185FA5; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }

.split-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 0.5rem;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  transition: gap 0.25s ease;
}
.split-cta.green { background: rgba(42,107,92,0.1); color: #2A6B5C; }
.split-cta.blue { background: rgba(24,95,165,0.1); color: #185FA5; }
.split-card-rd:hover .split-cta,
.split-card-com:hover .split-cta { gap: 10px; }

/* ── 10. Process Steps ───────────────────── */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 3rem; }
.process-step { padding: 2rem 1.5rem 1rem 0; position: relative; }
.process-step::before {
  content: '';
  position: absolute;
  top: 28px; left: 0; right: 0;
  height: 1px;
  background: var(--border);
}
.step-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--graphite);
  color: white;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  margin-bottom: 1.25rem;
  transition: background 0.3s ease, transform 0.3s ease;
}
.process-step:hover .step-num { background: var(--accent); transform: scale(1.1); }
.process-step h4 { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.process-step p { font-size: 13px; line-height: 1.65; }

/* ── 11. FAQ Accordion (Smooth) ──────────── */
.faq { display: flex; flex-direction: column; margin-top: 2rem; }

.faq-item {
  border-top: 0.5px solid var(--border);
  padding: 1.25rem 0;
  cursor: pointer;
}
.faq-item:last-child { border-bottom: 0.5px solid var(--border); }

.faq-q {
  font-size: 15px;
  font-weight: 600;
  color: var(--graphite);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  user-select: none;
}
.faq-toggle {
  font-size: 20px;
  color: var(--accent);
  font-weight: 300;
  transition: transform 0.35s ease;
  flex-shrink: 0;
  line-height: 1;
}

.faq-a {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.3s ease;
  margin-top: 0;
}

.faq-item.open .faq-a {
  max-height: 300px;
  opacity: 1;
  margin-top: 10px;
}
.faq-item.open .faq-toggle { transform: rotate(45deg); }

/* ── 12. Service Cards ───────────────────── */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; align-items: start; }

.svc-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 0.5px solid var(--border);
  cursor: pointer;
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.svc-card:hover { box-shadow: var(--shadow-md); }
.svc-card.open { border-color: var(--accent); }

.svc-header { display: flex; align-items: center; gap: 1rem; padding: 1.25rem 1.5rem; }

.svc-icon {
  width: 36px; height: 36px;
  background: var(--warm-grey);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.25s ease;
}
.svc-card.open .svc-icon { background: var(--accent-pale); }

.svc-card h4 { font-size: 14px; font-weight: 600; color: var(--graphite); flex: 1; margin: 0; line-height: 1.3; }

.svc-chevron {
  font-size: 18px;
  color: var(--text-faint);
  transition: transform 0.3s ease, color 0.3s ease;
  font-weight: 300;
  flex-shrink: 0;
}
.svc-card.open .svc-chevron { transform: rotate(45deg); color: var(--accent); }

.svc-body {
  border-top: 0.5px solid var(--border);
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
}
.svc-card.open .svc-body {
  max-height: 250px;
  opacity: 1;
  padding: 1.25rem 1.5rem;
}

.svc-body p { font-size: 13px; line-height: 1.65; margin-bottom: 0.75rem; }
.svc-outcome { font-size: 12px; font-weight: 600; color: var(--accent-dark); }
body.theme-blue .svc-outcome { color: var(--accent); }

.svc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-dark);
  transition: gap 0.2s;
}
.svc-link:hover { gap: 10px; }

/* ── 13. Contact Section ─────────────────── */
.contact-bg { background: var(--graphite); }
.contact-bg h2 { color: white; margin-bottom: 0.75rem; }
.contact-sub { color: rgba(255,255,255,0.5); margin-bottom: 3rem; font-size: 16px; }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 12px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.form-lbl {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}
.form-input {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 0.5px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 11px 14px;
  font-size: 14px;
  color: white;
  font-family: var(--sans);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(61,190,122,0.15);
  background: rgba(255,255,255,0.08);
}
body.theme-blue .form-input:focus {
  border-color: #5BA4E0;
  box-shadow: 0 0 0 3px rgba(91,164,224,0.15);
}
.form-input::placeholder { color: rgba(255,255,255,0.25); }
.form-textarea { resize: vertical; min-height: 110px; }

.contact-info { display: flex; flex-direction: column; gap: 1.75rem; }
.ci-label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}
.ci-value { font-size: 16px; color: white; }
.ci-value a { color: var(--accent); transition: opacity 0.2s; }
.ci-value a:hover { opacity: 0.8; }
body.theme-blue .ci-value a { color: #5BA4E0; }

/* ── 14. Footer ──────────────────────────── */
footer {
  background: #111;
  padding: 1.75rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-name { font-size: 15px; font-weight: 700; color: white; }
.footer-name span { color: #3DBE7A; }
.footer-claim { font-size: 11px; color: rgba(255,255,255,0.3); margin-top: 2px; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.3); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
}
.footer-links a:hover { color: rgba(255,255,255,0.7); }

/* ── 15. Pricing ─────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

.price-card {
  background: white;
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}
.price-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transition: height 0.3s ease;
}
.price-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.price-card:hover::before { height: 4px; }

.price-card h4 { font-size: 15px; font-weight: 600; margin-bottom: 0.5rem; }
.price-num { font-size: 30px; font-weight: 700; color: var(--accent-dark); margin-bottom: 4px; letter-spacing: -0.5px; }
.price-note { font-size: 12px; color: var(--text-faint); margin-bottom: 1rem; }
.price-card p { font-size: 13px; line-height: 1.65; }

.price-highlight {
  background: var(--accent-pale);
  border: 1px solid rgba(61,190,122,0.3);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.price-big { font-size: 48px; font-weight: 700; color: var(--accent-dark); letter-spacing: -1px; line-height: 1; }
.price-includes { display: flex; flex-direction: column; gap: 8px; }
.price-includes-item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--graphite); }
.price-check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.price-free-note {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1rem 1.5rem;
  margin-top: 1.5rem;
  font-size: 14px;
  color: var(--text-muted);
  border: 0.5px solid rgba(61,190,122,0.3);
}
.price-free-note strong { color: var(--accent-dark); }

/* ── 16. Info Grid & Cards ───────────────── */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.info-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 0.5px solid var(--border);
}
.info-card h3 { margin-bottom: 1rem; }

.info-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.info-list li {
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.6;
}
.info-list li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 7px;
  flex-shrink: 0;
}
.info-list li .li-inner { display: flex; flex-direction: column; gap: 2px; }
.info-list li strong { color: var(--text); display: block; }

/* What cards (NZU) */
.what-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.what-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 0.5px solid var(--border);
}
.what-card h3 { margin-bottom: 1rem; }

/* ── 17. Timeline ────────────────────────── */
.timeline { position: relative; margin-top: 3rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: 20px; top: 0; bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline-item { display: flex; gap: 2rem; padding-bottom: 2.5rem; position: relative; }
.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--graphite);
  color: white;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}
.timeline-dot.active { background: var(--accent); }
.timeline-item:hover .timeline-dot { transform: scale(1.1); }

.timeline-content { padding-top: 8px; }
.timeline-content h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.timeline-content p { font-size: 13px; line-height: 1.65; }
.timeline-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-dark);
  background: var(--accent-pale);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 6px;
}

/* ── 18. Program Cards (NZÚ) ─────────────── */
.program-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
.program-card {
  background: white;
  border: 0.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.program-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.program-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; }
.program-card.green::before { background: #3DBE7A; }
.program-card.dark::before { background: var(--graphite); }
.program-label { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 0.75rem; }
.program-card.green .program-label { color: #2A6B5C; }
.program-card.dark .program-label { color: var(--graphite); }
.program-card h3 { font-size: 20px; margin-bottom: 0.75rem; }
.program-card p { font-size: 14px; line-height: 1.7; margin-bottom: 1rem; }
.program-tag { display: inline-block; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 20px; }
.program-card.green .program-tag { background: #EAF8EF; color: #2A6B5C; }
.program-card.dark .program-tag { background: var(--warm-grey); color: var(--graphite); }

/* ── 19. Energy Class Bars (PENB) ────────── */
.classes-list { display: flex; flex-direction: column; gap: 6px; margin-top: 1.5rem; max-width: 480px; }
.class-row { display: flex; align-items: center; gap: 12px; }
.class-bar {
  display: flex;
  align-items: center;
  height: 32px;
  border-radius: 3px;
  padding: 0 12px;
  position: relative;
  transition: transform 0.3s ease;
}
.class-row:hover .class-bar { transform: scaleX(1.03); transform-origin: left; }
.class-bar::after {
  content: '';
  position: absolute;
  right: -10px; top: 0; bottom: 0;
  width: 0; height: 0;
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  border-left: 10px solid var(--bar-color);
}
.class-letter { font-size: 14px; font-weight: 700; color: white; }
.class-label { font-size: 12px; color: var(--text-muted); }
.class-a { --bar-color:#2E7D32; background:#2E7D32; width: 120px; }
.class-b { --bar-color:#558B2F; background:#558B2F; width: 150px; }
.class-c { --bar-color:#9E9D24; background:#9E9D24; width: 185px; }
.class-d { --bar-color:#F9A825; background:#F9A825; width: 220px; }
.class-e { --bar-color:#EF6C00; background:#EF6C00; width: 255px; }
.class-f { --bar-color:#D84315; background:#D84315; width: 285px; }
.class-g { --bar-color:#B71C1C; background:#B71C1C; width: 310px; }

/* ── 20. Why Section ─────────────────────── */
.why-bg { background: var(--graphite); }
.why-bg h2 { color: white; margin-bottom: 0.75rem; }
.why-intro { color: rgba(255,255,255,0.5); margin-bottom: 3rem; font-size: 15px; max-width: 520px; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5px; background: rgba(255,255,255,0.06); }
.why-item {
  background: var(--graphite);
  padding: 1.75rem;
  transition: background 0.3s ease;
}
.why-item:hover { background: var(--graphite-mid); }
.why-num { font-size: 11px; font-weight: 700; color: var(--accent); letter-spacing: 1px; margin-bottom: 0.75rem; }
body.theme-blue .why-num { color: #5BA4E0; }
.why-item h4 { font-size: 14px; font-weight: 600; color: white; margin-bottom: 6px; }
.why-item p { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.65; }

/* ── 21. Trust & Credentials ─────────────── */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: 2rem; }
.trust-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 0.5px solid var(--border);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.trust-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.trust-num { font-size: 30px; font-weight: 700; color: var(--graphite); letter-spacing: -0.5px; }
.trust-lbl { font-size: 12px; color: var(--text-faint); margin-top: 4px; }
.trust-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2rem; }
.trust-tag {
  font-size: 12px;
  padding: 5px 12px;
  border: 0.5px solid var(--border);
  border-radius: 20px;
  color: var(--text-muted);
  background: white;
  font-weight: 500;
  transition: background 0.2s;
}
.trust-tag:hover { background: var(--off-white); }

.creds { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2rem; }
.cred {
  font-size: 12px;
  padding: 5px 12px;
  border: 0.5px solid var(--border);
  border-radius: 20px;
  color: var(--text-muted);
  background: var(--off-white);
  font-weight: 500;
}

/* ── 22. Bio Section ─────────────────────── */
.bio-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 5rem; align-items: start; padding-top: 80px; }
.bio-portrait {
  background: #0a0a0a;
  border-radius: var(--radius-xl);
  aspect-ratio: 3/4;
  position: relative;
  overflow: hidden;
}
.bio-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.bio-badge { position: absolute; top: 1.25rem; left: 1.25rem; display: flex; align-items: center; gap: 8px; }
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: #3DBE7A; flex-shrink: 0; animation: badge-pulse 2s ease-in-out infinite; }
@keyframes badge-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.badge-name { font-size: 12px; font-weight: 600; color: white; text-shadow: 0 1px 8px rgba(0,0,0,0.9); }
.badge-sub { font-size: 10px; color: rgba(255,255,255,0.75); text-shadow: 0 1px 8px rgba(0,0,0,0.9); }
.bio-content { padding-top: 1rem; }
.bio-content h2 { margin-bottom: 1.5rem; }
.bio-content p { margin-bottom: 1.25rem; }

/* ── 23. Project Types Grid ──────────────── */
.proj-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; margin-top: 2rem; }
.proj-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.25rem 0.75rem;
  text-align: center;
  border: 0.5px solid var(--border);
  transition: all 0.25s ease;
}
.proj-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.proj-icon { width: 40px; height: 40px; margin: 0 auto 0.75rem; display: flex; align-items: center; justify-content: center; }
.proj-card h5 { font-size: 11px; font-weight: 600; color: var(--graphite); line-height: 1.3; }

/* Types grid (commercial) */
.types-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2rem; }
.type-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.25rem 1rem;
  text-align: center;
  border: 0.5px solid var(--border);
  transition: all 0.25s ease;
}
.type-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.type-icon { width: 40px; height: 40px; margin: 0 auto 0.75rem; display: flex; align-items: center; justify-content: center; }
.type-card h5 { font-size: 12px; font-weight: 600; line-height: 1.3; }

/* ── 24. Tool Chips ──────────────────────── */
.tools-wrap { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.5rem; }
.tool-chip {
  font-size: 13px;
  padding: 6px 14px;
  border: 0.5px solid var(--border);
  border-radius: 20px;
  color: var(--text-muted);
  font-weight: 500;
  transition: all 0.2s;
}
.tool-chip:hover { background: var(--off-white); }
.tool-chip.hl {
  background: var(--accent-pale);
  border-color: rgba(24,95,165,0.2);
  color: var(--accent);
  font-weight: 600;
}

/* ── 25. CTA Section ─────────────────────── */
.cta-bg { background: var(--graphite); text-align: center; }
.cta-bg h2 { color: white; margin-bottom: 0.75rem; }
.cta-bg p { color: rgba(255,255,255,0.5); margin-bottom: 2rem; }

/* ── 26. ENEX Note ───────────────────────── */
.enex-note {
  background: #EAF8EF;
  border: 1px solid rgba(61,190,122,0.3);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-top: 2rem;
}
.enex-icon {
  width: 36px; height: 36px;
  border-radius: var(--radius);
  background: #3DBE7A;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.enex-note h5 { font-size: 14px; font-weight: 600; color: #2A6B5C; margin-bottom: 4px; }
.enex-note p { font-size: 13px; line-height: 1.6; }

/* ── 27. Thank You Page ──────────────────── */
.ty-body {
  background: var(--graphite);
  color: white;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.ty-card {
  background: var(--graphite-mid);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  max-width: 480px;
  width: 100%;
  text-align: center;
  border: 0.5px solid rgba(255,255,255,0.08);
  animation: ty-slide-up 0.6s ease forwards;
}
@keyframes ty-slide-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.ty-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}
.ty-icon.green { background: #E1F5EE; }
.ty-icon.blue { background: #E6F1FB; }
.ty-footer { margin-top: 2rem; font-size: 12px; color: rgba(255,255,255,0.25); }

/* ── 28. Scroll Reveal Animations ────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0);
}

/* Staggered children */
.stagger > * { transition-delay: calc(var(--i, 0) * 0.1s); }

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-stagger > * {
    opacity: 1;
    transform: none;
    animation: none;
  }
  .hero-bg { animation: none; }
  .badge-dot { animation: none; }
  .btn-accent.pulse { animation: none; }
}

/* ── 29. Focus Visible (Accessibility) ──── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.btn:focus-visible { outline-offset: 3px; }

/* ── 30. Responsive ──────────────────────── */
@media (max-width: 768px) {
  /* Nav */
  nav { padding: 0.875rem 1.25rem; }
  .nav-links { display: none; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 0; }
  .back-link { display: none; }

  /* Layout */
  .section { padding: 3.5rem 0; }
  .container, .container.narrow, .container.tight { padding: 0 1.25rem; }
  .hero-inner, .hero-inner.narrow, .hero-inner.tight { padding: 3rem 1.25rem; }

  /* Grids */
  .split-cards { grid-template-columns: 1fr; }
  .split-card-rd, .split-card-com { padding: 2.5rem 1.5rem; }
  .split-card-rd { border-right: none; border-bottom: 0.5px solid rgba(61,190,122,0.2); }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .what-grid { grid-template-columns: 1fr; }
  .price-highlight { grid-template-columns: 1fr; }
  .program-grid { grid-template-columns: 1fr; }
  .types-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; background: none; gap: 1px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .proj-grid { grid-template-columns: repeat(3, 1fr); }

  /* Bio */
  .bio-grid { grid-template-columns: 1fr; gap: 2.5rem; padding-top: 80px; }
  .bio-portrait { aspect-ratio: 4/3; }

  /* Classes */
  .classes-list { max-width: 100%; }

  /* Proof tags horizontal scroll on mobile */
  .hero-proof { gap: 1.5rem; }
}

@media (max-width: 480px) {
  .process-steps { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .types-grid { grid-template-columns: 1fr; }
  .proj-grid { grid-template-columns: 1fr 1fr; }
}
