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

/* === DESIGN TOKENS === */
:root {
  --heading-color: #1a2332;
  --body-color: #4a5568;
  --body-light: #718096;
  --border: #e2e8f0;
  --bg: #f7f8fb;
  --bg-warm: #fafbfd;
  --white: #ffffff;
  --teal: #3d9b8f;
  --teal-light: #e6f5f3;
  --teal-dark: #2d7a70;
  --teal-glow: rgba(61, 155, 143, 0.12);
  --primary: #ea4037;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --shadow-sm: 0 1px 3px rgba(26,35,50,0.06), 0 1px 2px rgba(26,35,50,0.04);
  --shadow-md: 0 4px 16px rgba(26,35,50,0.08), 0 2px 4px rgba(26,35,50,0.04);
  --shadow-lg: 0 12px 40px rgba(26,35,50,0.1), 0 4px 12px rgba(26,35,50,0.05);
  --shadow-teal: 0 4px 20px rgba(61, 155, 143, 0.25);
  --radius: 10px;
  --radius-lg: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--body-color);
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--heading-color);
  font-weight: 600;
  line-height: 1.25;
}

a { color: var(--teal-dark); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--teal); }

/* === ENTRANCE ANIMATIONS === */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes slideRight {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* === NAV === */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 48px;
  height: 64px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(255,255,255,0.92);
}
.nav-logo {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--heading-color);
  text-decoration: none;
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-logo-icon { flex-shrink: 0; }
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
}
.nav-links a {
  color: var(--body-light);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal);
  border-radius: 1px;
  transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-links a:hover { color: var(--heading-color); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active {
  color: var(--heading-color);
  font-weight: 600;
}
.nav-links a.active::after { width: 100%; }
.lang-switch {
  font-size: 13px;
  color: var(--body-light);
  border-left: 1px solid var(--border);
  padding-left: 24px;
  margin-left: 8px;
}
.lang-switch strong { color: var(--heading-color); font-weight: 600; }

/* === FOOTER === */
footer {
  background: var(--heading-color);
  color: rgba(255,255,255,0.55);
  padding: 0;
  font-size: 13px;
  line-height: 1.7;
  display: block;
}
footer strong { color: #fff; font-weight: 600; }
.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 44px 48px 28px;
  gap: 40px;
}
.footer-brand {
  flex: 1;
}
.footer-logo {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}
.footer-info { flex: 1; }
.footer-links { text-align: right; flex-shrink: 0; }
.footer-links a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 48px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}
.footer-arvio-logo {
  height: 18px;
  width: auto;
  opacity: 0.35;
  filter: brightness(0) invert(1);
  transition: opacity 0.3s;
}
.footer-arvio-logo:hover { opacity: 0.7; }

/* === PAGE HEADER === */
.page-header {
  text-align: center;
  padding: 56px 48px 12px;
  animation: fadeUp 0.6s ease-out both;
}
.page-header h1 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.5px;
}
.page-header p {
  margin-top: 10px;
  font-size: 16px;
  color: var(--body-light);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* === PANELS === */
.panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s, transform 0.3s;
}
.panel:hover {
  box-shadow: var(--shadow-md);
}
.panel-header {
  padding: 18px 22px 0;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--body-light);
}
.panel-body { padding: 14px 22px 22px; }

/* === HOMEPAGE HERO === */
.hero {
  background: #fff;
  padding: 0;
  position: relative;
  overflow: hidden;
  min-height: 480px;
}
.hero-network {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.7;
}
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 48px 64px;
  position: relative;
  align-items: center;
}
.hero-text {
  animation: slideRight 0.7s ease-out both;
}
.hero-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--teal-dark);
  background: var(--teal-light);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: 52px;
  font-weight: 800;
  color: var(--heading-color);
  letter-spacing: -1.5px;
  margin-bottom: 16px;
  line-height: 1.1;
}
.hero p {
  font-size: 17px;
  color: var(--body-color);
  max-width: 440px;
  margin: 0 0 32px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.hero .cta-btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 14px 32px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(234, 64, 55, 0.25);
}
.hero .cta-btn:hover {
  background: #d63830;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(234, 64, 55, 0.35);
}
.cta-btn-outline {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--heading-color);
  border: 2px solid var(--border);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.cta-btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
  background: var(--teal-light);
}
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeUp 0.8s ease-out both;
  animation-delay: 0.2s;
}
.hero-illustration {
  width: 100%;
  max-width: 400px;
  height: auto;
  filter: drop-shadow(0 8px 32px rgba(26, 35, 50, 0.08));
}

/* === FEATURES === */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 56px 48px;
  max-width: 1060px;
  margin: 0 auto;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  animation: fadeUp 0.6s ease-out both;
}
.feature-card:nth-child(1) { animation-delay: 0.15s; }
.feature-card:nth-child(2) { animation-delay: 0.25s; }
.feature-card:nth-child(3) { animation-delay: 0.35s; }
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--teal), var(--teal-dark));
  border-radius: 0 2px 2px 0;
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--teal-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: background 0.3s;
}
.feature-card:hover .feature-icon { background: var(--teal); }
.feature-card:hover .feature-icon svg { stroke: #fff; }
.feature-card:hover .feature-icon svg path,
.feature-card:hover .feature-icon svg rect,
.feature-card:hover .feature-icon svg line { stroke: #fff; }
.feature-card:hover .feature-icon svg rect[fill] { fill: rgba(255,255,255,0.3); }
.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}
.feature-card p { font-size: 14px; color: var(--body-color); line-height: 1.7; margin-bottom: 16px; }
.feature-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--teal-dark);
  transition: color 0.2s;
}
.feature-link:hover { color: var(--primary); }

/* === STATS STRIP === */
.stats-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  padding: 40px 48px;
  background: var(--heading-color);
  animation: fadeIn 0.6s ease-out both;
}
.stat { text-align: center; }
.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.5px;
  line-height: 1.2;
}
.stat-label {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
  font-weight: 500;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.12);
}

/* === MISSION === */
.mission {
  text-align: center;
  padding: 56px 48px;
  max-width: 680px;
  margin: 0 auto;
  animation: fadeUp 0.6s ease-out both;
  animation-delay: 0.3s;
}
.mission h2 {
  font-size: 24px;
  margin-bottom: 14px;
  color: var(--teal-dark);
  letter-spacing: -0.3px;
}
.mission p { font-size: 16px; line-height: 1.75; }
.powered-by {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
  font-size: 13px;
  color: var(--body-light);
}
.arvio-logo {
  height: 22px;
  width: auto;
  opacity: 0.6;
  transition: opacity 0.3s;
}
.arvio-logo:hover { opacity: 1; }

/* === CONTENT PAGES === */
.content-page {
  max-width: 740px;
  margin: 0 auto;
  padding: 32px 48px 56px;
  animation: fadeUp 0.5s ease-out both;
  animation-delay: 0.15s;
}
.content-page h2 {
  font-size: 24px;
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}
.content-page p {
  margin-bottom: 16px;
  font-size: 15px;
  line-height: 1.75;
}
.content-page .org-details {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-top: 28px;
  box-shadow: var(--shadow-sm);
}
.content-page .org-details dt {
  font-weight: 600;
  color: var(--heading-color);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 16px;
}
.content-page .org-details dt:first-child { margin-top: 0; }
.content-page .org-details dd {
  font-size: 15px;
  margin-left: 0;
  margin-top: 2px;
}

/* === CONTACT FORM === */
.contact-form {
  max-width: 480px;
}
.contact-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 6px;
  margin-top: 20px;
}
.contact-form label:first-child { margin-top: 0; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--heading-color);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-sm);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-glow);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--body-light);
}
.contact-form textarea { height: 140px; resize: vertical; }
.contact-form button {
  margin-top: 24px;
  background: var(--teal);
  color: #fff;
  border: none;
  padding: 13px 32px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-teal);
}
.contact-form button:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(61, 155, 143, 0.3);
}

/* === ACCORDION === */
.accordion-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s, border-color 0.3s;
  animation: fadeUp 0.5s ease-out both;
}
.accordion-item:nth-child(1) { animation-delay: 0.1s; }
.accordion-item:nth-child(2) { animation-delay: 0.17s; }
.accordion-item:nth-child(3) { animation-delay: 0.24s; }
.accordion-item:nth-child(4) { animation-delay: 0.31s; }
.accordion-item:nth-child(5) { animation-delay: 0.38s; }
.accordion-item.open {
  box-shadow: var(--shadow-md);
  border-color: var(--teal);
}
.accordion-header {
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}
.accordion-header:hover { background: var(--bg-warm); }
.accordion-header h3 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.2px;
}
.accordion-header .category {
  font-size: 11px;
  color: var(--teal-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.accordion-header .arrow {
  font-size: 20px;
  color: var(--body-light);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s;
  flex-shrink: 0;
  margin-left: 16px;
}
.accordion-item.open .accordion-header .arrow {
  transform: rotate(180deg);
  color: var(--teal);
}
.accordion-body {
  display: none;
  padding: 0 24px 24px;
  font-size: 14px;
  line-height: 1.8;
  border-top: 1px solid var(--border);
}
.accordion-item.open .accordion-body { display: block; }
.accordion-body p { margin-bottom: 12px; }
.accordion-body p:last-child { margin-bottom: 0; }

/* === CALCULATOR === */
.calc-grid {
  display: grid;
  grid-template-columns: 260px 1fr 280px;
  gap: 20px;
  padding: 28px 48px 56px;
  max-width: 1200px;
  margin: 0 auto;
}
.calc-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Investment items */
.investment-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: opacity 0.15s;
}
.investment-item:last-child { border-bottom: none; }
.investment-item:hover { opacity: 0.75; }

.checkbox {
  width: 18px;
  height: 18px;
  border: 2px solid #c4c9cf;
  border-radius: 4px;
  flex-shrink: 0;
  position: relative;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.checkbox.checked {
  background: var(--teal);
  border-color: var(--teal);
  box-shadow: 0 2px 8px rgba(61, 155, 143, 0.3);
}
.checkbox.checked::after {
  content: '';
  position: absolute;
  left: 5px; top: 2px;
  width: 5px; height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.investment-label {
  font-size: 14px;
  color: var(--heading-color);
  font-weight: 500;
}

/* Dropdown for heat pump size */
.investment-dropdown {
  display: none;
  margin: 0 0 4px 30px;
}
.investment-dropdown.visible { display: block; }
.investment-dropdown select {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--heading-color);
  background: var(--bg-warm);
  transition: border-color 0.2s;
  cursor: pointer;
}
.investment-dropdown select:focus {
  outline: none;
  border-color: var(--teal);
}

/* Energy mix */
.mix-section {
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mix-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--heading-color);
  background: var(--bg-warm);
  border-radius: 10px;
  border: 1.5px solid transparent;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
}
.mix-item:hover {
  background: #fff;
  border-color: rgba(61, 155, 143, 0.2);
  box-shadow: 0 2px 8px rgba(61, 155, 143, 0.08);
}
.mix-item:focus-within {
  background: #fff;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-glow), 0 2px 8px rgba(61, 155, 143, 0.08);
}
.mix-item span {
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.1px;
}
.mix-value {
  width: 52px;
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--teal-dark);
  font-family: var(--font-heading);
  font-size: 15px;
  background: transparent;
  padding: 0;
  border-radius: 0;
  border: none;
  border-bottom: 2px solid var(--border);
  transition: all 0.25s ease;
  -moz-appearance: textfield;
}
.mix-value::-webkit-inner-spin-button,
.mix-value::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.mix-value:focus {
  outline: none;
  border-bottom-color: var(--teal);
  box-shadow: none;
  color: var(--heading-color);
}

/* Energy sections */
.energy-section { padding: 22px; }
.energy-section + .energy-section { border-top: 1px solid var(--border); }
.energy-section-label {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--body-light);
  margin-bottom: 16px;
}
.energy-section.recalculated .energy-section-label { color: var(--teal-dark); }

/* Energy scale */
.energy-scale {
  display: flex;
  height: 34px;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.06);
}
.scale-seg {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.scale-seg.active {
  box-shadow: inset 0 0 0 2.5px var(--heading-color);
  color: #fff;
  font-weight: 700;
  transform: scaleY(1.08);
}
.scale-seg.active-teal {
  box-shadow: inset 0 0 0 2.5px var(--teal-dark);
  color: #fff;
  font-weight: 700;
  transform: scaleY(1.08);
}
.s-a1 { background: #2e9e52; }
.s-a2 { background: #5ea232; }
.s-b1 { background: #a4c31c; }
.s-b2 { background: #e0c91a; }
.s-c  { background: #f0a017; }
.s-d  { background: #e87119; }
.s-e  { background: #d63a2a; }
.s-f  { background: #b22222; }

/* Energy metrics */
.metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.metric-label {
  font-size: 12px;
  color: var(--body-light);
  margin-bottom: 4px;
  line-height: 1.3;
}
.metric-value {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--heading-color);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.3px;
}
.metric-unit {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  color: var(--body-light);
}
.recalculated .metric-value { color: var(--teal-dark); }

/* Profitability */
.profit-section { padding: 18px 22px; }
.profit-section + .profit-section { border-top: 1px solid var(--border); }
.profit-section-label {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--body-light);
  margin-bottom: 12px;
}
.cost-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 8px 0;
  font-size: 14px;
}
.cost-row + .cost-row { border-top: 1px solid var(--bg); }
.cost-label { color: var(--body-color); }
.cost-value {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--heading-color);
}
.cost-row.total {
  padding-top: 12px;
  margin-top: 4px;
  border-top: 2px solid var(--border) !important;
}
.cost-row.total .cost-label { font-weight: 600; color: var(--heading-color); }
.cost-row.savings .cost-value { color: var(--teal-dark); font-weight: 700; }

/* Payback */
.payback {
  margin: 18px 22px 22px;
  background: linear-gradient(135deg, var(--teal-light), #f0faf8);
  border: 1px solid rgba(61, 155, 143, 0.15);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}
.payback-label {
  font-size: 12px;
  color: var(--body-light);
  margin-bottom: 6px;
  font-weight: 500;
}
.payback-number {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 700;
  color: var(--teal-dark);
  line-height: 1.1;
  letter-spacing: -1px;
}
.payback-unit {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  color: var(--body-light);
  margin-left: 4px;
}

/* === HERO RENOVATION STORY ANIMATION === */
/* 10s cycle: Old house (F) → Renovation → New house (A+) → loop */
@keyframes showOldHouse {
  0%, 30% { opacity: 1; }
  42%, 82% { opacity: 0; }
  94%, 100% { opacity: 1; }
}
@keyframes showRenovation {
  0%, 28% { opacity: 0; }
  36%, 56% { opacity: 1; }
  64%, 100% { opacity: 0; }
}
@keyframes showNewHouse {
  0%, 42% { opacity: 0; }
  54%, 76% { opacity: 1; }
  88%, 100% { opacity: 0; }
}
@keyframes heatFloat {
  0% { opacity: 0.2; transform: translateY(0); }
  40% { opacity: 0.6; transform: translateY(-6px); }
  100% { opacity: 0; transform: translateY(-18px); }
}
@keyframes sparkleTwinkle {
  0%, 100% { opacity: 0.3; transform: scale(0.7); }
  50% { opacity: 1; transform: scale(1.1); }
}
.anim-old-house { animation: showOldHouse 10s ease-in-out infinite; }
.anim-renovation { animation: showRenovation 10s ease-in-out infinite; }
.anim-new-house { animation: showNewHouse 10s ease-in-out infinite; }
.anim-old-house .heat-wave { animation: heatFloat 2.2s ease-in-out infinite; }
.anim-old-house .heat-wave:nth-of-type(2) { animation-delay: 0.5s; }
.anim-old-house .heat-wave:nth-of-type(3) { animation-delay: 1s; }
.anim-renovation .sparkle { animation: sparkleTwinkle 1.4s ease-in-out infinite; transform-origin: center; }
.anim-renovation .sparkle:nth-child(2) { animation-delay: 0.25s; }
.anim-renovation .sparkle:nth-child(3) { animation-delay: 0.5s; }
.anim-renovation .sparkle:nth-child(4) { animation-delay: 0.75s; }
.anim-renovation .sparkle:nth-child(5) { animation-delay: 1s; }
@keyframes rainFall {
  0% { opacity: 0; transform: translateY(0); }
  15% { opacity: 0.6; }
  100% { opacity: 0; transform: translateY(28px); }
}
.anim-old-house .rain-drop { animation: rainFall 1.8s ease-in infinite; }
.anim-old-house .rain-drop:nth-child(2) { animation-delay: 0.3s; }
.anim-old-house .rain-drop:nth-child(3) { animation-delay: 0.7s; }
.anim-old-house .rain-drop:nth-child(4) { animation-delay: 1.1s; }
.anim-old-house .rain-drop:nth-child(5) { animation-delay: 0.5s; }
.anim-old-house .rain-drop:nth-child(6) { animation-delay: 1.4s; }

/* Calculator column animations */
.calc-grid > * {
  animation: fadeUp 0.5s ease-out both;
}
.calc-grid > *:nth-child(1) { animation-delay: 0.08s; }
.calc-grid > *:nth-child(2) { animation-delay: 0.18s; }
.calc-grid > *:nth-child(3) { animation-delay: 0.28s; }

/* === COOKIE CONSENT === */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 18px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  z-index: 1000;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
  animation: fadeUp 0.4s ease-out both;
}
.cookie-banner p {
  font-size: 13px;
  color: var(--body-color);
  margin: 0;
}
.cookie-banner .btn-group { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-banner button {
  padding: 9px 20px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--heading-color);
  transition: all 0.2s;
}
.cookie-banner button:hover {
  background: var(--bg);
  border-color: #ccd0d5;
}
.cookie-banner button.accept {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
  box-shadow: var(--shadow-teal);
}
.cookie-banner button.accept:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}
.cookie-banner.hidden { display: none; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    gap: 12px;
    padding: 14px 20px;
    height: auto;
  }
  .nav-links { gap: 16px; flex-wrap: wrap; justify-content: center; }
  .nav-links a::after { display: none; }
  .page-header { padding: 32px 20px 4px; }
  .page-header h1 { font-size: 28px; }
  .hero-content {
    grid-template-columns: 1fr;
    padding: 48px 24px 40px;
    text-align: center;
  }
  .hero h1 { font-size: 34px; letter-spacing: -0.8px; }
  .hero p { font-size: 15px; margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-illustration { max-width: 280px; }
  .hero-badge { font-size: 11px; }
  .features { grid-template-columns: 1fr; padding: 32px 20px; gap: 16px; }
  .stats-strip {
    flex-direction: column;
    gap: 24px;
    padding: 32px 20px;
  }
  .stat-divider { width: 48px; height: 1px; }
  .mission { padding: 32px 20px; }
  .content-page { padding: 24px 20px 40px; }
  .calc-grid {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .footer-main {
    flex-direction: column;
    gap: 24px;
    padding: 32px 20px 20px;
  }
  .footer-links { text-align: left; }
  .footer-bottom { padding: 16px 20px; }
  .cookie-banner {
    flex-direction: column;
    padding: 16px 20px;
    text-align: center;
  }
  .contact-layout {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
}
