/* ==========================================================================







   ACTIVE HOME - Apple Style Design System (Enhanced & Animated)







   Pristine white background, ultra-refined typography, minimalist elegance.







   ========================================================================== */















:root {







  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;







  --font-mono: SFMono-Regular, Menlo, Monaco, Consolas, monospace;















  /* Colors */







  --bg-primary: #F6F6F4;







  --bg-secondary: #F6F6F4;







  --bg-tertiary: #ECECE8;







  --bg-elevated: #F6F6F4;







  --bg-card: rgba(255, 255, 255, 0.9);















  --text-primary: #111315;







  --text-secondary: #4B5056;







  --text-tertiary: #86868b;







  --text-quaternary: #a1a1a6;















  --accent-blue: #0071e3;







  --accent-blue-hover: #0077ed;







  --accent-blue-active: #0062c4;







  --accent-blue-light: #e8f2fe;















  --accent-green: #34c759;







  --accent-green-light: #eaf8ee;







  







  --accent-amber: #ff9500;







  --accent-amber-light: #fff5e5;















  --border-light: rgba(0, 0, 0, 0.08);







  --border-subtle: rgba(0, 0, 0, 0.04);







  --border-focus: rgba(0, 113, 227, 0.4);















  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);







  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06);







  --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.08);







  --shadow-hero: 0 32px 72px rgba(0, 0, 0, 0.12);















  --radius-sm: 12px;







  --radius-md: 18px;







  --radius-lg: 24px;







  --radius-xl: 32px;







  --radius-full: 9999px;















  --nav-height: 56px;







  --container-max: 1200px;







  --container-wide: 1360px;







}















/* Reset & Basics */







*, *::before, *::after {







  box-sizing: border-box;







  margin: 0;







  padding: 0;







}















html {







  font-family: var(--font-sans);







  background-color: var(--bg-primary);







  color: var(--text-primary);







  -webkit-font-smoothing: antialiased;







  -moz-osx-font-smoothing: grayscale;







  scroll-behavior: smooth;







  text-rendering: optimizeLegibility;







}















body {







  background-color: var(--bg-primary);







  color: var(--text-primary);







  overflow-x: hidden;







  line-height: 1.47059;







  font-size: 17px;







  letter-spacing: -0.022em;







}















a {







  color: var(--accent-blue);







  text-decoration: none;







  transition: color 0.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;







}















a:hover {







  text-decoration: none;







  color: var(--accent-blue-hover);







}















img {







  max-width: 100%;







  height: auto;







  display: block;







}















button {







  font-family: inherit;







  cursor: pointer;







  border: none;







  background: none;







}















/* ==========================================================================







   MINIMALIST PREMIUM ANIMATIONS & REVEAL SYSTEM







   ========================================================================== */







.fade-up-element {







  opacity: 0;







  transform: translateY(28px);







  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);







  will-change: opacity, transform;







}















.fade-up-element.in-view {







  opacity: 1;







  transform: translateY(0);







}















.stagger-delay-1 { transition-delay: 0.1s; }







.stagger-delay-2 { transition-delay: 0.2s; }







.stagger-delay-3 { transition-delay: 0.3s; }







.stagger-delay-4 { transition-delay: 0.4s; }















@keyframes floatSubtle {







  0%, 100% { transform: translateY(0); }







  50% { transform: translateY(-7px); }







}















@keyframes pulseGlow {







  0%, 100% {







    box-shadow: 0 0 0 0 rgba(52, 199, 89, 0.5);







  }







  50% {







    box-shadow: 0 0 0 8px rgba(52, 199, 89, 0);







  }







}















@keyframes pulseBlue {







  0%, 100% {







    box-shadow: 0 0 0 0 rgba(0, 113, 227, 0.5);







  }







  50% {







    box-shadow: 0 0 0 8px rgba(0, 113, 227, 0);







  }







}















@keyframes spin {







  from { transform: rotate(0deg); }







  to { transform: rotate(360deg); }







}















/* Typography Hierarchy */







.hero-eyebrow {







  display: inline-flex;







  align-items: center;







  gap: 8px;







  font-size: 13px;







  font-weight: 600;







  letter-spacing: 0.04em;







  text-transform: uppercase;







  color: var(--accent-blue);







  margin-bottom: 14px;







  background: var(--accent-blue-light);







  padding: 6px 16px;







  border-radius: var(--radius-full);







}















.hero-headline {







  font-size: clamp(38px, 5.5vw, 68px);







  font-weight: 700;







  letter-spacing: -0.035em;







  line-height: 1.06;







  color: var(--text-primary);







  margin-bottom: 20px;







}















.hero-headline span.gradient-text {







  background: linear-gradient(135deg, #1d1d1f 30%, #515154 100%);







  -webkit-background-clip: text;







  -webkit-text-fill-color: transparent;







}















.hero-subhead {







  font-size: clamp(18px, 2.1vw, 22px);







  font-weight: 400;







  line-height: 1.48;







  color: var(--text-secondary);







  max-width: 780px;







  margin: 0 auto 36px;







  letter-spacing: -0.015em;







}















.section-eyebrow {







  font-size: 13px;







  font-weight: 600;







  letter-spacing: 0.04em;







  text-transform: uppercase;







  color: var(--accent-blue);







  margin-bottom: 8px;







}















.section-title {







  font-size: clamp(30px, 4.2vw, 48px);







  font-weight: 700;







  letter-spacing: -0.03em;







  line-height: 1.12;







  color: var(--text-primary);







  margin-bottom: 16px;







}















.section-desc {







  font-size: clamp(16px, 1.8vw, 19px);







  font-weight: 400;







  line-height: 1.5;







  color: var(--text-secondary);







  max-width: 680px;







  margin-bottom: 40px;







}















/* Layout Containers */







.container {







  width: 90%;







  max-width: var(--container-max);







  margin: 0 auto;







}















.container-wide {







  width: 94%;







  max-width: var(--container-wide);







  margin: 0 auto;







}















/* ==========================================================================







   UNIFIED FROSTED GLASS APPLE NAVIGATION (NO DUPLICATES)







   ========================================================================== */







.global-nav {







  position: fixed;







  top: 0;







  left: 0;







  right: 0;







  height: var(--nav-height);







  background: rgba(255, 255, 255, 0.85);







  backdrop-filter: saturate(180%) blur(20px);







  -webkit-backdrop-filter: saturate(180%) blur(20px);







  border-bottom: 1px solid var(--border-light);







  z-index: 1000;







  transition: all 0.3s ease;







}















.nav-container {







  max-width: var(--container-wide);







  margin: 0 auto;







  height: 100%;







  display: flex;







  align-items: center;







  justify-content: space-between;







  gap: 28px;







  padding: 0 32px;







}















.brand-link {







  display: flex;







  align-items: center;







  gap: 10px;







  text-decoration: none;







  white-space: nowrap;







  flex-shrink: 0;







}















.brand-logo-img {







  height: 28px;







  width: auto;







  object-fit: contain;







  flex-shrink: 0;







}















.brand-name {







  font-size: 16px;







  font-weight: 700;







  letter-spacing: -0.01em;







  color: var(--text-primary);







  white-space: nowrap;







}















.mobile-cta-li {



  display: none !important;



}







.nav-links {







  display: flex;







  align-items: center;







  gap: 8px;







  list-style: none;







  margin: 0;







  padding: 0;







}















.nav-links a {







  display: inline-flex;







  align-items: center;







  justify-content: center;







  height: 38px;







  padding: 0 14px;







  font-size: 13.5px;







  font-weight: 600;







  color: var(--text-secondary);







  border-radius: var(--radius-full);







  border: 1px solid transparent;







  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);







  white-space: nowrap;







  box-sizing: border-box;







}















.nav-links a:hover {







  color: var(--accent-blue);







  background: rgba(0, 113, 227, 0.08);







}















.nav-links a.active {







  background: var(--accent-blue);







  color: #ffffff !important;







  border-color: var(--accent-blue);







  box-shadow: 0 2px 8px rgba(0, 113, 227, 0.28);







}















.nav-actions {







  display: flex;







  align-items: center;







  gap: 16px;







  flex-shrink: 0;







}















/* Language Switcher Pill & Dropdown in Header */







.lang-switcher {







  position: relative;







  display: inline-flex;







  align-items: center;







}















.lang-switcher-btn {







  display: inline-flex;







  align-items: center;







  justify-content: center;







  height: 38px;







  padding: 0 16px;







  gap: 8px;







  font-family: var(--font-sans);







  font-size: 13.5px;







  font-weight: 600;







  color: var(--text-primary);







  border-radius: var(--radius-full);







  background: var(--bg-tertiary);







  border: 1px solid rgba(0, 0, 0, 0.08);







  box-sizing: border-box;







  cursor: pointer;







  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);







  user-select: none;







  white-space: nowrap;







}















.nav-actions .btn-primary {







  display: inline-flex;







  align-items: center;







  justify-content: center;







  height: 38px;







  padding: 0 20px;







  gap: 8px;







  font-family: var(--font-sans);







  font-size: 13.5px;







  font-weight: 600;







  color: #ffffff !important;







  border-radius: var(--radius-full);







  background: var(--accent-blue);







  border: 1px solid var(--accent-blue);







  box-sizing: border-box;







  white-space: nowrap;







  box-shadow: 0 2px 8px rgba(0, 113, 227, 0.25);







  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);







}















.nav-actions .btn-primary:hover {







  background: var(--accent-blue-hover);







  border-color: var(--accent-blue-hover);







  transform: translateY(-1px);







  box-shadow: 0 4px 14px rgba(0, 113, 227, 0.32);







}















.lang-flag, .lang-opt-flag {







  font-size: 15px;







  line-height: 1;







  display: inline-flex;







  align-items: center;







  justify-content: center;







}















.lang-switcher-btn:hover,







.lang-switcher.open .lang-switcher-btn {







  background: #e8e8ed;







  color: var(--accent-blue);







  border-color: rgba(0, 113, 227, 0.22);







}















.lang-switcher-btn .lang-code {







  font-weight: 700;







  color: var(--accent-blue);







  font-size: 11.5px;







  background: rgba(0, 113, 227, 0.1);







  padding: 1px 6px;







  border-radius: 99px;







}















.lang-switcher-btn .lang-chevron {







  opacity: 0.65;







  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);







}















.lang-switcher.open .lang-switcher-btn .lang-chevron {







  transform: rotate(180deg);







}















.lang-dropdown {







  position: absolute;







  top: calc(100% + 8px);







  right: 0;







  min-width: 195px;







  background: rgba(255, 255, 255, 0.98);







  backdrop-filter: saturate(180%) blur(24px);







  -webkit-backdrop-filter: saturate(180%) blur(24px);







  border: 1px solid rgba(0, 0, 0, 0.09);







  border-radius: 16px;







  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14), 0 2px 8px rgba(0, 0, 0, 0.05);







  padding: 6px;







  display: flex;







  flex-direction: column;







  gap: 3px;







  opacity: 0;







  visibility: hidden;







  transform: translateY(-8px) scale(0.97);







  transform-origin: top right;







  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);







  z-index: 1200;







}















.lang-switcher.open .lang-dropdown {







  opacity: 1;







  visibility: visible;







  transform: translateY(0) scale(1);







}















.lang-option {







  display: flex;







  align-items: center;







  justify-content: space-between;







  gap: 12px;







  width: 100%;







  padding: 9px 12px;







  border: none;







  background: transparent;







  border-radius: 10px;







  font-family: var(--font-sans);







  font-size: 13.5px;







  font-weight: 600;







  color: var(--text-primary);







  cursor: pointer;







  text-align: left;







  transition: all 0.18s ease;







}















.lang-opt-left {







  display: inline-flex;







  align-items: center;







  gap: 9px;







}















.flag-icon {







  width: 20px;







  height: 15px;







  border-radius: 3px;







  object-fit: cover;







  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);







  flex-shrink: 0;







  display: inline-block;







  vertical-align: middle;







}















.lang-opt-code {







  font-size: 11px;







  font-weight: 700;







  padding: 2px 6px;







  border-radius: 5px;







  background: #f0f2f5;







  color: var(--text-primary);







  letter-spacing: 0.4px;







}















.lang-opt-label {







  font-weight: 600;







  font-size: 13.5px;







}















.lang-option:hover {







  background: rgba(0, 113, 227, 0.08);







  color: var(--accent-blue);







}















.lang-option.active {







  background: var(--accent-blue);







  color: #ffffff;







}















.lang-option.active .lang-opt-code {







  background: rgba(255, 255, 255, 0.25);







  color: #ffffff;







}















/* Apple Buttons */







.btn-primary {







  display: inline-flex;







  align-items: center;







  justify-content: center;







  gap: 8px;







  background: var(--accent-blue);







  color: #ffffff !important;







  font-size: 14px;







  font-weight: 500;







  padding: 9px 20px;







  border-radius: var(--radius-full);







  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);







  box-shadow: 0 2px 4px rgba(0, 113, 227, 0.15);







  white-space: nowrap;







}















.btn-primary:hover {







  background: var(--accent-blue-hover);







  transform: translateY(-1px);







  box-shadow: 0 6px 16px rgba(0, 113, 227, 0.28);







}















.btn-primary:active {







  background: var(--accent-blue-active);







  transform: translateY(0);







}















.btn-secondary {







  display: inline-flex;







  align-items: center;







  justify-content: center;







  gap: 8px;







  background: var(--bg-tertiary);







  color: var(--text-primary) !important;







  font-size: 14px;







  font-weight: 500;







  padding: 9px 20px;







  border-radius: var(--radius-full);







  transition: all 0.2s ease;







}















.btn-secondary:hover {







  background: #e8e8ed;







}















.btn-large {







  padding: 14px 32px;







  font-size: 16px;







  font-weight: 600;







}















.btn-pdf {







  display: inline-flex;







  align-items: center;







  gap: 6px;







  font-size: 13px;







  font-weight: 600;







  color: var(--accent-blue);







  background: var(--accent-blue-light);







  padding: 8px 16px;







  border-radius: var(--radius-full);







  transition: all 0.2s ease;







}















.btn-pdf:hover {







  background: #d6e8fd;







  color: var(--accent-blue-active);







}















/* Mobile Toggle */







.mobile-toggle {







  display: none;







  width: 24px;







  height: 24px;







  flex-direction: column;







  justify-content: space-around;







}















.mobile-toggle span {







  width: 100%;







  height: 2px;







  background-color: var(--text-primary);







  border-radius: 2px;







}















/* ==========================================================================







   HERO SECTION: ACTIVE 7 AS THE MAIN FLAGSHIP







   ========================================================================== */







.hero-section {







  padding-top: calc(var(--nav-height) + 60px);







  padding-bottom: 90px;







  background: radial-gradient(circle at 50% 12%, #fbfbfd 0%, #ffffff 75%);







  text-align: center;







  position: relative;







  overflow: hidden;







}















.hero-cta-group {







  display: flex;







  align-items: center;







  justify-content: center;







  gap: 16px;







  margin-bottom: 50px;







  flex-wrap: wrap;







}















.hero-stage {







  position: relative;







  max-width: 1100px;







  margin: 0 auto;







  padding: 0 20px;







}















.hero-image-wrapper {







  position: relative;







  border-radius: var(--radius-xl);







  overflow: hidden;







  box-shadow: var(--shadow-hero);







  background: #fbfbfd;







  transition: box-shadow 0.4s ease;







}















.hero-image-wrapper:hover {







  box-shadow: 0 36px 84px rgba(0, 0, 0, 0.16);







}















.hero-main-img {







  width: 100%;







  height: auto;







  max-height: 720px;







  object-fit: contain;







  object-position: center center;







  display: block;







  margin: 0 auto;







}















/* Floating Feature Badges around Hero (Safe absolute bounds) */







.floating-pill {







  position: absolute;







  background: rgba(255, 255, 255, 0.94);







  backdrop-filter: blur(16px);







  -webkit-backdrop-filter: blur(16px);







  border: 1px solid var(--border-light);







  border-radius: var(--radius-full);







  padding: 10px 18px;







  display: flex;







  align-items: center;







  gap: 10px;







  box-shadow: var(--shadow-md);







  font-size: 13px;







  font-weight: 600;







  color: var(--text-primary);







  animation: floatSubtle 4.5s ease-in-out infinite;







  z-index: 12;







  pointer-events: none;







}















.floating-pill.pill-1 {







  top: 8%;







  left: 0;







  animation-delay: 0s;







}















.floating-pill.pill-2 {







  bottom: 12%;







  left: 10px;







  animation-delay: 1.5s;







}















.floating-pill.pill-3 {







  top: 15%;







  right: 0;







  animation-delay: 0.8s;







}















.floating-pill.pill-4 {







  bottom: 8%;







  right: 10px;







  animation-delay: 2.2s;







}















.pill-dot {







  width: 9px;







  height: 9px;







  border-radius: 50%;







}















.pill-dot.green { background: var(--accent-green); animation: pulseGlow 2.5s infinite; }







.pill-dot.blue { background: var(--accent-blue); animation: pulseBlue 2.5s infinite; }







.pill-dot.amber { background: var(--accent-amber); }















/* Quick Metrics Bar */







.metrics-strip {







  display: grid;







  grid-template-columns: repeat(4, 1fr);







  gap: 24px;







  max-width: 1000px;







  margin: 50px auto 0;







  padding: 24px 32px;







  background: var(--bg-secondary);







  border: 1px solid var(--border-light);







  border-radius: var(--radius-lg);







  box-shadow: var(--shadow-sm);







}















.metric-item {







  text-align: center;







}















.metric-value {







  font-size: 34px;







  font-weight: 700;







  letter-spacing: -0.03em;







  color: var(--text-primary);







  line-height: 1.1;







  margin-bottom: 4px;







}















.metric-label {







  font-size: 13px;







  color: var(--text-secondary);







  font-weight: 500;







}















/* ==========================================================================







   BENTO GRID: CO SPRAWIA, ŻE ACTIVE HOME TO INNY DOM OD WSZYSTKICH







   ========================================================================== */







.bento-section {







  padding: 100px 0;







  background: var(--bg-secondary);







}















.bento-grid {







  display: grid;







  grid-template-columns: repeat(12, 1fr);







  gap: 24px;







}















.bento-card {







  background: var(--bg-primary);







  border: 1px solid var(--border-light);







  border-radius: var(--radius-xl);







  padding: 36px;







  display: flex;







  flex-direction: column;







  justify-content: space-between;







  position: relative;







  overflow: hidden;







  box-shadow: var(--shadow-sm);







  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);







}















.bento-card:hover {







  transform: translateY(-4px);







  box-shadow: var(--shadow-lg);







  border-color: rgba(0, 0, 0, 0.12);







}















.bento-card.span-8 { grid-column: span 8; }







.bento-card.span-4 { grid-column: span 4; }







.bento-card.span-6 { grid-column: span 6; }







.bento-card.span-12 { grid-column: span 12; }















.bento-header {







  margin-bottom: 20px;







  z-index: 2;







}















.bento-tag {







  font-size: 12px;







  font-weight: 600;







  text-transform: uppercase;







  letter-spacing: 0.05em;







  color: var(--accent-blue);







  margin-bottom: 8px;







}















.bento-title {







  font-size: clamp(22px, 2.4vw, 28px);







  font-weight: 700;







  letter-spacing: -0.025em;







  line-height: 1.2;







  color: var(--text-primary);







  margin-bottom: 12px;







}















.bento-desc {







  font-size: 15px;







  line-height: 1.5;







  color: var(--text-secondary);







}















.bento-media {







  margin-top: 18px;







  border-radius: var(--radius-md);







  overflow: hidden;







  position: relative;







}















.bento-media img {







  width: 100%;







  height: auto;







  max-height: 260px;







  object-fit: contain;







  object-position: center center;







  transition: transform 0.4s ease;







}















.bento-card:hover .bento-media img {







  transform: scale(1.02);







}















/* Exterior Facade Light Indicator Box */







.light-indicator-demo {







  background: #0f1115;







  color: #ffffff;







  border-radius: var(--radius-lg);







  padding: 24px;







  display: flex;







  flex-direction: column;







  gap: 16px;







  margin-top: 20px;







}















.light-modes {







  display: flex;







  gap: 8px;







  flex-wrap: wrap;







}















.light-mode-btn {







  flex: 1;







  min-width: 80px;







  padding: 9px 10px;







  background: rgba(255, 255, 255, 0.08);







  border: 1px solid rgba(255, 255, 255, 0.15);







  border-radius: var(--radius-sm);







  color: #e5e5ea;







  font-size: 12px;







  font-weight: 500;







  text-align: center;







  transition: all 0.2s ease;







}















.light-mode-btn.active {







  background: rgba(255, 255, 255, 0.22);







  border-color: #ffffff;







  color: #ffffff;







}















.facade-preview {







  height: 130px;







  background: #191b20;







  border-radius: var(--radius-md);







  position: relative;







  display: flex;







  align-items: center;







  justify-content: center;







  overflow: hidden;







  border: 1px solid rgba(255, 255, 255, 0.06);







}















.facade-wall {







  position: absolute;







  inset: 0;







  opacity: 0.6;







  background: linear-gradient(90deg, #1c1f26 0%, #242933 50%, #1c1f26 100%);







}















.facade-light-bar {







  width: 80px;







  height: 6px;







  border-radius: 3px;







  background: var(--accent-green);







  box-shadow: 0 0 30px 12px rgba(52, 199, 89, 0.8), 0 0 60px 24px rgba(52, 199, 89, 0.4);







  z-index: 5;







  transition: all 0.4s ease;







}















.light-status-text {







  font-size: 13px;







  color: #8e8e93;







  text-align: center;







}















.light-status-text strong {







  color: #ffffff;







}















/* ==========================================================================







   OFFICIAL NORD HT INTERACTIVE HOUSE SYSTEM (EXACT MATCH FROM NORD-HT.COM)







   ========================================================================== */







.nord-interactive-card {







  background: #121418; /* High-contrast cinema canvas matching NORD HT */







  color: #ffffff;







  border-radius: var(--radius-xl);







  padding: 44px 32px 36px;







  position: relative;







  overflow: hidden;







  border: 1px solid rgba(255, 255, 255, 0.12);







  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);







}















.nord-interactive-header {







  text-align: center;







  max-width: 860px;







  margin: 0 auto 20px;







}















.nord-interactive-header .hero-eyebrow {







  color: #2997ff;







  margin-bottom: 8px;







}















.nord-interactive-title {







  font-size: clamp(26px, 3.2vw, 38px);







  font-weight: 700;







  letter-spacing: -0.03em;







  color: #ffffff;







  margin-bottom: 8px;







}















.nord-interactive-subtitle {







  font-size: clamp(14px, 1.35vw, 16px);







  color: #a1a1a6;







  line-height: 1.5;







}















/* 5 Tabs at the top */







.nord-tabs-nav {







  display: flex;







  justify-content: center;







  align-items: center;







  gap: 12px;







  flex-wrap: wrap;







  margin: 24px auto 32px;







}















.nord-tab-pill {







  background: rgba(255, 255, 255, 0.08);







  border: 1px solid rgba(255, 255, 255, 0.22);







  color: #d1d1d6;







  padding: 10px 22px;







  border-radius: var(--radius-full);







  font-family: inherit;







  font-size: 14px;







  font-weight: 600;







  cursor: pointer;







  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);







  backdrop-filter: blur(12px);







  -webkit-backdrop-filter: blur(12px);







}















.nord-tab-pill:hover {







  background: rgba(255, 255, 255, 0.18);







  color: #ffffff;







  transform: translateY(-2px);







}















/* Individual Active States matching NORD HT screenshots */







.nord-tab-pill[data-nord-tab="kompleksowe"].active {







  background: #ffffff;







  color: #000000;







  border-color: #ffffff;







  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.35);







}















.nord-tab-pill[data-nord-tab="fotowoltaika"].active {







  background: #cca03a;







  color: #ffffff;







  border-color: #e5b955;







  box-shadow: 0 4px 20px rgba(204, 160, 58, 0.45);







}















.nord-tab-pill[data-nord-tab="elektromobilnosc"].active {







  background: #4cd964;







  color: #ffffff;







  border-color: #6ee784;







  box-shadow: 0 4px 20px rgba(76, 217, 100, 0.45);







}















.nord-tab-pill[data-nord-tab="grzewcza"].active {







  background: #e05656;







  color: #ffffff;







  border-color: #f87171;







  box-shadow: 0 4px 20px rgba(224, 86, 86, 0.45);







}















.nord-tab-pill[data-nord-tab="rekuperacja"].active {







  background: #4a90e2;







  color: #ffffff;







  border-color: #60a5fa;







  box-shadow: 0 4px 20px rgba(74, 144, 226, 0.45);







}















/* The House Stage Container */







.nord-house-stage {







  position: relative;







  width: 100%;







  max-width: 1200px;







  margin: 0 auto;







  border-radius: var(--radius-lg);







  overflow: hidden;







  background: #000000;







  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);







  border: 1px solid rgba(255, 255, 255, 0.12);







}















.nord-house-base-img {







  width: 100%;







  height: auto;







  display: block;







  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1);







}















/* Caption box below house */







.nord-tab-caption {







  margin-top: 24px;







  background: rgba(255, 255, 255, 0.06);







  border: 1px solid rgba(255, 255, 255, 0.14);







  border-radius: var(--radius-md);







  padding: 16px 24px;







  text-align: center;







  font-size: 15px;







  line-height: 1.6;







  color: #e5e5ea;







  transition: all 0.3s ease;







}







.nord-tab-caption strong {







  color: #ffffff;







}















/* Responsive adjustments */







@media (max-width: 768px) {







  .nord-interactive-card {







    padding: 28px 16px 24px;







  }







  .nord-tabs-nav {







    gap: 8px;







  }







  .nord-tab-pill {







    padding: 8px 14px;







    font-size: 12px;







  }







  .nord-tab-caption {







    font-size: 13px;







    padding: 12px 16px;







  }







}







.house-interactive-stage {







  position: relative;







  border-radius: var(--radius-md);







  overflow: hidden;







  background: #ffffff;







  padding: 4px;







  transition: all 0.5s ease;







}















.house-ambient-glow {







  position: absolute;







  inset: 0;







  border-radius: var(--radius-md);







  pointer-events: none;







  opacity: 0.18;







  transition: all 0.5s ease;







  z-index: 2;







  background: radial-gradient(circle at 60% 60%, #34c759 0%, transparent 70%);







}















.house-diagram-base {







  width: 100%;







  height: auto;







  display: block;







  position: relative;







  z-index: 1;







  transition: filter 0.4s ease;







}















/* Device Hotspots on House Diagram */







.device-hotspot {







  position: absolute;







  transform: translate(-50%, -50%);







  display: flex;







  align-items: center;







  gap: 5px;







  cursor: pointer;







  z-index: 10;







  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);







  opacity: 0.35;







}















.device-hotspot.active {







  opacity: 1;







  z-index: 25;







  transform: translate(-50%, -50%) scale(1.06);







}















.hotspot-pulse {







  width: 12px;







  height: 12px;







  border-radius: 50%;







  background: #8e8e93;







  box-shadow: 0 0 0 0 rgba(142, 142, 147, 0.4);







  transition: all 0.3s ease;







  flex-shrink: 0;







}















.device-hotspot.active .hotspot-pulse {







  background: var(--mode-color, #34c759);







  animation: hotspotPing 1.8s infinite;







}















@keyframes hotspotPing {







  0% {







    box-shadow: 0 0 0 0 rgba(var(--mode-rgb, 52, 199, 89), 0.7);







  }







  70% {







    box-shadow: 0 0 0 10px rgba(var(--mode-rgb, 52, 199, 89), 0);







  }







  100% {







    box-shadow: 0 0 0 0 rgba(var(--mode-rgb, 52, 199, 89), 0);







  }







}















.hotspot-tag {







  font-size: 10px;







  font-weight: 700;







  padding: 3px 7px;







  border-radius: var(--radius-full);







  background: rgba(255, 255, 255, 0.95);







  backdrop-filter: blur(8px);







  border: 1px solid var(--border-light);







  color: var(--text-secondary);







  white-space: nowrap;







  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);







  transition: all 0.3s ease;







  pointer-events: none;







}















.device-hotspot.active .hotspot-tag {







  background: #ffffff;







  border-color: var(--mode-color, #34c759);







  color: var(--mode-color, #34c759);







  box-shadow: 0 4px 12px rgba(var(--mode-rgb, 52, 199, 89), 0.3);







}















.hotspot-grid { left: 7%; top: 78%; }







.hotspot-charge { left: 28%; top: 72%; }







.hotspot-genius { left: 26%; top: 43%; }







.hotspot-pv { left: 47%; top: 38%; }







.hotspot-control { left: 47%; top: 66%; }







.hotspot-air { left: 70%; top: 38%; }







.hotspot-master { left: 84%; top: 60%; }







.hotspot-boiler { left: 67%; top: 82%; }







.hotspot-heat { left: 74%; top: 83%; }







.hotspot-storage { left: 82%; top: 84%; }















/* Live Status Badge in Card 1 Header */







.house-live-indicator {







  display: inline-flex;







  align-items: center;







  gap: 8px;







  font-size: 12px;







  font-weight: 700;







  padding: 6px 14px;







  border-radius: var(--radius-full);







  background: rgba(52, 199, 89, 0.1);







  color: #34c759;







  border: 1px solid rgba(52, 199, 89, 0.25);







  transition: all 0.3s ease;







}















.live-pulse {







  width: 8px;







  height: 8px;







  border-radius: 50%;







  background: currentColor;







  animation: pulseGlow 1.8s infinite;







}















/* Card State Classes */







#houseEnergyCard {







  transition: all 0.4s ease;







}







#houseEnergyCard.mode-earning {







  border-color: rgba(52, 199, 89, 0.45);







  box-shadow: 0 12px 36px rgba(52, 199, 89, 0.16);







}







#houseEnergyCard.mode-charging {







  border-color: rgba(0, 113, 227, 0.45);







  box-shadow: 0 12px 36px rgba(0, 113, 227, 0.16);







}







#houseEnergyCard.mode-neutral {







  border-color: rgba(142, 142, 147, 0.35);







  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);







}







#houseEnergyCard.mode-arbitrage {







  border-color: rgba(255, 149, 0, 0.45);







  box-shadow: 0 12px 36px rgba(255, 149, 0, 0.18);







}















/* Hardware cards highlight below */







.hardware-card {







  transition: all 0.35s ease;







}







.hardware-card.mode-highlight {







  border-color: var(--mode-color, #34c759);







  box-shadow: 0 10px 30px rgba(var(--mode-rgb, 52, 199, 89), 0.22);







  transform: translateY(-4px);







}







.hardware-mode-badge {







  display: none;







  font-size: 11px;







  font-weight: 700;







  padding: 4px 10px;







  border-radius: var(--radius-full);







  margin-top: 10px;







  width: fit-content;







  transition: all 0.3s ease;







}







.hardware-card.mode-highlight .hardware-mode-badge {







  display: inline-block;







  background: rgba(var(--mode-rgb, 52, 199, 89), 0.12);







  color: var(--mode-color, #34c759);







  border: 1px solid var(--mode-color, #34c759);







}















/* ==========================================================================







   HOUSE MODELS SHOWCASE (NO GRAPHICAL OVERLAP BUG)







   ========================================================================== */







.models-section {







  padding: 110px 0;







  background: var(--bg-primary);







}















.filter-bar {







  display: flex;







  align-items: center;







  justify-content: center;







  gap: 10px;







  margin-bottom: 50px;







  flex-wrap: wrap;







}















.filter-btn {







  padding: 10px 22px;







  border-radius: var(--radius-full);







  background: var(--bg-tertiary);







  color: var(--text-secondary);







  font-size: 14px;







  font-weight: 500;







  transition: all 0.2s ease;







}















.filter-btn:hover {







  background: #e8e8ed;







  color: var(--text-primary);







}















.filter-btn.active {







  background: var(--text-primary);







  color: #ffffff;







}















.models-grid {







  display: grid;







  grid-template-columns: repeat(2, 1fr);







  gap: 24px;







  max-width: 1140px;







  margin: 0 auto;







}















.model-card {







  background: var(--bg-secondary);







  border: 1px solid var(--border-light);







  border-radius: var(--radius-lg);







  overflow: hidden; /* STRICT OVERFLOW TO PREVENT ANY LEAK */







  display: flex;







  flex-direction: column;







  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);







  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);







  position: relative;







}















.model-card:hover {







  transform: translateY(-4px);







  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);







  border-color: rgba(0, 0, 0, 0.14);







}















/* Full-Bleed Modern Architectural Model Gallery Wrapper */







.model-gallery-wrapper {







  position: relative;







  width: 100%;







  aspect-ratio: 16 / 9;







  min-height: 220px;







  background: var(--bg-card, #f8fafc);







  padding: 0 !important;







  margin: 0;







  text-align: center;







  border-bottom: 1px solid var(--border-subtle);







  overflow: hidden;







  border-radius: var(--radius-lg) var(--radius-lg) 0 0;







  display: block;







}















.model-img-main {







  width: 100% !important;







  height: 100% !important;







  max-height: none !important;







  object-fit: cover !important;







  object-position: center center;







  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);







  pointer-events: none;







  display: block;







  margin: 0;







}















/* Elegant, contained zoom on hover */







.model-card:hover .model-img-main {







  transform: scale(1.045);







}















.model-badge {







  position: absolute;







  top: 14px;







  left: 14px;







  background: rgba(15, 23, 42, 0.82);







  backdrop-filter: blur(12px);







  -webkit-backdrop-filter: blur(12px);







  border: 1px solid rgba(255, 255, 255, 0.22);







  border-radius: var(--radius-full);







  padding: 5px 13px;







  font-size: 10.5px;







  font-weight: 600;







  letter-spacing: 0.03em;







  text-transform: uppercase;







  color: #ffffff;







  z-index: 10;







  pointer-events: none;







  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);







}















.model-badge.highlight {







  background: var(--accent-blue);







  color: #ffffff;







  border-color: rgba(255, 255, 255, 0.25);







  box-shadow: 0 4px 14px rgba(0, 113, 227, 0.45);







}















.model-body {







  padding: 18px 22px 18px;







  display: flex;







  flex-direction: column;







  flex: 1;







  position: relative;







  z-index: 2; /* Keeps text firmly in front */







  background: var(--bg-secondary);







}















.model-header-row {







  display: flex;







  align-items: baseline;







  justify-content: space-between;







  margin-bottom: 4px;







  gap: 10px;







  flex-wrap: wrap;







}















.model-title {







  font-size: 22px;







  font-weight: 700;







  letter-spacing: -0.025em;







  color: var(--text-primary);







}















.model-surface-headline {







  font-size: 13.5px;







  font-weight: 600;







  color: var(--accent-blue);







}















.model-tagline {







  font-size: 12.5px;







  color: var(--text-secondary);







  margin-bottom: 12px;







  line-height: 1.4;







  min-height: 34px;







}















/* Model specs chips - compact & crisp */







.model-specs-grid {







  display: grid;







  grid-template-columns: repeat(3, 1fr);







  gap: 8px;







  padding: 9px 0;







  border-top: 1px solid var(--border-light);







  border-bottom: 1px solid var(--border-light);







  margin-bottom: 12px;







}















.spec-cell {







  display: flex;







  flex-direction: column;







}















.spec-cell-label {







  font-size: 9.5px;







  text-transform: uppercase;







  color: var(--text-tertiary);







  font-weight: 500;







  margin-bottom: 2px;







  letter-spacing: 0.02em;







}















.spec-cell-val {







  font-size: 12.5px;







  font-weight: 600;







  color: var(--text-primary);







}















/* Pricing selector inside model card - compact */







.price-tabs-container {







  background: #ffffff;







  border: 1px solid rgba(0, 113, 227, 0.18);







  border-radius: 14px;







  padding: 13px 14px;







  margin-bottom: 16px;







  box-shadow: 0 4px 16px rgba(0, 113, 227, 0.05);







  transition: border-color 0.25s ease, box-shadow 0.25s ease;







}







.price-tabs-container:hover {







  border-color: rgba(0, 113, 227, 0.32);







  box-shadow: 0 6px 20px rgba(0, 113, 227, 0.08);







}







.price-tab-header {







  display: flex;







  align-items: center;







  justify-content: space-between;







  margin-bottom: 8px;







  padding: 0 2px;







}







.price-tier-caption {







  font-size: 11px;







  font-weight: 700;







  text-transform: uppercase;







  letter-spacing: 0.05em;







  color: #0071e3;







  display: flex;







  align-items: center;







  gap: 6px;







}







.price-tier-caption::before {







  content: "";







  display: inline-block;







  width: 7px;







  height: 7px;







  border-radius: 50%;







  background: #0071e3;







  box-shadow: 0 0 8px rgba(0, 113, 227, 0.7);







}







.price-tab-buttons {







  display: flex;







  background: #f1f5f9;







  border: 1px solid rgba(0, 113, 227, 0.16);







  padding: 3.5px;







  border-radius: 10px;







  margin-bottom: 10px;







  gap: 4px;







}







.price-tab-btn {







  flex: 1;







  padding: 7px 6px;







  font-size: 11.5px;







  font-weight: 600;







  text-align: center;







  border-radius: 7px;







  color: #475569;







  border: 1px solid transparent;







  background: transparent;







  cursor: pointer;







  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);







  white-space: nowrap;







  user-select: none;







}







.price-tab-btn:hover {







  color: #0071e3;







  background: rgba(0, 113, 227, 0.08);







}







.price-tab-btn.active {







  background: #0071e3 !important;







  color: #ffffff !important;







  font-weight: 700 !important;







  border-color: #0071e3 !important;







  box-shadow: 0 3px 10px rgba(0, 113, 227, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;







}















.price-display-amount {







  font-size: 21px;







  font-weight: 700;







  letter-spacing: -0.02em;







  color: var(--text-primary);







  line-height: 1.1;







  display: flex;







  align-items: baseline;







  gap: 5px;







}















.price-display-amount span.tax {







  font-size: 11.5px;







  font-weight: 400;







  color: var(--text-secondary);







}















.price-display-desc {







  font-size: 11px;







  color: var(--text-secondary);







  margin-top: 4px;







  line-height: 1.35;







  min-height: 30px;







}















.model-card-actions {







  display: flex;







  flex-direction: column;







  gap: 8px;







  margin-top: auto;







}















.action-row-buttons {







  display: flex;







  gap: 10px;







}















.action-row-buttons .btn-primary,



.action-row-buttons .btn-secondary {



  flex: 1;



  padding: 10px 14px;



  font-size: 12.5px;



  border-radius: 980px;



  font-weight: 600;



  display: inline-flex;



  align-items: center;



  justify-content: center;



  gap: 6px;



  text-decoration: none;



  cursor: pointer;



  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);



}







.action-row-buttons .btn-primary {



  background: var(--accent-blue);



  color: #ffffff;



  border: 1px solid transparent;



  box-shadow: 0 2px 8px rgba(0, 113, 227, 0.25);



}







.action-row-buttons .btn-primary:hover {



  background: #0077ed;



  box-shadow: 0 4px 14px rgba(0, 113, 227, 0.4);



  transform: translateY(-1px);



}







.action-row-buttons .btn-primary svg {



  flex-shrink: 0;



  transition: transform 0.2s ease;



}







.action-row-buttons .btn-primary:hover svg {



  transform: translateY(1px);



}







.action-row-buttons .btn-secondary {



  background: #f1f5f9;



  color: #1e293b;



  border: 1px solid rgba(0, 0, 0, 0.08);



}







.action-row-buttons .btn-secondary:hover {



  background: #e2e8f0;



  border-color: rgba(0, 0, 0, 0.14);



  transform: translateY(-1px);



}















.model-download-pdf-btn {







  display: flex;







  align-items: center;







  justify-content: center;







  gap: 7px;







  background: var(--bg-primary);







  border: 1px solid var(--border-light);







  border-radius: var(--radius-full);







  padding: 7px 14px;







  font-size: 11.5px;







  font-weight: 600;







  color: var(--text-primary);







  transition: all 0.2s ease;







}















.model-download-pdf-btn:hover {







  background: var(--accent-blue-light);







  color: var(--accent-blue);







  border-color: rgba(0, 113, 227, 0.2);







}















/* ==========================================================================







   AI-AGENT SYSTEM SECTION







   ========================================================================== */







.system-section {







  padding: 110px 0;







  background: var(--bg-secondary);







}















.algorithm-grid {







  display: grid;







  grid-template-columns: repeat(3, 1fr);







  gap: 24px;







  margin-bottom: 60px;







}















.algo-card {







  background: #ffffff;







  border: 1px solid var(--border-light);







  border-radius: var(--radius-lg);







  padding: 32px;







  box-shadow: var(--shadow-sm);







  transition: transform 0.3s ease;







}















.algo-card:hover {







  transform: translateY(-4px);







  box-shadow: var(--shadow-md);







}















.algo-icon-box {







  width: 50px;







  height: 50px;







  border-radius: var(--radius-md);







  background: var(--accent-blue-light);







  color: var(--accent-blue);







  display: flex;







  align-items: center;







  justify-content: center;







  margin-bottom: 20px;







}















.algo-title {







  font-size: 19px;







  font-weight: 700;







  letter-spacing: -0.02em;







  color: var(--text-primary);







  margin-bottom: 12px;







}















.algo-desc {







  font-size: 14px;







  line-height: 1.55;







  color: var(--text-secondary);







}















/* ==========================================================================







   AI HEMS AGENT SYSTEM DIAGRAM CARD (APPLE DESIGN)







   ========================================================================== */







.system-diagram-card {







  background: #ffffff;







  border: 1px solid var(--border-light);







  border-radius: 28px;







  padding: 44px 40px 36px;







  box-shadow: 0 16px 48px -12px rgba(15, 23, 42, 0.08);







  margin-top: 24px;







  margin-bottom: 24px;







  text-align: center;







  transition: transform 0.3s ease, box-shadow 0.3s ease;







  overflow: hidden;







}















.system-diagram-card:hover {







  box-shadow: 0 24px 60px -12px rgba(15, 23, 42, 0.12);







}















.system-diagram-header {







  margin-bottom: 28px;







  max-width: 820px;







  margin-left: auto;







  margin-right: auto;







}















.system-diagram-title {







  font-size: clamp(22px, 2.4vw, 30px);







  font-weight: 700;







  color: var(--text-primary);







  margin: 12px 0 10px;







  letter-spacing: -0.02em;







  line-height: 1.25;







}















.system-diagram-desc {







  font-size: 15px;







  line-height: 1.6;







  color: var(--text-secondary);







  margin: 0;







}















.system-diagram-wrapper {







  position: relative;







  width: 100%;







  border-radius: 20px;







  overflow: hidden;







  background: #090e1d;







  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);







  border: 1px solid rgba(255, 255, 255, 0.08);







}















.system-diagram-img {







  display: block;







  width: 100%;







  height: auto;







  object-fit: cover;







  transition: transform 0.4s ease;







}















.system-diagram-wrapper:hover .system-diagram-img {







  transform: scale(1.008);







}















.system-diagram-footer {







  display: flex;







  flex-wrap: wrap;







  justify-content: center;







  gap: 12px 20px;







  margin-top: 28px;







  padding-top: 22px;







  border-top: 1px solid var(--border-light);







}















.diagram-feature-badge {







  display: inline-flex;







  align-items: center;







  gap: 8px;







  background: #f8fafc;







  border: 1px solid #e2e8f0;







  border-radius: 999px;







  padding: 8px 16px;







  font-size: 13.5px;







  font-weight: 500;







  color: #334155;







  transition: all 0.2s ease;







}















.diagram-feature-badge:hover {







  background: #ffffff;







  border-color: #cbd5e1;







  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);







}















.dot-indicator {







  width: 8px;







  height: 8px;







  border-radius: 50%;







  flex-shrink: 0;







}















.dot-indicator.green {







  background: #10b981;







  box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);







}















.dot-indicator.blue {







  background: #0071e3;







  box-shadow: 0 0 8px rgba(0, 113, 227, 0.5);







}















.dot-indicator.yellow {







  background: #f59e0b;







  box-shadow: 0 0 8px rgba(245, 158, 11, 0.5);







}















.dot-indicator.purple {







  background: #8b5cf6;







  box-shadow: 0 0 8px rgba(139, 92, 246, 0.5);







}















@media (max-width: 768px) {







  .system-diagram-card {







    padding: 24px 16px 20px;







    border-radius: 20px;







  }







  .system-diagram-header {







    margin-bottom: 20px;







  }







  .system-diagram-footer {







    gap: 8px;







    margin-top: 20px;







    padding-top: 16px;







  }







  .diagram-feature-badge {







    font-size: 12px;







    padding: 6px 12px;







    width: 100%;







    justify-content: flex-start;







  }







}















/* Ecosystem Hardware Grid with Real Products */







.hardware-row {







  display: grid;







  grid-template-columns: repeat(4, 1fr);







  gap: 24px;







}















.hardware-card {







  background: #ffffff;







  border: 1px solid var(--border-light);







  border-radius: var(--radius-xl);







  overflow: hidden;







  display: flex;







  flex-direction: column;







  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);







  box-shadow: var(--shadow-sm);







}















.hardware-card:hover {







  transform: translateY(-5px);







  box-shadow: var(--shadow-lg);







  border-color: rgba(0, 0, 0, 0.14);







}















.hardware-card-media {







  background: #ffffff;







  padding: 16px;







  border-bottom: 1px solid var(--border-subtle);







  display: flex;







  align-items: center;







  justify-content: center;







  height: 210px;







  position: relative;







  overflow: hidden;







}















.hardware-card-media img {







  width: 100%;







  height: 100%;







  object-fit: contain;







  transition: transform 0.35s ease;







}















.hardware-card:hover .hardware-card-media img {







  transform: scale(1.03);







}















.hardware-card-body {







  padding: 24px;







  display: flex;







  flex-direction: column;







  flex: 1;







}















.hardware-name {







  font-size: 18px;







  font-weight: 700;







  color: var(--text-primary);







  margin-bottom: 4px;







}















.hardware-role {







  font-size: 12px;







  color: var(--accent-blue);







  font-weight: 600;







  text-transform: uppercase;







  letter-spacing: 0.04em;







  margin-bottom: 10px;







}















.hardware-desc {







  font-size: 13px;







  color: var(--text-secondary);







  line-height: 1.5;







  margin-bottom: 14px;







}















.hardware-badge-pill {







  margin-top: auto;







  font-size: 11px;







  font-family: var(--font-mono);







  background: var(--bg-tertiary);







  color: var(--text-primary);







  padding: 5px 10px;







  border-radius: var(--radius-sm);







  display: inline-block;







}















/* ==========================================================================







   DEDICATED SECTION: O NAS, NAUKA, STAVANGER I NORD HT







   ========================================================================== */







.science-section {







  padding: 110px 0;







  background: #ffffff;







}















.science-grid {







  display: grid;







  grid-template-columns: 1.05fr 0.95fr;







  gap: 48px;







  align-items: center;







}















.professors-card {







  background: var(--bg-secondary);







  border: 1px solid var(--border-light);







  border-radius: var(--radius-xl);







  overflow: hidden;







  box-shadow: var(--shadow-md);







  position: relative;







}















.professors-photo {







  width: 100%;







  height: auto;







  max-height: 480px;







  object-fit: cover;







  display: block;







}















.professors-caption {







  padding: 24px;







  background: #ffffff;







  border-top: 1px solid var(--border-light);







}















.professors-caption h4 {







  font-size: 18px;







  font-weight: 700;







  color: var(--text-primary);







  margin-bottom: 4px;







}















.professors-caption p {







  font-size: 14px;







  color: var(--text-secondary);







}















.institutions-list {







  display: flex;







  flex-direction: column;







  gap: 18px;







}















.institution-card {







  background: var(--bg-secondary);







  border: 1px solid var(--border-light);







  border-radius: var(--radius-lg);







  padding: 20px 24px;







  display: flex;







  align-items: center;







  gap: 20px;







  transition: all 0.25s ease;







}















.institution-card:hover {







  background: #ffffff;







  border-color: var(--accent-blue);







  transform: translateX(4px);







  box-shadow: var(--shadow-md);







}















/* Professors Biography Cards (UiS Stavanger & PAN Kraków) */







.professors-bio-list {







  display: flex;







  flex-direction: column;







  gap: 20px;







}















.professor-bio-card {







  background: #ffffff;







  border: 1px solid var(--border-light);







  border-radius: var(--radius-xl);







  padding: 26px 28px;







  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);







  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);







  display: flex;







  flex-direction: column;







  gap: 14px;







  position: relative;







}















.professor-bio-card:hover {







  transform: translateY(-2px);







  border-color: rgba(0, 113, 227, 0.35);







  box-shadow: 0 12px 32px rgba(0, 113, 227, 0.08);







}















.prof-card-top {







  display: flex;







  align-items: flex-start;







  gap: 16px;







}















.prof-avatar-badge {







  width: 48px;







  height: 48px;







  border-radius: 50%;







  background: linear-gradient(135deg, #0071e3 0%, #0056b3 100%);







  color: #ffffff;







  font-size: 15px;







  font-weight: 700;







  display: flex;







  align-items: center;







  justify-content: center;







  flex-shrink: 0;







  box-shadow: 0 4px 12px rgba(0, 113, 227, 0.25);







  letter-spacing: 0.5px;







}















.prof-meta {







  display: flex;







  flex-direction: column;







  gap: 3px;







}















.prof-role-badge {







  font-size: 11.5px;







  font-weight: 700;







  color: var(--accent-blue);







  text-transform: uppercase;







  letter-spacing: 0.6px;







}















.prof-name {







  font-size: 20px;







  font-weight: 700;







  color: var(--text-primary);







  margin: 0;







  line-height: 1.25;







}















.prof-dept {







  font-size: 13px;







  color: var(--text-secondary);







  font-weight: 500;







}















.prof-desc {







  font-size: 14.5px;







  line-height: 1.6;







  color: var(--text-secondary);







  margin: 0;







}















.prof-focus-tags {







  display: flex;







  flex-wrap: wrap;







  gap: 8px;







  margin-top: 4px;







}















.focus-tag {







  display: inline-flex;







  align-items: center;







  padding: 4px 11px;







  border-radius: var(--radius-full);







  background: var(--bg-tertiary);







  color: var(--text-primary);







  font-size: 12px;







  font-weight: 600;







  border: 1px solid rgba(0, 0, 0, 0.05);







}







/* Przycisk CTA artykułu naukowego Prof. Piotra Olczaka */



.prof-article-cta-wrap {



  margin-top: 14px;



  padding-top: 14px;



  border-top: 1px solid rgba(0, 0, 0, 0.08);



}







.btn-prof-article {



  width: 100%;



  display: grid;



  grid-template-columns: auto 1fr auto;



  align-items: center;



  gap: 12px;



  padding: 12px 14px;



  border-radius: 14px;



  background: linear-gradient(135deg, #f0f7ff 0%, #e0f2fe 100%);



  border: 1.5px solid #bae6fd;



  text-align: left;



  cursor: pointer;



  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);



  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.06);



}







.btn-prof-article:hover {



  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);



  border-color: #0284c7;



  transform: translateY(-2px);



  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.18);



}







.article-btn-badge {



  display: flex;



  flex-direction: column;



  align-items: center;



  background: #0284c7;



  color: #ffffff;



  padding: 4px 8px;



  border-radius: 7px;



  line-height: 1.15;



}







.article-btn-badge .mdpi-logo-mini {



  font-size: 11px;



  font-weight: 900;



  letter-spacing: 0.05em;



}







.article-btn-badge .journal-name {



  font-size: 9px;



  font-weight: 600;



  opacity: 0.92;



}







.article-btn-info {



  display: flex;



  flex-direction: column;



  gap: 2px;



  min-width: 0;



}







.article-btn-title {



  font-size: 13px;



  font-weight: 700;



  color: #0c4a6e;



}







.article-btn-sub {



  font-size: 11px;



  color: #0369a1;



  white-space: nowrap;



  overflow: hidden;



  text-overflow: ellipsis;



}







.article-btn-action {



  display: flex;



  align-items: center;



  gap: 4px;



  font-size: 11.5px;



  font-weight: 700;



  color: #0284c7;



  padding: 5px 10px;



  background: #ffffff;



  border-radius: 999px;



  border: 1px solid #bae6fd;



  white-space: nowrap;



  transition: all 0.2s ease;



}







.btn-prof-article:hover .article-btn-action {



  background: #0284c7;



  color: #ffffff;



  border-color: #0284c7;



}







.btn-prof-article:hover .btn-action-icon {



  transform: translateX(3px);



}







.btn-action-icon {



  display: inline-block;



  transition: transform 0.2s ease;



}







.article-micro-meta {



  display: flex;



  align-items: center;



  flex-wrap: wrap;



  gap: 6px;



  font-size: 10.5px;



  color: #64748b;



  margin-top: 8px;



  padding-left: 2px;



}















.institution-logo-box {







  width: 120px;







  height: 68px;







  background: #ffffff;







  border: 1px solid var(--border-light);







  border-radius: var(--radius-md);







  padding: 8px 12px;







  display: flex;







  align-items: center;







  justify-content: center;







  flex-shrink: 0;







  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);







}















.institution-logo-box img {







  max-width: 100%;







  max-height: 100%;







  object-fit: contain;







}















.institution-info {







  flex: 1;







}















.institution-info h4 {







  font-size: 16px;







  font-weight: 700;







  color: var(--text-primary);







  margin-bottom: 3px;







}















.institution-info p {







  font-size: 13px;







  color: var(--text-secondary);







  line-height: 1.4;







}















.institution-link-btn {







  display: inline-flex;







  align-items: center;







  gap: 6px;







  padding: 8px 16px;







  border-radius: var(--radius-full);







  background: #ffffff;







  border: 1px solid var(--border-light);







  color: var(--accent-blue);







  font-size: 13px;







  font-weight: 600;







  white-space: nowrap;







  transition: all 0.2s ease;







}















.institution-card:hover .institution-link-btn {







  background: var(--accent-blue);







  color: #ffffff;







  border-color: var(--accent-blue);







}















/* ==========================================================================







   INTERACTIVE WALL LAYER INSPECTOR (TECHNOLOGIA SIP)







   ========================================================================== */







.wall-section {







  padding: 110px 0;







  background: var(--bg-secondary);







}















/* Wall Variant Switcher Tabs (Apple Segmented Control) */







.wall-variant-tabs {







  display: flex;







  justify-content: center;







  gap: 12px;







  margin-bottom: 38px;







  flex-wrap: wrap;







}















.wall-tab-btn {







  background: #ffffff;







  border: 1px solid var(--border-light);







  border-radius: var(--radius-full);







  padding: 10px 22px;







  font-family: inherit;







  cursor: pointer;







  display: inline-flex;







  align-items: center;







  gap: 10px;







  transition: all 0.25s ease;







  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);







}















.wall-tab-btn .tab-badge {







  font-size: 11px;







  font-weight: 700;







  text-transform: uppercase;







  letter-spacing: 0.05em;







  padding: 4px 9px;







  border-radius: var(--radius-full);







  background: var(--bg-tertiary);







  color: var(--text-secondary);







  transition: all 0.2s ease;







}















.wall-tab-btn .tab-title {







  font-size: 14px;







  font-weight: 600;







  color: var(--text-primary);







  transition: all 0.2s ease;







}















.wall-tab-btn:hover {







  background: #ffffff;







  border-color: rgba(0, 113, 227, 0.4);







  transform: translateY(-2px);







  box-shadow: var(--shadow-sm);







}















.wall-tab-btn.active {







  background: #ffffff;







  border-color: var(--accent-blue);







  box-shadow: 0 4px 16px rgba(0, 113, 227, 0.16);







}















.wall-tab-btn.active .tab-badge {







  background: var(--accent-blue);







  color: #ffffff;







}















.wall-tab-btn.active .tab-title {







  color: var(--accent-blue);







}















.wall-inspector-grid {







  display: grid;







  grid-template-columns: 1fr 1fr;







  gap: 48px;







  align-items: center;







}















.wall-visual-box {







  background: #ffffff;







  border: 1px solid var(--border-light);







  border-radius: var(--radius-xl);







  padding: 32px;







  text-align: center;







  position: relative;







  box-shadow: var(--shadow-sm);







}















.wall-diagram-img {







  display: block;







  width: auto;







  max-width: 320px;







  max-height: 310px;







  margin: 14px auto;







  object-fit: contain;







  border-radius: var(--radius-md);







  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.06));







}















.layer-list {







  display: flex;







  flex-direction: column;







  gap: 10px;







}















.layer-item {







  padding: 14px 18px;







  border-radius: var(--radius-md);







  background: #ffffff;







  border: 1px solid var(--border-light);







  display: flex;







  align-items: center;







  gap: 16px;







  cursor: pointer;







  transition: all 0.2s ease;







}















.layer-item:hover {







  border-color: var(--accent-blue);







  transform: translateX(4px);







}















.layer-item.active {







  border-color: var(--accent-blue);







  box-shadow: 0 4px 16px rgba(0, 113, 227, 0.12);







}















.layer-num {







  width: 28px;







  height: 28px;







  border-radius: 50%;







  background: var(--bg-tertiary);







  color: var(--text-secondary);







  font-size: 12px;







  font-weight: 700;







  display: flex;







  align-items: center;







  justify-content: center;







  flex-shrink: 0;







}















.layer-item.active .layer-num {







  background: var(--accent-blue);







  color: #ffffff;







}















.layer-title {







  font-size: 14px;







  font-weight: 600;







  color: var(--text-primary);







}















.layer-spec {







  font-size: 12px;







  color: var(--text-secondary);







  margin-left: auto;







  font-family: var(--font-mono);







}















/* ==========================================================================







   INTERACTIVE SAVINGS CALCULATOR (APPLE STYLE)







   ========================================================================== */







.calculator-section {







  padding: 110px 0;







  background: #ffffff;







}















.calc-box {







  background: var(--bg-secondary);







  border: 1px solid var(--border-light);







  border-radius: var(--radius-xl);







  padding: 48px;







  display: grid;







  grid-template-columns: 1fr 1fr;







  gap: 50px;







  box-shadow: var(--shadow-md);







}















.calc-inputs {







  display: flex;







  flex-direction: column;







  gap: 28px;







}















.calc-group {







  display: flex;







  flex-direction: column;







  gap: 10px;







}















.calc-label-row {







  display: flex;







  justify-content: space-between;







  align-items: baseline;







}















.calc-label {







  font-size: 15px;







  font-weight: 600;







  color: var(--text-primary);







}















.calc-value-badge {







  font-size: 16px;







  font-weight: 700;







  color: var(--accent-blue);







}















.calc-slider {







  -webkit-appearance: none;







  width: 100%;







  height: 6px;







  border-radius: 3px;







  background: var(--bg-tertiary);







  outline: none;







}















.calc-slider::-webkit-slider-thumb {







  -webkit-appearance: none;







  appearance: none;







  width: 22px;







  height: 22px;







  border-radius: 50%;







  background: var(--accent-blue);







  cursor: pointer;







  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);







  transition: transform 0.15s ease;







}















.calc-slider::-webkit-slider-thumb:hover {







  transform: scale(1.15);







}















.calc-model-chips {







  display: flex;







  gap: 10px;







  flex-wrap: wrap;







}















.calc-model-chip {







  flex: 1;







  min-width: 100px;







  padding: 10px 8px;







  text-align: center;







  background: #ffffff;







  border: 1px solid var(--border-light);







  border-radius: var(--radius-sm);







  font-size: 13px;







  font-weight: 600;







  color: var(--text-secondary);







  cursor: pointer;







  transition: all 0.2s ease;







}















.calc-model-chip.active {







  border-color: var(--accent-blue);







  color: var(--accent-blue);







  box-shadow: var(--shadow-sm);







}















.calc-results-card {







  position: relative;







  overflow: hidden;







  background: linear-gradient(135deg, #17181b 0%, #25262a 100%);







  color: #ffffff;







  border-radius: var(--radius-lg);







  padding: 36px;







  display: flex;







  flex-direction: column;







  justify-content: space-between;







  border: 1px solid rgba(255, 255, 255, 0.12);







  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28), 0 0 35px -8px rgba(52, 199, 89, 0.18);







  isolation: isolate;







}















/* Travelling Glossy Light Beam across the Results Card (Animacja Polysku) */







.calc-results-card::before {







  content: '';







  position: absolute;







  top: -50%;







  left: -50%;







  width: 200%;







  height: 200%;







  background: linear-gradient(







    115deg,







    transparent 32%,







    rgba(255, 255, 255, 0.04) 43%,







    rgba(255, 255, 255, 0.16) 50%,







    rgba(52, 199, 89, 0.16) 53%,







    rgba(255, 255, 255, 0.06) 57%,







    transparent 68%







  );







  transform: rotate(-15deg);







  pointer-events: none;







  z-index: 1;







  animation: cardLightSweep 6.5s ease-in-out infinite;







}















@keyframes cardLightSweep {







  0% {







    transform: translate3d(-100%, -100%, 0) rotate(-15deg);







  }







  35%, 100% {







    transform: translate3d(100%, 100%, 0) rotate(-15deg);







  }







}















.calc-results-card > * {







  position: relative;







  z-index: 2;







}















.calc-results-header {







  font-size: 13px;







  text-transform: uppercase;







  letter-spacing: 0.05em;







  color: #a1a1a6;







}















.calc-highlight-num {







  font-size: clamp(38px, 4vw, 54px);







  font-weight: 800;







  letter-spacing: -0.03em;







  background: linear-gradient(90deg, #34c759 0%, #30d158 25%, #baf5c8 48%, #ffffff 52%, #30d158 75%, #34c759 100%);







  background-size: 200% auto;







  -webkit-background-clip: text;







  background-clip: text;







  -webkit-text-fill-color: transparent;







  line-height: 1.05;







  margin: 12px 0 6px;







  animation: textSheenGlow 5.2s linear infinite;







  filter: drop-shadow(0 2px 18px rgba(52, 199, 89, 0.38));







  position: relative;







  z-index: 2;







}















@keyframes textSheenGlow {







  0% {







    background-position: 200% center;







  }







  100% {







    background-position: -200% center;







  }







}















.calc-highlight-sub {







  font-size: 14px;







  color: #d1d1d6;







  margin-bottom: 28px;







}















.calc-breakdown-list {







  display: flex;







  flex-direction: column;







  gap: 14px;







  border-top: 1px solid rgba(255, 255, 255, 0.12);







  padding-top: 20px;







  margin-bottom: 28px;







}















.breakdown-row {







  display: flex;







  justify-content: space-between;







  font-size: 14px;







}















.breakdown-label {







  color: #a1a1a6;







}















.breakdown-val {







  font-weight: 600;







  color: #ffffff;







}















/* Market Comparison Cards (Standard Home vs Active Home ~0 PLN) */







.calc-vs-grid {







  display: grid;







  grid-template-columns: 1fr 1fr;







  gap: 14px;







}















.calc-vs-card {







  border-radius: var(--radius-md);







  padding: 18px 16px;







  border: 1px solid var(--border-light);







  display: flex;







  flex-direction: column;







  gap: 4px;







}















.calc-vs-card.standard {







  background: #ffffff;







  border-color: rgba(255, 59, 48, 0.22);







}















.calc-vs-card.active-home {







  background: linear-gradient(145deg, rgba(52, 199, 89, 0.09) 0%, rgba(0, 113, 227, 0.06) 100%);







  border-color: rgba(52, 199, 89, 0.42);







}















.calc-vs-tag {







  font-size: 11.5px;







  font-weight: 700;







  text-transform: uppercase;







  letter-spacing: 0.03em;







  color: var(--text-secondary);







}















.calc-vs-card.active-home .calc-vs-tag {







  color: #1d8338;







}















.calc-vs-amount {







  font-size: 24px;







  font-weight: 800;







  letter-spacing: -0.03em;







  line-height: 1.15;







  margin-top: 2px;







}















.calc-vs-card.standard .calc-vs-amount {







  color: #e03126;







}















.calc-vs-card.active-home .calc-vs-amount {







  color: #24a148;







}















.calc-vs-yearly {







  font-size: 13px;







  font-weight: 700;







  color: var(--text-primary);







  margin-bottom: 4px;







}















.calc-vs-note {







  font-size: 11.5px;







  line-height: 1.45;







  color: var(--text-secondary);







}















/* 1, 2, 3, 5, 10 Years Savings Horizon Table */







.calc-horizon-table {







  display: flex;







  flex-direction: column;







  gap: 10px;







  border-top: 1px solid rgba(255, 255, 255, 0.12);







  padding-top: 18px;







  margin-bottom: 20px;







}















.horizon-row {







  display: grid;







  grid-template-columns: 145px 1fr auto;







  align-items: center;







  gap: 12px;







  padding: 8px 12px;







  border-radius: 10px;







  background: rgba(255, 255, 255, 0.04);







  font-size: 13.5px;







}















.horizon-row.highlight-10y {







  position: relative;







  overflow: hidden;







  background: rgba(52, 199, 89, 0.16);







  border: 1px solid rgba(52, 199, 89, 0.48);







  box-shadow: 0 0 22px rgba(52, 199, 89, 0.22);







  padding: 10px 12px;







  z-index: 2;







}















.horizon-row.highlight-10y::after {







  content: '';







  position: absolute;







  top: 0;







  left: -100%;







  width: 60%;







  height: 100%;







  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);







  pointer-events: none;







  animation: rowShimmerSweep 5s ease-in-out infinite 1.2s;







}















@keyframes rowShimmerSweep {







  0% {







    left: -100%;







  }







  32%, 100% {







    left: 200%;







  }







}















.calc-results-card .btn-primary {







  position: relative;







  overflow: hidden;







  z-index: 2;







}















.calc-results-card .btn-primary::after {







  content: '';







  position: absolute;







  top: 0;







  left: -120%;







  width: 60%;







  height: 100%;







  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);







  transform: skewX(-20deg);







  pointer-events: none;







  animation: btnGlossSweep 6.5s ease-in-out infinite 2.5s;







}















@keyframes btnGlossSweep {







  0% {







    left: -120%;







  }







  26%, 100% {







    left: 200%;







  }







}















.horizon-period {







  color: #d1d1d6;







  font-size: 13px;







}















.horizon-period strong {







  color: #ffffff;







  font-weight: 700;







}















.horizon-bar-wrap {







  height: 7px;







  background: rgba(255, 255, 255, 0.1);







  border-radius: 999px;







  overflow: hidden;







}















.horizon-bar {







  height: 100%;







  border-radius: 999px;







  background: linear-gradient(90deg, #0071e3 0%, #34c759 100%);







  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);







}















.horizon-val {







  font-weight: 700;







  font-size: 14.5px;







  color: #34c759;







  text-align: right;







  white-space: nowrap;







}















.horizon-row.highlight-10y .horizon-val {







  font-size: 16px;







  font-weight: 800;







  color: #4cd964;







}















@media (max-width: 768px) {







  .calc-vs-grid {







    grid-template-columns: 1fr;







  }







  .horizon-row {







    grid-template-columns: 120px 1fr auto;







    gap: 8px;







    padding: 8px 10px;







  }







}















/* ==========================================================================







   ENERGY MONITORING REAL REPORT DATA (NORD HTechnology May-Sep 2026)







   ========================================================================== */







.calc-report-card {







  background: #ffffff;







  border: 1px solid var(--border-light);







  border-radius: var(--radius-md);







  padding: 22px 20px;







  margin-bottom: 20px;







  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);







}















.calc-report-header {







  display: flex;







  justify-content: space-between;







  align-items: center;







  flex-wrap: wrap;







  gap: 12px;







  margin-bottom: 14px;







}















.calc-report-title-wrap {







  display: flex;







  align-items: center;







  gap: 10px;







}















.calc-report-icon-pill {







  display: inline-flex;







  align-items: center;







  justify-content: center;







  width: 34px;







  height: 34px;







  border-radius: 9px;







  background: rgba(0, 113, 227, 0.1);







  color: #0071e3;







  font-size: 17px;







}















.calc-report-heading {







  font-size: 15px;







  font-weight: 700;







  color: var(--text-primary);







  line-height: 1.25;







}















.calc-report-subheading {







  font-size: 12px;







  color: var(--text-secondary);







}















.calc-report-badge-source {







  font-size: 11px;







  font-weight: 700;







  text-transform: uppercase;







  letter-spacing: 0.04em;







  padding: 4px 10px;







  border-radius: 20px;







  background: rgba(52, 199, 89, 0.12);







  color: #1d8338;







  border: 1px solid rgba(52, 199, 89, 0.28);







}







.calc-case-meta {



  display: flex;



  align-items: center;



  flex-wrap: wrap;



  gap: 6px;



  margin: 5px 0 4px 0;



}







.calc-case-chip {



  display: inline-flex;



  align-items: center;



  gap: 4px;



  font-size: 11px;



  font-weight: 600;



  color: #1d1d1f;



  background: #f5f5f7;



  border: 1px solid rgba(0, 0, 0, 0.08);



  border-radius: 6px;



  padding: 2px 7px;



  line-height: 1.4;



}







.calc-case-chip .calc-case-ico {



  font-size: 12px;



}







.calc-case-callout {



  display: flex;



  align-items: flex-start;



  gap: 10px;



  background: #f9fbfd;



  border: 1px solid rgba(0, 113, 227, 0.16);



  border-left: 3px solid #0071e3;



  border-radius: 8px;



  padding: 10px 14px;



  margin: 12px 0 14px 0;



  font-size: 12px;



  line-height: 1.5;



  color: #48484a;



}







.calc-case-callout-icon {



  font-size: 15px;



  line-height: 1;



  flex-shrink: 0;



  margin-top: 1px;



}







.calc-case-callout-text strong {



  color: #1d1d1f;



  font-weight: 600;



}



















.calc-months-nav {







  display: flex;







  gap: 6px;







  flex-wrap: wrap;







  margin-bottom: 16px;







}















.calc-month-pill {







  padding: 6px 14px;







  border-radius: 20px;







  border: 1px solid var(--border-light);







  background: var(--bg-tertiary);







  color: var(--text-secondary);







  font-size: 12.5px;







  font-weight: 600;







  cursor: pointer;







  transition: all var(--transition-fast);







}















.calc-month-pill:hover {







  background: #f0f4f8;







  color: var(--text-primary);







  border-color: #0071e3;







}















.calc-month-pill.active {







  background: #0071e3;







  color: #ffffff;







  border-color: #0071e3;







  box-shadow: 0 2px 8px rgba(0, 113, 227, 0.25);







}















.calc-month-data-grid {







  display: grid;







  grid-template-columns: repeat(4, 1fr);







  gap: 10px;







  margin-bottom: 14px;







}















@media (max-width: 900px) {







  .calc-month-data-grid {







    grid-template-columns: repeat(2, 1fr);







  }







}















.calc-data-tile {







  background: var(--bg-tertiary);







  border-radius: var(--radius-sm);







  padding: 12px 14px;







  border: 1px solid rgba(0, 0, 0, 0.04);







}















.calc-data-tile.highlight-green {







  background: rgba(52, 199, 89, 0.08);







  border-color: rgba(52, 199, 89, 0.28);







}















.calc-data-tile.highlight-blue {







  background: rgba(0, 113, 227, 0.08);







  border-color: rgba(0, 113, 227, 0.28);







}















.calc-tile-label {







  font-size: 11px;







  font-weight: 600;







  text-transform: uppercase;







  color: var(--text-secondary);







  margin-bottom: 4px;







  letter-spacing: 0.02em;







}















.calc-tile-val {







  font-size: 19px;







  font-weight: 800;







  color: var(--text-primary);







  line-height: 1.2;







}















.calc-tile-val.green {







  color: #24a148;







}















.calc-tile-val.red {







  color: #e03126;







}















.calc-tile-sub {







  font-size: 11.5px;







  color: var(--text-secondary);







  margin-top: 3px;







}















/* 3 Empirical Pillars */







.calc-submeter-row {







  display: grid;







  grid-template-columns: repeat(3, 1fr);







  gap: 10px;







  margin-top: 14px;







  padding-top: 14px;







  border-top: 1px dashed var(--border-light);







}















@media (max-width: 768px) {







  .calc-submeter-row {







    grid-template-columns: 1fr;







  }







}















.calc-submeter-item {







  display: flex;







  align-items: flex-start;







  gap: 10px;







  padding: 10px 12px;







  border-radius: var(--radius-sm);







  background: var(--bg-tertiary);







  border: 1px solid rgba(0, 0, 0, 0.04);







}















.calc-submeter-icon {







  font-size: 20px;







  line-height: 1.1;







}















.calc-submeter-title {







  font-size: 12px;







  font-weight: 700;







  color: var(--text-primary);







  margin-bottom: 2px;







}















.calc-submeter-desc {







  font-size: 11px;







  color: var(--text-secondary);







  line-height: 1.35;







}















/* Arbitrage Slider Empirical Box - Ultra-High Contrast for Dark Panel */







.arbitrage-report-box {







  margin-top: 16px;







  padding: 14px 18px;







  border-radius: 14px;







  background: rgba(15, 23, 42, 0.88);







  border: 1px solid rgba(56, 189, 248, 0.32);







  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);







  display: flex;







  align-items: center;







  justify-content: space-between;







  flex-wrap: wrap;







  gap: 12px;







}















.arbitrage-report-lead {







  display: flex;







  align-items: center;







  gap: 12px;







  font-size: 13.5px;







  font-weight: 500;







  color: #f8fafc !important;







  line-height: 1.45;







  flex: 1 1 320px;







}















#arbitrageReportText {



  font-weight: 500;



  letter-spacing: 0.01em;



}







.system-diagram-card.card-theme-dark #arbitrageReportText {



  color: #f8fafc !important;



}







.system-diagram-card.card-theme-light #arbitrageReportText {



  color: #0f172a !important;



  font-weight: 600 !important;



}















.arbitrage-report-tag {







  font-size: 11px;







  font-weight: 700;







  text-transform: uppercase;







  background: rgba(16, 185, 129, 0.25);







  color: #34d399 !important;







  padding: 3px 10px;







  border-radius: 999px;







  border: 1px solid rgba(52, 211, 153, 0.6);







  white-space: nowrap;







  letter-spacing: 0.04em;







  box-shadow: 0 0 12px rgba(16, 185, 129, 0.25);







}















.arbitrage-report-fact {







  font-size: 13.5px;







  font-weight: 700;







  color: #38bdf8 !important;







  margin-left: auto;







  white-space: nowrap;







  text-shadow: 0 0 14px rgba(56, 189, 248, 0.5);







  letter-spacing: 0.02em;







}















/* ==========================================================================







   WARRANTY & TRANSPARENCY SECTION







   ========================================================================== */







.guarantee-section {







  padding: 100px 0;







  background: var(--bg-secondary);







}















.guarantee-grid {







  display: grid;







  grid-template-columns: repeat(4, 1fr);







  gap: 20px;







  margin-bottom: 50px;







}















.guarantee-card {







  background: #ffffff;







  border: 1px solid var(--border-light);







  border-radius: var(--radius-lg);







  padding: 28px;







  text-align: center;







  transition: transform 0.25s ease;







}















.guarantee-card:hover {







  transform: translateY(-4px);







  box-shadow: var(--shadow-md);







}















.guarantee-years {







  font-size: 42px;







  font-weight: 800;







  letter-spacing: -0.04em;







  color: var(--accent-blue);







  line-height: 1;







  margin-bottom: 6px;







}















.guarantee-name {







  font-size: 15px;







  font-weight: 700;







  color: var(--text-primary);







  margin-bottom: 4px;







}















.guarantee-desc {







  font-size: 12px;







  color: var(--text-secondary);







}















/* Investor responsibilities */







.investor-box {







  background: #ffffff;







  border: 1px solid var(--border-light);







  border-radius: var(--radius-xl);







  padding: 36px;







}















.investor-grid {







  display: grid;







  grid-template-columns: 1fr 1fr;







  gap: 32px;







}















.investor-col h4 {







  font-size: 18px;







  font-weight: 700;







  margin-bottom: 16px;







  display: flex;







  align-items: center;







  gap: 10px;







}















.investor-list {







  list-style: none;







  display: flex;







  flex-direction: column;







  gap: 12px;







}















.investor-list li {







  font-size: 14px;







  line-height: 1.5;







  color: var(--text-secondary);







  display: flex;







  align-items: flex-start;







  gap: 10px;







}















.investor-list li svg {







  flex-shrink: 0;







  margin-top: 3px;







}















/* ==========================================================================







   DIRECT CONTACT & HEADQUARTERS CARD (USER REQUIREMENT)







   Direct Phone: +48 888 466 158







   Mail: kontakt@active-home.eu







   Google Maps NORD HT Sp. z o.o.







   ========================================================================== */







.contact-section {







  padding: 110px 0;







  background: #ffffff;







}















.direct-contact-wrapper {







  background: var(--bg-secondary);







  border: 1px solid var(--border-light);







  border-radius: var(--radius-xl);







  padding: 56px;







  display: grid;







  grid-template-columns: 1.1fr 0.9fr;







  gap: 50px;







  box-shadow: var(--shadow-lg);







  position: relative;







  overflow: hidden;







}















.contact-action-card {







  background: #ffffff;







  border: 1px solid var(--border-light);







  border-radius: var(--radius-lg);







  padding: 28px;







  margin-bottom: 20px;







  box-shadow: var(--shadow-sm);







  transition: all 0.25s ease;







}















.contact-action-card:hover {







  border-color: var(--accent-blue);







  transform: translateY(-2px);







  box-shadow: var(--shadow-md);







}















.contact-phone-display {







  font-size: clamp(26px, 3.2vw, 36px);







  font-weight: 800;







  letter-spacing: -0.03em;







  line-height: 1.1;







  margin: 10px 0 16px;







  display: inline-block;







  background: linear-gradient(







    110deg,







    #0062cc 0%,







    #0071e3 35%,







    #6ec3ff 50%,







    #0071e3 65%,







    #005bb5 100%







  );







  background-size: 220% auto;







  -webkit-background-clip: text;







  background-clip: text;







  -webkit-text-fill-color: transparent;







  color: var(--accent-blue);







  filter: drop-shadow(0 2px 10px rgba(0, 113, 227, 0.22));







  animation: phoneShineGlow 4.2s ease-in-out infinite;







  transition: transform 0.25s ease, filter 0.25s ease;







}















.contact-phone-display:hover {







  transform: scale(1.02);







  filter: drop-shadow(0 4px 16px rgba(0, 113, 227, 0.38));







}















@keyframes phoneShineGlow {







  0% {







    background-position: 200% center;







    filter: drop-shadow(0 2px 8px rgba(0, 113, 227, 0.16));







  }







  50% {







    background-position: 0% center;







    filter: drop-shadow(0 3px 14px rgba(41, 151, 255, 0.34));







  }







  100% {







    background-position: -200% center;







    filter: drop-shadow(0 2px 8px rgba(0, 113, 227, 0.16));







  }







}















.contact-email-display {







  font-size: clamp(18px, 2.2vw, 24px);







  font-weight: 700;







  letter-spacing: -0.02em;







  color: var(--text-primary);







  margin: 8px 0 16px;







  display: block;







}















/* Interactive Map Card */







.map-embed-container {







  border-radius: var(--radius-lg);







  overflow: hidden;







  border: 1px solid var(--border-light);







  box-shadow: var(--shadow-sm);







  height: 380px;







  position: relative;







  background: #e5e5ea;







}















.map-embed-container iframe {







  width: 100%;







  height: 100%;







  border: none;







}















.map-open-pill {







  position: absolute;







  bottom: 16px;







  right: 16px;







  background: rgba(255, 255, 255, 0.96);







  backdrop-filter: blur(10px);







  border: 1px solid var(--border-light);







  border-radius: var(--radius-full);







  padding: 10px 18px;







  font-size: 13px;







  font-weight: 600;







  color: var(--text-primary);







  box-shadow: var(--shadow-md);







  display: inline-flex;







  align-items: center;







  gap: 8px;







  transition: all 0.2s ease;







}















.map-open-pill:hover {







  background: var(--text-primary);







  color: #ffffff;







}















/* ==========================================================================







   FOOTER (APPLE STYLE)







   ========================================================================== */







.global-footer {







  background: var(--bg-secondary);







  border-top: 1px solid var(--border-light);







  padding: 60px 0 40px;







  font-size: 12px;







  color: var(--text-tertiary);







}















.footer-top-notes {







  padding-bottom: 30px;







  border-bottom: 1px solid var(--border-light);







  margin-bottom: 30px;







  line-height: 1.6;







}















.footer-nav-grid {







  display: grid;







  grid-template-columns: repeat(4, 1fr);







  gap: 30px;







  margin-bottom: 40px;







}















.footer-col h5 {







  font-size: 12px;







  font-weight: 600;







  color: var(--text-primary);







  margin-bottom: 12px;







}















.footer-col ul {







  list-style: none;







  display: flex;







  flex-direction: column;







  gap: 8px;







}















.footer-col a {







  color: var(--text-secondary);







}















.footer-col a:hover {







  color: var(--text-primary);







}















.footer-legal-bar {







  display: flex;







  align-items: center;







  justify-content: space-between;







  padding-top: 20px;







  border-top: 1px solid var(--border-light);







  flex-wrap: wrap;







  gap: 12px;







}















/* ==========================================================================







   APPLE SHEET MODAL (TECH SPECS & FLOOR PLANS)







   ========================================================================== */







.modal-overlay {







  position: fixed;







  inset: 0;







  background: rgba(0, 0, 0, 0.45);







  backdrop-filter: blur(12px);







  -webkit-backdrop-filter: blur(12px);







  z-index: 2000;







  display: flex;







  align-items: center;







  justify-content: center;







  padding: 20px;







  opacity: 0;







  visibility: hidden;







  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);







}















.modal-overlay.active {







  opacity: 1;







  visibility: visible;







}















.modal-sheet {







  background: #ffffff;







  border-radius: var(--radius-xl);







  max-width: 960px;







  width: 100%;







  max-height: 90vh;







  display: flex;







  flex-direction: column;







  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.28);







  transform: translateY(24px) scale(0.98);







  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);







  overflow: hidden;







}















.modal-overlay.active .modal-sheet {







  transform: translateY(0) scale(1);







}















.modal-header {







  padding: 20px 28px;







  display: flex;







  align-items: center;







  justify-content: space-between;







  border-bottom: 1px solid var(--border-light);







}















.modal-title-group h3 {







  font-size: 22px;







  font-weight: 700;







  letter-spacing: -0.02em;







  color: var(--text-primary);







}















.modal-title-group p {







  font-size: 13px;







  color: var(--text-secondary);







}















.modal-close-btn {







  width: 32px;







  height: 32px;







  border-radius: 50%;







  background: var(--bg-tertiary);







  display: flex;







  align-items: center;







  justify-content: center;







  color: var(--text-primary);







  transition: background 0.2s ease;







}















.modal-close-btn:hover {







  background: #e5e5ea;







}















.modal-nav-tabs {







  display: flex;







  padding: 0 28px;







  background: var(--bg-secondary);







  border-bottom: 1px solid var(--border-light);







  gap: 20px;







}















.modal-tab-btn {







  padding: 14px 4px;







  font-size: 14px;







  font-weight: 500;







  color: var(--text-secondary);







  border-bottom: 2px solid transparent;







  transition: all 0.2s ease;







}















.modal-tab-btn.active {







  color: var(--text-primary);







  border-bottom-color: var(--accent-blue);







  font-weight: 600;







}















.modal-body-scroll {







  padding: 28px;







  overflow-y: auto;







  flex: 1;







}















.modal-tab-content {







  display: none;







}















.modal-tab-content.active {







  display: block;







}















.modal-floorplan-img {







  width: 100%;







  border-radius: var(--radius-md);







  border: 1px solid var(--border-light);







  box-shadow: var(--shadow-sm);







  margin-bottom: 24px;







}















.rooms-table {







  width: 100%;







  border-collapse: collapse;







  font-size: 14px;







  margin-top: 16px;







}















.rooms-table th, .rooms-table td {







  padding: 10px 14px;







  text-align: left;







  border-bottom: 1px solid var(--border-light);







}















.rooms-table th {







  background: var(--bg-secondary);







  font-weight: 600;







  color: var(--text-secondary);







  font-size: 12px;







  text-transform: uppercase;







}















.rooms-table tr:last-child td {







  font-weight: 700;







  border-bottom: none;







}















/* ==========================================================================







   RESPONSIVE QUERIES







   ========================================================================== */







@media (max-width: 1024px) {







  .nav-container {







    gap: 16px;







    padding: 0 18px;







  }







  .nav-links {







    gap: 6px;







  }







  .nav-links a {







    height: 36px;







    padding: 0 10px;







    font-size: 12.5px;







  }







  .nav-actions {







    gap: 14px;







  }







  .lang-switcher-btn {







    height: 36px;







    padding: 0 12px;







    font-size: 12.5px;







  }







  .nav-actions .btn-primary {







    height: 36px;







    padding: 0 16px;







    font-size: 12.5px;







  }







  .bento-card.span-8, .bento-card.span-4, .bento-card.span-6 {







    grid-column: span 12;







  }







  .models-grid {







    grid-template-columns: 1fr;







  }







  .science-grid {







    grid-template-columns: 1fr;







  }







  .algorithm-grid {







    grid-template-columns: 1fr;







  }







  .hardware-row {







    grid-template-columns: repeat(2, 1fr);







  }







  .wall-inspector-grid {







    grid-template-columns: 1fr;







  }







  .calc-box {







    grid-template-columns: 1fr;







  }







  .direct-contact-wrapper {







    grid-template-columns: 1fr;







  }







  .guarantee-grid {







    grid-template-columns: repeat(2, 1fr);







  }







  .investor-grid {







    grid-template-columns: 1fr;







  }







}















@media (max-width: 992px) {







  .nav-links, .phone-quick-link {







    display: none;







  }







  .nav-links.mobile-open {







    display: flex;







    position: absolute;







    top: var(--nav-height);







    left: 0;







    right: 0;







    background: rgba(255, 255, 255, 0.98);







    backdrop-filter: blur(20px);







    -webkit-backdrop-filter: blur(20px);







    flex-direction: column;







    padding: 24px;







    gap: 16px;







    border-bottom: 1px solid var(--border-light);







    box-shadow: var(--shadow-lg);







  }







  .nav-links.mobile-open a {







    font-size: 16px;







    font-weight: 600;







  }







  .mobile-toggle {







    display: flex;







  }







}















@media (max-width: 768px) {







  .metrics-strip {







    grid-template-columns: repeat(2, 1fr);







    gap: 16px;







    padding: 20px;







  }







  .floating-pill {







    display: none;







  }







  .footer-nav-grid {







    grid-template-columns: repeat(2, 1fr);







  }







  .direct-contact-wrapper {







    padding: 30px 20px;







  }







  .hero-main-img {







    max-height: 480px;







    object-fit: contain;







    object-position: center center;







  }







  .model-gallery-wrapper {







    aspect-ratio: 16 / 9;







    min-height: 200px;







    padding: 0 !important;







  }







  .model-img-main {







    max-height: none !important;







    object-fit: cover !important;







  }







  .hotspot-tag {







    font-size: 8px;







    padding: 2px 5px;







  }







  .hotspot-pulse {







    width: 9px;







    height: 9px;







  }







}















/* ==========================================================================







   HERO HOUSE CAROUSEL & NAVIGATION ARROWS (APPLE STYLE)







   ========================================================================== */







.hero-stage {







  position: relative;







  max-width: 1100px;







  margin: 0 auto;







  padding: 0 20px;







}















.hero-nav-arrow {







  position: absolute;







  top: 50%;







  transform: translateY(-50%) !important;







  width: 54px;







  height: 54px;







  border-radius: 50%;







  background: rgba(255, 255, 255, 0.94);







  backdrop-filter: blur(20px);







  -webkit-backdrop-filter: blur(20px);







  border: 1px solid rgba(0, 0, 0, 0.08);







  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);







  color: var(--text-primary);







  display: flex;







  align-items: center;







  justify-content: center;







  cursor: pointer;







  z-index: 15;







  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;







}















.hero-nav-arrow:hover {







  background: #ffffff;







  color: var(--accent-blue);







  transform: translateY(-50%) !important;







  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);







}















.hero-nav-arrow:active {







  background: #f1f5f9;







  transform: translateY(-50%) !important;







  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.10);







}















.hero-prev-btn {







  left: 36px;







}















.hero-next-btn {







  right: 36px;







}















/* Apple-style Model Selector Bar */







.hero-model-selector {







  display: flex;







  align-items: center;







  justify-content: center;







  gap: 8px;







  max-width: 760px;







  margin: 0 auto;







  padding: 6px;







  background: rgba(0, 0, 0, 0.04);







  border: 1px solid rgba(0, 0, 0, 0.06);







  border-radius: var(--radius-full);







  backdrop-filter: blur(12px);







  -webkit-backdrop-filter: blur(12px);







}















.hero-model-pill {







  flex: 1;







  display: flex;







  flex-direction: column;







  align-items: center;







  justify-content: center;







  padding: 10px 16px;







  border-radius: var(--radius-full);







  border: none;







  background: transparent;







  color: var(--text-secondary);







  cursor: pointer;







  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);







  text-decoration: none;







  user-select: none;







}















.hero-model-pill .model-pill-name {







  font-size: 14px;







  font-weight: 700;







  line-height: 1.2;







}















.hero-model-pill .model-pill-meta {







  font-size: 11px;







  font-weight: 500;







  opacity: 0.75;







  margin-top: 2px;







}















.hero-model-pill.active {







  background: #ffffff;







  color: var(--text-primary);







  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);







}















.hero-model-pill.active .model-pill-meta {







  color: var(--accent-blue);







  font-weight: 600;







  opacity: 1;







}















.hero-model-pill:hover:not(.active) {







  background: rgba(255, 255, 255, 0.6);







  color: var(--text-primary);







}















/* ==========================================================================







   HERO 3D ORBITING HOUSE CAROUSEL (VERTICAL / PHONE CARD FORMAT)







   ========================================================================== */







.hero-3d-carousel {







  position: relative;







  width: 100%;







  height: 550px;







  margin: 0 auto;







  perspective: 1350px;







  transform-style: preserve-3d;







  display: flex;







  align-items: center;







  justify-content: center;







  user-select: none;







}















.hero-3d-card {







  position: absolute;







  width: min(460px, 74vw);







  height: 510px;







  border-radius: 34px;







  overflow: hidden;







  background: #111318;







  border: 1px solid rgba(255, 255, 255, 0.28);







  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.22), 0 8px 24px rgba(0, 0, 0, 0.1);







  transition: transform 1.05s cubic-bezier(0.22, 1, 0.36, 1),







              opacity 1.05s cubic-bezier(0.22, 1, 0.36, 1),







              filter 1.05s cubic-bezier(0.22, 1, 0.36, 1),







              box-shadow 0.6s ease;







  will-change: transform, opacity, filter;







  cursor: pointer;







  backface-visibility: hidden;







}















.hero-3d-card .hero-main-img {







  width: 100%;







  height: 100%;







  max-height: none;







  object-fit: cover;







  object-position: center center;







  display: block;







  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);







}















.hero-3d-card.is-active:hover .hero-main-img {







  transform: scale(1.04);







}















.hero-card-caption {







  position: absolute;







  left: 18px;







  right: 18px;







  bottom: 18px;







  display: flex;







  align-items: center;







  justify-content: space-between;







  gap: 10px;







  padding: 10px 16px;







  border-radius: 999px;







  background: rgba(15, 17, 23, 0.74);







  backdrop-filter: blur(18px);







  -webkit-backdrop-filter: blur(18px);







  border: 1px solid rgba(255, 255, 255, 0.22);







  color: #ffffff;







  z-index: 4;







  pointer-events: none;







}















.hero-card-badge {







  font-size: 12px;







  font-weight: 800;







  letter-spacing: 0.04em;







  padding: 4px 10px;







  border-radius: 999px;







  background: var(--accent-blue);







  color: #ffffff;







}















.hero-card-sub {







  font-size: 13px;







  font-weight: 600;







  color: rgba(255, 255, 255, 0.94);







}















/* Center Active Card */







.hero-3d-card.is-active {







  transform: translate3d(0, 0, 0) rotateY(0deg) scale(1);







  opacity: 1;







  filter: brightness(1) blur(0px);







  z-index: 6;







  cursor: pointer;







  box-shadow: 0 36px 88px rgba(0, 0, 0, 0.30), 0 10px 30px rgba(0, 113, 227, 0.16);







}















.hero-3d-card.is-active:hover {







  cursor: pointer;







  box-shadow: 0 42px 96px rgba(0, 0, 0, 0.35), 0 12px 34px rgba(0, 113, 227, 0.22);







}















/* Right Tilted 3D Card */







.hero-3d-card.is-next {







  transform: translate3d(68%, 0, -190px) rotateY(-32deg) scale(0.85);







  opacity: 0.82;







  filter: brightness(0.76) blur(0.4px);







  z-index: 4;







}















.hero-3d-card.is-next:hover {







  opacity: 0.95;







  filter: brightness(0.92) blur(0px);







}















/* Left Tilted 3D Card */







.hero-3d-card.is-prev {







  transform: translate3d(-68%, 0, -190px) rotateY(32deg) scale(0.85);







  opacity: 0.82;







  filter: brightness(0.76) blur(0.4px);







  z-index: 4;







}















.hero-3d-card.is-prev:hover {







  opacity: 0.95;







  filter: brightness(0.92) blur(0px);







}















/* Back Orbiting Card */







.hero-3d-card.is-back {







  transform: translate3d(0, -16px, -380px) rotateY(0deg) scale(0.68);







  opacity: 0.25;







  filter: brightness(0.5) blur(2px);







  z-index: 2;







  pointer-events: auto;







  cursor: pointer;







}















@media (max-width: 768px) {







  .hero-nav-arrow {







    width: 44px;







    height: 44px;







  }







  .hero-prev-btn {







    left: 14px;







  }







  .hero-next-btn {







    right: 14px;







  }







  .hero-model-selector {







    flex-wrap: wrap;







    border-radius: var(--radius-md);







    gap: 6px;







  }







  .hero-model-pill {







    flex: 1 1 45%;







    border-radius: var(--radius-sm);







    padding: 8px 10px;







  }







}















/* NORD HT full product catalog - Smooth Auto-Scrolling Ecosystem Showcase */







.nord-catalog-card { padding: 48px 36px; }







.nord-catalog-header {







  text-align: center;







  max-width: 860px;







  margin: 0 auto 32px;







}







.nord-cat-tabs { display:flex; justify-content:center; flex-wrap:wrap; gap:8px; margin:24px 0 28px; }







.nord-cat-btn { border:1px solid var(--border-light); background:#fff; color:var(--text-primary); padding:9px 18px; border-radius:var(--radius-full); font:inherit; font-size:14px; font-weight:600; cursor:pointer; transition:all .25s cubic-bezier(.16,1,.3,1); }







.nord-cat-btn:hover { transform:translateY(-1px); border-color:rgba(0,113,227,.4); }







.nord-cat-btn.active { background:var(--accent-blue); color:#fff; border-color:var(--accent-blue); box-shadow:0 4px 16px rgba(0,113,227,.3); }







.nord-product-grid {







  display: flex;







  flex-wrap: nowrap;







  gap: 18px;







  overflow-x: auto;







  overflow-y: hidden;







  -webkit-overflow-scrolling: touch;







  padding: 6px 4px 18px 4px;







  scrollbar-width: thin;







  scrollbar-color: rgba(0, 113, 227, 0.35) transparent;







  user-select: none;







}







.nord-product-grid::-webkit-scrollbar {







  height: 6px;







}







.nord-product-grid::-webkit-scrollbar-track {







  background: rgba(0, 0, 0, 0.04);







  border-radius: 999px;







}







.nord-product-grid::-webkit-scrollbar-thumb {







  background: rgba(0, 113, 227, 0.35);







  border-radius: 999px;







}







.nord-product-grid::-webkit-scrollbar-thumb:hover {







  background: var(--accent-blue);







}







.nord-product-card.hidden {







  display: none !important;







}







.nord-product-card {







  background: #fff;







  border: 1.5px solid var(--border-light);







  border-radius: var(--radius-lg);







  overflow: hidden;







  display: flex;







  flex-direction: column;







  transition: all .35s cubic-bezier(.16, 1, .3, 1);







  animation: nordCardIn .4s cubic-bezier(.16, 1, .3, 1);







  position: relative;







  flex: 0 0 calc((100% - 64px) / 5);







  min-width: 220px;







  scroll-snap-align: start;







}







@media (max-width: 1200px) {







  .nord-product-card {







    flex: 0 0 250px;







    min-width: 250px;







  }







}







.nord-scroll-btn {







  width: 36px;







  height: 36px;







  border-radius: var(--radius-full);







  background: var(--bg-tertiary);







  border: 1px solid rgba(0, 0, 0, 0.08);







  display: inline-flex;







  align-items: center;







  justify-content: center;







  color: var(--text-primary);







  cursor: pointer;







  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);







}







.nord-scroll-btn:hover {







  background: var(--accent-blue);







  color: #fff;







  border-color: var(--accent-blue);







  transform: translateY(-1px);







  box-shadow: 0 4px 12px rgba(0, 113, 227, 0.25);







}







.nord-product-card:hover { transform:translateY(-4px); box-shadow:0 14px 34px rgba(0,0,0,.08); }







.nord-product-card.hidden { display:none; }







.nord-product-card.mode-highlight {







  border-color: var(--mode-color, #34c759);







  box-shadow: 0 10px 28px rgba(var(--mode-rgb, 52, 199, 89), 0.22), 0 0 0 1px var(--mode-color, #34c759);







  transform: translateY(-3px);







}







.nord-product-card.mode-standby {







  border-color: rgba(0, 0, 0, 0.08);







  opacity: 0.88;







}







.nord-product-media { height:170px; background:linear-gradient(180deg,#f5f5f7,#ffffff); display:flex; align-items:center; justify-content:center; padding:16px; position:relative; }







.nord-product-card.mode-highlight .nord-product-media {







  background: radial-gradient(circle at 50% 60%, rgba(var(--mode-rgb, 52, 199, 89), 0.14) 0%, #f5f5f7 75%);







}







.nord-product-media img { max-width:100%; max-height:100%; object-fit:contain; transition:transform .3s ease; }







.nord-product-card.mode-highlight .nord-product-media img { transform:scale(1.04); }







.nord-product-body { padding:16px 18px 18px; display:flex; flex-direction:column; gap:4px; flex:1; }







.nord-product-name { font-size:15px; font-weight:700; color:var(--text-primary); }







.nord-product-role { font-size:11px; font-weight:600; color:var(--accent-blue); text-transform:uppercase; letter-spacing:.04em; }







.nord-product-desc { font-size:12.5px; line-height:1.45; color:var(--text-secondary); margin:4px 0 8px; flex:1; }







.nord-product-badge { align-self:flex-start; font-size:11px; font-weight:600; padding:3px 9px; border-radius:var(--radius-full); background:rgba(0,113,227,.08); color:var(--accent-blue); }







.nord-product-card .hardware-mode-badge {







  display: inline-block;







  font-size: 11px;







  font-weight: 700;







  line-height: 1.35;







  padding: 6px 10px;







  border-radius: var(--radius-sm);







  margin-top: 8px;







  width: 100%;







  box-sizing: border-box;







  transition: all 0.3s ease;







}







.nord-product-card.mode-highlight .hardware-mode-badge {







  background: rgba(var(--mode-rgb, 52, 199, 89), 0.14);







  color: var(--mode-color, #34c759);







  border: 1px solid var(--mode-color, #34c759);







}







.nord-product-card.mode-standby .hardware-mode-badge {







  background: #f5f5f7;







  color: var(--text-secondary);







  border: 1px solid rgba(0, 0, 0, 0.08);







  font-weight: 600;







}







@keyframes nordCardIn { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:none; } }















/* ==========================================================================







   COMPREHENSIVE MOBILE & SMARTPHONE COMFORT OPTIMIZATION (<= 768px & <= 480px)







   ========================================================================== */







@media (max-width: 768px) {







  :root {







    --nav-height: 54px;







  }















  body {







    font-size: 15px;







  }















  .container,







  .container-wide {







    width: 92%;







  }















  /* 1. Navigation Bar & Mobile Menu */







  .nav-container {







    padding: 0 16px;







  }















  .brand-logo-img {







    height: 24px;







  }















  .brand-name {







    font-size: 15px;







  }















  .nav-actions {







    gap: 10px;







  }















  .lang-switcher-btn {







    height: 34px;







    padding: 0 12px;







    font-size: 12.5px;







    gap: 6px;







    box-sizing: border-box;







  }















  .lang-switcher-btn .lang-name {







    display: none;







  }















  .nav-actions .btn-primary {







    display: none !important;







  }















  /* 3D Rotating Phone-Format Cards on Mobile */







  .hero-3d-carousel {







    height: 390px;







    perspective: 1000px;







  }















  .hero-3d-card {







    width: 78%;







    height: 360px;







    border-radius: 24px;







  }















  .hero-3d-card.is-next {







    transform: translate3d(26%, 0, -140px) rotateY(-24deg) scale(0.84);







    opacity: 0.68;







  }















  .hero-3d-card.is-prev {







    transform: translate3d(-26%, 0, -140px) rotateY(24deg) scale(0.84);







    opacity: 0.68;







  }















  .hero-3d-card.is-back {







    transform: translate3d(0, -10px, -280px) rotateY(0deg) scale(0.7);







    opacity: 0.15;







  }















  .hero-card-caption {







    left: 12px;







    bottom: 12px;







    padding: 6px 12px;







    gap: 6px;







  }















  .hero-card-badge {







    font-size: 10.5px;







    padding: 2px 7px;







  }















  .hero-card-sub {







    font-size: 11px;







  }















  .mobile-toggle {







    display: flex !important;







    align-items: center;







    justify-content: center;







    width: 44px;







    height: 44px;







    min-width: 44px;







    min-height: 44px;







    padding: 10px 8px;







    border-radius: 10px;







    background: rgba(0, 0, 0, 0.04);







    border: 1px solid var(--border-light);







    margin-left: 8px;







    flex-shrink: 0;







    cursor: pointer;







    box-sizing: border-box;







    z-index: 1001;







  }







  .mobile-toggle span {







    display: block;







    width: 22px;







    height: 2px;







    background: var(--text-primary);







    border-radius: 2px;







    transition: all 0.25s ease;







  }







  .mobile-toggle.active span:nth-child(1) {







    transform: translateY(7px) rotate(45deg);







  }







  .mobile-toggle.active span:nth-child(2) {







    opacity: 0;







    transform: scaleX(0);







  }







  .mobile-toggle.active span:nth-child(3) {







    transform: translateY(-7px) rotate(-45deg);







  }















  .nav-links.mobile-open {







    max-height: calc(100vh - var(--nav-height));
  max-height: calc(100dvh - var(--nav-height));







    overflow-y: auto;







    padding: 20px 20px 28px;







    gap: 4px;







  }















  .nav-links.mobile-open li {







    width: 100%;







    border-bottom: 1px solid var(--border-subtle);







  }















  .nav-links.mobile-open li:last-child {







    border-bottom: none;







  }















  .nav-links.mobile-open a {







    display: block;







    padding: 12px 14px;







    border-radius: 12px;







    font-size: 16px;







    font-weight: 600;







    color: var(--text-primary);







  }















  .nav-links.mobile-open a.active {







    background: var(--accent-blue);







    color: #ffffff !important;







  }







  .nav-links.mobile-open .mobile-cta-li {







    display: block !important;







    margin-top: 10px;







    padding-top: 10px;







    border-top: 1px solid var(--border-light);







    border-bottom: none;







  }







  .nav-links.mobile-open .mobile-menu-cta {







    display: flex !important;







    align-items: center;







    justify-content: center;







    width: 100% !important;







    box-sizing: border-box;







    text-align: center;







    padding: 14px 20px !important;







    font-size: 15px !important;







    font-weight: 700 !important;







    background: var(--accent-blue) !important;







    color: #ffffff !important;







    border-radius: 12px !important;







    box-shadow: 0 4px 14px rgba(0, 113, 227, 0.3) !important;







  }















  /* 2. Hero Section & Model Switcher */







  .hero-section {







    padding-top: calc(var(--nav-height) + 28px);







    padding-bottom: 48px;







  }















  .hero-eyebrow {







    font-size: 11px;







    padding: 5px 12px;







    line-height: 1.35;







    max-width: 100%;







    text-align: center;







    white-space: normal;







  }















  .hero-headline {







    font-size: clamp(28px, 7.5vw, 38px);







    line-height: 1.12;







    margin-bottom: 14px;







  }















  .hero-subhead {







    font-size: 15px;







    line-height: 1.5;







    margin-bottom: 24px;







    padding: 0 4px;







  }















  .hero-cta-group {







    flex-direction: column;







    align-items: stretch;







    gap: 10px;







    margin-bottom: 28px;







    max-width: 380px;







    margin-left: auto;







    margin-right: auto;







  }















  .hero-cta-group .btn-large,







  .hero-cta-group .btn-pdf {







    width: 100%;







    justify-content: center;







    padding: 13px 20px;







    font-size: 14px;







  }















  .hero-stage {







    padding: 0;







  }















  .hero-image-wrapper {







    border-radius: var(--radius-lg);







  }















  .hero-nav-arrow {







    width: 38px;







    height: 38px;







    background: rgba(255, 255, 255, 0.88);







  }















  .hero-prev-btn {







    left: 8px;







  }















  .hero-next-btn {







    right: 8px;







  }















  .hero-model-selector {







    display: grid;







    grid-template-columns: repeat(2, 1fr);







    gap: 6px;







    padding: 6px;







    border-radius: var(--radius-md);







    margin-top: 14px !important;







  }















  .hero-model-pill {







    padding: 9px 8px;







    border-radius: 10px;







  }















  .hero-model-pill .model-pill-name {







    font-size: 13px;







  }















  .hero-model-pill .model-pill-meta {







    font-size: 10.5px;







  }















  .metrics-strip {







    grid-template-columns: repeat(2, 1fr);







    gap: 14px;







    padding: 18px 14px;







    margin-top: 24px;







    border-radius: var(--radius-md);







  }















  .metric-value {







    font-size: 24px;







  }















  .metric-label {







    font-size: 11.5px;







    line-height: 1.3;







  }















  /* Trust Bar Logos */







  .hero-trust-bar {







    margin-top: 28px !important;







    padding-top: 20px;







  }















  .trust-logos-row {







    display: grid;







    grid-template-columns: repeat(2, 1fr);







    gap: 10px;







  }















  .trust-logo-item {







    height: 44px;







    padding: 6px 10px;







    width: 100%;







  }















  .trust-logo-item img {







    max-height: 26px;







    max-width: 120px;







  }















  /* 3. Section Spacing & Typography */







  .bento-section,







  .models-section,







  .system-section,







  .science-section,







  .wall-section,







  .calculator-section,







  .guarantee-section,







  .contact-section {







    padding: 56px 0;







  }















  .section-title {







    font-size: clamp(24px, 6.8vw, 32px);







    margin-bottom: 12px;







  }















  .section-desc {







    font-size: 14.5px;







    margin-bottom: 28px !important;







  }















  /* 4. Bento Cards & NORD HT Interactive House */







  .bento-grid {







    display: flex !important;







    flex-direction: column !important;







    gap: 18px !important;







    width: 100% !important;







    max-width: 100% !important;







  }







  .bento-card {







    width: 100% !important;







    max-width: 100% !important;







    min-width: 0 !important;







    grid-column: auto !important;







    padding: 22px 18px !important;







    border-radius: var(--radius-lg);







    box-sizing: border-box !important;







  }







  .nord-catalog-card {







    padding: 22px 14px !important;







    max-width: 100% !important;







    overflow: hidden !important;







    box-sizing: border-box !important;







  }







  .nord-catalog-header {







    width: 100% !important;







    max-width: 100% !important;







    margin: 0 auto 20px !important;







    box-sizing: border-box !important;







  }







  .nord-cat-toolbar {







    width: 100% !important;







    max-width: 100% !important;







    gap: 10px !important;







    box-sizing: border-box !important;







  }







  .nord-cat-tabs {







    display: flex !important;







    flex-wrap: wrap !important;







    justify-content: center !important;







    gap: 6px !important;







    margin: 12px 0 16px !important;







    width: 100% !important;







    max-width: 100% !important;







  }







  .nord-cat-btn {







    padding: 7px 12px !important;







    font-size: 12px !important;







    flex: 0 1 auto !important;







  }







  .nord-product-grid {







    width: 100% !important;







    max-width: 100% !important;







    box-sizing: border-box !important;







  }















  .bento-title {







    font-size: 20px;







  }















  .bento-desc {







    font-size: 14px;







  }















  .bento-media {







    height: 200px;







    margin-top: 16px;







  }















  .nord-interactive-card {







    padding: 24px 14px 20px;







    border-radius: var(--radius-lg);







  }















  .nord-interactive-title {







    font-size: 22px;







  }















  .nord-interactive-subtitle {







    font-size: 13.5px;







  }















  /* Horizontal swipeable pills for NORD HT house tabs on mobile */







  .nord-tabs-nav {







    display: flex;







    flex-wrap: nowrap;







    justify-content: flex-start;







    overflow-x: auto;







    -webkit-overflow-scrolling: touch;







    gap: 8px;







    margin: 18px -14px 20px;







    padding: 4px 14px 10px;







    scrollbar-width: none;







  }















  .nord-tabs-nav::-webkit-scrollbar {







    display: none;







  }















  .nord-tab-pill {







    flex: 0 0 auto;







    white-space: nowrap;







    padding: 9px 15px;







    font-size: 12.5px;







  }















  /* Smaller beacons on mobile so they don't crowd the house diagram */







  .nord-beacon {







    width: 18px;







    height: 18px;







  }















  .nord-beacon-dot {







    width: 6px;







    height: 6px;







    box-shadow: 0 0 6px 2px var(--beacon-color, #ffd000), 0 0 12px 4px var(--beacon-color, #ffd000);







  }















  .nord-beacon-ring {







    border-width: 1.5px;







  }















  .nord-tab-caption {







    margin-top: 16px;







    padding: 12px 14px;







    font-size: 13px;







    text-align: left;







  }















  .nord-external-link-btn {







    width: 100%;







    justify-content: center;







    font-size: 12px;







    padding: 10px 14px;







    text-align: center;







  }















  /* 5. Facade Light Simulator + NORD HT 18 Products Catalog */







  .nord-catalog-card {







    padding: 24px 16px;







  }















  .nord-light-and-header-row {







    gap: 20px;







    margin-bottom: 20px;







    padding-bottom: 20px;







  }















  .light-indicator-demo {







    height: auto;







    gap: 14px;







    padding: 18px 14px;







  }















  .facade-preview {







    height: 96px;







  }















  .light-modes {







    display: grid;







    grid-template-columns: repeat(2, 1fr);







    gap: 8px;







  }















  .light-mode-btn {







    padding: 10px 8px;







    font-size: 12.5px;







  }















  .nord-cat-tabs {







    display: flex;







    flex-wrap: nowrap;







    justify-content: flex-start !important;







    overflow-x: auto;







    -webkit-overflow-scrolling: touch;







    gap: 8px;







    margin: 0 -16px !important;







    padding: 4px 16px 8px;







    scrollbar-width: none;







  }















  .nord-cat-tabs::-webkit-scrollbar {







    display: none;







  }















  .nord-cat-btn {







    flex: 0 0 auto;







    white-space: nowrap;







    padding: 8px 14px;







    font-size: 13px;







  }















  .nord-product-grid {







    display: flex;







    flex-wrap: nowrap;







    overflow-x: auto;







    scroll-snap-type: x mandatory;







    gap: 12px;







    padding-bottom: 12px;







  }















  .nord-product-card {







    flex: 0 0 240px;







    min-width: 240px;







    scroll-snap-align: start;







  }















  .nord-product-media {







    height: 130px;







    padding: 12px;







  }















  .nord-product-body {







    padding: 12px;







  }















  .nord-product-name {







    font-size: 13.5px;







  }















  .nord-product-role {







    font-size: 10px;







  }















  .nord-product-desc {







    font-size: 11.5px;







    line-height: 1.4;







  }















  .nord-product-card .hardware-mode-badge {







    font-size: 10px;







    padding: 5px 8px;







  }















  /* 6. House Models Section */







  .filter-bar {







    display: flex;







    flex-wrap: nowrap;







    justify-content: flex-start;







    overflow-x: auto;







    -webkit-overflow-scrolling: touch;







    gap: 8px;







    margin: 0 -4% 28px;







    padding: 4px 4% 8px;







    scrollbar-width: none;







  }















  .filter-bar::-webkit-scrollbar {







    display: none;







  }















  .filter-btn {







    flex: 0 0 auto;







    white-space: nowrap;







    padding: 9px 16px;







    font-size: 13px;







  }















  .models-grid {







    gap: 24px;







  }















  .model-gallery-wrapper {







    aspect-ratio: 16 / 9;







    min-height: 190px;







    padding: 0 !important;







  }















  .model-badge {







    top: 12px;







    left: 12px;







    font-size: 10px;







    padding: 4px 10px;







  }















  .model-body {







    padding: 20px 16px;







  }















  .model-title {







    font-size: 24px;







  }















  .model-surface-headline {







    font-size: 13.5px;







  }















  .model-specs-grid {







    grid-template-columns: repeat(3, 1fr);







    gap: 8px;







    padding: 12px 0;







    margin-bottom: 18px;







  }















  .spec-cell-label {







    font-size: 10px;







  }















  .spec-cell-val {







    font-size: 12px;







  }















  .price-tabs-container {







    padding: 14px 12px;







    margin-bottom: 18px;







  }















  .price-tab-buttons {







    gap: 2px;







  }















  .price-tab-btn {







    font-size: 10.5px;







    padding: 7px 2px;







  }















  .price-display-amount {







    font-size: 22px;







  }















  .action-row-buttons {







    flex-direction: column;







    gap: 8px;







  }















  .action-row-buttons .btn-primary,







  .action-row-buttons .btn-secondary {







    width: 100%;







    padding: 12px;







    font-size: 13.5px;







  }















  /* 7. Science & Institutions Section */







  .science-grid {







    gap: 24px;







  }















  .professors-caption {







    padding: 16px;







  }















  .institution-card {







    flex-direction: column;







    align-items: flex-start;







    padding: 18px;







    gap: 12px;







  }















  .institution-logo-box {







    width: 120px;







    height: 56px;







  }















  .institution-link-btn {







    width: 100%;







    justify-content: center;







  }















  /* 8. Wall Layer Inspector (SIP 1-9) */







  .wall-variant-tabs {







    flex-direction: column;







    align-items: stretch;







    gap: 8px;







    margin-bottom: 24px;







  }















  .wall-tab-btn {







    width: 100%;







    justify-content: flex-start;







    padding: 10px 14px;







  }















  .wall-inspector-grid {







    gap: 24px;







  }















  .wall-visual-box {







    padding: 20px 16px;







  }















  .wall-diagram-img {







    max-height: 280px;







  }















  .layer-item {







    flex-wrap: wrap;







    padding: 12px 14px;







    gap: 10px;







  }















  .layer-title {







    flex: 1 1 calc(100% - 44px);







    font-size: 13px;







    line-height: 1.35;







  }















  .layer-spec {







    margin-left: 38px;







    width: 100%;







    font-size: 11px;







  }















  /* 9. Savings Calculator */







  .calc-box {







    padding: 22px 16px;







    gap: 24px;







    border-radius: var(--radius-lg);







  }















  .calc-label-row {







    flex-direction: column;







    align-items: flex-start;







    gap: 4px;







  }















  .calc-model-chips {







    display: grid;







    grid-template-columns: repeat(2, 1fr);







    gap: 8px;







  }















  .calc-model-chip {







    min-width: 0;







    padding: 10px 6px;







    font-size: 12.5px;







  }















  .calc-results-card {







    padding: 24px 18px;







  }















  .calc-highlight-num {







    font-size: 32px;







  }















  .breakdown-row {







    flex-direction: column;







    gap: 2px;







    font-size: 13px;







  }















  /* 10. Guarantees & Investor Box */







  .guarantee-grid {







    grid-template-columns: repeat(2, 1fr);







    gap: 12px;







    margin-bottom: 28px;







  }















  .guarantee-card {







    padding: 18px 12px;







  }















  .guarantee-years {







    font-size: 28px;







  }















  .guarantee-name {







    font-size: 13.5px;







  }















  .investor-box {







    padding: 22px 16px;







    border-radius: var(--radius-lg);







  }















  /* 11. Contact & Map */







  .direct-contact-wrapper {







    padding: 24px 16px;







    gap: 24px;







    border-radius: var(--radius-lg);







  }















  .contact-action-card {







    padding: 20px 16px;







  }















  .contact-phone-display {







    font-size: 24px;







  }















  .contact-email-display {







    font-size: 16px;







    word-break: break-all;







  }















  .map-embed-container {







    height: 280px;







  }















  /* 12. Modal Sheet (Tech Specs & Floor Plans) */







  .modal-overlay {







    padding: 10px;







    align-items: flex-end;







  }















  .modal-sheet {







    max-height: 92vh;







    border-radius: 22px 22px 14px 14px;







  }















  .modal-header {







    padding: 16px 18px;







  }















  .modal-title-group h3 {







    font-size: 17px;







  }















  .modal-nav-tabs {







    padding: 0 16px;







    gap: 14px;







    overflow-x: auto;







    -webkit-overflow-scrolling: touch;







    scrollbar-width: none;







  }















  .modal-nav-tabs::-webkit-scrollbar {







    display: none;







  }















  .modal-tab-btn {







    flex: 0 0 auto;







    white-space: nowrap;







    font-size: 13px;







    padding: 12px 2px;







  }















  .modal-body-scroll {







    padding: 16px;







  }















  .rooms-table th,







  .rooms-table td {







    padding: 8px 10px;







    font-size: 12.5px;







  }







}















/* Extra Small Phones (<= 480px) */







@media (max-width: 480px) {







  .nord-product-card {







    flex: 0 0 82vw;







    min-width: 260px;







    scroll-snap-align: start;







  }















  .nord-product-media {







    height: 150px;







  }















  .model-specs-grid {







    grid-template-columns: 1fr;







    gap: 8px;







  }















  .spec-cell {







    flex-direction: row;







    justify-content: space-between;







    align-items: center;







  }















  .price-tab-buttons {







    flex-direction: column;







    gap: 4px;







  }















  .price-tab-btn {







    padding: 8px;







    font-size: 12px;







  }















  .footer-nav-grid {







    grid-template-columns: 1fr;







    gap: 20px;







  }







}















/* Compact Hardware Row inside Bento Card (Span 8) */







.hardware-bento-grid {







  display: grid;







  grid-template-columns: repeat(4, 1fr);







  gap: 12px;







  margin-top: auto;







}















.hardware-bento-grid .hardware-card {







  padding: 0;







  border-radius: var(--radius-md);







  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);







}















.hardware-bento-grid .hardware-card-media {







  height: 120px;







  padding: 10px;







}















.hardware-bento-grid .hardware-card-body {







  padding: 12px;







}















.hardware-bento-grid .hardware-name {







  font-size: 13px;







  font-weight: 700;







  margin-bottom: 2px;







}















.hardware-bento-grid .hardware-role {







  font-size: 10px;







  margin-bottom: 6px;







}















.hardware-bento-grid .hardware-desc {







  font-size: 11px;







  line-height: 1.35;







  margin-bottom: 8px;







  display: -webkit-box;







  -webkit-line-clamp: 3;







  -webkit-box-orient: vertical;







  overflow: hidden;







}















.hardware-bento-grid .hardware-badge-pill {







  font-size: 9px;







  padding: 2px 6px;







  margin-top: auto;







}















.hardware-bento-grid .hardware-mode-badge {







  font-size: 10px;







  padding: 3px 6px;







  margin-top: 6px;







}















@media (max-width: 992px) {







  .hardware-bento-grid {







    grid-template-columns: repeat(2, 1fr);







  }







}















@media (max-width: 576px) {







  .hardware-bento-grid {







    grid-template-columns: 1fr;







  }







}















/* Apple Style Ambient Energy Flow Background */







.bento-section {







  position: relative;







  overflow: hidden;







}















.apple-flow-canvas {







  position: absolute;







  inset: 0;







  width: 100%;







  height: 100%;







  pointer-events: none;







  z-index: 0;







  opacity: 0.85;







}















.bento-section .container {







  position: relative;







  z-index: 2;







}















/* ==========================================================================







   NORD HT INTERACTIVE HOUSE - ANIMATIONS & GLOW (APPLE STYLE)







   ========================================================================== */







.nord-interactive-card {







  transition: box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;







  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35), 0 0 60px -15px var(--nord-card-glow, rgba(204, 160, 58, 0.3));







}















/* Glowing Aura Behind & Inside the House Stage - Smooth Dual-Aura Morphing */







.nord-stage-aura {



  position: absolute;



  inset: -20px;



  border-radius: var(--radius-xl);



  pointer-events: none;



  z-index: 1;



  filter: blur(42px);



  opacity: 0;



  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1);



  animation: stageAuraBreath 5s ease-in-out infinite;



  will-change: opacity;



}







.nord-stage-aura.active {



  opacity: 0.78;



}







@keyframes stageAuraBreath {



  0%, 100% {



    transform: scale(0.99);



  }



  50% {



    transform: scale(1.02);



  }



}







/* Subtle Travelling Energy Light Beam across the House Stage */







.nord-stage-shimmer {



  position: absolute;



  inset: 0;



  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.08) 50%, transparent 70%);



  background-size: 260% 100%;



  pointer-events: none;



  z-index: 3;



  animation: energyShimmer 8s cubic-bezier(0.4, 0, 0.2, 1) infinite;



}







@keyframes energyShimmer {



  0% {



    background-position: 220% 0;



  }



  100% {



    background-position: -220% 0;



  }



}







/* Multi-Layer House Stack & 60fps GPU Composited Crossfade */







.nord-house-stack {



  position: relative;



  width: 100%;



  aspect-ratio: 16 / 9;



  overflow: hidden;



  border-radius: var(--radius-lg);



  z-index: 2;



  background: #000000;



}







.nord-house-layer-img {



  position: absolute;



  inset: 0;



  width: 100%;



  height: 100%;



  object-fit: cover;



  opacity: 0;



  transform: scale(0.992);



  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);



  pointer-events: none;



  will-change: opacity, transform;



}







.nord-house-layer-img.active {



  opacity: 1;



  transform: scale(1);



  pointer-events: auto;



  z-index: 3;



}







/* Fallback for single image switching */







.nord-house-base-img {



  position: relative;



  z-index: 2;



  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;



}







.nord-house-base-img.switching {



  opacity: 0.2;



  transform: scale(0.988);



  filter: brightness(1.2);



}







/* Pulsing Beacons Layer on the House with Apple Spring Bloom */







.nord-beacons-layer {



  position: absolute;



  inset: 0;



  pointer-events: none;



  z-index: 4;



}







.nord-beacon {



  position: absolute;



  transform: translate(-50%, -50%) scale(0);



  width: 26px;



  height: 26px;



  display: flex;



  align-items: center;



  justify-content: center;



  pointer-events: auto;



  cursor: pointer;



  z-index: 5;



  animation: beaconBloom 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;



  animation-delay: var(--beacon-delay, 0s);



  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.18s ease;



  will-change: transform, opacity;



}







.nord-beacon.leaving {



  opacity: 0 !important;



  transform: translate(-50%, -50%) scale(0.3) !important;



  pointer-events: none;



}







@keyframes beaconBloom {



  0% {



    transform: translate(-50%, -50%) scale(0);



    opacity: 0;



  }



  75% {



    transform: translate(-50%, -50%) scale(1.18);



    opacity: 1;



  }



  100% {



    transform: translate(-50%, -50%) scale(1);



    opacity: 1;



  }



}







.nord-beacon-dot {



  width: 8px;



  height: 8px;



  border-radius: 50%;



  background: #ffffff;



  box-shadow: 0 0 6px 2px var(--beacon-color, #ffd000), 0 0 12px 3px var(--beacon-color, #ffd000);



  position: relative;



  z-index: 2;



  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);



}







.nord-beacon:hover .nord-beacon-dot {



  transform: scale(1.35);



}







.nord-beacon-ring {



  position: absolute;



  inset: 2px;



  border-radius: 50%;



  border: 1.5px solid var(--beacon-color, #ffd000);



  opacity: 0.75;



  animation: beaconPulse 2.2s cubic-bezier(0.1, 0.7, 0.1, 1) infinite;



  pointer-events: none;



}







.nord-beacon-ring.delayed {



  animation-delay: 0.7s;



}







@keyframes beaconPulse {



  0% {



    transform: scale(0.4);



    opacity: 0.9;



  }



  70% {



    opacity: 0.2;



  }



  100% {



    transform: scale(1.6);



    opacity: 0;



  }



}







.nord-beacon-tooltip {



  position: absolute;



  bottom: calc(100% + 7px);



  left: 50%;



  transform: translateX(-50%) translateY(4px);



  background: rgba(18, 18, 20, 0.92);



  backdrop-filter: blur(12px);



  -webkit-backdrop-filter: blur(12px);



  color: #ffffff;



  font-family: var(--font-sans);



  font-size: 11.5px;



  font-weight: 600;



  letter-spacing: 0.01em;



  padding: 5px 11px;



  border-radius: var(--radius-full);



  border: 1px solid rgba(255, 255, 255, 0.16);



  white-space: nowrap;



  pointer-events: none;



  opacity: 0;



  visibility: hidden;



  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);



  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);



  z-index: 10;



}







.nord-beacon:hover .nord-beacon-tooltip {



  opacity: 1;



  visibility: visible;



  transform: translateX(-50%) translateY(0);



}







/* Glowing Pulsing Active Tab Pill with Tactile Feedback */







.nord-tab-pill {



  transition: background 0.3s cubic-bezier(0.16, 1, 0.3, 1),



              color 0.25s cubic-bezier(0.16, 1, 0.3, 1),



              border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1),



              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),



              transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);



  will-change: transform, box-shadow;



}







.nord-tab-pill:hover {



  background: rgba(255, 255, 255, 0.18);



  color: #ffffff;



  transform: translateY(-2px);



}







.nord-tab-pill:active {



  transform: translateY(0) scale(0.96);



}







.nord-tab-pill.active {



  animation: activePillGlowPulse 2.8s ease-in-out infinite;



}







@keyframes activePillGlowPulse {



  0%, 100% {



    transform: translateY(-2px);



    box-shadow: 0 4px 18px var(--pill-glow-color, rgba(255, 255, 255, 0.35)), 0 0 24px 4px var(--pill-glow-color, rgba(255, 255, 255, 0.2));



  }



  50% {



    transform: translateY(-3px);



    box-shadow: 0 6px 26px var(--pill-glow-color, rgba(255, 255, 255, 0.5)), 0 0 38px 10px var(--pill-glow-color, rgba(255, 255, 255, 0.3));



  }



}







/* Dynamic Pill Colors with Glow Variables */







.nord-tab-pill[data-nord-tab="kompleksowe"].active {



  background: #ffffff;



  color: #000000;



  border-color: #ffffff;



  --pill-glow-color: rgba(255, 255, 255, 0.45);



}







.nord-tab-pill[data-nord-tab="fotowoltaika"].active {



  background: #cca03a;



  color: #ffffff;



  border-color: #ffd000;



  --pill-glow-color: rgba(255, 185, 0, 0.55);



}







.nord-tab-pill[data-nord-tab="elektromobilnosc"].active {



  background: #34c759;



  color: #ffffff;



  border-color: #55f07a;



  --pill-glow-color: rgba(52, 199, 89, 0.55);



}







.nord-tab-pill[data-nord-tab="grzewcza"].active {



  background: #ff453a;



  color: #ffffff;



  border-color: #ff6961;



  --pill-glow-color: rgba(255, 69, 58, 0.55);



}







.nord-tab-pill[data-nord-tab="rekuperacja"].active {



  background: #0071e3;



  color: #ffffff;



  border-color: #409cff;



  --pill-glow-color: rgba(0, 113, 227, 0.55);



}







/* Caption Entrance Transition with Glide Fade */







.nord-tab-caption {



  margin-top: 24px;



  background: rgba(255, 255, 255, 0.06);



  border: 1px solid rgba(255, 255, 255, 0.14);



  border-left: 4px solid var(--nord-caption-border, #cca03a);



  border-radius: var(--radius-md);



  padding: 16px 24px;



  text-align: center;



  font-size: 15px;



  line-height: 1.6;



  color: #e5e5ea;



  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1),



              transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),



              border-left-color 0.4s ease;



  will-change: opacity, transform;



}







.nord-tab-caption.fade-out {



  opacity: 0;



  transform: translateY(6px);



}











/* ==========================================================================







   GLOBAL FULL-PAGE APPLE AMBIENT ENERGY FLOW LINES







   ========================================================================== */







.apple-flow-canvas {







  position: fixed;







  top: 0;







  left: 0;







  width: 100vw;







  height: 100vh;
  height: 100dvh;







  pointer-events: none;







  z-index: 0;







  opacity: 1;







}















/* Ensure all page sections are transparent so the energy lines flow across the entire page */







.hero-section,







.bento-section,







.models-section,







.wall-section,







.calculator-section,







.guarantee-section,







.science-section {







  background: transparent !important;







  position: relative;







  z-index: 1;







}















/* Keep cards distinct with frosted glass or crisp backgrounds */







.hero-stage,







.bento-card,







.model-card,







.calc-box,







.guarantee-card,







.institution-card,







.professors-card {







  position: relative;







  z-index: 2;







}















/* Profile photos in professor cards */







.prof-avatar-badge.has-photo{width:72px;height:72px;padding:0;overflow:hidden;background:#e2e8f0;border:3px solid #fff;box-shadow:0 0 0 2px var(--accent-blue),0 6px 16px rgba(0,0,0,.15);flex-shrink:0}







.prof-avatar-badge.has-photo img{width:100%;height:100%;object-fit:cover;object-position:center 20%;display:block;border-radius:50%}















.nord-house-stage { line-height: 0; }







.nord-beacons-layer { line-height: normal; }















/* Partner logos - compact single row */







#partnerzy .hero-trust-bar{display:flex;flex-direction:column;align-items:center;gap:20px;text-align:center}







#partnerzy .trust-bar-label{display:block;font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--text-secondary)}







#partnerzy .trust-logos-row{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:center;gap:clamp(20px,4vw,56px);width:100%}







#partnerzy .trust-logo-item{display:flex;align-items:center;justify-content:center;flex:0 1 auto;height:44px;opacity:.85;transition:opacity .2s ease,transform .2s ease}







#partnerzy .trust-logo-item:hover{opacity:1;transform:translateY(-2px)}







#partnerzy .trust-logo-item img{height:100%;width:auto;max-width:150px;object-fit:contain;display:block}







@media (max-width:640px){







  #partnerzy .trust-logos-row{flex-wrap:wrap;gap:18px 24px}







  #partnerzy .trust-logo-item{height:32px}







  #partnerzy .trust-logo-item img{max-width:110px}







}















/* AI HEMS diagram - smaller, no upscaling blur */







.system-diagram-wrapper{max-width:760px;margin-left:auto;margin-right:auto}







.system-diagram-img{width:100%;max-width:none;height:auto;object-fit:fill;image-rendering:auto}







.system-diagram-wrapper:hover .system-diagram-img{transform:none}















/* Wall inspector diagram sizing - optimal sharpness and native scale */







.wall-visual-box {







  display: flex;







  flex-direction: column;







  align-items: stretch;







}







.wall-visual-box .wall-diagram-img {







  display: block;







  width: auto;







  max-width: 310px;







  max-height: 295px;







  margin: 10px auto 14px;







  object-fit: contain;







}







@media (max-width: 768px) {







  .wall-visual-box .wall-diagram-img {







    max-width: 250px;







    max-height: 240px;







  }







}















/* ==========================================================================







   AI HEMS AGENT DIAGRAM MULTILINGUAL OVERLAYS







   ========================================================================== */







.system-diagram-wrapper {







  container-type: inline-size;







}















.diagram-overlays-layer {







  position: absolute;







  inset: 0;







  pointer-events: none;







  opacity: 0;







  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1);







  z-index: 6;







}















/* Automatically display overlay tiles when document language is not Polish */







html:not([lang="pl"]) .diagram-overlays-layer,







body.lang-non-pl .diagram-overlays-layer {







  opacity: 1;







}















html[lang="pl"] .diagram-overlays-layer {







  opacity: 0 !important;







  pointer-events: none !important;







}















.diagram-tile {







  position: absolute;







  background: #080f22;







  border: 1px solid rgba(41, 151, 255, 0.55);







  border-radius: 6px;







  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.15);







  color: #ffffff;







  display: flex;







  align-items: center;







  justify-content: center;







  text-align: center;







  font-weight: 700;







  text-transform: uppercase;







  letter-spacing: 0.03em;







  padding: 2px 4px;







  box-sizing: border-box;







  line-height: 1.15;







  user-select: none;







  backdrop-filter: blur(4px);







  overflow: hidden;







}















/* 1. Main Header Title: "LIDER ZARZĄDZANIA DOMOWĄ ENERGIĄ" -> "HOME ENERGY MANAGEMENT LEADER" */







.diagram-tile.tile-title {



  top: 1.2%;



  left: 18.2%;



  width: 56.8%;



  height: 6.8%;



  font-size: clamp(8px, 1.25cqw, 13.5px);



  font-weight: 800;



  letter-spacing: 0.05em;



  text-transform: uppercase;



  background: #07152b;



  border: 1.5px solid rgba(41, 151, 255, 0.75);



  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.55);



  display: flex;



  align-items: center;



  justify-content: center;



}















/* 2. Under NORD HT logo: "PRODUCENT WSZYSTKICH PRODUKTÓW" -> "MANUFACTURER OF ALL PRODUCTS" */







.diagram-tile.tile-manufacturer {







  top: 7.2%;







  left: 0.2%;







  width: 13.5%;







  height: 7.8%;







  font-size: clamp(6.5px, 0.9cqw, 9.5px);







  background: #060b1b;







  border-color: rgba(255, 255, 255, 0.28);







}















/* 3. Above Heat Pump: "ŹRÓDŁO CIEPŁA" -> "HEAT SOURCE" */







.diagram-tile.tile-heat {







  top: 27.8%;







  left: 1.5%;







  width: 13.8%;







  height: 4.8%;







  font-size: clamp(7px, 1.05cqw, 11px);







  background: #070e20;







  border-color: rgba(255, 149, 0, 0.55);







}















/* 4. Above Batteries: "MAGAZYNOWANIE ENERGII ELEKTRYCZNEJ" -> "ELECTRICAL ENERGY STORAGE" */







.diagram-tile.tile-elec-storage {







  top: 29.2%;







  left: 61.8%;







  width: 36.0%;







  height: 4.8%;







  font-size: clamp(7px, 1.05cqw, 11.5px);







  background: #071026;







  border-color: rgba(41, 151, 255, 0.55);







}















/* 5. Above Thermal Tanks: "MAGAZYNOWANIE ENERGII CIEPLNEJ" -> "THERMAL ENERGY STORAGE" */







.diagram-tile.tile-thermal-storage {







  top: 59.5%;







  left: 65.2%;







  width: 31.5%;







  height: 7.2%;







  font-size: clamp(7px, 1.05cqw, 11.5px);







  background: #070f25;







  border-color: rgba(239, 68, 68, 0.55);







}















/* 6. Above AirFlow: "WENTYLACJA I KLIMATYZACJA" -> "VENTILATION & CLIMATE" */







.diagram-tile.tile-ventilation {







  top: 70.0%;







  left: 25.8%;







  width: 14.2%;







  height: 10.5%;







  font-size: clamp(6.5px, 0.95cqw, 10px);







  background: #070e22;







  border-color: rgba(0, 180, 216, 0.55);







}















/* ==========================================================================







   AI HEMS AGENT 24H ARBITRAGE SIMULATOR & ANIMATED ENERGY FLOWS







   ========================================================================== */







.diagram-energy-flow-svg {







  position: absolute;







  inset: 0;







  width: 100%;







  height: 100%;







  pointer-events: none;







  z-index: 5;







}















.energy-cable-path {







  fill: none;







  stroke-width: 3.2px;







  stroke-linecap: round;







  stroke-linejoin: round;







  opacity: 0;







  transition: opacity 0.35s ease, stroke 0.35s ease, filter 0.35s ease;







}















.energy-cable-path.active {







  opacity: 0.96;







}















/* Green flow: Buying from grid / EcoMode charging */







.energy-cable-path.green-flow {







  stroke: #10b981;







  stroke-dasharray: 8 16;







  filter: drop-shadow(0 0 5px #10b981) drop-shadow(0 0 10px rgba(16, 185, 129, 0.65));







  animation: flowForward 1.05s linear infinite;







}















/* Solar flow: PV generating / Self-consumption */







.energy-cable-path.solar-flow {







  stroke: #fbbf24;







  stroke-dasharray: 8 16;







  filter: drop-shadow(0 0 5px #f59e0b) drop-shadow(0 0 12px rgba(245, 158, 11, 0.7));







  animation: flowForward 0.9s linear infinite;







}















/* Sell flow: Peak grid export (Brain -> Grid: OD MÓZGU DO SIECI) */







.energy-cable-path.sell-flow {







  stroke: #00f2fe;







  stroke-dasharray: 8 16;







  filter: drop-shadow(0 0 7px #00d2ff) drop-shadow(0 0 14px rgba(0, 210, 255, 0.85));







  animation: flowForward 0.8s linear infinite;







}















/* Grid Buy flow: Grid -> Brain (Inward import) */







.energy-cable-path.grid-buy-flow {







  stroke: #10b981;







  stroke-dasharray: 8 16;







  filter: drop-shadow(0 0 5px #10b981) drop-shadow(0 0 10px rgba(16, 185, 129, 0.65));







  animation: flowReverse 1.05s linear infinite;







}















/* Heat flow: Red thermal energy bus */







.energy-cable-path.heat-flow {







  stroke: #ff453a;







  stroke-dasharray: 8 16;







  filter: drop-shadow(0 0 5px #ff453a) drop-shadow(0 0 10px rgba(255, 69, 58, 0.65));







  animation: flowForward 1.3s linear infinite;







}















/* Cool flow: Blue ventilation / clima bus */







.energy-cable-path.cool-flow {







  stroke: #00b4d8;







  stroke-dasharray: 8 16;







  filter: drop-shadow(0 0 5px #00b4d8) drop-shadow(0 0 10px rgba(0, 180, 216, 0.65));







  animation: flowForward 1.2s linear infinite;







}















.energy-cable-path.flow-reverse {







  animation-direction: reverse;







}















@keyframes flowForward {







  from { stroke-dashoffset: 48; }







  to { stroke-dashoffset: 0; }







}















@keyframes flowReverse {







  from { stroke-dashoffset: 0; }







  to { stroke-dashoffset: 48; }







}















/* Arbitrage Panel Container */







.diagram-arbitrage-panel {







  margin-top: 24px;







  background: #090e1d;







  border: 1px solid rgba(255, 255, 255, 0.1);







  border-radius: 20px;







  padding: 24px 28px 20px;







  color: #ffffff;







  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);







  text-align: left;







}















.arbitrage-slider-header {







  display: flex;







  align-items: center;







  justify-content: space-between;







  flex-wrap: wrap;







  gap: 12px;







  margin-bottom: 14px;







}















.arbitrage-time-badge {







  display: inline-flex;







  align-items: center;







  gap: 10px;







  font-size: 14px;







}















.arbitrage-clock-icon {







  font-size: 18px;







}















.arbitrage-time-label {







  color: #94a3b8;







  font-size: 13.5px;







}















.arbitrage-time-badge strong {







  font-size: 22px;







  font-family: var(--font-mono, monospace);







  color: #ffffff;







  letter-spacing: 0.04em;







}















.arbitrage-phase-pill {







  display: inline-block;







  padding: 4px 12px;







  border-radius: 999px;







  background: rgba(41, 151, 255, 0.15);







  border: 1px solid rgba(41, 151, 255, 0.35);







  color: #38bdf8;







  font-size: 12.5px;







  font-weight: 600;







  transition: all 0.3s ease;







}















.arbitrage-play-btn {



  display: inline-flex;



  align-items: center;



  gap: 8px;



  padding: 8px 18px;



  border-radius: 999px;



  background: linear-gradient(135deg, #0284c7 0%, #0071e3 50%, #2563eb 100%);



  border: 1.5px solid rgba(255, 255, 255, 0.45);



  color: #ffffff;



  font-size: 13px;



  font-weight: 700;



  letter-spacing: 0.01em;



  cursor: pointer;



  position: relative;



  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, background 0.3s ease;



  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.45);



  user-select: none;



}







/* Pulsing invitation to click while stopped (namawia do klikniecia) */



.arbitrage-play-btn:not(.playing) {



  animation: ctaPlayPulse 2.2s cubic-bezier(0.4, 0, 0.6, 1) infinite;



}







@keyframes ctaPlayPulse {



  0% {



    transform: scale(1);



    box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.75), 0 4px 14px rgba(2, 132, 199, 0.45);



  }



  50% {



    transform: scale(1.055);



    box-shadow: 0 0 0 9px rgba(2, 132, 199, 0), 0 8px 22px rgba(2, 132, 199, 0.7);



  }



  100% {



    transform: scale(1);



    box-shadow: 0 0 0 0 rgba(2, 132, 199, 0), 0 4px 14px rgba(2, 132, 199, 0.45);



  }



}







.arbitrage-play-btn:not(.playing):hover {



  transform: scale(1.08);



  box-shadow: 0 0 0 10px rgba(2, 132, 199, 0.25), 0 10px 26px rgba(2, 132, 199, 0.75);



}







.arbitrage-play-btn:active {



  transform: scale(0.96) !important;



}







/* Stan odtwarzania - bez pulsowania! */



.arbitrage-play-btn.playing {



  animation: none !important;



  transform: scale(1) !important;



  background: linear-gradient(135deg, #059669 0%, #10b981 100%) !important;



  border-color: rgba(255, 255, 255, 0.45) !important;



  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.45) !important;



  color: #ffffff !important;



}







.arbitrage-play-btn.playing:hover {



  background: linear-gradient(135deg, #047857 0%, #059669 100%) !important;



  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.55) !important;



}















/* Time Slider Track */







.arbitrage-slider-track-wrap {







  margin-bottom: 18px;







}















.arbitrage-slider {







  width: 100%;







  height: 8px;







  border-radius: 6px;







  background: linear-gradient(to right, #0f172a 0%, #1e3a8a 25%, #f59e0b 50%, #0284c7 75%, #0f172a 100%);







  outline: none;







  -webkit-appearance: none;







  cursor: pointer;







}















.arbitrage-slider::-webkit-slider-thumb {







  -webkit-appearance: none;







  width: 24px;







  height: 24px;







  border-radius: 50%;







  background: #0071e3;







  border: 3px solid #ffffff;







  box-shadow: 0 0 12px rgba(0, 113, 227, 0.8);







  cursor: grab;







  transition: transform 0.15s ease, background-color 0.15s ease;







}















.arbitrage-slider::-webkit-slider-thumb:hover {







  transform: scale(1.18);







  background: #2563eb;







}















.arbitrage-slider-ticks {







  display: flex;







  justify-content: space-between;







  margin-top: 6px;







  font-size: 11px;







  color: #64748b;







  font-family: var(--font-mono, monospace);







  padding: 0 4px;







}















/* Presets Row */







.arbitrage-presets-row {







  display: grid;







  grid-template-columns: repeat(4, 1fr);







  gap: 10px;







  margin-bottom: 20px;







}















.arbitrage-preset-btn {







  background: #0f172a;







  border: 1px solid rgba(255, 255, 255, 0.08);







  border-radius: 12px;







  padding: 10px 12px;







  text-align: left;







  cursor: pointer;







  display: flex;







  flex-direction: column;







  gap: 3px;







  transition: all 0.2s ease;







  color: #ffffff;







}















.arbitrage-preset-btn:hover {







  background: #1e293b;







  border-color: rgba(255, 255, 255, 0.2);







  transform: translateY(-2px);







}















.arbitrage-preset-btn.active {







  background: #1e293b;







  border-color: #0071e3;







  box-shadow: 0 0 0 1px #0071e3, 0 8px 20px rgba(0, 113, 227, 0.25);







}















.preset-icon {







  font-size: 16px;







  margin-bottom: 2px;







}















.preset-title {







  font-size: 13px;







  font-weight: 700;







  color: #f1f5f9;







}















.preset-sub {







  font-size: 11.5px;







  color: #cbd5e1 !important;







}















/* Status Card */







.arbitrage-status-card {







  background: #0c1427;







  border: 1px solid rgba(255, 255, 255, 0.08);







  border-radius: 16px;







  padding: 20px 22px;







}















.arbitrage-status-header {







  display: flex;







  align-items: center;







  justify-content: space-between;







  flex-wrap: wrap;







  gap: 12px;







  padding-bottom: 16px;







  margin-bottom: 16px;







  border-bottom: 1px solid rgba(255, 255, 255, 0.07);







}















.arbitrage-mode-indicator {







  display: inline-flex;







  align-items: center;







  gap: 10px;







}















.mode-pulse-dot {







  width: 12px;







  height: 12px;







  border-radius: 50%;







  background: #10b981;







  box-shadow: 0 0 10px #10b981;







  animation: pulseModeDot 1.4s infinite ease-in-out;







  flex-shrink: 0;







}















@keyframes pulseModeDot {







  0%, 100% { transform: scale(1); opacity: 1; }







  50% { transform: scale(1.3); opacity: 0.7; }







}















.mode-title {







  font-size: 14.5px;







  font-weight: 700;







  letter-spacing: 0.02em;







  color: #f8fafc;







}















.arbitrage-spot-price {







  font-size: 13.5px;







  color: #cbd5e1 !important;







  display: inline-flex;







  align-items: center;







  gap: 8px;







}















.arbitrage-spot-price strong {







  font-size: 16px;







  color: #f59e0b;







  font-family: var(--font-mono, monospace);







}















/* Metrics Grid */







.arbitrage-metrics-grid {







  display: grid;







  grid-template-columns: repeat(4, 1fr);







  gap: 14px;







  margin-bottom: 16px;







}















.arbitrage-metric-cell {







  background: #090e1d;







  border: 1px solid rgba(255, 255, 255, 0.06);







  border-radius: 12px;







  padding: 12px 14px;







  display: flex;







  flex-direction: column;







  gap: 4px;







}















.arbitrage-metric-cell.highlight {







  border-color: rgba(16, 185, 129, 0.35);







  background: rgba(16, 185, 129, 0.06);







}















.metric-label {







  font-size: 11.5px;







  color: #94a3b8;







  font-weight: 500;







}















.metric-val {







  font-size: 14px;







  font-weight: 700;







  color: #f1f5f9;







  line-height: 1.3;







}















.metric-val.profit {







  color: #10b981;







  font-size: 15px;







}















.metric-sub {







  font-size: 11.5px;







  color: #cbd5e1 !important;







  line-height: 1.35;







}















/* Devices Chips */







.arbitrage-active-devices {







  display: flex;







  flex-wrap: wrap;







  gap: 8px 12px;







}















.device-chip {







  display: inline-flex;







  align-items: center;







  gap: 6px;







  background: #0f172a;







  border: 1px solid rgba(255, 255, 255, 0.16);







  border-radius: 999px;







  padding: 6px 14px;







  font-size: 12.5px;







  color: #f1f5f9 !important;







}















.chip-dot {







  width: 7px;







  height: 7px;







  border-radius: 50%;







  flex-shrink: 0;







}















.chip-dot.green { background: #10b981; box-shadow: 0 0 6px #10b981; }







.chip-dot.yellow { background: #f59e0b; box-shadow: 0 0 6px #f59e0b; }







.chip-dot.blue { background: #0071e3; box-shadow: 0 0 6px #0071e3; }







.chip-dot.red { background: #ef4444; box-shadow: 0 0 6px #ef4444; }







.chip-dot.cyan { background: #00d2ff; box-shadow: 0 0 6px #00d2ff; }















@media (max-width: 900px) {







  .arbitrage-presets-row {







    grid-template-columns: repeat(2, 1fr);







  }







  .arbitrage-metrics-grid {







    grid-template-columns: repeat(2, 1fr);







  }







}















@media (max-width: 768px) {



  .arbitrage-report-box {



    flex-direction: column !important;



    align-items: stretch !important;



    gap: 10px !important;



    padding: 14px !important;



    width: 100% !important;



    box-sizing: border-box !important;



  }



  .arbitrage-report-lead {



    display: flex !important;



    flex-direction: column !important;



    align-items: flex-start !important;



    gap: 6px !important;



    flex: 1 1 auto !important;



    width: 100% !important;



    font-size: 13px !important;



    box-sizing: border-box !important;



  }



  #arbitrageReportText {



    white-space: normal !important;



    word-break: break-word !important;



    line-height: 1.4 !important;



  }



  .arbitrage-report-fact {



    margin-left: 0 !important;



    width: 100% !important;



    font-size: 13px !important;



  }



}







@media (max-width: 600px) {







  .diagram-arbitrage-panel {







    padding: 16px 14px 14px;







  }







  .arbitrage-presets-row {







    grid-template-columns: 1fr;







  }







  .arbitrage-metrics-grid {







    grid-template-columns: 1fr;







  }







  .arbitrage-time-badge strong {







    font-size: 18px;







  }







}















/* ==========================================================================







   DYNAMIC 24H CELESTIAL SKY & DAY/NIGHT AMBIENT ATMOSPHERE







   ========================================================================== */







#system {







  transition: background 0.6s cubic-bezier(0.16, 1, 0.3, 1);







}















.system-diagram-card {







  position: relative;







  transition: background 0.6s cubic-bezier(0.16, 1, 0.3, 1),







              border-color 0.4s ease,







              box-shadow 0.6s ease;







}















.system-diagram-title,







.system-diagram-desc {







  transition: color 0.4s ease;







}















.celestial-sky-viewport {



  position: relative;



  width: 100%;



  max-width: 760px;



  height: 138px;



  margin: 0 auto 18px;



  border-radius: 22px;



  overflow: hidden;



  background: linear-gradient(180deg, rgba(6, 11, 26, 0.88) 0%, rgba(12, 21, 46, 0.78) 100%);



  border: 1px solid rgba(255, 255, 255, 0.14);



  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12),



              inset 0 12px 32px rgba(0, 0, 0, 0.45),



              0 12px 32px -8px rgba(0, 0, 0, 0.28);



  user-select: none;



  backdrop-filter: blur(16px);



  -webkit-backdrop-filter: blur(16px);



  transition: background 0.65s cubic-bezier(0.16, 1, 0.3, 1),



              border-color 0.65s ease,



              box-shadow 0.65s ease;



}







.celestial-sky-glow {



  position: absolute;



  inset: 0;



  pointer-events: none;



  transition: background 0.65s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.65s ease;



  z-index: 1;



}







.celestial-starfield {



  position: absolute;



  inset: 0;



  pointer-events: none;



  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1);



  z-index: 2;



}







.celestial-star {



  position: absolute;



  width: 2.5px;



  height: 2.5px;



  background: #ffffff;



  border-radius: 50%;



  box-shadow: 0 0 6px rgba(255, 255, 255, 0.9), 0 0 12px rgba(186, 230, 253, 0.6);



  animation: celestialStarTwinkle 3.2s infinite ease-in-out;



}







.celestial-star.star-sm {



  width: 2px;



  height: 2px;



  opacity: 0.7;



}







.celestial-star.star-md {



  width: 2.8px;



  height: 2.8px;



}







.celestial-star.star-lg {



  width: 3.6px;



  height: 3.6px;



  box-shadow: 0 0 8px #ffffff, 0 0 16px rgba(125, 211, 252, 0.85);



}







@keyframes celestialStarTwinkle {



  0%, 100% { opacity: 0.25; transform: scale(0.75); }



  50% { opacity: 1; transform: scale(1.35); }



}







.celestial-orbit-svg {



  position: absolute;



  inset: 0;



  width: 100%;



  height: 100%;



  pointer-events: none;



  z-index: 2;



}







.celestial-orbit-glow {



  fill: none;



  stroke: rgba(255, 255, 255, 0.07);



  stroke-width: 5px;



  filter: blur(3px);



}







.celestial-orbit-track {



  fill: none;



  stroke-width: 1.6px;



  stroke-dasharray: 4 7;



  stroke-linecap: round;



}







.celestial-body {



  position: absolute;



  z-index: 4;



  transform: translate(-50%, -50%);



  transition: left 0.52s cubic-bezier(0.22, 1, 0.36, 1),



              top 0.52s cubic-bezier(0.22, 1, 0.36, 1),



              opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),



              transform 0.52s cubic-bezier(0.22, 1, 0.36, 1);



  pointer-events: none;



  display: flex;



  flex-direction: column;



  align-items: center;



  gap: 5px;



  will-change: left, top, transform, opacity;



}







.celestial-orb-wrap {



  position: relative;



  width: 44px;



  height: 44px;



  display: flex;



  align-items: center;



  justify-content: center;



}







/* Sun Body - Apple Weather Volumetric 3D Photosphere */



.celestial-sun {



  opacity: 1;



}







.sun-flare-aura {



  position: absolute;



  inset: -20px;



  border-radius: 50%;



  background: radial-gradient(circle,



    rgba(253, 224, 71, 0.55) 0%,



    rgba(245, 158, 11, 0.32) 38%,



    rgba(234, 88, 12, 0.12) 62%,



    rgba(245, 158, 11, 0) 78%);



  animation: sunAuraPulse 3.6s ease-in-out infinite;



  pointer-events: none;



  filter: blur(2px);



}







.sun-corona-ring {



  position: absolute;



  inset: -6px;



  border-radius: 50%;



  background: radial-gradient(circle,



    rgba(255, 251, 235, 0.85) 0%,



    rgba(253, 224, 71, 0.45) 55%,



    rgba(245, 158, 11, 0) 76%);



  pointer-events: none;



}







.sun-rays-spinner {



  position: absolute;



  width: 56px;



  height: 56px;



  pointer-events: none;



  animation: sunRaysRotate 28s linear infinite;



  opacity: 0.92;



  filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.8));



}







@keyframes sunRaysRotate {



  from { transform: rotate(0deg); }



  to { transform: rotate(360deg); }



}







@keyframes sunAuraPulse {



  0%, 100% { transform: scale(0.94); opacity: 0.82; }



  50% { transform: scale(1.16); opacity: 1; }



}







.sun-core-disc {



  position: relative;



  width: 34px;



  height: 34px;



  border-radius: 50%;



  background: radial-gradient(circle at 32% 30%,



    #ffffff 0%,



    #fffbeb 22%,



    #fde047 48%,



    #f59e0b 78%,



    #ea580c 100%);



  box-shadow: 0 0 14px 2px rgba(254, 240, 138, 0.95),



              0 0 28px 6px rgba(245, 158, 11, 0.72),



              0 0 52px 12px rgba(234, 88, 12, 0.38),



              inset -3px -3px 6px rgba(180, 83, 9, 0.45),



              inset 2px 2px 5px rgba(255, 255, 255, 0.9);



  border: 1.5px solid rgba(255, 255, 255, 0.92);



  overflow: hidden;



  z-index: 2;



}







.sun-specular-highlight {



  position: absolute;



  top: 4px;



  left: 6px;



  width: 12px;



  height: 7px;



  border-radius: 50%;



  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0) 75%);



  transform: rotate(-28deg);



  pointer-events: none;



}







/* Moon Body - Apple Weather Volumetric 3D Lunar Sphere */



.celestial-moon {



  opacity: 0;



}







.moon-halo-aura {



  position: absolute;



  inset: -18px;



  border-radius: 50%;



  background: radial-gradient(circle,



    rgba(186, 230, 253, 0.42) 0%,



    rgba(56, 189, 248, 0.22) 42%,



    rgba(30, 64, 175, 0.08) 65%,



    rgba(56, 189, 248, 0) 78%);



  animation: moonAuraPulse 4s ease-in-out infinite;



  pointer-events: none;



  filter: blur(2px);



}







.moon-corona-ring {



  position: absolute;



  inset: -5px;



  border-radius: 50%;



  background: radial-gradient(circle,



    rgba(240, 249, 255, 0.5) 0%,



    rgba(125, 211, 252, 0.25) 55%,



    rgba(56, 189, 248, 0) 75%);



  pointer-events: none;



}







@keyframes moonAuraPulse {



  0%, 100% { transform: scale(0.95); opacity: 0.75; }



  50% { transform: scale(1.14); opacity: 1; }



}







.moon-core-disc {



  position: relative;



  width: 34px;



  height: 34px;



  border-radius: 50%;



  background: radial-gradient(circle at 30% 28%,



    #ffffff 0%,



    #f1f5f9 26%,



    #cbd5e1 58%,



    #94a3b8 84%,



    #475569 100%);



  display: flex;



  align-items: center;



  justify-content: center;



  box-shadow: 0 0 14px 2px rgba(224, 242, 254, 0.8),



              0 0 28px 6px rgba(56, 189, 248, 0.48),



              0 0 48px 10px rgba(14, 165, 233, 0.25),



              inset -5px -4px 9px rgba(15, 23, 42, 0.55),



              inset 2px 2px 5px rgba(255, 255, 255, 0.92);



  border: 1.2px solid rgba(255, 255, 255, 0.88);



  overflow: hidden;



  z-index: 2;



}







.moon-surface-svg {



  width: 100%;



  height: 100%;



  pointer-events: none;



}







.moon-specular-highlight {



  position: absolute;



  top: 4px;



  left: 6px;



  width: 10px;



  height: 6px;



  border-radius: 50%;



  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0) 75%);



  transform: rotate(-25deg);



  pointer-events: none;



}







.celestial-badge-label {



  font-size: 10.5px;



  font-weight: 700;



  color: #ffffff;



  background: rgba(7, 12, 28, 0.78);



  padding: 2.5px 9px;



  border-radius: 999px;



  backdrop-filter: blur(10px);



  -webkit-backdrop-filter: blur(10px);



  border: 1px solid rgba(255, 255, 255, 0.24);



  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.18);



  white-space: nowrap;



  letter-spacing: 0.02em;



  line-height: 1.2;



}







.celestial-horizon-labels {



  position: absolute;



  bottom: 7px;



  left: 16px;



  right: 16px;



  display: flex;



  justify-content: space-between;



  align-items: center;



  font-size: 10.5px;



  font-weight: 600;



  color: rgba(255, 255, 255, 0.85);



  pointer-events: none;



  z-index: 3;



}







.celestial-horizon-labels .horizon-lbl {



  display: inline-flex;



  align-items: center;



  gap: 5px;



  padding: 2px 8px;



  border-radius: 999px;



  background: rgba(15, 23, 42, 0.42);



  border: 1px solid rgba(255, 255, 255, 0.1);



  backdrop-filter: blur(6px);



  -webkit-backdrop-filter: blur(6px);



  line-height: 1.2;



}







.celestial-horizon-labels .horizon-lbl svg {



  flex-shrink: 0;



  width: 12px;



  height: 12px;



}







.slider-instruction-header {



  display: inline-flex;



  align-items: center;



  justify-content: center;



  gap: 8px;



  font-size: 13.5px;



  font-weight: 600;



  color: #e2e8f0;



  margin-bottom: 6px;



}







.system-diagram-card.card-theme-light .slider-instruction-header {



  color: #334155 !important;



}







.system-diagram-card.card-theme-dark .slider-instruction-header {



  color: #e2e8f0 !important;



}







.slider-instruction-header svg {



  color: #38bdf8;



  flex-shrink: 0;



}







.system-diagram-card.card-theme-light .slider-instruction-header svg {



  color: #0071e3;



}







@media (max-width: 768px) {







  .celestial-sky-viewport {







    height: 94px;







    margin-bottom: 14px;







  }







  .sun-core-disc {







    width: 34px;







    height: 34px;







  }







  .moon-core-disc {







    width: 30px;







    height: 30px;







  }







  .celestial-horizon-labels {







    font-size: 9.5px;







    left: 8px;







    right: 8px;







    bottom: 4px;







  }







}















/* ==========================================================================







   NORD HT STANDALONE EQUIPMENT CONSULTATION BANNER







   ========================================================================== */







.equipment-consultation-banner {



  scroll-margin-top: calc(var(--nav-height, 70px) + 30px);



  transition: all 0.4s ease;







  margin-top: 36px;







  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(240, 246, 255, 0.94));







  border: 1px solid rgba(0, 113, 227, 0.22);







  border-radius: var(--radius-lg, 20px);







  padding: 26px 32px;







  box-shadow: 0 10px 30px rgba(0, 113, 227, 0.08);







  display: flex;







  align-items: center;







  justify-content: space-between;







  gap: 28px;







  backdrop-filter: blur(8px);







}







.equipment-consultation-banner:target {



  border-color: #0071e3 !important;



  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.25), 0 16px 40px rgba(0, 113, 227, 0.16) !important;



  animation: bannerPulse 1.2s ease 1;



}







@keyframes bannerPulse {



  0% { transform: scale(1); }



  50% { transform: scale(1.015); }



  100% { transform: scale(1); }



}



















.equipment-banner-content {







  display: flex;







  align-items: flex-start;







  gap: 18px;







  flex: 1;







}















.equipment-banner-icon {







  width: 48px;







  height: 48px;







  border-radius: 12px;







  background: var(--accent-blue-light, rgba(0, 113, 227, 0.1));







  color: var(--accent-blue, #0071e3);







  display: flex;







  align-items: center;







  justify-content: center;







  flex-shrink: 0;







}















.equipment-banner-title {







  font-size: 17px;







  font-weight: 700;







  color: var(--text-primary, #1d1d1f);







  margin-bottom: 6px;







  letter-spacing: -0.01em;







}















.equipment-banner-desc {







  font-size: 14px;







  line-height: 1.55;







  color: var(--text-secondary, #475569);







  margin: 0;







}















.equipment-banner-cta {







  flex-shrink: 0;







}















.equipment-banner-btn {







  display: inline-flex;







  align-items: center;







  gap: 10px;







  padding: 13px 24px;







  border-radius: 999px;







  background: var(--accent-blue, #0071e3);







  color: #ffffff !important;







  font-size: 14px;







  font-weight: 600;







  text-decoration: none;







  box-shadow: 0 4px 14px rgba(0, 113, 227, 0.3);







  transition: all 0.2s ease;







  white-space: nowrap;







}















.equipment-banner-btn:hover {







  background: #0077ed;







  transform: translateY(-2px);







  box-shadow: 0 6px 20px rgba(0, 113, 227, 0.4);







}















@media (max-width: 900px) {







  .equipment-consultation-banner {







    flex-direction: column;







    align-items: stretch;







    padding: 22px 20px;







    gap: 18px;







  }







  .equipment-banner-btn {







    width: 100%;







    justify-content: center;







  }







}























/* Apple Style Card Focus Pulse Highlight */







.card-focus-pulse {







  animation: cardFocusGlow 2.0s cubic-bezier(0.16, 1, 0.3, 1) !important;







}















@keyframes cardFocusGlow {







  0% {







    box-shadow: 0 0 0 0 rgba(0, 113, 227, 0.6), 0 12px 28px rgba(0, 0, 0, 0.08);







  }







  30% {







    box-shadow: 0 0 0 10px rgba(0, 113, 227, 0.35), 0 20px 45px rgba(0, 113, 227, 0.25);







    border-color: var(--accent-blue);







  }







  100% {







    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);







  }







}















/* Mobile Phone Containment & Polish */



html, body {



  overflow-x: hidden !important;



  max-width: 100vw !important;



  width: 100% !important;



}







@media (max-width: 560px) {



  .hardware-row {



    grid-template-columns: 1fr !important;



  }



  .system-diagram-card {



    padding: 20px 12px !important;



  }



}











/* ==========================================================================



   UNIFIED SINGLE-VIEW 3-COLUMN DIAGRAM DASHBOARD



   (LEFT: Telemetry | CENTER: Diagram & Sky | RIGHT: Money Rain & Profit)



   ========================================================================== */







.system-diagram-card {



  padding: 24px 24px 18px !important;



  max-width: 1280px;



  margin-left: auto;



  margin-right: auto;



}







.system-diagram-header {



  margin-bottom: 12px !important;



}







.system-diagram-title {



  margin: 6px 0 6px !important;



  font-size: clamp(20px, 2.2vw, 26px) !important;



}







.system-diagram-desc {



  font-size: 14px !important;



  line-height: 1.5 !important;



  max-width: 860px;



  margin: 0 auto !important;



}







.diagram-unified-dashboard {



  display: grid;



  grid-template-columns: 215px minmax(0, 1fr) 215px;



  gap: 14px;



  align-items: stretch;



  margin-top: 14px;



  margin-bottom: 12px;



}







/* LEWA KOLUMNA: Telemetria na żywo */



.diagram-telemetry-col {



  background: #090e1d;



  border: 1px solid rgba(255, 255, 255, 0.1);



  border-radius: 18px;



  padding: 12px 10px;



  display: flex;



  flex-direction: column;



  gap: 8px;



  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);



  text-align: left;



}







.telemetry-col-header {



  display: flex;



  align-items: center;



  gap: 8px;



  padding-bottom: 8px;



  border-bottom: 1px solid rgba(255, 255, 255, 0.08);



}







.telemetry-live-dot {



  width: 8px;



  height: 8px;



  border-radius: 50%;



  background: #10b981;



  box-shadow: 0 0 10px #10b981;



  animation: pulseLiveDot 2s infinite ease-in-out;



}







@keyframes pulseLiveDot {



  0%, 100% { opacity: 1; transform: scale(1); }



  50% { opacity: 0.5; transform: scale(0.85); }



}







.telemetry-header-title {



  font-size: 11px;



  font-weight: 700;



  letter-spacing: 0.08em;



  color: #94a3b8;



  text-transform: uppercase;



}







.telemetry-status-pill {



  margin-left: auto;



  font-size: 10px;



  font-weight: 700;



  padding: 2px 7px;



  border-radius: 6px;



  background: rgba(0, 242, 254, 0.15);



  border: 1px solid rgba(0, 242, 254, 0.3);



  color: #38bdf8;



  letter-spacing: 0.04em;



}







.telemetry-cards-stack {



  display: flex;



  flex-direction: column;



  gap: 7px;



  flex: 1;



  justify-content: space-between;



}







.telemetry-card {



  background: rgba(255, 255, 255, 0.04);



  border: 1px solid rgba(255, 255, 255, 0.07);



  border-radius: 11px;



  padding: 7px 9px;



  transition: all 0.25s ease;



}







.telemetry-card:hover {



  background: rgba(255, 255, 255, 0.07);



  border-color: rgba(255, 255, 255, 0.15);



  transform: translateX(2px);



}







.telemetry-card-top {



  display: flex;



  align-items: center;



  justify-content: space-between;



  margin-bottom: 3px;



}







.card-title-group {



  display: flex;



  align-items: center;



  gap: 6px;



}







.card-icon {



  font-size: 13px;



  line-height: 1;



}







.card-label {



  font-size: 11px;



  font-weight: 600;



  color: #cbd5e1;



}







.card-status-dot {



  width: 7px;



  height: 7px;



  border-radius: 50%;



  display: inline-block;



}







.card-status-dot.yellow { background: #facc15; box-shadow: 0 0 6px #facc15; }



.card-status-dot.cyan { background: #38bdf8; box-shadow: 0 0 6px #38bdf8; }



.card-status-dot.blue { background: #60a5fa; box-shadow: 0 0 6px #60a5fa; }



.card-status-dot.green { background: #10b981; box-shadow: 0 0 6px #10b981; }



.card-status-dot.purple { background: #c084fc; box-shadow: 0 0 6px #c084fc; }







.card-value-row {



  display: flex;



  align-items: baseline;



  justify-content: space-between;



  gap: 6px;



}







.card-primary-val {



  font-family: var(--font-mono, monospace);



  font-size: 15px;



  font-weight: 700;



  color: #ffffff;



  letter-spacing: -0.01em;



}







.card-peak-tag {



  font-size: 9.5px;



  font-weight: 600;



  color: #fbbf24;



  background: rgba(251, 191, 36, 0.15);



  padding: 1px 5px;



  border-radius: 4px;



}







.card-sub-label {



  font-size: 9.5px;



  color: #64748b;



  margin-top: 1px;



  white-space: nowrap;



  overflow: hidden;



  text-overflow: ellipsis;



}







.card-solar .card-primary-val { color: #facc15; }



.card-home .card-primary-val { color: #38bdf8; }



.card-battery .card-primary-val { color: #60a5fa; }



.card-grid .card-primary-val { color: #34d399; }



.card-ai-decision { font-size: 13px !important; color: #c084fc !important; }







/* ŚRODKOWA KOLUMNA: Słońce/Księżyc + Schemat */



.diagram-center-col {



  display: flex;



  flex-direction: column;



  gap: 6px;



  min-width: 0;



}







.diagram-center-col .celestial-sky-viewport {



  margin-bottom: 2px !important;



}







.diagram-center-col .system-diagram-wrapper {



  margin: 0 !important;



}







/* PRAWA KOLUMNA: Sypiące się pieniądze & Arbitraż */



.diagram-money-col {



  background: #090e1d;



  border: 1px solid rgba(255, 255, 255, 0.1);



  border-radius: 18px;



  padding: 12px 10px;



  display: flex;



  flex-direction: column;



  gap: 8px;



  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);



  position: relative;



  overflow: hidden;



  text-align: center;



}







.money-status-card {



  background: rgba(255, 255, 255, 0.04);



  border: 1px solid rgba(255, 255, 255, 0.08);



  border-radius: 13px;



  padding: 9px 8px 7px;



  position: relative;



  z-index: 2;



  transition: all 0.3s ease;



}







.money-status-card.selling {



  background: radial-gradient(circle at 50% 0%, rgba(234, 179, 8, 0.22) 0%, rgba(13, 21, 38, 0.5) 100%);



  border-color: rgba(251, 191, 36, 0.5);



  box-shadow: 0 0 22px rgba(234, 179, 8, 0.25);



}







.money-badge {



  display: inline-flex;



  align-items: center;



  gap: 6px;



  font-size: 10.5px;



  font-weight: 700;



  letter-spacing: 0.04em;



  padding: 3px 9px;



  border-radius: 999px;



  background: rgba(234, 179, 8, 0.15);



  border: 1px solid rgba(234, 179, 8, 0.4);



  color: #fbbf24;



}







.money-badge-pulse {



  width: 6px;



  height: 6px;



  border-radius: 50%;



  background: #fbbf24;



  box-shadow: 0 0 8px #fbbf24;



  animation: pulseLiveDot 1.5s infinite;



}







.money-profit-headline {



  font-size: 12px;



  font-weight: 800;



  letter-spacing: 0.06em;



  color: #fef08a;



  text-transform: uppercase;



  margin-top: 5px;



  text-shadow: 0 0 12px rgba(250, 204, 21, 0.4);



}







.money-profit-number {



  font-family: var(--font-mono, monospace);



  font-size: 17px;



  font-weight: 800;



  color: #22c55e;



  letter-spacing: -0.01em;



  margin: 2px 0 5px;



  text-shadow: 0 0 16px rgba(34, 197, 94, 0.35);



  white-space: nowrap;



}







.money-metrics-grid {



  display: grid;



  grid-template-columns: 1fr 1fr;



  gap: 6px;



  padding-top: 5px;



  border-top: 1px solid rgba(255, 255, 255, 0.07);



}







.money-metric-box {



  display: flex;



  flex-direction: column;



  align-items: center;



}







.m-metric-lbl {



  font-size: 9px;



  color: #94a3b8;



}







.m-metric-val {



  font-size: 11.5px;



  font-family: var(--font-mono, monospace);



  font-weight: 700;



  color: #e2e8f0;



}







.highlight-cyan {



  color: #38bdf8 !important;



}







/* Strefa Canvasu Sypiących się Pieniędzy */



.money-rain-container {



  flex: 1;



  position: relative;



  min-height: 200px;



  border-radius: 12px;



  overflow: hidden;



  background: radial-gradient(circle at 50% 10%, rgba(234, 179, 8, 0.1) 0%, rgba(9, 14, 29, 0.7) 100%);



  border: 1px solid rgba(255, 255, 255, 0.05);



  display: flex;



  flex-direction: column;



}







.money-rain-canvas {



  position: absolute;



  top: 0;



  left: 0;



  width: 100%;



  height: 100%;



  pointer-events: none;



  z-index: 1;



}







.money-rain-glow {



  position: absolute;



  top: -20px;



  left: 15%;



  right: 15%;



  height: 60px;



  background: radial-gradient(ellipse at center, rgba(234, 179, 8, 0.35) 0%, transparent 70%);



  filter: blur(10px);



  pointer-events: none;



  z-index: 0;



  transition: opacity 0.5s ease;



}







.money-rain-caption {



  position: absolute;



  bottom: 6px;



  left: 6px;



  right: 6px;



  z-index: 2;



  font-size: 10px;



  font-weight: 600;



  color: #fbbf24;



  background: rgba(9, 14, 29, 0.82);



  backdrop-filter: blur(6px);



  border: 1px solid rgba(251, 191, 36, 0.3);



  border-radius: 7px;



  padding: 3px 6px;



  display: flex;



  align-items: center;



  justify-content: center;



  gap: 5px;



}







.caption-coin {



  font-size: 12px;



}







/* DOLNY PANEL KONTROLNY */



.diagram-bottom-controls {



  background: #090e1d;



  border: 1px solid rgba(255, 255, 255, 0.1);



  border-radius: 18px;



  padding: 12px 18px 10px;



  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);



  display: flex;



  flex-direction: column;



  gap: 9px;



  text-align: left;



}







.controls-top-row {



  display: grid;



  grid-template-columns: auto 1fr auto;



  align-items: center;



  gap: 16px;



}







.slider-track-compact {



  display: flex;



  align-items: center;



  justify-content: center;



  width: 100%;



}







.slider-track-compact .arbitrage-slider {



  margin: 0 !important;



  width: 100%;



}







.arbitrage-slider-ticks {



  display: none !important;



}







.diagram-empirical-note {



  display: flex;



  align-items: center;



  justify-content: space-between;



  flex-wrap: wrap;



  gap: 8px;



  padding: 5px 10px;



  background: rgba(255, 255, 255, 0.03);



  border: 1px solid rgba(255, 255, 255, 0.06);



  border-radius: 9px;



  font-size: 11.5px;



  color: #94a3b8;



}







.diagram-empirical-note .note-pill {



  font-weight: 700;



  color: #38bdf8;



  font-size: 11px;



}







.diagram-empirical-note .note-content {



  flex: 1;



  color: #e2e8f0;



}







.diagram-empirical-note .note-stat {



  font-weight: 700;



  color: #10b981;



  background: rgba(16, 185, 129, 0.15);



  padding: 1px 7px;



  border-radius: 5px;



  font-size: 10.5px;



}







.diagram-features-strip {



  display: flex;



  align-items: center;



  justify-content: center;



  flex-wrap: wrap;



  gap: 10px;



  padding-top: 6px;



  border-top: 1px solid rgba(255, 255, 255, 0.06);



}







.diagram-features-strip .diagram-feature-badge {



  font-size: 11px;



  color: #94a3b8;



  background: rgba(255, 255, 255, 0.03);



  border: 1px solid rgba(255, 255, 255, 0.06);



  padding: 3px 10px;



  border-radius: 999px;



  display: inline-flex;



  align-items: center;



  gap: 6px;



}







/* PLYNNE PRZEJSCIA MOTYWOW JASNY / CIEMNY */



.system-diagram-card,



.diagram-telemetry-col,



.diagram-money-col,



.diagram-bottom-controls,



.telemetry-card,



.money-status-card,



.money-rain-container,



.arbitrage-preset-btn,



.arbitrage-time-badge,



.diagram-empirical-note,



.diagram-feature-badge {



  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, color 0.3s ease;



}







/* ==========================================================================



   MOTYW BIALY / JASNY (Gdy tlo schematu jest biale - czysto i jasno dookola)



   ========================================================================== */



.system-diagram-card.card-theme-light {



  background: #ffffff !important;



  border-color: #e2e8f0 !important;



  box-shadow: 0 20px 48px -12px rgba(15, 23, 42, 0.08), 0 0 1px 1px rgba(226, 232, 240, 0.8) !important;



}







.system-diagram-card.card-theme-light .diagram-telemetry-col {



  background: #ffffff;



  border: 1px solid #e2e8f0;



  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);



}







.system-diagram-card.card-theme-light .telemetry-col-header {



  border-bottom-color: #e2e8f0;



}







.system-diagram-card.card-theme-light .telemetry-header-title {



  color: #475569;



}







.system-diagram-card.card-theme-light .telemetry-status-pill {



  background: #e0f2fe;



  border-color: #bae6fd;



  color: #0284c7;



}







.system-diagram-card.card-theme-light .telemetry-card {



  background: #f8fafc;



  border: 1px solid #e2e8f0;



  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);



}







.system-diagram-card.card-theme-light .telemetry-card:hover {



  background: #f1f5f9;



  border-color: #cbd5e1;



}







.system-diagram-card.card-theme-light .card-label {



  color: #334155;



}







.system-diagram-card.card-theme-light .card-sub-label {



  color: #64748b;



}







.system-diagram-card.card-theme-light .card-solar .card-primary-val { color: #b45309; }



.system-diagram-card.card-theme-light .card-home .card-primary-val { color: #0284c7; }



.system-diagram-card.card-theme-light .card-battery .card-primary-val { color: #2563eb; }



.system-diagram-card.card-theme-light .card-grid .card-primary-val { color: #059669; }



.system-diagram-card.card-theme-light .card-ai-decision { color: #7c3aed !important; }



.system-diagram-card.card-theme-light .card-peak-tag {



  background: #fef3c7;



  color: #b45309;



  border: 1px solid #fde68a;



}







/* Prawa kolumna w motywie jasnym */



.system-diagram-card.card-theme-light .diagram-money-col {



  background: #ffffff;



  border: 1px solid #e2e8f0;



  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);



}







.system-diagram-card.card-theme-light .money-status-card {



  background: #f8fafc;



  border: 1px solid #e2e8f0;



}







.system-diagram-card.card-theme-light .money-status-card.selling {



  background: linear-gradient(180deg, #fefce8 0%, #ffffff 100%);



  border-color: #fde047;



  box-shadow: 0 4px 18px rgba(234, 179, 8, 0.16);



}







.system-diagram-card.card-theme-light .money-badge {



  background: #fef08a;



  border-color: #facc15;



  color: #854d0e;



}







.system-diagram-card.card-theme-light .money-profit-headline {



  color: #854d0e;



  text-shadow: none;



}







.system-diagram-card.card-theme-light .money-profit-number {



  color: #16a34a;



  text-shadow: none;



}







.system-diagram-card.card-theme-light .money-metrics-grid {



  border-top-color: #e2e8f0;



}







.system-diagram-card.card-theme-light .m-metric-lbl {



  color: #64748b;



}







.system-diagram-card.card-theme-light .m-metric-val {



  color: #0f172a;



}







.system-diagram-card.card-theme-light .highlight-cyan {



  color: #0284c7 !important;



}







.system-diagram-card.card-theme-light .money-rain-container {



  background: radial-gradient(circle at 50% 10%, rgba(254, 240, 138, 0.3) 0%, rgba(248, 250, 252, 0.95) 100%);



  border: 1px solid #e2e8f0;



}







.system-diagram-card.card-theme-light .money-calm-indicator {



  background: rgba(255, 255, 255, 0.94);



  border: 1px solid #e2e8f0;



}







.system-diagram-card.card-theme-light .calm-lead {



  color: #0f172a;



}







.system-diagram-card.card-theme-light .calm-sub {



  color: #64748b;



}







.system-diagram-card.card-theme-light .money-rain-caption {



  background: rgba(255, 255, 255, 0.94);



  border: 1px solid #fde047;



  color: #854d0e;



  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);



}







/* Dolny panel kontrolny w motywie jasnym */



.system-diagram-card.card-theme-light .diagram-bottom-controls {



  background: #ffffff;



  border: 1px solid #e2e8f0;



  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);



}







.system-diagram-card.card-theme-light .arbitrage-time-badge {



  background: #f8fafc;



  border: 1px solid #e2e8f0;



  color: #0f172a;



}







.system-diagram-card.card-theme-light .arbitrage-time-label {



  color: #64748b;



}







.system-diagram-card.card-theme-light .arbitrage-time-badge strong {



  color: #0f172a;



}







.system-diagram-card.card-theme-light .arbitrage-phase-pill {



  background: #e0f2fe;



  border: 1px solid #bae6fd;



  color: #0284c7;



}







.system-diagram-card.card-theme-light .arbitrage-slider-ticks span {



  color: #64748b;



}







.system-diagram-card.card-theme-light .arbitrage-preset-btn {



  background: #f8fafc;



  border: 1px solid #e2e8f0;



  color: #1e293b;



  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);



}







.system-diagram-card.card-theme-light .arbitrage-preset-btn .preset-title {



  color: #0f172a;



}







.system-diagram-card.card-theme-light .arbitrage-preset-btn .preset-sub {



  color: #64748b !important;



}







.system-diagram-card.card-theme-light .arbitrage-preset-btn:hover {



  background: #f1f5f9;



  border-color: #cbd5e1;



}







.system-diagram-card.card-theme-light .arbitrage-preset-btn.active {



  background: #eff6ff;



  border-color: #0071e3;



  box-shadow: 0 0 0 1.5px #0071e3, 0 4px 12px rgba(0, 113, 227, 0.15);



}







.system-diagram-card.card-theme-light .arbitrage-preset-btn.active .preset-title {



  color: #0071e3;



}







.system-diagram-card.card-theme-light .arbitrage-preset-btn.active .preset-sub {



  color: #1d4ed8 !important;



}







.system-diagram-card.card-theme-light .diagram-empirical-note {



  background: #f8fafc;



  border: 1px solid #e2e8f0;



  color: #334155;



}







.system-diagram-card.card-theme-light .diagram-empirical-note .note-pill {



  color: #0284c7;



}







.system-diagram-card.card-theme-light .diagram-empirical-note .note-content {



  color: #1e293b;



}







.system-diagram-card.card-theme-light .diagram-empirical-note .note-stat {



  color: #059669;



  background: #dcfce7;



}







.system-diagram-card.card-theme-light .diagram-features-strip {



  border-top-color: #e2e8f0;



}







.system-diagram-card.card-theme-light .diagram-feature-badge {



  background: #f8fafc;



  border: 1px solid #e2e8f0;



  color: #475569;



}







/* ==========================================================================



   MOTYW CIEMNY / NOCNY (Ciemno z lekkim glow cyber-efektem)



   ========================================================================== */



.system-diagram-card.card-theme-dark {



  box-shadow: 0 24px 64px -12px rgba(0, 0, 0, 0.75), 0 0 35px rgba(56, 189, 248, 0.16) !important;



}







.system-diagram-card.card-theme-dark .diagram-telemetry-col,



.system-diagram-card.card-theme-dark .diagram-money-col,



.system-diagram-card.card-theme-dark .diagram-bottom-controls {



  background: #090e1d;



  border: 1px solid rgba(56, 189, 248, 0.22);



  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 22px rgba(56, 189, 248, 0.14);



}







.system-diagram-card.card-theme-dark .arbitrage-time-badge {



  background: rgba(255, 255, 255, 0.05);



  border: 1px solid rgba(56, 189, 248, 0.25);



  box-shadow: 0 0 14px rgba(56, 189, 248, 0.12);



}







.system-diagram-card.card-theme-dark .arbitrage-time-badge strong {



  color: #ffffff;



  text-shadow: 0 0 10px rgba(56, 189, 248, 0.4);



}







.system-diagram-card.card-theme-dark .arbitrage-phase-pill {



  background: rgba(56, 189, 248, 0.15);



  border: 1px solid rgba(56, 189, 248, 0.4);



  color: #38bdf8;



  box-shadow: 0 0 10px rgba(56, 189, 248, 0.2);



}







.system-diagram-card.card-theme-dark .arbitrage-preset-btn {



  background: #0f172a;



  border: 1px solid rgba(255, 255, 255, 0.08);



}







.system-diagram-card.card-theme-dark .arbitrage-preset-btn.active {



  background: rgba(0, 113, 227, 0.22);



  border-color: #38bdf8;



  box-shadow: 0 0 0 1.5px #38bdf8, 0 0 20px rgba(56, 189, 248, 0.3);



}







.system-diagram-card.card-theme-dark .arbitrage-preset-btn.active .preset-title {



  color: #38bdf8;



}







.system-diagram-card.card-theme-dark .arbitrage-preset-btn.active .preset-sub {



  color: #bae6fd !important;



}







.system-diagram-card.card-theme-dark .diagram-empirical-note {



  background: rgba(255, 255, 255, 0.03);



  border: 1px solid rgba(56, 189, 248, 0.16);



}







.system-diagram-card.card-theme-dark .diagram-feature-badge {



  background: rgba(255, 255, 255, 0.03);



  border: 1px solid rgba(255, 255, 255, 0.08);



}







/* Responsywność dla ekranów mniejszych */



@media (max-width: 1080px) {



  .diagram-unified-dashboard {



    grid-template-columns: 1fr 1fr;



  }



  .diagram-center-col {



    grid-column: 1 / -1;



    order: -1;



  }



  .controls-top-row {



    grid-template-columns: 1fr;



    gap: 10px;



  }



}







@media (max-width: 640px) {



  .diagram-unified-dashboard {



    grid-template-columns: 1fr;



  }



  .diagram-money-col {



    min-height: 220px;



  }



  .money-rain-container {



    min-height: 180px;



  }



  .arbitrage-presets-row {



    grid-template-columns: repeat(2, 1fr);



  }



  .diagram-empirical-note {



    flex-direction: column;



    align-items: flex-start;



  }



}







.system-diagram-wrapper {



  aspect-ratio: 16 / 9 !important;



  width: 100% !important;



  min-height: 320px;



  position: relative;



  background: #090e1d;



}







.system-diagram-img {



  width: 100% !important;



  height: auto !important;



  aspect-ratio: 16 / 9 !important;



  object-fit: cover !important;



  display: block !important;



}







.money-calm-indicator {



  position: absolute;



  top: 45%;



  left: 50%;



  transform: translate(-50%, -50%);



  display: flex;



  flex-direction: column;



  align-items: center;



  justify-content: center;



  text-align: center;



  width: 86%;



  opacity: 0;



  pointer-events: none;



  transition: opacity 0.4s ease;



  z-index: 1;



}







.money-calm-indicator.visible {



  opacity: 1;



}







.calm-icon {



  font-size: 32px;



  margin-bottom: 8px;



  filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.5));



}







.calm-lead {



  font-size: 11px;



  font-weight: 700;



  letter-spacing: 0.06em;



  color: #94a3b8;



  text-transform: uppercase;



}







.calm-sub {



  font-size: 9.5px;



  color: #64748b;



  margin-top: 4px;



  line-height: 1.4;



}











/* ==========================================================================



   MULTI-TIER COMPARISON HORIZONS (ZWYKŁY DOM vs ACTIVE HOME vs OSZCZĘDNOŚĆ)



   ========================================================================== */







.calc-view-tabs {



  display: flex;



  gap: 4px;



  background: rgba(0, 0, 0, 0.4);



  padding: 4px;



  border-radius: 12px;



  margin-bottom: 16px;



  border: 1px solid rgba(255, 255, 255, 0.08);



}







.calc-view-tab {



  flex: 1;



  border: none;



  background: transparent;



  color: #94a3b8;



  font-size: 11px;



  font-weight: 600;



  padding: 6px 4px;



  border-radius: 8px;



  cursor: pointer;



  transition: all 0.25s ease;



  white-space: nowrap;



}







.calc-view-tab:hover {



  color: #ffffff;



  background: rgba(255, 255, 255, 0.06);



}







.calc-view-tab.active {



  background: rgba(255, 255, 255, 0.14);



  color: #ffffff;



  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);



}







.calc-view-panel {



  display: none;



  animation: panelFadeIn 0.3s ease;



}







.calc-view-panel.active {



  display: block;



}







@keyframes panelFadeIn {



  from { opacity: 0; transform: translateY(4px); }



  to { opacity: 1; transform: translateY(0); }



}







/* 3 Hero Summary Boxes */



.calc-compare-heroes-grid {



  display: grid;



  grid-template-columns: repeat(3, 1fr);



  gap: 8px;



  margin-bottom: 14px;



}







.compare-hero-box {



  background: rgba(255, 255, 255, 0.04);



  border: 1px solid rgba(255, 255, 255, 0.08);



  border-radius: 12px;



  padding: 10px 6px;



  text-align: center;



  transition: transform 0.2s ease, border-color 0.2s ease;



}







.compare-hero-box:hover {



  transform: translateY(-2px);



  border-color: rgba(255, 255, 255, 0.16);



}







.compare-hero-box.std-box {



  border-color: rgba(255, 69, 58, 0.28);



  background: radial-gradient(circle at 50% 0%, rgba(255, 69, 58, 0.12) 0%, rgba(255, 255, 255, 0.03) 100%);



}







.compare-hero-box.act-box {



  border-color: rgba(56, 189, 248, 0.28);



  background: radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.12) 0%, rgba(255, 255, 255, 0.03) 100%);



}







.compare-hero-box.save-box {



  border-color: rgba(52, 199, 89, 0.35);



  background: radial-gradient(circle at 50% 0%, rgba(52, 199, 89, 0.16) 0%, rgba(255, 255, 255, 0.03) 100%);



}







.c-hero-tag {



  font-size: 9.5px;



  font-weight: 700;



  letter-spacing: 0.04em;



  margin-bottom: 4px;



  text-transform: uppercase;



  white-space: nowrap;



}







.c-hero-tag.red { color: #ff6961; }



.c-hero-tag.cyan { color: #38bdf8; }



.c-hero-tag.green { color: #34c759; }







.c-hero-val {



  font-family: var(--font-mono, monospace);



  font-size: clamp(15px, 1.6vw, 19px);



  font-weight: 800;



  line-height: 1.1;



  margin-bottom: 2px;



}







.red-glow {



  color: #ff453a;



  text-shadow: 0 0 14px rgba(255, 69, 58, 0.55);



}







.cyan-glow {



  color: #38bdf8;



  text-shadow: 0 0 14px rgba(56, 189, 248, 0.5);



}







.green-glow {



  color: #34c759;



  text-shadow: 0 0 14px rgba(52, 199, 89, 0.55);



}







.c-hero-sub {



  font-size: 9px;



  color: #64748b;



  white-space: nowrap;



}







/* Master Comparison Table */



.calc-compare-table {



  display: flex;



  flex-direction: column;



  gap: 6px;



  background: rgba(0, 0, 0, 0.28);



  border: 1px solid rgba(255, 255, 255, 0.08);



  border-radius: 12px;



  padding: 10px 10px;



  margin-bottom: 6px;



}







.compare-table-head {



  display: grid;



  grid-template-columns: 115px 1fr 1fr 1.15fr;



  gap: 6px;



  font-size: 10.5px;



  font-weight: 700;



  color: #94a3b8;



  padding-bottom: 6px;



  border-bottom: 1px solid rgba(255, 255, 255, 0.08);



  text-align: right;



}







.compare-table-head .th-period {



  text-align: left;



}







.compare-table-head .th-col.red { color: #ff6961; }



.compare-table-head .th-col.cyan { color: #38bdf8; }



.compare-table-head .th-col.green { color: #34c759; }







.compare-table-row {



  display: grid;



  grid-template-columns: 115px 1fr 1fr 1.15fr;



  gap: 6px;



  font-size: 12px;



  align-items: center;



  padding: 6px 6px;



  border-radius: 7px;



  text-align: right;



  transition: background 0.2s ease;



}







.compare-table-row:hover {



  background: rgba(255, 255, 255, 0.04);



}







.compare-table-row .td-period {



  text-align: left;



  font-size: 11.5px;



  color: #cbd5e1;



}







.compare-table-row .td-val.red {



  color: #ff453a;



  font-weight: 700;



  font-family: var(--font-mono, monospace);



  text-shadow: 0 0 8px rgba(255, 69, 58, 0.35);



}







.compare-table-row .td-val.cyan {



  color: #38bdf8;



  font-weight: 600;



  font-family: var(--font-mono, monospace);



}







.compare-table-row .td-val.green {



  color: #34c759;



  font-weight: 800;



  font-family: var(--font-mono, monospace);



  text-shadow: 0 0 10px rgba(52, 199, 89, 0.45);



}







.compare-table-row.highlight-row {



  background: linear-gradient(90deg, rgba(255, 69, 58, 0.12) 0%, rgba(52, 199, 89, 0.18) 100%);



  border: 1px solid rgba(52, 199, 89, 0.45);



  box-shadow: 0 0 18px rgba(52, 199, 89, 0.18);



  padding: 8px 6px;



}







.red-pulse {



  color: #ff6961 !important;



  font-weight: 800 !important;



  text-shadow: 0 0 12px rgba(255, 69, 58, 0.6) !important;



}







.green-pulse {



  color: #30d158 !important;



  font-weight: 900 !important;



  font-size: 13.5px !important;



  text-shadow: 0 0 14px rgba(48, 209, 88, 0.7) !important;



}







/* Glowing Red Hero Number (Czerwony, błyszczący) */



.calc-highlight-num-red {



  font-size: clamp(34px, 3.6vw, 48px);



  font-weight: 800;



  letter-spacing: -0.03em;



  background: linear-gradient(90deg, #ff453a 0%, #ff6961 25%, #ffcdd2 48%, #ffffff 52%, #ff6961 75%, #ff453a 100%);



  background-size: 200% auto;



  -webkit-background-clip: text;



  background-clip: text;



  -webkit-text-fill-color: transparent;



  line-height: 1.05;



  margin: 10px 0 6px;



  animation: textSheenGlowRed 5.2s linear infinite;



  filter: drop-shadow(0 2px 20px rgba(255, 69, 58, 0.45));



  position: relative;



  z-index: 2;



}







@keyframes textSheenGlowRed {



  0% { background-position: 200% center; }



  100% { background-position: -200% center; }



}







/* Glowing Cyan Hero Number */



.calc-highlight-num-cyan {



  font-size: clamp(34px, 3.6vw, 48px);



  font-weight: 800;



  letter-spacing: -0.03em;



  background: linear-gradient(90deg, #0284c7 0%, #38bdf8 25%, #bae6fd 48%, #ffffff 52%, #38bdf8 75%, #0284c7 100%);



  background-size: 200% auto;



  -webkit-background-clip: text;



  background-clip: text;



  -webkit-text-fill-color: transparent;



  line-height: 1.05;



  margin: 10px 0 6px;



  animation: textSheenGlow 5.2s linear infinite;



  filter: drop-shadow(0 2px 20px rgba(56, 189, 248, 0.4));



  position: relative;



  z-index: 2;



}







/* Red & Cyan Horizon Rows */



.horizon-val-red {



  font-family: var(--font-mono, monospace);



  font-size: 14px;



  font-weight: 700;



  color: #ff453a;



  text-shadow: 0 0 10px rgba(255, 69, 58, 0.4);



}







.horizon-bar-red {



  height: 100%;



  border-radius: 999px;



  background: linear-gradient(90deg, #ff453a 0%, #ff6961 100%);



  box-shadow: 0 0 10px rgba(255, 69, 58, 0.45);



}







.horizon-row.highlight-red-10y {



  background: rgba(255, 69, 58, 0.16);



  border: 1px solid rgba(255, 69, 58, 0.48);



  box-shadow: 0 0 22px rgba(255, 69, 58, 0.22);



}







.horizon-val-cyan {



  font-family: var(--font-mono, monospace);



  font-size: 14px;



  font-weight: 700;



  color: #38bdf8;



  text-shadow: 0 0 10px rgba(56, 189, 248, 0.4);



}







.horizon-bar-cyan {



  height: 100%;



  border-radius: 999px;



  background: linear-gradient(90deg, #0284c7 0%, #38bdf8 100%);



  box-shadow: 0 0 10px rgba(56, 189, 248, 0.45);



}







.horizon-row.highlight-cyan-10y {



  background: rgba(56, 189, 248, 0.16);



  border: 1px solid rgba(56, 189, 248, 0.48);



  box-shadow: 0 0 22px rgba(56, 189, 248, 0.22);



}







/* Multi-year breakdown inside .calc-vs-card */



.calc-vs-multiyear {



  margin-top: 10px;



  padding-top: 8px;



  border-top: 1px solid rgba(0, 0, 0, 0.08);



  font-size: 11px;



}







.multiyear-title {



  display: block;



  font-weight: 700;



  margin-bottom: 4px;



}







.multiyear-grid {



  display: grid;



  grid-template-columns: 1fr 1fr;



  gap: 4px 8px;



}







.calc-vs-multiyear.red .multiyear-title {



  color: #dc2626;



}







.calc-vs-multiyear.red strong {



  color: #dc2626;



  font-family: var(--font-mono, monospace);



}







.calc-vs-multiyear.green .multiyear-title {



  color: #16a34a;



}







.calc-vs-multiyear.green strong {



  color: #16a34a;



  font-family: var(--font-mono, monospace);



}







@media (max-width: 640px) {



  .calc-compare-heroes-grid {



    grid-template-columns: 1fr;



    gap: 6px;



  }



  .compare-table-head,



  .compare-table-row {



    grid-template-columns: 85px 1fr 1fr 1fr;



    font-size: 10.5px;



  }



}











/* ==========================================================================



   STACKED FINANCIAL COMPARISON BLOCKS (4-IN-1 PERSPECTIVE)



   ========================================================================== */







.calc-results-stacked-container {



  display: flex;



  flex-direction: column;



  gap: 16px;



}







.calc-block-section {



  padding: 18px 20px;



  border-radius: 16px;



  background: rgba(255, 255, 255, 0.03);



  border: 1px solid rgba(255, 255, 255, 0.07);



  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);



  transition: border-color 0.25s ease, box-shadow 0.25s ease;



}







.calc-block-section:hover {



  border-color: rgba(255, 255, 255, 0.14);



}







.calc-block-section.block-savings {



  background: radial-gradient(circle at top right, rgba(48, 209, 88, 0.08) 0%, rgba(20, 20, 22, 0.6) 75%);



  border-color: rgba(48, 209, 88, 0.28);



}







.calc-block-section.block-standard {



  background: radial-gradient(circle at top right, rgba(255, 69, 58, 0.09) 0%, rgba(20, 20, 22, 0.6) 75%);



  border-color: rgba(255, 69, 58, 0.28);



}







.calc-block-section.block-active {



  background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.09) 0%, rgba(20, 20, 22, 0.6) 75%);



  border-color: rgba(56, 189, 248, 0.28);



}







.calc-block-section.block-table {



  background: rgba(255, 255, 255, 0.025);



  border-color: rgba(255, 255, 255, 0.09);



}







.calc-block-section .calc-results-header {



  font-size: 13px;



  letter-spacing: 0.05em;



  text-transform: uppercase;



  margin-bottom: 2px;



}







.calc-block-section .calc-results-header.red-header {



  color: #ff6961;



}







.calc-block-section .calc-results-header.cyan-header {



  color: #38bdf8;



}







.calc-block-section .calc-highlight-num,



.calc-block-section .calc-highlight-num-red,



.calc-block-section .calc-highlight-num-cyan {



  font-size: clamp(28px, 2.8vw, 38px);



  margin: 6px 0 2px;



  line-height: 1.1;



}







.calc-block-section .calc-highlight-sub {



  font-size: 13px;



  margin-bottom: 14px;



  line-height: 1.4;



}







.calc-block-section .calc-highlight-sub.red-sub {



  color: #ff9994;



}







.calc-block-section .calc-highlight-sub.cyan-sub {



  color: #bae6fd;



}







.calc-block-section .calc-horizon-table {



  margin-bottom: 0;



  display: flex;



  flex-direction: column;



  gap: 6px;



}







.calc-block-section .horizon-row {



  padding: 7px 12px;



}







@media (max-width: 640px) {



  .calc-block-section {



    padding: 14px 12px;



  }



  .calc-block-section .calc-highlight-num,



  .calc-block-section .calc-highlight-num-red,



  .calc-block-section .calc-highlight-num-cyan {



    font-size: 26px;



  }



  .horizon-row {



    grid-template-columns: 120px 1fr auto;



    gap: 8px;



    padding: 6px 8px;



    font-size: 11px;



  }



  .horizon-period {



    font-size: 11px;



    white-space: nowrap;



  }



  .horizon-val,



  .horizon-val-red,



  .horizon-val-cyan {



    font-size: 11px;



    white-space: nowrap;



  }



  .calc-compare-table {



    padding: 8px 6px;



  }



  .compare-table-head,



  .compare-table-row {



    grid-template-columns: 46px 1fr 1fr 1.15fr;



    gap: 4px;



    padding: 5px 3px;



  }



  .compare-table-head {



    font-size: 9.5px;



    letter-spacing: -0.01em;



  }



  .compare-table-row {



    font-size: 10.5px;



  }



  .compare-table-row .td-period {



    font-size: 10px;



    white-space: nowrap;



  }



  .compare-table-row .td-val {



    white-space: nowrap;



    letter-spacing: -0.02em;



    font-size: 10px;



  }



  .compare-table-row.highlight-row .td-val {



    font-size: 10.5px;



  }



}











/* ==========================================================================



   RAPORT ENERGETYCZNY - 3 WIDOKI WYKRESÓW I ANALIZY (NORD HTECHNOLOGY)



   ========================================================================== */







.report-charts-section {



  padding: 60px 0 80px;



  background: #fbfbfd;



  border-top: 1px solid rgba(0, 0, 0, 0.06);



  border-bottom: 1px solid rgba(0, 0, 0, 0.06);



  position: relative;



}







.rep-brand-badge {



  display: inline-flex;



  align-items: center;



  justify-content: center;



  background: #ffffff;



  padding: 8px 24px;



  border-radius: 999px;



  border: 1.5px solid rgba(12, 46, 89, 0.12);



  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);



  margin-bottom: 18px;



  text-decoration: none;



  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);



}



.rep-brand-badge:hover {



  transform: translateY(-2px);



  box-shadow: 0 8px 22px rgba(12, 46, 89, 0.16);



  border-color: rgba(12, 46, 89, 0.35);



}



.rep-brand-logo {



  height: 32px;



  width: auto;



  max-width: 155px;



  object-fit: contain;



  display: block;



}



.rep-brand-nord {



  font-size: 1.15rem;



  font-weight: 900;



  letter-spacing: 0.05em;



  color: #0c2e59;



}



.rep-brand-sub {



  font-size: 0.82rem;



  font-weight: 700;



  color: #2563eb;



  letter-spacing: -0.01em;



}



.rep-flag-icon {



  font-size: 1.1rem;



}







.report-header-wrap {



  text-align: center;



  margin-bottom: 32px;



}







.rep-main-title {



  font-size: clamp(1.6rem, 3.2vw, 2.3rem);



  font-weight: 800;



  color: #0f172a;



  letter-spacing: -0.025em;



  margin: 0 0 10px;



  line-height: 1.2;



}







.rep-main-sub {



  font-size: 1.05rem;



  color: #64748b;



  max-width: 760px;



  margin: 0 auto 24px;



  line-height: 1.5;



}







/* Month Selector Pills */



.rep-month-selector {



  display: flex;



  flex-wrap: wrap;



  justify-content: center;



  gap: 8px;



  margin-bottom: 24px;



}



.rep-month-pill {



  padding: 9px 18px;



  border-radius: 999px;



  border: 1px solid #cbd5e1;



  background: #ffffff;



  color: #334155;



  font-size: 0.92rem;



  font-weight: 600;



  cursor: pointer;



  transition: all 0.25s ease;



  white-space: nowrap;



}



.rep-month-pill:hover {



  border-color: #0c2e59;



  background: #f8fafc;



  transform: translateY(-1px);



}



.rep-month-pill.active {



  background: #0c2e59;



  color: #ffffff;



  border-color: #0c2e59;



  box-shadow: 0 4px 12px rgba(12, 46, 89, 0.25);



}







/* View Sub-Tabs (Segmented Control) */



.rep-view-tabs {



  display: none !important;



}



.rep-view-tab {



  padding: 8px 18px;



  border-radius: 10px;



  border: none;



  background: transparent;



  color: #475569;



  font-size: 0.88rem;



  font-weight: 600;



  cursor: pointer;



  transition: all 0.2s ease;



  white-space: nowrap;



}



.rep-view-tab.active {



  background: #ffffff;



  color: #0f172a;



  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);



}







/* Card Wrappers */



.rep-card-wrapper {



  background: #ffffff;



  border: 1px solid #e2e8f0;



  border-radius: 24px;



  padding: 32px;



  margin-bottom: 36px;



  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);



  transition: all 0.3s ease;



}



.rep-card-wrapper:hover {



  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.07);



}







.rep-card-head {



  display: flex;



  justify-content: space-between;



  align-items: flex-start;



  flex-wrap: wrap;



  gap: 16px;



  margin-bottom: 24px;



  padding-bottom: 16px;



  border-bottom: 1px solid #f1f5f9;



}



.rep-section-tag {



  display: inline-block;



  font-size: 0.75rem;



  font-weight: 700;



  text-transform: uppercase;



  letter-spacing: 0.08em;



  color: #2563eb;



  margin-bottom: 4px;



}



.rep-card-heading {



  font-size: 1.35rem;



  font-weight: 800;



  color: #0c2e59;



  letter-spacing: -0.02em;



  margin: 0;



}



.rep-card-heading-right {



  font-size: 1.35rem;



  font-weight: 800;



  color: #0c2e59;



  letter-spacing: -0.02em;



  margin: 0;



}



.rep-card-subheading {



  font-size: 0.95rem;



  color: #64748b;



  margin: 4px 0 0;



}







/* VIEW 1: KPI Grid */



.rep-kpi-grid {



  display: grid;



  grid-template-columns: 1fr 1fr;



  gap: 20px;



}



.rep-kpi-col {



  display: flex;



  flex-direction: column;



  gap: 16px;



}







.rep-tile {



  display: flex;



  align-items: center;



  justify-content: space-between;



  padding: 22px 24px;



  border-radius: 18px;



  border: 1px solid #e2e8f0;



  background: #ffffff;



  transition: transform 0.2s ease, box-shadow 0.2s ease;



}



.rep-tile:hover {



  transform: translateY(-2px);



  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);



}



.rep-tile-mint {



  background: #f0fdf4;



  border-color: #bbf7d0;



}



.rep-tile-neutral {



  background: #f8fafc;



  border-color: #e2e8f0;



}







.rep-tile-left {



  flex: 1;



}



.rep-tile-divider {



  width: 1px;



  height: 60px;



  background: #e2e8f0;



  margin: 0 20px;



}



.rep-divider-mint {



  background: #bbf7d0;



}



.rep-tile-right {



  flex: 1;



  text-align: right;



  display: flex;



  flex-direction: column;



  align-items: flex-end;



  gap: 4px;



}







.rep-tile-label {



  font-size: 0.82rem;



  font-weight: 700;



  color: #64748b;



  text-transform: uppercase;



  letter-spacing: 0.04em;



  margin-bottom: 4px;



  display: block;



}



.rep-label-green {



  color: #16a34a;



}



.rep-tile-main-val {



  font-size: 1.85rem;



  font-weight: 900;



  color: #0f172a;



  line-height: 1.1;



  letter-spacing: -0.03em;



}



.rep-tile-sub-val {



  font-size: 1.1rem;



  font-weight: 700;



  color: #1e293b;



  margin-top: 4px;



}



.rep-tile-sub-val-muted {



  font-size: 0.85rem;



  color: #64748b;



  margin-top: 4px;



}



.rep-tile-sub-val-amber {



  font-size: 0.95rem;



  font-weight: 700;



  color: #b45309;



  margin-top: 4px;



}



.rep-tile-sub-val-green {



  font-size: 0.95rem;



  font-weight: 700;



  color: #15803d;



  margin-top: 4px;



}



.rep-tile-note {



  font-size: 0.78rem;



  color: #94a3b8;



  margin-top: 6px;



}







.rep-stat-amber {



  font-size: 1.05rem;



  font-weight: 700;



  color: #b45309;



}



.rep-stat-green {



  font-size: 1.05rem;



  font-weight: 700;



  color: #16a34a;



}



.rep-stat-subnote {



  font-size: 0.8rem;



  color: #64748b;



  margin-top: 2px;



}



.rep-hero-badge-indigo {



  font-size: 1.45rem;



  font-weight: 800;



  color: #4338ca;



  letter-spacing: -0.02em;



}



.rep-hero-badge-green {



  font-size: 1.45rem;



  font-weight: 800;



  color: #15803d;



  letter-spacing: -0.02em;



}



.rep-hero-badge-amber {



  font-size: 1.45rem;



  font-weight: 800;



  color: #b45309;



  letter-spacing: -0.02em;



}



.rep-stat-badge-above {



  display: inline-block;



  font-size: 0.78rem;



  font-weight: 700;



  color: #166534;



  background: #dcfce7;



  padding: 3px 8px;



  border-radius: 6px;



  margin-top: 4px;



}



.rep-badge-pill-green {



  display: inline-block;



  font-size: 0.82rem;



  font-weight: 700;



  color: #166534;



  background: #dcfce7;



  padding: 3px 8px;



  border-radius: 6px;



  margin-top: 2px;



}







/* VIEW 2: Waterfall Chart */



.rep-waterfall-card {



  padding: 32px 32px 28px;



}



.rep-waterfall-container {



  width: 100%;



}



.rep-waterfall-svg-box {



  width: 100%;



  overflow-x: auto;



  -webkit-overflow-scrolling: touch;



}



.rep-waterfall-svg {



  width: 100%;



  height: auto;



  min-width: 680px;



  display: block;



}







.rep-waterfall-legend {



  display: flex;



  justify-content: center;



  align-items: center;



  flex-wrap: wrap;



  gap: 28px;



  margin-top: 24px;



  padding-top: 18px;



  border-top: 1px solid #f1f5f9;



}



.rep-legend-item {



  display: flex;



  align-items: center;



  gap: 10px;



}



.rep-legend-box {



  width: 18px;



  height: 18px;



  border-radius: 4px;



}



.rep-box-red {



  background: #991b1b;



}



.rep-box-green {



  background: #047857;



}



.rep-box-brown {



  background: #582f1b;



}



.rep-legend-text {



  font-size: 0.88rem;



  font-weight: 600;



  color: #334155;



}







/* VIEW 3: Table and Summary */



.rep-table-wrap {



  overflow-x: auto;



  margin-bottom: 28px;



  border-radius: 16px;



  border: 1px solid #0f294a;



}



.rep-table {



  width: 100%;



  border-collapse: collapse;



  text-align: left;



  background: #ffffff;



}



.rep-table thead tr {



  background: #0f294a;



  color: #ffffff;



}



.rep-table th {



  padding: 16px 20px;



  font-size: 0.88rem;



  font-weight: 700;



  letter-spacing: 0.02em;



}



.rep-table td {



  padding: 16px 20px;



  font-size: 0.95rem;



  border-bottom: 1px solid #f1f5f9;



  color: #1e293b;



}



.rep-table tbody tr:hover {



  background: #f8fafc;



}



.rep-td-name {



  font-weight: 700;



  color: #0f172a;



}



.rep-td-price {



  font-weight: 800;



  font-size: 1.05rem;



}



.rep-td-green {



  color: #16a34a;



}



.rep-td-gray {



  color: #64748b;



}



.rep-td-indigo {



  color: #4338ca;



}



.rep-td-calc {



  color: #64748b;



  font-size: 0.9rem;



}







/* Summary Grid */



.rep-summary-grid {



  display: grid;



  grid-template-columns: 1fr 1fr;



  gap: 24px;



}







.rep-invoice-card {



  background: #f8fafc;



  border: 1px solid #e2e8f0;



  border-radius: 20px;



  padding: 26px 28px;



  display: flex;



  flex-direction: column;



  justify-content: space-between;



}



.rep-invoice-title {



  font-size: 1.15rem;



  font-weight: 800;



  color: #0f172a;



  margin: 0 0 16px;



}



.rep-invoice-line {



  display: flex;



  justify-content: space-between;



  align-items: center;



  margin-bottom: 12px;



  font-size: 0.92rem;



  color: #334155;



}



.rep-invoice-label {



  font-weight: 500;



}



.rep-invoice-val {



  font-weight: 700;



}



.rep-val-red {



  color: #dc2626;



}



.rep-val-green {



  color: #16a34a;



}



.rep-invoice-pay-banner {



  background: linear-gradient(135deg, #059669 0%, #10b981 100%);



  color: #ffffff;



  padding: 14px 20px;



  border-radius: 12px;



  display: flex;



  justify-content: space-between;



  align-items: center;



  margin-top: 14px;



  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);



}



.rep-banner-text {



  font-size: 0.95rem;



  font-weight: 800;



  letter-spacing: 0.04em;



}



.rep-banner-amount {



  font-size: 1.45rem;



  font-weight: 900;



}







.rep-savings-hero-card {



  background: linear-gradient(135deg, #0c2e59 0%, #0a2540 100%);



  color: #ffffff;



  border-radius: 20px;



  padding: 32px 30px;



  display: flex;



  flex-direction: column;



  justify-content: center;



  box-shadow: 0 10px 30px rgba(12, 46, 89, 0.2);



}



.rep-hero-card-sub {



  font-size: 1.05rem;



  font-weight: 600;



  color: #93c5fd;



  margin-bottom: 8px;



}



.rep-hero-card-amount {



  font-size: clamp(2.4rem, 4vw, 3.4rem);



  font-weight: 900;



  letter-spacing: -0.03em;



  line-height: 1;



  color: #ffffff;



  margin-bottom: 4px;



}



.rep-hero-card-unit {



  font-size: 1.15rem;



  font-weight: 700;



  color: #bfdbfe;



  margin-bottom: 16px;



}



.rep-hero-card-desc {



  font-size: 0.88rem;



  color: #94a3b8;



  line-height: 1.5;



  margin: 0;



}







.rep-footer-signature {



  text-align: center;



  font-size: 0.82rem;



  color: #94a3b8;



  margin-top: 24px;



}







/* RESPONSIVE */



@media (max-width: 991px) {



  .rep-kpi-grid {



    grid-template-columns: 1fr;



  }



  .rep-summary-grid {



    grid-template-columns: 1fr;



  }



  .rep-card-wrapper {



    padding: 22px 18px;



  }



}



@media (max-width: 640px) {



  .rep-tile {



    flex-direction: column;



    align-items: flex-start;



    gap: 14px;



    padding: 18px 16px;



  }



  .rep-tile-divider {



    display: none;



  }



  .rep-tile-right {



    text-align: left;



    align-items: flex-start;



    width: 100%;



    padding-top: 12px;



    border-top: 1px solid rgba(0, 0, 0, 0.06);



  }



  .rep-month-pill {



    padding: 7px 12px;



    font-size: 0.82rem;



  }



  .rep-hero-card-amount {



    font-size: 2.2rem;



  }



}











/* ==========================================================================



   MODAL CZYTNIKA ARTYKUŁU NAUKOWEGO PROF. PIOTRA OLCZAKA (ENERGIES 2026)



   ========================================================================== */



.article-modal-overlay {



  z-index: 10000;



}







.article-modal-sheet {



  max-width: 1040px !important;



  width: 95% !important;



  max-height: 94vh !important;



  display: flex !important;



  flex-direction: column !important;



  border-radius: 20px !important;



  overflow: hidden !important;



  padding: 0 !important;



  background: #ffffff !important;



}







.article-modal-header {



  background: #ffffff;



  border-bottom: 1px solid #e2e8f0;



  padding: 22px 26px 18px;



  display: flex;



  align-items: flex-start;



  justify-content: space-between;



  gap: 18px;



}







.article-modal-branding {



  flex: 1;



}







.journal-badge-row {



  display: flex;



  align-items: center;



  flex-wrap: wrap;



  gap: 6px;



  margin-bottom: 9px;



}







.journal-badge {



  font-size: 11px;



  font-weight: 700;



  padding: 2.5px 8.5px;



  border-radius: 6px;



}







.journal-badge.mdpi-badge { background: #0284c7; color: #ffffff; letter-spacing: 0.04em; }



.journal-badge.journal-name { background: #e0f2fe; color: #0369a1; }



.journal-badge.peer-badge { background: #dcfce7; color: #15803d; }



.journal-badge.oa-badge { background: #fef3c7; color: #b45309; }







.article-modal-title {



  font-size: 17.5px;



  font-weight: 800;



  color: #0f172a;



  line-height: 1.35;



  margin-bottom: 7px;



}







.article-modal-authors {



  font-size: 13px;



  color: #334155;



  margin-bottom: 4px;



}







.article-modal-authors strong {



  color: #0284c7;



}







.article-modal-affil {



  font-size: 11.5px;



  color: #64748b;



  line-height: 1.45;



}







.article-toolbar {



  background: #f8fafc;



  border-bottom: 1px solid #e2e8f0;



  padding: 10px 22px;



  display: flex;



  align-items: center;



  justify-content: space-between;



  flex-wrap: wrap;



  gap: 12px;



}







.article-nav-tabs {



  display: flex;



  align-items: center;



  gap: 6px;



  flex-wrap: wrap;



}







.article-tab-btn {



  display: inline-flex;



  align-items: center;



  gap: 6px;



  padding: 7px 14px;



  border-radius: 8px;



  background: transparent;



  border: 1px solid transparent;



  color: #475569;



  font-size: 12.5px;



  font-weight: 600;



  cursor: pointer;



  transition: all 0.2s ease;



}







.article-tab-btn:hover {



  background: #e2e8f0;



  color: #0f172a;



}







.article-tab-btn.active {



  background: #ffffff;



  border-color: #cbd5e1;



  color: #0071e3;



  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);



}







.article-toolbar-actions {



  display: flex;



  align-items: center;



  gap: 8px;



}







.btn-toolbar-pdf {



  display: inline-flex;



  align-items: center;



  gap: 6px;



  padding: 7px 14px;



  border-radius: 8px;



  background: #0071e3;



  color: #ffffff !important;



  font-size: 12px;



  font-weight: 700;



  text-decoration: none;



  transition: background 0.2s ease;



}







.btn-toolbar-pdf:hover {



  background: #0056b3;



}







.btn-toolbar-doi {



  display: inline-flex;



  align-items: center;



  gap: 4px;



  padding: 7px 12px;



  border-radius: 8px;



  background: #ffffff;



  border: 1px solid #cbd5e1;



  color: #475569 !important;



  font-size: 12px;



  font-weight: 600;



  text-decoration: none;



  transition: all 0.2s ease;



}







.btn-toolbar-doi:hover {



  border-color: #0071e3;



  color: #0071e3 !important;



}







.article-body-scroll {



  flex: 1;



  overflow-y: auto;



  padding: 24px;



  background: #ffffff;



  max-height: calc(94vh - 160px);



}







.article-tab-content {



  display: none;



}







.article-tab-content.active {



  display: block;



}







/* Tab 1: Executive Summary Styles */



.summary-hero-card {



  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);



  border: 1px solid #bbf7d0;



  border-radius: 14px;



  padding: 18px 22px;



  margin-bottom: 20px;



}







.summary-hero-badge {



  font-size: 11px;



  font-weight: 700;



  color: #15803d;



  text-transform: uppercase;



  letter-spacing: 0.04em;



  margin-bottom: 6px;



}







.summary-hero-card h4 {



  font-size: 17px;



  font-weight: 800;



  color: #14532d;



  margin-bottom: 8px;



}







.summary-hero-card p {



  font-size: 13.5px;



  line-height: 1.55;



  color: #166534;



  margin: 0;



}







.summary-keypoints-grid {



  display: grid;



  grid-template-columns: 1fr 1fr;



  gap: 14px;



  margin-bottom: 20px;



}







@media (max-width: 720px) {



  .summary-keypoints-grid {



    grid-template-columns: 1fr;



  }



  .btn-prof-article {



    grid-template-columns: 1fr auto;



  }



  .article-btn-badge {



    grid-column: 1 / -1;



    align-items: flex-start;



    flex-direction: row;



    gap: 8px;



  }



}







.keypoint-card {



  background: #f8fafc;



  border: 1px solid #e2e8f0;



  border-radius: 12px;



  padding: 15px 17px;



  transition: all 0.2s ease;



}







.keypoint-card:hover {



  border-color: #cbd5e1;



  background: #ffffff;



  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);



}







.keypoint-icon {



  font-size: 20px;



  margin-bottom: 6px;



}







.keypoint-title {



  font-size: 14px;



  font-weight: 700;



  color: #0f172a;



  margin-bottom: 5px;



}







.keypoint-desc {



  font-size: 12.5px;



  color: #475569;



  line-height: 1.52;



}







.article-quote-box {



  background: #f1f5f9;



  border-left: 4px solid #0071e3;



  border-radius: 0 12px 12px 0;



  padding: 18px 22px 16px;



  margin-bottom: 20px;



}







.quote-text {



  font-size: 13.5px;



  font-style: italic;



  color: #1e293b;



  line-height: 1.6;



  margin: 0 0 10px 0;



}







.quote-author {



  font-size: 12px;



  font-weight: 700;



  color: #475569;



}







.summary-cta-banner {



  background: #0f172a;



  color: #ffffff;



  border-radius: 14px;



  padding: 18px 22px;



  display: flex;



  align-items: center;



  justify-content: space-between;



  flex-wrap: wrap;



  gap: 14px;



}







.cta-banner-text {



  display: flex;



  flex-direction: column;



  gap: 4px;



}







.cta-banner-text strong {



  font-size: 14px;



  color: #ffffff;



}







.cta-banner-text span {



  font-size: 12px;



  color: #94a3b8;



}







.switch-to-pdf-tab {



  display: inline-flex;



  align-items: center;



  gap: 8px;



  padding: 9px 18px;



  border-radius: 999px;



  font-size: 13px;



  cursor: pointer;



}







/* Tab 2: PDF Frame */



.article-pdf-wrapper {



  display: flex;



  flex-direction: column;



  gap: 10px;



}







.pdf-notice-bar {



  display: flex;



  align-items: center;



  justify-content: space-between;



  background: #f1f5f9;



  padding: 9px 16px;



  border-radius: 8px;



  font-size: 12px;



  color: #475569;



  font-weight: 600;



}







.pdf-direct-link {



  color: #0071e3;



  text-decoration: underline;



}







.article-pdf-frame {



  width: 100%;



  height: 68vh;



  min-height: 520px;



  border: 1px solid #cbd5e1;



  border-radius: 10px;



  background: #525659;



}







/* Tab 3: Abstract & Citation */



.article-abstract-card h4 {



  font-size: 16px;



  font-weight: 800;



  color: #0f172a;



  margin-bottom: 10px;



}







.abstract-text {



  font-size: 13.5px;



  line-height: 1.65;



  color: #334155;



  margin-bottom: 14px;



  text-align: justify;



}







.abstract-keywords {



  font-size: 12.5px;



  color: #64748b;



  margin-bottom: 20px;



}







.abstract-divider {



  border: none;



  border-top: 1px solid #e2e8f0;



  margin: 20px 0;



}







.citation-box {



  background: #f8fafc;



  border: 1px solid #e2e8f0;



  border-radius: 10px;



  padding: 14px;



  margin-bottom: 20px;



}







.citation-title {



  font-size: 12px;



  font-weight: 700;



  color: #475569;



  margin-bottom: 6px;



}







.citation-code {



  display: block;



  font-family: var(--font-mono, monospace);



  font-size: 12px;



  color: #0f172a;



  background: #ffffff;



  padding: 10px;



  border-radius: 6px;



  border: 1px solid #cbd5e1;



  white-space: pre-wrap;



  line-height: 1.45;



}







.article-meta-table {



  display: flex;



  flex-direction: column;



  gap: 9px;



}







.meta-row {



  display: flex;



  font-size: 12.5px;



  gap: 12px;



}







.meta-row .m-key {



  width: 190px;



  font-weight: 600;



  color: #64748b;



  flex-shrink: 0;



}







.meta-row .m-val {



  color: #0f172a;



}







.meta-row .m-val a {



  color: #0071e3;



  text-decoration: underline;



}











/* ============================================================



   Karta CTA & Modal Artykułu: Prof. Mohsen Assadi



   ============================================================ */



.btn-prof-assadi {



  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);



  border: 1.5px solid #a7f3d0;



  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.06);



}







.btn-prof-assadi:hover {



  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);



  border-color: #059669;



  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.18);



}







.badge-assadi-green {



  background: #059669 !important;



}







.btn-prof-assadi .article-btn-title {



  color: #065f46;



}







.btn-prof-assadi .article-btn-sub {



  color: #047857;



}







.journal-badge.portal-badge-znz {



  background: #059669;



  color: #ffffff;



  letter-spacing: 0.02em;



}







.assadi-hero-card {



  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%) !important;



  border-left-color: #059669 !important;



}







.assadi-hero-card .hero-card-tag {



  color: #059669 !important;



}







.assadi-quote-box {



  background: #f0fdf4 !important;



  border-left-color: #059669 !important;



}







.assadi-quote-box .quote-icon {



  color: #10b981 !important;



}







/* Układ redakcyjny artykułu */



.assadi-editorial-article {



  padding: 4px 0 16px;



}







.editorial-meta-bar {



  display: flex;



  flex-wrap: wrap;



  align-items: center;



  gap: 12px;



  padding: 10px 16px;



  background: #f8fafc;



  border-radius: 10px;



  border: 1px solid #e2e8f0;



  font-size: 12.5px;



  color: #64748b;



  margin-bottom: 20px;



}







.editorial-meta-bar strong {



  color: #0f172a;



}







.editorial-content-flow p {



  font-size: 14.5px;



  line-height: 1.72;



  color: #334155;



  margin-bottom: 16px;



}







.editorial-lead {



  font-size: 15.5px !important;



  font-weight: 500;



  color: #0f172a !important;



  background: #f8fafc;



  padding: 14px 18px;



  border-radius: 12px;



  border-left: 3.5px solid #059669;



}







.editorial-image-frame {



  margin: 22px 0;



  border-radius: 14px;



  overflow: hidden;



  border: 1px solid #e2e8f0;



  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);



  background: #f8fafc;



}







.editorial-image {



  width: 100%;



  max-height: 380px;



  object-fit: cover;



  display: block;



}







.editorial-image-caption {



  padding: 10px 16px;



  font-size: 12px;



  line-height: 1.5;



  color: #64748b;



  background: #f8fafc;



  border-top: 1px solid #e2e8f0;



}











/* ============================================================



   Przycisk aktywacji: Włącz System Active Home & Ujawnianie



   ============================================================ */



.calc-activate-cta-wrap {



  margin: 6px 0;



  position: relative;



  width: 100%;



}







.btn-activate-active-home {



  position: relative;



  width: 100%;



  padding: 16px 20px;



  border-radius: 16px;



  background: linear-gradient(135deg, #0284c7 0%, #0071e3 50%, #06b6d4 100%);



  border: 1.5px solid rgba(56, 189, 248, 0.6);



  color: #ffffff;



  font-size: 15px;



  font-weight: 800;



  display: flex;



  align-items: center;



  justify-content: center;



  gap: 12px;



  cursor: pointer;



  letter-spacing: 0.02em;



  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);



  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.35);



}







.btn-activate-active-home:hover {



  transform: translateY(-2px);



  box-shadow: 0 12px 32px rgba(2, 132, 199, 0.55);



  border-color: #38bdf8;



}







.btn-activate-active-home.is-pulsing {



  animation: activeSystemPulse 2s infinite ease-in-out;



}







@keyframes activeSystemPulse {



  0% {



    box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7), 0 8px 24px rgba(2, 132, 199, 0.35);



    transform: scale(1);



  }



  50% {



    box-shadow: 0 0 0 14px rgba(56, 189, 248, 0), 0 12px 32px rgba(2, 132, 199, 0.55);



    transform: scale(1.02);



  }



  100% {



    box-shadow: 0 0 0 0 rgba(56, 189, 248, 0), 0 8px 24px rgba(2, 132, 199, 0.35);



    transform: scale(1);



  }



}







.btn-activate-icon {



  font-size: 20px;



  line-height: 1;



  display: inline-block;



  transition: transform 0.3s ease;



}







.btn-activate-active-home:hover .btn-activate-icon {



  transform: scale(1.2) rotate(10deg);



}







.btn-activate-text {



  font-size: 15px;



  font-weight: 800;



  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);



}







.btn-activate-hint {



  font-size: 11px;



  font-weight: 700;



  background: rgba(255, 255, 255, 0.22);



  padding: 3px 9px;



  border-radius: 20px;



  letter-spacing: 0.04em;



  text-transform: uppercase;



  margin-left: auto;



}







/* Stan aktywny przycisku (po kliknięciu) */



.btn-activate-active-home.is-active {



  background: linear-gradient(135deg, #059669 0%, #10b981 100%);



  border-color: #34d399;



  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);



  animation: none;



}







.btn-activate-active-home.is-active .btn-activate-hint {



  background: rgba(0, 0, 0, 0.22);



}







/* Kontener ujawniany (Plynne rozwijanie / zwijanie CSS Grid bez ciecia) */



.calc-active-system-reveal {



  display: grid;



  grid-template-rows: 0fr;



  opacity: 0;



  transform: translateY(-12px);



  transition: grid-template-rows 0.55s cubic-bezier(0.16, 1, 0.3, 1),



              opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),



              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),



              margin 0.45s ease;



  overflow: hidden;



  margin-top: 0;



}







.calc-active-system-reveal.is-visible {



  grid-template-rows: 1fr;



  opacity: 1;



  transform: translateY(0);



  margin-top: 20px;



}







.calc-active-reveal-inner {



  min-height: 0;



  display: flex;



  flex-direction: column;



  gap: 16px;



}







.calc-active-system-reveal.is-visible .calc-block-section.block-active {



  animation: revealCardPop 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;



}







.calc-active-system-reveal.is-visible .calc-block-section.block-table {



  animation: revealCardPop 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.08s both;



}







@keyframes revealCardPop {



  0% {



    opacity: 0;



    transform: translateY(14px) scale(0.98);



  }



  100% {



    opacity: 1;



    transform: translateY(0) scale(1);



  }



}







/* ==========================================================================



   POZIOMA KARUZELA RAPORTU ENERGETYCZNEGO (PRZEWIJANIE PRAWO - LEWO)



   ========================================================================== */



.rep-carousel-wrap {



  position: relative;



  width: 100%;



  margin-top: 20px;



}







.rep-carousel-nav {



  display: flex;



  justify-content: space-between;



  align-items: center;



  margin-bottom: 24px;



  gap: 16px;



  flex-wrap: wrap;



}







.rep-carousel-arrow {



  display: inline-flex;



  align-items: center;



  gap: 10px;



  background: #ffffff;



  color: #0c2e59;



  border: 1.5px solid #cbd5e1;



  border-radius: 999px;



  padding: 11px 24px;



  font-size: 0.94rem;



  font-weight: 700;



  cursor: pointer;



  box-shadow: 0 4px 14px rgba(12, 46, 89, 0.08);



  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);



  user-select: none;



}







.rep-carousel-arrow:hover:not(:disabled) {



  background: #0c2e59;



  color: #ffffff;



  border-color: #0c2e59;



  transform: translateY(-2px);



  box-shadow: 0 8px 22px rgba(12, 46, 89, 0.22);



}







.rep-carousel-arrow:disabled {



  opacity: 0.35;



  cursor: not-allowed;



  transform: none;



  box-shadow: none;



  pointer-events: none;



}







.rep-carousel-dots {



  display: inline-flex;



  align-items: center;



  gap: 8px;



  background: #f1f5f9;



  padding: 6px 12px;



  border-radius: 999px;



  border: 1px solid #e2e8f0;



}







.rep-carousel-dot {



  display: inline-flex;



  align-items: center;



  gap: 8px;



  border: none;



  background: transparent;



  padding: 7px 16px;



  border-radius: 999px;



  cursor: pointer;



  font-size: 0.88rem;



  font-weight: 600;



  color: #64748b;



  transition: all 0.25s ease;



  user-select: none;



}







.rep-dot-badge {



  display: inline-flex;



  align-items: center;



  justify-content: center;



  width: 22px;



  height: 22px;



  border-radius: 50%;



  background: #cbd5e1;



  color: #ffffff;



  font-size: 0.78rem;



  font-weight: 800;



  transition: all 0.25s ease;



}







.rep-carousel-dot.active {



  background: #0c2e59;



  color: #ffffff;



  box-shadow: 0 4px 12px rgba(12, 46, 89, 0.28);



}







.rep-carousel-dot.active .rep-dot-badge {



  background: #ffffff;



  color: #0c2e59;



}







.rep-carousel-track {



  display: flex;



  overflow-x: auto;



  scroll-snap-type: x mandatory;



  scroll-behavior: smooth;



  gap: 28px;



  padding: 6px 4px 26px;



  -webkit-overflow-scrolling: touch;



  scrollbar-width: thin;



  scrollbar-color: #94a3b8 #f1f5f9;



  cursor: grab;



}







.rep-carousel-track.is-dragging {



  cursor: grabbing;



  scroll-snap-type: none;



  scroll-behavior: auto;



  user-select: none;



}







.rep-carousel-track::-webkit-scrollbar {



  height: 8px;



}







.rep-carousel-track::-webkit-scrollbar-track {



  background: #f1f5f9;



  border-radius: 4px;



}







.rep-carousel-track::-webkit-scrollbar-thumb {



  background: #cbd5e1;



  border-radius: 4px;



}







.rep-carousel-track::-webkit-scrollbar-thumb:hover {



  background: #94a3b8;



}







.rep-carousel-slide {



  flex: 0 0 100%;



  min-width: 100%;



  max-width: 100%;



  scroll-snap-align: start;



  scroll-snap-stop: always;



  box-sizing: border-box;



}







.rep-carousel-slide .rep-card-wrapper {



  margin-bottom: 0 !important;



  min-height: 100%;



  box-sizing: border-box;



}







.rep-swipe-hint {



  display: none;



  text-align: center;



  color: #64748b;



  font-size: 0.85rem;



  font-weight: 600;



  margin-top: 12px;



}







@media (max-width: 768px) {



  .rep-swipe-hint {



    display: block;



  }



  .rep-carousel-nav {



    justify-content: center;



  }



  .rep-dot-label {



    display: none;



  }



  .rep-carousel-dot {



    padding: 6px 10px;



  }



  .rep-carousel-arrow span {



    display: none;



  }



  .rep-carousel-arrow {



    padding: 10px 14px;



  }



}







/* ==========================================================================



   ANIMACJE ROŚNIĘCIA I MALENIA SŁUPKÓW KASKADY ORAZ PULSU WARTOŚCI



   ========================================================================== */



@keyframes repFadePulse {



  0% {



    opacity: 0.55;



    transform: scale(0.985);



  }



  100% {



    opacity: 1;



    transform: scale(1);



  }



}







.rep-fade-pulse {



  animation: repFadePulse 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;



}







.wf-bar {



  transition: opacity 0.2s ease, filter 0.2s ease;



  cursor: pointer;



}







.wf-bar:hover {



  filter: brightness(1.15) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.18));



  opacity: 0.94;



}







.wf-val-text {



  user-select: none;



  pointer-events: none;



  font-feature-settings: "tnum" 1;



}











/* ==========================================================================



   SYSTEM PLYNNYCH ANIMACJI I MIKROINTERAKCJI (APPLE FLUIDITY ENGINE)



   ========================================================================== */







/* Paski horyzontalne w kalkulatorze - plynne wydluzanie i skracanie */



.horizon-bar-red,



.horizon-bar-cyan {



  transition: width 0.75s cubic-bezier(0.16, 1, 0.3, 1) !important;



  will-change: width;



  position: relative;



  overflow: hidden;



}







.horizon-bar-cyan::after,



.horizon-bar-red::after {



  content: '';



  position: absolute;



  top: 0;



  left: -100%;



  width: 100%;



  height: 100%;



  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);



  animation: barShimmerGlow 3.5s infinite ease-in-out;



}







@keyframes barShimmerGlow {



  0% { left: -100%; }



  45%, 100% { left: 100%; }



}







/* Żywe oddychanie kwot w podsumowaniu kalkulatora */



.green-pulse {



  animation: greenPulseBreathe 2.8s infinite ease-in-out;



  display: inline-block;



  will-change: filter, transform;



}







@keyframes greenPulseBreathe {



  0%, 100% {



    filter: drop-shadow(0 0 4px rgba(48, 209, 88, 0.35));



    transform: scale(1);



  }



  50% {



    filter: drop-shadow(0 0 12px rgba(48, 209, 88, 0.8));



    transform: scale(1.025);



  }



}







.red-pulse {



  animation: redPulseBreathe 3.2s infinite ease-in-out;



  display: inline-block;



  will-change: filter, transform;



}







@keyframes redPulseBreathe {



  0%, 100% {



    filter: drop-shadow(0 0 4px rgba(255, 69, 58, 0.35));



    transform: scale(1);



  }



  50% {



    filter: drop-shadow(0 0 11px rgba(255, 69, 58, 0.7));



    transform: scale(1.02);



  }



}







/* Blysk i plynne pulsowanie zaktualizowanych liczb w kalkulatorze */



.calc-val-flash {



  animation: calcValFlashAnim 0.42s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;



  will-change: opacity, transform, filter;



}







@keyframes calcValFlashAnim {



  0% {



    opacity: 0.25;



    transform: scale(0.95);



    filter: brightness(1.3);



  }



  50% {



    opacity: 1;



    transform: scale(1.035);



    filter: brightness(1.2);



  }



  100% {



    opacity: 1;



    transform: scale(1);



    filter: brightness(1);



  }



}







/* Hero Stage Carousel - Płynna zmiana renderów domów 3D */



.hero-stage-img {



  transition: opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1),



              transform 0.38s cubic-bezier(0.16, 1, 0.3, 1),



              filter 0.32s ease !important;



  will-change: opacity, transform, filter;



}







.hero-stage-img.changing {



  opacity: 0.12 !important;



  transform: scale(0.95) translateY(4px) !important;



  filter: blur(4px) !important;



}







/* Karty domów w katalogu - plynny hover i wejscie po filtrowaniu */



.model-card {



  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),



              box-shadow 0.32s cubic-bezier(0.16, 1, 0.3, 1),



              border-color 0.25s ease,



              opacity 0.3s ease !important;



  will-change: transform, box-shadow;



}







.model-card:hover {



  transform: translateY(-6px) !important;



  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.14) !important;



}







.model-card.filter-anim-in {



  animation: modelCardFilterIn 0.38s cubic-bezier(0.16, 1, 0.3, 1) forwards;



}







@keyframes modelCardFilterIn {



  from {



    opacity: 0;



    transform: translateY(16px) scale(0.975);



  }



  to {



    opacity: 1;



    transform: translateY(0) scale(1);



  }



}







/* Płynna zmiana kwot cenowych w kartach katalogowych */



.price-amount {



  display: inline-block;



  transition: opacity 0.18s ease, transform 0.18s ease;



  will-change: opacity, transform;



}







.price-amount.price-updating {



  opacity: 0.2;



  transform: scale(0.94);



}







/* Zakładki wewnątrz modali (Artykuł Olczaka, Asadiego, Specyfikacja) */



.modal-tab-content.active,



.article-tab-content.active {



  display: block !important;



  animation: modalTabFadeIn 0.34s cubic-bezier(0.16, 1, 0.3, 1) forwards;



}







@keyframes modalTabFadeIn {



  from {



    opacity: 0;



    transform: translateY(10px);



  }



  to {



    opacity: 1;



    transform: translateY(0);



  }



}







/* Warstwy STEICO i detale techniczne */



.layer-item {



  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;



  cursor: pointer;



}







.layer-item:hover {



  transform: translateX(4px);



  background: rgba(0, 113, 227, 0.06);



}







.layer-item.active {



  transform: translateX(8px);



  border-color: #0071e3 !important;



  box-shadow: 0 4px 16px rgba(0, 113, 227, 0.18);



}







.layer-details-box.layer-swap-anim {



  animation: layerBoxSwapAnim 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards;



}







@keyframes layerBoxSwapAnim {



  from {



    opacity: 0;



    transform: translateX(12px);



  }



  to {



    opacity: 1;



    transform: translateX(0);



  }



}







/* Przycisk aktywacji Active Home - mikrointerakcje */



.btn-activate-active-home {



  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),



              background 0.3s ease,



              border-color 0.3s ease,



              box-shadow 0.35s ease !important;



}







.btn-activate-active-home:active {



  transform: scale(0.96) !important;



}







.btn-activate-active-home .btn-activate-icon {



  display: inline-block;



  transition: transform 0.42s cubic-bezier(0.34, 1.56, 0.64, 1);



}







.btn-activate-active-home.is-active .btn-activate-icon {



  transform: rotate(360deg) scale(1.15);



}







/* Globalne mikrointerakcje dotykowe dla wszystkich pigułek i przycisków */



.calc-month-pill,



.rep-month-pill,



.rep-view-tab,



.calc-view-tab,



.calc-model-chip,



.filter-btn,



.tab-btn,



.hero-pill,



.article-tab-btn,



.variant-btn,



.nord-tab-pill,



.rep-carousel-dot {



  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),



              background-color 0.25s ease,



              border-color 0.25s ease,



              box-shadow 0.25s ease,



              color 0.2s ease !important;



}







.calc-month-pill:active,



.rep-month-pill:active,



.rep-view-tab:active,



.calc-view-tab:active,



.calc-model-chip:active,



.filter-btn:active,



.tab-btn:active,



.hero-pill:active,



.article-tab-btn:active,



.variant-btn:active,



.nord-tab-pill:active,



.btn-primary:active,



.btn-secondary:active,



.btn-outline:active {



  transform: scale(0.95) !important;



}







.rep-carousel-arrow {



  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),



              background-color 0.25s ease,



              box-shadow 0.25s ease !important;



}







.rep-carousel-arrow:hover {



  transform: scale(1.08) !important;



}







.rep-carousel-arrow:active {



  transform: scale(0.91) !important;



}







/* Strzalki w Hero 3D Stage - calkowicie stabilne w miejscu, bez zadnego uciekania ani animacji transform na hover */



.hero-nav-arrow,



.hero-nav-arrow:hover,



.hero-nav-arrow:focus,



.hero-nav-arrow:active {



  transform: translateY(-50%) !important;



}











/* ==========================================================================



   UKŁAD POZIOMY KALKULATORA: CZERWONA KOLUMNA W POZIOMIE + DANE POD SPODEM



   ========================================================================== */







/* Główny kontener kalkulatora - jednolity układ pionowy (karta wyników w poziomie na górze, dane pod spodem) */



.calc-box {



  display: flex !important;



  flex-direction: column !important;



  gap: 32px !important;



  padding: 38px 42px !important;



  max-width: 1240px !important;



  margin: 0 auto !important;



  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.07) !important;



}







/* 1. Wybór Modelu - Poziomy selektor na samej górze */



.calc-model-selection-top {



  width: 100%;



}







.calc-model-selection-top .calc-label {



  font-size: 15px;



  font-weight: 700;



  color: var(--text-primary);



  margin-bottom: 12px;



  display: flex;



  align-items: center;



  gap: 8px;



}







.calc-model-selection-top .calc-model-chips {



  display: flex;



  gap: 12px;



  flex-wrap: wrap;



  width: 100%;



}







.calc-model-selection-top .calc-model-chip {



  flex: 1;



  min-width: 150px;



  padding: 12px 16px;



  border-radius: 12px;



  background: #ffffff;



  border: 1px solid var(--border-light);



  font-size: 13.5px;



  font-weight: 700;



  text-align: center;



  color: var(--text-secondary);



  cursor: pointer;



  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);



  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);



}







.calc-model-selection-top .calc-model-chip:hover {



  border-color: #0071e3;



  color: #0071e3;



  transform: translateY(-2px);



  box-shadow: 0 4px 14px rgba(0, 113, 227, 0.12);



}







.calc-model-selection-top .calc-model-chip.active {



  background: #ffffff;



  border-color: #0071e3;



  color: #0071e3;



  box-shadow: 0 4px 18px rgba(0, 113, 227, 0.22);



}







/* 2. Pozioma Czerwona Karta Wyników (Full Width) */



.calc-results-card.calc-results-horizontal {



  width: 100% !important;



  max-width: 100% !important;



  background: linear-gradient(135deg, #151619 0%, #202227 100%) !important;



  border: 1px solid rgba(255, 255, 255, 0.12) !important;



  border-radius: 20px !important;



  padding: 34px 40px !important;



  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.32) !important;



  display: flex !important;



  flex-direction: column !important;



  gap: 24px !important;



  isolation: isolate;



}







.calc-results-stacked-container {



  display: flex;



  flex-direction: column;



  gap: 20px;



  width: 100%;



}







/* Sekcje wewnątrz karty wyników - układ poziomy 2-kolumnowy (Lewa = Kwota Hero, Prawa = 4 Paski Horyzontów) */



.calc-results-horizontal .calc-block-section.block-standard,



.calc-results-horizontal .calc-block-section.block-active {



  display: grid !important;



  grid-template-columns: 1fr 1.35fr !important;



  gap: 38px !important;



  align-items: center !important;



  padding: 26px 32px !important;



  border-radius: 16px !important;



  width: 100% !important;



  box-sizing: border-box;



}







.calc-results-horizontal .calc-block-section.block-standard {



  background: rgba(255, 69, 58, 0.05) !important;



  border: 1px solid rgba(255, 69, 58, 0.22) !important;



  box-shadow: inset 0 0 32px rgba(255, 69, 58, 0.06);



}







.calc-results-horizontal .calc-block-section.block-active {



  background: rgba(56, 189, 248, 0.05) !important;



  border: 1px solid rgba(56, 189, 248, 0.24) !important;



  box-shadow: inset 0 0 32px rgba(56, 189, 248, 0.06);



}







/* Lewa Kolumna: Etykieta, Duża Liczba Hero, Podtytuł */



.calc-results-horizontal .calc-block-hero-col {



  display: flex;



  flex-direction: column;



  gap: 6px;



}







.calc-results-horizontal .calc-results-header {



  font-size: 13.5px !important;



  letter-spacing: 0.06em !important;



  text-transform: uppercase !important;



  font-weight: 700 !important;



  margin-bottom: 2px !important;



}







.calc-results-horizontal .calc-results-header.red-header {



  color: #ff6961 !important;



}







.calc-results-horizontal .calc-results-header.cyan-header {



  color: #38bdf8 !important;



}







.calc-results-horizontal .calc-highlight-num-red {



  font-size: 56px !important;



  font-weight: 900 !important;



  line-height: 1.05 !important;



  color: #ff453a !important;



  text-shadow: 0 0 28px rgba(255, 69, 58, 0.5) !important;



  margin: 6px 0 !important;



  letter-spacing: -0.02em !important;



}







.calc-results-horizontal .calc-highlight-num-cyan {



  font-size: 56px !important;



  font-weight: 900 !important;



  line-height: 1.05 !important;



  color: #38bdf8 !important;



  text-shadow: 0 0 28px rgba(56, 189, 248, 0.55) !important;



  margin: 6px 0 !important;



  letter-spacing: -0.02em !important;



}







.calc-results-horizontal .calc-highlight-sub {



  font-size: 13.5px !important;



  color: #9ca3af !important;



  line-height: 1.55 !important;



}







/* Prawa Kolumna: Tabela Pasków Horyzontalnych */



.calc-results-horizontal .calc-horizon-table {



  display: flex !important;



  flex-direction: column !important;



  gap: 10px !important;



  width: 100% !important;



}







.calc-results-horizontal .horizon-row {



  display: flex !important;



  align-items: center !important;



  gap: 16px !important;



  padding: 10px 16px !important;



  border-radius: 10px !important;



  background: rgba(255, 255, 255, 0.04) !important;



  border: 1px solid rgba(255, 255, 255, 0.07) !important;



  transition: all 0.25s ease !important;



}







.calc-results-horizontal .horizon-row:hover {



  background: rgba(255, 255, 255, 0.07) !important;



  border-color: rgba(255, 255, 255, 0.15) !important;



}







.calc-results-horizontal .horizon-period {



  min-width: 135px !important;



  font-size: 13px !important;



  color: #e2e8f0 !important;



}







.calc-results-horizontal .horizon-bar-wrap {



  flex: 1 !important;



  height: 12px !important;



  background: rgba(255, 255, 255, 0.09) !important;



  border-radius: 999px !important;



  overflow: hidden !important;



  position: relative !important;



}







.calc-results-horizontal .horizon-val-red {



  min-width: 95px !important;



  text-align: right !important;



  font-size: 14.5px !important;



  font-weight: 800 !important;



  color: #ff6961 !important;



  font-family: var(--font-mono, monospace) !important;



}







.calc-results-horizontal .horizon-val-cyan {



  min-width: 95px !important;



  text-align: right !important;



  font-size: 14.5px !important;



  font-weight: 800 !important;



  color: #38bdf8 !important;



  font-family: var(--font-mono, monospace) !important;



}







/* Przycisk Aktywacji w Poziomie */



.calc-results-horizontal .calc-activate-cta-wrap {



  width: 100% !important;



  display: flex !important;



  justify-content: center !important;



  margin: 10px 0 6px !important;



}







.calc-results-horizontal .btn-activate-active-home {



  max-width: 720px !important;



  width: 100% !important;



  padding: 16px 28px !important;



}







/* 3. Dane z Lewej Pod Spodem (Full Width Layout) */



.calc-inputs.calc-inputs-bottom {



  width: 100% !important;



  display: flex !important;



  flex-direction: column !important;



  gap: 28px !important;



}







.calc-inputs.calc-inputs-bottom .calc-report-card {



  width: 100% !important;



  background: #ffffff !important;



  border: 1px solid var(--border-light) !important;



  border-radius: var(--radius-lg) !important;



  padding: 32px 36px !important;



  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;



}







/* 4 Kafelki Raportu w Pełnym Poziomie (4 Kolumny) */



.calc-inputs.calc-inputs-bottom .calc-month-data-grid {



  display: grid !important;



  grid-template-columns: repeat(4, 1fr) !important;



  gap: 16px !important;



  margin: 20px 0 !important;



}







.calc-inputs.calc-inputs-bottom .calc-data-tile {



  padding: 18px 20px !important;



}







/* 3 Podliczniki w Pełnym Poziomie (3 Kolumny) */



.calc-inputs.calc-inputs-bottom .calc-submeter-row {



  display: grid !important;



  grid-template-columns: repeat(3, 1fr) !important;



  gap: 16px !important;



  margin-top: 14px !important;



}







.calc-inputs.calc-inputs-bottom .calc-submeter-item {



  padding: 18px 20px !important;



}







/* RWD: Responsywność dla mniejszych ekranów */



@media (max-width: 992px) {



  .calc-results-horizontal .calc-block-section.block-standard,



  .calc-results-horizontal .calc-block-section.block-active {



    grid-template-columns: 1fr !important;



    gap: 24px !important;



  }







  .calc-inputs.calc-inputs-bottom .calc-month-data-grid {



    grid-template-columns: repeat(2, 1fr) !important;



  }







  .calc-inputs.calc-inputs-bottom .calc-submeter-row {



    grid-template-columns: 1fr !important;



  }



}







@media (max-width: 640px) {



  .calc-box {



    padding: 24px 18px !important;



  }







  .calc-results-card.calc-results-horizontal {



    padding: 24px 18px !important;



  }







  .calc-results-horizontal .calc-highlight-num-red,



  .calc-results-horizontal .calc-highlight-num-cyan {



    font-size: 38px !important;



  }







  .calc-inputs.calc-inputs-bottom .calc-month-data-grid {



    grid-template-columns: 1fr !important;



  }



}







/* ==========================================================================



   NUMERIC TWEENING & TICKER ANIMATION (PŁYNNE PRZEJŚCIA LICZB I CEN)



   ========================================================================== */







.rep-tile-main-val,



.rep-tile-sub-val,



.rep-tile-sub-val-amber,



.rep-tile-sub-val-green,



.rep-hero-badge-indigo,



.rep-hero-badge-green,



.rep-hero-badge-amber,



.rep-badge-pill-green,



.rep-stat-badge-above,



.rep-stat-amber,



.rep-stat-green,



.rep-stat-row,



.rep-stat-subnote,



.rep-tile-note,



.rep-td-price,



.rep-td-calc,



.rep-invoice-val,



.rep-banner-amount,



.rep-hero-card-amount,



.calc-highlight-num-red,



.calc-highlight-num-cyan,



.calc-hero-val {



  font-variant-numeric: tabular-nums;



  font-feature-settings: "tnum" 1;



}







.rep-num-ticking {



  font-variant-numeric: tabular-nums !important;



  font-feature-settings: "tnum" 1 !important;



  display: inline-block;



  will-change: transform, filter;



  filter: brightness(1.15) drop-shadow(0 0 8px rgba(59, 130, 246, 0.4));



  transform: scale(1.02);



  transition: transform 0.15s ease, filter 0.15s ease;



}







.rep-val-red.rep-num-ticking {



  filter: brightness(1.2) drop-shadow(0 0 8px rgba(239, 68, 68, 0.45)) !important;



}







.rep-val-green.rep-num-ticking,



.rep-td-green.rep-num-ticking,



.rep-hero-badge-green.rep-num-ticking,



.rep-banner-amount.rep-num-ticking {



  filter: brightness(1.2) drop-shadow(0 0 8px rgba(16, 185, 129, 0.45)) !important;



}







.rep-hero-card-amount.rep-num-ticking {



  filter: brightness(1.2) drop-shadow(0 0 12px rgba(16, 185, 129, 0.55)) !important;



}







/* ==========================================================================



   SELEKTOR MODELU I STATUS BANNER W RAPORCIE (RZECZYWISTE DANE VS SYMULACJA)



   ========================================================================== */







.rep-model-selector-wrap {



  margin: 24px 0 16px 0;



  display: flex;



  flex-direction: column;



  align-items: center;



  gap: 12px;



}







.rep-model-selector-label {



  display: flex;



  flex-direction: column;



  align-items: center;



  gap: 4px;



  text-align: center;



}







.rep-model-selector-label span:first-child {



  font-size: 14px;



  font-weight: 700;



  color: #1e293b;



  letter-spacing: -0.01em;



}







.rep-model-selector-hint {



  font-size: 12px;



  color: #64748b;



}







.rep-model-selector {



  display: flex;



  align-items: stretch;



  justify-content: center;



  flex-wrap: wrap;



  gap: 10px;



  max-width: 980px;



}







.rep-model-pill {



  display: flex;



  flex-direction: column;



  align-items: center;



  justify-content: center;



  padding: 10px 18px;



  background: #ffffff;



  border: 1.5px solid #cbd5e1;



  border-radius: 14px;



  cursor: pointer;



  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);



  text-align: center;



  min-width: 150px;



  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);



}







.rep-model-pill:hover {



  border-color: #94a3b8;



  transform: translateY(-2px);



  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);



}







.rep-model-pill.active.is-real {



  border-color: #10b981 !important;



  background: linear-gradient(180deg, #ffffff 0%, #ecfdf5 100%) !important;



  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.22) !important;



  transform: translateY(-2px);



}







.rep-model-pill.active.is-sim {



  border-color: #0071e3 !important;



  background: linear-gradient(180deg, #ffffff 0%, #eff6ff 100%) !important;



  box-shadow: 0 6px 20px rgba(0, 113, 227, 0.22) !important;



  transform: translateY(-2px);



}







.rep-model-pill-badge {



  font-size: 10px;



  font-weight: 800;



  text-transform: uppercase;



  letter-spacing: 0.04em;



  padding: 3px 8px;



  border-radius: 999px;



  margin-bottom: 6px;



  display: inline-block;



}







.badge-real {



  background: rgba(16, 185, 129, 0.15);



  color: #047857;



  border: 1px solid rgba(16, 185, 129, 0.3);



}







.badge-sim {



  background: rgba(0, 113, 227, 0.12);



  color: #0060c4;



  border: 1px solid rgba(0, 113, 227, 0.25);



}







.rep-model-pill-name {



  font-size: 15px;



  font-weight: 800;



  color: #0f172a;



  line-height: 1.2;



}







.rep-model-pill-desc {



  font-size: 11px;



  font-weight: 500;



  color: #64748b;



  margin-top: 3px;



}







/* Banner informacyjny pod selektorem */



.rep-status-banner {



  max-width: 980px;



  margin: 16px auto 20px auto;



  padding: 14px 20px;



  border-radius: 14px;



  display: flex;



  align-items: center;



  gap: 14px;



  text-align: left;



  transition: all 0.3s ease;



}







.rep-status-banner.is-real {



  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);



  border: 1.5px solid #86efac;



  color: #065f46;



  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.12);



}







.rep-status-banner.is-sim {



  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);



  border: 1.5px solid #7dd3fc;



  color: #0369a1;



  box-shadow: 0 4px 14px rgba(0, 113, 227, 0.12);



}







.rep-status-banner-badge {



  font-size: 11px;



  font-weight: 800;



  letter-spacing: 0.03em;



  padding: 6px 12px;



  border-radius: 8px;



  white-space: nowrap;



  flex-shrink: 0;



}







.rep-status-banner-badge.badge-real {



  background: #10b981;



  color: #ffffff;



  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);



}







.rep-status-banner-badge.badge-sim {



  background: #0071e3;



  color: #ffffff;



  box-shadow: 0 2px 8px rgba(0, 113, 227, 0.3);



}







.rep-status-banner-text {



  font-size: 13px;



  line-height: 1.5;



  color: inherit;



}







@media (max-width: 768px) {



  .rep-model-selector {



    display: grid;



    grid-template-columns: repeat(2, 1fr);



  }



  .rep-model-pill {



    min-width: unset;



    padding: 8px 12px;



  }



  .rep-status-banner {



    flex-direction: column;



    align-items: flex-start;



    gap: 8px;



  }



}







/* ==========================================================================



   DEDYKOWANY SUWAK 24H ZE STAŁĄ SZEROKOŚCIĄ I GODZINAMI POD SPODEM



   ========================================================================== */







.controls-top-row {



  display: flex !important;



  justify-content: space-between !important;



  align-items: center !important;



  width: 100% !important;



  gap: 16px !important;



}







.slider-fullwidth-wrap {



  width: 100% !important;



  display: flex !important;



  flex-direction: column !important;



  margin: 10px 0 8px 0 !important;



  box-sizing: border-box !important;



}







.slider-fullwidth-wrap .arbitrage-slider {



  width: 100% !important;



  margin: 0 !important;



  cursor: pointer !important;



  height: 8px !important;



}







.arbitrage-slider-ticks {



  display: flex !important;



  justify-content: space-between !important;



  margin-top: 8px !important;



  font-size: 11px !important;



  font-weight: 600 !important;



  color: #64748b !important;



  font-family: var(--font-mono, ui-monospace, monospace) !important;



  padding: 0 4px !important;



  user-select: none !important;



}







.system-diagram-card.card-theme-dark .arbitrage-slider-ticks {



  color: #94a3b8 !important;



}







.system-diagram-card.card-theme-light .arbitrage-slider-ticks {



  color: #64748b !important;



}







.arbitrage-slider-ticks span {



  cursor: pointer !important;



  padding: 2px 4px !important;



  border-radius: 4px !important;



  transition: color 0.15s ease, background-color 0.15s ease, transform 0.15s ease !important;



}







.arbitrage-slider-ticks span:hover {



  color: #0071e3 !important;



  background: rgba(0, 113, 227, 0.08) !important;



  transform: translateY(-1px) !important;



}











/* ==========================================================================



   AI HEMS AGENT SYSTEM DIAGRAM - APPLE STYLE CLEAN CONTRAST & EXPANDED SCHEMATIC



   ========================================================================== */







.system-diagram-card {



  padding: 34px 22px 28px !important;



  max-width: 1280px !important;



  margin-left: auto !important;



  margin-right: auto !important;



}







.diagram-unified-dashboard {



  grid-template-columns: 215px minmax(0, 1fr) 215px !important;



  gap: 12px !important;



}







/* Center schematic stage */



.system-diagram-wrapper {



  background: #000000 !important;



  border-radius: 16px !important;



  border: 1px solid rgba(255, 255, 255, 0.12) !important;



  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.45) !important;



  overflow: hidden !important;



}







.system-diagram-card.card-theme-light .system-diagram-wrapper {



  background: #000000 !important;



  border: 1.5px solid #cbd5e1 !important;



  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.14) !important;



}







/* Right column card clean Apple typography */



.money-profit-headline {



  font-size: 11px !important;



  font-weight: 800 !important;



  letter-spacing: 0.08em !important;



  text-transform: uppercase !important;



  margin-top: 4px !important;



}







.money-profit-number {



  font-size: 20px !important;



  font-weight: 800 !important;



  letter-spacing: -0.02em !important;



  margin: 2px 0 6px !important;



}







.money-calm-indicator {



  display: flex !important;



  flex-direction: column !important;



  align-items: center !important;



  justify-content: center !important;



  padding: 16px 12px !important;



  text-align: center !important;



  gap: 6px !important;



  height: 100% !important;



}







.money-calm-indicator .calm-icon {



  font-size: 32px !important;



  line-height: 1 !important;



  margin-bottom: 2px !important;



}







.money-calm-indicator .calm-lead {



  font-size: 13px !important;



  font-weight: 800 !important;



  letter-spacing: 0.02em !important;



  color: #f8fafc !important;



}







.money-calm-indicator .calm-sub {



  font-size: 11px !important;



  font-weight: 500 !important;



  line-height: 1.4 !important;



  color: #94a3b8 !important;



  max-width: 170px !important;



}







/* LIGHT THEME HIGH-CONTRAST (Zero White Font on Light Backgrounds) */



.system-diagram-card.card-theme-light .money-calm-indicator .calm-lead {



  color: #0f172a !important;



}







.system-diagram-card.card-theme-light .money-calm-indicator .calm-sub {



  color: #475569 !important;



}







.system-diagram-card.card-theme-light .diagram-empirical-note {



  background: #ffffff !important;



  border: 1.5px solid #cbd5e1 !important;



  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;



}







.system-diagram-card.card-theme-light .diagram-empirical-note .note-pill {



  background: #e0f2fe !important;



  border: 1px solid #bae6fd !important;



  color: #0369a1 !important;



  font-weight: 800 !important;



  font-size: 11px !important;



  padding: 4px 10px !important;



  border-radius: 6px !important;



}







.system-diagram-card.card-theme-light .diagram-empirical-note .note-content,



.system-diagram-card.card-theme-light #arbitrageReportText {



  color: #0f172a !important;



  font-weight: 600 !important;



  font-size: 12.5px !important;



  line-height: 1.45 !important;



}







.system-diagram-card.card-theme-light .diagram-empirical-note .note-stat,



.system-diagram-card.card-theme-light #arbitrageReportStat {



  background: #dcfce7 !important;



  border: 1px solid #86efac !important;



  color: #047857 !important;



  font-weight: 800 !important;



  font-size: 11.5px !important;



  padding: 4px 10px !important;



  border-radius: 6px !important;



}







.system-diagram-card.card-theme-light .diagram-features-strip {



  border-top: 1px solid #e2e8f0 !important;



  padding-top: 12px !important;



  margin-top: 4px !important;



}







.system-diagram-card.card-theme-light .diagram-feature-badge {



  background: #ffffff !important;



  border: 1.5px solid #cbd5e1 !important;



  color: #1e293b !important;



  font-weight: 700 !important;



  font-size: 11.5px !important;



  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04) !important;



}







.system-diagram-card.card-theme-light .diagram-feature-badge span {



  color: #1e293b !important;



}







.system-diagram-card.card-theme-light .arbitrage-slider-ticks span {



  color: #334155 !important;



  font-weight: 700 !important;



  font-size: 11px !important;



}







.system-diagram-card.card-theme-light .arbitrage-slider-ticks span:hover {



  color: #0071e3 !important;



  background: rgba(0, 113, 227, 0.1) !important;



}







.system-diagram-card.card-theme-light .diagram-bottom-controls {



  background: #f8fafc !important;



  border: 1.5px solid #e2e8f0 !important;



  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;



}







.system-diagram-card.card-theme-light .arbitrage-time-badge {



  background: #ffffff !important;



  border: 1.5px solid #cbd5e1 !important;



  color: #0f172a !important;



}







.system-diagram-card.card-theme-light .arbitrage-time-label {



  color: #475569 !important;



  font-weight: 600 !important;



}







.system-diagram-card.card-theme-light #arbitrageCurrentTime {



  color: #0f172a !important;



  font-weight: 800 !important;



}







.system-diagram-card.card-theme-light .arbitrage-phase-pill {



  background: #eff6ff !important;



  border: 1px solid #bfdbfe !important;



  color: #1d4ed8 !important;



  font-weight: 700 !important;



}







.system-diagram-card.card-theme-light .money-status-card {



  background: #ffffff !important;



  border: 1.5px solid #cbd5e1 !important;



  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;



}







.system-diagram-card.card-theme-light .money-status-card.selling {



  background: linear-gradient(180deg, #fefce8 0%, #ffffff 100%) !important;



  border: 1.5px solid #fde047 !important;



  box-shadow: 0 4px 16px rgba(234, 179, 8, 0.15) !important;



}







.system-diagram-card.card-theme-light .m-metric-lbl {



  color: #475569 !important;



  font-weight: 600 !important;



}







.system-diagram-card.card-theme-light .m-metric-val {



  color: #0f172a !important;



  font-weight: 700 !important;



}







.system-diagram-card.card-theme-light .diagram-telemetry-col {



  background: #ffffff !important;



  border: 1.5px solid #cbd5e1 !important;



  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04) !important;



}







.system-diagram-card.card-theme-light .diagram-money-col {



  background: #ffffff !important;



  border: 1.5px solid #cbd5e1 !important;



  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04) !important;



}











/* ==========================================================================



   AI HEMS AGENT SYSTEM DIAGRAM - EXPANDED SCHEMATIC & DYNAMIC ACTIVITY PANEL



   ========================================================================== */







/* Full-width expanded schematic stage */



.diagram-expanded-stage {



  display: flex;



  flex-direction: column;



  gap: 10px;



  width: 100%;



  max-width: 1180px;



  margin: 18px auto 24px;



}







.diagram-expanded-stage .celestial-sky-viewport {



  width: 100% !important;



  max-width: 1180px !important;



  height: 138px !important;



  margin: 0 auto 6px !important;



  border-radius: 20px !important;



}







.diagram-expanded-stage .celestial-horizon-labels {



  bottom: 8px !important;



  left: 20px !important;



  right: 20px !important;



  font-size: 11px !important;



}







.diagram-expanded-stage .system-diagram-wrapper {



  width: 100% !important;



  max-width: 1180px !important;



  aspect-ratio: 16 / 9 !important;



  border-radius: 20px;



  overflow: hidden;



  background: #000000 !important;



  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.45) !important;



  border: 1.5px solid rgba(255, 255, 255, 0.12) !important;



  position: relative;



  margin: 0 auto !important;



}







.system-diagram-card.card-theme-light .diagram-expanded-stage .system-diagram-wrapper {



  background: #000000 !important;



  border: 1.5px solid #cbd5e1 !important;



  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.14) !important;



}







.diagram-expanded-stage .system-diagram-img {



  width: 100% !important;



  max-width: none !important;



  height: 100% !important;



  aspect-ratio: 16 / 9 !important;



  object-fit: fill !important;



  display: block !important;



  transform: none !important;



  margin: 0 !important;



  padding: 0 !important;



}







.diagram-expanded-stage .diagram-energy-flow-svg {



  position: absolute !important;



  inset: 0 !important;



  width: 100% !important;



  height: 100% !important;



  pointer-events: none !important;



  z-index: 5 !important;



}







/* Dynamic Activity Description Panel below the schematic */



.diagram-activity-panel {



  width: 100%;



  max-width: 1180px;



  margin: 0 auto 24px;



  border-radius: 20px;



  padding: 24px 28px;



  text-align: left;



  transition: all 0.3s ease;



  box-sizing: border-box;



}







.system-diagram-card.card-theme-light .diagram-activity-panel {



  background: #ffffff !important;



  border: 1.5px solid #cbd5e1 !important;



  box-shadow: 0 6px 28px rgba(15, 23, 42, 0.06) !important;



}







.system-diagram-card.card-theme-dark .diagram-activity-panel {



  background: #090e1d !important;



  border: 1px solid rgba(255, 255, 255, 0.1) !important;



  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35) !important;



}







/* Activity Status Bar */



.activity-status-bar {



  display: flex;



  justify-content: space-between;



  align-items: center;



  flex-wrap: wrap;



  gap: 14px;



  margin-bottom: 20px;



  padding-bottom: 16px;



  border-bottom: 1px solid rgba(255, 255, 255, 0.08);



}







.system-diagram-card.card-theme-light .activity-status-bar {



  border-bottom: 1px solid #e2e8f0 !important;



}







.activity-mode-pill {



  display: inline-flex;



  align-items: center;



  gap: 10px;



  font-size: 14px;



  font-weight: 800;



  letter-spacing: 0.04em;



  text-transform: uppercase;



}







.system-diagram-card.card-theme-light .activity-mode-pill {



  color: #0f172a !important;



}







.system-diagram-card.card-theme-dark .activity-mode-pill {



  color: #ffffff !important;



}







.activity-mode-dot {



  width: 10px;



  height: 10px;



  border-radius: 50%;



  flex-shrink: 0;



  background: #10b981;



  box-shadow: 0 0 12px #10b981;



  transition: all 0.3s ease;



}







.activity-financial-tags {



  display: flex;



  align-items: center;



  gap: 10px;



  flex-wrap: wrap;



}







.activity-spot-tag {



  display: inline-flex;



  align-items: center;



  gap: 6px;



  font-size: 12px;



  padding: 6px 14px;



  border-radius: 8px;



  font-weight: 600;



}







.system-diagram-card.card-theme-light .activity-spot-tag {



  background: #f1f5f9 !important;



  border: 1px solid #cbd5e1 !important;



  color: #334155 !important;



}







.system-diagram-card.card-theme-light .activity-spot-tag strong {



  color: #0f172a !important;



}







.system-diagram-card.card-theme-dark .activity-spot-tag {



  background: rgba(255, 255, 255, 0.06) !important;



  border: 1px solid rgba(255, 255, 255, 0.12) !important;



  color: #94a3b8 !important;



}







.system-diagram-card.card-theme-dark .activity-spot-tag strong {



  color: #fbbf24 !important;



}







.activity-profit-tag {



  display: inline-flex;



  align-items: center;



  font-size: 13.5px;



  font-weight: 800;



  padding: 6px 16px;



  border-radius: 8px;



  font-family: var(--font-mono, monospace);



  letter-spacing: -0.01em;



  transition: all 0.3s ease;



}







.system-diagram-card.card-theme-light .activity-profit-tag {



  background: #ecfdf5 !important;



  border: 1.5px solid #86efac !important;



  color: #047857 !important;



}







.system-diagram-card.card-theme-dark .activity-profit-tag {



  background: rgba(34, 197, 94, 0.15) !important;



  border: 1px solid rgba(34, 197, 94, 0.35) !important;



  color: #4ade80 !important;



  text-shadow: 0 0 12px rgba(74, 222, 128, 0.3) !important;



}







/* AI Decision Banner */



.activity-decision-banner {



  border-radius: 16px;



  padding: 18px 22px;



  margin-bottom: 20px;



  transition: all 0.3s ease;



  display: flex;



  flex-direction: column;



  gap: 8px;



}







.system-diagram-card.card-theme-light .activity-decision-banner {



  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;



  border: 1.5px solid #cbd5e1 !important;



  border-left: 5px solid #0071e3 !important;



  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02) !important;



}







.system-diagram-card.card-theme-dark .activity-decision-banner {



  background: rgba(255, 255, 255, 0.04) !important;



  border: 1px solid rgba(255, 255, 255, 0.1) !important;



  border-left: 5px solid #38bdf8 !important;



}







.decision-badge-chip {



  display: inline-flex;



  align-items: center;



  gap: 6px;



  font-size: 11px;



  font-weight: 800;



  letter-spacing: 0.08em;



  text-transform: uppercase;



  width: fit-content;



  padding: 3px 10px;



  border-radius: 6px;



}







.system-diagram-card.card-theme-light .decision-badge-chip {



  background: #eff6ff !important;



  color: #1d4ed8 !important;



  border: 1px solid #bfdbfe !important;



}







.system-diagram-card.card-theme-dark .decision-badge-chip {



  background: rgba(56, 189, 248, 0.15) !important;



  color: #38bdf8 !important;



  border: 1px solid rgba(56, 189, 248, 0.3) !important;



}







.decision-title {



  font-size: 18px !important;



  font-weight: 800 !important;



  line-height: 1.35 !important;



  margin: 0 !important;



}







.system-diagram-card.card-theme-light .decision-title {



  color: #0f172a !important;



}







.system-diagram-card.card-theme-dark .decision-title {



  color: #ffffff !important;



}







.decision-desc {



  font-size: 14.5px !important;



  line-height: 1.5 !important;



  margin: 0 !important;



  font-weight: 500 !important;



}







.system-diagram-card.card-theme-light .decision-desc {



  color: #334155 !important;



}







.system-diagram-card.card-theme-dark .decision-desc {



  color: #cbd5e1 !important;



}







/* Flows Grid: Electricity & Thermal */



.activity-flows-row {



  display: grid;



  grid-template-columns: repeat(2, 1fr);



  gap: 16px;



  margin-bottom: 20px;



}







@media (max-width: 768px) {



  .activity-flows-row {



    grid-template-columns: 1fr;



  }



}







.activity-flow-card {



  border-radius: 14px;



  padding: 16px 18px;



  display: flex;



  flex-direction: column;



  gap: 4px;



}







.system-diagram-card.card-theme-light .activity-flow-card {



  background: #f8fafc !important;



  border: 1.5px solid #cbd5e1 !important;



}







.system-diagram-card.card-theme-dark .activity-flow-card {



  background: rgba(255, 255, 255, 0.03) !important;



  border: 1px solid rgba(255, 255, 255, 0.08) !important;



}







.flow-card-header {



  display: flex;



  align-items: center;



  gap: 8px;



  margin-bottom: 4px;



}







.flow-icon {



  font-size: 16px;



  line-height: 1;



}







.flow-title {



  font-size: 11.5px;



  font-weight: 800;



  text-transform: uppercase;



  letter-spacing: 0.06em;



}







.system-diagram-card.card-theme-light .flow-title {



  color: #475569 !important;



}







.system-diagram-card.card-theme-dark .flow-title {



  color: #94a3b8 !important;



}







.flow-card-main {



  font-size: 15px !important;



  font-weight: 800 !important;



  font-family: var(--font-mono, monospace) !important;



  line-height: 1.35 !important;



}







.system-diagram-card.card-theme-light .flow-card-main {



  color: #0f172a !important;



}







.system-diagram-card.card-theme-dark .flow-card-main {



  color: #f8fafc !important;



}







.flow-card-sub {



  font-size: 12.5px !important;



  line-height: 1.4 !important;



}







.system-diagram-card.card-theme-light .flow-card-sub {



  color: #475569 !important;



}







.system-diagram-card.card-theme-dark .flow-card-sub {



  color: #94a3b8 !important;



}







/* Devices Section */



.activity-devices-section {



  display: flex;



  align-items: center;



  gap: 14px;



  flex-wrap: wrap;



  padding-top: 16px;



  border-top: 1px solid rgba(255, 255, 255, 0.08);



}







.system-diagram-card.card-theme-light .activity-devices-section {



  border-top: 1px solid #e2e8f0 !important;



}







.devices-section-title {



  font-size: 11.5px;



  font-weight: 800;



  text-transform: uppercase;



  letter-spacing: 0.06em;



  flex-shrink: 0;



}







.system-diagram-card.card-theme-light .devices-section-title {



  color: #475569 !important;



}







.system-diagram-card.card-theme-dark .devices-section-title {



  color: #94a3b8 !important;



}







.activity-devices-chips {



  display: flex;



  flex-wrap: wrap;



  gap: 8px;



}







.system-diagram-card.card-theme-light .device-chip {



  background: #ffffff !important;



  border: 1.5px solid #cbd5e1 !important;



  color: #0f172a !important;



  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) !important;



}







.system-diagram-card.card-theme-light .device-chip strong {



  color: #0f172a !important;



}







.system-diagram-card.card-theme-dark .device-chip {



  background: #0f172a !important;



  border: 1px solid rgba(255, 255, 255, 0.16) !important;



  color: #f1f5f9 !important;



}







.system-diagram-card.card-theme-dark .device-chip strong {



  color: #ffffff !important;



}











/* Mode-specific accents for Activity Description Panel */



.diagram-activity-panel.mode-buy .activity-decision-banner {



  border-left-color: #0284c7 !important;



}



.diagram-activity-panel.mode-sell .activity-decision-banner {



  border-left-color: #00d2ff !important;



}



.diagram-activity-panel.mode-solar .activity-decision-banner {



  border-left-color: #f59e0b !important;



}



.diagram-activity-panel.mode-battery .activity-decision-banner {



  border-left-color: #10b981 !important;



}







.system-diagram-card.card-theme-light .diagram-activity-panel.mode-buy .activity-profit-tag {



  background: #f0f9ff !important;



  border-color: #7dd3fc !important;



  color: #0284c7 !important;



}



.system-diagram-card.card-theme-dark .diagram-activity-panel.mode-buy .activity-profit-tag {



  background: rgba(56, 189, 248, 0.15) !important;



  border-color: rgba(56, 189, 248, 0.35) !important;



  color: #38bdf8 !important;



}







.system-diagram-card.card-theme-light .diagram-activity-panel.mode-battery .activity-profit-tag {



  background: #f5f3ff !important;



  border-color: #c4b5fd !important;



  color: #7c3aed !important;



}



.system-diagram-card.card-theme-dark .diagram-activity-panel.mode-battery .activity-profit-tag {



  background: rgba(167, 139, 250, 0.15) !important;



  border-color: rgba(167, 139, 250, 0.35) !important;



  color: #c084fc !important;



}











/* Uniform transparent background for all sections so the blue glow is visible everywhere */



.system-section,



#system {



  background: transparent !important;



}







/* Top page spacing for #system when serving as the page entry */



.system-section:first-of-type,



#system {



  padding-top: calc(var(--nav-height) + 48px) !important;



}







@media (max-width: 768px) {



  .system-section:first-of-type,



  #system {



    padding-top: calc(var(--nav-height) + 24px) !important;



  }



}











/* ==========================================================================



   SYSTEM AI-AGENT & HOUSE PROPOSITION ARCHITECTURE (APPLE STYLE)



   ========================================================================== */







.system-hero-pills {



  display: flex;



  flex-wrap: wrap;



  justify-content: center;



  align-items: center;



  gap: 10px;



  margin: 0 auto 36px;



  max-width: 860px;



}







.system-pill {



  display: inline-flex;



  align-items: center;



  gap: 7px;



  padding: 7px 15px;



  border-radius: 999px;



  font-size: 13px;



  font-weight: 600;



  background: rgba(0, 113, 227, 0.08);



  color: var(--accent-blue, #0071e3);



  border: 1px solid rgba(0, 113, 227, 0.18);



  letter-spacing: -0.01em;



  transition: all 0.25s ease;



}







.system-pill svg {



  color: #34c759;



  flex-shrink: 0;



}







[data-theme="dark"] .system-pill {



  background: rgba(0, 113, 227, 0.16);



  border-color: rgba(0, 113, 227, 0.32);



  color: #5ac8fa;



}







/* Dual Option Choice Cards in #modele */



.system-choice-grid {



  display: grid;



  grid-template-columns: repeat(2, 1fr);



  gap: 24px;



  max-width: 1080px;



  margin: 0 auto 36px;



}







.choice-card {



  position: relative;



  display: flex;



  flex-direction: column;



  padding: 32px 28px;



  border-radius: 20px;



  background: var(--bg-card, #ffffff);



  border: 1px solid var(--border-light, rgba(0, 0, 0, 0.08));



  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);



  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;



}







.choice-card:hover {



  transform: translateY(-3px);



  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);



}







.choice-card.choice-main {



  border-color: rgba(0, 113, 227, 0.3);



  box-shadow: 0 8px 28px rgba(0, 113, 227, 0.08);



  background: linear-gradient(180deg, rgba(0, 113, 227, 0.03) 0%, var(--bg-card, #ffffff) 100%);



}







[data-theme="dark"] .choice-card {



  background: rgba(26, 28, 30, 0.95);



  border-color: rgba(255, 255, 255, 0.08);



  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);



}







[data-theme="dark"] .choice-card.choice-main {



  border-color: rgba(0, 113, 227, 0.45);



  background: linear-gradient(180deg, rgba(0, 113, 227, 0.12) 0%, rgba(26, 28, 30, 0.95) 100%);



  box-shadow: 0 8px 28px rgba(0, 113, 227, 0.15);



}







.choice-badge {



  display: inline-block;



  align-self: flex-start;



  padding: 5px 12px;



  border-radius: 999px;



  font-size: 11px;



  font-weight: 700;



  letter-spacing: 0.04em;



  text-transform: uppercase;



  margin-bottom: 16px;



  background: #0071e3;



  color: #ffffff;



}







.choice-badge.choice-badge-alt {



  background: rgba(0, 113, 227, 0.1);



  color: var(--accent-blue, #0071e3);



  border: 1px solid rgba(0, 113, 227, 0.2);



}







[data-theme="dark"] .choice-badge.choice-badge-alt {



  background: rgba(90, 200, 250, 0.15);



  color: #5ac8fa;



  border-color: rgba(90, 200, 250, 0.3);



}







.choice-title {



  font-size: 20px;



  font-weight: 700;



  letter-spacing: -0.02em;



  color: var(--text-primary, #1d1d1f);



  margin-bottom: 12px;



  line-height: 1.3;



}







.choice-desc {



  font-size: 14.5px;



  line-height: 1.55;



  color: var(--text-secondary, #6e6e73);



  margin-bottom: 20px;



  flex-grow: 1;



}







.choice-bullets {



  display: flex;



  flex-direction: column;



  gap: 10px;



  margin-bottom: 24px;



}







.choice-bullet {



  display: flex;



  align-items: center;



  gap: 8px;



  font-size: 13.5px;



  color: var(--text-primary, #1d1d1f);



  line-height: 1.4;



}







.choice-bullet svg {



  color: #34c759;



  flex-shrink: 0;



}







.choice-btn {



  display: inline-flex;



  align-items: center;



  justify-content: center;



  text-align: center;



  padding: 12px 20px;



  font-size: 14px;



  font-weight: 600;



  border-radius: 12px;



  text-decoration: none;



  transition: all 0.25s ease;



  width: 100%;



}







@media (max-width: 768px) {



  .system-choice-grid {



    grid-template-columns: 1fr;



    gap: 16px;



  }



  .choice-card {



    padding: 24px 20px;



  }



}











/* ==========================================================================



   DIAGRAM STAGE ROW: DIAGRAM ON LEFT, DECYZJA AI HEMS ON RIGHT



   ========================================================================== */







.system-section .container {



  max-width: 1400px !important;



}







.diagram-stage-row {



  display: grid;



  grid-template-columns: minmax(0, 1.62fr) minmax(360px, 1fr);



  gap: 20px;



  align-items: stretch;



  width: 100%;



  margin: 12px 0 20px;



}







.diagram-stage-row .diagram-expanded-stage {



  margin: 0 !important;



  width: 100% !important;



  max-width: none !important;



  display: flex;



  flex-direction: column;



  justify-content: flex-start;



  min-height: 0;



}







.diagram-stage-row .diagram-interactive-workspace {



  width: 100% !important;



  max-width: none !important;



  aspect-ratio: 16 / 9;



  border-radius: 20px;



  overflow: hidden;



  position: relative;



}







.diagram-stage-row .system-diagram-img {



  width: 100% !important;



  height: 100% !important;



  object-fit: fill !important;



  display: block;



}







.diagram-stage-row .diagram-interactive-workspace svg {



  width: 100% !important;



  height: 100% !important;



}







/* Decyzja AI HEMS Activity Panel (Right Column) - Rock Solid Locked Grid */



.diagram-stage-row .diagram-activity-panel {



  margin: 0 !important;



  width: 100% !important;



  max-width: none !important;



  display: flex !important;



  flex-direction: column !important;



  justify-content: space-between !important;



  box-sizing: border-box !important;



  padding: 18px 20px !important;



  border-radius: 18px !important;



  height: 100% !important;



  min-height: 100% !important;



  overflow: hidden !important;



}







/* Status Bar: Strict 2-row layout that NEVER wraps into 3 rows */



.diagram-stage-row .activity-status-bar {



  display: flex !important;



  flex-direction: column !important;



  justify-content: flex-start !important;



  align-items: stretch !important;



  gap: 8px !important;



  margin-bottom: 10px !important;



  padding-bottom: 8px !important;



  min-height: 66px !important;



  max-height: 70px !important;



  box-sizing: border-box !important;



}







.diagram-stage-row .activity-mode-pill {



  width: 100% !important;



  display: flex !important;



  align-items: center !important;



  gap: 8px !important;



  font-size: 11px !important;



  font-weight: 700 !important;



  line-height: 1.2 !important;



  white-space: nowrap !important;



  overflow: hidden !important;



  text-overflow: ellipsis !important;



  padding: 0 !important;



}







.diagram-stage-row .activity-mode-name {



  white-space: nowrap !important;



  overflow: hidden !important;



  text-overflow: ellipsis !important;



}







.diagram-stage-row .activity-financial-tags {



  display: flex !important;



  justify-content: space-between !important;



  align-items: center !important;



  width: 100% !important;



  gap: 8px !important;



  flex-wrap: nowrap !important;



}







.diagram-stage-row .activity-spot-tag {



  flex-shrink: 0 !important;



  font-size: 11px !important;



  padding: 4px 10px !important;



  white-space: nowrap !important;



  line-height: 1.2 !important;



}







.diagram-stage-row .activity-profit-tag {



  flex-shrink: 1 !important;



  font-size: 11px !important;



  padding: 4px 10px !important;



  white-space: nowrap !important;



  overflow: hidden !important;



  text-overflow: ellipsis !important;



  text-align: right !important;



  line-height: 1.2 !important;



  max-width: 100% !important;



}







/* Decision Banner: Locked height, crisp single-line title + 2-line desc */



.diagram-stage-row .activity-decision-banner {



  margin-bottom: 10px !important;



  padding: 9px 13px !important;



  border-radius: 12px !important;



  min-height: 86px !important;



  max-height: 90px !important;



  box-sizing: border-box !important;



  display: flex !important;



  flex-direction: column !important;



  justify-content: center !important;



  gap: 3px !important;



}







.diagram-stage-row .decision-badge-chip {



  font-size: 10px !important;



  padding: 2px 7px !important;



  margin-bottom: 2px !important;



}







.diagram-stage-row .decision-title {



  font-size: 14.5px !important;



  font-weight: 700 !important;



  line-height: 1.25 !important;



  margin: 0 !important;



  white-space: nowrap !important;



  overflow: hidden !important;



  text-overflow: ellipsis !important;



}







.diagram-stage-row .decision-desc {



  font-size: 11.5px !important;



  line-height: 1.35 !important;



  margin: 0 !important;



  display: -webkit-box !important;



  -webkit-line-clamp: 2 !important;



  -webkit-box-orient: vertical !important;



  overflow: hidden !important;



}







/* Flow Cards: Locked height and spacing */



.diagram-stage-row .activity-flows-row {



  display: flex !important;



  flex-direction: column !important;



  gap: 8px !important;



  margin-bottom: 10px !important;



}







.diagram-stage-row .activity-flow-card {



  padding: 8px 12px !important;



  border-radius: 10px !important;



  min-height: 62px !important;



  max-height: 66px !important;



  box-sizing: border-box !important;



  display: flex !important;



  flex-direction: column !important;



  justify-content: center !important;



  gap: 2px !important;



}







.diagram-stage-row .flow-card-header {



  font-size: 10.5px !important;



  margin-bottom: 2px !important;



  display: flex !important;



  align-items: center !important;



  gap: 6px !important;



}







.diagram-stage-row .flow-card-main {



  font-size: 12px !important;



  font-weight: 600 !important;



  line-height: 1.25 !important;



  white-space: nowrap !important;



  overflow: hidden !important;



  text-overflow: ellipsis !important;



  margin: 0 !important;



}







.diagram-stage-row .flow-card-sub {



  font-size: 10.5px !important;



  line-height: 1.25 !important;



  white-space: nowrap !important;



  overflow: hidden !important;



  text-overflow: ellipsis !important;



  margin: 0 !important;



}







/* Devices Section: 2x2 grid with locked height */



.diagram-stage-row .activity-devices-section {



  margin-top: auto !important;



  padding-top: 6px !important;



  min-height: 74px !important;



  max-height: 80px !important;



  box-sizing: border-box !important;



  display: flex !important;



  flex-direction: column !important;



  justify-content: flex-end !important;



}







.diagram-stage-row .devices-section-title {



  font-size: 10.5px !important;



  font-weight: 700 !important;



  margin-bottom: 4px !important;



  display: block !important;



  line-height: 1.2 !important;



}







.diagram-stage-row .activity-devices-chips {



  display: grid !important;



  grid-template-columns: repeat(2, 1fr) !important;



  gap: 6px !important;



  width: 100% !important;



}







.diagram-stage-row .device-chip {



  font-size: 10.5px !important;



  padding: 3px 6px !important;



  white-space: nowrap !important;



  overflow: hidden !important;



  text-overflow: ellipsis !important;



  display: flex !important;



  align-items: center !important;



  min-height: 24px !important;



  box-sizing: border-box !important;



}







.diagram-stage-row .device-chip strong {



  margin-right: 3px !important;



  flex-shrink: 0 !important;



}







/* Responsive: when <= 1080px, stack vertically */



@media (max-width: 1080px) {



  .diagram-stage-row {



    grid-template-columns: 1fr !important;



    gap: 16px !important;



  }



  .diagram-stage-row .diagram-activity-panel {



    height: auto !important;



    min-height: auto !important;



  }



  .diagram-stage-row .activity-flows-row {



    display: grid !important;



    grid-template-columns: repeat(2, 1fr) !important;



  }



}







@media (max-width: 640px) {



  .diagram-stage-row .activity-flows-row {



    grid-template-columns: 1fr !important;



  }



  .diagram-stage-row .activity-devices-chips {



    grid-template-columns: 1fr !important;



  }



}







@media (max-width: 768px) {



  .diagram-stage-row .diagram-activity-panel {



    padding: 16px 14px !important;



  }



  .diagram-stage-row .activity-mode-pill {



    width: 100%;



    justify-content: flex-start;



  }



  .diagram-stage-row .activity-financial-tags {



    width: 100%;



    justify-content: space-between;



    gap: 6px;



  }



}







/* ==========================================================================



   REAL HOUSE SHOWCASE (DOM 140 m2 BIAŁYSTOK) - APPLE SEQUENTIAL HERO & SCROLL SPECS



   Układ: Duże zdjęcie na całą stronę -> Karta z parametrami po scrollu



   ========================================================================== */







.real-house-showcase {



  background: var(--bg-card, #ffffff);



  border: 1px solid var(--border-light, rgba(0, 0, 0, 0.08));



  border-radius: 28px;



  padding: 44px 40px 36px;



  margin: 0 auto 52px;



  max-width: 1280px;



  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.04);



  transition: all 0.3s ease;



  box-sizing: border-box;



}







[data-theme="dark"] .real-house-showcase {



  background: rgba(26, 28, 30, 0.95);



  border-color: rgba(255, 255, 255, 0.1);



  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);



}







.real-house-header {



  text-align: center;



  max-width: 920px;



  margin: 0 auto 36px;



}







.real-house-eyebrow {



  display: inline-flex;



  align-items: center;



  gap: 8px;



  font-size: 11.5px;



  font-weight: 700;



  letter-spacing: 0.05em;



  text-transform: uppercase;



  color: var(--accent-blue, #0071e3);



  background: rgba(0, 113, 227, 0.08);



  padding: 6px 14px;



  border-radius: 999px;



  margin-bottom: 14px;



}







.real-dot {



  width: 7px;



  height: 7px;



  border-radius: 50%;



  background: #34c759;



  display: inline-block;



  box-shadow: 0 0 8px #34c759;



}







.real-house-title {



  font-size: clamp(24px, 3vw, 34px);



  font-weight: 700;



  letter-spacing: -0.02em;



  color: var(--text-primary, #1d1d1f);



  margin-bottom: 12px;



  line-height: 1.25;



}







.real-house-lead {



  font-size: 15.5px;



  line-height: 1.6;



  color: var(--text-secondary, #6e6e73);



  margin: 0 auto;



  max-width: 860px;



}







/* 2. DUŻE ZDJĘCIE NA CAŁĄ SZEROKOŚĆ STRONY */



.real-house-hero-stage {



  width: 100%;



  max-width: 1240px;



  margin: 0 auto 40px;



}







.real-photo-switcher-nav {



  display: flex;



  justify-content: center;



  align-items: center;



  gap: 10px;



  margin-bottom: 18px;



  flex-wrap: wrap;



}







.switcher-tab-btn {



  display: inline-flex;



  align-items: center;



  gap: 8px;



  font-size: 12.5px;



  font-weight: 600;



  padding: 9px 18px;



  border-radius: 12px;



  background: var(--bg-secondary, #f5f5f7);



  color: var(--text-secondary, #6e6e73);



  border: 1px solid var(--border-light, rgba(0, 0, 0, 0.08));



  cursor: pointer;



  transition: all 0.25s ease;



}







.switcher-tab-btn:hover {



  background: rgba(0, 113, 227, 0.08);



  color: var(--accent-blue, #0071e3);



}







.switcher-tab-btn.active {



  background: var(--accent-blue, #0071e3);



  color: #ffffff;



  border-color: var(--accent-blue, #0071e3);



  box-shadow: 0 4px 14px rgba(0, 113, 227, 0.3);



}







[data-theme="dark"] .switcher-tab-btn {



  background: rgba(255, 255, 255, 0.08);



  border-color: rgba(255, 255, 255, 0.12);



  color: #a1a1a6;



}







[data-theme="dark"] .switcher-tab-btn.active {



  background: #0071e3;



  color: #ffffff;



}







.tab-zoom-btn {



  background: #ffffff;



  color: var(--text-primary, #1d1d1f);



  border-color: rgba(0, 0, 0, 0.14);



}







[data-theme="dark"] .tab-zoom-btn {



  background: rgba(255, 255, 255, 0.12);



  color: #ffffff;



}







.real-hero-photo-wrapper {



  position: relative;



  width: 100%;



  aspect-ratio: 16 / 9;



  max-height: 680px;



  border-radius: 22px;



  overflow: hidden;



  background: #000000;



  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.14);



  border: 1px solid rgba(0, 0, 0, 0.08);



  cursor: zoom-in;



  transition: transform 0.3s ease, box-shadow 0.3s ease;



}







[data-theme="dark"] .real-hero-photo-wrapper {



  border-color: rgba(255, 255, 255, 0.12);



  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);



}







.real-hero-photo-wrapper:hover {



  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);



}







.real-hero-img {



  width: 100%;



  height: 100%;



  object-fit: contain;



  background: #000000;



  display: block;



  transition: transform 0.4s ease, opacity 0.3s ease;



}







.real-hero-photo-wrapper:hover .real-hero-img {



  transform: scale(1.012);



}







.hero-photo-badges-overlay {



  position: absolute;



  inset: 0;



  pointer-events: none;



}







.hero-badge {



  position: absolute;



  backdrop-filter: blur(8px);



  -webkit-backdrop-filter: blur(8px);



  pointer-events: auto;



}







.badge-location {



  top: 14px;



  left: 14px;



  background: rgba(0, 0, 0, 0.72);



  color: #ffffff;



  font-size: 11.5px;



  font-weight: 600;



  padding: 6px 14px;



  border-radius: 999px;



  display: inline-flex;



  align-items: center;



  gap: 7px;



  letter-spacing: -0.01em;



  border: 1px solid rgba(255, 255, 255, 0.15);



}







.badge-climate {



  bottom: 14px;



  right: 14px;



  background: rgba(0, 113, 227, 0.9);



  color: #ffffff;



  font-size: 11.5px;



  font-weight: 700;



  padding: 6px 14px;



  border-radius: 999px;



  border: 1px solid rgba(255, 255, 255, 0.2);



  box-shadow: 0 4px 12px rgba(0, 113, 227, 0.4);



}







.badge-zoom-hint {



  top: 14px;



  right: 14px;



  background: rgba(0, 0, 0, 0.65);



  color: #ffffff;



  font-size: 11.5px;



  font-weight: 600;



  padding: 6px 13px;



  border-radius: 999px;



  display: inline-flex;



  align-items: center;



  gap: 6px;



  border: 1px solid rgba(255, 255, 255, 0.15);



  cursor: pointer;



}







.real-hero-caption-bar {



  display: flex;



  justify-content: space-between;



  align-items: center;



  margin-top: 14px;



  padding: 0 4px;



  gap: 16px;



  flex-wrap: wrap;



}







.real-hero-caption-left {



  font-size: 13.5px;



  line-height: 1.5;



  color: var(--text-secondary, #6e6e73);



  max-width: 720px;



}







.scroll-down-hint-link {



  display: inline-flex;



  align-items: center;



  gap: 6px;



  font-size: 12.5px;



  font-weight: 700;



  color: var(--accent-blue, #0071e3);



  background: rgba(0, 113, 227, 0.08);



  padding: 8px 16px;



  border-radius: 999px;



  text-decoration: none;



  transition: all 0.2s ease;



  white-space: nowrap;



}







.scroll-down-hint-link:hover {



  background: var(--accent-blue, #0071e3);



  color: #ffffff;



  transform: translateY(2px);



}







/* 3. KARTA Z PARAMETRAMI POJAWIAJĄCA SIĘ PODCZAS SKROLOWANIA */



.real-house-scroll-specs-container {



  margin-top: 48px;



  padding: 40px 36px 32px;



  border-radius: 24px;



  background: var(--bg-secondary, #f8fafc);



  border: 1px solid var(--border-light, rgba(0, 0, 0, 0.06));



  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);



  box-sizing: border-box;



}







[data-theme="dark"] .real-house-scroll-specs-container {



  background: rgba(255, 255, 255, 0.04);



  border-color: rgba(255, 255, 255, 0.08);



}







.scroll-specs-header {



  text-align: center;



  max-width: 820px;



  margin: 0 auto 32px;



}







.specs-eyebrow {



  font-size: 11px;



  font-weight: 800;



  letter-spacing: 0.08em;



  text-transform: uppercase;



  color: var(--accent-blue, #0071e3);



  margin-bottom: 8px;



}







.specs-main-heading {



  font-size: 24px;



  font-weight: 700;



  letter-spacing: -0.015em;



  color: var(--text-primary, #1d1d1f);



  margin-bottom: 8px;



}







.specs-lead-text {



  font-size: 14.5px;



  color: var(--text-secondary, #6e6e73);



  margin: 0 auto;



}







.specs-bento-grid {



  display: grid;



  grid-template-columns: repeat(2, 1fr);



  gap: 24px;



  margin-bottom: 28px;



}







.specs-card {



  background: var(--bg-card, #ffffff);



  border-radius: 20px;



  padding: 26px 28px;



  border: 1px solid var(--border-light, rgba(0, 0, 0, 0.06));



  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);



  display: flex;



  flex-direction: column;



}







[data-theme="dark"] .specs-card {



  background: rgba(255, 255, 255, 0.04);



  border-color: rgba(255, 255, 255, 0.08);



}







.specs-card-header {



  display: flex;



  align-items: center;



  gap: 14px;



  margin-bottom: 20px;



  padding-bottom: 14px;



  border-bottom: 1px solid rgba(0, 0, 0, 0.06);



}







[data-theme="dark"] .specs-card-header {



  border-bottom-color: rgba(255, 255, 255, 0.06);



}







.specs-icon-circle {



  width: 44px;



  height: 44px;



  border-radius: 12px;



  display: flex;



  align-items: center;



  justify-content: center;



  flex-shrink: 0;



}







.blue-circle {



  background: rgba(0, 113, 227, 0.1);



  color: #0071e3;



}







.amber-circle {



  background: rgba(245, 158, 11, 0.12);



  color: #f59e0b;



}







.specs-card-title {



  font-size: 16px;



  font-weight: 700;



  color: var(--text-primary, #1d1d1f);



  margin: 0 0 2px;



}







.specs-card-sub {



  font-size: 12px;



  color: var(--text-secondary, #6e6e73);



}







.specs-list {



  display: flex;



  flex-direction: column;



  gap: 10px;



}







.spec-item {



  display: flex;



  justify-content: space-between;



  align-items: baseline;



  gap: 12px;



  font-size: 13px;



  padding-bottom: 8px;



  border-bottom: 1px solid rgba(0, 0, 0, 0.04);



}







[data-theme="dark"] .spec-item {



  border-bottom-color: rgba(255, 255, 255, 0.05);



}







.spec-item:last-child {



  border-bottom: none;



  padding-bottom: 0;



}







.spec-k {



  color: var(--text-secondary, #6e6e73);



  font-weight: 500;



  flex-shrink: 0;



}







.spec-v {



  color: var(--text-primary, #1d1d1f);



  font-weight: 600;



  text-align: right;



}







.spec-v.highlight-green {



  color: #10b981;



  font-weight: 700;



}







/* Pasek Partnerów Naukowo-Badawczych */



.specs-partners-banner {



  display: grid;



  grid-template-columns: repeat(3, 1fr);



  gap: 16px;



  padding: 20px 24px;



  border-radius: 16px;



  background: var(--bg-card, #ffffff);



  border: 1px solid var(--border-light, rgba(0, 0, 0, 0.06));



}







[data-theme="dark"] .specs-partners-banner {



  background: rgba(255, 255, 255, 0.03);



  border-color: rgba(255, 255, 255, 0.06);



}







.partner-box {



  display: flex;



  align-items: center;



  gap: 12px;



}







.partner-icon {



  font-size: 26px;



  flex-shrink: 0;



}







.partner-info strong {



  display: block;



  font-size: 13px;



  color: var(--text-primary, #1d1d1f);



  line-height: 1.3;



}







.partner-info span {



  display: block;



  font-size: 11.5px;



  color: var(--text-secondary, #6e6e73);



  line-height: 1.35;



  margin-top: 2px;



}







/* 4. Przejście do wykresów */



.real-house-transition-bar {



  display: flex;



  justify-content: center;



  margin-top: 36px;



}







.transition-pill {



  display: inline-flex;



  align-items: center;



  gap: 8px;



  font-size: 13.5px;



  font-weight: 600;



  color: var(--accent-blue, #0071e3);



  background: rgba(0, 113, 227, 0.08);



  border: 1px solid rgba(0, 113, 227, 0.2);



  padding: 10px 24px;



  border-radius: 999px;



  text-decoration: none;



  transition: all 0.25s ease;



  cursor: pointer;



}







.transition-pill:hover {



  background: var(--accent-blue, #0071e3);



  color: #ffffff;



  transform: translateY(-2px);



  box-shadow: 0 8px 20px rgba(0, 113, 227, 0.25);



}







/* 5. Lightbox Modal dla obiektu badawczego */



.real-house-lightbox-modal {



  display: none;



  position: fixed !important;



  inset: 0 !important;



  width: 100vw !important;



  height: 100vh !important;
  height: 100dvh !important;



  z-index: 99999999 !important;



  align-items: center;



  justify-content: center;



  padding: 30px 20px !important;



  box-sizing: border-box !important;



}







.real-house-lightbox-modal.active {



  display: flex !important;



}







.lightbox-backdrop {



  position: absolute;



  inset: 0;



  background: rgba(0, 0, 0, 0.88);



  backdrop-filter: blur(14px);



  -webkit-backdrop-filter: blur(14px);



}







.lightbox-content {



  position: relative;



  z-index: 2;



  max-width: 95vw;



  max-height: 92vh;



  display: flex;



  flex-direction: column;



  align-items: center;



  justify-content: center;



}







.real-house-lightbox-modal {



  position: fixed !important;



  inset: 0 !important;



  width: 100vw !important;



  height: 100vh !important;
  height: 100dvh !important;



  z-index: 99999999 !important;



  display: flex;



  align-items: center;



  justify-content: center;



  padding: 30px 20px !important;



  box-sizing: border-box !important;



}







.lightbox-backdrop {



  position: absolute !important;



  inset: 0 !important;



  background: rgba(0, 0, 0, 0.92) !important;



  backdrop-filter: blur(20px) !important;



  -webkit-backdrop-filter: blur(20px) !important;



  cursor: pointer !important;



}







.lightbox-content {



  position: relative !important;



  z-index: 2 !important;



  max-width: 95vw !important;



  max-height: 90vh !important;



  display: flex !important;



  flex-direction: column !important;



  align-items: center !important;



  justify-content: center !important;



}







.lightbox-close-btn {



  position: fixed !important;



  top: 24px !important;



  right: 28px !important;



  width: 48px !important;



  height: 48px !important;



  min-width: 48px !important;



  min-height: 48px !important;



  border-radius: 50% !important;



  background: rgba(20, 20, 26, 0.88) !important;



  backdrop-filter: blur(20px) !important;



  -webkit-backdrop-filter: blur(20px) !important;



  border: 1px solid rgba(255, 255, 255, 0.3) !important;



  color: #ffffff !important;



  display: flex !important;



  align-items: center !important;



  justify-content: center !important;



  cursor: pointer !important;



  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6) !important;



  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;



  z-index: 100000000 !important;



}







.lightbox-close-btn:hover {



  background: rgba(255, 255, 255, 0.28) !important;



  border-color: rgba(255, 255, 255, 0.6) !important;



  transform: scale(1.1) !important;



  color: #ffffff !important;



}







.lightbox-close-btn svg {



  width: 24px !important;



  height: 24px !important;



  stroke: #ffffff !important;



  stroke-width: 2.5 !important;



}







@media (max-width: 768px) {



  .lightbox-close-btn {



    top: 14px !important;



    right: 14px !important;



    width: 42px !important;



    height: 42px !important;



    min-width: 42px !important;



    min-height: 42px !important;



  }



}







.lightbox-img {



  max-width: 95vw;



  max-height: 82vh;



  object-fit: contain;



  border-radius: 14px;



  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);



  background: #000;



}







.lightbox-footer {



  margin-top: 12px;



  color: rgba(255, 255, 255, 0.9);



  font-size: 13.5px;



  font-weight: 500;



  text-align: center;



}







/* Responsive Media Queries */



@media (max-width: 960px) {



  .specs-bento-grid {



    grid-template-columns: 1fr;



    gap: 16px;



  }



  .specs-partners-banner {



    grid-template-columns: 1fr;



    gap: 12px;



  }



  .real-house-showcase {



    padding: 28px 18px 24px;



  }



  .real-house-scroll-specs-container {



    padding: 28px 18px 24px;



    margin-top: 36px;



  }



  .badge-climate {



    font-size: 10px;



    padding: 4px 10px;



  }



  .badge-location {



    font-size: 10px;



    padding: 4px 10px;



  }



}







@media (max-width: 640px) {



  .spec-item {



    flex-direction: column;



    align-items: flex-start;



    gap: 2px;



  }



  .spec-v {



    text-align: left;



  }



  .real-hero-caption-bar {



    flex-direction: column;



    align-items: flex-start;



  }



}











/* ==========================================================================



   FOTORELACJA: NASZA OBECNOŚĆ NA UNIVERSITY OF STAVANGER (UiS, NORWEGIA)



   ========================================================================== */







.stavanger-presence-section {



  margin-top: 24px;



  padding-top: 0;



  border-top: none;



  box-sizing: border-box;



}







[data-theme="dark"] .stavanger-presence-section {



  border-top-color: transparent;



}







.professors-section-wrap {



  margin-top: 72px;



  padding-top: 56px;



  border-top: 1px solid var(--border-light, rgba(0, 0, 0, 0.08));



  box-sizing: border-box;



}







[data-theme="dark"] .professors-section-wrap {



  border-top-color: rgba(255, 255, 255, 0.1);



}







.stavanger-divider-badge {



  display: inline-flex;



  align-items: center;



  gap: 8px;



  background: rgba(0, 113, 227, 0.08);



  color: var(--accent-blue, #0071e3);



  padding: 6px 16px;



  border-radius: 999px;



  font-size: 11.5px;



  font-weight: 700;



  letter-spacing: 0.04em;



  margin: 0 auto 18px;



  display: table;



}







[data-theme="dark"] .stavanger-divider-badge {



  background: rgba(41, 151, 255, 0.15);



  color: #2997ff;



}







.stavanger-header-box {



  text-align: center;



  max-width: 1000px;



  margin: 0 auto 40px;



}







.stavanger-main-title {



  font-size: clamp(26px, 3.8vw, 38px);



  font-weight: 800;



  letter-spacing: -0.02em;



  color: var(--text-primary, #1d1d1f);



  margin-bottom: 14px;



}







.stavanger-sub-desc {



  font-size: 16px;



  line-height: 1.6;



  color: var(--text-secondary, #6e6e73);



  max-width: 880px;



  margin: 0 auto 34px;



}







/* 4 filary kluczowych faktów */



.stavanger-key-facts-grid {



  display: grid;



  grid-template-columns: repeat(4, 1fr);



  gap: 16px;



  margin-bottom: 34px;



  text-align: left;



}







.stavanger-fact-card {



  background: var(--bg-secondary, #f8fafc);



  border: 1px solid var(--border-light, rgba(0, 0, 0, 0.07));



  border-radius: 16px;



  padding: 18px 16px;



  display: flex;



  align-items: flex-start;



  gap: 12px;



  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;



}







.stavanger-fact-card:hover {



  transform: translateY(-2px);



  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);



  border-color: rgba(0, 113, 227, 0.3);



}







[data-theme="dark"] .stavanger-fact-card {



  background: rgba(255, 255, 255, 0.04);



  border-color: rgba(255, 255, 255, 0.08);



}







.stavanger-fact-card .fact-icon {



  font-size: 22px;



  line-height: 1;



  flex-shrink: 0;



}







.stavanger-fact-card .fact-content strong {



  display: block;



  font-size: 13px;



  font-weight: 700;



  color: var(--text-primary, #1d1d1f);



  margin-bottom: 3px;



}







.stavanger-fact-card .fact-content span {



  display: block;



  font-size: 11.5px;



  line-height: 1.45;



  color: var(--text-secondary, #6e6e73);



}







/* Filtry kategorii */



.stavanger-filter-bar {



  display: flex;



  flex-wrap: wrap;



  justify-content: center;



  gap: 10px;



  margin: 20px auto 0;



}







.stavanger-filter-btn {



  display: inline-flex;



  align-items: center;



  gap: 8px;



  padding: 8px 18px;



  border-radius: 999px;



  background: var(--bg-card, #ffffff);



  border: 1px solid var(--border-medium, rgba(0, 0, 0, 0.12));



  font-size: 13.5px;



  font-weight: 600;



  color: var(--text-secondary, #515154);



  cursor: pointer;



  transition: all 0.25s ease;



}







.stavanger-filter-btn:hover {



  border-color: var(--accent-blue, #0071e3);



  color: var(--text-primary, #1d1d1f);



  background: rgba(0, 113, 227, 0.04);



}







.stavanger-filter-btn.active {



  background: var(--accent-blue, #0071e3);



  color: #ffffff;



  border-color: var(--accent-blue, #0071e3);



  box-shadow: 0 4px 14px rgba(0, 113, 227, 0.25);



}







.stavanger-filter-btn .count-badge {



  font-size: 11px;



  font-weight: 700;



  padding: 2px 7px;



  border-radius: 999px;



  background: rgba(0, 0, 0, 0.06);



  color: inherit;



}







.stavanger-filter-btn.active .count-badge {



  background: rgba(255, 255, 255, 0.25);



  color: #ffffff;



}







[data-theme="dark"] .stavanger-filter-btn {



  background: rgba(255, 255, 255, 0.06);



  border-color: rgba(255, 255, 255, 0.12);



  color: #d1d5db;



}







[data-theme="dark"] .stavanger-filter-btn:hover {



  background: rgba(255, 255, 255, 0.12);



  color: #ffffff;



}







[data-theme="dark"] .stavanger-filter-btn.active {



  background: var(--accent-blue, #0071e3);



  color: #ffffff;



  border-color: var(--accent-blue, #0071e3);



}







/* Siatka Bento galerii */



.stavanger-photo-bento {



  display: grid;



  grid-template-columns: repeat(3, 1fr);



  gap: 24px;



}







.stavanger-card {



  background: var(--bg-card, #ffffff);



  border: 1px solid var(--border-light, rgba(0, 0, 0, 0.08));



  border-radius: 22px;



  overflow: hidden;



  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);



  display: flex;



  flex-direction: column;



  cursor: pointer;



  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);



  box-sizing: border-box;



}







.stavanger-card:hover {



  transform: translateY(-5px);



  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.09);



  border-color: rgba(0, 113, 227, 0.35);



}







[data-theme="dark"] .stavanger-card {



  background: rgba(26, 28, 30, 0.85);



  border-color: rgba(255, 255, 255, 0.09);



  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);



}







[data-theme="dark"] .stavanger-card:hover {



  border-color: rgba(41, 151, 255, 0.4);



  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.55);



}







.stavanger-card.span-2 {



  grid-column: span 2;



}







.stavanger-card.span-1 {



  grid-column: span 1;



}







.card-photo-wrapper {



  position: relative;



  overflow: hidden;



  background: #0b0c10;



  width: 100%;



}







.stavanger-card.span-2 .card-photo-wrapper {



  height: 340px;



}







.stavanger-card.span-1 .card-photo-wrapper {



  height: 240px;



}







.stavanger-img {



  width: 100%;



  height: 100%;



  object-fit: cover;



  display: block;



  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);



}







.stavanger-card:hover .stavanger-img {



  transform: scale(1.04);



}







.card-badges-top {



  position: absolute;



  top: 14px;



  left: 14px;



  right: 14px;



  display: flex;



  justify-content: space-between;



  align-items: center;



  pointer-events: none;



}







.card-photo-badge {



  font-size: 11px;



  font-weight: 700;



  letter-spacing: 0.02em;



  padding: 6px 12px;



  border-radius: 999px;



  background: rgba(0, 0, 0, 0.68);



  backdrop-filter: blur(10px);



  -webkit-backdrop-filter: blur(10px);



  color: #ffffff;



  border: 1px solid rgba(255, 255, 255, 0.22);



  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);



}







.card-zoom-pill {



  display: inline-flex;



  align-items: center;



  gap: 5px;



  font-size: 11px;



  font-weight: 600;



  padding: 5px 10px;



  border-radius: 999px;



  background: rgba(255, 255, 255, 0.88);



  backdrop-filter: blur(8px);



  -webkit-backdrop-filter: blur(8px);



  color: #1d1d1f;



  border: 1px solid rgba(255, 255, 255, 0.6);



  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);



  transition: all 0.2s ease;



}







.stavanger-card:hover .card-zoom-pill {



  background: #ffffff;



  transform: scale(1.04);



}







.stavanger-card .card-content {



  padding: 22px 24px 22px;



  display: flex;



  flex-direction: column;



  flex-grow: 1;



}







.stavanger-card .card-title {



  font-size: 16px;



  font-weight: 700;



  line-height: 1.35;



  color: var(--text-primary, #1d1d1f);



  margin-bottom: 8px;



  letter-spacing: -0.01em;



}







.stavanger-card .card-desc {



  font-size: 13.5px;



  line-height: 1.55;



  color: var(--text-secondary, #6e6e73);



  margin-bottom: 14px;



  flex-grow: 1;



}







.stavanger-card .card-meta-row {



  display: flex;



  align-items: center;



  gap: 8px;



  font-size: 11.5px;



  color: var(--text-tertiary, #86868b);



  margin-top: auto;



  padding-top: 10px;



  border-top: 1px solid var(--border-light, rgba(0, 0, 0, 0.06));



}







[data-theme="dark"] .stavanger-card .card-meta-row {



  border-top-color: rgba(255, 255, 255, 0.08);



}







/* Lightbox dla Stavanger */



.stavanger-lightbox-modal {



  display: none;



  position: fixed !important;



  inset: 0 !important;



  width: 100vw !important;



  height: 100vh !important;
  height: 100dvh !important;



  z-index: 99999999 !important;



  align-items: center !important;



  justify-content: center !important;



  padding: 30px 20px !important;



  box-sizing: border-box !important;



}







.stavanger-lightbox-modal.active {



  display: flex !important;



}







.stavanger-lightbox-backdrop {



  position: absolute !important;



  inset: 0 !important;



  background: rgba(0, 0, 0, 0.92) !important;



  backdrop-filter: blur(20px) !important;



  -webkit-backdrop-filter: blur(20px) !important;



  cursor: pointer !important;



}







.stavanger-lightbox-dialog {



  position: relative !important;



  z-index: 2 !important;



  max-width: 1080px !important;



  width: 92vw !important;



  max-height: 90vh !important;



  display: flex !important;



  flex-direction: column !important;



  align-items: center !important;



  box-sizing: border-box !important;



  margin: auto !important;



}







.stavanger-lightbox-close {



  position: fixed !important;



  top: 24px !important;



  right: 28px !important;



  width: 48px !important;



  height: 48px !important;



  min-width: 48px !important;



  min-height: 48px !important;



  border-radius: 50% !important;



  background: rgba(20, 20, 26, 0.88) !important;



  backdrop-filter: blur(20px) !important;



  -webkit-backdrop-filter: blur(20px) !important;



  border: 1px solid rgba(255, 255, 255, 0.3) !important;



  color: #ffffff !important;



  display: flex !important;



  align-items: center !important;



  justify-content: center !important;



  cursor: pointer !important;



  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6) !important;



  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;



  z-index: 100000000 !important;



}







.stavanger-lightbox-close:hover {



  background: rgba(255, 255, 255, 0.28) !important;



  border-color: rgba(255, 255, 255, 0.6) !important;



  transform: scale(1.1) !important;



  color: #ffffff !important;



}







.stavanger-lightbox-close svg {



  width: 24px !important;



  height: 24px !important;



  stroke: #ffffff !important;



  stroke-width: 2.5 !important;



}







.stavanger-nav-btn {



  position: fixed !important;



  top: 50% !important;



  transform: translateY(-50%) !important;



  width: 52px !important;



  height: 52px !important;



  min-width: 52px !important;



  min-height: 52px !important;



  border-radius: 50% !important;



  background: rgba(20, 20, 26, 0.8) !important;



  backdrop-filter: blur(16px) !important;



  -webkit-backdrop-filter: blur(16px) !important;



  border: 1px solid rgba(255, 255, 255, 0.28) !important;



  color: #ffffff !important;



  display: flex !important;



  align-items: center !important;



  justify-content: center !important;



  cursor: pointer !important;



  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;



  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5) !important;



  z-index: 100000000 !important;



}







.stavanger-nav-btn.prev-btn {



  left: 28px !important;



}







.stavanger-nav-btn.next-btn {



  right: 28px !important;



}







.stavanger-nav-btn:hover {



  background: rgba(255, 255, 255, 0.28) !important;



  border-color: rgba(255, 255, 255, 0.6) !important;



  transform: translateY(-50%) scale(1.1) !important;



}







@media (max-width: 768px) {



  .stavanger-lightbox-close {



    top: 14px !important;



    right: 14px !important;



    width: 42px !important;



    height: 42px !important;



    min-width: 42px !important;



    min-height: 42px !important;



  }



  .stavanger-nav-btn.prev-btn {



    left: 10px !important;



  }



  .stavanger-nav-btn.next-btn {



    right: 10px !important;



  }



  .stavanger-nav-btn {



    width: 44px !important;



    height: 44px !important;



    min-width: 44px !important;



    min-height: 44px !important;



  }



}







.stavanger-lightbox-main {



  width: 100%;



  max-height: 66vh;



  display: flex;



  align-items: center;



  justify-content: center;



  background: #000;



  border-radius: 16px 16px 0 0;



  overflow: hidden;



  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);



}







.stavanger-modal-img {



  max-width: 100%;



  max-height: 66vh;



  object-fit: contain;



  display: block;



}







.stavanger-lightbox-info {



  width: 100%;



  background: #18191c;



  color: #ffffff;



  padding: 20px 26px 22px;



  border-radius: 0 0 16px 16px;



  border-top: 1px solid rgba(255, 255, 255, 0.1);



  box-sizing: border-box;



  text-align: left;



}







.stavanger-lightbox-info .info-top-row {



  display: flex;



  justify-content: space-between;



  align-items: center;



  margin-bottom: 8px;



}







.stavanger-lightbox-info .info-badge {



  font-size: 11px;



  font-weight: 700;



  color: #2997ff;



  letter-spacing: 0.03em;



  background: rgba(41, 151, 255, 0.15);



  padding: 3px 10px;



  border-radius: 999px;



}







.stavanger-lightbox-info .info-counter {



  font-size: 11.5px;



  font-weight: 600;



  color: rgba(255, 255, 255, 0.55);



}







.stavanger-lightbox-info .info-title {



  font-size: 16px;



  font-weight: 700;



  color: #ffffff;



  margin-bottom: 6px;



}







.stavanger-lightbox-info .info-desc {



  font-size: 13px;



  line-height: 1.5;



  color: rgba(255, 255, 255, 0.8);



  margin-bottom: 8px;



}







.stavanger-lightbox-info .info-meta {



  font-size: 11.5px;



  color: rgba(255, 255, 255, 0.45);



}







/* Responsywność */



@media (max-width: 1180px) {



  .stavanger-nav-btn.prev-btn {



    left: 12px;



  }



  .stavanger-nav-btn.next-btn {



    right: 12px;



  }



}







@media (max-width: 1024px) {



  .stavanger-key-facts-grid {



    grid-template-columns: repeat(2, 1fr);



  }



  .stavanger-photo-bento {



    grid-template-columns: repeat(2, 1fr);



  }



  .stavanger-card.span-2 {



    grid-column: span 2;



  }



}







@media (max-width: 768px) {



    .stavanger-presence-section {



    margin-top: 18px;



    padding-top: 0;



  }



  .professors-section-wrap {



    margin-top: 50px;



    padding-top: 40px;



  }



  .stavanger-photo-bento {



    grid-template-columns: 1fr;



    gap: 18px;



  }



  .stavanger-card.span-2,



  .stavanger-card.span-1 {



    grid-column: span 1;



  }



  .stavanger-card.span-2 .card-photo-wrapper,



  .stavanger-card.span-1 .card-photo-wrapper {



    height: 220px;



  }



  .stavanger-key-facts-grid {



    grid-template-columns: 1fr;



    gap: 12px;



  }



  .stavanger-lightbox-modal {



    padding: 12px;



  }



  .stavanger-lightbox-info {



    padding: 16px 18px;



  }



  .stavanger-lightbox-info .info-title {



    font-size: 14.5px;



  }



  .stavanger-lightbox-info .info-desc {



    font-size: 12px;



  }



}







.prof-stavanger-jump-btn {



  display: inline-flex;



  align-items: center;



  gap: 8px;



  background: rgba(0, 113, 227, 0.08);



  border: 1px solid rgba(0, 113, 227, 0.25);



  color: var(--accent-blue, #0071e3);



  padding: 8px 16px;



  border-radius: 999px;



  font-size: 13px;



  font-weight: 600;



  text-decoration: none;



  transition: all 0.2s ease;



}



.prof-stavanger-jump-btn:hover {



  background: var(--accent-blue, #0071e3);



  color: #ffffff;



  transform: translateY(-1px);



  box-shadow: 0 4px 12px rgba(0, 113, 227, 0.25);



}



[data-theme='dark'] .prof-stavanger-jump-btn {



  background: rgba(41, 151, 255, 0.15);



  border-color: rgba(41, 151, 255, 0.35);



  color: #2997ff;



}



[data-theme='dark'] .prof-stavanger-jump-btn:hover {



  background: #2997ff;



  color: #ffffff;



}











/* ==========================================================================



   GLOBAL CONTINUOUS BLUE EDGE GLOW ON ENTIRE PAGE (ALL SECTIONS)



   ========================================================================== */







html,



body {



  background-color: var(--bg-primary, #ffffff) !important;



  background-image: linear-gradient(



    90deg,



    rgba(0, 113, 227, 0.15) 0%,



    rgba(0, 113, 227, 0.065) 8%,



    rgba(0, 113, 227, 0.018) 15%,



    rgba(0, 113, 227, 0) 22%,



    rgba(0, 113, 227, 0) 78%,



    rgba(0, 113, 227, 0.018) 85%,



    rgba(0, 113, 227, 0.065) 92%,



    rgba(0, 113, 227, 0.15) 100%



  ) !important;



  background-repeat: repeat-y !important;



  background-size: 100% 100% !important;



}







.hero-section,



.system-section,



#system,



.report-charts-section,



#raport-wykresy,



.calculator-section,



#kalkulator,



.science-section,



#nauka,



.bento-section,



#ekosystem,



.guarantee-section,



#gwarancja,



.models-section,



#modele,



.wall-section,



.contact-section,



#kontakt,



.partners-bottom-section,



#partnerzy,



.global-footer {



  background: transparent !important;



  position: relative;



  z-index: 1;



}







.report-charts-section,



#raport-wykresy {



  border-top: none !important;



  border-bottom: none !important;



}











/* ==========================================================================



   FULL-WIDTH AI HEMS DIAGRAM BY DEFAULT + EXPANDABLE DETAILS ("Zobacz jak działa system")



   ========================================================================== */







/* Default state: Large full-width diagram & animated energy flows */



#systemDiagramCard:not(.system-details-open) .diagram-stage-row {



  grid-template-columns: 1fr !important;



  margin-bottom: 16px !important;



}







#systemDiagramCard:not(.system-details-open) .diagram-expanded-stage {



  width: 100% !important;



  max-width: 100% !important;



}







#systemDiagramCard:not(.system-details-open) .celestial-sky-viewport {
  width: 100% !important;
  max-width: 100% !important;
  height: 0 !important;
  max-height: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  margin: 0 auto !important;
  padding: 0 !important;
  border-width: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
  transition: all 0.65s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

#systemDiagramCard.system-details-open .celestial-sky-viewport,
#systemDiagramCard.sky-simulation-active .celestial-sky-viewport {
  width: 100% !important;
  max-width: 100% !important;
  height: 138px !important;
  max-height: 160px !important;
  opacity: 1 !important;
  visibility: visible !important;
  margin: 0 auto 12px !important;
  pointer-events: auto !important;
  transition: all 0.65s cubic-bezier(0.16, 1, 0.3, 1) !important;
}







#systemDiagramCard:not(.system-details-open) .system-diagram-wrapper {



  width: 100% !important;



  max-width: 100% !important;



  aspect-ratio: 16 / 9 !important;



}







#systemDiagramCard:not(.system-details-open) .diagram-activity-panel,



#systemDiagramCard:not(.system-details-open) .diagram-bottom-controls {



  display: none !important;



}







/* Expanded state: Diagram + Detailed Activity Table + 24h Simulation Slider */



#systemDiagramCard.system-details-open .diagram-stage-row {



  display: grid !important;



  grid-template-columns: minmax(0, 1.56fr) minmax(380px, 1fr) !important;



  gap: 20px !important;



  align-items: stretch !important;



  animation: fadeInSystemDetails 0.38s cubic-bezier(0.16, 1, 0.3, 1);



}







#systemDiagramCard.system-details-open .diagram-activity-panel {



  display: flex !important;



  animation: fadeInSystemDetails 0.38s cubic-bezier(0.16, 1, 0.3, 1);



}







#systemDiagramCard.system-details-open .diagram-bottom-controls {



  display: block !important;



  margin-top: 16px !important;



  animation: fadeInSystemDetails 0.42s cubic-bezier(0.16, 1, 0.3, 1);



}







@keyframes fadeInSystemDetails {



  from {



    opacity: 0;



    transform: translateY(10px);



  }



  to {



    opacity: 1;



    transform: translateY(0);



  }



}







/* Fix AKTYWNE KOMPONENTY horizontal column-wrap clipping bug */



.diagram-stage-row .activity-devices-section,



.activity-devices-section {



  margin-top: auto !important;



  padding-top: 10px !important;



  min-height: 0 !important;



  max-height: none !important;



  height: auto !important;



  box-sizing: border-box !important;



  display: flex !important;



  flex-direction: column !important;



  flex-wrap: nowrap !important;



  align-items: stretch !important;



  justify-content: flex-start !important;



  gap: 6px !important;



  width: 100% !important;



}







.diagram-stage-row .devices-section-title,



.devices-section-title {



  font-size: 10.5px !important;



  font-weight: 700 !important;



  margin-bottom: 2px !important;



  display: block !important;



  line-height: 1.2 !important;



  text-align: left !important;



  width: 100% !important;



}







.diagram-stage-row .activity-devices-chips,



.activity-devices-chips {



  display: grid !important;



  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;



  gap: 6px !important;



  width: 100% !important;



  box-sizing: border-box !important;



}







/* Toggle Button Bar under diagram */



.diagram-expand-details-bar {



  display: flex;



  justify-content: center;



  align-items: center;



  margin: 8px auto 4px;



  width: 100%;



}







.btn-toggle-system-details {



  display: inline-flex;



  align-items: center;



  justify-content: center;



  gap: 10px;



  padding: 14px 32px;



  border-radius: 999px;



  background: linear-gradient(135deg, #0071e3 0%, #005bb5 100%);



  color: #ffffff;



  font-family: var(--font-sans);



  font-size: 15px;



  font-weight: 700;



  letter-spacing: -0.01em;



  border: 1px solid rgba(255, 255, 255, 0.22);



  box-shadow: 0 8px 24px rgba(0, 113, 227, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.25);



  cursor: pointer;



  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);



}







.btn-toggle-system-details:hover {



  transform: translateY(-2px) scale(1.01);



  background: linear-gradient(135deg, #0077ed 0%, #0062c4 100%);



  box-shadow: 0 12px 30px rgba(0, 113, 227, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.35);



}







.btn-toggle-system-details:active {



  transform: translateY(0) scale(0.99);



}







.btn-toggle-system-details .btn-toggle-chevron {



  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);



}







.btn-toggle-system-details.active .btn-toggle-chevron {



  transform: rotate(180deg);



}







@media (max-width: 1080px) {



  #systemDiagramCard.system-details-open .diagram-stage-row {



    grid-template-columns: 1fr !important;



  }



}











/* ==========================================================================



   COMPREHENSIVE MOBILE RESPONSIVENESS & ANTI-CLIPPING OVERRIDES (<= 768px & <= 480px)



   ========================================================================== */







@media (max-width: 1080px) {



  #systemDiagramCard.system-details-open .diagram-stage-row,



  .diagram-stage-row {



    grid-template-columns: minmax(0, 1fr) !important;



  }



}







@media (max-width: 768px) {



  /* 0. Global container & overflow protection */



  html, body {



    overflow-x: hidden !important;



    max-width: 100vw !important;



  }







  .container {



    padding-left: 14px !important;



    padding-right: 14px !important;



    max-width: 100% !important;



    box-sizing: border-box !important;



  }







  /* 1. Section #system: AI HEMS AGENT Diagram & Expandable Details */



  #systemDiagramCard,



  .system-diagram-card {



    padding: 20px 12px 18px !important;



    border-radius: 22px !important;



    max-width: 100% !important;



    width: 100% !important;



    box-sizing: border-box !important;



    overflow: hidden !important;



  }







  #systemDiagramCard:not(.system-details-open) .diagram-stage-row,



  #systemDiagramCard.system-details-open .diagram-stage-row,



  .diagram-stage-row {



    display: flex !important;



    flex-direction: column !important;



    gap: 14px !important;



    width: 100% !important;



    max-width: 100% !important;



    min-width: 0 !important;



    margin: 8px 0 12px !important;



  }







  .diagram-stage-row .diagram-expanded-stage,



  #systemDiagramCard:not(.system-details-open) .diagram-expanded-stage,



  .diagram-expanded-stage {



    width: 100% !important;



    max-width: 100% !important;



    min-width: 0 !important;



    margin: 0 !important;



    gap: 8px !important;



  }







  /* Celestial Sky Viewport on Mobile */



  #systemDiagramCard:not(.system-details-open) .celestial-sky-viewport,



  .diagram-expanded-stage .celestial-sky-viewport,



  .celestial-sky-viewport {



    width: 100% !important;



    max-width: 100% !important;



    min-width: 0 !important;



    height: 104px !important;



    border-radius: 16px !important;



    margin: 0 auto 4px !important;



    box-sizing: border-box !important;



  }







  .celestial-badge-label {



    font-size: 9.5px !important;



    padding: 2px 7px !important;



    white-space: nowrap !important;



  }







  .diagram-expanded-stage .celestial-horizon-labels,



  .celestial-horizon-labels {



    left: 8px !important;



    right: 8px !important;



    bottom: 5px !important;



    font-size: 9px !important;



    display: flex !important;



    justify-content: space-between !important;



    align-items: center !important;



    gap: 4px !important;



  }







  .celestial-horizon-labels .horizon-lbl {



    font-size: 8.5px !important;



    white-space: nowrap !important;



    overflow: hidden !important;



    text-overflow: ellipsis !important;



    max-width: 33% !important;



  }







  /* System Diagram Wrapper & Image on Mobile */



  #systemDiagramCard:not(.system-details-open) .system-diagram-wrapper,



  .diagram-expanded-stage .system-diagram-wrapper,



  .system-diagram-wrapper {



    width: 100% !important;



    max-width: 100% !important;



    min-width: 0 !important;



    min-height: 0 !important;



    height: auto !important;



    aspect-ratio: 16 / 9 !important;



    border-radius: 14px !important;



    box-sizing: border-box !important;



  }







  .diagram-expanded-stage .system-diagram-img,



  .system-diagram-img {



    width: 100% !important;



    height: 100% !important;



    min-width: 0 !important;



    min-height: 0 !important;



    aspect-ratio: 16 / 9 !important;



    object-fit: fill !important;



  }







  /* Toggle Button ("Zobacz jak działa system") on Mobile */



  .diagram-expand-details-bar {



    margin: 6px auto 2px !important;



    width: 100% !important;



  }







  .btn-toggle-system-details {



    width: 100% !important;



    max-width: 100% !important;



    padding: 12px 16px !important;



    font-size: 13.5px !important;



    gap: 8px !important;



    box-sizing: border-box !important;



    white-space: normal !important;



    line-height: 1.3 !important;



    text-align: center !important;



  }







  /* Expanded Activity Panel (Decyzja AI HEMS) on Mobile - Unlock all desktop fixed heights & nowrap */



  #systemDiagramCard.system-details-open .diagram-activity-panel,



  .diagram-stage-row .diagram-activity-panel {



    width: 100% !important;



    max-width: 100% !important;



    min-width: 0 !important;



    height: auto !important;



    min-height: 0 !important;



    max-height: none !important;



    padding: 14px 12px !important;



    border-radius: 16px !important;



    overflow: visible !important;



    box-sizing: border-box !important;



    gap: 10px !important;



  }







  .diagram-stage-row .activity-status-bar {



    min-height: 0 !important;



    max-height: none !important;



    height: auto !important;



    gap: 8px !important;



    margin-bottom: 6px !important;



    padding-bottom: 10px !important;



  }







  .diagram-stage-row .activity-mode-pill {



    white-space: normal !important;



    overflow: visible !important;



    text-overflow: unset !important;



    font-size: 11px !important;



    line-height: 1.35 !important;



    align-items: flex-start !important;



  }







  .diagram-stage-row .activity-mode-name {



    white-space: normal !important;



    overflow: visible !important;



    text-overflow: unset !important;



    word-break: break-word !important;



  }







  .diagram-stage-row .activity-financial-tags {



    flex-wrap: wrap !important;



    gap: 6px !important;



    justify-content: flex-start !important;



  }







  .diagram-stage-row .activity-spot-tag,



  .diagram-stage-row .activity-profit-tag {



    font-size: 11px !important;



    padding: 4px 9px !important;



    white-space: normal !important;



    overflow: visible !important;



    text-overflow: unset !important;



    text-align: left !important;



    max-width: 100% !important;



  }







  .diagram-stage-row .activity-decision-banner {



    min-height: 0 !important;



    max-height: none !important;



    height: auto !important;



    padding: 12px !important;



    margin-bottom: 6px !important;



    gap: 4px !important;



  }







  .diagram-stage-row .decision-title {



    font-size: 14px !important;



    white-space: normal !important;



    overflow: visible !important;



    text-overflow: unset !important;



    line-height: 1.35 !important;



  }







  .diagram-stage-row .decision-desc {



    font-size: 12px !important;



    white-space: normal !important;



    overflow: visible !important;



    display: block !important;



    -webkit-line-clamp: unset !important;



    line-height: 1.45 !important;



  }







  .diagram-stage-row .activity-flows-row {



    display: flex !important;



    flex-direction: column !important;



    gap: 8px !important;



    margin-bottom: 6px !important;



    width: 100% !important;



  }







  .diagram-stage-row .activity-flow-card {



    min-height: 0 !important;



    max-height: none !important;



    height: auto !important;



    padding: 10px 12px !important;



    width: 100% !important;



    box-sizing: border-box !important;



  }







  .diagram-stage-row .flow-card-main {



    font-size: 12px !important;



    white-space: normal !important;



    overflow: visible !important;



    text-overflow: unset !important;



    line-height: 1.4 !important;



    word-break: break-word !important;



  }







  .diagram-stage-row .flow-card-sub {



    font-size: 11px !important;



    white-space: normal !important;



    overflow: visible !important;



    text-overflow: unset !important;



    line-height: 1.35 !important;



  }







  .diagram-stage-row .activity-devices-section,



  .activity-devices-section {



    min-height: 0 !important;



    max-height: none !important;



    height: auto !important;



    padding-top: 8px !important;



    width: 100% !important;



  }







  .diagram-stage-row .activity-devices-chips,



  .activity-devices-chips {



    display: grid !important;



    grid-template-columns: 1fr !important;



    gap: 6px !important;



    width: 100% !important;



  }







  .diagram-stage-row .device-chip {



    font-size: 11px !important;



    padding: 5px 10px !important;



    white-space: normal !important;



    overflow: visible !important;



    text-overflow: unset !important;



    height: auto !important;



    min-height: 28px !important;



    line-height: 1.3 !important;



    flex-wrap: wrap !important;



  }







  /* 24h Simulation Bottom Controls on Mobile */



  #diagramBottomControls,



  .diagram-bottom-controls {



    padding: 14px 12px !important;



    border-radius: 16px !important;



    width: 100% !important;



    max-width: 100% !important;



    box-sizing: border-box !important;



    overflow: hidden !important;



  }







  .controls-top-row {



    display: flex !important;



    flex-direction: column !important;



    align-items: stretch !important;



    gap: 10px !important;



    width: 100% !important;



  }







  .arbitrage-time-badge {



    width: 100% !important;



    box-sizing: border-box !important;



    display: flex !important;



    flex-wrap: wrap !important;



    align-items: center !important;



    justify-content: center !important;



    gap: 6px !important;



    padding: 8px 10px !important;



  }







  .arbitrage-phase-pill {



    font-size: 11px !important;



    padding: 3px 10px !important;



    white-space: normal !important;



    text-align: center !important;



  }







  .arbitrage-controls-group {



    width: 100% !important;



    display: flex !important;



    justify-content: center !important;



  }







  .arbitrage-play-btn {



    width: 100% !important;



    justify-content: center !important;



    padding: 10px 16px !important;



    font-size: 13px !important;



    box-sizing: border-box !important;



  }







  .arbitrage-slider-ticks {



    font-size: 9.5px !important;



    padding: 0 2px !important;



  }







  .arbitrage-slider-ticks span {



    padding: 2px 2px !important;



  }







  /* 2. Section #kalkulator: Calculator Results Card & Tables on Mobile */



  #calcResultsCard,



  .calc-results-card,



  .calc-results-card.calc-results-horizontal {



    padding: 18px 12px !important;



    border-radius: 18px !important;



    width: 100% !important;



    max-width: 100% !important;



    box-sizing: border-box !important;



    overflow: hidden !important;



    gap: 16px !important;



  }







  .calc-results-stacked-container {



    width: 100% !important;



    max-width: 100% !important;



    min-width: 0 !important;



    gap: 14px !important;



  }







  .calc-results-horizontal .calc-block-section.block-standard,



  .calc-results-horizontal .calc-block-section.block-active,



  .calc-block-section {



    display: flex !important;



    flex-direction: column !important;



    align-items: stretch !important;



    gap: 16px !important;



    padding: 16px 12px !important;



    width: 100% !important;



    max-width: 100% !important;



    min-width: 0 !important;



    box-sizing: border-box !important;



  }







  .calc-results-horizontal .calc-block-hero-col {



    width: 100% !important;



    max-width: 100% !important;



    min-width: 0 !important;



  }







  .calc-results-horizontal .calc-results-header,



  .calc-block-section .calc-results-header {



    font-size: 11.5px !important;



    line-height: 1.35 !important;



    white-space: normal !important;



    word-break: break-word !important;



  }







  .calc-results-horizontal .calc-highlight-num-red,



  .calc-results-horizontal .calc-highlight-num-cyan,



  .calc-block-section .calc-highlight-num {



    font-size: clamp(28px, 8vw, 36px) !important;



    line-height: 1.1 !important;



    word-break: break-word !important;



  }







  .calc-results-horizontal .calc-highlight-sub,



  .calc-block-section .calc-highlight-sub {



    font-size: 12px !important;



    line-height: 1.45 !important;



    white-space: normal !important;



    word-break: break-word !important;



    margin-bottom: 4px !important;



  }







  .calc-results-horizontal .calc-horizon-table,



  .calc-block-section .calc-horizon-table {



    width: 100% !important;



    max-width: 100% !important;



    min-width: 0 !important;



    gap: 8px !important;



  }







  .calc-results-horizontal .horizon-row,



  .calc-block-section .horizon-row {



    display: grid !important;



    grid-template-columns: minmax(92px, 1.05fr) minmax(36px, 1fr) auto !important;



    align-items: center !important;



    gap: 8px !important;



    padding: 8px 10px !important;



    width: 100% !important;



    max-width: 100% !important;



    min-width: 0 !important;



    box-sizing: border-box !important;



  }







  .calc-results-horizontal .horizon-period,



  .horizon-period {



    min-width: 0 !important;



    font-size: 11.5px !important;



    line-height: 1.25 !important;



    white-space: nowrap !important;



  }







  .calc-results-horizontal .horizon-bar-wrap {



    min-width: 30px !important;



    width: 100% !important;



  }







  .calc-results-horizontal .horizon-val-red,



  .calc-results-horizontal .horizon-val-cyan,



  .horizon-val {



    min-width: 0 !important;



    font-size: 12px !important;



    white-space: nowrap !important;



    text-align: right !important;



  }







  /* Activate Active Home Button on Mobile */



  .calc-results-horizontal .btn-activate-active-home,



  .btn-activate-active-home {



    padding: 14px 12px !important;



    width: 100% !important;



    max-width: 100% !important;



    box-sizing: border-box !important;



    display: flex !important;



    flex-direction: column !important;



    align-items: center !important;



    justify-content: center !important;



    gap: 8px !important;



    text-align: center !important;



  }







  .btn-activate-active-home .activate-btn-text {



    font-size: 14px !important;



    line-height: 1.3 !important;



    white-space: normal !important;



  }







  /* Comparison Table in Calculator on Mobile */



  .calc-compare-table {



    width: 100% !important;



    max-width: 100% !important;



    min-width: 0 !important;



    padding: 8px 6px !important;



    box-sizing: border-box !important;



    overflow-x: auto !important;



  }







  .compare-table-head,



  .compare-table-row {



    grid-template-columns: 44px minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.1fr) !important;



    gap: 4px !important;



    padding: 6px 4px !important;



    width: 100% !important;



    box-sizing: border-box !important;



  }







  .compare-table-head span {



    font-size: 9px !important;



    line-height: 1.2 !important;



    white-space: normal !important;



    word-break: break-word !important;



  }







  .compare-table-row .td-period,



  .compare-table-row .td-val {



    font-size: 10px !important;



    white-space: nowrap !important;



  }







  .calc-inputs.calc-inputs-bottom .calc-report-card {



    padding: 20px 14px !important;



    box-sizing: border-box !important;



  }







  /* 3. Section #nauka: Professors Article Buttons & Stavanger Gallery */



  .btn-prof-article {



    display: flex !important;



    flex-direction: column !important;



    align-items: flex-start !important;



    gap: 8px !important;



    padding: 12px 14px !important;



    width: 100% !important;



    box-sizing: border-box !important;



    text-align: left !important;



  }







  .article-btn-info {



    width: 100% !important;



    min-width: 0 !important;



  }







  .article-btn-title {



    white-space: normal !important;



    line-height: 1.35 !important;



  }







  .article-btn-sub,



  .btn-prof-assadi .article-btn-sub {



    white-space: normal !important;



    overflow: visible !important;



    text-overflow: unset !important;



    line-height: 1.4 !important;



    display: block !important;



  }







  .article-btn-action {



    align-self: flex-start !important;



    margin-top: 2px !important;



  }







  /* Stavanger Gallery Mobile Polish */



  .stavanger-filter-bar {



    gap: 6px !important;



  }







  .stavanger-filter-btn {



    padding: 8px 13px !important;



    font-size: 12px !important;



  }







  .card-badges-top {



    top: 10px !important;



    left: 10px !important;



    right: 10px !important;



    gap: 6px !important;



    flex-wrap: wrap !important;



  }







  .card-photo-badge {



    font-size: 10px !important;



    padding: 4px 10px !important;



  }







  .card-zoom-pill {



    font-size: 10px !important;



    padding: 4px 8px !important;



  }







  .stavanger-card .card-content {



    padding: 16px 16px 18px !important;



  }







  /* 4. Section #ekosystem: NORD HT Interactive House Tabs & Stage */



  .nord-interactive-card {



    padding: 22px 12px 20px !important;



    box-sizing: border-box !important;



    overflow: hidden !important;



  }







  .nord-tabs-nav {



    display: flex !important;



    flex-wrap: wrap !important;



    justify-content: center !important;



    overflow-x: visible !important;



    margin: 16px 0 18px !important;



    padding: 0 !important;



    gap: 6px !important;



    width: 100% !important;



  }







  .nord-tab-pill {



    flex: 1 1 calc(50% - 6px) !important;



    min-width: 130px !important;



    max-width: 100% !important;



    white-space: normal !important;



    text-align: center !important;



    padding: 8px 10px !important;



    font-size: 11.5px !important;



    line-height: 1.25 !important;



    display: inline-flex !important;



    align-items: center !important;



    justify-content: center !important;



  }







  .nord-house-stage {



    width: 100% !important;



    max-width: 100% !important;



    box-sizing: border-box !important;



    overflow: hidden !important;



  }







  /* 5. Section #modele: Choice Cards & House Models */



  .system-choice-grid {



    grid-template-columns: minmax(0, 1fr) !important;



    gap: 16px !important;



    width: 100% !important;



    max-width: 100% !important;



    box-sizing: border-box !important;



  }







  .choice-card {



    padding: 22px 16px !important;



    width: 100% !important;



    max-width: 100% !important;



    min-width: 0 !important;



    box-sizing: border-box !important;



  }







  .choice-badge {



    white-space: normal !important;



    line-height: 1.3 !important;



  }







  .choice-btn {



    padding: 12px 14px !important;



    font-size: 13px !important;



    white-space: normal !important;



    line-height: 1.35 !important;



    height: auto !important;



    box-sizing: border-box !important;



  }







  /* 6. Section #obiekt-badawczy & #raport-wykresy: Reference House & 5-Month Reports */



  .real-house-showcase {



    padding: 22px 12px 20px !important;



    border-radius: 22px !important;



  }







  .real-house-scroll-specs-container {



    padding: 20px 12px !important;



    border-radius: 20px !important;



  }







  .specs-bento-card {



    padding: 16px 14px !important;



  }







  .rep-card-wrapper {



    padding: 18px 12px !important;



    border-radius: 18px !important;



  }







  .rep-kpi-grid {



    grid-template-columns: 1fr !important;



    gap: 12px !important;



  }







  .rep-tile {



    flex-direction: column !important;



    align-items: flex-start !important;



    gap: 10px !important;



    padding: 16px 14px !important;



  }







  .rep-tile-divider {



    width: 100% !important;



    height: 1px !important;



    margin: 2px 0 !important;



  }







  .rep-tile-right {



    width: 100% !important;



    text-align: left !important;



    align-items: flex-start !important;



  }







  /* 7. Section #kontakt: Map Embed Container */



  .map-embed-container {



    height: auto !important;



    min-height: 280px !important;



    overflow: hidden !important;



  }







  /* 8. Fix #repBannerBadge and .rep-status-banner on mobile */



  .rep-status-banner {



    padding: 12px 14px !important;



    width: 100% !important;



    max-width: 100% !important;



    box-sizing: border-box !important;



  }







  .rep-status-banner-badge {



    white-space: normal !important;



    max-width: 100% !important;



    line-height: 1.3 !important;



    text-align: left !important;



    box-sizing: border-box !important;



  }



}







@media (max-width: 420px) {



  .celestial-horizon-labels .horizon-lbl {



    font-size: 7.5px !important;



  }







  .calc-results-horizontal .horizon-row,



  .calc-block-section .horizon-row {



    grid-template-columns: minmax(82px, 1fr) minmax(24px, 0.8fr) auto !important;



    gap: 6px !important;



    padding: 7px 8px !important;



  }







  .calc-results-horizontal .horizon-period,



  .horizon-period {



    font-size: 10.5px !important;



  }







  .calc-results-horizontal .horizon-val-red,



  .calc-results-horizontal .horizon-val-cyan,



  .horizon-val {



    font-size: 11px !important;



  }



}











/* ==========================================================================



   KODOWY SCHEMAT ARCHITEKTURY AI HEMS AGENT • NORD HTECHNOLOGY (HTML5 + SVG)



   ========================================================================== */



.code-diagram-stage {



  position: relative;



  width: 100%;



  aspect-ratio: 1024 / 576;



  background: radial-gradient(circle at 52% 51%, #15274d 0%, #0d172e 45%, #070e1c 100%);



  border-radius: 14px;



  overflow: hidden;



  user-select: none;



  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.7);



}







.diagram-svg-canvas {



  position: absolute;



  top: 0;



  left: 0;



  width: 100%;



  height: 100%;



  pointer-events: none;



  z-index: 2;



}







.diagram-nodes-layer {



  position: absolute;



  top: 0;



  left: 0;



  width: 100%;



  height: 100%;



  z-index: 3;



  pointer-events: none;



}







.code-diagram-stage .node-item {



  position: absolute;



  pointer-events: auto;



  display: flex;



  flex-direction: column;



  align-items: center;



  justify-content: center;



  text-align: center;



  transform: translate(-50%, -50%);



  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), filter 0.25s ease;



}







.code-diagram-stage .node-item:hover {



  transform: translate(-50%, -50%) scale(1.08);



  z-index: 10;



}







.code-diagram-stage .node-item img {



  max-width: 100%;



  max-height: 100%;



  object-fit: contain;



  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.65));



}







.code-diagram-stage .node-label {



  font-size: 8.5px;



  font-weight: 700;



  letter-spacing: 0.8px;



  color: #e2e8f0;



  text-transform: uppercase;



  margin-top: 4px;



  text-shadow: 0 1px 3px rgba(0,0,0,0.9);



  white-space: nowrap;



}







.code-diagram-stage .section-header {



  position: absolute;



  font-size: 11px;



  font-weight: 800;



  letter-spacing: 1.2px;



  color: #ffffff;



  text-transform: uppercase;



  text-shadow: 0 0 10px rgba(56, 189, 248, 0.4), 0 2px 4px rgba(0,0,0,0.8);



  pointer-events: none;



  z-index: 4;



}







.code-diagram-stage .top-left-logo-wrap {



  position: absolute;



  left: 1.5%;



  top: 1.8%;



  width: 15.6%;



  height: 15.6%;



  z-index: 4;



  pointer-events: none;



}







.code-diagram-stage .top-left-logo-wrap img {



  width: 100%;



  height: 100%;



  object-fit: contain;



  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.6));



}







.code-diagram-stage .diagram-main-title {



  position: absolute;



  top: 18px;



  left: 50%;



  transform: translateX(-50%);



  font-size: 17px;



  font-weight: 900;



  letter-spacing: 2.2px;



  color: #ffffff;



  text-transform: uppercase;



  white-space: nowrap;



  text-shadow: 0 0 16px rgba(56, 189, 248, 0.5), 0 2px 4px rgba(0,0,0,0.8);



  z-index: 4;



  pointer-events: none;



}







.code-diagram-stage .top-right-uis-wrap {



  position: absolute;



  left: 75.2%;



  top: 0.8%;



  width: 23.8%;



  height: 19.1%;



  z-index: 4;



  pointer-events: none;



}







.code-diagram-stage .top-right-uis-wrap img {



  width: 100%;



  height: 100%;



  object-fit: contain;



  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.7));



}







.code-diagram-stage .brain-center-wrap {



  position: absolute;



  left: 52.0%;



  top: 51.2%;



  width: 22.0%;



  height: 35.0%;



  transform: translate(-50%, -50%);



  display: flex;



  flex-direction: column;



  align-items: center;



  justify-content: center;



  z-index: 5;



  pointer-events: auto;



}







.code-diagram-stage .brain-img-glow {



  width: 100%;



  height: 100%;



  object-fit: contain;



  filter: drop-shadow(0 0 25px rgba(56, 189, 248, 0.45));



  animation: brainPulse 3.5s ease-in-out infinite alternate;



}







@keyframes brainPulse {



  0% { filter: drop-shadow(0 0 15px rgba(56, 189, 248, 0.35)) brightness(0.95); }



  100% { filter: drop-shadow(0 0 35px rgba(56, 189, 248, 0.75)) brightness(1.1); }



}







.code-diagram-stage .aws-pill {



  position: absolute;



  left: 43.5%;



  top: 63.4%;



  transform: translate(-50%, -50%);



  background: #0c162d;



  border: 1.5px solid #ffffff;



  border-radius: 16px;



  padding: 3px 14px;



  display: flex;



  align-items: center;



  justify-content: center;



  box-shadow: 0 4px 12px rgba(0,0,0,0.6), 0 0 10px rgba(255, 153, 0, 0.3);



  z-index: 6;



  pointer-events: auto;



}







.code-diagram-stage .aws-pill svg {



  height: 16px;



  display: block;



}







.code-diagram-stage .chip-item {



  position: absolute;



  transform: translate(-50%, -50%);



  display: flex;



  flex-direction: column;



  align-items: center;



  z-index: 6;



  pointer-events: auto;



  transition: transform 0.2s ease;



}







.code-diagram-stage .chip-item:hover {



  transform: translate(-50%, -50%) scale(1.15);



}







.code-diagram-stage .chip-item img {



  filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.65));



}







.code-diagram-stage .chip-label {



  font-size: 7.5px;



  font-weight: 800;



  color: #fbbf24;



  letter-spacing: 0.6px;



  text-transform: uppercase;



  margin-top: 1px;



  text-shadow: 0 1px 2px rgba(0,0,0,0.9);



  white-space: nowrap;



}







/* Responsywność mobilna dla schematu kodowego */



@media (max-width: 768px) {



  .code-diagram-stage .node-label {



    font-size: 6px;



    letter-spacing: 0.3px;



  }



  .code-diagram-stage .section-header {



    font-size: 8px;



    letter-spacing: 0.8px;



  }



  .code-diagram-stage .diagram-main-title {



    font-size: 11px;



    letter-spacing: 1.2px;



    top: 8px;



  }



  .code-diagram-stage .chip-label {



    font-size: 5.5px;



  }



  .code-diagram-stage .aws-pill {



    padding: 1px 8px;



  }



  .code-diagram-stage .aws-pill svg {



    height: 10px;



  }



}







/* Poprawki schematu: ikony SVG, brak ucinania */



.code-diagram-stage .node-item img,



.code-diagram-stage .node-item svg.diag-ico { width: auto; height: auto; max-width: 100%; max-height: 78%; flex: 0 1 auto; min-height: 0; }



.code-diagram-stage .node-item svg.diag-ico { width: 100%; height: 78%; }



.code-diagram-stage .node-item { overflow: visible; }



.code-diagram-stage .node-item img { object-fit: contain; }



.code-diagram-stage .chip-item svg.diag-ico { width: 4vw; max-width: 42px; min-width: 22px; height: auto; filter: drop-shadow(0 0 8px rgba(245,158,11,.55)); }



.code-diagram-stage .brain-img-glow { filter: drop-shadow(0 0 22px rgba(56,189,248,.5)); }



.code-diagram-stage .node-label { font-size: clamp(5px, 0.85vw, 9px); }



.code-diagram-stage .chip-label { font-size: clamp(4.5px, 0.75vw, 8px); }







.code-diagram-stage .node-ecofreshtank .node-label,.code-diagram-stage .node-ecoheatstorage .node-label{white-space:normal;line-height:1.15}



















































/* ===== Schemat 1:1 jak oryginał (dg-*) ===== */



.code-diagram-stage.dg-stage{container-type:inline-size;background:#1b2a47;border-radius:14px;overflow:hidden;box-shadow:inset 0 0 60px rgba(20,60,140,.35),0 0 30px rgba(56,130,246,.25);position:relative}



.dg-stage .dg-svg{position:absolute;inset:0;width:100%;height:100%;z-index:2;pointer-events:none}



.dg-stage .dg-layer{position:absolute;inset:0;z-index:3;pointer-events:none}



.dg-stage .dg-layer>*{position:absolute}



.dg-stage .dg-flag{position:absolute;right:0;top:0;width:11.2%;height:20.0%;pointer-events:auto !important;cursor:pointer;z-index:12;transition:transform 0.24s cubic-bezier(0.16,1,0.3,1),filter 0.24s ease}



.dg-stage .dg-flag img{width:100%;height:100%;object-fit:contain;object-position:right top;display:block}



.dg-stage .dg-uis{position:absolute;left:75.8%;top:2.2%;width:8.8%;height:6.0%;pointer-events:none;z-index:4}



.dg-stage .dg-uis img{width:100%;height:100%;object-fit:contain;display:block}



.dg-stage .dg-grid svg{filter:drop-shadow(0 0 6px rgba(56,189,248,.3))}



.dg-stage .dg-item{display:flex;align-items:center;justify-content:center}



.dg-stage .dg-item img,.dg-stage .dg-item svg{width:100%;height:100%;object-fit:contain;display:block}







/* Prominent, bold, perfectly legible product labels */



.dg-stage .dg-label{text-align:center;color:#ffffff;font-weight:900;font-size:max(5.8px,1.10cqw);line-height:1.14;letter-spacing:.02em;text-transform:uppercase;font-family:var(--font-sans);text-shadow:0 1px 4px rgba(0,0,0,1),0 0 5px rgba(0,0,0,1);pointer-events:auto !important;cursor:pointer;z-index:35 !important;transition:transform 0.22s cubic-bezier(0.16,1,0.3,1),color 0.2s ease,text-shadow 0.2s ease}



.dg-stage .dg-label.dg-label-tight{font-size:max(5.3px,0.98cqw);letter-spacing:.01em;line-height:1.10}







.dg-stage .dg-head{text-align:center;color:#fff;font-weight:900;font-size:max(6.8px,1.28cqw);line-height:1.15;letter-spacing:.025em;font-family:var(--font-sans);transform:translateY(-50%);text-shadow:0 1px 5px rgba(0,0,0,1),0 0 6px rgba(0,0,0,1);pointer-events:auto !important;cursor:pointer;z-index:15;transition:transform 0.22s cubic-bezier(0.16,1,0.3,1),color 0.2s ease,text-shadow 0.2s ease,filter 0.2s ease}



.dg-stage .dg-head-storage{font-size:max(6.4px,1.18cqw);line-height:1.18;letter-spacing:.02em;white-space:normal;word-break:normal}



.dg-stage .dg-head-big{font-size:max(8px,2.3cqw)}



.dg-stage .dg-title{left:50%;top:3.5%;transform:translate(-50%,-50%);color:#fff;font-weight:850;font-size:max(7.2px,1.98cqw);white-space:nowrap;font-family:var(--font-sans);text-shadow:0 0 14px rgba(56,189,248,.45);pointer-events:auto !important;cursor:pointer;z-index:15;transition:transform 0.22s cubic-bezier(0.16,1,0.3,1),color 0.2s ease,text-shadow 0.2s ease}







/* Top Left Brand Block: Logo + Translatable Manufacturer Text */



.dg-stage .dg-brand-block{position:absolute;left:2.2%;top:2.6%;width:14.5%;display:flex;flex-direction:column;align-items:flex-start;gap:3px;z-index:4;pointer-events:none}



.dg-stage .dg-brand-logo{width:100%}



.dg-stage .dg-brand-logo img{width:100%;height:auto;display:block}



.dg-stage .dg-manufacturer{color:#ffffff;font-family:var(--font-sans);font-weight:800;font-size:max(4.6px,.84cqw);line-height:1.15;letter-spacing:.02em;text-transform:uppercase;text-align:left;white-space:normal;text-shadow:0 1px 3px rgba(0,0,0,.9)}







.dg-stage .dg-brain img,.dg-stage .dg-aws img{width:100%;height:100%;object-fit:contain;display:block}



.dg-stage .dg-brain{transition:transform 0.6s cubic-bezier(0.16, 1, 0.3, 1)}



.dg-stage .dg-brain img{filter:drop-shadow(0 0 20px rgba(56,189,248,.35));transition:filter 0.6s ease, transform 0.6s ease}



.dg-stage .dg-brain.earning-glow img{



  filter:drop-shadow(0 0 16px rgba(16, 185, 129, 0.85)) drop-shadow(0 0 32px rgba(245, 158, 11, 0.7)) drop-shadow(0 0 55px rgba(56, 189, 248, 0.5));



  animation:brainEarningPulse 2.4s ease-in-out infinite alternate;



}



@keyframes brainEarningPulse{



  0%{



    filter:drop-shadow(0 0 14px rgba(16, 185, 129, 0.65)) drop-shadow(0 0 26px rgba(245, 158, 11, 0.5)) drop-shadow(0 0 40px rgba(56, 189, 248, 0.35));



    transform:scale(1);



  }



  100%{



    filter:drop-shadow(0 0 24px rgba(16, 185, 129, 0.95)) drop-shadow(0 0 42px rgba(245, 158, 11, 0.85)) drop-shadow(0 0 65px rgba(16, 185, 129, 0.55));



    transform:scale(1.03);



  }



}



.dg-stage .dg-aws img{filter:drop-shadow(0 2px 8px rgba(0,0,0,.4))}







/* Orange Microchip Cards 1:1 like reference */



/* Ikonki mikroukładów i czytelne podpisy na schemacie (bez pomarańczowej ramki) */



.dg-stage .dg-chip-icon{position:absolute;display:flex;align-items:center;justify-content:center;pointer-events:none;z-index:6;filter:drop-shadow(0 0 6px rgba(251,168,52,.8));transition:transform .25s ease,filter .25s ease}



.dg-stage .dg-chip-icon:hover{transform:scale(1.12);filter:drop-shadow(0 0 10px rgba(251,168,52,.95))}



.dg-stage .dg-chip-icon svg{width:100%;height:100%;display:block}



.dg-stage .dg-chip-label{color:#fba834;font-family:var(--font-sans);font-weight:900;font-size:max(5.6px,1.05cqw);line-height:1.15;letter-spacing:.02em;text-transform:uppercase;text-align:center;text-shadow:0 1px 4px rgba(0,0,0,1),0 0 6px rgba(0,0,0,1);pointer-events:none;z-index:6;white-space:nowrap}



.dg-stage .dg-chip-card{position:absolute;display:flex;align-items:center;justify-content:center;pointer-events:none;z-index:6;filter:drop-shadow(0 0 6px rgba(251,168,52,.8))}



.dg-stage .dg-chip-card svg{width:100%;height:100%;display:block}







.dg-stage .energy-cable-path{stroke-width:3.6}











/* Pasek przycisków pod schematem: Zobacz jak działa system + Autoodtwarzanie 24h */



.diagram-expand-details-bar {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 14px auto 6px !important;
  width: 100% !important;
}

.diagram-action-buttons-group {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
  width: 100% !important;
}

.diagram-top-live-clock-wrap {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
}







.btn-top-autoplay {



  display: inline-flex;



  align-items: center;



  justify-content: center;



  gap: 9px;



  padding: 14px 28px;



  border-radius: 999px;



  background: rgba(16, 28, 54, 0.92);



  border: 1.5px solid rgba(255, 162, 38, 0.45);



  color: #ffffff;



  font-family: var(--font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);



  font-size: 15px;



  font-weight: 600;



  cursor: pointer;



  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);



  backdrop-filter: blur(10px);



  -webkit-backdrop-filter: blur(10px);



  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);



  text-decoration: none;



}







.btn-top-autoplay:hover {



  background: rgba(255, 162, 38, 0.18);



  border-color: rgba(255, 162, 38, 0.85);



  box-shadow: 0 6px 18px rgba(255, 162, 38, 0.3);



  transform: translateY(-1px);



}







.btn-top-autoplay .btn-autoplay-icon {



  display: flex;



  align-items: center;



  justify-content: center;



  color: #ffa226;



  transition: transform 0.2s ease;



}







.btn-top-autoplay:hover .btn-autoplay-icon {



  transform: scale(1.15);



}







.btn-top-autoplay.playing {



  background: linear-gradient(135deg, rgba(255, 162, 38, 0.28) 0%, rgba(245, 124, 0, 0.45) 100%);



  border-color: #ffa226;



  box-shadow: 0 0 18px rgba(255, 162, 38, 0.5);



}







.btn-top-autoplay.playing .btn-autoplay-icon {



  color: #ffb74d;



}







@media (max-width: 768px) {



  .diagram-expand-details-bar {



    gap: 8px !important;



  }



  .btn-toggle-system-details,



  .btn-top-autoplay {



    padding: 12px 20px !important;



    font-size: 13.5px !important;



  }



}











/* ==========================================================================



   ANIMACJE WIEŻY ENERGETYCZNEJ (SIEĆ): POBÓR ENERGII & SPRZEDAŻ (EMOJI $)



   ========================================================================== */







/* 1. MÓZG AI HEMS AGENT - WIELOKOLOROWY GLOW (PRODUKCJA, MAGAZYNOWANIE, SPRZEDAŻ) */



.dg-stage .dg-brain {



  position: absolute;



  z-index: 5 !important;



  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);



}







/* AWS CLOUD - ZAWSZE NA WIERZCHU, NIGDY NIEZASŁONIĘTY PRZEZ GŁOWĘ */



.dg-stage .dg-aws {



  position: absolute;



  z-index: 30 !important;



  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.65));



  pointer-events: none;



}







.dg-stage .dg-brain .brain-earning-halo {



  position: absolute;



  top: 50%;



  left: 50%;



  width: 135%;



  height: 135%;



  transform: translate(-50%, -50%) scale(0.92);



  border-radius: 50%;



  filter: blur(16px);



  pointer-events: none;



  opacity: 0;



  z-index: 1;



  transition: all 0.8s ease;



}







.dg-stage .dg-brain img {



  width: 100%;



  height: 100%;



  object-fit: contain;



  display: block;



  position: relative;



  z-index: 2;



  filter: drop-shadow(0 0 16px rgba(56, 189, 248, 0.35));



  transition: filter 0.8s ease, transform 0.8s ease;



}







/* A. PRODUKCJA ENERGII (Fotowoltaika PV generuje) -> ZŁOTO-BURSZTYNOWY GLOW */



.dg-stage .dg-brain.glow-production .brain-earning-halo {



  opacity: 1;



  background: radial-gradient(circle, rgba(251, 168, 52, 0.65) 0%, rgba(245, 158, 11, 0.45) 45%, rgba(251, 191, 36, 0.20) 70%, transparent 85%);



  animation: brainAuraBreathing 2.4s ease-in-out infinite alternate;



}



.dg-stage .dg-brain.glow-production img {



  filter: drop-shadow(0 0 20px rgba(251, 168, 52, 0.95)) drop-shadow(0 0 38px rgba(245, 158, 11, 0.85)) drop-shadow(0 0 60px rgba(254, 240, 138, 0.60)) !important;



  animation: brainEarningScale 2.4s ease-in-out infinite alternate;



}







/* B. MAGAZYNOWANIE ENERGII (Ładowanie / rozładowanie EcoStorage) -> CYBER BŁĘKITNO-CYJANOWY GLOW */



.dg-stage .dg-brain.glow-storage .brain-earning-halo {



  opacity: 1;



  background: radial-gradient(circle, rgba(0, 242, 254, 0.65) 0%, rgba(56, 189, 248, 0.45) 45%, rgba(14, 165, 233, 0.20) 70%, transparent 85%);



  animation: brainAuraBreathing 2.4s ease-in-out infinite alternate;



}



.dg-stage .dg-brain.glow-storage img {



  filter: drop-shadow(0 0 18px rgba(0, 242, 254, 0.95)) drop-shadow(0 0 36px rgba(56, 189, 248, 0.85)) drop-shadow(0 0 55px rgba(0, 210, 255, 0.55)) !important;



  animation: brainEarningScale 2.4s ease-in-out infinite alternate;



}







/* C. SPRZEDAŻ ENERGII (Eksport do sieci / arbitraż szczytowy) -> SZMARAGDOWO-ZŁOTY GLOW (ZYSK) */



.dg-stage .dg-brain.glow-selling .brain-earning-halo,



.dg-stage .dg-brain.earning-glow .brain-earning-halo {



  opacity: 1;



  background: radial-gradient(circle, rgba(16, 185, 129, 0.65) 0%, rgba(251, 191, 36, 0.45) 45%, rgba(16, 185, 129, 0.20) 70%, transparent 85%);



  animation: brainAuraBreathing 2.0s ease-in-out infinite alternate;



}



.dg-stage .dg-brain.glow-selling img,



.dg-stage .dg-brain.earning-glow img {



  filter: drop-shadow(0 0 20px rgba(16, 185, 129, 0.95)) drop-shadow(0 0 38px rgba(251, 168, 52, 0.90)) drop-shadow(0 0 58px rgba(16, 185, 129, 0.60)) !important;



  animation: brainEarningScale 2.0s ease-in-out infinite alternate;



}







/* D. POBÓR ENERGII Z SIECI (Tani prąd nocny) -> ELEKTRYCZNY CYJANOWO-TURKUSOWY GLOW */



.dg-stage .dg-brain.glow-import .brain-earning-halo {



  opacity: 1;



  background: radial-gradient(circle, rgba(0, 242, 254, 0.60) 0%, rgba(16, 185, 129, 0.40) 45%, rgba(56, 189, 248, 0.18) 70%, transparent 85%);



  animation: brainAuraBreathing 2.4s ease-in-out infinite alternate;



}



.dg-stage .dg-brain.glow-import img {



  filter: drop-shadow(0 0 18px rgba(0, 242, 254, 0.90)) drop-shadow(0 0 32px rgba(16, 185, 129, 0.80)) drop-shadow(0 0 48px rgba(56, 189, 248, 0.50)) !important;



  animation: brainEarningScale 2.4s ease-in-out infinite alternate;



}







@keyframes brainAuraBreathing {



  0% { transform: translate(-50%, -50%) scale(0.95); opacity: 0.70; }



  100% { transform: translate(-50%, -50%) scale(1.18); opacity: 0.98; }



}







@keyframes brainEarningScale {



  0% { transform: scale(1); }



  100% { transform: scale(1.035); }



}







/* 2. WIEŻA SIECI (DG-GRID) */



.dg-grid {



  position: absolute;



  overflow: visible !important;



  transition: filter 0.4s ease;



}







/* A. POBÓR ENERGII Z SIECI (Płynny, stabilny prąd bez drgań i bez błędów graficznych) */



.dg-grid.grid-importing {



  filter: drop-shadow(0 0 12px rgba(0, 242, 254, 0.95)) drop-shadow(0 0 24px rgba(56, 189, 248, 0.80));



}







.dg-grid .tower-electric-pulse {



  display: none;



  opacity: 0;



}







.dg-grid.grid-importing .tower-electric-pulse {



  display: block !important;



  opacity: 1 !important;



  stroke: #00f2fe !important;



  stroke-width: 2.8px !important;



  stroke-dasharray: 8 12 !important;



  animation: towerCurrentFlow 0.65s linear infinite !important;



  filter: drop-shadow(0 0 6px #00f2fe) drop-shadow(0 0 14px #38bdf8);



}







@keyframes towerCurrentFlow {



  from { stroke-dashoffset: 20; }



  to { stroke-dashoffset: 0; }



}







.dg-grid.grid-importing .tower-lightning {



  animation: electricLightningGlow 0.8s ease-in-out infinite alternate !important;



}







@keyframes electricLightningGlow {



  0% {



    fill: #ffb800;



    stroke: #ffffff;



    stroke-width: 1px;



    filter: drop-shadow(0 0 6px #ffb800);



    transform: scale(1);



    transform-origin: 32px 14px;



  }



  100% {



    fill: #00f2fe;



    stroke: #ffffff;



    stroke-width: 1.8px;



    filter: drop-shadow(0 0 14px #00f2fe) drop-shadow(0 0 22px #ffffff);



    transform: scale(1.18);



    transform-origin: 32px 14px;



  }



}







.dg-grid.grid-importing .tower-pylon,



.dg-grid.grid-importing .tower-arm,



.dg-grid.grid-importing .tower-cross,



.dg-grid.grid-importing .tower-strut,



.dg-grid.grid-importing .tower-wire {



  stroke: #a5f3fc !important;



  filter: drop-shadow(0 0 5px #00f2fe);



}







/* Prąd wpływający z sieci (Grid -> Brain) */



.energy-cable-path.grid-buy-flow {



  stroke: #00f2fe !important;



  stroke-dasharray: 8 16 !important;



  filter: drop-shadow(0 0 6px #00f2fe) drop-shadow(0 0 14px rgba(0, 242, 254, 0.75)) !important;



  animation: flowReverse 0.9s linear infinite !important;



}







/* B. SPRZEDAŻ ENERGII DO SIECI (Pieniądze emoji $ na wieży i na przewodzie) */



.dg-grid.grid-exporting {



  filter: drop-shadow(0 0 16px rgba(16, 185, 129, 0.95)) drop-shadow(0 0 30px rgba(245, 158, 11, 0.90));



}







.dg-grid.grid-exporting .tower-lightning {



  fill: #10b981 !important;



  stroke: #fbbf24 !important;



  filter: drop-shadow(0 0 14px #10b981) drop-shadow(0 0 24px #fbbf24);



  animation: exportLightningPulse 0.7s ease-in-out infinite alternate;



}







@keyframes exportLightningPulse {



  0% { transform: scale(1); transform-origin: 32px 14px; }



  100% { transform: scale(1.22); transform-origin: 32px 14px; }



}







/* Strumień unoszących się pieniędzy emoji $ wokół wieży */



.grid-money-stream {



  position: absolute;



  top: 15%;



  left: -40%;



  width: 180%;



  height: 95%;



  pointer-events: none;



  overflow: visible;



  display: none;



  z-index: 20;



}







.dg-grid.grid-exporting .grid-money-stream {



  display: block !important;



}







.money-particle {



  position: absolute;



  font-size: 22px;



  font-weight: 900;



  color: #10b981;



  text-shadow: 0 0 10px rgba(16, 185, 129, 0.95), 0 0 20px rgba(245, 158, 11, 0.85);



  opacity: 0;



  user-select: none;



  bottom: 10px;



}







.money-particle.m-p1 {



  left: 38%;



  font-size: 25px;



  animation: floatTowerMoney 2.0s ease-out infinite;



  animation-delay: 0s;



}







.money-particle.m-p2 {



  left: 10%;



  font-size: 26px;



  animation: floatTowerMoney 2.3s ease-out infinite;



  animation-delay: 0.35s;



}







.money-particle.m-p3 {



  left: 65%;



  font-size: 24px;



  animation: floatTowerMoney 1.9s ease-out infinite;



  animation-delay: 0.70s;



}







.money-particle.m-p4 {



  left: 28%;



  font-size: 28px;



  animation: floatTowerMoney 2.4s ease-out infinite;



  animation-delay: 1.05s;



}







.money-particle.m-p5 {



  left: 55%;



  font-size: 23px;



  animation: floatTowerMoney 2.1s ease-out infinite;



  animation-delay: 1.40s;



}







.money-particle.m-p6 {



  left: 42%;



  font-size: 27px;



  animation: floatTowerMoney 2.2s ease-out infinite;



  animation-delay: 1.75s;



}







@keyframes floatTowerMoney {



  0% {



    opacity: 0;



    transform: translateY(15px) scale(0.6) rotate(-10deg);



  }



  20% {



    opacity: 1;



    transform: translateY(-5px) scale(1.15) rotate(5deg);



  }



  65% {



    opacity: 0.95;



    transform: translateY(-28px) scale(1.25) rotate(-6deg);



  }



  100% {



    opacity: 0;



    transform: translateY(-50px) scale(0.85) rotate(12deg);



  }



}







/* C. STRUMIEŃ EMOJI $ PŁYNĄCY OD AI HEMS DO SIECI PO PRZEWODZIE */



.cable-money-export-stream {



  position: absolute;



  pointer-events: none;



  z-index: 18;



  display: none;



  align-items: center;



  overflow: visible;



}







.cable-money-export-stream.active {



  display: block !important;



}







.wire-money-particle {



  position: absolute;



  font-size: 19px;



  font-weight: 900;



  color: #10b981;



  text-shadow: 0 0 8px rgba(16, 185, 129, 0.95), 0 0 16px rgba(245, 158, 11, 0.9);



  opacity: 0;



  top: 50%;



  transform: translateY(-50%);



  user-select: none;



}







.wire-money-particle.w-m1 {



  animation: flowWireMoney 2.1s linear infinite;



  animation-delay: 0s;



}







.wire-money-particle.w-m2 {



  font-size: 22px;



  animation: flowWireMoney 2.1s linear infinite;



  animation-delay: 0.42s;



}







.wire-money-particle.w-m3 {



  animation: flowWireMoney 2.1s linear infinite;



  animation-delay: 0.84s;



}







.wire-money-particle.w-m4 {



  font-size: 21px;



  animation: flowWireMoney 2.1s linear infinite;



  animation-delay: 1.26s;



}







.wire-money-particle.w-m5 {



  animation: flowWireMoney 2.1s linear infinite;



  animation-delay: 1.68s;



}







@keyframes flowWireMoney {



  0% {



    left: 0%;



    opacity: 0;



    transform: translateY(-50%) scale(0.6) rotate(-8deg);



  }



  15% {



    opacity: 1;



    transform: translateY(-70%) scale(1.15) rotate(6deg);



  }



  50% {



    opacity: 0.95;



    transform: translateY(-30%) scale(1.2) rotate(-5deg);



  }



  85% {



    opacity: 1;



    transform: translateY(-60%) scale(1.1) rotate(8deg);



  }



  100% {



    left: 95%;



    opacity: 0;



    transform: translateY(-50%) scale(0.7) rotate(-10deg);



  }



}







/* 3. ZEGAR CZASU RZECZYWISTEGO W PASKU PRZYCISKÓW (#diagramTopLiveClock) */



.diagram-top-live-clock {



  display: inline-flex;



  align-items: center;



  gap: 10px;



  padding: 12px 22px;



  border-radius: 999px;



  background: rgba(13, 27, 50, 0.92);



  border: 1.5px solid rgba(0, 242, 254, 0.45);



  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.1);



  color: #ffffff;



  font-family: var(--font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);



  backdrop-filter: blur(10px);



  -webkit-backdrop-filter: blur(10px);



  transition: all 0.25s ease;



}







.diagram-top-live-clock .top-clock-dot {



  width: 9px;



  height: 9px;



  border-radius: 50%;



  background: #10b981;



  box-shadow: 0 0 10px #10b981, 0 0 16px #10b981;



  animation: liveDotPulse 1.6s ease-in-out infinite;



}







@keyframes liveDotPulse {



  0% { transform: scale(0.85); opacity: 0.6; }



  50% { transform: scale(1.35); opacity: 1; }



  100% { transform: scale(0.85); opacity: 0.6; }



}







.diagram-top-live-clock .top-clock-label {



  font-size: 13.5px;



  font-weight: 500;



  color: #94a3b8;



}







.diagram-top-live-clock .top-clock-time {



  font-size: 19px;



  font-weight: 800;



  color: #00f2fe;



  letter-spacing: 0.04em;



  font-variant-numeric: tabular-nums;



  text-shadow: 0 0 8px rgba(0, 242, 254, 0.6);



}







.diagram-top-live-clock .top-clock-phase {



  font-size: 13px;



  font-weight: 700;



  padding: 4px 12px;



  border-radius: 999px;



  background: rgba(251, 168, 52, 0.18);



  border: 1px solid rgba(251, 168, 52, 0.5);



  color: #fba834;



  letter-spacing: 0.02em;



  text-shadow: 0 0 6px rgba(251, 168, 52, 0.4);



}







@media (max-width: 768px) {



  .diagram-top-live-clock {



    padding: 8px 14px;



    gap: 6px;



    font-size: 12px;



  }



  .diagram-top-live-clock .top-clock-time {



    font-size: 16px;



  }



}











/* Cable Flow Animations with Exact User Color Specification */



.energy-cable-path.grid-buy-flow {



  stroke: #0077ff !important;



  stroke-dasharray: 8 16 !important;



  filter: drop-shadow(0 0 6px #0077ff) drop-shadow(0 0 14px rgba(0, 119, 255, 0.75)) !important;



  animation: flowReverse 0.9s linear infinite !important;



}







.energy-cable-path.grid-buy-flow-forward {



  stroke: #0077ff !important;



  stroke-dasharray: 8 16 !important;



  filter: drop-shadow(0 0 6px #0077ff) drop-shadow(0 0 14px rgba(0, 119, 255, 0.75)) !important;



  animation: flowForward 0.9s linear infinite !important;



}







.energy-cable-path.sell-flow {



  stroke: #10b981 !important;



  stroke-dasharray: 8 16 !important;



  filter: drop-shadow(0 0 7px #10b981) drop-shadow(0 0 14px rgba(16, 185, 129, 0.85)) !important;



  animation: flowForward 0.8s linear infinite !important;



}







.energy-cable-path.solar-flow {



  stroke: #facc15 !important;



  stroke-dasharray: 8 16 !important;



  filter: drop-shadow(0 0 6px #eab308) drop-shadow(0 0 14px rgba(234, 179, 8, 0.75)) !important;



  animation: flowForward 0.9s linear infinite !important;



}











/* AI HEMS AGENT HEAD GLOW - EXACT USER COLORS */



/* A. ZAKUP PRĄDU -> NIEBIESKIE */



.dg-stage .dg-brain.glow-buy .brain-earning-halo,



.dg-stage .dg-brain.glow-import .brain-earning-halo {



  opacity: 1 !important;



  background: radial-gradient(circle, rgba(0, 119, 255, 0.80) 0%, rgba(37, 99, 235, 0.55) 45%, rgba(56, 189, 248, 0.25) 70%, transparent 85%) !important;



  animation: brainAuraBreathing 2.0s ease-in-out infinite alternate !important;



}



.dg-stage .dg-brain.glow-buy img,



.dg-stage .dg-brain.glow-import img {



  filter: drop-shadow(0 0 22px rgba(0, 119, 255, 0.95)) drop-shadow(0 0 40px rgba(37, 99, 235, 0.85)) drop-shadow(0 0 60px rgba(56, 189, 248, 0.65)) !important;



  animation: brainEarningScale 2.0s ease-in-out infinite alternate !important;



}







/* B. SPRZEDAŻ PRĄDU -> ZIELONE */



.dg-stage .dg-brain.glow-selling .brain-earning-halo,



.dg-stage .dg-brain.earning-glow .brain-earning-halo {



  opacity: 1 !important;



  background: radial-gradient(circle, rgba(16, 185, 129, 0.85) 0%, rgba(5, 150, 105, 0.55) 45%, rgba(52, 211, 153, 0.25) 70%, transparent 85%) !important;



  animation: brainAuraBreathing 1.8s ease-in-out infinite alternate !important;



}



.dg-stage .dg-brain.glow-selling img,



.dg-stage .dg-brain.earning-glow img {



  filter: drop-shadow(0 0 22px rgba(16, 185, 129, 0.95)) drop-shadow(0 0 40px rgba(5, 150, 105, 0.85)) drop-shadow(0 0 62px rgba(52, 211, 153, 0.65)) !important;



  animation: brainEarningScale 1.8s ease-in-out infinite alternate !important;



}







/* C. MAGAZYNOWANIE I PRODUKCJA -> ŻÓŁTE */



.dg-stage .dg-brain.glow-storage .brain-earning-halo,



.dg-stage .dg-brain.glow-production .brain-earning-halo {



  opacity: 1 !important;



  background: radial-gradient(circle, rgba(250, 204, 21, 0.85) 0%, rgba(234, 179, 8, 0.55) 45%, rgba(253, 224, 71, 0.25) 70%, transparent 85%) !important;



  animation: brainAuraBreathing 2.0s ease-in-out infinite alternate !important;



}



.dg-stage .dg-brain.glow-storage img,



.dg-stage .dg-brain.glow-production img {



  filter: drop-shadow(0 0 22px rgba(250, 204, 21, 0.95)) drop-shadow(0 0 40px rgba(234, 179, 8, 0.85)) drop-shadow(0 0 60px rgba(253, 224, 71, 0.65)) !important;



  animation: brainEarningScale 2.0s ease-in-out infinite alternate !important;



}







/* Tower electric pulse during grid buy */



.dg-grid.grid-importing .tower-electric-pulse {



  display: block !important;



  opacity: 1 !important;



  stroke: #0077ff !important;



  stroke-width: 2.8px !important;



  stroke-dasharray: 8 12 !important;



  animation: towerCurrentFlow 0.65s linear infinite !important;



  filter: drop-shadow(0 0 6px #0077ff) drop-shadow(0 0 14px #38bdf8) !important;



}















/* ======================================================== */



/* USER FIXES: TOWER TREMBLE, EXPLICIT DIRECTIONAL FLOWS, HEAT */



/* ======================================================== */







/* 1. SŁUP SIECI - LEKKIE DRŻENIE PRZY NADAWANIU PRĄDU */



@keyframes gridTowerElectricTremble {



  0% { transform: translate(0, 0); }



  25% { transform: translate(-0.8px, 0.5px); }



  50% { transform: translate(0.7px, -0.6px); }



  75% { transform: translate(-0.6px, -0.4px); }



  100% { transform: translate(0, 0); }



}







.dg-grid.grid-importing {



  animation: gridTowerElectricTremble 0.08s linear infinite !important;



}







/* 2. DEDYKOWANE KLASY PRZEPŁYWU Z PEŁNĄ KONTROLĄ KIERUNKU */







/* A. Sprzedaż z baterii do mózgu AI (PŁYNIE W LEWO: z magazynu do mózgu) */



.energy-cable-path.battery-to-brain-sell {



  stroke: #10b981 !important;



  stroke-dasharray: 8 16 !important;



  filter: drop-shadow(0 0 7px #10b981) drop-shadow(0 0 14px rgba(16, 185, 129, 0.85)) !important;



  animation: flowReverse 0.8s linear infinite !important;



}







/* B. Rozładowanie z modułu baterii do magistrali (PŁYNIE W GÓRĘ: z baterii do przewodu) */



.energy-cable-path.storage-discharge-sell {



  stroke: #10b981 !important;



  stroke-dasharray: 8 16 !important;



  filter: drop-shadow(0 0 7px #10b981) drop-shadow(0 0 14px rgba(16, 185, 129, 0.85)) !important;



  animation: flowReverse 0.8s linear infinite !important;



}







/* C. Rozładowanie baterii na dom (autokonsumpcja - ŻÓŁTY w lewo i w górę) */



.energy-cable-path.battery-to-brain-yellow {



  stroke: #facc15 !important;



  stroke-dasharray: 8 16 !important;



  filter: drop-shadow(0 0 6px #eab308) drop-shadow(0 0 14px rgba(234, 179, 8, 0.75)) !important;



  animation: flowReverse 0.9s linear infinite !important;



}







.energy-cable-path.storage-discharge-yellow {



  stroke: #facc15 !important;



  stroke-dasharray: 8 16 !important;



  filter: drop-shadow(0 0 6px #eab308) drop-shadow(0 0 14px rgba(234, 179, 8, 0.75)) !important;



  animation: flowReverse 0.9s linear infinite !important;



}







/* D. Płynny kierunek Reverse */



.energy-cable-path.flow-reverse {



  animation-direction: reverse !important;



}















/* ======================================================== */



/* ABSOLUTE PRECISION DIRECTIONAL KEYFRAMES & CLASSES        */



/* ======================================================== */







/* Keyframe A: Płynie W PRAWO / W DÓŁ (start -> end: od paneli do głowy, do magazynu, do sieci) */



@keyframes flowPathForward {



  from { stroke-dashoffset: 48; }



  to { stroke-dashoffset: 0; }



}







/* Keyframe B: Płynie W LEWO / W GÓRĘ (end -> start: wyciąganie z magazynu na dom / do sieci) */



@keyframes flowPathReverse {



  from { stroke-dashoffset: 0; }



  to { stroke-dashoffset: 48; }



}







/* 1. ŁADOWANIE MAGAZYNU -> PRĄD IDZIE W STRONĘ MAGAZYNU (W PRAWO I W DÓŁ) */



.energy-cable-path.battery-charge-yellow {



  stroke: #facc15 !important;



  stroke-dasharray: 8 16 !important;



  filter: drop-shadow(0 0 6px #eab308) drop-shadow(0 0 14px rgba(234, 179, 8, 0.75)) !important;



  animation: flowPathForward 0.9s linear infinite !important;



}







/* 2. WYCIĄGANIE ENERGII Z MAGAZYNU NA DOM -> W PRZECIWNĄ STRONĘ (W GÓRĘ I W LEWO DO MÓZGU) */



.energy-cable-path.battery-discharge-home {



  stroke: #facc15 !important;



  stroke-dasharray: 8 16 !important;



  filter: drop-shadow(0 0 6px #eab308) drop-shadow(0 0 14px rgba(234, 179, 8, 0.75)) !important;



  animation: flowPathReverse 0.9s linear infinite !important;



}







/* 3. SPRZEDAŻ Z BATERII DO SIECI -> W LEWO DO MÓZGU (W PRZECIWNĄ STRONĘ DO MAGAZYNU) */



.energy-cable-path.battery-discharge-sell {



  stroke: #10b981 !important;



  stroke-dasharray: 8 16 !important;



  filter: drop-shadow(0 0 7px #10b981) drop-shadow(0 0 14px rgba(16, 185, 129, 0.85)) !important;



  animation: flowPathReverse 0.8s linear infinite !important;



}







/* 4. SPRZEDAŻ Z MÓZGU DO SIECI -> W GÓRĘ I W PRAWO DO SŁUPA */



.energy-cable-path.center-to-grid-sell {



  stroke: #10b981 !important;



  stroke-dasharray: 8 16 !important;



  filter: drop-shadow(0 0 7px #10b981) drop-shadow(0 0 14px rgba(16, 185, 129, 0.85)) !important;



  animation: flowPathForward 0.8s linear infinite !important;



}







.energy-cable-path.brain-up-to-bus-sell {



  stroke: #10b981 !important;



  stroke-dasharray: 8 16 !important;



  filter: drop-shadow(0 0 7px #10b981) drop-shadow(0 0 14px rgba(16, 185, 129, 0.85)) !important;



  animation: flowPathReverse 0.8s linear infinite !important;



}







/* 5. ZAKUP Z SIECI -> ZE SŁUPA W LEWO, W DÓŁ DO MÓZGU */



.energy-cable-path.grid-inward-buy {



  stroke: #0077ff !important;



  stroke-dasharray: 8 16 !important;



  filter: drop-shadow(0 0 6px #0077ff) drop-shadow(0 0 14px rgba(0, 119, 255, 0.75)) !important;



  animation: flowPathReverse 0.9s linear infinite !important;



}







.energy-cable-path.bus-down-to-brain-buy {



  stroke: #0077ff !important;



  stroke-dasharray: 8 16 !important;



  filter: drop-shadow(0 0 6px #0077ff) drop-shadow(0 0 14px rgba(0, 119, 255, 0.75)) !important;



  animation: flowPathForward 0.9s linear infinite !important;



}







/* 6. SOLAR PV STANDARD -> W PRAWO / W DÓŁ */



.energy-cable-path.solar-flow {



  stroke: #facc15 !important;



  stroke-dasharray: 8 16 !important;



  filter: drop-shadow(0 0 6px #eab308) drop-shadow(0 0 14px rgba(234, 179, 8, 0.75)) !important;



  animation: flowPathForward 0.9s linear infinite !important;



}







/* 7. AI CONTROL SIGNAL -> Z MÓZGU DO OPTIMODE (ZIELONY CYFROWY IMPULS) */



.energy-cable-path.ai-control-flow {



  stroke: #10b981 !important;



  stroke-dasharray: 6 12 !important;



  filter: drop-shadow(0 0 6px #10b981) drop-shadow(0 0 14px rgba(16, 185, 129, 0.85)) !important;



  animation: flowPathForward 0.9s linear infinite !important;



}















/* ======================================================== */



/* TOWER SOFT GLOW (NO BOX) + ENHANCED VISIBLE TREMBLE     */



/* ======================================================== */







/* Całkowite usunięcie prostokątnego box-glow z kontenera wieży */



.dg-stage .dg-grid,



.dg-grid,



.dg-grid.grid-importing {



  filter: none !important;



  background: transparent !important;



  box-shadow: none !important;



  border: none !important;



  overflow: visible !important;



}







/* Miękka, idealnie kolista aura świetlna za słupem (SOFT GLOW) */



.tower-soft-glow {



  position: absolute;



  left: 50%;



  top: 50%;



  transform: translate(-50%, -50%);



  width: 100px;



  height: 100px;



  border-radius: 50% !important;



  background: radial-gradient(circle, rgba(0, 140, 255, 0.50) 0%, rgba(56, 189, 248, 0.25) 35%, rgba(0, 140, 255, 0.08) 60%, transparent 75%) !important;



  pointer-events: none;



  z-index: 1;



  opacity: 0;



  transition: opacity 0.35s ease;



  filter: blur(6px) !important;



}







.dg-grid.grid-importing .tower-soft-glow {



  opacity: 1 !important;



  animation: towerSoftBreathing 1.1s ease-in-out infinite alternate !important;



}







@keyframes towerSoftBreathing {



  0% { transform: translate(-50%, -50%) scale(0.90); opacity: 0.70; }



  100% { transform: translate(-50%, -50%) scale(1.18); opacity: 1.0; }



}







/* Znacznie bardziej widoczne, dynamiczne drżenie słupa przy podawaniu prądu */



@keyframes gridTowerElectricTremble {



  0% { transform: translate(0, 0) rotate(0deg); }



  15% { transform: translate(-2.2px, 1.5px) rotate(-0.9deg); }



  30% { transform: translate(2.0px, -1.8px) rotate(0.8deg); }



  45% { transform: translate(-1.8px, -1.5px) rotate(-0.7deg); }



  60% { transform: translate(2.4px, 1.3px) rotate(0.9deg); }



  75% { transform: translate(-1.5px, 1.8px) rotate(-0.6deg); }



  90% { transform: translate(1.8px, -1.3px) rotate(0.7deg); }



  100% { transform: translate(0, 0) rotate(0deg); }



}







.dg-grid.grid-importing {



  animation: gridTowerElectricTremble 0.06s linear infinite !important;



}







/* Wektor słupa z miękkim cieniowaniem konturów (brak prostokątnych krawędzi) */



.dg-grid.grid-importing svg {



  position: relative;



  z-index: 2;



  overflow: visible !important;



  filter: drop-shadow(0 0 5px rgba(0, 140, 255, 0.90)) drop-shadow(0 0 10px rgba(56, 189, 248, 0.65)) !important;



}















/* ======================================================== */



/* LEKKI, SUBTELNY GLOW NA GŁOWIE AI (DELICATE & REFINED)   */



/* ======================================================== */







.dg-stage .dg-brain .brain-earning-halo {



  width: 108% !important;



  height: 108% !important;



  filter: blur(8px) !important;



}







/* A. ZAKUP PRĄDU -> LEKKIE, SUBTELNE BŁĘKITNE ŚWIATŁO */



.dg-stage .dg-brain.glow-buy .brain-earning-halo,



.dg-stage .dg-brain.glow-import .brain-earning-halo {



  opacity: 0.65 !important;



  background: radial-gradient(circle, rgba(0, 119, 255, 0.30) 0%, rgba(37, 99, 235, 0.15) 50%, transparent 75%) !important;



  animation: brainAuraSoft 2.5s ease-in-out infinite alternate !important;



}



.dg-stage .dg-brain.glow-buy img,



.dg-stage .dg-brain.glow-import img {



  filter: drop-shadow(0 0 8px rgba(0, 119, 255, 0.60)) drop-shadow(0 0 16px rgba(56, 189, 248, 0.30)) !important;



  animation: brainScaleSubtle 2.5s ease-in-out infinite alternate !important;



}







/* B. SPRZEDAŻ PRĄDU -> LEKKIE, SUBTELNE ZIELONE ŚWIATŁO */



.dg-stage .dg-brain.glow-selling .brain-earning-halo,



.dg-stage .dg-brain.earning-glow .brain-earning-halo {



  opacity: 0.65 !important;



  background: radial-gradient(circle, rgba(16, 185, 129, 0.30) 0%, rgba(5, 150, 105, 0.15) 50%, transparent 75%) !important;



  animation: brainAuraSoft 2.2s ease-in-out infinite alternate !important;



}



.dg-stage .dg-brain.glow-selling img,



.dg-stage .dg-brain.earning-glow img {



  filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.60)) drop-shadow(0 0 16px rgba(52, 211, 153, 0.30)) !important;



  animation: brainScaleSubtle 2.2s ease-in-out infinite alternate !important;



}







/* C. MAGAZYNOWANIE I SŁOŃCE -> LEKKIE, SUBTELNE ŻÓŁTE ŚWIATŁO */



.dg-stage .dg-brain.glow-storage .brain-earning-halo,



.dg-stage .dg-brain.glow-production .brain-earning-halo {



  opacity: 0.65 !important;



  background: radial-gradient(circle, rgba(250, 204, 21, 0.30) 0%, rgba(234, 179, 8, 0.15) 50%, transparent 75%) !important;



  animation: brainAuraSoft 2.5s ease-in-out infinite alternate !important;



}



.dg-stage .dg-brain.glow-storage img,



.dg-stage .dg-brain.glow-production img {



  filter: drop-shadow(0 0 8px rgba(250, 204, 21, 0.60)) drop-shadow(0 0 16px rgba(234, 179, 8, 0.30)) !important;



  animation: brainScaleSubtle 2.5s ease-in-out infinite alternate !important;



}







@keyframes brainAuraSoft {



  0% { transform: translate(-50%, -50%) scale(0.96); opacity: 0.45; }



  100% { transform: translate(-50%, -50%) scale(1.04); opacity: 0.70; }



}







@keyframes brainScaleSubtle {



  0% { transform: scale(1); }



  100% { transform: scale(1.012); }



}















/* ==========================================================================



   HERO INTRO SECTION: OSZCZĘDNOŚĆ KTÓRA MYŚLI ZA CIEBIE (APPLE LIGHT AESTHETICS)



   ========================================================================== */







.hero-intro-section {



  position: relative;



  width: 100%;



  padding-top: calc(var(--nav-height, 54px) + 38px);



  padding-bottom: 28px;



  background: transparent !important;



  text-align: center;



  z-index: 10;



}







.hero-intro-container {



  max-width: 1240px;



  margin: 0 auto;



  display: flex;



  flex-direction: column;



  align-items: center;



  padding: 0 20px;



}







/* Eyebrow Badge */



.hero-intro-badge {



  display: inline-flex;



  align-items: center;



  gap: 10px;



  background: #e8f2fe;



  border: 1px solid rgba(0, 113, 227, 0.22);



  box-shadow: 0 2px 12px rgba(0, 113, 227, 0.08);



  padding: 8px 22px;



  border-radius: 9999px;



  margin-bottom: 20px;



  transition: transform 0.2s ease;



}







.hero-intro-badge:hover {



  transform: translateY(-1px);



}







.hero-intro-badge .badge-pulse-dot {



  width: 8px;



  height: 8px;



  border-radius: 50%;



  background: #0071e3;



  box-shadow: 0 0 10px rgba(0, 113, 227, 0.6);



  animation: pulseDot 2s infinite ease-in-out;



}







@keyframes pulseDot {



  0%, 100% { transform: scale(1); opacity: 1; }



  50% { transform: scale(1.35); opacity: 0.65; }



}







.hero-intro-badge .hero-badge-text {



  font-size: 12.5px;



  font-weight: 700;



  letter-spacing: 0.08em;



  text-transform: uppercase;



  color: #0071e3;



}







/* Headline */



/* Specular Shimmer / Połysk Keyframes for Hero Headline */



@keyframes headlineSheenGleam {



  0% {



    background-position: 160% 0;



  }



  26% {



    background-position: -60% 0;



  }



  100% {



    background-position: -60% 0;



  }



}







.hero-intro-headline {



  font-size: clamp(36px, 5.4vw, 64px);



  font-weight: 850;



  letter-spacing: -0.038em;



  line-height: 1.18;



  padding-bottom: 0.22em;



  padding-top: 0.05em;



  margin: 0 0 10px;



  max-width: 1050px;



  display: inline-block;



  overflow: visible;



  box-sizing: border-box;



  background-image: linear-gradient(



    112deg,



    #1d1d1f 36%,



    #0071e3 46%,



    #ffffff 50%,



    #38bdf8 54%,



    #1d1d1f 64%



  );



  background-size: 250% 100%;



  background-position: 160% 0;



  -webkit-background-clip: text;



  -webkit-text-fill-color: transparent;



  background-clip: text;



  color: #1d1d1f; /* Fallback */



  animation: headlineSheenGleam 7.5s cubic-bezier(0.25, 1, 0.4, 1) infinite;



  will-change: background-position;



}







[data-theme="dark"] .hero-intro-headline {



  background-image: linear-gradient(



    112deg,



    #f5f5f7 36%,



    #38bdf8 46%,



    #ffffff 50%,



    #38bdf8 54%,



    #f5f5f7 64%



  );



  color: #f5f5f7;



}







@media (prefers-reduced-motion: reduce) {



  .hero-intro-headline {



    animation: none;



    background-position: 160% 0;



  }



}







.hero-intro-headline .gradient-text-accent {



  background: linear-gradient(135deg, #0071e3 0%, #0284c7 40%, #059669 100%);



  -webkit-background-clip: text;



  -webkit-text-fill-color: transparent;



  display: inline-block;



}







/* Subhead */



.hero-intro-subhead {



  font-size: clamp(16.5px, 1.4vw, 20px);



  font-weight: 400;



  line-height: 1.56;



  color: #515154;



  max-width: 860px;



  margin: 0 auto 32px;



  letter-spacing: -0.015em;



}







/* Feature Value Pills */



.hero-intro-pills {



  display: grid;



  grid-template-columns: repeat(4, 1fr);



  gap: 16px;



  width: 100%;



  max-width: 1160px;



  margin-bottom: 32px;



}







.hero-value-pill {



  display: flex;



  align-items: center;



  gap: 14px;



  background: rgba(255, 255, 255, 0.88);



  border: 1px solid rgba(0, 0, 0, 0.08);



  border-radius: 18px;



  padding: 14px 18px;



  backdrop-filter: blur(20px);



  -webkit-backdrop-filter: blur(20px);



  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);



  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;



  text-align: left;



}







.hero-value-pill:hover {



  transform: translateY(-3px);



  border-color: rgba(0, 113, 227, 0.35);



  box-shadow: 0 12px 32px rgba(0, 113, 227, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);



}







.hero-value-pill .pill-icon-glow {



  font-size: 22px;



  width: 44px;



  height: 44px;



  border-radius: 12px;



  background: #f5f5f7;



  display: flex;



  align-items: center;



  justify-content: center;



  flex-shrink: 0;



  border: 1px solid rgba(0, 0, 0, 0.06);



}







.hero-value-pill .pill-info {



  display: flex;



  flex-direction: column;



}







.hero-value-pill .pill-val {



  font-size: 16.5px;



  font-weight: 750;



  color: #1d1d1f;



  letter-spacing: -0.01em;



}







.hero-value-pill .pill-label {



  font-size: 12px;



  color: #6e6e73;



  line-height: 1.35;



}







/* CTA buttons group */



.hero-intro-ctas {



  display: flex;



  align-items: center;



  justify-content: center;



  gap: 14px;



  flex-wrap: wrap;



  margin-bottom: 8px;



}







.hero-intro-ctas .btn-primary {



  padding: 13px 26px;



  font-size: 14.5px;



  font-weight: 600;



  border-radius: 9999px;



  background: #0071e3;



  color: #ffffff !important;



  display: inline-flex;



  align-items: center;



  gap: 8px;



  box-shadow: 0 4px 18px rgba(0, 113, 227, 0.35);



  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;



}







.hero-intro-ctas .btn-primary:hover {



  background: #0077ed;



  transform: translateY(-2px);



  box-shadow: 0 8px 24px rgba(0, 113, 227, 0.45);



}







.hero-intro-ctas .btn-secondary {



  padding: 12px 22px;



  font-size: 14.5px;



  font-weight: 500;



  border-radius: 9999px;



  background: rgba(0, 0, 0, 0.04);



  border: 1px solid rgba(0, 0, 0, 0.12);



  color: #1d1d1f !important;



  display: inline-flex;



  align-items: center;



  gap: 8px;



  backdrop-filter: blur(12px);



  -webkit-backdrop-filter: blur(12px);



  transition: all 0.2s ease;



}







.hero-intro-ctas .btn-secondary:hover {



  background: rgba(0, 0, 0, 0.08);



  border-color: rgba(0, 0, 0, 0.22);



  transform: translateY(-2px);



  color: #000000 !important;



}







/* Spacing adjustment for #system when following the hero intro */



#system.system-section,



.system-section#system {



  padding-top: 24px !important;



}







@media (max-width: 992px) {



  .hero-intro-pills {



    grid-template-columns: repeat(2, 1fr);



  }



}







@media (max-width: 640px) {



  .hero-intro-section {



    padding-top: calc(var(--nav-height, 54px) + 20px);



    padding-bottom: 16px;



  }



  .hero-intro-headline {



    font-size: clamp(28px, 7.6vw, 38px);



    line-height: 1.2;



    padding-bottom: 0.22em;



  }



  .hero-intro-subhead {



    font-size: 15px;



    margin-bottom: 22px;



  }



  .hero-intro-pills {



    grid-template-columns: 1fr;



    gap: 10px;



  }



  .hero-intro-ctas {



    flex-direction: column;



    width: 100%;



  }



  .hero-intro-ctas .btn-primary,



  .hero-intro-ctas .btn-secondary {



    width: 100%;



    justify-content: center;



  }



  #system.system-section,



  .system-section#system {



    padding-top: 14px !important;



  }



}







/* ==========================================================================



   REAL HOUSE SHOWCASE - LIVE MULTILINGUAL OVERLAY (BIAŁYSTOK 140 M2)



   ========================================================================== */



.real-hero-photo-wrapper {



  position: relative;



  overflow: hidden;



  border-radius: 20px;



  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.16);



  background: #0b1329;



}







.real-hero-img {



  width: 100%;



  height: 100%;



  object-fit: cover;



  display: block;



}







.real-house-live-overlay {



  position: absolute;



  inset: 0;



  pointer-events: none;



  z-index: 6;



  transition: opacity 0.3s ease;



}







/* 1. Karta Partnerska Top-Left (NORD HT, UiS, PAN) */



.real-overlay-brand-card {



  position: absolute;



  top: 16px;



  left: 16px;



  background: rgba(255, 255, 255, 0.96);



  backdrop-filter: blur(10px);



  -webkit-backdrop-filter: blur(10px);



  border: 1.5px solid #0284c7;



  border-radius: 14px;



  padding: 10px 14px;



  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);



  max-width: 290px;



  pointer-events: auto;



  text-align: left;



}







.real-overlay-brand-card .brand-logo-row {



  margin-bottom: 4px;



}







.real-overlay-brand-card .overlay-logo-nord {



  height: 32px;



  width: auto;



  max-width: 100%;



  display: block;



  object-fit: contain;



}







.real-overlay-brand-card .brand-partner-caption {



  font-size: 10.5px;



  font-weight: 700;



  color: #475569;



  text-transform: none;



  letter-spacing: 0.1px;



  margin: 5px 0 6px 0;



  border-top: 1px solid rgba(226, 232, 240, 0.85);



  padding-top: 4px;



}







.real-overlay-brand-card .brand-partners-row {



  display: flex;



  align-items: center;



  gap: 10px;



}







.real-overlay-brand-card .overlay-logo-uis {



  height: 24px;



  width: auto;



  max-width: 115px;



  object-fit: contain;



}







.real-overlay-brand-card .overlay-logo-pan {



  height: 26px;



  width: auto;



  max-width: 130px;



  object-fit: contain;



}







/* 2. Flaga Norwegii Top-Right */



.real-overlay-flag {



  position: absolute;



  top: 12px;



  right: 14px;



  width: 92px;



  height: auto;



  pointer-events: none;



  opacity: 0.95;



  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25));



}







.real-overlay-flag .overlay-flag-img {



  width: 100%;



  height: auto;



  display: block;



}







/* 3. Tabela Parametrów Budynku Bottom-Left (3 kolumny) */



.real-overlay-specs-card {



  position: absolute;



  bottom: 16px;



  left: 16px;



  max-width: 710px;



  background: rgba(255, 255, 255, 0.96);



  backdrop-filter: blur(14px);



  -webkit-backdrop-filter: blur(14px);



  border: 1.5px solid #0284c7;



  border-radius: 14px;



  padding: 10px 16px 12px 16px;



  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.18);



  pointer-events: auto;



  text-align: left;



}







.real-overlay-specs-card .specs-card-header-bar {



  display: flex;



  align-items: center;



  gap: 6px;



  border-bottom: 1px solid rgba(224, 242, 254, 0.95);



  padding-bottom: 5px;



  margin-bottom: 7px;



}







.real-overlay-specs-card .specs-pin-icon {



  font-size: 15px;



  line-height: 1;



}







.real-overlay-specs-card .specs-title-text {



  font-size: 14.5px;



  font-weight: 800;



  color: #034f8a;



  margin: 0;



  letter-spacing: -0.2px;



}







.real-overlay-specs-card .specs-columns-grid {



  display: grid;



  grid-template-columns: 1.15fr 1.25fr 1.25fr;



  gap: 14px;



}







.real-overlay-specs-card .specs-col-title {



  font-size: 11px;



  font-weight: 700;



  color: #0284c7;



  text-transform: none;



  margin-bottom: 4px;



}







.real-overlay-specs-card .specs-entry {



  font-size: 10.5px;



  line-height: 1.45;



  color: #334155;



  margin-bottom: 2px;



  white-space: nowrap;



}







.real-overlay-specs-card .specs-entry strong {



  color: #0f172a;



  font-weight: 700;



}







/* Responsywność dla urządzeń mobilnych */



@media (max-width: 900px) {



  .real-overlay-brand-card {



    top: 10px;



    left: 10px;



    max-width: 220px;



    padding: 6px 10px;



  }



  .real-overlay-brand-card .overlay-logo-nord {



    height: 22px;



  }



  .real-overlay-brand-card .overlay-logo-uis,



  .real-overlay-brand-card .overlay-logo-pan {



    height: 18px;



  }



  .real-overlay-specs-card {



    bottom: 10px;



    left: 10px;



    right: 10px;



    max-width: none;



    padding: 8px 12px;



  }



  .real-overlay-specs-card .specs-title-text {



    font-size: 12.5px;



  }



  .real-overlay-specs-card .specs-col-title {



    font-size: 10px;



  }



  .real-overlay-specs-card .specs-entry {



    font-size: 9.5px;



  }



}







@media (max-width: 640px) {



  .real-overlay-brand-card {



    display: none;



  }



  .real-overlay-specs-card {



    position: static;



    margin-top: 10px;



    background: #ffffff;



    box-shadow: 0 4px 16px rgba(0,0,0,0.08);



  }



  .real-overlay-specs-card .specs-columns-grid {



    grid-template-columns: 1fr;



    gap: 8px;



  }



}







/* ==========================================================================



   GLOBAL PREMIUM AESTHETIC ELEVATION (APPLE-GRADE REFINEMENT)



   ========================================================================== */







/* 1. Global Font Smoothing & Base Typography */



html {



  scroll-behavior: smooth;



  -webkit-font-smoothing: antialiased;



  -moz-osx-font-smoothing: grayscale;



  text-rendering: optimizeLegibility;



}







body {



  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;



  color: #1d1d1f;



  background-color: #ffffff;



  overflow-x: hidden;



}







::selection {



  background: rgba(0, 113, 227, 0.2);



  color: #0071e3;



}







/* 2. Cohesive Section Rhythm & Spacings */



.hero-intro-section {



  padding-top: 56px !important;



  padding-bottom: 48px !important;



  background: radial-gradient(ellipse 90% 60% at 50% -10%, rgba(2, 132, 199, 0.07), transparent 75%), #ffffff;



}







.system-section {



  padding-top: 36px !important;



  padding-bottom: 72px !important;



  background: linear-gradient(180deg, #070d1e 0%, #0b1329 100%) !important;



}







.report-charts-section {



  padding: 84px 0 !important;



  background: #ffffff !important;



}







.calculator-section {



  padding: 84px 0 !important;



  background: #f8fafc !important;



}







.science-section {



  padding: 84px 0 !important;



  background: #ffffff !important;



}







.bento-section {



  padding: 84px 0 !important;



  background: #f8fafc !important;



}







.guarantee-section {



  padding: 84px 0 !important;



  background: #ffffff !important;



}







.models-section {



  padding: 84px 0 !important;



  background: #f8fafc !important;



}







.contact-section {



  padding: 84px 0 !important;



  background: #ffffff !important;



}







.partners-bottom-section {



  background: #f8fafc !important;



}







.global-footer {



  background: #0b1329 !important;



}







/* 3. Section Eyebrows & Main Headings Consistency */



.section-eyebrow,



.specs-eyebrow,



.bento-eyebrow,



.science-eyebrow {



  display: inline-block;



  font-size: 11.5px !important;



  font-weight: 700 !important;



  text-transform: uppercase !important;



  letter-spacing: 0.12em !important;



  color: #0071e3 !important;



  margin-bottom: 10px !important;



}







.section-title,



.specs-main-heading,



.science-main-heading {



  font-size: clamp(30px, 3.6vw, 44px) !important;



  font-weight: 800 !important;



  letter-spacing: -0.03em !important;



  line-height: 1.15 !important;



  color: #0f172a !important;



  margin-bottom: 14px !important;



}







.section-subtitle,



.specs-lead-text,



.science-sub-lead {



  font-size: clamp(15.5px, 1.25vw, 18.5px) !important;



  font-weight: 400 !important;



  line-height: 1.6 !important;



  color: #64748b !important;



  max-width: 760px !important;



  margin-left: auto !important;



  margin-right: auto !important;



}







/* 4. Apple Glass & Card Elevation */



.specs-card,



.calculator-card,



.bento-card:not(.nord-interactive-card),



.guarantee-card,



.model-card,



.prof-card,



.paper-card {



  background: #ffffff !important;



  border: 1px solid rgba(0, 0, 0, 0.06) !important;



  border-radius: 20px !important;



  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.04), 0 12px 32px -4px rgba(0, 0, 0, 0.05) !important;



  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease !important;



}







.specs-card:hover,



.bento-card:not(.nord-interactive-card):hover,



.guarantee-card:hover,



.model-card:hover,



.prof-card:hover,



.paper-card:hover {



  transform: translateY(-3px) !important;



  box-shadow: 0 8px 24px -2px rgba(0, 0, 0, 0.06), 0 20px 48px -4px rgba(0, 0, 0, 0.09) !important;



  border-color: rgba(0, 113, 227, 0.24) !important;



}







/* Dedicated High-Contrast Dark Cinema Styling for NORD HT Interactive Showcase */



.bento-card.nord-interactive-card,



.nord-interactive-card {



  background: #121418 !important;



  color: #ffffff !important;



  border: 1px solid rgba(255, 255, 255, 0.12) !important;



  border-radius: var(--radius-xl, 24px) !important;



  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4), 0 0 60px -15px var(--nord-card-glow, rgba(204, 160, 58, 0.35)) !important;



  transform: none !important;



}







.nord-interactive-card .nord-interactive-title {



  color: #ffffff !important;



  font-weight: 800 !important;



  font-size: clamp(26px, 3.2vw, 38px) !important;



}







.nord-interactive-card .nord-interactive-subtitle {



  color: #94a3b8 !important;



}







.nord-interactive-card .bento-tag {



  background: rgba(41, 151, 255, 0.16) !important;



  color: #38bdf8 !important;



  border: 1px solid rgba(56, 189, 248, 0.28) !important;



}







.nord-interactive-card .nord-tab-pill:not(.active) {



  background: rgba(255, 255, 255, 0.08) !important;



  border: 1px solid rgba(255, 255, 255, 0.2) !important;



  color: #e2e8f0 !important;



}







.nord-interactive-card .nord-tab-pill:not(.active):hover {



  background: rgba(255, 255, 255, 0.18) !important;



  color: #ffffff !important;



}







/* 5. Pill Buttons & Micro-interactions */



.btn-primary {



  display: inline-flex;



  align-items: center;



  justify-content: center;



  gap: 8px;



  background: #0071e3 !important;



  color: #ffffff !important;



  font-weight: 600 !important;



  font-size: 14.5px !important;



  letter-spacing: -0.01em !important;



  padding: 11px 24px !important;



  border-radius: 9999px !important;



  box-shadow: 0 4px 14px rgba(0, 113, 227, 0.28) !important;



  border: none !important;



  cursor: pointer;



  text-decoration: none;



  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;



}







.btn-primary:hover {



  background: #0077ed !important;



  transform: translateY(-1px) !important;



  box-shadow: 0 6px 20px rgba(0, 113, 227, 0.4) !important;



  color: #ffffff !important;



}







.btn-secondary {



  display: inline-flex;



  align-items: center;



  justify-content: center;



  gap: 8px;



  background: #f1f5f9 !important;



  color: #0f172a !important;



  font-weight: 600 !important;



  font-size: 14.5px !important;



  letter-spacing: -0.01em !important;



  padding: 11px 22px !important;



  border-radius: 9999px !important;



  border: 1px solid rgba(0, 0, 0, 0.06) !important;



  cursor: pointer;



  text-decoration: none;



  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;



}







.btn-secondary:hover {



  background: #e2e8f0 !important;



  transform: translateY(-1px) !important;



  border-color: rgba(0, 0, 0, 0.12) !important;



  color: #0f172a !important;



}







/* 6. Filter Pills in Models & Views */



.filter-btn,



.price-tab-btn,



.switcher-tab-btn {



  font-weight: 600 !important;



  letter-spacing: -0.01em !important;



  border-radius: 9999px !important;



  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;



}







.filter-btn.active,



.switcher-tab-btn.active {



  background: #0071e3 !important;



  color: #ffffff !important;



  box-shadow: 0 3px 12px rgba(0, 113, 227, 0.3) !important;



}







/* 7. Refined Hero Value Pills */



.hero-value-pill {



  background: #ffffff !important;



  border: 1px solid rgba(0, 0, 0, 0.07) !important;



  border-radius: 16px !important;



  padding: 12px 18px !important;



  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;



  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;



}







.hero-value-pill:hover {



  transform: translateY(-2px) !important;



  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;



  border-color: rgba(0, 113, 227, 0.3) !important;



}







/* 8. Modern Smooth Scrollbars */



::-webkit-scrollbar {



  width: 9px;



  height: 9px;



}



::-webkit-scrollbar-track {



  background: #f1f5f9;



}



::-webkit-scrollbar-thumb {



  background: #cbd5e1;



  border-radius: 9999px;



  border: 2px solid #f1f5f9;



}



::-webkit-scrollbar-thumb:hover {



  background: #94a3b8;



}











/* ==========================================================================



   APPLE-STYLE LEGAL & COMPLIANCE CENTER MODAL + KSH DISCLOSURE + COOKIE BANNER



   ========================================================================== */







.footer-ksh-disclosure {



  margin: 18px 0 14px;



  padding: 12px 16px;



  border-radius: 12px;



  background: rgba(255, 255, 255, 0.04);



  border: 1px solid rgba(255, 255, 255, 0.08);



  font-size: 11.5px;



  line-height: 1.6;



  color: #94a3b8;



}







.footer-ksh-disclosure strong {



  color: #cbd5e1;



  font-weight: 600;



}







.footer-legal-links {



  display: flex;



  flex-wrap: wrap;



  gap: 16px;



  align-items: center;



}







.footer-legal-links a {



  color: #38bdf8;



  text-decoration: none;



  font-weight: 500;



  transition: color 0.2s ease, opacity 0.2s ease;



}







.footer-legal-links a:hover {



  color: #7dd3fc;



  text-decoration: underline;



}







/* Legal Modal Overlay */



.legal-modal-overlay {



  position: fixed;



  inset: 0;



  z-index: 99999;



  display: flex;



  align-items: center;



  justify-content: center;



  padding: 20px;



  box-sizing: border-box;



}







.legal-modal-backdrop {



  position: absolute;



  inset: 0;



  background: rgba(2, 6, 23, 0.72);



  backdrop-filter: blur(12px);



  -webkit-backdrop-filter: blur(12px);



  animation: legalFadeIn 0.25s ease-out;



}







.legal-modal-dialog {



  position: relative;



  z-index: 2;



  width: 100%;



  max-width: 920px;



  max-height: 88vh;



  background: #ffffff;



  color: #0f172a;



  border-radius: 24px;



  box-shadow: 0 28px 80px -12px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.15);



  display: flex;



  flex-direction: column;



  overflow: hidden;



  animation: legalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);



}







@keyframes legalFadeIn {



  from { opacity: 0; }



  to { opacity: 1; }



}







@keyframes legalSlideUp {



  from { opacity: 0; transform: translateY(18px) scale(0.98); }



  to { opacity: 1; transform: translateY(0) scale(1); }



}







.legal-modal-header {



  display: flex;



  align-items: flex-start;



  justify-content: space-between;



  gap: 16px;



  padding: 22px 28px 16px;



  border-bottom: 1px solid #e2e8f0;



  background: #f8fafc;



}







.legal-modal-eyebrow {



  display: block;



  font-size: 11px;



  font-weight: 700;



  letter-spacing: 0.06em;



  text-transform: uppercase;



  color: #0071e3;



  margin-bottom: 4px;



}







.legal-modal-title {



  font-size: 20px;



  font-weight: 800;



  color: #0f172a;



  margin: 0;



  letter-spacing: -0.02em;



}







.legal-modal-close {



  width: 36px;



  height: 36px;



  border-radius: 50%;



  border: 1px solid #cbd5e1;



  background: #ffffff;



  color: #334155;



  display: inline-flex;



  align-items: center;



  justify-content: center;



  cursor: pointer;



  flex-shrink: 0;



  transition: all 0.2s ease;



}







.legal-modal-close:hover {



  background: #0f172a;



  color: #ffffff;



  border-color: #0f172a;



  transform: scale(1.05);



}







.legal-modal-tabs {



  display: flex;



  flex-wrap: wrap;



  gap: 8px;



  padding: 12px 28px;



  background: #f1f5f9;



  border-bottom: 1px solid #e2e8f0;



}







.legal-tab-btn {



  appearance: none;



  border: 1px solid transparent;



  background: transparent;



  color: #475569;



  font-family: var(--font-sans);



  font-size: 13px;



  font-weight: 600;



  padding: 8px 15px;



  border-radius: 999px;



  cursor: pointer;



  transition: all 0.2s ease;



}







.legal-tab-btn:hover {



  background: rgba(255, 255, 255, 0.75);



  color: #0f172a;



}







.legal-tab-btn.active {



  background: #0071e3;



  color: #ffffff;



  box-shadow: 0 4px 12px rgba(0, 113, 227, 0.28);



}







.legal-modal-body {



  padding: 24px 28px;



  overflow-y: auto;



  flex: 1 1 auto;



  font-size: 14px;



  line-height: 1.68;



  color: #334155;



}







.legal-tab-pane {



  display: none;



}







.legal-tab-pane.active {



  display: block;



}







.legal-doc-badge {



  display: inline-block;



  font-size: 11.5px;



  font-weight: 700;



  color: #0369a1;



  background: #e0f2fe;



  border: 1px solid #bae6fd;



  padding: 5px 12px;



  border-radius: 999px;



  margin-bottom: 16px;



}







.legal-modal-body h4 {



  font-size: 16px;



  font-weight: 700;



  color: #0f172a;



  margin: 20px 0 8px;



}







.legal-modal-body h4:first-of-type {



  margin-top: 6px;



}







.legal-modal-body p {



  margin: 0 0 12px;



}







.legal-modal-body ul {



  margin: 0 0 14px;



  padding-left: 20px;



}







.legal-modal-body li {



  margin-bottom: 8px;



}







.legal-info-box {



  background: #f8fafc;



  border: 1px solid #cbd5e1;



  border-left: 4px solid #0071e3;



  padding: 14px 18px;



  border-radius: 10px;



  margin: 12px 0 16px;



  font-size: 13.5px;



  color: #1e293b;



}







.legal-company-table {



  width: 100%;



  border-collapse: collapse;



}







.legal-company-table td {



  padding: 8px 10px;



  border-bottom: 1px solid #e2e8f0;



  vertical-align: top;



}







.legal-company-table tr:last-child td {



  border-bottom: none;



}







.legal-modal-footer {



  display: flex;



  align-items: center;



  justify-content: space-between;



  gap: 16px;



  padding: 14px 28px;



  background: #f8fafc;



  border-top: 1px solid #e2e8f0;



}







.legal-footer-note {



  font-size: 12px;



  font-weight: 600;



  color: #64748b;



}







.legal-modal-ok-btn {



  padding: 10px 24px !important;



  font-size: 13.5px !important;



  border-radius: 999px !important;



}







/* Cookie & Privacy Notice Banner (Bottom Floating Pill) */



.cookie-consent-banner {



  position: fixed;



  bottom: 18px;



  left: 50%;



  transform: translateX(-50%);



  z-index: 9990;



  width: calc(100% - 32px);



  max-width: 1080px;



  background: rgba(15, 23, 42, 0.94);



  color: #f1f5f9;



  border: 1px solid rgba(255, 255, 255, 0.16);



  border-radius: 18px;



  padding: 14px 20px;



  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);



  backdrop-filter: blur(16px);



  -webkit-backdrop-filter: blur(16px);



}







.cookie-banner-inner {



  display: flex;



  align-items: center;



  justify-content: space-between;



  gap: 20px;



}







.cookie-banner-text {



  font-size: 12.5px;



  line-height: 1.55;



  color: #cbd5e1;



}







.cookie-banner-text strong {



  color: #ffffff;



}







.cookie-banner-text a {



  color: #38bdf8;



  text-decoration: underline;



  font-weight: 600;



  margin-left: 4px;



}







.cookie-banner-actions {



  display: flex;



  align-items: center;



  gap: 10px;



  flex-shrink: 0;



}







.cookie-btn-details {



  appearance: none;



  background: rgba(255, 255, 255, 0.1);



  color: #e2e8f0;



  border: 1px solid rgba(255, 255, 255, 0.2);



  padding: 8px 14px;



  border-radius: 999px;



  font-size: 12.5px;



  font-weight: 600;



  cursor: pointer;



  transition: all 0.2s ease;



}







.cookie-btn-details:hover {



  background: rgba(255, 255, 255, 0.18);



  color: #ffffff;



}







.cookie-btn-accept {



  appearance: none;



  background: #0071e3;



  color: #ffffff;



  border: none;



  padding: 8px 18px;



  border-radius: 999px;



  font-size: 12.5px;



  font-weight: 700;



  cursor: pointer;



  box-shadow: 0 4px 12px rgba(0, 113, 227, 0.35);



  transition: all 0.2s ease;



}







.cookie-btn-accept:hover {



  background: #0077ed;



  transform: translateY(-1px);



}







@media (max-width: 768px) {



  .legal-modal-overlay {



    padding: 10px;



  }



  .legal-modal-header {



    padding: 16px 18px 12px;



  }



  .legal-modal-tabs {



    padding: 10px 14px;



    gap: 6px;



  }



  .legal-tab-btn {



    font-size: 12px;



    padding: 6px 11px;



  }



  .legal-modal-body {



    padding: 16px 18px;



    font-size: 13px;



  }



  .legal-modal-footer {



    padding: 12px 18px;



    flex-direction: column;



    align-items: stretch;



    text-align: center;



  }



  .cookie-banner-inner {



    flex-direction: column;



    align-items: stretch;



    gap: 12px;



  }



  .cookie-banner-actions {



    justify-content: flex-end;



  }



}







.global-footer .footer-col h5 {



  color: #f8fafc !important;



  font-weight: 700 !important;



  letter-spacing: 0.01em;



}







/* =========================================================================



   INTERACTIVE SCHEMATIC DIAGRAM NODES & APPLE GLASS TOOLTIP (#dgNodeTooltip)



   ========================================================================= */



.dg-stage .dg-layer [data-dg-node] {



  pointer-events: auto !important;



  cursor: pointer;



  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), filter 0.24s ease, color 0.2s ease, text-shadow 0.2s ease;



  outline: none;



}







.dg-stage .dg-layer .dg-item[data-dg-node].dg-node-hovered,



.dg-stage .dg-layer .dg-uis[data-dg-node].dg-node-hovered,



.dg-stage .dg-layer .dg-brand-block[data-dg-node].dg-node-hovered,



.dg-stage .dg-layer .dg-aws[data-dg-node].dg-node-hovered {



  transform: scale(1.10);



  z-index: 30 !important;



}







.dg-stage .dg-layer .dg-brain[data-dg-node].dg-node-hovered {



  transform: scale(1.05);



  z-index: 30 !important;



}







.dg-stage .dg-layer [data-dg-node][data-dg-theme="green"].dg-node-hovered:not(.dg-label) {



  filter: drop-shadow(0 0 14px rgba(34, 197, 94, 0.95)) drop-shadow(0 0 28px rgba(34, 197, 94, 0.45));



}







.dg-stage .dg-layer [data-dg-node][data-dg-theme="amber"].dg-node-hovered:not(.dg-label) {



  filter: drop-shadow(0 0 14px rgba(251, 168, 52, 1)) drop-shadow(0 0 28px rgba(251, 168, 52, 0.55));



}







.dg-stage .dg-layer [data-dg-node][data-dg-theme="cyan"].dg-node-hovered:not(.dg-label) {



  filter: drop-shadow(0 0 16px rgba(56, 189, 248, 0.95)) drop-shadow(0 0 32px rgba(56, 189, 248, 0.5));



}







.dg-stage .dg-layer [data-dg-node][data-dg-theme="red"].dg-node-hovered:not(.dg-label) {



  filter: drop-shadow(0 0 14px rgba(249, 115, 22, 0.95)) drop-shadow(0 0 28px rgba(239, 68, 68, 0.55));



}







.dg-stage .dg-layer .dg-item[data-dg-node].dg-node-hovered,



.dg-stage .dg-layer .dg-uis[data-dg-node].dg-node-hovered,



.dg-stage .dg-layer .dg-brand-block[data-dg-node].dg-node-hovered,



.dg-stage .dg-layer .dg-aws[data-dg-node].dg-node-hovered {



  transform: scale(1.08);



  transform-origin: center 30%;



  z-index: 25 !important;



}







.dg-stage .dg-layer .dg-label[data-dg-node].dg-node-hovered {



  color: #38bdf8;



  text-shadow: 0 0 10px rgba(56, 189, 248, 0.95), 0 1px 4px rgba(0, 0, 0, 1);



  z-index: 45 !important;



}







.dg-stage .dg-layer .dg-chip-label[data-dg-node].dg-node-hovered {



  color: #ffd166;



  text-shadow: 0 0 10px rgba(251, 168, 52, 0.95), 0 1px 4px rgba(0, 0, 0, 1);



}







/* Frosted-Glass Floating Tooltip inside .code-diagram-stage */



.dg-node-tooltip {



  position: absolute;



  left: 50%;



  top: 50%;



  width: min(325px, 84%);



  background: rgba(8, 15, 32, 0.95);



  backdrop-filter: blur(18px);



  -webkit-backdrop-filter: blur(18px);



  border: 1.5px solid rgba(56, 189, 248, 0.55);



  border-radius: 14px;



  padding: 13px 15px;



  color: #f8fafc;



  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.68), 0 0 24px rgba(56, 189, 248, 0.22);



  z-index: 80;



  pointer-events: none;



  opacity: 0;



  visibility: hidden;



  transform: translateY(6px) scale(0.97);



  transition: opacity 0.18s cubic-bezier(0.16, 1, 0.3, 1), transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.18s, border-color 0.2s ease, box-shadow 0.2s ease;



  font-family: var(--font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);



  text-align: left;



}







.dg-node-tooltip.visible {



  opacity: 1;



  visibility: visible;



  transform: translateY(0) scale(1);



}







.dg-node-tooltip[data-theme="green"] {



  border-color: rgba(34, 197, 94, 0.65);



  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.68), 0 0 24px rgba(34, 197, 94, 0.24);



}







.dg-node-tooltip[data-theme="amber"] {



  border-color: rgba(251, 168, 52, 0.72);



  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.68), 0 0 24px rgba(251, 168, 52, 0.26);



}







.dg-node-tooltip[data-theme="cyan"] {



  border-color: rgba(56, 189, 248, 0.68);



  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.68), 0 0 24px rgba(56, 189, 248, 0.26);



}







.dg-node-tooltip[data-theme="red"] {



  border-color: rgba(249, 115, 22, 0.68);



  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.68), 0 0 24px rgba(249, 115, 22, 0.25);



}







.dg-tooltip-header {



  display: flex;



  align-items: center;



  justify-content: space-between;



  gap: 8px;



  margin-bottom: 6px;



  flex-wrap: wrap;



}







.dg-tooltip-badge {



  display: inline-flex;



  align-items: center;



  padding: 2.5px 8px;



  border-radius: 999px;



  font-size: 10px;



  font-weight: 800;



  letter-spacing: 0.05em;



  text-transform: uppercase;



  background: rgba(56, 189, 248, 0.16);



  color: #38bdf8;



  border: 1px solid rgba(56, 189, 248, 0.35);



}







.dg-node-tooltip[data-theme="green"] .dg-tooltip-badge {



  background: rgba(34, 197, 94, 0.16);



  color: #4ade80;



  border-color: rgba(34, 197, 94, 0.38);



}







.dg-node-tooltip[data-theme="amber"] .dg-tooltip-badge {



  background: rgba(251, 168, 52, 0.16);



  color: #fbbf24;



  border-color: rgba(251, 168, 52, 0.42);



}







.dg-node-tooltip[data-theme="red"] .dg-tooltip-badge {



  background: rgba(249, 115, 22, 0.16);



  color: #fb923c;



  border-color: rgba(249, 115, 22, 0.42);



}







.dg-tooltip-spec {



  font-size: 10.5px;



  font-weight: 700;



  color: #94a3b8;



  background: rgba(255, 255, 255, 0.06);



  padding: 2px 7px;



  border-radius: 6px;



  white-space: nowrap;



}







.dg-tooltip-title {



  font-size: 14px;



  font-weight: 800;



  color: #ffffff;



  margin-bottom: 5px;



  line-height: 1.25;



  letter-spacing: -0.01em;



}







.dg-tooltip-desc {



  font-size: 12px;



  line-height: 1.48;



  color: #cbd5e1;



  font-weight: 400;



}







@media (max-width: 640px) {



  .dg-node-tooltip {



    width: min(280px, 92%);



    padding: 10px 12px;



  }



  .dg-tooltip-title {



    font-size: 12.5px;



  }



  .dg-tooltip-desc {



    font-size: 11px;



    line-height: 1.4;



  }



}







/* =========================================================================



   VOICE STORY BUTTON & SYNCHRONIZED SCENARIO PLAYER (#btnVoiceStory / #voiceStoryPanel)



   ========================================================================= */



.btn-voice-story {



  display: inline-flex;



  align-items: center;



  justify-content: center;



  gap: 10px;



  padding: 14px 26px;



  border-radius: 999px;



  background: linear-gradient(135deg, rgba(14, 29, 62, 0.96) 0%, rgba(20, 44, 88, 0.96) 100%);



  border: 1.5px solid rgba(56, 189, 248, 0.55);



  color: #ffffff;



  font-family: var(--font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);



  font-size: 15px;



  font-weight: 700;



  cursor: pointer;



  box-shadow: 0 6px 20px rgba(0, 113, 227, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.14);



  backdrop-filter: blur(12px);



  -webkit-backdrop-filter: blur(12px);



  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);



}







.btn-voice-story:hover {



  transform: translateY(-2px);



  border-color: rgba(56, 189, 248, 0.9);



  box-shadow: 0 10px 26px rgba(56, 189, 248, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.22);



}







.btn-voice-story.active {



  background: linear-gradient(135deg, #0071e3 0%, #0284c7 100%);



  border-color: #7dd3fc;



  box-shadow: 0 8px 28px rgba(0, 113, 227, 0.48);



}







.btn-voice-icon {



  display: inline-flex;



  align-items: center;



  justify-content: center;



  color: #38bdf8;



}







.btn-voice-story.active .btn-voice-icon {



  color: #ffffff;



}







.voice-eq-bars {



  display: none;



  align-items: flex-end;



  gap: 2.5px;



  height: 14px;



  margin-left: 2px;



}







.btn-voice-story.playing .voice-eq-bars {



  display: inline-flex;



}







.voice-eq-bars span {



  width: 2.5px;



  background: #38bdf8;



  border-radius: 2px;



  animation: voiceEqBounce 0.85s ease-in-out infinite alternate;



}







.btn-voice-story.active .voice-eq-bars span {



  background: #ffffff;



}







.voice-eq-bars span:nth-child(1) { height: 5px; animation-delay: 0s; }



.voice-eq-bars span:nth-child(2) { height: 13px; animation-delay: 0.2s; }



.voice-eq-bars span:nth-child(3) { height: 8px; animation-delay: 0.4s; }



.voice-eq-bars span:nth-child(4) { height: 11px; animation-delay: 0.15s; }







@keyframes voiceEqBounce {



  0% { height: 4px; opacity: 0.65; }



  100% { height: 14px; opacity: 1; }



}







/* Synchronized Voice Story Teleprompter Panel */



.voice-story-panel {



  margin: 12px auto 16px;



  max-width: 1080px;



  background: linear-gradient(180deg, rgba(11, 21, 44, 0.96) 0%, rgba(8, 15, 32, 0.98) 100%);



  border: 1.5px solid rgba(56, 189, 248, 0.42);



  border-radius: 18px;



  padding: 18px 22px;



  color: #f8fafc;



  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.38), 0 0 28px rgba(56, 189, 248, 0.15);



  backdrop-filter: blur(18px);



  -webkit-backdrop-filter: blur(18px);



  text-align: left;



  animation: voicePanelFadeIn 0.28s cubic-bezier(0.16, 1, 0.3, 1);



}







@keyframes voicePanelFadeIn {



  from { opacity: 0; transform: translateY(-6px); }



  to { opacity: 1; transform: translateY(0); }



}







.voice-story-top {



  display: flex;



  align-items: center;



  justify-content: space-between;



  gap: 12px;



  flex-wrap: wrap;



  margin-bottom: 12px;



}







.voice-story-status-left {



  display: flex;



  align-items: center;



  gap: 10px;



  flex-wrap: wrap;



}







.voice-live-badge {



  display: inline-flex;



  align-items: center;



  gap: 6px;



  padding: 4px 11px;



  border-radius: 999px;



  font-size: 11px;



  font-weight: 800;



  letter-spacing: 0.05em;



  text-transform: uppercase;



  background: rgba(56, 189, 248, 0.16);



  color: #38bdf8;



  border: 1px solid rgba(56, 189, 248, 0.38);



}







.voice-chapter-time {



  font-size: 13px;



  font-weight: 800;



  color: #fbbf24;



  background: rgba(251, 191, 36, 0.12);



  border: 1px solid rgba(251, 191, 36, 0.35);



  padding: 3.5px 11px;



  border-radius: 999px;



}







.voice-story-controls-right {



  display: flex;



  align-items: center;



  gap: 8px;



}







.voice-ctrl-btn {



  width: 34px;



  height: 34px;



  border-radius: 50%;



  border: 1px solid rgba(255, 255, 255, 0.18);



  background: rgba(255, 255, 255, 0.08);



  color: #f8fafc;



  display: inline-flex;



  align-items: center;



  justify-content: center;



  cursor: pointer;



  transition: all 0.2s ease;



}







.voice-ctrl-btn:hover {



  background: rgba(56, 189, 248, 0.22);



  border-color: rgba(56, 189, 248, 0.6);



  transform: scale(1.05);



}







.voice-ctrl-play {



  width: 38px;



  height: 38px;



  background: #0071e3;



  border-color: #38bdf8;



  box-shadow: 0 4px 14px rgba(0, 113, 227, 0.45);



}







.voice-ctrl-close {



  width: 32px;



  height: 32px;



  border-radius: 50%;



  border: 1px solid rgba(255, 255, 255, 0.14);



  background: rgba(255, 255, 255, 0.05);



  color: #94a3b8;



  display: inline-flex;



  align-items: center;



  justify-content: center;



  cursor: pointer;



  margin-left: 4px;



  transition: all 0.2s ease;



}







.voice-ctrl-close:hover {



  background: rgba(239, 68, 68, 0.2);



  color: #ffffff;



  border-color: rgba(239, 68, 68, 0.5);



}







.voice-story-progress-wrap {



  margin-bottom: 14px;



}







.voice-story-progress-bar {



  width: 100%;



  height: 6px;



  background: rgba(255, 255, 255, 0.1);



  border-radius: 999px;



  overflow: hidden;



  cursor: pointer;



  margin-bottom: 10px;



}







.voice-story-progress-fill {



  height: 100%;



  background: linear-gradient(90deg, #38bdf8 0%, #22c55e 50%, #fbbf24 100%);



  border-radius: 999px;



  transition: width 0.25s linear;



}







.voice-story-chapters {



  display: flex;



  align-items: center;



  gap: 6px;



  flex-wrap: wrap;



}







.voice-ch-pill {



  appearance: none;



  border: 1px solid rgba(255, 255, 255, 0.12);



  background: rgba(255, 255, 255, 0.05);



  color: #cbd5e1;



  font-size: 11.5px;



  font-weight: 600;



  padding: 4px 10px;



  border-radius: 999px;



  cursor: pointer;



  transition: all 0.18s ease;



}







.voice-ch-pill:hover {



  background: rgba(56, 189, 248, 0.15);



  color: #ffffff;



  border-color: rgba(56, 189, 248, 0.4);



}







.voice-ch-pill.active {



  background: #0071e3;



  color: #ffffff;



  border-color: #38bdf8;



  font-weight: 700;



  box-shadow: 0 2px 10px rgba(0, 113, 227, 0.4);



}







.voice-story-body {



  background: rgba(255, 255, 255, 0.035);



  border: 1px solid rgba(255, 255, 255, 0.08);



  border-radius: 12px;



  padding: 14px 16px;



}







.voice-story-heading {



  margin: 0 0 6px;



  font-size: 16px;



  font-weight: 800;



  color: #ffffff;



  letter-spacing: -0.01em;



}







.voice-story-script {



  margin: 0;



  font-size: 14px;



  line-height: 1.6;



  color: #e2e8f0;



}







.voice-story-pillars {



  display: grid;



  grid-template-columns: repeat(3, 1fr);



  gap: 10px;



  margin-top: 12px;



}







.voice-pillar-card {



  background: rgba(15, 28, 56, 0.85);



  border: 1px solid rgba(56, 189, 248, 0.3);



  border-radius: 10px;



  padding: 10px 12px;



  display: flex;



  flex-direction: column;



  gap: 4px;



}







.voice-pillar-card strong {



  font-size: 12.5px;



  color: #38bdf8;



}







.voice-pillar-card span {



  font-size: 11.5px;



  color: #cbd5e1;



  line-height: 1.4;



}







@media (max-width: 768px) {



  .voice-story-pillars {



    grid-template-columns: 1fr;



  }



}







/* =========================================================================

   APPLE-GRADE HARMONIC SPOTLIGHT (Zsynchronizowane z narracją lektora)

   ========================================================================= */

.dg-stage .dg-layer [data-dg-node].dg-voice-spotlight:not(.dg-label) {

  transform-origin: center 30%;

  z-index: 25 !important;

}



.dg-stage .dg-layer [data-dg-node][data-dg-theme="green"].dg-voice-spotlight:not(.dg-label) {

  animation: voiceGreenGlowPulse 2.2s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;

}



.dg-stage .dg-layer [data-dg-node][data-dg-theme="amber"].dg-voice-spotlight:not(.dg-label) {

  animation: voiceAmberGlowPulse 2.2s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;

}



.dg-stage .dg-layer [data-dg-node][data-dg-theme="cyan"].dg-voice-spotlight:not(.dg-label) {

  animation: voiceCyanGlowPulse 2.2s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;

}



.dg-stage .dg-layer [data-dg-node][data-dg-theme="red"].dg-voice-spotlight:not(.dg-label) {

  animation: voiceRedGlowPulse 2.2s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;

}



.dg-stage .dg-layer .dg-brain[data-dg-node].dg-voice-spotlight {

  transform-origin: center center;

  animation: voiceBrainPulse 2.2s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;

}



/* Subsystem-Harmonic Labels on Voice Spotlight */

.dg-stage .dg-layer .dg-label[data-dg-node].dg-voice-spotlight {

  z-index: 45 !important;

  transform: scale(1.04);

  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);

}



.dg-stage .dg-layer .dg-label[data-dg-node][data-dg-theme="green"].dg-voice-spotlight {

  color: #86efac !important;

  text-shadow: 0 0 10px rgba(34, 197, 94, 0.95), 0 1px 4px rgba(0, 0, 0, 1) !important;

}



.dg-stage .dg-layer .dg-label[data-dg-node][data-dg-theme="amber"].dg-voice-spotlight {

  color: #fde047 !important;

  text-shadow: 0 0 10px rgba(245, 158, 11, 0.95), 0 1px 4px rgba(0, 0, 0, 1) !important;

}



.dg-stage .dg-layer .dg-label[data-dg-node][data-dg-theme="cyan"].dg-voice-spotlight {

  color: #7dd3fc !important;

  text-shadow: 0 0 10px rgba(56, 189, 248, 0.95), 0 1px 4px rgba(0, 0, 0, 1) !important;

}



.dg-stage .dg-layer .dg-label[data-dg-node][data-dg-theme="red"].dg-voice-spotlight {

  color: #fdba74 !important;

  text-shadow: 0 0 10px rgba(249, 115, 22, 0.95), 0 1px 4px rgba(0, 0, 0, 1) !important;

}



/* Organic breathing keyframes for smooth, premium illumination */

@keyframes voiceGreenGlowPulse {

  0% {

    transform: scale(1.03);

    filter: drop-shadow(0 0 6px rgba(34, 197, 94, 0.70)) drop-shadow(0 0 14px rgba(34, 197, 94, 0.32));

  }

  100% {

    transform: scale(1.065);

    filter: drop-shadow(0 0 10px rgba(34, 197, 94, 0.92)) drop-shadow(0 0 24px rgba(34, 197, 94, 0.52));

  }

}



@keyframes voiceAmberGlowPulse {

  0% {

    transform: scale(1.03);

    filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.75)) drop-shadow(0 0 14px rgba(251, 191, 36, 0.35));

  }

  100% {

    transform: scale(1.065);

    filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.95)) drop-shadow(0 0 25px rgba(251, 191, 36, 0.55));

  }

}



@keyframes voiceCyanGlowPulse {

  0% {

    transform: scale(1.03);

    filter: drop-shadow(0 0 7px rgba(56, 189, 248, 0.72)) drop-shadow(0 0 15px rgba(56, 189, 248, 0.32));

  }

  100% {

    transform: scale(1.065);

    filter: drop-shadow(0 0 11px rgba(56, 189, 248, 0.92)) drop-shadow(0 0 26px rgba(56, 189, 248, 0.52));

  }

}



@keyframes voiceRedGlowPulse {

  0% {

    transform: scale(1.03);

    filter: drop-shadow(0 0 6px rgba(249, 115, 22, 0.72)) drop-shadow(0 0 14px rgba(239, 68, 68, 0.32));

  }

  100% {

    transform: scale(1.065);

    filter: drop-shadow(0 0 10px rgba(249, 115, 22, 0.92)) drop-shadow(0 0 24px rgba(239, 68, 68, 0.52));

  }

}



@keyframes voiceBrainPulse {

  0% {

    transform: scale(1.02);

    filter: drop-shadow(0 0 12px rgba(56, 189, 248, 0.65)) drop-shadow(0 0 24px rgba(16, 185, 129, 0.35));

  }

  100% {

    transform: scale(1.05);

    filter: drop-shadow(0 0 18px rgba(56, 189, 248, 0.92)) drop-shadow(0 0 36px rgba(16, 185, 129, 0.55));

  }

}



/* COMPREHENSIVE INTERACTIVE DIAGRAM HOVER ENHANCEMENTS */
.dg-stage .dg-layer .dg-flag[data-dg-node].dg-node-hovered {
  transform: scale(1.08);
  filter: drop-shadow(0 0 16px rgba(56, 189, 248, 0.95)) drop-shadow(0 0 28px rgba(56, 189, 248, 0.45));
  z-index: 70 !important;
}

.dg-stage .dg-layer .dg-title[data-dg-node].dg-node-hovered {
  transform: translate(-50%, -50%) scale(1.04);
  color: #7dd3fc !important;
  text-shadow: 0 0 18px rgba(56, 189, 248, 0.95), 0 0 32px rgba(56, 189, 248, 0.5) !important;
  z-index: 70 !important;
}

.dg-stage .dg-layer .dg-head[data-dg-node].dg-node-hovered {
  transform: translateY(-50%) scale(1.06);
  z-index: 70 !important;
}

.dg-stage .dg-layer .dg-head[data-dg-node][data-dg-theme="green"].dg-node-hovered {
  color: #4ade80 !important;
  text-shadow: 0 0 14px rgba(34, 197, 94, 0.95), 0 1px 5px #000 !important;
}

.dg-stage .dg-layer .dg-head[data-dg-node][data-dg-theme="red"].dg-node-hovered {
  color: #fb7185 !important;
  text-shadow: 0 0 14px rgba(249, 115, 22, 0.95), 0 1px 5px #000 !important;
}

.dg-stage .dg-layer .dg-head[data-dg-node][data-dg-theme="cyan"].dg-node-hovered {
  color: #38bdf8 !important;
  text-shadow: 0 0 14px rgba(56, 189, 248, 0.95), 0 1px 5px #000 !important;
}

/* Subsystem-Harmonic Labels on Mouse Hover */
.dg-stage .dg-layer .dg-label[data-dg-node].dg-node-hovered {
  transform: scale(1.04);
  z-index: 70 !important;
}

.dg-stage .dg-layer .dg-label[data-dg-node][data-dg-theme="green"].dg-node-hovered {
  color: #86efac !important;
  text-shadow: 0 0 12px rgba(34, 197, 94, 0.95), 0 1px 4px #000 !important;
}

.dg-stage .dg-layer .dg-label[data-dg-node][data-dg-theme="amber"].dg-node-hovered {
  color: #ffd166 !important;
  text-shadow: 0 0 12px rgba(251, 168, 52, 0.95), 0 1px 4px #000 !important;
}

.dg-stage .dg-layer .dg-label[data-dg-node][data-dg-theme="red"].dg-node-hovered {
  color: #fdba74 !important;
  text-shadow: 0 0 12px rgba(249, 115, 22, 0.95), 0 1px 4px #000 !important;
}

.dg-stage .dg-layer .dg-label[data-dg-node][data-dg-theme="cyan"].dg-node-hovered {
  color: #7dd3fc !important;
  text-shadow: 0 0 12px rgba(56, 189, 248, 0.95), 0 1px 4px #000 !important;
}

/* Cable conduits interactive hover & glow */
.dg-cable-group {
  pointer-events: stroke;
  cursor: pointer;
}

.dg-cable-group path {
  pointer-events: stroke;
  cursor: pointer;
  transition: stroke-width 0.22s cubic-bezier(0.16, 1, 0.3, 1), stroke 0.2s ease, filter 0.2s ease;
}

.dg-cable-group.dg-node-hovered path {
  stroke-width: 5.5px !important;
}

.dg-cable-group[data-dg-theme="green"].dg-node-hovered path {
  stroke: #4ade80 !important;
  filter: drop-shadow(0 0 10px rgba(34, 197, 94, 0.95));
}

.dg-cable-group[data-dg-theme="red"].dg-node-hovered path {
  stroke: #f87171 !important;
  filter: drop-shadow(0 0 10px rgba(239, 68, 68, 0.95));
}

.dg-cable-group[data-dg-theme="cyan"].dg-node-hovered path {
  stroke: #38bdf8 !important;
  filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.95));
}




/* FLUID COLLAPSIBLE CELESTIAL SKY ARC (SUN & MOON) */
.celestial-sky-collapsible-wrapper {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  visibility: hidden;
  margin-bottom: 0;
  transition: grid-template-rows 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              margin-bottom 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.65s;
}

.celestial-sky-collapsible-wrapper > .celestial-sky-collapsible-inner {
  overflow: hidden;
  min-height: 0;
  transform: translateY(-12px) scale(0.99);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

#systemDiagramCard.sky-simulation-active .celestial-sky-collapsible-wrapper,
#systemDiagramCard.system-details-open .celestial-sky-collapsible-wrapper,
#systemDiagramCard.diagram-open .celestial-sky-collapsible-wrapper {
  grid-template-rows: 1fr;
  opacity: 1;
  visibility: visible;
  margin-bottom: 14px;
}

#systemDiagramCard.sky-simulation-active .celestial-sky-collapsible-wrapper > .celestial-sky-collapsible-inner,
#systemDiagramCard.system-details-open .celestial-sky-collapsible-wrapper > .celestial-sky-collapsible-inner,
#systemDiagramCard.diagram-open .celestial-sky-collapsible-wrapper > .celestial-sky-collapsible-inner {
  overflow: visible;
  transform: translateY(0) scale(1);
}

.btn-toggle-system-details .btn-toggle-chevron {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-toggle-system-details.active .btn-toggle-chevron,
#systemDiagramCard.system-details-open .btn-toggle-system-details .btn-toggle-chevron,
#systemDiagramCard.sky-simulation-active .btn-toggle-system-details .btn-toggle-chevron {
  transform: rotate(180deg);
}

/* =========================================================================
   DIAGRAM ELEMENTS PROMINENT APPLE HOVER MAGNIFICATION & GLOW ("Powiększanie")
   ========================================================================= */

.dg-stage .dg-layer [data-dg-node],
.dg-stage [data-dg-node] {
  pointer-events: auto !important;
  cursor: pointer !important;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), filter 0.28s ease, color 0.2s ease, text-shadow 0.2s ease !important;
  outline: none;
}

/* Devices (Heat pump, battery, solar, inverter, EV charger, boiler, buffers, floor, etc.) */
.dg-stage .dg-item {
  cursor: pointer !important;
  pointer-events: auto !important;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), filter 0.28s ease !important;
}

.dg-stage .dg-item:hover,
.dg-stage .dg-item.dg-node-hovered {
  transform: scale(1.22) translateY(-4px) !important;
  z-index: 60 !important;
}

.dg-stage .dg-item img,
.dg-stage .dg-item svg {
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), filter 0.28s ease !important;
}

.dg-stage .dg-item:hover img,
.dg-stage .dg-item.dg-node-hovered img {
  filter: brightness(1.12) contrast(1.05) !important;
}

/* Interactive Chips (EcoMode, OptiMode, Dynamic tariffs, etc.) */
.dg-stage .dg-chip-icon {
  cursor: pointer !important;
  pointer-events: auto !important;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), filter 0.28s ease !important;
}

.dg-stage .dg-chip-icon:hover,
.dg-stage .dg-chip-icon.dg-node-hovered {
  transform: scale(1.28) translateY(-4px) !important;
  z-index: 60 !important;
}

/* Central AI Brain Node */
.dg-stage .dg-brain {
  cursor: pointer !important;
  pointer-events: auto !important;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), filter 0.32s ease !important;
}

.dg-stage .dg-brain:hover,
.dg-stage .dg-brain.dg-node-hovered {
  transform: scale(1.10) translateY(-4px) !important;
  z-index: 55 !important;
}

.dg-stage .dg-brain:hover img,
.dg-stage .dg-brain.dg-node-hovered img {
  filter: drop-shadow(0 0 32px rgba(56, 189, 248, 1)) drop-shadow(0 0 60px rgba(56, 189, 248, 0.6)) !important;
}

/* AWS Cloud IoT Node */
.dg-stage .dg-aws {
  cursor: pointer !important;
  pointer-events: auto !important;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), filter 0.28s ease !important;
}

.dg-stage .dg-aws:hover,
.dg-stage .dg-aws.dg-node-hovered {
  transform: scale(1.22) translateY(-4px) !important;
  z-index: 55 !important;
}

/* Flags, Partner Badges & Brand Blocks */
.dg-stage .dg-flag:hover,
.dg-stage .dg-flag.dg-node-hovered {
  transform: scale(1.14) !important;
  z-index: 55 !important;
  filter: drop-shadow(0 0 16px rgba(56, 189, 248, 0.95)) drop-shadow(0 0 28px rgba(56, 189, 248, 0.45)) !important;
}

.dg-stage .dg-uis:hover,
.dg-stage .dg-uis.dg-node-hovered {
  transform: scale(1.14) !important;
  z-index: 55 !important;
  filter: drop-shadow(0 0 16px rgba(56, 189, 248, 0.95)) !important;
}

.dg-stage .dg-brand-block:hover,
.dg-stage .dg-brand-block.dg-node-hovered {
  transform: scale(1.08) !important;
  z-index: 55 !important;
  filter: drop-shadow(0 0 14px rgba(56, 189, 248, 0.95)) !important;
}

/* Header Categories */
.dg-stage .dg-head:hover,
.dg-stage .dg-head.dg-node-hovered {
  transform: translateY(-50%) scale(1.10) !important;
  z-index: 70 !important;
}

.dg-stage .dg-title:hover,
.dg-stage .dg-title.dg-node-hovered {
  transform: translate(-50%, -50%) scale(1.08) !important;
  color: #7dd3fc !important;
  text-shadow: 0 0 14px rgba(56, 189, 248, 0.95) !important;
  z-index: 70 !important;
}

/* Device Text Labels */
.dg-stage .dg-label {
  cursor: pointer !important;
  pointer-events: auto !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease, text-shadow 0.2s ease !important;
}

.dg-stage .dg-label:hover,
.dg-stage .dg-label.dg-node-hovered {
  transform: scale(1.14) !important;
  z-index: 70 !important;
}

/* Vibrant Color Glows on Hover by Theme */
.dg-stage [data-dg-node][data-dg-theme="green"]:hover:not(.dg-label):not(.dg-head),
.dg-stage [data-dg-node][data-dg-theme="green"].dg-node-hovered:not(.dg-label):not(.dg-head) {
  filter: drop-shadow(0 0 16px rgba(34, 197, 94, 1)) drop-shadow(0 0 32px rgba(34, 197, 94, 0.55)) !important;
}

.dg-stage [data-dg-node][data-dg-theme="amber"]:hover:not(.dg-label):not(.dg-head),
.dg-stage [data-dg-node][data-dg-theme="amber"].dg-node-hovered:not(.dg-label):not(.dg-head) {
  filter: drop-shadow(0 0 16px rgba(251, 168, 52, 1)) drop-shadow(0 0 32px rgba(251, 168, 52, 0.65)) !important;
}

.dg-stage [data-dg-node][data-dg-theme="cyan"]:hover:not(.dg-label):not(.dg-head),
.dg-stage [data-dg-node][data-dg-theme="cyan"].dg-node-hovered:not(.dg-label):not(.dg-head) {
  filter: drop-shadow(0 0 18px rgba(56, 189, 248, 1)) drop-shadow(0 0 34px rgba(56, 189, 248, 0.55)) !important;
}

.dg-stage [data-dg-node][data-dg-theme="red"]:hover:not(.dg-label):not(.dg-head),
.dg-stage [data-dg-node][data-dg-theme="red"].dg-node-hovered:not(.dg-label):not(.dg-head) {
  filter: drop-shadow(0 0 16px rgba(249, 115, 22, 1)) drop-shadow(0 0 32px rgba(249, 115, 22, 0.55)) !important;
}

/* Label Glows by Theme */
.dg-stage .dg-label[data-dg-node][data-dg-theme="green"]:hover,
.dg-stage .dg-label[data-dg-node][data-dg-theme="green"].dg-node-hovered {
  color: #86efac !important;
  text-shadow: 0 0 12px rgba(34, 197, 94, 0.95), 0 0 20px rgba(34, 197, 94, 0.5) !important;
}

.dg-stage .dg-label[data-dg-node][data-dg-theme="amber"]:hover,
.dg-stage .dg-label[data-dg-node][data-dg-theme="amber"].dg-node-hovered {
  color: #ffd166 !important;
  text-shadow: 0 0 12px rgba(251, 168, 52, 0.95), 0 0 20px rgba(251, 168, 52, 0.5) !important;
}

.dg-stage .dg-label[data-dg-node][data-dg-theme="cyan"]:hover,
.dg-stage .dg-label[data-dg-node][data-dg-theme="cyan"].dg-node-hovered {
  color: #7dd3fc !important;
  text-shadow: 0 0 12px rgba(56, 189, 248, 0.95), 0 0 20px rgba(56, 189, 248, 0.5) !important;
}

.dg-stage .dg-label[data-dg-node][data-dg-theme="red"]:hover,
.dg-stage .dg-label[data-dg-node][data-dg-theme="red"].dg-node-hovered {
  color: #fdba74 !important;
  text-shadow: 0 0 12px rgba(249, 115, 22, 0.95), 0 0 20px rgba(249, 115, 22, 0.5) !important;
}



/* =========================================================================
   PERMANENT FULL-WIDTH LARGE DIAGRAM WITH SMOOTH CELESTIAL SKY SLIDE-OUT
   ========================================================================= */

#systemDiagramCard .diagram-stage-row,
#systemDiagramCard.system-details-open .diagram-stage-row,
#systemDiagramCard:not(.system-details-open) .diagram-stage-row,
.diagram-stage-row {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  grid-template-columns: 1fr !important;
  margin-bottom: 16px !important;
}

#systemDiagramCard .diagram-expanded-stage,
#systemDiagramCard.system-details-open .diagram-expanded-stage,
#systemDiagramCard:not(.system-details-open) .diagram-expanded-stage,
.diagram-expanded-stage {
  width: 100% !important;
  max-width: 100% !important;
}

#systemDiagramCard .system-diagram-wrapper,
#systemDiagramCard.system-details-open .system-diagram-wrapper,
#systemDiagramCard:not(.system-details-open) .system-diagram-wrapper,
.system-diagram-wrapper {
  width: 100% !important;
  max-width: 100% !important;
  aspect-ratio: 16 / 9 !important;
}

/* Collapsible Details Section: Activity Panel & 24h Interactive Slider placed below the full-width diagram */
#systemDiagramCard:not(.system-details-open) .diagram-details-accordion,
#systemDiagramCard:not(.system-details-open) .diagram-activity-panel,
#systemDiagramCard:not(.system-details-open) .diagram-bottom-controls {
  display: none !important;
  max-height: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  overflow: hidden !important;
}

#systemDiagramCard.system-details-open .diagram-details-accordion {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  max-width: 1234px !important;
  margin: 22px auto 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  animation: fadeInSystemDetails 0.42s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

#systemDiagramCard.system-details-open .diagram-activity-panel {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  max-width: 1234px !important;
  margin: 0 auto 20px !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

#systemDiagramCard.system-details-open .diagram-bottom-controls {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  max-width: 1234px !important;
  margin: 0 auto !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* Chevron rotation on "Zobacz jak działa Mózg AI" toggle button */
#systemDiagramCard.system-details-open .btn-toggle-system-details .btn-toggle-chevron,
.btn-toggle-system-details.active .btn-toggle-chevron {
  transform: rotate(180deg) !important;
}

.btn-toggle-system-details .btn-toggle-chevron {
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Celestial Sky Viewport (Sun & Moon 24h Day Arc) smooth slide-down */
#systemDiagramCard:not(.system-details-open):not(.sky-simulation-active) .celestial-sky-viewport {
  width: 100% !important;
  max-width: 100% !important;
  height: 0 !important;
  max-height: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  margin: 0 auto !important;
  padding: 0 !important;
  border-width: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
  transition: all 0.65s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

#systemDiagramCard.system-details-open .celestial-sky-viewport,
#systemDiagramCard.sky-simulation-active .celestial-sky-viewport {
  width: 100% !important;
  max-width: 100% !important;
  height: 138px !important;
  max-height: 160px !important;
  opacity: 1 !important;
  visibility: visible !important;
  margin: 0 auto 14px !important;
  border-width: 1px !important;
  pointer-events: auto !important;
  transition: all 0.65s cubic-bezier(0.16, 1, 0.3, 1) !important;
}


/* ==========================================================================
   Szybkie scenariusze dobowe AI HEMS (Pill Buttons)
   ========================================================================== */
.arbitrage-quick-scenarios {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 10px 0 14px 0 !important;
  justify-content: flex-start !important;
  align-items: center !important;
}

.scenario-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 6px 13px !important;
  border-radius: 980px !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #1d1d1f !important;
  cursor: pointer !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
  line-height: 1.3 !important;
}

.scenario-btn:hover {
  background: #ffffff !important;
  border-color: rgba(0, 113, 227, 0.4) !important;
  box-shadow: 0 3px 8px rgba(0, 113, 227, 0.14) !important;
  transform: translateY(-1px) !important;
}

.scenario-btn.active {
  background: #0071e3 !important;
  color: #ffffff !important;
  border-color: #0071e3 !important;
  box-shadow: 0 3px 10px rgba(0, 113, 227, 0.3) !important;
}

.scenario-btn.active .sc-price {
  background: rgba(255, 255, 255, 0.24) !important;
  color: #ffffff !important;
}

.scenario-btn .sc-icon {
  font-size: 13px !important;
}

.scenario-btn .sc-time {
  font-weight: 700 !important;
  font-variant-numeric: tabular-nums !important;
}

.scenario-btn .sc-title {
  font-weight: 500 !important;
}

.scenario-btn .sc-price {
  font-size: 10.5px !important;
  padding: 2px 6px !important;
  border-radius: 980px !important;
  background: rgba(0, 0, 0, 0.06) !important;
  color: #555558 !important;
  font-weight: 600 !important;
  font-variant-numeric: tabular-nums !important;
  transition: all 0.2s ease !important;
}

.scenario-btn.highlight-daybuy {
  border-color: rgba(16, 185, 129, 0.45) !important;
  background: rgba(240, 253, 244, 0.94) !important;
}

.scenario-btn.highlight-daybuy:hover {
  border-color: #10b981 !important;
  box-shadow: 0 3px 8px rgba(16, 185, 129, 0.2) !important;
}

.scenario-btn.highlight-daybuy.active {
  background: #10b981 !important;
  color: #ffffff !important;
  border-color: #10b981 !important;
  box-shadow: 0 3px 10px rgba(16, 185, 129, 0.35) !important;
}

@media (max-width: 768px) {
  .arbitrage-quick-scenarios {
    gap: 6px !important;
    margin: 8px 0 12px 0 !important;
  }
  .scenario-btn {
    font-size: 11px !important;
    padding: 5px 9px !important;
  }
  .scenario-btn .sc-price {
    font-size: 9.5px !important;
    padding: 1px 4px !important;
  }
}


/* ==========================================================================
   Etykiety instytucji naukowych profesorów (Apple style)
   ========================================================================== */
.prof-affiliations-row {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-top: 14px !important;
}

.prof-affil-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 5px 12px !important;
  border-radius: 980px !important;
  background: rgba(0, 113, 227, 0.06) !important;
  border: 1px solid rgba(0, 113, 227, 0.16) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #1d1d1f !important;
  letter-spacing: -0.01em !important;
}

.prof-affil-pill .affil-flag {
  font-size: 13px !important;
  line-height: 1 !important;
}

[data-theme='dark'] .prof-affil-pill {
  background: rgba(41, 151, 255, 0.12) !important;
  border-color: rgba(41, 151, 255, 0.28) !important;
  color: #f5f5f7 !important;
}

/* ===== UNIFORM TILES: jednakowa wielkość kafelków w każdym rzędzie ===== */
.hero-intro-pills,
.guarantee-grid,
.investor-grid,
.science-grid,
.models-grid,
.nord-product-grid,
.stavanger-key-facts-grid,
.summary-keypoints-grid,
.system-choice-grid,
.algorithm-grid,
.money-metrics-grid,
.arbitrage-metrics-grid,
.multiyear-grid,
.metrics-strip,
.model-specs-grid,
.diagram-features-strip,
.rep-kpi-grid,
.rep-summary-grid,
.calc-vs-grid,
.calc-compare-heroes-grid {
  align-items: stretch !important;
  grid-auto-rows: 1fr;
}
.hero-intro-pills > *,
.guarantee-grid > *,
.investor-grid > *,
.science-grid > *,
.models-grid > *,
.nord-product-grid > *,
.stavanger-key-facts-grid > *,
.summary-keypoints-grid > *,
.system-choice-grid > *,
.algorithm-grid > *,
.money-metrics-grid > *,
.arbitrage-metrics-grid > *,
.multiyear-grid > *,
.metrics-strip > *,
.model-specs-grid > *,
.diagram-features-strip > *,
.rep-kpi-grid > *,
.rep-summary-grid > *,
.calc-vs-grid > *,
.calc-compare-heroes-grid > * {
  box-sizing: border-box;
  height: 100%;
  min-width: 0;
  align-self: stretch !important;
}
.hero-value-pill { min-height: 84px; }

/* ===== MOBILE SAFETY LAYER (telefony) ===== */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
img, video, canvas, svg, iframe { max-width: 100%; }
img, video { height: auto; }
@media (max-width: 768px) {
  html, body { overflow-x: hidden; max-width: 100%; }
  .container { padding-left: 16px !important; padding-right: 16px !important; max-width: 100% !important; }
  h1, .hero-title { font-size: clamp(30px, 8.5vw, 44px) !important; line-height: 1.1 !important; word-break: break-word; }
  h2, .section-title { font-size: clamp(26px, 7vw, 36px) !important; line-height: 1.15 !important; }
  p, li { overflow-wrap: anywhere; }
  section { padding-left: 0; padding-right: 0; }
  /* kafelki: 1 kolumna (hero pills 2 kolumny), jednakowa wysokość */
  .guarantee-grid, .investor-grid, .science-grid, .models-grid, .nord-product-grid,
  .stavanger-key-facts-grid, .summary-keypoints-grid, .system-choice-grid, .algorithm-grid,
  .model-specs-grid, .diagram-features-strip, .calc-vs-grid, .calc-compare-heroes-grid,
  .rep-summary-grid, .multiyear-grid {
    grid-template-columns: 1fr !important;
    grid-auto-rows: auto;
    gap: 14px !important;
  }
  .hero-intro-pills, .money-metrics-grid, .arbitrage-metrics-grid, .metrics-strip, .rep-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  .hero-value-pill { padding: 10px 12px !important; gap: 10px !important; min-height: 76px; }
  .hero-value-pill .pill-val { font-size: 18px !important; }
  .hero-value-pill .pill-label { font-size: 11.5px !important; }
  .hero-intro-pills > *, .guarantee-grid > *, .investor-grid > *, .science-grid > *, .models-grid > *,
  .nord-product-grid > *, .money-metrics-grid > *, .metrics-strip > * { height: auto; }
  /* przyciski i cele dotykowe */
  button, .btn, a.btn, [role="button"], input[type="range"] { min-height: 44px; }
  input, select, textarea { font-size: 16px !important; } /* brak auto-zoomu iOS */
  /* tabele i szerokie elementy przewijane poziomo */
  table, .calc-compare-table, .compare-table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .horizon-row, .compare-table-row, .compare-table-head { min-width: 0; }
  /* diagramy i szerokie wizualizacje: przewijanie zamiast ucinania */
  .diagram-stage-row, #houseInteractiveStage, .dg-wrap, .diagram-scroll { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  /* modale */
  .modal, [class*="modal-content"], [class*="sheet"] { max-width: 100vw; }
  .global-nav .nav-container { padding-left: 12px; padding-right: 12px; }
}
@media (max-width: 420px) {
  .hero-intro-pills, .money-metrics-grid, .arbitrage-metrics-grid, .metrics-strip, .rep-kpi-grid {
    grid-template-columns: 1fr !important;
  }
}

/* =========================================================================
   STANDBY & POWER-ON GATE FOR AI BRAIN DIAGRAM ("Włącz system")
   ========================================================================= */

/* Przed kliknięciem "Włącz system": schemat w spokojnym czuwaniu, bez animacji i pozostałych przycisków */
#systemDiagramCard:not(.system-powered-on) .energy-cable-path,
#systemDiagramCard:not(.system-powered-on) .energy-cable-path.active {
  opacity: 0 !important;
  animation: none !important;
  transition: none !important;
}

#systemDiagramCard:not(.system-powered-on) .dg-brain,
#systemDiagramCard:not(.system-powered-on) .dg-brain img,
#systemDiagramCard:not(.system-powered-on) .dg-stage .dg-layer [data-dg-node].dg-voice-spotlight,
#systemDiagramCard:not(.system-powered-on) .dg-grid,
#systemDiagramCard:not(.system-powered-on) .dg-grid.grid-importing,
#systemDiagramCard:not(.system-powered-on) .dg-grid.grid-exporting,
#systemDiagramCard:not(.system-powered-on) .dg-grid *,
#systemDiagramCard:not(.system-powered-on) .dg-grid *::before,
#systemDiagramCard:not(.system-powered-on) .dg-grid *::after {
  animation: none !important;
}

#systemDiagramCard:not(.system-powered-on) .dg-brain,
#systemDiagramCard:not(.system-powered-on) .dg-brain img,
#systemDiagramCard:not(.system-powered-on) .dg-stage .dg-layer [data-dg-node].dg-voice-spotlight {
  filter: none !important;
  box-shadow: none !important;
  transform: none !important;
}

#systemDiagramCard:not(.system-powered-on) #brainEarningHalo,
#systemDiagramCard:not(.system-powered-on) .dg-grid .tower-electric-pulse,
#systemDiagramCard:not(.system-powered-on) .dg-grid .tower-soft-glow,
#systemDiagramCard:not(.system-powered-on) .dg-grid .grid-money-stream {
  display: none !important;
  opacity: 0 !important;
  animation: none !important;
}

#systemDiagramCard:not(.system-powered-on) .dg-grid svg {
  filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.25)) !important;
}

#systemDiagramCard:not(.system-powered-on) .dg-grid .tower-pylon,
#systemDiagramCard:not(.system-powered-on) .dg-grid .tower-arm,
#systemDiagramCard:not(.system-powered-on) .dg-grid .tower-cross,
#systemDiagramCard:not(.system-powered-on) .dg-grid .tower-strut,
#systemDiagramCard:not(.system-powered-on) .dg-grid .tower-wire {
  stroke: #ffffff !important;
  filter: none !important;
}

#systemDiagramCard:not(.system-powered-on) .dg-grid .tower-lightning {
  fill: #ffb800 !important;
  stroke: #ffb800 !important;
  filter: none !important;
  transform: none !important;
}

#systemDiagramCard:not(.system-powered-on) #cableMoneyExportStream {
  opacity: 0 !important;
  visibility: hidden !important;
}

#systemDiagramCard:not(.system-powered-on) #btnVoiceStory,
#systemDiagramCard:not(.system-powered-on) #btnTopAutoplay,
#systemDiagramCard:not(.system-powered-on) .diagram-top-live-clock-wrap {
  display: none !important;
}

/* Po kliknięciu "Włącz system": pełna widoczność animacji przepływów i kafelków wyboru bezpośrednio pod schematem */
#systemDiagramCard.system-powered-on .energy-cable-path.active {
  opacity: 1 !important;
}

#systemDiagramCard.system-powered-on .diagram-bottom-controls {
  order: 1 !important;
  margin-bottom: 20px !important;
}

#systemDiagramCard.system-powered-on .diagram-activity-panel {
  order: 2 !important;
  margin-bottom: 0 !important;
}

#systemDiagramCard.system-powered-on .arbitrage-quick-scenarios {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 10px !important;
  width: 100% !important;
  align-items: stretch !important;
}

#systemDiagramCard.system-powered-on .arbitrage-quick-scenarios .scenario-btn {
  width: 100% !important;
  height: 100% !important;
  justify-content: center !important;
  padding: 10px 12px !important;
  border-radius: 14px !important;
  box-sizing: border-box !important;
}

@media (max-width: 768px) {
  #systemDiagramCard.system-powered-on .arbitrage-quick-scenarios {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
}

@media (max-width: 420px) {
  #systemDiagramCard.system-powered-on .arbitrage-quick-scenarios {
    grid-template-columns: 1fr !important;
  }
}

/* =========================================================================
   HOUSE ARCHITECTURE OVERLAY MODE ("Przenieś system na dom")
   ========================================================================= */

.btn-transfer-system-house {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(16, 40, 74, 0.94) 0%, rgba(12, 84, 72, 0.94) 100%);
  border: 1.5px solid rgba(52, 211, 153, 0.55);
  color: #ffffff;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.24s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.24s ease,
              border-color 0.24s ease;
}

.btn-transfer-system-house:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(16, 185, 129, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  border-color: rgba(110, 231, 183, 0.9);
}

.btn-transfer-system-house.active {
  background: linear-gradient(135deg, #0ea5e9 0%, #10b981 100%);
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 28px rgba(14, 165, 233, 0.34), 0 0 0 3px rgba(16, 185, 129, 0.22);
}

.dg-house-backdrop {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  border-radius: inherit;
}

#systemDiagramCard.system-on-house-mode .dg-house-backdrop {
  opacity: 1;
}

.dg-house-backdrop-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: brightness(0.84) contrast(1.06) saturate(1.08);
}

.dg-house-backdrop-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6, 15, 32, 0.62) 0%,
    rgba(10, 22, 44, 0.28) 25%,
    rgba(8, 18, 36, 0.34) 70%,
    rgba(5, 12, 26, 0.82) 100%
  );
  pointer-events: none;
}

/* Płynne przemieszczanie węzłów schematu i strumienia eksportu na dom */
.dg-stage .dg-layer > [data-dg-node],
.dg-stage #cableMoneyExportStream {
  transition: left 0.72s cubic-bezier(0.16, 1, 0.3, 1),
              top 0.72s cubic-bezier(0.16, 1, 0.3, 1),
              width 0.72s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.72s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.28s ease,
              opacity 0.35s ease !important;
}

#systemDiagramCard.system-on-house-mode .dg-stage .dg-label {
  background: rgba(7, 16, 33, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 5px;
  padding: 1px 3px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: max(5.2px, 0.94cqw) !important;
  line-height: 1.08 !important;
}

#systemDiagramCard.system-on-house-mode .dg-stage .dg-head {
  background: rgba(11, 24, 48, 0.84);
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.35);
  width: auto !important;
  max-width: 27%;
  font-size: max(5.4px, 0.92cqw) !important;
  white-space: nowrap;
}

#systemDiagramCard.system-on-house-mode .dg-stage .dg-brand-block,
#systemDiagramCard.system-on-house-mode .dg-stage .dg-title,
#systemDiagramCard.system-on-house-mode .dg-stage .dg-uis,
#systemDiagramCard.system-on-house-mode .dg-stage .dg-flag {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

#systemDiagramCard.system-on-house-mode #diagramEnergyFlowSvg > circle {
  opacity: 0;
  transition: opacity 0.35s ease;
}

#systemDiagramCard.system-on-house-mode .dg-stage .dg-cable-group path {
  stroke-opacity: 0.78;
}

/* Dolny pasek 5 interaktywnych stref architektonicznych domu */
.dg-house-zones-legend {
  position: absolute;
  left: 2%;
  right: 2%;
  bottom: 2.2%;
  z-index: 38;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

#systemDiagramCard.system-on-house-mode .dg-house-zones-legend {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dg-house-zone-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(8, 17, 36, 0.84);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #f8fafc;
  font-family: inherit;
  font-size: max(8px, 0.92cqw);
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.dg-house-zone-pill:hover {
  transform: translateY(-1px);
  background: rgba(15, 32, 64, 0.95);
  border-color: rgba(56, 189, 248, 0.65);
}

.dg-house-zone-pill.active {
  background: rgba(14, 116, 144, 0.95);
  border-color: #38bdf8;
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.35), 0 6px 18px rgba(14, 165, 233, 0.38);
}

.dg-house-zone-pill .hz-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dg-house-zone-pill .hz-dot.green { background: #34d399; box-shadow: 0 0 6px #34d399; }
.dg-house-zone-pill .hz-dot.red   { background: #f87171; box-shadow: 0 0 6px #f87171; }
.dg-house-zone-pill .hz-dot.cyan  { background: #38bdf8; box-shadow: 0 0 6px #38bdf8; }
.dg-house-zone-pill .hz-dot.amber { background: #fbbf24; box-shadow: 0 0 6px #fbbf24; }

#systemDiagramCard .btn-toggle-system-details,
#systemDiagramCard .btn-transfer-system-house {
  width: 268px !important;
  min-width: 268px !important;
  height: 50px !important;
  min-height: 50px !important;
  padding: 0 24px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  vertical-align: middle !important;
  margin: 0 !important;
}

#systemDiagramCard.system-on-house-mode .dg-stage .dg-layer [data-dg-node].dg-house-zone-spotlight:not(.dg-label) {
  transform: scale(1.16) translateY(-3px) !important;
  filter: drop-shadow(0 0 16px rgba(56, 189, 248, 0.95)) drop-shadow(0 0 28px rgba(16, 185, 129, 0.65)) !important;
  z-index: 65 !important;
}

@media (max-width: 768px) {
  #systemDiagramCard .btn-toggle-system-details,
  #systemDiagramCard .btn-transfer-system-house {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 48px !important;
    min-height: 48px !important;
    padding: 0 20px !important;
    font-size: 13.5px !important;
  }

  #systemDiagramCard.system-on-house-mode .dg-house-zones-legend {
    bottom: 1.2% !important;
    left: 1.5% !important;
    right: 1.5% !important;
    gap: 3px !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    justify-content: flex-start !important;
    scrollbar-width: none;
  }

  #systemDiagramCard.system-on-house-mode .dg-house-zones-legend::-webkit-scrollbar {
    display: none;
  }

  #systemDiagramCard .dg-house-zone-pill {
    min-height: 18px !important;
    height: 18px !important;
    padding: 1px 6px !important;
    font-size: 7px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

  #systemDiagramCard.system-on-house-mode .dg-stage .dg-label {
    padding: 0.5px 2px !important;
    font-size: max(4.5px, 0.90cqw) !important;
    line-height: 1.04 !important;
  }

  #systemDiagramCard.system-on-house-mode .dg-stage .dg-head {
    padding: 1px 5px !important;
    font-size: max(4.8px, 0.86cqw) !important;
  }
}

/* ==========================================================================
   AI HEMS SECTOR TABS ("Rozwiązania dla Domu" / "Rozwiązania dla Firm")
   ========================================================================== */
#systemDiagramCard .diagram-sector-tabs {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 18px auto 0;
  padding: 5px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.10);
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.05);
}

#systemDiagramCard.card-theme-dark .diagram-sector-tabs {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25);
}

#systemDiagramCard .diagram-sector-tab {
  min-height: 42px;
  padding: 8px 22px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: #334155;
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.22s ease;
  white-space: nowrap;
}

#systemDiagramCard.card-theme-dark .diagram-sector-tab {
  color: #cbd5e1;
}

#systemDiagramCard .diagram-sector-tab:hover:not(.active) {
  background: rgba(15, 23, 42, 0.06);
  color: #0f172a;
}

#systemDiagramCard.card-theme-dark .diagram-sector-tab:hover:not(.active) {
  background: rgba(255, 255, 255, 0.10);
  color: #ffffff;
}

#systemDiagramCard .diagram-sector-tab.active {
  background: linear-gradient(135deg, #0071e3 0%, #00c6ff 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 113, 227, 0.32);
}

#systemDiagramCard .diagram-sector-tab .sector-tab-icon {
  font-size: 15px;
  line-height: 1;
}

#systemDiagramCard .dg-stage .dg-biz-clone {
  display: none !important;
}

#systemDiagramCard.business-solutions-mode .dg-stage .dg-biz-clone {
  display: block !important;
}

#systemDiagramCard.business-solutions-mode .dg-stage [data-dg-node="ecoboiler"],
#systemDiagramCard.business-solutions-mode .dg-stage [data-dg-node="ecofloor"] {
  display: none !important;
}

#systemDiagramCard.business-solutions-mode .dg-stage .dg-item[data-dg-node="ecostorage"] img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.35));
}

@media (max-width: 768px) {
  #systemDiagramCard .diagram-sector-tabs {
    width: 100%;
    max-width: 420px;
    display: flex;
    margin-top: 14px;
    padding: 4px;
    gap: 4px;
  }

  #systemDiagramCard .diagram-sector-tab {
    flex: 1 1 0;
    min-height: 40px !important;
    height: 40px !important;
    padding: 6px 10px !important;
    font-size: 12.5px !important;
    gap: 5px;
    white-space: nowrap;
  }

  #systemDiagramCard:not(.system-on-house-mode) .dg-stage .dg-label {
    padding: 0.5px 2px !important;
    min-height: 0 !important;
    font-size: max(4.5px, 0.90cqw) !important;
    line-height: 1.04 !important;
  }

  #systemDiagramCard:not(.system-on-house-mode) .dg-stage .dg-head {
    padding: 1px 4px !important;
    min-height: 0 !important;
    font-size: max(4.8px, 0.88cqw) !important;
  }
}

#systemDiagramCard.business-solutions-mode #btnTransferSystemToHouse {
  display: inline-flex !important;
}

/* ===== PERFORMANCE & SMOOTHNESS LAYER ===== */
main > section,
.section-block {
  contain: layout style;
}

.dg-stage .energy-cable-path.active {
  will-change: stroke-dashoffset;
}

@media (max-width: 768px) {
  /* Replace expensive mobile backdrop-filter blur on repeated pills/labels with crisp translucent fill */
  .scenario-btn,
  .dg-house-zone-pill,
  #systemDiagramCard.system-on-house-mode .dg-stage .dg-label,
  #systemDiagramCard .diagram-sector-tabs {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .scenario-btn {
    background: rgba(255, 255, 255, 0.96) !important;
  }

  #systemDiagramCard.system-on-house-mode .dg-stage .dg-label {
    background: rgba(7, 16, 33, 0.92) !important;
  }

  .dg-house-zone-pill {
    background: rgba(8, 17, 36, 0.92) !important;
  }

  /* Simplify multi-pass SVG drop-shadow filters on mobile GPUs */
  .dg-stage .energy-cable-path,
  .dg-stage .energy-cable-path.active {
    filter: none !important;
  }

  .dg-stage .dg-brain img {
    filter: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===== PREMIUM DESKTOP WHITESPACE (120-160px section breathing room) ===== */
@media (min-width: 1024px) {
  .hero-intro-section {
    padding-bottom: 120px !important;
  }

  .system-section {
    padding-top: 120px !important;
    padding-bottom: 140px !important;
  }

  .report-charts-section,
  .calculator-section,
  .science-section,
  .bento-section,
  .guarantee-section,
  .models-section,
  .contact-section {
    padding-top: 140px !important;
    padding-bottom: 140px !important;
  }

  .partners-bottom-section {
    padding-top: 120px !important;
    padding-bottom: 140px !important;
  }

  .section-header {
    margin-bottom: 56px;
  }

  /* ===== TYPOGRAPHY SCALE & MEASURE (H1 56-80px, body 16-18px, 60-65ch, max 2 fonts) ===== */
  body {
    font-family: var(--font-sans);
    font-size: 17px;
    line-height: 1.6;
  }

  h1,
  .hero-intro-headline {
    font-family: var(--font-sans);
    font-size: clamp(56px, 5.2vw, 76px) !important;
    letter-spacing: -0.03em !important;
    line-height: 1.08 !important;
  }

  .hero-intro-subhead,
  .section-subtitle,
  .section-desc {
    font-size: clamp(16px, 1.18vw, 18px) !important;
    line-height: 1.62 !important;
    max-width: 63ch !important;
    margin-left: auto;
    margin-right: auto;
  }

  main section p {
    max-width: 65ch;
  }
}

.dg-stage .dg-label,
.dg-stage .dg-head,
.dg-stage .dg-title,
.dg-stage .dg-manufacturer {
  font-family: var(--font-sans) !important;
}

/* ===== BRAND PALETTE (#ffffff, #032866 deep navy, #0f62fe electric blue, #f3f5f8 cool surface) ===== */
/* Note: #system / #systemDiagramCard / .dg-stage / #kalkulator / #raport-wykresy keep their functional colors untouched */
:root {
  --accent-blue: #0f62fe;
  --text-primary: #032866;
  --text-secondary: rgba(3, 40, 102, 0.74);
  --apple-text: #032866;
}

html,
body {
  background-color: #f3f5f8 !important;
  background-image: none !important;
  color: #032866 !important;
}

.global-nav {
  background: rgba(243, 245, 248, 0.90) !important;
  border-bottom-color: rgba(3, 40, 102, 0.08) !important;
}

.hero-intro-section,
.system-section,
#system,
.science-section,
.bento-section,
.guarantee-section,
.models-section,
.contact-section,
.partners-bottom-section {
  background: #f3f5f8 !important;
  color: #032866 !important;
}

.science-card,
.guarantee-card,
.investor-card,
.model-card,
.contact-card,
.bento-card {
  background: #ffffff !important;
  border-color: rgba(3, 40, 102, 0.10) !important;
  color: #032866 !important;
}

.hero-intro-headline,
.section-title,
.diagram-title,
.real-house-title,
.stavanger-main-title,
.model-title,
.specs-card-title,
.bento-title,
.professor-name,
.professors-caption-title,
.nav-logo,
.hero-kpi-val,
.hero-text-link,
.spec-visual-val:not(.highlight-green),
.human-story-title,
.stavanger-feature-badge strong {
  background-image: none !important;
  -webkit-text-fill-color: #032866 !important;
  color: #032866 !important;
  animation: none !important;
}

/* Jednolity granatowy kolor (#032866) dla wszystkich nagłówków na jasnym tle */
h1, h2, h3, h4, h5, h6 {
  color: #032866;
}

.site-footer h1, .site-footer h2, .site-footer h3, .site-footer h4,
.dark-section h1, .dark-section h2, .dark-section h3, .dark-section h4,
.block-corp-master-chart h1, .block-corp-master-chart h2, .block-corp-master-chart h3, .block-corp-master-chart h4,
#stavangerPhotoGrid .stavanger-card .card-title,
.dg-stage h1, .dg-stage h2, .dg-stage h3, .dg-stage h4 {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.hero-intro-subhead,
.section-subtitle,
.section-desc,
.science-card p,
.guarantee-card p,
.contact-card p {
  color: rgba(3, 40, 102, 0.74) !important;
}

/* Dark surfaces: deep brand navy #032866 */
.site-footer,
.footer,
.dark-section {
  background-color: #032866 !important;
  color: #ffffff !important;
}

.nav-links a {
  color: #032866 !important;
}

.nav-links a:hover {
  color: #0f62fe !important;
}

.nav-links a.active {
  background: #0f62fe !important;
  color: #ffffff !important;
  border-color: #0f62fe !important;
}

.hero-intro-actions .btn-secondary,
.btn-secondary,
.btn-outline {
  background: #ffffff !important;
  color: #032866 !important;
  border: 1px solid rgba(3, 40, 102, 0.22) !important;
}

.hero-intro-actions .btn-secondary:hover,
.btn-secondary:hover,
.btn-outline:hover {
  border-color: #0f62fe !important;
  color: #0f62fe !important;
}

.section-eyebrow,
.eyebrow,
.section-badge,
.hero-badge-pill {
  background: rgba(15, 98, 254, 0.08) !important;
  color: #032866 !important;
  border-color: rgba(15, 98, 254, 0.18) !important;
}

.btn-primary,
.nav-cta-btn {
  background: #0f62fe !important;
  color: #ffffff !important;
  border-color: #0f62fe !important;
}

.btn-primary:hover,
.nav-cta-btn:hover {
  background: #032866 !important;
  border-color: #032866 !important;
  color: #ffffff !important;
}

/* ===== MICRO-INTERACTIONS (250-350ms cubic-bezier(0.16, 1, 0.3, 1)) ===== */
.btn,
.btn-primary,
.btn-secondary,
.btn-outline,
.nav-cta-btn,
.nav-links a,
.hero-value-pill,
.science-card,
.guarantee-card,
.investor-card,
.model-card,
.bento-card,
.diagram-sector-tab,
.btn-activate-active-home,
.btn-transfer-system-house {
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 280ms cubic-bezier(0.16, 1, 0.3, 1),
              background-color 280ms cubic-bezier(0.16, 1, 0.3, 1),
              border-color 280ms cubic-bezier(0.16, 1, 0.3, 1),
              color 280ms cubic-bezier(0.16, 1, 0.3, 1),
              opacity 280ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-primary:hover,
.nav-cta-btn:hover,
.btn-secondary:hover,
.btn-outline:hover {
  transform: translateY(-2px);
}

.btn-primary:active,
.nav-cta-btn:active,
.btn-secondary:active,
.btn-outline:active {
  transform: translateY(0) scale(0.985);
}

.science-card:hover,
.guarantee-card:hover,
.investor-card:hover,
.model-card:hover,
.bento-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(17, 19, 21, 0.08);
}

/* ============================================================================
   LUXURY PROGRESSIVE DISCLOSURE ("Specyfikacja" Drawers)
   Hides heavy technical reports, multi-tab selectors, and walls of text
   behind clean editorial summary cards and an explicit toggle button.
   ============================================================================ */
.spec-essence-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 980px;
  margin: 36px auto 0;
  text-align: left;
}

.spec-essence-card {
  background: #ffffff;
  border: 1px solid rgba(3, 40, 102, 0.10);
  border-radius: 18px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 280ms cubic-bezier(0.16, 1, 0.3, 1),
              border-color 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

.spec-essence-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(3, 40, 102, 0.08);
  border-color: rgba(15, 98, 254, 0.28);
}

.spec-essence-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0f62fe;
}

.spec-essence-val {
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #032866;
  line-height: 1.2;
}

.spec-essence-note {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(3, 40, 102, 0.72);
}

.spec-toggle-row {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.spec-collapsible.is-spec-expanded .spec-toggle-row {
  margin-bottom: 44px;
}

.btn-spec-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid rgba(3, 40, 102, 0.22);
  background: #ffffff;
  color: #032866;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1),
              background-color 280ms cubic-bezier(0.16, 1, 0.3, 1),
              border-color 280ms cubic-bezier(0.16, 1, 0.3, 1),
              color 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-spec-toggle:hover {
  background: #0f62fe;
  color: #ffffff;
  border-color: #0f62fe;
  transform: translateY(-2px);
}

.btn-spec-toggle:active {
  transform: translateY(0) scale(0.985);
}

.btn-spec-toggle .spec-toggle-arrow {
  display: inline-block;
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

.spec-collapsible.is-spec-expanded .btn-spec-toggle .spec-toggle-arrow {
  transform: rotate(180deg);
}

/* Collapsed state: all sections are now permanently visible (no hide/collapse buttons) */
.spec-toggle-row,
.btn-spec-toggle {
  display: none !important;
}

.spec-essence-grid {
  margin-bottom: 44px;
}

@media (max-width: 768px) {
  .spec-essence-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 28px;
  }

  .spec-essence-card {
    padding: 22px 20px;
  }
}

/* Hero Discreet Text Link (paired with single primary CTA) */
.hero-intro-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
}

.hero-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  color: #032866;
  text-decoration: none;
  padding: 6px 2px;
  border-bottom: 1px solid rgba(3, 40, 102, 0.28);
  transition: color 280ms cubic-bezier(0.16, 1, 0.3, 1),
              border-color 280ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-text-link:hover {
  color: #0f62fe;
  border-bottom-color: #0f62fe;
}

.hero-text-link .hero-text-link-arrow {
  display: inline-block;
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-text-link:hover .hero-text-link-arrow {
  transform: translateX(4px);
}

/* Green Savings Horizon Card (matches .block-active layout) */
.calc-results-header.green-header {
  color: #4ade80;
}

.calc-highlight-num-green {
  font-size: clamp(36px, 4.4vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #4ade80;
  text-shadow: 0 0 28px rgba(74, 222, 128, 0.35);
  margin: 10px 0 12px;
}

.calc-highlight-sub.green-sub {
  color: rgba(246, 246, 244, 0.78);
}

.horizon-bar-green {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #22c55e 0%, #4ade80 100%);
  box-shadow: 0 0 14px rgba(74, 222, 128, 0.45);
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.horizon-val-green {
  font-weight: 700;
  font-size: 16px;
  color: #4ade80;
  text-align: right;
  white-space: nowrap;
}

.horizon-row.highlight-green-10y {
  border-color: rgba(74, 222, 128, 0.45) !important;
  background: rgba(34, 197, 94, 0.1) !important;
}

.horizon-row.highlight-green-10y .horizon-val-green {
  font-size: 19px;
  color: #4ade80;
}

/* ===== OPEN ARCHITECTURAL 4-COLUMN GRID FOR HERO VALUE PILLARS ===== */
.hero-intro-pills {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 0 !important;
  max-width: 1060px !important;
  margin: 36px auto 40px !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.hero-value-pill {
  background: transparent !important;
  background-image: none !important;
  border: none !important;
  border-left: 1px solid #e4e4e7 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 8px 24px !important;
  min-height: 0 !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 14px !important;
  text-align: left !important;
  transform: none !important;
}

.hero-value-pill:first-child {
  border-left: none !important;
}

.hero-value-pill:hover {
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
  border-color: #e4e4e7 !important;
}

.hero-value-pill .pill-icon-glow {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  padding: 0 !important;
  margin-top: 2px !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #111315 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.hero-value-pill .pill-val {
  color: #111315 !important;
  font-weight: 700 !important;
}

.hero-value-pill .pill-label {
  color: rgba(17, 19, 21, 0.68) !important;
}

@media (max-width: 900px) {
  .hero-intro-pills {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .hero-value-pill {
    padding: 16px 20px !important;
    border-top: 1px solid #e4e4e7 !important;
  }

  .hero-value-pill:nth-child(1),
  .hero-value-pill:nth-child(2) {
    border-top: none !important;
  }

  .hero-value-pill:nth-child(odd) {
    border-left: none !important;
  }
}

@media (max-width: 560px) {
  .hero-intro-pills {
    grid-template-columns: 1fr !important;
  }

  .hero-value-pill {
    border-left: none !important;
    border-top: 1px solid #e4e4e7 !important;
    padding: 14px 12px !important;
  }

  .hero-value-pill:first-child {
    border-top: none !important;
  }
}

/* ===== OPEN FULL-BLEED SYSTEM SECTION (NO ROUNDED-3XL / SHADOW CARD CONTAINER) ===== */
#system.system-section,
.system-section#system {
  border-top: 1px solid #e4e4e7 !important;
  background: #f3f5f8 !important;
}

#systemDiagramCard,
.system-diagram-card,
.system-diagram-card.card-theme-light,
.system-diagram-card.card-theme-dark {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 auto !important;
  width: 100% !important;
  max-width: none !important;
}

#systemDiagramCard .system-diagram-wrapper,
#systemDiagramCard.card-theme-light .diagram-expanded-stage .system-diagram-wrapper,
#systemDiagramCard.card-theme-dark .diagram-expanded-stage .system-diagram-wrapper {
  box-shadow: none !important;
  border: none !important;
}

/* Constrain AI diagram + celestial sky width so Sun + Diagram + Buttons fit together in viewport */
#system.system-section,
.system-section#system {
  padding-top: 68px !important;
  padding-bottom: 76px !important;
}

#systemDiagramCard .diagram-expanded-stage,
#systemDiagramCard.system-details-open .diagram-expanded-stage,
#systemDiagramCard:not(.system-details-open) .diagram-expanded-stage,
#systemDiagramCard .celestial-sky-collapsible-wrapper {
  width: 100% !important;
  max-width: 860px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

#systemDiagramCard.system-details-open .celestial-sky-viewport,
#systemDiagramCard.sky-simulation-active .celestial-sky-viewport {
  height: 104px !important;
  max-height: 112px !important;
}

/* Fix oversized empty frame on .professors-card in #nauka */
.science-grid {
  align-items: start !important;
  grid-auto-rows: auto !important;
}

.science-grid > .professors-card,
.professors-card {
  height: auto !important;
  align-self: start !important;
}

/* ===== HERO AI HEMS AGENT VISUAL ANCHOR (MELTED INTO #f3f5f8) ===== */
.hero-intro-section {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--nav-height) + 22px) !important;
}

.hero-top-norway-flag {
  z-index: 2 !important;
}

.hero-neural-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.9) 62%, rgba(0, 0, 0, 0) 98%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.9) 62%, rgba(0, 0, 0, 0) 98%);
}

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

.hero-ai-face-anchor {
  position: relative;
  width: clamp(290px, 26vw, 360px);
  aspect-ratio: 10 / 9;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.hero-ai-head-title {
  position: absolute;
  top: 6%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: #ffffff;
  font-size: clamp(18px, 1.75vw, 24px);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.92), 0 0 18px rgba(56, 189, 248, 0.65);
  pointer-events: none;
}

.hero-ai-face-anchor::before {
  display: none;
}

.hero-ai-face-img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center 48%;
  border-radius: 26%;
  -webkit-mask-image: none;
  mask-image: none;
  box-shadow: 0 18px 44px -14px rgba(3, 40, 102, 0.28);
  filter: contrast(1.04) saturate(1.06);
  will-change: transform, filter;
  animation: heroBrainGentlePulse 3.6s ease-in-out infinite;
}

@keyframes heroBrainGentlePulse {
  0%, 100% {
    transform: scale(1);
    filter: contrast(1.04) saturate(1.06) brightness(1);
  }
  50% {
    transform: scale(1.028);
    filter: contrast(1.07) saturate(1.10) brightness(1.06);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-ai-face-img {
    animation: none;
  }
}

.hero-ai-aws-badge {
  position: absolute;
  left: -14px;
  bottom: 10px;
  width: clamp(68px, 6.5vw, 90px);
  height: auto;
  z-index: 2;
  filter: drop-shadow(0 8px 18px rgba(3, 40, 102, 0.24));
}

/* ===== DIAGRAM PRODUCT LABELS: WHITE BY DEFAULT, COLOR + GLOW ONLY ON HOVER ===== */
#systemDiagramCard .dg-stage .dg-label,
#systemDiagramCard .dg-stage .dg-chip-label,
#systemDiagramCard .dg-stage .dg-layer .dg-label[data-dg-node],
#systemDiagramCard .dg-stage .dg-layer .dg-label[data-dg-node].dg-voice-spotlight {
  color: #ffffff !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.96), 0 0 6px rgba(0, 0, 0, 0.85) !important;
}

#systemDiagramCard .dg-stage .dg-layer .dg-label[data-dg-node][data-dg-theme="green"]:hover,
#systemDiagramCard .dg-stage .dg-layer .dg-label[data-dg-node][data-dg-theme="green"].dg-node-hovered {
  color: #4ade80 !important;
  text-shadow: 0 0 12px rgba(34, 197, 94, 0.95), 0 0 22px rgba(34, 197, 94, 0.65), 0 1px 4px #000 !important;
  transform: scale(1.08) !important;
}

#systemDiagramCard .dg-stage .dg-layer .dg-label[data-dg-node][data-dg-theme="amber"]:hover,
#systemDiagramCard .dg-stage .dg-layer .dg-label[data-dg-node][data-dg-theme="amber"].dg-node-hovered {
  color: #ffd166 !important;
  text-shadow: 0 0 12px rgba(251, 168, 52, 0.95), 0 0 22px rgba(251, 168, 52, 0.65), 0 1px 4px #000 !important;
  transform: scale(1.08) !important;
}

#systemDiagramCard .dg-stage .dg-layer .dg-label[data-dg-node][data-dg-theme="cyan"]:hover,
#systemDiagramCard .dg-stage .dg-layer .dg-label[data-dg-node][data-dg-theme="cyan"].dg-node-hovered {
  color: #7dd3fc !important;
  text-shadow: 0 0 12px rgba(56, 189, 248, 0.95), 0 0 22px rgba(56, 189, 248, 0.65), 0 1px 4px #000 !important;
  transform: scale(1.08) !important;
}

#systemDiagramCard .dg-stage .dg-layer .dg-label[data-dg-node][data-dg-theme="red"]:hover,
#systemDiagramCard .dg-stage .dg-layer .dg-label[data-dg-node][data-dg-theme="red"].dg-node-hovered {
  color: #fb923c !important;
  text-shadow: 0 0 12px rgba(249, 115, 22, 0.95), 0 0 22px rgba(249, 115, 22, 0.65), 0 1px 4px #000 !important;
  transform: scale(1.08) !important;
}

/* Smooth GPU-friendly power-on wave radiating from AI Head (.dg-brain) */
#systemDiagramCard .dg-stage .energy-cable-path,
#systemDiagramCard .dg-stage .energy-cable-path.active,
#systemDiagramCard .dg-stage .energy-cable-path.solar-flow,
#systemDiagramCard .dg-stage .energy-cable-path.grid-buy-flow,
#systemDiagramCard .dg-stage .energy-cable-path.sell-flow,
#systemDiagramCard .dg-stage .energy-cable-path.heat-cable.active,
#systemDiagramCard .dg-stage .energy-cable-path.cool-cable.active {
  filter: none !important;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#systemDiagramCard .dg-stage .energy-cable-path.ignition-pending {
  opacity: 0 !important;
  transition: none !important;
}

#systemDiagramCard .dg-stage .energy-cable-path.ignition-wave-1 {
  transition: opacity 0.36s cubic-bezier(0.22, 1, 0.36, 1) 0.06s !important;
}

#systemDiagramCard .dg-stage .energy-cable-path.ignition-wave-2 {
  transition: opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1) 0.20s !important;
}

#systemDiagramCard .dg-stage .energy-cable-path.ignition-wave-3 {
  transition: opacity 0.40s cubic-bezier(0.22, 1, 0.36, 1) 0.34s !important;
}

#systemDiagramCard .dg-stage .dg-brain.brain-igniting {
  animation: brainCoreIgnition 0.72s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

#systemDiagramCard .dg-stage .dg-brain.brain-igniting::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: inherit;
  pointer-events: none;
  border: 2px solid rgba(56, 189, 248, 0.85);
  box-shadow: 0 0 28px rgba(56, 189, 248, 0.65), inset 0 0 18px rgba(56, 189, 248, 0.35);
  animation: brainPulseRing 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes brainCoreIgnition {
  0% {
    transform: scale(0.98);
    filter: brightness(1);
  }
  35% {
    transform: scale(1.035);
    filter: brightness(1.22);
  }
  100% {
    transform: scale(1);
    filter: brightness(1);
  }
}

@keyframes brainPulseRing {
  0% {
    opacity: 0.95;
    transform: scale(0.78);
  }
  100% {
    opacity: 0;
    transform: scale(1.55);
  }
}

/* ===== TOP NAV HOVER DROPDOWNS (MAIN + SUB-CATEGORIES) ===== */
.global-nav,
.nav-container,
.nav-links {
  overflow: visible !important;
}

.nav-links > li.nav-item-has-dropdown {
  position: relative;
}

.nav-links > li.nav-item-has-dropdown > a::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: 0.65;
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1), opacity 220ms ease;
}

.nav-links > li.nav-item-has-dropdown:hover > a::after,
.nav-links > li.nav-item-has-dropdown:focus-within > a::after {
  transform: rotate(-135deg) translateY(-1px);
  opacity: 1;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  min-width: 224px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(3, 40, 102, 0.12);
  border-radius: 14px;
  box-shadow: 0 18px 40px -12px rgba(3, 40, 102, 0.2), 0 4px 12px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(6px);
  transition: opacity 220ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 220ms cubic-bezier(0.16, 1, 0.3, 1),
              visibility 220ms linear;
  z-index: 1200;
}

/* Invisible hover bridge between main pill and dropdown panel */
.nav-dropdown::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.nav-links > li.nav-item-has-dropdown:hover > .nav-dropdown,
.nav-links > li.nav-item-has-dropdown:focus-within > .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-links .nav-dropdown a.nav-dropdown-link {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 9px 12px !important;
  border-radius: 9px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
  color: #032866 !important;
  background: transparent !important;
  border: none !important;
  white-space: nowrap;
  text-align: left;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease !important;
}

.nav-links .nav-dropdown a.nav-dropdown-link:hover,
.nav-links .nav-dropdown a.nav-dropdown-link:focus-visible {
  background: #f3f5f8 !important;
  color: #0f62fe !important;
  transform: translateX(2px);
}

.nav-links .nav-dropdown a.nav-dropdown-link::after {
  content: "→";
  font-size: 12px;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-links .nav-dropdown a.nav-dropdown-link:hover::after {
  opacity: 1;
  transform: translateX(0);
}

/* Mobile drawer: render sub-categories neatly indented inline */
.nav-links.mobile-open .nav-dropdown {
  position: static;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  box-shadow: none;
  border: none;
  border-left: 2px solid rgba(15, 98, 254, 0.2);
  border-radius: 0;
  background: transparent;
  padding: 4px 0 6px 12px;
  margin-top: 2px;
  min-width: 0;
}

.nav-links.mobile-open .nav-dropdown::before {
  display: none;
}

.nav-links.mobile-open > li.nav-item-has-dropdown > a::after {
  display: none;
}

/* Remove side blue ambient glow canvas */
#appleFlowCanvas,
.apple-flow-canvas {
  display: none !important;
}

/* ===== 12-MONTH AI HEMS SYSTEM SIMULATOR PANEL ===== */
.rep-year-sim-panel {
  margin: 18px auto 26px;
  padding: 22px 24px;
  background: #ffffff;
  border: 1px solid rgba(3, 40, 102, 0.12);
  border-radius: 20px;
  box-shadow: 0 12px 32px -12px rgba(3, 40, 102, 0.12);
}

.rep-year-sim-panel .ys-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}

.rep-year-sim-panel .ys-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(15, 98, 254, 0.1);
  color: #0f62fe;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.rep-year-sim-panel .ys-title {
  margin: 0 0 4px;
  font-size: 19px;
  font-weight: 700;
  color: #032866;
}

.rep-year-sim-panel .ys-subtitle {
  margin: 0;
  font-size: 13.5px;
  color: #475569;
  line-height: 1.45;
}

.rep-year-sim-panel .ys-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rep-year-sim-panel .ys-btn {
  padding: 8px 15px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid rgba(3, 40, 102, 0.16);
  transition: background-color 180ms ease, color 180ms ease, transform 160ms ease;
}

.rep-year-sim-panel .ys-btn-primary {
  background: #0f62fe;
  color: #ffffff;
  border-color: #0f62fe;
}

.rep-year-sim-panel .ys-btn-primary:hover {
  background: #0353e9;
}

.rep-year-sim-panel .ys-btn-ghost {
  background: #f3f5f8;
  color: #032866;
}

.rep-year-sim-panel .ys-btn-ghost:hover {
  background: #e2e8f0;
}

.rep-year-sim-panel .ys-modules-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.rep-year-sim-panel .ys-mod-chip {
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: #f3f5f8;
  color: #64748b;
  border: 1px solid rgba(3, 40, 102, 0.08);
  transition: all 200ms ease;
}

.rep-year-sim-panel .ys-mod-chip.active {
  background: #e8f0fe;
  color: #032866;
  border-color: #0f62fe;
  box-shadow: 0 2px 8px rgba(15, 98, 254, 0.16);
}

.rep-year-sim-panel .ys-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.rep-year-sim-panel .ys-kpi-card {
  padding: 13px 16px;
  border-radius: 14px;
  background: #f3f5f8;
  border: 1px solid rgba(3, 40, 102, 0.08);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.rep-year-sim-panel .ys-kpi-card.is-savings {
  background: #eef5ff;
  border-color: rgba(15, 98, 254, 0.25);
}

.rep-year-sim-panel .ys-kpi-label {
  font-size: 11.5px;
  font-weight: 600;
  color: #475569;
}

.rep-year-sim-panel .ys-kpi-val {
  font-size: 22px;
  font-weight: 800;
  color: #032866;
  line-height: 1.2;
}

.rep-year-sim-panel .ys-kpi-card.is-savings .ys-kpi-val {
  color: #0f62fe;
}

.rep-year-sim-panel .ys-kpi-sub {
  font-size: 11.5px;
  color: #64748b;
}

.rep-year-sim-panel .ys-bars-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 8px;
  align-items: end;
  padding-top: 8px;
}

.rep-year-sim-panel .ys-month-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 8px 4px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.rep-year-sim-panel .ys-month-col:hover {
  background: #f3f5f8;
}

.rep-year-sim-panel .ys-month-col.is-active {
  background: #eef5ff;
  border-color: #0f62fe;
  transform: translateY(-2px);
}

.rep-year-sim-panel .ys-month-col.is-done:not(.is-active) {
  background: #f8fafc;
}

.rep-year-sim-panel .ys-bar-track {
  width: 100%;
  height: 108px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
}

.rep-year-sim-panel .ys-bar-g11,
.rep-year-sim-panel .ys-bar-act {
  width: 10px;
  border-radius: 5px 5px 2px 2px;
  transition: height 320ms cubic-bezier(0.22, 1, 0.36, 1), opacity 220ms ease;
}

.rep-year-sim-panel .ys-bar-g11 {
  background: #cbd5e1;
}

.rep-year-sim-panel .ys-bar-act {
  background: #0f62fe;
}

.rep-year-sim-panel .ys-month-col.is-future .ys-bar-g11,
.rep-year-sim-panel .ys-month-col.is-future .ys-bar-act {
  opacity: 0.25;
}

.rep-year-sim-panel .ys-month-save {
  font-size: 10.5px;
  font-weight: 700;
  color: #032866;
  white-space: nowrap;
}

.rep-year-sim-panel .ys-month-col.is-active .ys-month-save {
  color: #0f62fe;
}

.rep-year-sim-panel .ys-month-lbl {
  font-size: 11px;
  font-weight: 700;
  color: #475569;
}

.rep-year-sim-panel .ys-month-col.is-active .ys-month-lbl {
  color: #032866;
}

@media (max-width: 960px) {
  .rep-year-sim-panel .ys-kpi-row {
    grid-template-columns: 1fr;
  }
  .rep-year-sim-panel .ys-bars-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

/* Remove pill caption badges over gallery photos */
.card-photo-badge {
  display: none !important;
}

.card-badges-top {
  justify-content: flex-end !important;
}

/* Monochrome outline icons replacing colorful emojis site-wide */
.ah-mono-emoji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: -0.16em;
  line-height: 1;
  flex-shrink: 0;
}

.ah-mono-icon {
  width: 1.08em;
  height: 1.08em;
  display: block;
  stroke: currentColor;
  fill: none;
}

/* Sync diagram .dg-brain to match cropped Hero 10:9 squircle AI HEMS AGENT head + title */
#systemDiagramCard .dg-stage .dg-brain img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center 48% !important;
  border-radius: 26% !important;
}

#systemDiagramCard .dg-stage .dg-brain-title {
  position: absolute;
  top: 6%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  color: #ffffff;
  font-size: clamp(9px, 1.05vw, 13px);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.92), 0 0 14px rgba(56, 189, 248, 0.65);
  pointer-events: none;
}

/* Fix clipped button glow/shadow under diagram action pills */
#systemDiagramCard,
.system-diagram-card,
#diagramExpandDetailsBar,
.diagram-expand-details-bar,
.diagram-action-buttons-group {
  overflow: visible !important;
}

#diagramExpandDetailsBar {
  padding: 10px 16px 20px !important;
}

#btnToggleSystemDetails,
#btnTransferSystemToHouse {
  box-shadow: 0 6px 18px rgba(3, 40, 102, 0.16) !important;
}

#btnToggleSystemDetails:hover,
#btnTransferSystemToHouse:hover {
  box-shadow: 0 10px 24px rgba(3, 40, 102, 0.22) !important;
}

#systemDiagramCard.system-on-house-mode .dg-stage .dg-brain-title {
  font-size: clamp(7px, 0.72vw, 9.5px);
  letter-spacing: 0.08em;
}

/* Crisp glowing coin badges for export money animations (no emoji font breakage) */
.wire-money-particle.money-coin,
.money-particle.money-coin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.45em;
  height: 1.45em;
  padding: 0 0.25em;
  border-radius: 999px;
  background: linear-gradient(135deg, #fde047 0%, #f59e0b 55%, #10b981 100%);
  color: #052e16;
  font-size: 13px !important;
  font-weight: 900;
  line-height: 1;
  border: 1.5px solid rgba(254, 240, 138, 0.95);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.9), 0 0 20px rgba(16, 185, 129, 0.8);
  text-shadow: none;
}

.wire-money-particle:not(.money-coin),
.money-particle:not(.money-coin) {
  color: #34d399;
  text-shadow: 0 0 10px rgba(16, 185, 129, 0.98), 0 0 20px rgba(251, 191, 36, 0.9);
}

/* ==========================================================================
   CORPORATE FINANCIAL CHARTS IN CALCULATOR (RED LOSS DOWN, BLUE PROFIT UP, GREEN SAVINGS UP)
   ========================================================================== */
.calc-results-horizontal .calc-block-section.block-savings {
  display: grid !important;
  grid-template-columns: 1fr 1.35fr !important;
  gap: 38px !important;
  align-items: center !important;
  padding: 26px 32px !important;
  border-radius: 16px !important;
  width: 100% !important;
  box-sizing: border-box;
  background: rgba(34, 197, 94, 0.05) !important;
  border: 1px solid rgba(74, 222, 128, 0.24) !important;
  box-shadow: inset 0 0 32px rgba(34, 197, 94, 0.06);
}

.calc-corp-chart-col {
  background: rgba(9, 13, 22, 0.62) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 14px !important;
  padding: 14px 18px 10px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.corp-chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.corp-chart-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.corp-chart-title.red-text { color: #ff6961; }
.corp-chart-title.cyan-text { color: #38bdf8; }
.corp-chart-title.green-text { color: #4ade80; }

.corp-chart-badge {
  font-size: 11.5px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.corp-chart-badge.red-badge {
  background: rgba(255, 69, 58, 0.16);
  color: #ff6961;
  border: 1px solid rgba(255, 69, 58, 0.38);
}

.corp-chart-badge.cyan-badge {
  background: rgba(56, 189, 248, 0.16);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.38);
}

.corp-chart-badge.green-badge {
  background: rgba(34, 197, 94, 0.16);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.38);
}

.corp-line-svg {
  width: 100%;
  height: 165px;
  display: block;
  overflow: visible;
}

.corp-grid-line {
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 1;
  stroke-dasharray: 4 4;
}

.corp-grid-line.zero-axis {
  stroke: rgba(255, 255, 255, 0.24);
  stroke-width: 1.25;
  stroke-dasharray: none;
}

.corp-v-line {
  stroke: rgba(255, 255, 255, 0.06);
  stroke-width: 1;
}

.corp-dot-red {
  fill: #0b0f17;
  stroke: #ff453a;
  stroke-width: 2.5;
}

.corp-dot-cyan {
  fill: #0b0f17;
  stroke: #38bdf8;
  stroke-width: 2.5;
}

.corp-dot-green {
  fill: #0b0f17;
  stroke: #4ade80;
  stroke-width: 2.5;
}

.corp-dot-red.pulse { fill: #ff453a; filter: drop-shadow(0 0 6px rgba(255, 69, 58, 0.85)); }
.corp-dot-cyan.pulse { fill: #38bdf8; filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.85)); }
.corp-dot-green.pulse { fill: #4ade80; filter: drop-shadow(0 0 6px rgba(74, 222, 128, 0.85)); }

.corp-val-lbl {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  text-anchor: middle;
}

.corp-val-lbl.red { fill: #ff6961; }
.corp-val-lbl.cyan { fill: #38bdf8; }
.corp-val-lbl.green { fill: #4ade80; }
.corp-val-lbl.strong {
  font-size: 13.5px;
  font-weight: 800;
}

.corp-axis-lbl {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  fill: #94a3b8;
  text-anchor: middle;
}

.corp-axis-lbl.strong {
  fill: #f8fafc;
  font-weight: 700;
}

.corp-y-lbl {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
}
.corp-y-lbl.green { fill: #4ade80; }
.corp-y-lbl.green-muted { fill: rgba(74, 222, 128, 0.72); }
.corp-y-lbl.cyan { fill: #38bdf8; }
.corp-y-lbl.zero { fill: #94a3b8; }
.corp-y-lbl.red { fill: #ff6961; }

.corp-axis-title {
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  fill: #64748b;
}

.corp-tick {
  stroke: rgba(148, 163, 184, 0.55);
  stroke-width: 1.5;
}

.corp-v-line.axis-spine,
.corp-grid-line.axis-spine {
  stroke: rgba(148, 163, 184, 0.38);
  stroke-width: 1.4;
}

/* Master 3-Line Corporate Chart Block */
.block-corp-master-chart {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  padding: 26px 32px !important;
  border-radius: 16px !important;
  background: rgba(11, 16, 27, 0.82) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.corp-master-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.corp-master-sub {
  font-size: 13px;
  color: #94a3b8;
  margin-top: 3px;
}

.corp-master-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.corp-leg-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.corp-leg-item.red { color: #ff6961; }
.corp-leg-item.cyan { color: #38bdf8; }
.corp-leg-item.green { color: #4ade80; }

.corp-leg-line {
  width: 18px;
  height: 3px;
  border-radius: 99px;
  display: inline-block;
}
.corp-leg-line.red { background: #ff453a; box-shadow: 0 0 6px rgba(255, 69, 58, 0.8); }
.corp-leg-line.cyan { background: #38bdf8; box-shadow: 0 0 6px rgba(56, 189, 248, 0.8); }
.corp-leg-line.green { background: #4ade80; box-shadow: 0 0 6px rgba(74, 222, 128, 0.8); }

.corp-master-svg-wrap {
  width: 100%;
  background: rgba(6, 9, 15, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 14px 18px 10px;
  box-sizing: border-box;
}

.corp-master-svg {
  width: 100%;
  height: 318px;
  display: block;
  overflow: visible;
}

.corp-savings-big-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 26px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.14) 0%, rgba(16, 185, 129, 0.06) 100%);
  border: 1px solid rgba(74, 222, 128, 0.36);
  box-shadow: 0 10px 30px rgba(74, 222, 128, 0.08);
}

.corp-savings-big-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.corp-savings-big-eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #86efac;
}

.corp-savings-big-sub {
  font-size: 14px;
  font-weight: 500;
  color: #cbd5e1;
}

.corp-savings-big-val {
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #4ade80;
  text-shadow: 0 0 24px rgba(74, 222, 128, 0.35);
}

@media (max-width: 700px) {
  .corp-savings-big-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 18px;
  }
}

@media (max-width: 960px) {
  .calc-results-horizontal .calc-block-section.block-savings {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
}

/* ==========================================================================
   INTERAKTYWNE PRZECIĄGANIE SŁOŃCA / KSIĘŻYCA NA ŁUKU NIEBA U GÓRY
   ========================================================================== */
#systemDiagramCard .celestial-sky-viewport {
  cursor: grab !important;
  touch-action: none !important;
}

#systemDiagramCard .celestial-sky-viewport.is-dragging-celestial {
  cursor: grabbing !important;
}

#systemDiagramCard .celestial-sky-viewport .celestial-body {
  cursor: grab !important;
}

#systemDiagramCard .celestial-sky-viewport.is-dragging-celestial .celestial-body {
  cursor: grabbing !important;
  transition: opacity 0.2s ease !important;
}

#systemDiagramCard .celestial-sky-viewport .celestial-badge-label {
  cursor: inherit !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.22) !important;
}

#systemDiagramCard .slider-fullwidth-wrap {
  display: none !important;
}

/* ==========================================================================
   USUNIĘCIE ZBĘDNYCH PODPISÓW / PASTYLKOWYCH TAGÓW POD SEKCJAMI NA CAŁEJ STRONIE
   ========================================================================== */
.activity-devices-section,
#arbitrageDevices,
.diagram-top-live-clock-wrap,
#diagramTopLiveClock,
.diagram-features-strip,
.diagram-empirical-note,
.system-hero-pills,
.ys-modules-row,
#ysModulesRow,
.prof-affiliations-row,
.prof-focus-tags,
.article-micro-meta,
.stavanger-card .card-meta-footer {
  display: none !important;
}

/* ==========================================================================
   PROSTY, ZROZUMIAŁY DLA LUDZI OPIS GODZINY POD SCHEMATEM (HUMAN STORY CARD)
   ========================================================================== */
#diagramActivityPanel.diagram-human-story-card,
.system-diagram-card.card-theme-light #diagramActivityPanel.diagram-human-story-card,
.system-diagram-card.card-theme-dark #diagramActivityPanel.diagram-human-story-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 26px;
  margin-top: 14px;
  border-radius: 18px;
  background: #ffffff !important;
  border: 1px solid rgba(0, 102, 255, 0.14) !important;
  box-shadow: 0 8px 26px -6px rgba(10, 37, 88, 0.08) !important;
  text-align: left;
  color: #0a2558;
}

.human-story-header {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.human-story-hour-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  border-radius: 999px;
  background: #0066ff;
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 2px 8px rgba(0, 102, 255, 0.25);
}

.human-story-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10b981;
  flex-shrink: 0;
}

.human-story-mode {
  font-size: 0.88rem;
  font-weight: 600;
  color: #0052cc;
  letter-spacing: 0.01em;
}

.human-story-title {
  margin: 2px 0 0 0;
  font-size: 1.22rem;
  line-height: 1.35;
  font-weight: 700;
  color: #0a2558;
  letter-spacing: -0.015em;
}

.human-story-desc {
  margin: 0;
  font-size: 1.01rem;
  line-height: 1.62;
  font-weight: 400;
  color: #475569;
  max-width: 92ch;
}

@media (max-width: 640px) {
  #diagramActivityPanel.diagram-human-story-card {
    padding: 18px 18px;
  }
  .human-story-title {
    font-size: 1.08rem;
  }
  .human-story-desc {
    font-size: 0.95rem;
  }
}

/* ==========================================================================
   GALERIA STAVANGER W STYLU PORSCHE (KOMPAKTOWE KARTY 16:10 BEZ RAMKI)
   ========================================================================== */
#stavangerPhotoGrid.stavanger-photo-bento {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  grid-auto-rows: auto !important;
  gap: 16px !important;
  margin-top: 22px !important;
}

#stavangerPhotoGrid .stavanger-card,
#stavangerPhotoGrid .stavanger-card.span-1,
#stavangerPhotoGrid .stavanger-card.span-2 {
  grid-column: span 1 !important;
  position: relative !important;
  aspect-ratio: 16 / 10 !important;
  height: auto !important;
  min-height: 0 !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  background: #0b0f17 !important;
  box-shadow: 0 8px 22px -10px rgba(15, 23, 42, 0.22) !important;
  cursor: pointer !important;
  display: block !important;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

#stavangerPhotoGrid .stavanger-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 16px 32px -10px rgba(15, 23, 42, 0.32) !important;
}

#stavangerPhotoGrid .stavanger-card .card-photo-wrapper {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  border-radius: 0 !important;
  overflow: hidden !important;
}

#stavangerPhotoGrid .stavanger-card picture {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

#stavangerPhotoGrid .stavanger-card .stavanger-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

#stavangerPhotoGrid .stavanger-card:hover .stavanger-img {
  transform: scale(1.04) !important;
}

/* Ukryj górny kafelek "Powiększ" - zostaje czyste zdjęcie jak w Porsche */
#stavangerPhotoGrid .stavanger-card .card-badges-top {
  display: none !important;
}

/* Minimalny dolny gradient + tytuł po lewej + kółko ze strzałką po prawej (styl Porsche) */
#stavangerPhotoGrid .stavanger-card .card-content {
  position: absolute !important;
  inset: auto 0 0 0 !important;
  z-index: 2 !important;
  padding: 26px 56px 14px 16px !important;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.55) 58%,
    rgba(0, 0, 0, 0.82) 100%
  ) !important;
  color: #ffffff !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  gap: 3px !important;
  transition: background 0.28s ease !important;
}

#stavangerPhotoGrid .stavanger-card .card-content::after {
  content: "→";
  position: absolute;
  right: 14px;
  bottom: 12px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, transform 0.25s ease;
}

#stavangerPhotoGrid .stavanger-card:hover .card-content::after {
  background: rgba(255, 255, 255, 0.34);
  transform: translateX(2px);
}

#stavangerPhotoGrid .stavanger-card:hover .card-content {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.65) 52%,
    rgba(0, 0, 0, 0.88) 100%
  ) !important;
}

#stavangerPhotoGrid .stavanger-card .card-title {
  margin: 0 !important;
  font-size: 0.92rem !important;
  line-height: 1.3 !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5) !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

#stavangerPhotoGrid .stavanger-card .card-desc {
  display: none !important;
}

#stavangerPhotoGrid .stavanger-card .card-meta-row {
  display: none !important;
}

@media (max-width: 960px) {
  #stavangerPhotoGrid.stavanger-photo-bento {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
}

@media (max-width: 560px) {
  #stavangerPhotoGrid.stavanger-photo-bento {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
  #stavangerPhotoGrid .stavanger-card {
    border-radius: 12px !important;
  }
  #stavangerPhotoGrid .stavanger-card .card-content {
    padding: 24px 10px 10px !important;
  }
  #stavangerPhotoGrid .stavanger-card .card-title {
    font-size: 0.8rem !important;
  }
}

/* ==========================================================================
   SEKCJA PROFESORÓW (#profesorowie): ZDJĘCIE NA ŚRODKU + 2 OPISY OBOK SIEBIE POD SPODEM
   ========================================================================== */
#profesorowie .science-grid {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 28px !important;
  width: 100% !important;
}

#profesorowie .professors-card {
  width: 100% !important;
  max-width: 720px !important;
  height: auto !important;
  margin: 0 auto !important;
  align-self: center !important;
  text-align: center !important;
}

#profesorowie .professors-card .professors-photo {
  width: 100% !important;
  max-height: 460px !important;
  object-fit: cover !important;
  object-position: center 22% !important;
  display: block !important;
}

#profesorowie .professors-card .professors-caption {
  text-align: center !important;
}

#profesorowie .professors-bio-list {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 24px !important;
  width: 100% !important;
  align-items: stretch !important;
}

#profesorowie .professors-bio-list .professor-bio-card {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  height: 100% !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

#profesorowie .professors-bio-list .professor-bio-card .prof-article-cta-wrap {
  margin-top: auto !important;
  padding-top: 16px !important;
}

@media (max-width: 900px) {
  #profesorowie .professors-bio-list {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================================
   OBRAZOWA SPECYFIKACJA OBIEKTU BADAWCZEGO (KAFELKI ZE ZDJĘCIAMI I PODPISAMI)
   ========================================================================== */
.specs-visual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.spec-visual-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 16px 12px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid rgba(10, 37, 88, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  min-width: 0;
}

.spec-visual-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 102, 255, 0.22);
  box-shadow: 0 8px 20px -8px rgba(10, 37, 88, 0.12);
}

.spec-visual-tile.tile-wide {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  text-align: left;
  gap: 14px;
  padding: 14px 16px;
}

.spec-visual-media {
  width: 68px;
  height: 68px;
  border-radius: 14px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.spec-visual-tile.tile-wide .spec-visual-media {
  width: 58px;
  height: 58px;
}

.spec-visual-media.photo-tile {
  background: #ffffff;
  border: 1px solid rgba(10, 37, 88, 0.08);
  padding: 5px;
}

.spec-visual-media.photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.spec-visual-media.icon-tile.blue { background: rgba(0, 102, 255, 0.1); color: #0066ff; }
.spec-visual-media.icon-tile.indigo { background: rgba(79, 70, 229, 0.1); color: #4f46e5; }
.spec-visual-media.icon-tile.green { background: rgba(16, 185, 129, 0.12); color: #059669; }
.spec-visual-media.icon-tile.cyan { background: rgba(6, 182, 212, 0.12); color: #0891b2; }
.spec-visual-media.icon-tile.slate { background: rgba(71, 85, 105, 0.1); color: #334155; }
.spec-visual-media.icon-tile.amber { background: rgba(245, 158, 11, 0.13); color: #d97706; }
.spec-visual-media.icon-tile.purple { background: rgba(139, 92, 246, 0.12); color: #7c3aed; }

.spec-visual-body {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.spec-visual-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #64748b;
  overflow-wrap: break-word;
}

.spec-visual-val {
  font-size: 0.94rem;
  font-weight: 700;
  color: #0a2558;
  line-height: 1.25;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.spec-visual-tile.tile-wide .spec-visual-val {
  justify-content: flex-start;
}

.spec-visual-val.highlight-green {
  color: #059669;
}

.spec-visual-pill-ok {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.14);
  color: #047857;
}

.spec-ep-bar {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.16);
  overflow: hidden;
  margin: 4px 0 2px;
}

.spec-ep-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #10b981 0%, #059669 100%);
}

.spec-visual-cap {
  font-size: 0.8rem;
  color: #475569;
  line-height: 1.35;
}

@media (max-width: 680px) {
  .specs-visual-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   NATURALNE NAGŁÓWKI SEKCJI BEZ SZTUCZNYCH KAFELKÓW / PIGUŁEK (EYEBROWS)
   ========================================================================== */
.real-house-eyebrow,
.section-eyebrow,
.specs-eyebrow,
.bento-eyebrow,
.science-eyebrow,
.eyebrow,
.section-badge,
.hero-badge-pill {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #0052cc !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  margin-bottom: 10px !important;
}

.real-house-eyebrow .real-dot {
  display: none !important;
}

/* ==========================================================================
   APPLE GLASS POPOVER NA SCHEMACIE MÓZGU AI (PRODUKTY PO NAJECHANIU)
   ========================================================================== */
#dgNodeTooltip.dg-node-tooltip.dg-apple-glass {
  width: min(390px, 90%) !important;
  background: rgba(255, 255, 255, 0.86) !important;
  backdrop-filter: blur(26px) saturate(185%) !important;
  -webkit-backdrop-filter: blur(26px) saturate(185%) !important;
  border: 1px solid rgba(255, 255, 255, 0.78) !important;
  border-radius: 18px !important;
  padding: 14px 16px !important;
  color: #0a2558 !important;
  box-shadow: 0 22px 54px rgba(10, 37, 88, 0.24),
              0 0 0 1px rgba(10, 37, 88, 0.08),
              inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
}

#dgNodeTooltip.dg-apple-glass .dg-tooltip-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

#dgNodeTooltip.dg-apple-glass .dg-tooltip-thumb {
  width: 66px;
  height: 66px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(10, 37, 88, 0.08);
  box-shadow: 0 4px 12px rgba(10, 37, 88, 0.08);
  padding: 6px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

#dgNodeTooltip.dg-apple-glass .dg-tooltip-thumb[hidden] {
  display: none !important;
}

#dgNodeTooltip.dg-apple-glass .dg-tooltip-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

#dgNodeTooltip.dg-apple-glass .dg-tooltip-content {
  min-width: 0;
  flex: 1;
}

#dgNodeTooltip.dg-apple-glass .dg-tooltip-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

#dgNodeTooltip.dg-apple-glass .dg-tooltip-badge {
  background: rgba(0, 102, 255, 0.12) !important;
  color: #0052cc !important;
  border: 1px solid rgba(0, 102, 255, 0.2) !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
  padding: 2px 8px !important;
  border-radius: 999px !important;
}

#dgNodeTooltip.dg-apple-glass[data-theme="green"] .dg-tooltip-badge {
  background: rgba(16, 185, 129, 0.14) !important;
  color: #047857 !important;
  border-color: rgba(16, 185, 129, 0.25) !important;
}

#dgNodeTooltip.dg-apple-glass[data-theme="amber"] .dg-tooltip-badge {
  background: rgba(245, 158, 11, 0.14) !important;
  color: #b45309 !important;
  border-color: rgba(245, 158, 11, 0.28) !important;
}

#dgNodeTooltip.dg-apple-glass[data-theme="red"] .dg-tooltip-badge {
  background: rgba(239, 68, 68, 0.12) !important;
  color: #b91c1c !important;
  border-color: rgba(239, 68, 68, 0.24) !important;
}

#dgNodeTooltip.dg-apple-glass .dg-tooltip-spec {
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #475569 !important;
}

#dgNodeTooltip.dg-apple-glass .dg-tooltip-title {
  font-size: 14.5px !important;
  font-weight: 800 !important;
  color: #0a2558 !important;
  margin-bottom: 3px !important;
  line-height: 1.25 !important;
}

#dgNodeTooltip.dg-apple-glass .dg-tooltip-desc {
  font-size: 12px !important;
  line-height: 1.45 !important;
  color: #334155 !important;
}

/* ==========================================================================
   UPROSZCZONA OFERTA DOMÓW (#modele): DUŻE ZDJĘCIE + NAZWA/M2 + PDF/ZAPYTAJ
   ========================================================================== */
#modele .model-card .model-gallery-wrapper {
  height: 360px !important;
  min-height: 360px !important;
}

#modele .model-card .model-gallery-wrapper .model-img-main {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

#modele .model-card .model-badge,
#modele .model-card .model-tagline,
#modele .model-card .model-specs-grid,
#modele .model-card .price-tabs-container {
  display: none !important;
}

#modele .model-card .model-body {
  padding: 22px 24px 24px !important;
  gap: 18px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
}

#modele .model-card .model-header-row {
  margin-bottom: 0 !important;
  align-items: baseline !important;
}

#modele .model-card .model-card-actions {
  margin-top: 0 !important;
}

@media (max-width: 640px) {
  #modele .model-card .model-gallery-wrapper {
    height: 240px !important;
    min-height: 240px !important;
  }
}

/* ==========================================================================
   WIĘKSZY ODSTĘP MIĘDZY NAPISEM PARTNERÓW A LOGAMI (#partnerzy)
   ========================================================================== */
#partnerzy.hero-trust-bar {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 24px !important;
  text-align: center !important;
}

#partnerzy.hero-trust-bar .trust-bar-label {
  display: block !important;
  margin-bottom: 0 !important;
}

/* ==========================================================================
   STOPKA - SPÓJNY KOLOR LINKÓW PRAWNYCH I KOLUMN NA CIEMNYM TLE
   ========================================================================== */
.global-footer .footer-col ul li a,
.global-footer .footer-legal-links a {
  color: rgba(226, 232, 240, 0.72) !important;
}

.global-footer .footer-col ul li a:hover,
.global-footer .footer-legal-links a:hover {
  color: #ffffff !important;
}

/* ==========================================================================
   DOM BADAWCZY - FLAGA NORWEGII TOP-RIGHT + MNIEJSZA RAMKA ZDJĘCIA
   ========================================================================== */
.real-house-showcase {
  padding: 24px 12px 24px !important;
  border-radius: 20px !important;
}

.real-hero-photo-wrapper {
  border-radius: 14px !important;
  border: none !important;
}

.real-overlay-norway-flag {
  position: absolute;
  top: 0;
  right: 0;
  width: 11.2%;
  height: 20%;
  z-index: 5;
  pointer-events: none;
}

.real-overlay-norway-flag img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right top;
  display: block;
}

/* ==========================================================================
   WYKRES 10-LETNI - CZYTELNOŚĆ KWOT NA WYKRESIE (.corp-val-lbl)
   ========================================================================== */
.block-corp-master-chart .corp-val-lbl {
  paint-order: stroke fill;
  stroke: #0b1322;
  stroke-width: 5px;
  stroke-linejoin: round;
}

/* ==========================================================================
   ROZWIJANE INFORMACJE O PRODUKCIE PO NAJECHANIU (.devices-visual-grid)
   ========================================================================== */
.devices-visual-grid {
  align-items: start !important;
}

.spec-visual-tile.has-expand {
  cursor: pointer;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.spec-visual-expand {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  margin-top: 0;
  transition: grid-template-rows 0.34s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.24s ease, margin-top 0.34s ease;
}

.spec-visual-expand-inner {
  overflow: hidden;
  min-height: 0;
}

.spec-visual-expand-inner p {
  margin: 0;
  padding-top: 8px;
  border-top: 1px solid rgba(3, 40, 102, 0.1);
  font-size: 12px;
  line-height: 1.48;
  color: #475569;
  text-align: center;
}

.spec-expand-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
}

.spec-expand-tags span {
  font-size: 10.5px;
  font-weight: 600;
  color: #032866;
  background: rgba(0, 102, 255, 0.08);
  border: 1px solid rgba(0, 102, 255, 0.16);
  border-radius: 999px;
  padding: 2px 8px;
  letter-spacing: 0.01em;
}

.spec-visual-tile.has-expand:hover,
.spec-visual-tile.has-expand:focus-within,
.spec-visual-tile.has-expand.is-expanded {
  border-color: rgba(0, 102, 255, 0.38) !important;
  box-shadow: 0 12px 28px rgba(3, 40, 102, 0.10) !important;
  transform: translateY(-2px);
}

.spec-visual-tile.has-expand:hover .spec-visual-expand,
.spec-visual-tile.has-expand:focus-within .spec-visual-expand,
.spec-visual-tile.has-expand.is-expanded .spec-visual-expand {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: 8px;
}

/* ==========================================================================
   UJEDNOLICONA PALETA KOLORÓW W KARTACH SPECYFIKACJI (#032866 + #0066ff)
   ========================================================================== */
.specs-bento-grid .spec-visual-media.icon-tile,
.specs-bento-grid .spec-visual-media.icon-tile.blue,
.specs-bento-grid .spec-visual-media.icon-tile.indigo,
.specs-bento-grid .spec-visual-media.icon-tile.green,
.specs-bento-grid .spec-visual-media.icon-tile.cyan,
.specs-bento-grid .spec-visual-media.icon-tile.slate,
.specs-bento-grid .spec-visual-media.icon-tile.amber,
.specs-bento-grid .spec-visual-media.icon-tile.purple {
  background: rgba(3, 40, 102, 0.05) !important;
  color: #032866 !important;
  border: 1px solid rgba(3, 40, 102, 0.08) !important;
}

.specs-bento-grid .specs-icon-circle.amber-circle {
  background: rgba(0, 102, 255, 0.08) !important;
  color: #0066ff !important;
}

.specs-bento-grid .spec-visual-val.highlight-green {
  color: #032866 !important;
}

.specs-bento-grid .spec-visual-pill-ok {
  background: rgba(0, 102, 255, 0.08) !important;
  color: #0066ff !important;
  border: 1px solid rgba(0, 102, 255, 0.18) !important;
}

.specs-bento-grid .spec-ep-bar {
  background: rgba(3, 40, 102, 0.08) !important;
}

.specs-bento-grid .spec-ep-fill {
  background: linear-gradient(90deg, #0066ff, #032866) !important;
}

/* ==========================================================================
   PRZYCISK ROZWIJANIA PARAMETRÓW OBIEKTU BADAWCZEGO (#realSpecsToggleBtn)
   ========================================================================== */
.real-specs-toggle-row {
  display: flex;
  justify-content: center;
  margin: 18px 0 8px;
}

.btn-real-specs-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid rgba(3, 40, 102, 0.16);
  background: #ffffff;
  color: #032866;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(3, 40, 102, 0.06);
  transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.btn-real-specs-toggle:hover {
  background: #f0f6ff;
  border-color: rgba(0, 102, 255, 0.42);
  color: #0066ff;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 102, 255, 0.12);
}

.btn-real-specs-toggle .real-specs-toggle-chevron {
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-real-specs-toggle.is-open .real-specs-toggle-chevron {
  transform: rotate(180deg);
}

.real-specs-collapse {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  margin-top: 0;
  transition: grid-template-rows 0.42s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s ease, margin-top 0.42s ease;
}

.real-specs-collapse.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: 22px;
}

.real-specs-collapse-inner {
  overflow: hidden;
  min-height: 0;
}

/* ==========================================================================
   WŁASNY METRAŻ OBOK DOMU 140 M2 + OSZCZĘDNOŚCI POD KARTAMI DOMÓW (#modele)
   ========================================================================== */
.rep-model-selector-custom {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: stretch !important;
  gap: 14px !important;
}

.rep-custom-area-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 18px;
  background: #ffffff;
  border: 1.5px solid rgba(3, 40, 102, 0.14);
  box-shadow: 0 4px 16px rgba(3, 40, 102, 0.05);
  cursor: pointer;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
  min-width: 340px;
}

.rep-custom-area-card:hover {
  border-color: rgba(0, 102, 255, 0.45);
  box-shadow: 0 8px 22px rgba(0, 102, 255, 0.10);
}

.rep-custom-area-card.active {
  border-color: #0066ff;
  background: #f5f9ff;
  box-shadow: 0 8px 24px rgba(0, 102, 255, 0.14);
}

.rep-custom-area-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.rep-custom-savings-badge {
  font-size: 12px;
  font-weight: 700;
  color: #032866;
  background: rgba(0, 102, 255, 0.08);
  border: 1px solid rgba(0, 102, 255, 0.18);
  border-radius: 999px;
  padding: 3px 10px;
}

.rep-custom-area-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.rep-custom-area-lbl {
  font-size: 13px;
  font-weight: 600;
  color: #032866;
}

.rep-custom-input-wrap {
  display: inline-flex;
  align-items: center;
  background: #f8fafc;
  border: 1px solid rgba(3, 40, 102, 0.2);
  border-radius: 10px;
  padding: 5px 10px;
}

.rep-custom-input-wrap input {
  width: 64px;
  border: none;
  background: transparent;
  font-size: 15px;
  font-weight: 700;
  color: #032866;
  outline: none;
  text-align: right;
}

.rep-custom-unit {
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  margin-left: 4px;
}

.rep-custom-calc-btn {
  padding: 8px 14px;
  border-radius: 10px;
  border: none;
  background: #0066ff;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.rep-custom-calc-btn:hover {
  background: #0052cc;
  transform: translateY(-1px);
}

.model-savings-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #f6faf8;
  border: 2px solid #146c53;
  box-shadow: 0 4px 14px rgba(20, 108, 83, 0.12);
}

.model-sav-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  text-align: center;
  padding: 0 4px;
}

.model-sav-item:not(:last-child) {
  border-right: 1px solid rgba(20, 108, 83, 0.14);
}

.model-sav-item span {
  font-size: 11px;
  font-weight: 600;
  color: #475569;
}

.model-sav-item strong {
  font-size: 14px;
  font-weight: 700;
  color: #032866;
}

.model-savings-strip .model-sav-item:nth-child(1) strong,
.model-savings-strip .model-sav-item:nth-child(2) strong {
  font-size: 16px;
  font-weight: 800;
  color: #0f5c46 !important;
  letter-spacing: -0.01em;
}

/* ==========================================================================
   UJEDNOLICONA PALETA RAPORTU TECHNICZNEGO (#032866 + #0066ff)
   ========================================================================== */
.report-charts-section .rep-tile-mint {
  background: linear-gradient(180deg, #f6faf8 0%, #f1f7f4 100%) !important;
  border-color: rgba(20, 108, 83, 0.14) !important;
}

.report-charts-section .rep-divider-mint {
  background: rgba(20, 108, 83, 0.12) !important;
}

.report-charts-section .rep-tile-main-val,
.report-charts-section .rep-tile-sub-val {
  color: #032866 !important;
}

.report-charts-section .rep-tile-sub-val-amber,
.report-charts-section .rep-stat-amber,
.report-charts-section .rep-hero-badge-amber {
  color: #8a5a2b !important;
}

.report-charts-section .rep-label-green,
.report-charts-section .rep-tile-sub-val-green,
.report-charts-section .rep-stat-green,
.report-charts-section .rep-hero-badge-green {
  color: #146c53 !important;
}

.report-charts-section .rep-hero-badge-indigo {
  color: #1d4ed8 !important;
}

.report-charts-section .rep-badge-pill-green,
.report-charts-section .rep-stat-badge-above {
  background: rgba(20, 108, 83, 0.08) !important;
  color: #146c53 !important;
  border: 1px solid rgba(20, 108, 83, 0.18) !important;
}

.report-charts-section .rep-box-brown {
  background: #0066ff !important;
}

.report-charts-section .rep-td-price {
  color: #032866 !important;
}

.report-charts-section .rep-td-green {
  color: #146c53 !important;
  font-weight: 700 !important;
}

.report-charts-section tbody tr:nth-child(2) {
  background: #f6faf8 !important;
}

.report-charts-section .rep-td-gray {
  color: #8a5a2b !important;
  font-weight: 600 !important;
}

.report-charts-section .rep-td-indigo {
  color: #1d4ed8 !important;
  font-weight: 700 !important;
}

.report-charts-section .rep-val-red {
  color: #146c53 !important;
}

.report-charts-section .rep-val-green {
  color: #1d4ed8 !important;
}

.report-charts-section .rep-invoice-pay-banner {
  background: linear-gradient(135deg, #0052d4 0%, #0066ff 100%) !important;
  box-shadow: 0 6px 18px rgba(0, 102, 255, 0.24) !important;
}

.report-charts-section .rep-hero-card-sub {
  color: #bfdbfe !important;
}

.report-charts-section .rep-hero-card-amount {
  color: #34d399 !important;
  text-shadow: 0 2px 14px rgba(52, 211, 153, 0.26);
}

.report-charts-section .rep-hero-card-unit {
  color: #f1f5f9 !important;
}

.report-charts-section .rep-hero-card-desc {
  color: rgba(241, 245, 249, 0.9) !important;
}

.spec-essence-card--savings .spec-essence-val {
  color: #146c53 !important;
}

.model-savings-strip .model-sav-item:nth-child(1) strong,
.model-savings-strip .model-sav-item:nth-child(2) strong {
  color: #146c53 !important;
}

.article-pdf-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 48px 24px;
  background: #f8fafc;
  border: 1px dashed rgba(3, 40, 102, 0.2);
  border-radius: 16px;
  text-align: center;
}

.article-pdf-placeholder-title {
  margin: 0;
  font-size: 15px;
  color: #032866;
  font-weight: 500;
}

.article-pdf-placeholder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* Usunięto subtelne zdjęcia w tle sekcji #gwarancja i #gwarancja-domki */

#gwarancja .guarantee-card,
#gwarancja .investor-box,
#gwarancja-domki .guarantee-card,
#gwarancja-domki .investor-box {
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* ==========================================================================
   SLAJD 1 RAPORTU: WYKRES 10 LAT NA BIAŁYM TLE (#repView0.rep-card-10yr-light)
   ========================================================================== */
#repView0.rep-card-10yr-light {
  background: #ffffff !important;
}

#repView0.rep-card-10yr-light .calc-results-card,
#repView0.rep-card-10yr-light .block-corp-master-chart {
  background: #ffffff !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

#repView0.rep-card-10yr-light .corp-master-head {
  margin-bottom: 14px;
}

#repView0.rep-card-10yr-light .corp-master-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#repView0.rep-card-10yr-light .corp-leg-item {
  background: #f8fafc !important;
  border: 1px solid rgba(3, 40, 102, 0.12) !important;
  color: #334155 !important;
  padding: 7px 12px !important;
  border-radius: 999px !important;
}

#repView0.rep-card-10yr-light .corp-leg-item.green {
  background: #f3faf7 !important;
  border-color: rgba(20, 108, 83, 0.22) !important;
}

#repView0.rep-card-10yr-light .corp-leg-item.green strong {
  color: #146c53 !important;
}

#repView0.rep-card-10yr-light .corp-leg-item.cyan {
  background: #f5f9ff !important;
  border-color: rgba(0, 102, 255, 0.22) !important;
}

#repView0.rep-card-10yr-light .corp-leg-item.cyan strong {
  color: #0066ff !important;
}

#repView0.rep-card-10yr-light .corp-leg-item.red {
  background: #fef2f2 !important;
  border-color: rgba(220, 38, 38, 0.22) !important;
}

#repView0.rep-card-10yr-light .corp-leg-item.red strong {
  color: #dc2626 !important;
}

#repView0.rep-card-10yr-light .corp-master-svg-wrap {
  background: #ffffff !important;
  border: 1px solid rgba(3, 40, 102, 0.08) !important;
  border-radius: 18px !important;
  padding: 12px 10px 6px !important;
}

#repView0.rep-card-10yr-light .corp-grid-line {
  stroke: rgba(3, 40, 102, 0.08) !important;
}

#repView0.rep-card-10yr-light .corp-grid-line.zero-axis {
  stroke: rgba(3, 40, 102, 0.28) !important;
}

#repView0.rep-card-10yr-light .corp-v-line {
  stroke: rgba(3, 40, 102, 0.07) !important;
}

#repView0.rep-card-10yr-light .corp-v-line.axis-spine,
#repView0.rep-card-10yr-light .corp-grid-line.axis-spine,
#repView0.rep-card-10yr-light .corp-tick {
  stroke: rgba(3, 40, 102, 0.26) !important;
}

#repView0.rep-card-10yr-light .corp-axis-title,
#repView0.rep-card-10yr-light .corp-axis-lbl,
#repView0.rep-card-10yr-light .corp-y-lbl.zero {
  fill: #475569 !important;
}

#repView0.rep-card-10yr-light .corp-y-lbl.green,
#repView0.rep-card-10yr-light .corp-y-lbl.green-muted {
  fill: #146c53 !important;
}

#repView0.rep-card-10yr-light .corp-y-lbl.cyan {
  fill: #0066ff !important;
}

#repView0.rep-card-10yr-light .corp-y-lbl.red {
  fill: #b91c1c !important;
}

#repView0.rep-card-10yr-light .corp-val-lbl {
  stroke: #ffffff !important;
  stroke-width: 4px !important;
  paint-order: stroke !important;
}

#repView0.rep-card-10yr-light .corp-val-lbl.green {
  fill: #146c53 !important;
}

#repView0.rep-card-10yr-light .corp-val-lbl.cyan {
  fill: #0066ff !important;
}

#repView0.rep-card-10yr-light .corp-val-lbl.red {
  fill: #dc2626 !important;
}

#repView0.rep-card-10yr-light .corp-dot-green {
  fill: #146c53 !important;
  stroke: #ffffff !important;
}

#repView0.rep-card-10yr-light .corp-dot-cyan {
  fill: #0066ff !important;
  stroke: #ffffff !important;
}

#repView0.rep-card-10yr-light .corp-dot-red {
  fill: #dc2626 !important;
  stroke: #ffffff !important;
}

#repView0.rep-card-10yr-light .calc-results-card::before {
  display: none !important;
}

#repView0.rep-card-10yr-light .corp-savings-big-banner {
  background: rgba(241, 247, 244, 0.56) !important;
  backdrop-filter: blur(14px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(14px) saturate(150%) !important;
  border: 1px solid rgba(20, 108, 83, 0.20) !important;
  border-radius: 20px !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03),
              inset 0 1px 0 rgba(255, 255, 255, 0.85) !important;
  margin-top: 18px !important;
  overflow: hidden !important;
}

#repView0.rep-card-10yr-light .corp-savings-big-eyebrow {
  color: #146c53 !important;
}

#repView0.rep-card-10yr-light .corp-savings-big-sub {
  color: #334155 !important;
}

#repView0.rep-card-10yr-light .corp-savings-big-val {
  color: #0f5c46 !important;
  text-shadow: none !important;
}

@media (min-width: 900px) {
  .rep-carousel-nav {
    flex-wrap: nowrap !important;
    gap: 10px !important;
  }

  .rep-carousel-dots {
    flex-wrap: nowrap !important;
    gap: 6px !important;
  }

  .rep-carousel-dot {
    padding: 8px 13px !important;
    white-space: nowrap !important;
  }
}

/* Usunięto subtelne zdjęcie w tle sekcji #obecnosc-stavanger */

#obecnosc-stavanger .stavanger-pillar-card,
#obecnosc-stavanger .stavanger-feature-card,
#obecnosc-stavanger .stavanger-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* ==========================================================================
   UJEDNOLICONY SYSTEM PROJEKTOWY PREMIUM (RAMKI, KARTY, CZCIONKI, PRZYCISKI)
   ========================================================================== */
body,
button,
input,
select,
textarea {
  font-family: var(--font-sans, -apple-system, BlinkMacSystemFont, "Inter", sans-serif);
}

.spec-essence-val,
.rep-tile-main-val,
.rep-invoice-val,
.rep-td-price,
.model-sav-item strong,
.guarantee-years,
.corp-savings-big-val {
  font-variant-numeric: tabular-nums;
}

.section-eyebrow,
.rep-section-tag,
.specs-eyebrow {
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: #0066ff !important;
}

.section-title,
.stavanger-main-title,
.real-house-title {
  letter-spacing: -0.025em;
  color: #032866 !important;
}

/* Jednolite kontenery sekcji */
.rep-card-wrapper,
.investor-box,
.real-house-showcase {
  border-radius: 24px !important;
  border: 1px solid rgba(3, 40, 102, 0.10) !important;
  box-shadow: 0 10px 30px rgba(3, 40, 102, 0.05) !important;
}

/* Jednolite karty treściowe na całej stronie (od góry do dołu) */
.bento-card,
.spec-essence-card,
.rep-tile,
.rep-invoice-card,
.model-card,
.guarantee-card,
.science-card,
.contact-card,
.stavanger-pillar-card,
.stavanger-feature-card,
.faq-item {
  background: #ffffff !important;
  border-radius: 20px !important;
  border: 1px solid rgba(3, 40, 102, 0.10) !important;
  box-shadow: 0 4px 16px rgba(3, 40, 102, 0.04) !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease !important;
}

/* Zachowaj subtelny akcent PV/Eksport na perłowo-szałwiowych kafelkach */
.report-charts-section .rep-tile.rep-tile-mint {
  background: linear-gradient(180deg, #f6faf8 0%, #f1f7f4 100%) !important;
  border-color: rgba(20, 108, 83, 0.14) !important;
}

/* Zachowaj półprzezroczyste szkło na sekcjach ze zdjęciem w tle */
#gwarancja .guarantee-card,
#gwarancja .investor-box,
#gwarancja-domki .guarantee-card,
#gwarancja-domki .investor-box,
#obecnosc-stavanger .stavanger-pillar-card,
#obecnosc-stavanger .stavanger-feature-card {
  background: rgba(255, 255, 255, 0.90) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.bento-card:hover,
.spec-essence-card:hover,
.model-card:hover,
.guarantee-card:hover,
.science-card:hover,
.contact-card:hover,
.stavanger-pillar-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(3, 40, 102, 0.08) !important;
  border-color: rgba(0, 102, 255, 0.22) !important;
}

/* Jednolite pigułkowe przyciski na całej stronie */
.btn-primary,
.btn-secondary,
.rep-custom-calc-btn,
.btn-real-specs-toggle,
.rep-carousel-arrow {
  border-radius: 999px !important;
  font-family: var(--font-sans, -apple-system, BlinkMacSystemFont, "Inter", sans-serif) !important;
}

/* ==========================================================================
   OPTYMALIZACJA PŁYNNOŚCI 60/120 FPS (GPU COMPOSITING, BRAK LAGÓW PRZY SCROLLU)
   ========================================================================== */
html {
  scroll-behavior: smooth;
}

.system-section,
.science-section,
.bento-section,
.guarantee-section,
.models-section,
.contact-section,
.partners-bottom-section {
  content-visibility: auto;
  contain-intrinsic-size: auto 720px;
}

.rep-carousel-slide {
  contain: layout style;
}

/* Wyłącz ciężki backdrop-filter na kartach w treści (zostaje tylko na navbarze i modalach) */
.bento-card,
.spec-essence-card,
.rep-card-wrapper,
.rep-tile,
.rep-invoice-card,
.model-card,
.guarantee-card,
.investor-box,
.science-card,
.contact-card,
.stavanger-pillar-card,
.stavanger-feature-card,
.stavanger-card,
.faq-item,
.hero-value-pill {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

#gwarancja .guarantee-card,
#gwarancja .investor-box,
#gwarancja-domki .guarantee-card,
#gwarancja-domki .investor-box,
#obecnosc-stavanger .stavanger-pillar-card,
#obecnosc-stavanger .stavanger-feature-card {
  background: rgba(255, 255, 255, 0.94) !important;
}

.fade-up-element {
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.45s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.hero-top-norway-flag {
  position: absolute;
  top: var(--nav-height, 58px);
  right: 0;
  width: clamp(110px, 11.2vw, 180px);
  height: auto;
  z-index: 4;
  pointer-events: none;
}

.hero-top-norway-flag img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: right top;
  display: block;
}

@media (max-width: 767px) {
  .hero-top-norway-flag {
    width: 92px;
  }
}

#karta-parametrow-domu.real-house-scroll-specs-container {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 8px 0 4px !important;
  margin-top: 20px !important;
}

#karta-parametrow-domu .real-specs-toggle-row {
  margin: 0 !important;
}

#karta-parametrow-domu .real-specs-collapse.is-open {
  margin-top: 20px;
}

/* ==========================================================================
   KALKULATOR 10 LAT: DOM 140 M² + WŁASNY METRAŻ (.calc-custom-area-card)
   ========================================================================== */
.calc-custom-area-card {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(3, 40, 102, 0.14);
  box-shadow: 0 2px 8px rgba(3, 40, 102, 0.04);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.calc-custom-area-card:hover {
  border-color: rgba(0, 102, 255, 0.4);
}

.calc-custom-area-card.active {
  border-color: #0066ff;
  background: #f5f9ff;
  box-shadow: 0 6px 18px rgba(0, 102, 255, 0.14);
}

.calc-custom-label {
  font-size: 13px;
  font-weight: 600;
  color: #032866;
  cursor: pointer;
}

.calc-custom-input-wrap {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f8fafc;
  border: 1px solid rgba(3, 40, 102, 0.18);
  border-radius: 10px;
  padding: 5px 10px;
}

.calc-custom-area-input {
  width: 60px;
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 700;
  color: #032866;
  text-align: right;
  outline: none;
}

.calc-custom-unit {
  font-size: 13px;
  font-weight: 600;
  color: #475569;
}

.calc-custom-area-btn {
  padding: 7px 14px;
  border-radius: 10px;
  border: none;
  background: #0066ff;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.calc-custom-area-btn:hover {
  background: #0052d4;
}

.calc-custom-savings-hint {
  font-size: 13px;
  font-weight: 700;
  color: #146c53;
  background: rgba(20, 108, 83, 0.08);
  border: 1px solid rgba(20, 108, 83, 0.16);
  padding: 5px 10px;
  border-radius: 999px;
}

/* Dedicated 12-Month AI HEMS Simulator Toggle Button */
.rep-year-sim-trigger-wrap {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}

.rep-year-sim-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid rgba(3, 40, 102, 0.22);
  background: rgba(255, 255, 255, 0.96);
  color: #032866;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(3, 40, 102, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.rep-year-sim-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(3, 40, 102, 0.12);
  border-color: #032866;
}

.rep-year-sim-toggle.is-open {
  background: #032866;
  color: #ffffff;
  border-color: #032866;
}

/* ==========================================================================
   SPÓJNA PALETA KOLORYSTYCZNA NORDIC PREMIUM (CAŁA STRONA)
   Navy: #032866 | Blue: #0066ff | Emerald (oszczędności): #146c53 | Tło: #ffffff / #f4f7fb
   ========================================================================== */
:root {
  --nord-navy: #032866;
  --nord-blue: #0066ff;
  --nord-blue-deep: #1d4ed8;
  --nord-emerald: #146c53;
  --nord-ink: #111315;
  --nord-muted: #4b5563;
  --nord-surface: #ffffff;
  --nord-surface-alt: #f4f7fb;
  --nord-border: rgba(3, 40, 102, 0.10);
}

/* Spójny rytm naprzemiennych teł sekcji */
.hero-intro-section,
.report-charts-section,
.models-section,
.contact-section {
  background-color: var(--nord-surface) !important;
}

.system-section#system,
.science-section,
.guarantee-section,
.partners-bottom-section {
  background-color: var(--nord-surface-alt) !important;
}

/* Dołączenie brakujących kart do jednolitego stylu kartowego */
.algo-card,
.choice-card,
.professor-bio-card,
.professors-card,
.stavanger-fact-card,
.equipment-banner {
  background: #ffffff !important;
  border-radius: 20px !important;
  border: 1px solid var(--nord-border) !important;
  box-shadow: 0 4px 16px rgba(3, 40, 102, 0.04) !important;
}

.algo-card:hover,
.choice-card:hover,
.professor-bio-card:hover {
  border-color: rgba(0, 102, 255, 0.24) !important;
  box-shadow: 0 12px 28px rgba(3, 40, 102, 0.08) !important;
}

.choice-card.choice-main {
  border: 1.5px solid rgba(0, 102, 255, 0.28) !important;
}

/* Spójne ikony, odznaki i tagi w odcieniach Navy + Blue */
.algo-icon-box {
  background: rgba(0, 102, 255, 0.08) !important;
  color: var(--nord-blue) !important;
  border: 1px solid rgba(0, 102, 255, 0.14) !important;
}

.algo-title,
.choice-title,
.prof-name,
.guarantee-name,
.model-name,
.equipment-banner-title,
.stavanger-fact-card h4 {
  color: var(--nord-navy) !important;
}

.guarantee-years {
  color: var(--nord-blue-deep) !important;
}

.choice-badge,
.prof-role-badge,
.system-pill,
.focus-tag {
  background: rgba(3, 40, 102, 0.06) !important;
  color: var(--nord-navy) !important;
  border: 1px solid rgba(3, 40, 102, 0.12) !important;
}

.choice-badge.choice-badge-alt {
  background: rgba(0, 102, 255, 0.08) !important;
  color: var(--nord-blue-deep) !important;
  border-color: rgba(0, 102, 255, 0.16) !important;
}

.choice-bullet svg,
.system-pill svg {
  color: var(--nord-blue) !important;
  stroke: var(--nord-blue) !important;
}

/* Spójne przyciski główne CTA */
.btn-primary,
.equipment-banner-btn,
.rep-custom-calc-btn {
  background: linear-gradient(135deg, #0066ff 0%, #0052d4 100%) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 6px 18px rgba(0, 102, 255, 0.22) !important;
}

.btn-primary:hover,
.equipment-banner-btn:hover,
.rep-custom-calc-btn:hover {
  background: linear-gradient(135deg, #0052d4 0%, #032866 100%) !important;
  box-shadow: 0 10px 24px rgba(3, 40, 102, 0.26) !important;
}

/* Spójna stopka i tekst pomocniczy */
.section-desc,
.algo-desc,
.choice-desc,
.prof-desc,
.guarantee-desc,
.stavanger-sub-desc,
.equipment-banner-desc {
  color: var(--nord-muted) !important;
}

/* ==========================================================================
   SPÓJNA TYPOGRAFIA I CZCIONKI NA CAŁEJ STRONIE (ZERO MIESZANIA MONOSPACE)
   ========================================================================== */
:root {
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --font-mono: var(--font-sans);
}

html,
body,
h1, h2, h3, h4, h5, h6,
p, span, a, li, td, th, label, input, button, select, textarea {
  font-family: var(--font-sans) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Cyfry wyrównane tabelarycznie w tej samej nowoczesnej czcionce */
.spec-essence-val,
.rep-tile-main-val,
.rep-invoice-val,
.rep-td-price,
.model-sav-item strong,
.guarantee-years,
.corp-savings-big-val,
.ys-kpi-val,
.hero-stat-num {
  font-variant-numeric: tabular-nums !important;
}

/* Spójna hierarchia rozmiarów i wag */
.section-title,
.rep-main-title,
.stavanger-main-title,
.real-house-title {
  font-size: clamp(28px, 3.3vw, 44px) !important;
  font-weight: 800 !important;
  line-height: 1.14 !important;
  letter-spacing: -0.025em !important;
}

.algo-title,
.choice-title,
.prof-name,
.guarantee-name,
.model-name,
.rep-card-title,
.stavanger-fact-card h4 {
  font-weight: 750 !important;
  letter-spacing: -0.015em !important;
  line-height: 1.25 !important;
}

.section-desc,
.rep-main-sub,
.stavanger-sub-desc,
.real-house-lead {
  font-size: 16px !important;
  line-height: 1.55 !important;
  font-weight: 400 !important;
}

.algo-desc,
.choice-desc,
.prof-desc,
.guarantee-desc,
.equipment-banner-desc {
  font-size: 14.5px !important;
  line-height: 1.55 !important;
  font-weight: 400 !important;
}

/* ==========================================================================
   APPLE GLASS 50% - EFEKT SZRONIONEGO SZKŁA NA WSZYSTKICH RAMKACH / KARTACH
   ========================================================================== */
.bento-card,
.spec-essence-card,
.rep-card-wrapper,
.rep-tile,
.rep-invoice-card,
.model-card,
.guarantee-card,
.investor-box,
.science-card,
.contact-card,
.stavanger-pillar-card,
.stavanger-feature-card,
.stavanger-fact-card,
.stavanger-card,
.faq-item,
.algo-card,
.choice-card,
.professor-bio-card,
.professors-card,
.equipment-banner,
.real-house-showcase,
.hero-value-pill,
.rep-custom-area-card {
  background: rgba(255, 255, 255, 0.50) !important;
  backdrop-filter: blur(14px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(14px) saturate(150%) !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03),
              0 10px 24px -6px rgba(15, 23, 42, 0.05),
              inset 0 1px 0 rgba(255, 255, 255, 0.85) !important;
}

/* Lżejszy cień dla zagnieżdżonych kafelków wewnątrz kart raportu */
.rep-tile,
.rep-invoice-card {
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.03),
              inset 0 1px 0 rgba(255, 255, 255, 0.85) !important;
}

.report-charts-section .rep-tile.rep-tile-mint {
  background: rgba(241, 247, 244, 0.56) !important;
  border: 1px solid rgba(20, 108, 83, 0.16) !important;
}

.choice-card.choice-main {
  border: 1.5px solid rgba(0, 102, 255, 0.28) !important;
}

.bento-card:hover,
.spec-essence-card:hover,
.model-card:hover,
.guarantee-card:hover,
.science-card:hover,
.contact-card:hover,
.stavanger-pillar-card:hover,
.algo-card:hover,
.choice-card:hover,
.professor-bio-card:hover {
  background: rgba(255, 255, 255, 0.65) !important;
  border-color: rgba(0, 102, 255, 0.22) !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04),
              0 12px 28px -6px rgba(15, 23, 42, 0.08),
              inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
}

/* ==========================================================================
   PORSCHE EXPERIENCE: PŁYNNE PRZEJŚCIE W CIEMNĄ STREFĘ PRZY WYKRESACH,
   BIAŁE AKCENTY W PASTELOWO-ZIELONYCH RAMKACH + SUBTELNE ANIMACJE ZDJĘĆ
   ========================================================================== */

/* Płynne przejście kolorów sekcji i elementów przy scrollowaniu */
body,
.apple-nav,
.hero-intro-section,
.system-section#system,
.report-charts-section,
.science-section,
.guarantee-section,
.models-section,
.contact-section,
.partners-bottom-section,
.real-house-showcase,
.rep-card-wrapper,
.spec-essence-card,
.rep-tile,
.rep-invoice-card,
.rep-custom-area-card,
.rep-month-pill,
.rep-carousel-dot,
.rep-year-sim-toggle {
  transition: background-color 0.72s cubic-bezier(0.22, 1, 0.36, 1),
              color 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 1. 4-KOLOROWY SYSTEM SEMANTYCZNY (Czerwony = Bez systemu | Niebieski = Active Home | Zielony = Oszczędności | Żółty = Zużycie) */
.model-savings-strip {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 6px 0 0 !important;
  border-radius: 0 !important;
}

.model-savings-strip .model-sav-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

.model-savings-strip .model-sav-item span {
  color: #475569 !important;
  text-align: center !important;
  width: auto !important;
  align-self: center !important;
}

.model-savings-strip .model-sav-item:nth-child(1) strong,
.model-savings-strip .model-sav-item:nth-child(2) strong {
  color: #032866 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: center !important;
  min-height: 32px !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  width: fit-content !important;
  margin: 2px auto 0 !important;
}

.model-savings-strip .model-sav-item:nth-child(3) strong {
  color: #ffffff !important;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
  border: 1.5px solid #86efac !important;
  border-radius: 999px !important;
  padding: 5px 14px !important;
  box-shadow: 0 3px 10px rgba(22, 163, 74, 0.22) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: center !important;
  min-height: 32px !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  width: fit-content !important;
  margin: 2px auto 0 !important;
}

/* Logo NORD HT bez ramki */
.rep-brand-badge {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

.rep-brand-badge:hover {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  opacity: 0.88;
}

/* Górne karty podsumowania (3 kafle + wybór modelu) */
.spec-essence-card--savings,
.rep-model-pill.active.is-real,
.report-charts-section .rep-tile.rep-tile-mint {
  background: rgba(255, 255, 255, 0.56) !important;
  border: 1px solid rgba(3, 40, 102, 0.12) !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04) !important;
}

.spec-essence-card:nth-child(1) .spec-essence-val,
.spec-essence-card:nth-child(3) .spec-essence-val {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 999px !important;
  padding: 6px 18px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: flex-start !important;
  width: fit-content !important;
  max-width: 100% !important;
  white-space: nowrap !important;
  line-height: 1.2 !important;
  box-shadow: none !important;
}

.spec-essence-card--savings .spec-essence-val {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
  color: #ffffff !important;
  border: 1.5px solid #86efac !important;
  border-radius: 999px !important;
  padding: 6px 18px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: flex-start !important;
  width: fit-content !important;
  max-width: 100% !important;
  white-space: nowrap !important;
  line-height: 1.2 !important;
  box-shadow: 0 3px 10px rgba(22, 163, 74, 0.22) !important;
}

.rep-model-pill-badge.badge-sim,
.rep-model-pill-badge.badge-real {
  background: #f1f5f9 !important;
  color: #334155 !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 999px !important;
  padding: 5px 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: fit-content !important;
  white-space: nowrap !important;
  line-height: 1.2 !important;
  box-shadow: none !important;
}

.rep-model-pill {
  justify-content: center !important;
}

.rep-model-pill .rep-model-pill-badge {
  align-self: center !important;
}

.rep-custom-savings-bottom {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding-top: 10px !important;
  margin-top: 2px !important;
  border-top: 1px solid rgba(3, 40, 102, 0.08) !important;
  width: 100% !important;
}

.rep-custom-savings-label {
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #032866 !important;
  white-space: nowrap !important;
}

.rep-custom-savings-badge,
#repCustomSavingsHint {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
  color: #ffffff !important;
  border: 1.5px solid #86efac !important;
  border-radius: 999px !important;
  padding: 8px 22px !important;
  font-size: clamp(18px, 1.8vw, 21px) !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: fit-content !important;
  white-space: nowrap !important;
  line-height: 1.2 !important;
  box-shadow: 0 5px 16px rgba(22, 163, 74, 0.28) !important;
}

/* Rozwijany selektor okresów / miesięcy (.rep-month-dropdown-wrap) */
.rep-month-selector.rep-month-dropdown-wrap {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
  margin-bottom: 20px !important;
}

.rep-month-dropdown-trigger {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  padding: 10px 22px !important;
  border-radius: 999px !important;
  border: 1px solid #0c2e59 !important;
  background: #0c2e59 !important;
  color: #ffffff !important;
  font-size: 0.94rem !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  max-width: calc(100vw - 32px) !important;
  box-shadow: 0 4px 12px rgba(12, 46, 89, 0.25) !important;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.25s ease,
              box-shadow 0.25s ease !important;
}

.rep-month-dropdown-trigger:hover {
  background: #133c73 !important;
  border-color: #133c73 !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(12, 46, 89, 0.28) !important;
}

.rep-month-trigger-arrow {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0.85em !important;
  line-height: 1 !important;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.rep-month-dropdown-wrap.is-open .rep-month-trigger-arrow {
  transform: rotate(180deg) !important;
}

.rep-month-dropdown-panel {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  max-width: 920px !important;
  max-height: 0 !important;
  opacity: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
  visibility: hidden !important;
  margin-top: 0 !important;
  padding: 0 16px !important;
  border: 0 solid rgba(3, 40, 102, 0.14) !important;
  border-radius: 20px !important;
  background: rgba(255, 255, 255, 0.94) !important;
  box-shadow: none !important;
  transform: translateY(-6px) !important;
  transition: max-height 0.34s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.24s ease,
              transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              padding 0.28s ease,
              margin-top 0.28s ease,
              visibility 0s linear 0.34s !important;
}

.rep-month-dropdown-wrap.is-open .rep-month-dropdown-panel {
  max-height: 420px !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  visibility: visible !important;
  margin-top: 12px !important;
  padding: 14px 16px !important;
  border-width: 1px !important;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08) !important;
  transform: translateY(0) !important;
  transition: max-height 0.36s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.26s ease,
              transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              padding 0.28s ease,
              margin-top 0.28s ease,
              visibility 0s linear 0s !important;
}

@media (max-width: 540px) {
  .rep-month-dropdown-trigger {
    white-space: normal !important;
    text-align: center !important;
  }
}

/* Slajd 1 (#repView1 - Zużycie & PV): Żółty = Zużycie, Niebieski = Ceny Active Home, Zielony = PV & Oszczędności */
#repView1 .rep-tile {
  padding: 18px 20px !important;
  gap: 12px !important;
  align-items: center !important;
}

#repView1 .rep-tile-divider {
  margin: 0 4px !important;
  flex-shrink: 0 !important;
}

#repView1 .rep-tile-left {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 6px !important;
  min-width: 0 !important;
}

#repView1 .rep-tile-right {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  gap: 6px !important;
  min-width: 0 !important;
}

#repView1 .rep-tile-label {
  font-size: 0.76rem !important;
  line-height: 1.3 !important;
  margin-bottom: 2px !important;
}

#kpiHpKwh,
#kpiEvKwh,
#kpiImportKwh {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 999px !important;
  padding: 6px 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: fit-content !important;
  white-space: nowrap !important;
  font-size: clamp(1.12rem, 1.35vw, 1.3rem) !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  margin: 0 !important;
  text-shadow: none !important;
  box-shadow: none !important;
}

#kpiHpGrid {
  background: #f1f5f9 !important;
  color: #334155 !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 999px !important;
  padding: 4px 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: fit-content !important;
  white-space: nowrap !important;
  font-size: 0.80rem !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  margin: 0 !important;
  text-shadow: none !important;
  box-shadow: none !important;
}

#kpiHpCost,
#kpiEvCost,
#kpiImportCost {
  background: #f1f5f9 !important;
  color: #334155 !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 999px !important;
  padding: 5px 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: fit-content !important;
  white-space: nowrap !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  margin: 0 !important;
  text-shadow: none !important;
  box-shadow: none !important;
}

#kpiEvPer100,
#kpiImportPrice {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 999px !important;
  padding: 6px 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: fit-content !important;
  white-space: nowrap !important;
  font-size: clamp(0.92rem, 1.1vw, 1.05rem) !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  margin: 0 !important;
  text-shadow: none !important;
  box-shadow: none !important;
}

.report-charts-section .rep-label-green {
  color: #64748b !important;
}

#kpiPvKwh,
#kpiExportKwh {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 999px !important;
  padding: 6px 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: fit-content !important;
  white-space: nowrap !important;
  font-size: clamp(1.12rem, 1.35vw, 1.3rem) !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  margin: 0 !important;
  box-shadow: none !important;
}

#kpiPvAuto,
#kpiExportVsRcem {
  background: #f1f5f9 !important;
  color: #334155 !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 999px !important;
  padding: 6px 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: fit-content !important;
  white-space: nowrap !important;
  font-size: clamp(0.92rem, 1.1vw, 1.05rem) !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  margin: 0 !important;
  box-shadow: none !important;
}

#kpiExportCredit {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
  color: #ffffff !important;
  border: 1.5px solid #86efac !important;
  border-radius: 999px !important;
  padding: 5px 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: fit-content !important;
  white-space: nowrap !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  margin: 0 !important;
  box-shadow: 0 3px 10px rgba(22, 163, 74, 0.22) !important;
}

#kpiPvAbove,
#kpiHpPv {
  background: #f1f5f9 !important;
  color: #334155 !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 999px !important;
  padding: 4px 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: fit-content !important;
  white-space: nowrap !important;
  font-size: 0.80rem !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  margin: 0 !important;
  box-shadow: none !important;
}

#kpiImportVsG11 {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
  color: #ffffff !important;
  border: 1.5px solid #86efac !important;
  border-radius: 999px !important;
  padding: 4px 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: fit-content !important;
  white-space: nowrap !important;
  font-size: 0.80rem !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  margin: 0 !important;
  box-shadow: 0 3px 10px rgba(22, 163, 74, 0.22) !important;
}

/* Slajd 2 (#repView2 - Legenda Wykresu Kaskadowego) */
.report-charts-section .rep-box-red {
  background: #dc2626 !important;
  border: none !important;
}

.report-charts-section .rep-box-green {
  background: #22c55e !important;
  border: none !important;
}

.report-charts-section .rep-box-brown {
  background: #0066ff !important;
  border: none !important;
}

/* Slajd 3 (#repView3 - Tabela Stawek i Faktura) */
#repView3 .rep-table td {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid #f1f5f9 !important;
  vertical-align: middle !important;
}

#repView3 .rep-td-pill {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: fit-content !important;
  white-space: nowrap !important;
  padding: 5px 14px !important;
  border-radius: 999px !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

#tblBuyPrice,
#tblNetPrice,
#tblEvPrice,
#tblG11Price,
#repView3 .rep-pill-blue,
#repView3 .rep-pill-red {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

#tblBuyBasis,
#tblNetBasis,
#tblEvBasis,
#tblG11Basis,
#repView3 .rep-pill-yellow {
  background: #f1f5f9 !important;
  color: #334155 !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

.report-charts-section .rep-invoice-pay-banner {
  background: #0c2e59 !important;
  color: #ffffff !important;
  border: 1px solid #0c2e59 !important;
  box-shadow: 0 4px 12px rgba(12, 46, 89, 0.16) !important;
}

#invGrossCost {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: none !important;
  border-radius: 999px !important;
  padding: 5px 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: fit-content !important;
  white-space: nowrap !important;
  line-height: 1.2 !important;
}

#invDeposit,
#invBonus {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
  color: #ffffff !important;
  border: 1.5px solid #86efac !important;
  border-radius: 999px !important;
  padding: 5px 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: fit-content !important;
  white-space: nowrap !important;
  line-height: 1.2 !important;
  box-shadow: 0 3px 10px rgba(22, 163, 74, 0.22) !important;
}

.report-charts-section .rep-savings-hero-card {
  background: #ffffff !important;
  border: 1px solid rgba(3, 40, 102, 0.12) !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04) !important;
}

.report-charts-section .rep-savings-hero-card .rep-hero-card-sub {
  color: #64748b !important;
  text-shadow: none !important;
}

.report-charts-section .rep-savings-hero-card .rep-hero-card-unit {
  color: #0f172a !important;
  text-shadow: none !important;
}

.report-charts-section .rep-savings-hero-card .rep-hero-card-desc {
  color: #475569 !important;
  text-shadow: none !important;
}

#invSavingsHero,
.report-charts-section .rep-savings-hero-card .rep-hero-card-amount {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
  color: #ffffff !important;
  border: 1.5px solid #86efac !important;
  border-radius: 999px !important;
  padding: 10px 28px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: fit-content !important;
  white-space: nowrap !important;
  line-height: 1.15 !important;
  font-size: clamp(2rem, 3.2vw, 2.75rem) !important;
  margin: 6px 0 !important;
  box-shadow: 0 6px 18px rgba(22, 163, 74, 0.24) !important;
  text-shadow: none !important;
}

/* Slajd 4 (#repView0 - Wykres 10 lat: Zielony = Oszczędności, Niebieski = Active Home, Jasny Czerwony = Bez systemu) */
#repView0.rep-card-10yr-light .corp-leg-item {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 8px 18px !important;
  white-space: nowrap !important;
  line-height: 1.25 !important;
  font-size: 13px !important;
}

#repView0.rep-card-10yr-light .corp-leg-item.green,
#repView0.rep-card-10yr-light .corp-leg-item.cyan,
#repView0.rep-card-10yr-light .corp-leg-item.red {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: none !important;
}

#repView0.rep-card-10yr-light .corp-leg-item.green strong,
#repView0.rep-card-10yr-light .corp-leg-item.cyan strong,
#repView0.rep-card-10yr-light .corp-leg-item.red strong {
  color: #0f172a !important;
}

#repView0.rep-card-10yr-light .corp-savings-big-banner {
  background: #ffffff !important;
  border: 1px solid rgba(3, 40, 102, 0.12) !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04) !important;
}

#repView0.rep-card-10yr-light .corp-savings-big-eyebrow {
  color: #64748b !important;
}

#repView0.rep-card-10yr-light .corp-savings-big-sub {
  color: #475569 !important;
}

#repView0.rep-card-10yr-light .corp-savings-big-val {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
  color: #ffffff !important;
  border: 1.5px solid #86efac !important;
  border-radius: 999px !important;
  padding: 8px 26px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: fit-content !important;
  white-space: nowrap !important;
  box-shadow: 0 6px 18px rgba(22, 163, 74, 0.24) !important;
  text-shadow: none !important;
}

#repView0.rep-card-10yr-light .corp-leg-line.green {
  background: #22c55e !important;
  box-shadow: none !important;
}

#repView0.rep-card-10yr-light .corp-leg-line.cyan {
  background: #0066ff !important;
  box-shadow: none !important;
}

#repView0.rep-card-10yr-light .corp-leg-line.red {
  background: #dc2626 !important;
  box-shadow: none !important;
}

#repView0.rep-card-10yr-light #corpSaveLine {
  stroke: #22c55e !important;
}

#repView0.rep-card-10yr-light #masterGreenArea stop {
  stop-color: #22c55e !important;
}

#repView0.rep-card-10yr-light .corp-dot-green {
  fill: #22c55e !important;
  stroke: #ffffff !important;
  stroke-width: 2.2px !important;
}

#repView0.rep-card-10yr-light .corp-dot-green.pulse {
  fill: #22c55e !important;
  filter: drop-shadow(0 0 6px rgba(34, 197, 94, 0.72));
}

#repView0.rep-card-10yr-light .corp-y-lbl.green,
#repView0.rep-card-10yr-light .corp-y-lbl.green-muted,
#repView0.rep-card-10yr-light .corp-val-lbl.green {
  fill: #16a34a !important;
}

#repView0.rep-card-10yr-light #corpActLine {
  stroke: #0066ff !important;
}

#repView0.rep-card-10yr-light .corp-dot-cyan {
  fill: #0066ff !important;
  stroke: #ffffff !important;
  stroke-width: 2.2px !important;
}

#repView0.rep-card-10yr-light .corp-dot-cyan.pulse {
  fill: #0066ff !important;
  filter: drop-shadow(0 0 6px rgba(0, 102, 255, 0.72));
}

#repView0.rep-card-10yr-light .corp-y-lbl.cyan,
#repView0.rep-card-10yr-light .corp-val-lbl.cyan {
  fill: #0066ff !important;
}

#repView0.rep-card-10yr-light #corpStdLine {
  stroke: #dc2626 !important;
}

#repView0.rep-card-10yr-light #masterRedArea stop {
  stop-color: #dc2626 !important;
}

#repView0.rep-card-10yr-light .corp-dot-red {
  fill: #dc2626 !important;
  stroke: #ffffff !important;
  stroke-width: 2.2px !important;
}

#repView0.rep-card-10yr-light .corp-dot-red.pulse {
  fill: #dc2626 !important;
  filter: drop-shadow(0 0 6px rgba(220, 38, 38, 0.8));
}

#repView0.rep-card-10yr-light .corp-y-lbl.red,
#repView0.rep-card-10yr-light .corp-val-lbl.red {
  fill: #dc2626 !important;
}

/* Symulacja 12 miesięcy AI HEMS (#repYearSimPanel) */
.rep-year-sim-panel .ys-kpi-card.is-savings,
.rep-year-sim-panel .ys-kpi-card:nth-child(2),
.rep-year-sim-panel .ys-kpi-card.is-g11 {
  background: #ffffff !important;
  border: 1px solid rgba(3, 40, 102, 0.12) !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04) !important;
}

.rep-year-sim-panel .ys-kpi-card.is-savings .ys-kpi-label,
.rep-year-sim-panel .ys-kpi-card:nth-child(2) .ys-kpi-label,
.rep-year-sim-panel .ys-kpi-card.is-g11 .ys-kpi-label {
  color: #64748b !important;
}

.rep-year-sim-panel .ys-kpi-card.is-savings .ys-kpi-sub,
.rep-year-sim-panel .ys-kpi-card:nth-child(2) .ys-kpi-sub,
.rep-year-sim-panel .ys-kpi-card.is-g11 .ys-kpi-sub {
  color: #475569 !important;
}

.rep-year-sim-panel .ys-kpi-card.is-savings .ys-kpi-val {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
  color: #ffffff !important;
  border: 1.5px solid #86efac !important;
  border-radius: 999px !important;
  padding: 5px 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: fit-content !important;
  white-space: nowrap !important;
  margin: 4px 0 !important;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.22) !important;
}

.rep-year-sim-panel .ys-kpi-card:nth-child(2) .ys-kpi-val,
.rep-year-sim-panel .ys-kpi-card.is-g11 .ys-kpi-val {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 999px !important;
  padding: 5px 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: fit-content !important;
  white-space: nowrap !important;
  margin: 4px 0 !important;
  box-shadow: none !important;
}

.rep-year-sim-panel .ys-bar-g11 {
  background: #dc2626 !important;
}

.rep-year-sim-panel .ys-bar-act {
  background: #0066ff !important;
}

.rep-year-sim-panel .ys-month-save,
.rep-year-sim-panel .ys-month-col.is-active .ys-month-save {
  background: #22c55e !important;
  color: #ffffff !important;
  border-radius: 999px !important;
  padding: 3px 6px !important;
  font-size: 10.5px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* 3. PREZENTACJA ZDJĘĆ I SUBTELNE ANIMACJE W STYLU PORSCHE */
.stavanger-card,
.model-card,
.professors-card,
.real-house-hero-stage {
  overflow: hidden;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.4s ease !important;
}

.stavanger-card .card-photo-wrapper,
.model-card .model-img-wrap,
.model-card picture,
.professors-card {
  overflow: hidden;
}

.stavanger-card .card-photo-wrapper img,
.model-card > img,
.model-card picture img,
.professors-card .professors-photo,
.real-house-hero-stage > img {
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.65s cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: transform;
}

.stavanger-card:hover .card-photo-wrapper img,
.model-card:hover > img,
.model-card:hover picture img,
.professors-card:hover .professors-photo {
  transform: scale(1.045) !important;
}

.stavanger-card:hover,
.model-card:hover,
.professors-card:hover {
  transform: translateY(-4px) !important;
}

.stavanger-card .card-photo-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 40, 102, 0.02) 45%, rgba(4, 13, 33, 0.72) 100%);
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.stavanger-card .card-arrow-btn,
.stavanger-card .card-zoom-pill {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.35s ease,
              color 0.35s ease !important;
}

.stavanger-card:hover .card-arrow-btn {
  transform: translateX(4px);
  background: #0066ff !important;
  color: #ffffff !important;
}

.stavanger-card:hover .card-zoom-pill {
  background: #0066ff !important;
  color: #ffffff !important;
}

.fade-up-element {
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

/* Stały jasny wygląd nagłówka, podtytułu i przełącznika sektorów AI HEMS niezależnie od pory dnia */
#systemDiagramTitle {
  color: #032866 !important;
}

#systemDiagramDesc {
  color: #475569 !important;
}

#systemDiagramCard .diagram-sector-tabs,
#systemDiagramCard.card-theme-dark .diagram-sector-tabs {
  background: rgba(15, 23, 42, 0.06) !important;
  border-color: rgba(15, 23, 42, 0.10) !important;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.05) !important;
}

#systemDiagramCard .diagram-sector-tab:not(.active),
#systemDiagramCard.card-theme-dark .diagram-sector-tab:not(.active) {
  color: #334155 !important;
}












/* Karty modeli: Zobacz ofertę PDF = biały, Zapytaj o Active = niebieski */
.action-row-buttons .btn-pdf {
  background: #ffffff !important;
  background-image: none !important;
  color: #032866 !important;
  border: 1.5px solid rgba(3, 40, 102, 0.18) !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06) !important;
}
.action-row-buttons .btn-pdf:hover {
  background: #f1f5f9 !important;
  border-color: rgba(0, 102, 255, 0.4) !important;
}
.action-row-buttons .btn-secondary {
  background: linear-gradient(135deg, #0066ff 0%, #0050d6 100%) !important;
  color: #ffffff !important;
  border: 1.5px solid transparent !important;
  box-shadow: 0 6px 16px rgba(0, 102, 255, 0.28) !important;
}
.action-row-buttons .btn-secondary:hover {
  background: linear-gradient(135deg, #0058e6 0%, #0044b8 100%) !important;
  transform: translateY(-1px);
}

/* Pole wpisywania metrażu: większe i wyraźnie edytowalne */
.rep-custom-input-wrap {
  background: #ffffff !important;
  border: 2px solid #0066ff !important;
  border-radius: 14px !important;
  padding: 6px 14px !important;
  cursor: text;
  box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.12), 0 4px 12px rgba(0, 102, 255, 0.10) !important;
  transition: box-shadow 0.2s ease;
}
.rep-custom-input-wrap:focus-within {
  box-shadow: 0 0 0 5px rgba(0, 102, 255, 0.25), 0 4px 12px rgba(0, 102, 255, 0.14) !important;
}
.rep-custom-input-wrap input,
#repCustomAreaInput {
  width: 5.5ch !important;
  min-width: 96px;
  max-width: 100%;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem) !important;
  font-weight: 800 !important;
  color: #032866 !important;
  text-align: center !important;
  caret-color: #0066ff;
}
.rep-custom-input-wrap input::-webkit-inner-spin-button,
.rep-custom-input-wrap input::-webkit-outer-spin-button {
  opacity: 1;
}
.rep-custom-unit {
  font-size: 1.1rem !important;
  font-weight: 700 !important;
}
.rep-custom-area-lbl {
  font-size: 1rem !important;
  font-weight: 700 !important;
}
.rep-custom-calc-btn {
  font-size: 1rem !important;
  padding: 14px 20px !important;
}

/* Faktura - Skrót: baner "Łącznie do zapłaty" jasnoniebieski, depozyt i bonus białe */
.report-charts-section .rep-invoice-pay-banner {
  background: linear-gradient(135deg, #0066ff 0%, #0050d6 100%) !important;
  border: 1px solid #0066ff !important;
  box-shadow: 0 6px 16px rgba(0, 102, 255, 0.28) !important;
  color: #ffffff !important;
}
#invDeposit,
#invBonus {
  background: #ffffff !important;
  background-image: none !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: none !important;
}

/* Faktura - Skrót: jednolite tło wszystkich trzech pigułek */
#invGrossCost,
#invDeposit,
#invBonus {
  background: #f1f5f9 !important;
  background-image: none !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: none !important;
}

/* Pojedyncza, wycentrowana karta metrażu (domyślnie 140 m2) */
.rep-model-selector-custom { justify-content: center !important; }
.rep-model-selector-custom .rep-custom-area-card {
  width: min(560px, 100%);
  margin: 0 auto;
}

/* Rozbudowane informacje o profesorach (.prof-facts-list) */
.professor-bio-card .prof-facts-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0 16px;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
}
.professor-bio-card .prof-fact-row {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  font-size: 13.5px;
  line-height: 1.45;
}
.professor-bio-card .prof-fact-k {
  font-weight: 700;
  color: #032866;
}
.professor-bio-card .prof-fact-v {
  color: #334155;
}
@media (max-width: 600px) {
  .professor-bio-card .prof-fact-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

/* Kafelki podsumowania raportu (.spec-essence-grid): pełne wypełnienie kolorem + animacja błyszczenia */
@keyframes specEssenceShine {
  0%, 55% {
    transform: translateX(-140%) skewX(-22deg);
    opacity: 0;
  }
  65% {
    opacity: 0.9;
  }
  85% {
    transform: translateX(240%) skewX(-22deg);
    opacity: 0;
  }
  100% {
    transform: translateX(240%) skewX(-22deg);
    opacity: 0;
  }
}

.spec-essence-grid .spec-essence-card {
  position: relative !important;
  overflow: hidden !important;
  color: #ffffff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.24) !important;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease !important;
}

.spec-essence-grid .spec-essence-card:nth-child(1) {
  background: linear-gradient(135deg, #0066ff 0%, #0047cc 100%) !important;
  box-shadow: 0 10px 26px rgba(0, 102, 255, 0.26) !important;
}

.spec-essence-grid .spec-essence-card:nth-child(2),
.spec-essence-grid .spec-essence-card.spec-essence-card--savings {
  background: linear-gradient(135deg, #22c55e 0%, #15803d 100%) !important;
  box-shadow: 0 10px 26px rgba(22, 163, 74, 0.28) !important;
}

.spec-essence-grid .spec-essence-card:nth-child(3) {
  background: linear-gradient(135deg, #0c2e59 0%, #032866 100%) !important;
  box-shadow: 0 10px 26px rgba(3, 40, 102, 0.28) !important;
}

.spec-essence-grid .spec-essence-card::after {
  content: "" !important;
  position: absolute !important;
  top: -20% !important;
  left: 0 !important;
  width: 55% !important;
  height: 140% !important;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.32) 50%, transparent 100%) !important;
  transform: translateX(-140%) skewX(-22deg) !important;
  pointer-events: none !important;
  animation: specEssenceShine 4.5s ease-in-out infinite !important;
}

.spec-essence-grid .spec-essence-card:nth-child(2)::after {
  animation-delay: 0.7s !important;
}

.spec-essence-grid .spec-essence-card:nth-child(3)::after {
  animation-delay: 1.4s !important;
}

.spec-essence-grid .spec-essence-card .spec-essence-label {
  color: rgba(255, 255, 255, 0.92) !important;
}

.spec-essence-grid .spec-essence-card .spec-essence-note {
  color: rgba(255, 255, 255, 0.88) !important;
}

.spec-essence-grid .spec-essence-card .spec-essence-val,
.spec-essence-grid .spec-essence-card:nth-child(1) .spec-essence-val,
.spec-essence-grid .spec-essence-card.spec-essence-card--savings .spec-essence-val,
.spec-essence-grid .spec-essence-card:nth-child(3) .spec-essence-val {
  background: rgba(255, 255, 255, 0.16) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.34) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28) !important;
  text-shadow: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .spec-essence-grid .spec-essence-card::after {
    animation: none !important;
    display: none !important;
  }
}

/* Uwydatnienie kwot oszczędności (kafel główny + kalkulator metrażu) */
.spec-essence-grid .spec-essence-card.spec-essence-card--savings {
  box-shadow: 0 14px 34px rgba(22, 163, 74, 0.38) !important;
  border: 2px solid rgba(255, 255, 255, 0.45) !important;
}
.spec-essence-grid .spec-essence-card.spec-essence-card--savings .spec-essence-label {
  font-weight: 800 !important;
  color: #ffffff !important;
}
.spec-essence-grid .spec-essence-card.spec-essence-card--savings .spec-essence-val {
  background: #ffffff !important;
  color: #15803d !important;
  border: 2px solid rgba(255, 255, 255, 0.9) !important;
  font-size: clamp(1.45rem, 2.1vw, 1.8rem) !important;
  font-weight: 900 !important;
  padding: 8px 22px !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14) !important;
}

#repCustomAreaCard .rep-custom-savings-bottom {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%) !important;
  border: 1.5px solid #86efac !important;
  border-radius: 14px !important;
  padding: 12px 16px !important;
  margin-top: 6px !important;
  flex-wrap: wrap !important;
}
#repCustomAreaCard .rep-custom-savings-label {
  font-size: 15px !important;
  font-weight: 800 !important;
  color: #14532d !important;
}
#repCustomAreaCard #repCustomSavingsHint {
  font-size: clamp(22px, 2.2vw, 27px) !important;
  font-weight: 900 !important;
  padding: 10px 26px !important;
  box-shadow: 0 8px 22px rgba(22, 163, 74, 0.34) !important;
}

/* Slajd 1 (#repView1): czytelna tabela z semantycznym kodowaniem kolorów */
#repView1 .rep-table-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-bottom: 14px;
  padding: 10px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
}
#repView1 .rep-tleg-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}
#repView1 .rep-tleg-dot,
#repView1 .rep-et-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
  flex-shrink: 0;
}
#repView1 .rep-tleg-item.is-blue .rep-tleg-dot,
#repView1 .rep-et-dot.is-blue {
  background: #0066ff;
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.16);
}
#repView1 .rep-tleg-item.is-amber .rep-tleg-dot,
#repView1 .rep-et-dot.is-amber {
  background: #d97706;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.16);
}
#repView1 .rep-tleg-item.is-green .rep-tleg-dot,
#repView1 .rep-et-dot.is-green {
  background: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.16);
}

#repView1 .rep-energy-table-wrap {
  border-radius: 18px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  overflow-x: auto;
}
#repView1 .rep-energy-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
#repView1 .rep-energy-table thead th {
  background: #0c2e59;
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 13px 16px;
  white-space: nowrap;
}
#repView1 .rep-energy-table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}
#repView1 .rep-energy-table tbody tr:last-child td {
  border-bottom: none;
}
#repView1 .rep-energy-table tbody tr.rep-row-blue td:first-child {
  border-left: 4px solid #0066ff;
}
#repView1 .rep-energy-table tbody tr.rep-row-amber td:first-child {
  border-left: 4px solid #d97706;
}
#repView1 .rep-energy-table tbody tr.rep-row-green td:first-child {
  border-left: 4px solid #16a34a;
}
#repView1 .rep-energy-table tbody tr.rep-row-blue {
  background: rgba(239, 246, 255, 0.35);
}
#repView1 .rep-energy-table tbody tr.rep-row-amber {
  background: rgba(255, 251, 235, 0.45);
}
#repView1 .rep-energy-table tbody tr.rep-row-green {
  background: rgba(240, 253, 244, 0.45);
}

#repView1 .rep-et-cat {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: #032866;
}
#repView1 .rep-et-sub {
  margin-top: 4px;
  font-size: 12.5px;
  color: #475569;
  line-height: 1.35;
}
#repView1 .rep-et-muted {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
}
#repView1 .rep-et-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
#repView1 .rep-et-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}
#repView1 .rep-et-pill.is-blue {
  background: #0066ff;
  color: #ffffff;
  border: 1px solid #0050d6;
}
#repView1 .rep-et-pill.is-blue-soft {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}
#repView1 .rep-et-pill.is-amber-soft {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}
#repView1 .rep-et-pill.is-green {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
  color: #ffffff !important;
  border: 1.5px solid #86efac !important;
  box-shadow: 0 3px 10px rgba(22, 163, 74, 0.22) !important;
}
#repView1 .rep-et-pill.is-green-soft {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

/* Nadpisanie ID z wcześniejszych reguł pigułek w #repView1 */
#repView1 #kpiHpKwh,
#repView1 #kpiEvKwh {
  background: #0066ff !important;
  color: #ffffff !important;
  border: 1px solid #0050d6 !important;
}
#repView1 #kpiHpCost,
#repView1 #kpiEvCost,
#repView1 #kpiEvPer100 {
  background: #eff6ff !important;
  color: #1d4ed8 !important;
  border: 1px solid #bfdbfe !important;
}
#repView1 #kpiHpGrid,
#repView1 #kpiImportKwh,
#repView1 #kpiImportCost,
#repView1 #kpiImportPrice {
  background: #fffbeb !important;
  color: #b45309 !important;
  border: 1px solid #fde68a !important;
}
#repView1 #kpiPvKwh,
#repView1 #kpiExportKwh,
#repView1 #kpiPvAbove,
#repView1 #kpiHpPv {
  background: #f0fdf4 !important;
  color: #15803d !important;
  border: 1px solid #bbf7d0 !important;
}
#repView1 #kpiPvAuto,
#repView1 #kpiImportVsG11,
#repView1 #kpiExportCredit,
#repView1 #kpiExportVsRcem {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
  color: #ffffff !important;
  border: 1.5px solid #86efac !important;
}

/* Karta z mapą Polski i pinezką Białystok pod zdjęciem domu 140 m2 */
@keyframes rhPinPulse {
  0% { r: 10; opacity: 0.55; }
  70% { r: 24; opacity: 0; }
  100% { r: 24; opacity: 0; }
}
.real-house-map-card {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  margin-top: 18px;
  padding: 18px 24px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid rgba(3, 40, 102, 0.10);
  border-radius: 20px;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
}
.rh-map-svg-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 10px;
}
.rh-poland-svg {
  width: 100%;
  max-width: 248px;
  height: auto;
  display: block;
}
.rh-city-ref {
  font-size: 9.5px;
  font-weight: 600;
  fill: #475569;
  font-family: inherit;
}
.rh-pin-label {
  font-size: 9.5px;
  font-weight: 800;
  fill: #ffffff;
  letter-spacing: 0.03em;
  font-family: inherit;
}
.rh-pin-pulse {
  fill: #0066ff;
  animation: rhPinPulse 2.4s ease-out infinite;
}
.rh-map-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rh-map-eyebrow {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #0066ff;
}
.rh-map-title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: #032866;
  line-height: 1.25;
}
.rh-map-desc {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: #475569;
}
.rh-map-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.rh-map-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  font-size: 12.5px;
  font-weight: 700;
  color: #0f172a;
}
@media (max-width: 760px) {
  .real-house-map-card {
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 16px;
  }
}

/* Prawdziwa mapa Polski (PNG) z pinezką Białystok */
@keyframes rhPinRingPulse {
  0% { transform: translate(-50%, -50%) scale(0.5); opacity: 0.75; }
  75% { transform: translate(-50%, -50%) scale(1.9); opacity: 0; }
  100% { transform: translate(-50%, -50%) scale(1.9); opacity: 0; }
}
.real-house-map-card .rh-map-svg-wrap {
  padding: 6px;
  overflow: hidden;
}
.rh-map-photo-box {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  display: block;
}
.rh-poland-img {
  width: 100%;
  height: auto;
  display: block;
}
.rh-pin-marker {
  position: absolute;
  transform: translate(-50%, -100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  z-index: 3;
}
.rh-pin-badge {
  margin-bottom: 3px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #032866;
  color: #ffffff;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.03em;
  white-space: nowrap;
  box-shadow: 0 3px 8px rgba(3, 40, 102, 0.28);
}
.rh-pin-svg {
  display: block;
  filter: drop-shadow(0 3px 6px rgba(0, 102, 255, 0.35));
}
.rh-pin-pulse-ring {
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(0, 102, 255, 0.35);
  animation: rhPinRingPulse 2.2s ease-out infinite;
  z-index: -1;
}

/* ==========================================================================
   ŻYCIE STRONY: SENSOWNE ANIMACJE, GLOW I PULSACJE (GPU-FRIENDLY)
   ========================================================================== */
@keyframes ahSoftGlowGreen {
  0%, 100% {
    box-shadow: 0 10px 28px rgba(22, 163, 74, 0.28), 0 0 0 0 rgba(34, 197, 94, 0.28);
  }
  50% {
    box-shadow: 0 14px 36px rgba(22, 163, 74, 0.42), 0 0 0 6px rgba(34, 197, 94, 0);
  }
}

@keyframes ahSoftGlowBlue {
  0%, 100% {
    box-shadow: 0 6px 18px rgba(0, 102, 255, 0.24), 0 0 0 0 rgba(0, 102, 255, 0.26);
  }
  50% {
    box-shadow: 0 10px 26px rgba(0, 102, 255, 0.38), 0 0 0 6px rgba(0, 102, 255, 0);
  }
}

@keyframes ahPinFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes ahLiveDotPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
  }
  60% {
    transform: scale(1.15);
    box-shadow: 0 0 0 7px rgba(34, 197, 94, 0);
  }
}

@keyframes ahInputGlow {
  0%, 100% {
    box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.12), 0 4px 12px rgba(0, 102, 255, 0.10);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(0, 102, 255, 0.20), 0 6px 18px rgba(0, 102, 255, 0.18);
  }
}

/* 1. Zielony glow na kluczowych wynikach oszczędności */
.spec-essence-grid .spec-essence-card.spec-essence-card--savings {
  animation: ahSoftGlowGreen 3.6s ease-in-out infinite !important;
}

#repCustomAreaCard #repCustomSavingsHint,
#repView0.rep-card-10yr-light .corp-savings-big-val,
.report-charts-section .rep-savings-hero-card .rep-hero-card-amount {
  animation: ahSoftGlowGreen 3.4s ease-in-out infinite !important;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

#repCustomAreaCard #repCustomSavingsHint:hover,
#repView0.rep-card-10yr-light .corp-savings-big-val:hover,
.report-charts-section .rep-savings-hero-card .rep-hero-card-amount:hover {
  transform: scale(1.03) !important;
}

/* 2. Akcent na głównych przyciskach CTA i aktywnym polu metrażu */
.nav-cta,
.rep-custom-calc-btn,
.action-row-buttons .btn-secondary {
  transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.26s ease, filter 0.26s ease !important;
}

.nav-cta:hover,
.rep-custom-calc-btn:hover,
.action-row-buttons .btn-secondary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 24px rgba(0, 102, 255, 0.38) !important;
  filter: brightness(1.04) !important;
}

.rep-custom-input-wrap {
  animation: ahInputGlow 3.2s ease-in-out infinite !important;
}

/* 3. Unosząca się pinezka na mapie Polski i żywa kropka statusu */
.rh-pin-svg {
  animation: ahPinFloat 2.6s ease-in-out infinite !important;
}

.real-dot {
  animation: ahLiveDotPulse 2.2s ease-out infinite !important;
}

/* 4. Płynne unoszenie i subtelny glow kart na hover */
.spec-essence-grid .spec-essence-card:hover,
.hero-value-pill:hover,
.algo-card:hover,
.guarantee-card:hover,
.professor-bio-card:hover,
.bento-card:hover {
  transform: translateY(-4px) !important;
}

.hero-value-pill,
.algo-card,
.guarantee-card,
.professor-bio-card,
.bento-card {
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.32s ease, border-color 0.32s ease !important;
}

.hero-value-pill:hover .pill-icon-glow {
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(0, 102, 255, 0.22);
}

.hero-value-pill .pill-icon-glow {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}

/* 5. Tabela zużycia energii: żywe podświetlenie wiersza na hover */
#repView1 .rep-energy-table tbody tr {
  transition: background-color 0.22s ease !important;
}
#repView1 .rep-energy-table tbody tr.rep-row-blue:hover {
  background: rgba(219, 234, 254, 0.6) !important;
}
#repView1 .rep-energy-table tbody tr.rep-row-amber:hover {
  background: rgba(254, 243, 199, 0.65) !important;
}
#repView1 .rep-energy-table tbody tr.rep-row-green:hover {
  background: rgba(220, 252, 231, 0.65) !important;
}

/* 6. Symulator 12 mies.: delikatny niebieski glow aktywnego przycisku otwarcia */
.rep-year-sim-toggle:hover,
.rep-year-sim-toggle.is-open {
  box-shadow: 0 8px 22px rgba(0, 102, 255, 0.22) !important;
}

@media (prefers-reduced-motion: reduce) {
  .spec-essence-grid .spec-essence-card.spec-essence-card--savings,
  #repCustomAreaCard #repCustomSavingsHint,
  #repView0.rep-card-10yr-light .corp-savings-big-val,
  .report-charts-section .rep-savings-hero-card .rep-hero-card-amount,
  .rep-custom-input-wrap,
  .rh-pin-svg,
  .rh-pin-pulse-ring,
  .real-dot {
    animation: none !important;
  }
}

/* Tabela #repView1: koszty w kolorze czerwonym */
#repView1 .rep-tleg-item.is-red .rep-tleg-dot {
  background: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.16);
}
#repView1 #kpiHpCost,
#repView1 #kpiEvCost,
#repView1 #kpiEvPer100,
#repView1 #kpiImportCost,
#repView1 #kpiImportPrice {
  background: #fef2f2 !important;
  color: #b91c1c !important;
  border: 1px solid #fecaca !important;
}

/* Slajd 3 (#repView3): niekolorowe wartości w tabeli i skrócie faktury bez ramek pigułek */
#repView3 .rep-td-pill,
#tblBuyPrice,
#tblNetPrice,
#tblEvPrice,
#tblG11Price,
#tblBuyBasis,
#tblNetBasis,
#tblEvBasis,
#tblG11Basis,
#repView3 .rep-pill-blue,
#repView3 .rep-pill-red,
#repView3 .rep-pill-yellow,
#invGrossCost,
#invDeposit,
#invBonus {
  background: transparent !important;
  background-image: none !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  color: #0f172a !important;
  font-weight: 700 !important;
}

/* Slajd 4 (#repView0): mocne uwydatnienie 10-letnich oszczędności */
#repView0.rep-card-10yr-light .corp-leg-item.green {
  background: #f0fdf4 !important;
  border: 1.5px solid #4ade80 !important;
  color: #14532d !important;
}
#repView0.rep-card-10yr-light .corp-leg-item.green strong {
  color: #15803d !important;
  font-weight: 900 !important;
}

#repView0.rep-card-10yr-light .corp-savings-big-banner {
  position: relative !important;
  overflow: hidden !important;
  background: linear-gradient(135deg, #22c55e 0%, #15803d 100%) !important;
  border: 2px solid rgba(255, 255, 255, 0.45) !important;
  box-shadow: 0 14px 36px rgba(22, 163, 74, 0.36) !important;
  padding: 24px 30px !important;
  animation: ahSoftGlowGreen 3.6s ease-in-out infinite !important;
}
#repView0.rep-card-10yr-light .corp-savings-big-banner::after {
  content: "" !important;
  position: absolute !important;
  top: -20% !important;
  left: 0 !important;
  width: 45% !important;
  height: 140% !important;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.28) 50%, transparent 100%) !important;
  transform: translateX(-140%) skewX(-22deg) !important;
  pointer-events: none !important;
  animation: specEssenceShine 4.5s ease-in-out infinite !important;
}
#repView0.rep-card-10yr-light .corp-savings-big-eyebrow {
  color: #ffffff !important;
  font-size: 13.5px !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
}
#repView0.rep-card-10yr-light .corp-savings-big-sub {
  color: rgba(255, 255, 255, 0.94) !important;
  font-size: 15.5px !important;
  font-weight: 600 !important;
}
#repView0.rep-card-10yr-light .corp-savings-big-val {
  background: #ffffff !important;
  background-image: none !important;
  color: #15803d !important;
  border: 2px solid rgba(255, 255, 255, 0.95) !important;
  font-size: clamp(32px, 3.6vw, 44px) !important;
  font-weight: 900 !important;
  padding: 12px 34px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16) !important;
  animation: none !important;
}

@media (prefers-reduced-motion: reduce) {
  #repView0.rep-card-10yr-light .corp-savings-big-banner,
  #repView0.rep-card-10yr-light .corp-savings-big-banner::after {
    animation: none !important;
  }
}

/

/* ==========================================================================
   PREMIUM WYGLĄD I ANIMACJE DANYCH POD PASKIEM (#repView1 - #repView0)
   ========================================================================== */
@keyframes ahDotBreath {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0.85; }
}

/* Ramka zewnętrzna wszystkich 4 slajdów raportu */
.rep-card-wrapper {
  border: 1px solid rgba(3, 40, 102, 0.10) !important;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
  transition: box-shadow 0.35s ease !important;
}

/* Slajd 1 (#repView1): premium nagłówek tabeli, animowane kropki i błysk na zielonych zyskach */
#repView1 .rep-energy-table-wrap {
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.05) !important;
  border-color: rgba(3, 40, 102, 0.12) !important;
}
#repView1 .rep-energy-table thead th,
#repView3 .rep-table thead th {
  background: linear-gradient(135deg, #0c2e59 0%, #032866 100%) !important;
  color: #ffffff !important;
  letter-spacing: 0.04em !important;
}
#repView1 .rep-et-dot,
#repView1 .rep-tleg-dot {
  animation: ahDotBreath 2.8s ease-in-out infinite !important;
}
#repView1 .rep-et-pill {
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.24s ease !important;
}
#repView1 .rep-et-pill:hover {
  transform: translateY(-1px) scale(1.03) !important;
}
#repView1 #kpiPvAuto,
#repView1 #kpiImportVsG11,
#repView1 #kpiExportCredit,
#repView1 #kpiExportVsRcem {
  position: relative !important;
  overflow: hidden !important;
  animation: ahSoftGlowGreen 3.6s ease-in-out infinite !important;
}
#repView1 #kpiPvAuto::after,
#repView1 #kpiExportCredit::after {
  content: "" !important;
  position: absolute !important;
  top: -20% !important;
  left: 0 !important;
  width: 45% !important;
  height: 140% !important;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.34) 50%, transparent 100%) !important;
  transform: translateX(-140%) skewX(-22deg) !important;
  pointer-events: none !important;
  animation: specEssenceShine 4.8s ease-in-out infinite !important;
}

/* Slajd 2 (#repView2): płynne podświetlenie słupków Kaskady Oszczędności */
#repView2 .wf-bar {
  transition: filter 0.25s ease, opacity 0.25s ease !important;
  cursor: pointer;
}
#repView2 .wf-bar:hover {
  filter: brightness(1.07) drop-shadow(0 6px 14px rgba(15, 23, 42, 0.16)) !important;
}
#repView2 .wf-val-pill {
  transition: filter 0.25s ease !important;
}

/* Slajd 3 (#repView3): czytelne podświetlenie wierszy, glow faktury i oszczędności */
#repView3 .rep-table tbody tr {
  transition: background-color 0.22s ease !important;
}
#repView3 .rep-table tbody tr:hover {
  background: rgba(239, 246, 255, 0.55) !important;
}
#repView3 .rep-invoice-card,
#repView3 .rep-savings-hero-card {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease !important;
}
#repView3 .rep-invoice-card:hover,
#repView3 .rep-savings-hero-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08) !important;
}
#repView3 .rep-invoice-pay-banner {
  animation: ahSoftGlowBlue 3.6s ease-in-out infinite !important;
}

@media (prefers-reduced-motion: reduce) {
  #repView1 .rep-et-dot,
  #repView1 .rep-tleg-dot,
  #repView1 #kpiPvAuto,
  #repView1 #kpiImportVsG11,
  #repView1 #kpiExportCredit,
  #repView1 #kpiExportVsRcem,
  #repView1 #kpiPvAuto::after,
  #repView1 #kpiExportCredit::after,
  #repView3 .rep-invoice-pay-banner {
    animation: none !important;
  }
}

/* ==========================================================================
   ANIMACJE PULSACJI I GLOW WEWNĄTRZ DANYCH RAPORTU (#repView1 - #repView0)
   ========================================================================== */
@keyframes ahSoftGlowRed {
  0%, 100% {
    box-shadow: 0 3px 10px rgba(220, 38, 38, 0.10), 0 0 0 0 rgba(220, 38, 38, 0.16);
  }
  50% {
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.22), 0 0 0 4px rgba(220, 38, 38, 0);
  }
}

@keyframes ahSoftGlowAmber {
  0%, 100% {
    box-shadow: 0 3px 10px rgba(217, 119, 6, 0.12), 0 0 0 0 rgba(217, 119, 6, 0.16);
  }
  50% {
    box-shadow: 0 6px 16px rgba(217, 119, 6, 0.24), 0 0 0 4px rgba(217, 119, 6, 0);
  }
}

@keyframes ahDashFlow {
  to { stroke-dashoffset: -16; }
}

@keyframes ahSvgPointPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.22); }
}

/* Slajd 1 (#repView1): żywy puls i glow wg kategorii */
#repView1 #kpiHpKwh,
#repView1 #kpiEvKwh {
  animation: ahSoftGlowBlue 3.4s ease-in-out infinite !important;
}
#repView1 #kpiHpCost,
#repView1 #kpiEvCost,
#repView1 #kpiImportCost {
  animation: ahSoftGlowRed 3.6s ease-in-out infinite !important;
}
#repView1 #kpiImportKwh {
  animation: ahSoftGlowAmber 3.8s ease-in-out infinite !important;
}
#repView1 #kpiImportVsG11,
#repView1 #kpiExportVsRcem {
  position: relative !important;
  overflow: hidden !important;
}
#repView1 #kpiImportVsG11::after,
#repView1 #kpiExportVsRcem::after {
  content: "" !important;
  position: absolute !important;
  top: -20% !important;
  left: 0 !important;
  width: 45% !important;
  height: 140% !important;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.34) 50%, transparent 100%) !important;
  transform: translateX(-140%) skewX(-22deg) !important;
  pointer-events: none !important;
  animation: specEssenceShine 4.8s ease-in-out infinite !important;
  animation-delay: 1.4s !important;
}

/* Slajd 2 (#repView2): płynące łączniki i delikatny puls słupków */
#repView2 .wf-conn {
  animation: ahDashFlow 1.8s linear infinite !important;
}
#repView2 #wf-bar-6 {
  filter: drop-shadow(0 4px 10px rgba(0, 102, 255, 0.28));
}

/* Slajd 3 (#repView3): błysk na niebieskim banerze zapłaty i zielonej oszczędności */
#repView3 .rep-invoice-pay-banner,
#repView3 #invSavingsHero,
#repView3 .rep-hero-card-amount {
  position: relative !important;
  overflow: hidden !important;
}
#repView3 .rep-invoice-pay-banner::after,
#repView3 #invSavingsHero::after,
#repView3 .rep-hero-card-amount::after {
  content: "" !important;
  position: absolute !important;
  top: -20% !important;
  left: 0 !important;
  width: 45% !important;
  height: 140% !important;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.28) 50%, transparent 100%) !important;
  transform: translateX(-140%) skewX(-22deg) !important;
  pointer-events: none !important;
  animation: specEssenceShine 4.6s ease-in-out infinite !important;
}

/* Slajd 4 (#repView0): puls punktów końcowych wykresu 10-letniego i legendy oszczędności */
#repView0.rep-card-10yr-light .corp-dot-green.pulse,
#repView0.rep-card-10yr-light .corp-dot-cyan.pulse,
#repView0.rep-card-10yr-light .corp-dot-red.pulse {
  transform-box: fill-box;
  transform-origin: center;
  animation: ahSvgPointPulse 2.4s ease-in-out infinite !important;
}
#repView0.rep-card-10yr-light .corp-leg-item.green {
  animation: ahSoftGlowGreen 3.8s ease-in-out infinite !important;
}

@media (prefers-reduced-motion: reduce) {
  #repView1 #kpiHpKwh,
  #repView1 #kpiEvKwh,
  #repView1 #kpiHpCost,
  #repView1 #kpiEvCost,
  #repView1 #kpiImportCost,
  #repView1 #kpiImportKwh,
  #repView1 #kpiImportVsG11::after,
  #repView1 #kpiExportVsRcem::after,
  #repView2 .wf-conn,
  #repView3 .rep-invoice-pay-banner::after,
  #repView3 #invSavingsHero::after,
  #repView3 .rep-hero-card-amount::after,
  #repView0.rep-card-10yr-light .corp-dot-green.pulse,
  #repView0.rep-card-10yr-light .corp-dot-cyan.pulse,
  #repView0.rep-card-10yr-light .corp-dot-red.pulse,
  #repView0.rep-card-10yr-light .corp-leg-item.green {
    animation: none !important;
  }
}

/* Slajd 2 (#repView2): wyraźny puls i glow na czerwonym (G11) i niebieskim (Zapłacono netto) */
@keyframes ahWfPulseRed {
  0%, 100% {
    filter: drop-shadow(0 2px 6px rgba(220, 38, 38, 0.25));
    transform: scale(1);
  }
  50% {
    filter: drop-shadow(0 6px 18px rgba(220, 38, 38, 0.58));
    transform: scale(1.025);
  }
}

@keyframes ahWfPulseBlue {
  0%, 100% {
    filter: drop-shadow(0 2px 6px rgba(0, 102, 255, 0.28));
    transform: scale(1);
  }
  50% {
    filter: drop-shadow(0 6px 18px rgba(0, 102, 255, 0.65));
    transform: scale(1.03);
  }
}

#repView2 #wf-bar-0,
#repView2 #wf-bar-0 + .wf-val-pill {
  transform-box: fill-box;
  transform-origin: center;
  animation: ahWfPulseRed 2.4s ease-in-out infinite !important;
}

#repView2 #wf-bar-6,
#repView2 #wf-bar-6 + .wf-val-pill {
  transform-box: fill-box;
  transform-origin: center;
  animation: ahWfPulseBlue 2.4s ease-in-out infinite !important;
  animation-delay: 1.2s !important;
}

#repView2 .rep-box-red {
  animation: ahSoftGlowRed 2.4s ease-in-out infinite !important;
}

#repView2 .rep-box-brown {
  animation: ahSoftGlowBlue 2.4s ease-in-out infinite !important;
  animation-delay: 1.2s !important;
}

@media (prefers-reduced-motion: reduce) {
  #repView2 #wf-bar-0,
  #repView2 #wf-bar-0 + .wf-val-pill,
  #repView2 #wf-bar-6,
  #repView2 #wf-bar-6 + .wf-val-pill,
  #repView2 .rep-box-red,
  #repView2 .rep-box-brown {
    animation: none !important;
  }
}

/* Slajd 4 (#repView0): wyraźna pulsacja oszczędności (baner, linia, punkty, legenda) */
@keyframes ahSavingsPillPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16), 0 0 0 0 rgba(255, 255, 255, 0.55);
  }
  50% {
    transform: scale(1.045);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22), 0 0 0 10px rgba(255, 255, 255, 0);
  }
}

@keyframes ahSaveLinePulse {
  0%, 100% {
    filter: drop-shadow(0 0 3px rgba(34, 197, 94, 0.35));
  }
  50% {
    filter: drop-shadow(0 0 11px rgba(34, 197, 94, 0.85));
  }
}

@keyframes ahSaveDotPulseStrong {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 4px rgba(34, 197, 94, 0.55));
  }
  50% {
    transform: scale(1.42);
    filter: drop-shadow(0 0 12px rgba(34, 197, 94, 0.95));
  }
}

#repView0.rep-card-10yr-light .corp-savings-big-val {
  animation: ahSavingsPillPulse 2.3s ease-in-out infinite !important;
}

#repView0.rep-card-10yr-light #corpSaveLine {
  animation: ahSaveLinePulse 2.3s ease-in-out infinite !important;
}

#repView0.rep-card-10yr-light .corp-dot-green.pulse,
#repView0.rep-card-10yr-light #dotSave10Y {
  transform-box: fill-box;
  transform-origin: center;
  animation: ahSaveDotPulseStrong 2.3s ease-in-out infinite !important;
}

#repView0.rep-card-10yr-light .corp-leg-item.green {
  animation: ahSoftGlowGreen 2.3s ease-in-out infinite !important;
}

@media (prefers-reduced-motion: reduce) {
  #repView0.rep-card-10yr-light .corp-savings-big-val,
  #repView0.rep-card-10yr-light #corpSaveLine,
  #repView0.rep-card-10yr-light .corp-dot-green.pulse,
  #repView0.rep-card-10yr-light #dotSave10Y,
  #repView0.rep-card-10yr-light .corp-leg-item.green {
    animation: none !important;
  }
}

/* Slajd 3 (#repView3): wyraźna pulsacja niebieskiego banera i zielonej oszczędności */
@keyframes ahInvoiceBluePulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 6px 18px rgba(0, 102, 255, 0.28), 0 0 0 0 rgba(0, 102, 255, 0.34);
  }
  50% {
    transform: scale(1.022);
    box-shadow: 0 12px 28px rgba(0, 102, 255, 0.45), 0 0 0 8px rgba(0, 102, 255, 0);
  }
}

@keyframes ahInvoiceGreenPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 8px 22px rgba(22, 163, 74, 0.28), 0 0 0 0 rgba(34, 197, 94, 0.36);
  }
  50% {
    transform: scale(1.035);
    box-shadow: 0 14px 32px rgba(22, 163, 74, 0.46), 0 0 0 9px rgba(34, 197, 94, 0);
  }
}

#repView3 .rep-invoice-pay-banner {
  animation: ahInvoiceBluePulse 2.4s ease-in-out infinite !important;
}

#repView3 #invSavingsHero,
#repView3 .rep-hero-card-amount {
  animation: ahInvoiceGreenPulse 2.4s ease-in-out infinite !important;
  animation-delay: 1.2s !important;
}

@media (prefers-reduced-motion: reduce) {
  #repView3 .rep-invoice-pay-banner,
  #repView3 #invSavingsHero,
  #repView3 .rep-hero-card-amount {
    animation: none !important;
  }
}

/* Płynne przełączanie schematu Dom <-> Firma bez zacinania obrazów */
.dg-house-backdrop-img,
.dg-stage .dg-item,
.dg-stage .dg-item img {
  will-change: transform, opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* 3 kolorowe kafle (.spec-essence-grid): pulsacja i kolorowy glow wszystkich trzech */
@keyframes ahCardPulseBlue {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 10px 26px rgba(0, 102, 255, 0.26), 0 0 0 0 rgba(0, 102, 255, 0.32);
  }
  50% {
    transform: scale(1.018);
    box-shadow: 0 14px 34px rgba(0, 102, 255, 0.42), 0 0 0 8px rgba(0, 102, 255, 0);
  }
}

@keyframes ahCardPulseGreen {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 14px 34px rgba(22, 163, 74, 0.34), 0 0 0 0 rgba(34, 197, 94, 0.38);
  }
  50% {
    transform: scale(1.024);
    box-shadow: 0 18px 42px rgba(22, 163, 74, 0.50), 0 0 0 10px rgba(34, 197, 94, 0);
  }
}

@keyframes ahCardPulseNavy {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 10px 26px rgba(3, 40, 102, 0.28), 0 0 0 0 rgba(12, 46, 89, 0.32);
  }
  50% {
    transform: scale(1.018);
    box-shadow: 0 14px 34px rgba(3, 40, 102, 0.44), 0 0 0 8px rgba(12, 46, 89, 0);
  }
}

.spec-essence-grid .spec-essence-card:nth-child(1) {
  animation: ahCardPulseBlue 2.6s ease-in-out infinite !important;
}
.spec-essence-grid .spec-essence-card:nth-child(2),
.spec-essence-grid .spec-essence-card.spec-essence-card--savings {
  animation: ahCardPulseGreen 2.6s ease-in-out infinite !important;
  animation-delay: 0.45s !important;
}
.spec-essence-grid .spec-essence-card:nth-child(3) {
  animation: ahCardPulseNavy 2.6s ease-in-out infinite !important;
  animation-delay: 0.9s !important;
}

@media (prefers-reduced-motion: reduce) {
  .spec-essence-grid .spec-essence-card:nth-child(1),
  .spec-essence-grid .spec-essence-card:nth-child(2),
  .spec-essence-grid .spec-essence-card.spec-essence-card--savings,
  .spec-essence-grid .spec-essence-card:nth-child(3) {
    animation: none !important;
  }
}

/* ==========================================================================
   UJEDNOLICONA RAMKA ZEWNĘTRZNA + GRADIENT PRZYCISKÓW (STYL "ROZWIĄZANIA DLA DOMU")
   ========================================================================== */
.nav-actions .btn-primary,
.btn-primary,
.btn-toggle-system-details,
.rep-custom-calc-btn,
.action-row-buttons .btn-primary,
.action-row-buttons .btn-secondary,
.hero-intro-ctas .btn-primary,
.rep-carousel-pill.active,
.rep-tab-btn.active {
  background: linear-gradient(135deg, #0071e3 0%, #00c6ff 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 999px !important;
  box-shadow:
    0 4px 14px rgba(0, 113, 227, 0.30),
    0 0 0 4px rgba(238, 242, 246, 0.94),
    0 0 0 5px rgba(15, 23, 42, 0.11) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease !important;
}

.nav-actions .btn-primary:hover,
.btn-primary:hover,
.btn-toggle-system-details:hover,
.rep-custom-calc-btn:hover,
.action-row-buttons .btn-primary:hover,
.action-row-buttons .btn-secondary:hover,
.hero-intro-ctas .btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow:
    0 6px 18px rgba(0, 113, 227, 0.38),
    0 0 0 4px rgba(238, 242, 246, 0.96),
    0 0 0 5px rgba(0, 113, 227, 0.24) !important;
}

.btn-transfer-system-house {
  background: linear-gradient(135deg, #059669 0%, #22c55e 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 999px !important;
  box-shadow:
    0 4px 14px rgba(22, 163, 74, 0.30),
    0 0 0 4px rgba(238, 242, 246, 0.94),
    0 0 0 5px rgba(15, 23, 42, 0.11) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease !important;
}

.btn-transfer-system-house:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow:
    0 6px 18px rgba(22, 163, 74, 0.38),
    0 0 0 4px rgba(238, 242, 246, 0.96),
    0 0 0 5px rgba(5, 150, 105, 0.26) !important;
}

.rep-period-trigger {
  background: linear-gradient(135deg, #0b2545 0%, #164882 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 999px !important;
  box-shadow:
    0 4px 14px rgba(11, 37, 69, 0.24),
    0 0 0 4px rgba(238, 242, 246, 0.94),
    0 0 0 5px rgba(15, 23, 42, 0.11) !important;
}

.action-row-buttons .btn-pdf,
.rep-carousel-nav-btn {
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%) !important;
  color: #0f172a !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  border-radius: 999px !important;
  box-shadow:
    0 3px 10px rgba(15, 23, 42, 0.06),
    0 0 0 4px rgba(238, 242, 246, 0.94),
    0 0 0 5px rgba(15, 23, 42, 0.10) !important;
}

.btn-voice-story {
  background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 999px !important;
  box-shadow:
    0 4px 14px rgba(99, 102, 241, 0.30),
    0 0 0 4px rgba(238, 242, 246, 0.94),
    0 0 0 5px rgba(15, 23, 42, 0.11) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease !important;
}

.btn-voice-story:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow:
    0 6px 18px rgba(168, 85, 247, 0.38),
    0 0 0 4px rgba(238, 242, 246, 0.96),
    0 0 0 5px rgba(99, 102, 241, 0.26) !important;
}

.btn-voice-story.active {
  background: linear-gradient(135deg, #4f46e5 0%, #ec4899 100%) !important;
  color: #ffffff !important;
  border: none !important;
}

.btn-top-autoplay {
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 999px !important;
  box-shadow:
    0 4px 14px rgba(234, 88, 12, 0.30),
    0 0 0 4px rgba(238, 242, 246, 0.94),
    0 0 0 5px rgba(15, 23, 42, 0.11) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease !important;
}

.btn-top-autoplay:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow:
    0 6px 18px rgba(234, 88, 12, 0.38),
    0 0 0 4px rgba(238, 242, 246, 0.96),
    0 0 0 5px rgba(245, 158, 11, 0.28) !important;
}

.btn-top-autoplay.playing {
  background: linear-gradient(135deg, #ea580c 0%, #dc2626 100%) !important;
  color: #ffffff !important;
  border: none !important;
}

.btn-voice-story svg,
.btn-top-autoplay svg {
  color: #ffffff !important;
}

.action-row-buttons .btn-pdf:hover,
.rep-carousel-nav-btn:hover:not(:disabled) {
  background: linear-gradient(180deg, #ffffff 0%, #e8eff7 100%) !important;
  box-shadow:
    0 5px 14px rgba(15, 23, 42, 0.10),
    0 0 0 4px rgba(238, 242, 246, 0.96),
    0 0 0 5px rgba(0, 113, 227, 0.20) !important;
}

/* ==========================================================================
   POŁYSK I GLOW LICZB OSZCZĘDNOŚCI (TEN SAM EFEKT CO +48 888 466 158)
   ========================================================================== */
.savings-shine-text {
  display: inline-block;
  background: linear-gradient(
    110deg,
    #15803d 0%,
    #16a34a 35%,
    #6ee7b7 50%,
    #16a34a 65%,
    #166534 100%
  );
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #16a34a;
  filter: drop-shadow(0 2px 10px rgba(22, 163, 74, 0.24));
  animation: phoneShineGlow 4.2s ease-in-out infinite;
}

.savings-shine-text-light,
#repView3 #invSavingsHero.savings-shine-text-light {
  display: inline-block;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: linear-gradient(
    110deg,
    #ffffff 0%,
    #ecfdf5 35%,
    #a7f3d0 50%,
    #ecfdf5 65%,
    #ffffff 100%
  ) !important;
  background-size: 220% auto !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: #ffffff !important;
  filter: drop-shadow(0 2px 10px rgba(255, 255, 255, 0.34));
  animation: phoneShineGlow 4.2s ease-in-out infinite !important;
}

#repView3 #invSavingsHero.savings-shine-text-light::after {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .savings-shine-text,
  .savings-shine-text-light {
    animation: none !important;
  }
}

/* ==========================================================================
   AVATARY PROFESORÓW: STATYCZNE NIEBIESKIE OBRAMOWANIE (BEZ ANIMACJI)
   ========================================================================== */
.professor-bio-card .prof-avatar-badge.has-photo {
  width: 74px !important;
  height: 74px !important;
  padding: 0 !important;
  border: 3px solid #ffffff !important;
  border-radius: 50% !important;
  background: #e2e8f0 !important;
  box-shadow: 0 0 0 2.5px #0071e3, 0 6px 16px rgba(0, 113, 227, 0.16) !important;
  animation: none !important;
}

.professor-bio-card .prof-avatar-badge.has-photo img {
  border-radius: 50% !important;
  border: none !important;
}

.action-row-buttons .btn-pdf,
.action-row-buttons .btn-pdf span,
.action-row-buttons .btn-pdf svg {
  color: #032866 !important;
  stroke: #032866 !important;
}

/* ==========================================================================
   ODTWARZACZ OPOWIEŚCI AUDIO (#voiceStoryPanel) NA BIAŁYM TLE
   ========================================================================== */
#voiceStoryPanel.voice-story-panel {
  background: #ffffff !important;
  border: 1.5px solid rgba(3, 40, 102, 0.12) !important;
  color: #0f172a !important;
  box-shadow: 0 14px 36px rgba(3, 40, 102, 0.08) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

#voiceStoryPanel .voice-live-badge {
  background: rgba(0, 113, 227, 0.09) !important;
  color: #0062cc !important;
  border: 1px solid rgba(0, 113, 227, 0.24) !important;
}

#voiceStoryPanel .voice-chapter-time {
  background: #fef9c3 !important;
  color: #a16207 !important;
  border: 1px solid rgba(202, 138, 4, 0.28) !important;
}

#voiceStoryPanel .voice-ctrl-btn,
#voiceStoryPanel .voice-ctrl-close {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
}

#voiceStoryPanel .voice-ctrl-btn:hover,
#voiceStoryPanel .voice-ctrl-close:hover {
  background: #e2e8f0 !important;
}

#voiceStoryPanel .voice-ctrl-btn.voice-ctrl-play {
  background: linear-gradient(135deg, #0071e3 0%, #00c6ff 100%) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(0, 113, 227, 0.28) !important;
}

#voiceStoryPanel .voice-story-progress-bar {
  background: #e2e8f0 !important;
}

#voiceStoryPanel .voice-story-progress-fill {
  background: linear-gradient(90deg, #0071e3 0%, #00c6ff 100%) !important;
}

#voiceStoryPanel .voice-ch-pill {
  background: #f8fafc !important;
  color: #334155 !important;
  border: 1px solid rgba(15, 23, 42, 0.10) !important;
}

#voiceStoryPanel .voice-ch-pill:hover:not(.active) {
  background: #eef2f7 !important;
  color: #0f172a !important;
}

#voiceStoryPanel .voice-ch-pill.active {
  background: linear-gradient(135deg, #0071e3 0%, #00c6ff 100%) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 3px 10px rgba(0, 113, 227, 0.26) !important;
}

#voiceStoryPanel .voice-story-body {
  background: #f8fafc !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
}

#voiceStoryPanel .voice-story-heading {
  color: #0f172a !important;
}

#voiceStoryPanel .voice-story-script {
  color: #475569 !important;
}

#systemDiagramCard.voice-story-open .diagram-activity-panel,
#systemDiagramCard .diagram-activity-panel.is-hidden-by-voice {
  display: none !important;
}

/* ==========================================================================
   PORSCHE ARCHITECTURAL LIGHT MODE + SZLACHETNY GRANAT (#0B192C)
   (ZASADA NADRZĘDNA: .hero-ai-face-anchor oraz .dg-stage pozostają w 100% bez zmian)
   ========================================================================== */
:root {
  --nord-surface: #FFFFFF;
  --nord-surface-alt: #F5F7FA;
  --accent-blue: #0B192C;
  --porsche-navy: #0B192C;
  --porsche-navy-hover: #162B49;
}

/* 1. Naprzemienne jasne sekcje (#FFFFFF <-> #F5F7FA) */
.hero-intro-section,
.report-charts-section,
.models-section,
.contact-section {
  background-color: #FFFFFF !important;
}

.system-section#system,
.science-section,
.guarantee-section,
.partners-bottom-section {
  background-color: #F5F7FA !important;
}

/* 2. Minimalistyczny navbar jak w Porsche (białe tło, 4 linki #0B192C, zero niebieskich pigułek) */
.global-nav {
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border-bottom: 1px solid rgba(11, 25, 44, 0.08) !important;
  box-shadow: none !important;
}

.brand-name {
  color: #0B192C !important;
  letter-spacing: 0.08em !important;
  font-weight: 700 !important;
}

.nav-links > li > a,
.nav-links a,
.nav-links a:hover,
.nav-links a.active {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #0B192C !important;
  font-weight: 600 !important;
  padding: 8px 4px !important;
  margin: 0 14px !important;
  border-bottom: 2px solid transparent !important;
  transition: border-color 0.2s ease, opacity 0.2s ease !important;
}

.nav-links > li > a:hover,
.nav-links > li > a.active {
  border-bottom-color: #0B192C !important;
  opacity: 0.9;
}

/* 3. Szlachetny granat (#0B192C) na nagłówkach */
.hero-intro-headline,
.section-title,
.rep-main-title,
.real-house-title,
.algo-title,
.choice-title,
.prof-name,
.voice-story-heading,
.human-story-title,
.model-title,
.site-name,
h1.hero-intro-headline {
  color: #0B192C !important;
}

/* 4. Zastąpienie jaskrawych niebieskich/cyjanowych/zielonych przycisków granatem #0B192C */
.nav-actions .btn-primary,
.btn-primary,
.btn-toggle-system-details,
.btn-transfer-system-house,
.btn-voice-story,
.btn-top-autoplay,
.rep-custom-calc-btn,
.action-row-buttons .btn-primary,
.action-row-buttons .btn-secondary,
.hero-intro-ctas .btn-primary,
.rep-period-trigger,
.rep-month-dropdown-trigger,
.rep-carousel-pill.active,
.rep-carousel-dot.active,
.rep-tab-btn.active,
#systemDiagramCard .diagram-sector-tab.active,
#voiceStoryPanel .voice-ch-pill.active,
#voiceStoryPanel .voice-ctrl-btn.voice-ctrl-play {
  background: #0B192C !important;
  background-image: none !important;
  color: #FFFFFF !important;
  border: 1px solid #0B192C !important;
  box-shadow: 0 4px 14px rgba(11, 25, 44, 0.14) !important;
  animation: none !important;
}

.nav-actions .btn-primary:hover,
.btn-primary:hover,
.btn-toggle-system-details:hover,
.btn-transfer-system-house:hover,
.btn-voice-story:hover,
.btn-top-autoplay:hover,
.rep-custom-calc-btn:hover,
.action-row-buttons .btn-primary:hover,
.action-row-buttons .btn-secondary:hover,
.hero-intro-ctas .btn-primary:hover,
.rep-period-trigger:hover {
  background: #162B49 !important;
  background-image: none !important;
  border-color: #162B49 !important;
  box-shadow: 0 6px 18px rgba(11, 25, 44, 0.20) !important;
  filter: none !important;
}

/* Zewnętrzna taca przełącznika sektorowego przy zachowaniu nienaruszonego diagramu */
#systemDiagramCard .diagram-sector-tabs {
  background: #F5F7FA !important;
  border: 1px solid rgba(11, 25, 44, 0.12) !important;
  box-shadow: none !important;
}

#systemDiagramCard .diagram-sector-tab:not(.active) {
  color: #0B192C !important;
}

/* Przyciski drugorzędne / PDF / nawigacja karuzeli w czystej bieli */
.action-row-buttons .btn-pdf,
.rep-carousel-nav-btn {
  background: #FFFFFF !important;
  background-image: none !important;
  color: #0B192C !important;
  border: 1px solid rgba(11, 25, 44, 0.22) !important;
  box-shadow: none !important;
}

.action-row-buttons .btn-pdf span {
  color: #0B192C !important;
}

.action-row-buttons .btn-pdf svg {
  color: #0B192C !important;
  stroke: #0B192C !important;
}

.action-row-buttons .btn-pdf:hover,
.rep-carousel-nav-btn:hover:not(:disabled) {
  background: #F5F7FA !important;
  border-color: #0B192C !important;
  box-shadow: none !important;
}

/* 5. Etykiety, odznaki, pigułki, ikony i banery poza diagramem w palecie #0B192C + #F5F7FA */
.section-eyebrow,
.eyebrow,
.section-badge,
.hero-badge-pill,
.real-house-eyebrow,
.rep-model-pill-badge,
.rep-status-banner-badge,
.algo-icon-box,
.system-pill,
.prof-role-badge,
#voiceStoryPanel .voice-live-badge,
#voiceStoryPanel .voice-chapter-time {
  background: #F5F7FA !important;
  background-image: none !important;
  color: #0B192C !important;
  border: 1px solid rgba(11, 25, 44, 0.14) !important;
  box-shadow: none !important;
}

.human-story-hour-badge,
.rh-pin-badge,
#repView3 .rep-invoice-pay-banner,
#repView3 .rep-hero-card-amount,
.corp-savings-big-banner,
.badge-savings-pill,
.model-cost-pill {
  background: #0B192C !important;
  background-image: none !important;
  color: #FFFFFF !important;
  border-color: #0B192C !important;
  box-shadow: 0 4px 14px rgba(11, 25, 44, 0.12) !important;
  animation: none !important;
}

.human-story-dot,
.real-dot {
  background: #0B192C !important;
  box-shadow: none !important;
}

.rep-custom-input-wrap {
  border-color: rgba(11, 25, 44, 0.35) !important;
  box-shadow: none !important;
}

.rep-custom-input-wrap:focus-within {
  border-color: #0B192C !important;
  box-shadow: 0 0 0 3px rgba(11, 25, 44, 0.10) !important;
}

.savings-shine-text,
.savings-shine-text-light {
  background: none !important;
  background-image: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  -webkit-text-fill-color: currentColor !important;
  color: inherit !important;
  filter: none !important;
  animation: none !important;
}

.corp-savings-big-val,
.corp-savings-big-val .savings-shine-text {
  background: #FFFFFF !important;
  color: #0B192C !important;
  -webkit-text-fill-color: #0B192C !important;
}

#repView3 #invSavingsHero.savings-shine-text-light {
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
}

/* ==========================================================================
   REGUŁY 3-9 PORSCHE LIGHT MODE + iOS / ANDROID INTUITION
   ========================================================================== */

/* Navbar iOS/Apple na desktopie: po lewej Logo ACTIVE HOME, na środku 5 linków, po prawej język + przycisk #007AFF */
@media (min-width: 992px) {
  .global-nav .nav-container {
    display: grid !important;
    grid-template-columns: auto 1fr auto !important;
    align-items: center !important;
    max-width: 1360px !important;
    margin: 0 auto !important;
    column-gap: 20px !important;
  }
  .global-nav .brand-link {
    grid-column: 1 !important;
    grid-row: 1 !important;
    justify-self: start !important;
    margin: 0 !important;
  }
  .global-nav .nav-links {
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: center !important;
    margin: 0 !important;
  }
  .global-nav .nav-actions {
    grid-column: 3 !important;
    grid-row: 1 !important;
    justify-self: end !important;
  }
}

.global-nav .nav-links > li > a:hover,
.global-nav .nav-links > li > a.active {
  color: #007AFF !important;
  border-bottom-color: #007AFF !important;
  opacity: 1 !important;
}

.nav-actions .btn-primary {
  border-radius: 6px !important;
  background: #0B192C !important;
  background-image: none !important;
  color: #FFFFFF !important;
  padding: 10px 20px !important;
  box-shadow: none !important;
  border: 1px solid #0B192C !important;
}

.nav-actions .btn-primary:hover {
  background: #162B49 !important;
  box-shadow: none !important;
}

/* Reguła 4: Usunięcie flagi + czyste karty parametrów Hero */
.hero-top-norway-flag {
  display: none !important;
}

.hero-intro-pills {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  gap: 14px !important;
}

.hero-value-pill {
  background: #F5F7FA !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}

/* Reguła 5: Karty fotograficzne Porsche (12px, bez cieni, pełne zdjęcie, granatowy gradient, strzałka) */
#algorytmy-ai .algo-card {
  position: relative !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  border: none !important;
  overflow: hidden !important;
  min-height: 310px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  align-items: flex-start !important;
  padding: 26px 76px 26px 26px !important;
  background: #0B192C !important;
  text-align: left !important;
}

#algorytmy-ai .algo-card .porsche-card-bg {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  z-index: 0 !important;
  transition: transform 0.55s ease !important;
}

#algorytmy-ai .algo-card:hover .porsche-card-bg {
  transform: scale(1.04);
}

#algorytmy-ai .algo-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 25, 44, 0.14) 10%, rgba(11, 25, 44, 0.78) 58%, rgba(11, 25, 44, 0.96) 100%);
  z-index: 1;
}

#algorytmy-ai .algo-card .algo-icon-box {
  display: none !important;
}

#algorytmy-ai .algo-card .algo-title,
#algorytmy-ai .algo-card .algo-desc {
  position: relative;
  z-index: 2;
  color: #FFFFFF !important;
}

#algorytmy-ai .algo-card .algo-title {
  margin-bottom: 6px !important;
}

#algorytmy-ai .algo-card .algo-desc {
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  margin: 0 !important;
}

#algorytmy-ai .algo-card .porsche-card-arrow,
#stavangerPhotoGrid .stavanger-card::after,
#profesorowie .professors-card::after {
  content: '→';
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  background: rgba(11, 25, 44, 0.45);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  z-index: 4;
  transition: transform 0.25s ease, background 0.25s ease;
}

#algorytmy-ai .algo-card:hover .porsche-card-arrow,
#stavangerPhotoGrid .stavanger-card:hover::after,
#profesorowie .professors-card:hover::after {
  transform: translateX(3px);
  background: #FFFFFF;
  color: #0B192C;
}

#stavangerPhotoGrid .stavanger-card,
#profesorowie .professors-card {
  position: relative !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  border: none !important;
  overflow: hidden !important;
  background: #0B192C !important;
  min-height: 320px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
}

#stavangerPhotoGrid .stavanger-card .card-photo-wrapper,
#profesorowie .professors-card .professors-photo {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  z-index: 0 !important;
}

#stavangerPhotoGrid .stavanger-card .card-photo-wrapper img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

#stavangerPhotoGrid .stavanger-card::before,
#profesorowie .professors-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 25, 44, 0.08) 12%, rgba(11, 25, 44, 0.78) 60%, rgba(11, 25, 44, 0.96) 100%);
  z-index: 1;
}

#stavangerPhotoGrid .stavanger-card .card-content::after {
  display: none !important;
}

#stavangerPhotoGrid .stavanger-card .card-content {
  position: relative !important;
  z-index: 2 !important;
  background: transparent !important;
  padding: 24px 72px 24px 24px !important;
  color: #FFFFFF !important;
}

#stavangerPhotoGrid .stavanger-card .card-desc,
#stavangerPhotoGrid .stavanger-card .card-meta-row {
  display: none !important;
}

.stavanger-filter-btn {
  background: #FFFFFF !important;
  color: #0B192C !important;
  border: 1px solid rgba(11, 25, 44, 0.18) !important;
  box-shadow: none !important;
}

.stavanger-filter-btn span {
  color: #0B192C !important;
}

.stavanger-filter-btn.active,
.stavanger-filter-btn.active:hover {
  background: #0B192C !important;
  color: #FFFFFF !important;
  border-color: #0B192C !important;
}

.stavanger-filter-btn.active span {
  color: #FFFFFF !important;
}

@media (max-width: 640px) {
  #stavangerPhotoGrid.stavanger-photo-bento {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  #stavangerPhotoGrid.stavanger-photo-bento .stavanger-card {
    min-height: 220px !important;
  }
  #stavangerPhotoGrid.stavanger-photo-bento .stavanger-card .card-title {
    -webkit-line-clamp: unset !important;
    overflow: visible !important;
    white-space: normal !important;
  }
}

#profesorowie .professors-card .professors-caption {
  position: relative !important;
  z-index: 2 !important;
  background: transparent !important;
  padding: 24px 72px 24px 24px !important;
  color: #FFFFFF !important;
}

#stavangerPhotoGrid .stavanger-card .card-title,
#stavangerPhotoGrid .stavanger-card .card-desc,
#stavangerPhotoGrid .stavanger-card .meta-tag,
#profesorowie .professors-card h4,
#profesorowie .professors-card p {
  color: #FFFFFF !important;
}

#stavangerPhotoGrid .stavanger-card .card-desc,
#profesorowie .professors-card p {
  color: rgba(255, 255, 255, 0.85) !important;
}

#stavangerPhotoGrid .stavanger-card .card-badges-top,
#profesorowie .professors-card .prof-affiliations-row {
  position: relative;
  z-index: 2;
}

#profesorowie .professor-bio-card {
  position: relative !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  border: none !important;
  overflow: hidden !important;
  background: linear-gradient(180deg, #13294B 0%, #0B192C 100%) !important;
  color: #FFFFFF !important;
  padding-bottom: 28px !important;
}

#profesorowie .professor-bio-card .prof-name,
#profesorowie .professor-bio-card .prof-dept,
#profesorowie .professor-bio-card .prof-desc {
  color: #FFFFFF !important;
}

#profesorowie .professor-bio-card .prof-desc {
  color: rgba(255, 255, 255, 0.88) !important;
}

#profesorowie .professor-bio-card .prof-role-badge {
  background: rgba(255, 255, 255, 0.14) !important;
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
}

#profesorowie .professor-bio-card .btn-prof-article {
  background: rgba(255, 255, 255, 0.10) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  color: #FFFFFF !important;
}

#profesorowie .professor-bio-card .article-btn-title,
#profesorowie .professor-bio-card .article-btn-sub,
#profesorowie .professor-bio-card .article-micro-meta,
#profesorowie .professor-bio-card .article-micro-meta span {
  color: rgba(255, 255, 255, 0.90) !important;
}

#profesorowie .professor-bio-card .article-btn-action {
  width: 40px !important;
  height: 40px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  border: 1.5px solid rgba(255, 255, 255, 0.85) !important;
  background: rgba(11, 25, 44, 0.45) !important;
  color: #FFFFFF !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

#profesorowie .professor-bio-card .article-btn-action .btn-action-label {
  display: none !important;
}

/* Reguła 6: Duże, wyśrodkowane nagłówki i oddech wokół sekcji (padding: 110px 0) */
.system-section#system,
.report-charts-section,
.science-section,
.guarantee-section,
.models-section,
.contact-section {
  padding-top: 110px !important;
  padding-bottom: 110px !important;
}

.section-title,
.rep-main-title,
.real-house-title,
.stavanger-main-title {
  font-size: clamp(32px, 3.5vw, 46px) !important;
  color: #0B192C !important;
  text-align: center !important;
  letter-spacing: -0.025em !important;
  line-height: 1.15 !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Reguła 7: Czyste, płaskie tabele rozliczeń bez kolorowych tabletek */
#repView1 .rep-table-legend,
#repView1 .rep-et-dot {
  display: none !important;
}

#repView1 .rep-table,
#repView3 .rep-table {
  background: #FFFFFF !important;
  border-collapse: collapse !important;
  box-shadow: none !important;
  border: none !important;
}

#repView1 .rep-table thead tr,
#repView3 .rep-table thead tr {
  background: #FFFFFF !important;
  border-bottom: 2px solid #0B192C !important;
}

#repView1 .rep-table thead th,
#repView3 .rep-table thead th {
  background: #FFFFFF !important;
  color: #0B192C !important;
  font-weight: 700 !important;
  border: none !important;
  border-bottom: 2px solid #0B192C !important;
  padding: 14px 12px !important;
}

#repView1 .rep-table tbody tr,
#repView3 .rep-table tbody tr {
  background: #FFFFFF !important;
  border-bottom: 1px solid #E2E8F0 !important;
}

#repView1 .rep-table tbody td,
#repView3 .rep-table tbody td {
  background: #FFFFFF !important;
  border: none !important;
  padding: 16px 12px !important;
  color: #0B192C !important;
}

#repView1 .rep-table th:nth-child(n+2),
#repView1 .rep-table td:nth-child(n+2),
#repView3 .rep-table th:nth-child(n+2),
#repView3 .rep-table td:nth-child(n+2) {
  text-align: right !important;
}

#repView1 .rep-et-pills {
  justify-content: flex-end !important;
  gap: 12px !important;
}

#repView1 .rep-et-pill,
#repView3 .rep-td-pill {
  background: transparent !important;
  background-image: none !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  color: #0B192C !important;
  font-weight: 600 !important;
  animation: none !important;
}

/* Reguła 8: Duży płynny suwak metrażu + Segmented Control + Pływający Bottom Tab Bar na mobile */
#repCustomAreaCard .porsche-slider-controls {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  padding-top: 4px;
}

.porsche-slider-top-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.porsche-area-readout {
  font-size: 28px;
  font-weight: 800;
  color: #0B192C;
  letter-spacing: -0.02em;
}

.porsche-area-live-save {
  font-size: 14px;
  font-weight: 700;
  color: #0B192C;
  background: #F5F7FA;
  border: 1px solid #E2E8F0;
  padding: 5px 12px;
  border-radius: 999px;
}

.porsche-slider-track-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.porsche-slider-bound {
  font-size: 12px;
  font-weight: 600;
  color: #64748B;
  white-space: nowrap;
}

.porsche-area-slider {
  flex: 1;
  width: 100%;
  height: 8px;
  accent-color: #0B192C;
  background: #E2E8F0;
  border-radius: 999px;
  cursor: pointer;
}

.rep-carousel-dots {
  background: #F5F7FA !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 10px !important;
  padding: 4px !important;
  box-shadow: none !important;
}

.rep-carousel-dot {
  border-radius: 7px !important;
}

.ios-bottom-tab-bar {
  display: none;
}

@media (max-width: 768px) {
  body {
    padding-bottom: 78px !important;
  }

  .ios-bottom-tab-bar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 9990;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    padding: 8px 6px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(11, 25, 44, 0.12);
    box-shadow: 0 10px 28px rgba(11, 25, 44, 0.14);
  }

  .ios-tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    text-decoration: none;
    color: #0B192C;
    font-size: 11px;
    font-weight: 600;
    opacity: 0.72;
  }

  .ios-tab-item.active {
    opacity: 1;
    color: #0B192C;
  }
}

/* Reguła 9: Elegancka stopka Porsche w głębokim granacie (#0B192C) */
.global-footer {
  background: #0B192C !important;
  color: #FFFFFF !important;
  padding: 72px 0 48px !important;
  border-top: none !important;
}

.porsche-footer-lang-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 28px;
  margin-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.porsche-footer-lang-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.72);
}

.porsche-footer-lang-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.porsche-footer-lang-btn {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 6px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.porsche-footer-lang-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #FFFFFF;
}

.footer-nav-grid.porsche-footer-cols-3 {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 36px !important;
}

@media (max-width: 768px) {
  .footer-nav-grid.porsche-footer-cols-3 {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
}

.global-footer .footer-col h5 {
  color: #FFFFFF !important;
}

.global-footer .footer-col ul li a,
.global-footer .footer-legal-bar,
.global-footer .footer-legal-links a {
  color: rgba(255, 255, 255, 0.78) !important;
}

.global-footer .footer-col ul li a:hover,
.global-footer .footer-legal-links a:hover {
  color: #FFFFFF !important;
}

.porsche-footer-brand-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 38px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #FFFFFF;
}

.porsche-footer-logo {
  height: 26px;
  width: auto;
  filter: brightness(0) invert(1);
}

/* ==========================================================================
   APPLE iOS / ANDROID LIGHT SYSTEM PALETTE (#007AFF / #0062CC + #F2F2F7)
   ========================================================================== */
:root {
  --nord-surface: #FFFFFF;
  --nord-surface-alt: #F2F2F7;
  --accent-blue: #007AFF;
  --ios-blue: #007AFF;
  --ios-blue-hover: #0062CC;
  --ios-surface: #F2F2F7;
}

/* Chłodne systemowe tło #F2F2F7 na sekcjach, kartach i panelach pomocniczych */
.system-section#system,
.science-section,
.guarantee-section,
.partners-bottom-section,
.hero-value-pill,
.porsche-area-live-save,
.section-eyebrow,
.eyebrow,
.section-badge,
.hero-badge-pill,
.real-house-eyebrow,
.rep-model-pill-badge,
.rep-status-banner-badge,
.algo-icon-box,
.system-pill,
.prof-role-badge,
#voiceStoryPanel .voice-live-badge,
#voiceStoryPanel .voice-chapter-time {
  background-color: #F2F2F7 !important;
  background: #F2F2F7 !important;
}

/* Główne nagłówki (H1, H2) pozostają w głębokim granacie #0B192C */
h1.hero-intro-headline,
.hero-intro-headline,
.section-title,
.rep-main-title,
.real-house-title,
.stavanger-main-title {
  color: #0B192C !important;
}

/* Segmented Controls (#F2F2F7 taca + aktywna zakładka #007AFF) */
#systemDiagramCard .diagram-sector-tabs,
.rep-carousel-dots {
  background: #F2F2F7 !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 12px !important;
  padding: 4px !important;
  box-shadow: none !important;
}

#systemDiagramCard .diagram-sector-tab,
.rep-carousel-dot {
  border-radius: 9px !important;
}

/* Główne przyciski akcji, aktywne przełączniki zakładek i ikony akcji w systemowym błękicie #007AFF */
.nav-actions .btn-primary,
.btn-primary,
.btn-toggle-system-details,
.btn-transfer-system-house,
.btn-voice-story,
.btn-top-autoplay,
.rep-custom-calc-btn,
.action-row-buttons .btn-primary,
.action-row-buttons .btn-secondary,
.hero-intro-ctas .btn-primary,
.rep-period-trigger,
.rep-month-dropdown-trigger,
.rep-carousel-pill.active,
.rep-carousel-dot.active,
.rep-tab-btn.active,
#systemDiagramCard .diagram-sector-tab.active,
#voiceStoryPanel .voice-ch-pill.active,
#voiceStoryPanel .voice-ctrl-btn.voice-ctrl-play,
.stavanger-filter-btn.active,
.stavanger-filter-btn.active:hover {
  background: #007AFF !important;
  background-image: none !important;
  color: #FFFFFF !important;
  border: 1px solid #007AFF !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 12px rgba(0, 122, 255, 0.22) !important;
  animation: none !important;
}

.nav-actions .btn-primary:hover,
.btn-primary:hover,
.btn-toggle-system-details:hover,
.btn-transfer-system-house:hover,
.btn-voice-story:hover,
.btn-top-autoplay:hover,
.rep-custom-calc-btn:hover,
.action-row-buttons .btn-primary:hover,
.action-row-buttons .btn-secondary:hover,
.hero-intro-ctas .btn-primary:hover,
.rep-period-trigger:hover,
.rep-month-dropdown-trigger:hover,
#voiceStoryPanel .voice-ctrl-btn.voice-ctrl-play:hover {
  background: #0062CC !important;
  background-image: none !important;
  border-color: #0062CC !important;
  box-shadow: 0 6px 16px rgba(0, 98, 204, 0.28) !important;
}

/* Drugorzędne przyciski z zaokrągleniem 10px w stylu iOS */
.action-row-buttons .btn-pdf,
.rep-carousel-nav-btn,
.stavanger-filter-btn {
  border-radius: 10px !important;
}

#repCustomAreaCard #repCustomSavingsHint.porsche-area-live-save {
  background: #F2F2F7 !important;
  background-image: none !important;
  color: #0B192C !important;
  border: 1px solid #E2E8F0 !important;
  box-shadow: none !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  padding: 6px 14px !important;
  border-radius: 999px !important;
  animation: none !important;
}

/* Odznaki, pigułki aktywne, wskaźniki i banery wyników w błękicie #007AFF */
.human-story-hour-badge,
.rh-pin-badge,
#repView3 .rep-invoice-pay-banner,
#repView3 .rep-hero-card-amount,
.corp-savings-big-banner,
.badge-savings-pill,
.model-cost-pill,
.human-story-dot,
.real-dot {
  background: #007AFF !important;
  background-image: none !important;
  border-color: #007AFF !important;
}

.corp-savings-big-val,
.corp-savings-big-val .savings-shine-text {
  background: #FFFFFF !important;
  color: #007AFF !important;
  -webkit-text-fill-color: #007AFF !important;
}

/* Suwak kalkulatora metrażu w błękicie #007AFF */
.porsche-area-slider {
  accent-color: #007AFF !important;
}

.rep-custom-input-wrap:focus-within {
  border-color: #007AFF !important;
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.14) !important;
}

/* Aktywny element dolnego paska iOS Bottom Tab Bar */
@media (max-width: 768px) {
  .ios-tab-item.active {
    color: #007AFF !important;
    opacity: 1 !important;
  }
}

/* ==========================================================================
   APPLE FINANSE / iOS TABELA + KALKULATOR + MIKRO-ANIMACJE MOTION
   ========================================================================== */

/* 1. Czysta tabela #repView1 i #repView3 bez kolorowych tabletek i prostokątów */
#repView1 .rep-et-pill::after,
#repView3 .rep-td-pill::after {
  display: none !important;
}

#repView1 .rep-energy-table tbody tr,
#repView3 .rep-table tbody tr {
  background: #FFFFFF !important;
  border-bottom: 1px solid #E2E8F0 !important;
  transition: background-color 0.18s ease !important;
}

#repView1 .rep-energy-table tbody tr td:first-child {
  border-left: none !important;
}

#repView1 .rep-energy-table tbody tr:hover,
#repView1 .rep-energy-table tbody tr:hover td,
#repView3 .rep-table tbody tr:hover,
#repView3 .rep-table tbody tr:hover td {
  background-color: #F8FAFC !important;
}

/* Wolumen energii (kWh): czysty, pogrubiony ciemny granat #0B192C */
#repView1 #kpiHpKwh,
#repView1 #kpiEvKwh,
#repView1 #kpiPvKwh,
#repView1 #kpiImportKwh,
#repView1 #kpiExportKwh {
  background: transparent !important;
  background-image: none !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  color: #0B192C !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  animation: none !important;
}

/* Koszty i neutralne wartości: czysty grafit #334155 */
#repView1 #kpiHpCost,
#repView1 #kpiEvCost,
#repView1 #kpiImportCost,
#repView1 #kpiHpGrid,
#repView1 #kpiHpPv,
#repView1 #kpiEvPer100,
#repView1 #kpiImportPrice,
#repView3 #tblBuyPrice,
#repView3 #tblBuyBasis,
#repView3 #tblNetPrice,
#repView3 #tblNetBasis,
#repView3 #tblG11Price,
#repView3 #tblG11Basis,
#repView3 #tblEvPrice,
#repView3 #tblEvBasis {
  background: transparent !important;
  background-image: none !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  color: #334155 !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  animation: none !important;
}

/* Przychody i zyski: subtelne pastelowe etykiety o zaokrągleniu 6px */
#repView1 #kpiExportCredit,
#repView1 #kpiImportVsG11,
#repView1 #kpiExportVsRcem {
  background: #DCFCE7 !important;
  background-image: none !important;
  color: #15803D !important;
  border: none !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  padding: 4px 10px !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  animation: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease !important;
}

#repView1 #kpiPvAuto,
#repView1 #kpiPvAbove {
  background: #E0F2FE !important;
  background-image: none !important;
  color: #007AFF !important;
  border: none !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  padding: 4px 10px !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  animation: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease !important;
}

#repView1 .rep-energy-table th:nth-child(n+2),
#repView1 .rep-energy-table td:nth-child(n+2),
#repView1 .rep-energy-table td:nth-child(n+2) .rep-et-sub,
#repView3 .rep-table th:nth-child(n+2),
#repView3 .rep-table td:nth-child(n+2) {
  text-align: right !important;
}

#repView1 .rep-et-pills {
  justify-content: flex-end !important;
  gap: 10px !important;
}

/* 2. Kalkulator metrażu: elegancki blok ~9 200 zł/rok + błękitny suwak z białym uchwytem */
#repCustomAreaCard #repCustomSavingsHint.porsche-area-live-save {
  background: #F0F7FF !important;
  background-image: none !important;
  color: #0B192C !important;
  border: 1.5px solid #0B192C !important;
  border-radius: 12px !important;
  padding: 8px 18px !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  box-shadow: none !important;
  animation: none !important;
}

#repCustomAreaInput.porsche-area-slider {
  -webkit-appearance: none !important;
  appearance: none !important;
  width: 100% !important;
  height: 8px !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, #007AFF 0%, #007AFF var(--slider-pct, 30%), #DBEAFE var(--slider-pct, 30%), #DBEAFE 100%) !important;
  outline: none !important;
  border: none !important;
}

#repCustomAreaInput.porsche-area-slider::-webkit-slider-thumb {
  -webkit-appearance: none !important;
  appearance: none !important;
  width: 24px !important;
  height: 24px !important;
  border-radius: 50% !important;
  background: #FFFFFF !important;
  border: 2.5px solid #007AFF !important;
  box-shadow: 0 2px 8px rgba(0, 122, 255, 0.30) !important;
  cursor: grab !important;
  animation: iosThumbBreathing 3s ease-in-out infinite !important;
}

#repCustomAreaInput.porsche-area-slider::-moz-range-thumb {
  width: 24px !important;
  height: 24px !important;
  border-radius: 50% !important;
  background: #FFFFFF !important;
  border: 2.5px solid #007AFF !important;
  box-shadow: 0 2px 8px rgba(0, 122, 255, 0.30) !important;
  cursor: grab !important;
  animation: iosThumbBreathing 3s ease-in-out infinite !important;
}

/* 3. Pulsacje Live (pulse-ring), oddychanie CTA i suwaka, płynne wiersze tabeli */
@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 122, 255, 0.55);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(0, 122, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 122, 255, 0);
  }
}

#repCustomAreaBadge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

#repCustomAreaBadge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #007AFF;
  display: inline-block;
  flex-shrink: 0;
  animation: pulse-ring 2.2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

@keyframes iosBreathingGlow {
  0%, 100% {
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.20), 0 0 0 0 rgba(0, 122, 255, 0.28);
  }
  50% {
    box-shadow: 0 6px 18px rgba(0, 122, 255, 0.38), 0 0 0 6px rgba(0, 122, 255, 0);
  }
}

@keyframes iosThumbBreathing {
  0%, 100% {
    box-shadow: 0 2px 7px rgba(15, 23, 42, 0.18), 0 0 0 0 rgba(0, 122, 255, 0.32);
  }
  50% {
    box-shadow: 0 3px 11px rgba(0, 122, 255, 0.36), 0 0 0 6px rgba(0, 122, 255, 0);
  }
}

.nav-actions .btn-primary {
  animation: iosBreathingGlow 3s ease-in-out infinite !important;
}

@keyframes iosRowFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#repView1 .rep-energy-table tbody tr,
#repView3 .rep-table tbody tr {
  animation: iosRowFadeIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}

#repView1 .rep-energy-table tbody tr:nth-child(1) { animation-delay: 0.04s; }
#repView1 .rep-energy-table tbody tr:nth-child(2) { animation-delay: 0.09s; }
#repView1 .rep-energy-table tbody tr:nth-child(3) { animation-delay: 0.14s; }
#repView1 .rep-energy-table tbody tr:nth-child(4) { animation-delay: 0.19s; }
#repView1 .rep-energy-table tbody tr:nth-child(5) { animation-delay: 0.24s; }

#repView1 .rep-energy-table tbody tr:hover #kpiExportCredit,
#repView1 .rep-energy-table tbody tr:hover #kpiImportVsG11,
#repView1 .rep-energy-table tbody tr:hover #kpiExportVsRcem,
#repView1 .rep-energy-table tbody tr:hover #kpiPvAuto,
#repView1 .rep-energy-table tbody tr:hover #kpiPvAbove {
  transform: translateY(-1px);
  filter: brightness(0.97);
  box-shadow: 0 3px 10px rgba(0, 122, 255, 0.14) !important;
}

@media (prefers-reduced-motion: reduce) {
  #repCustomAreaBadge::before,
  .nav-actions .btn-primary,
  #repCustomAreaInput.porsche-area-slider::-webkit-slider-thumb,
  #repCustomAreaInput.porsche-area-slider::-moz-range-thumb,
  #repView1 .rep-energy-table tbody tr,
  #repView3 .rep-table tbody tr {
    animation: none !important;
  }
}

/* ==========================================================================
   1. PŁYWAJĄCA KAPSUŁA NAWIGACJI (max-width: 1360px, border-radius: 999px)
   ========================================================================== */
.global-nav {
  position: fixed !important;
  top: 16px !important;
  left: 0 !important;
  right: 0 !important;
  width: calc(100% - 32px) !important;
  max-width: 1360px !important;
  margin: 0 auto !important;
  border-radius: 999px !important;
  background: #FFFFFF !important;
  border: 1px solid rgba(11, 25, 44, 0.06) !important;
  box-shadow: 0 4px 20px rgba(11, 25, 44, 0.08) !important;
  padding: 6px 18px !important;
}

.global-nav .nav-container {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 8px !important;
  column-gap: 10px !important;
}

@media (min-width: 992px) {
  .global-nav .nav-links > li > a {
    font-size: 13px !important;
    margin: 0 7px !important;
    white-space: nowrap !important;
  }
}

.nav-actions {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.nav-actions .lang-switcher-btn {
  padding: 6px 10px !important;
  font-size: 13px !important;
}

.nav-actions .btn-nav-secondary-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  padding: 8px 13px !important;
  border-radius: 999px !important;
  background: #F2F2F7 !important;
  color: #0B192C !important;
  border: 1px solid #E2E8F0 !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: background 0.2s ease, border-color 0.2s ease !important;
}

.nav-actions .btn-nav-secondary-pill:hover {
  background: #E2E8F0 !important;
}

@media (max-width: 991px) {
  .nav-actions .btn-nav-secondary-pill {
    display: none !important;
  }
}

.nav-actions .btn-primary {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  border-radius: 999px !important;
  padding: 8px 15px !important;
  font-size: 12.5px !important;
  white-space: nowrap !important;
}

/* ==========================================================================
   2. SEKCJA "GOTOWE MODELE DOMÓW" - POZIOMA KARUZELA KART
   ========================================================================== */
.porsche-models-head-wrap {
  text-align: center;
  margin: 48px auto 18px;
}

.porsche-models-carousel-heading {
  font-size: clamp(28px, 3.2vw, 42px) !important;
  font-weight: 700 !important;
  color: #0B192C !important;
  text-align: center !important;
  letter-spacing: -0.025em !important;
  margin: 0 !important;
}

.filter-bar.porsche-capsule-filter-bar {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: fit-content !important;
  margin: 0 auto 32px !important;
  padding: 5px !important;
  border-radius: 999px !important;
  background: #E2E8F0 !important;
  gap: 6px !important;
}

.filter-bar.porsche-capsule-filter-bar .filter-btn {
  border-radius: 999px !important;
  padding: 8px 22px !important;
  border: none !important;
  background: transparent !important;
  background-image: none !important;
  color: #0B192C !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  box-shadow: none !important;
  cursor: pointer !important;
}

.filter-bar.porsche-capsule-filter-bar .filter-btn.active {
  background: #FFFFFF !important;
  color: #0B192C !important;
  box-shadow: 0 2px 8px rgba(11, 25, 44, 0.10) !important;
}

.models-grid.porsche-models-carousel {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  scroll-snap-type: x mandatory !important;
  scroll-behavior: smooth !important;
  gap: 24px !important;
  padding: 8px 4px 20px !important;
  scrollbar-width: none !important;
}

.models-grid.porsche-models-carousel::-webkit-scrollbar {
  display: none !important;
}

.models-grid.porsche-models-carousel .model-card {
  flex: 0 0 calc(31% - 16px) !important;
  max-width: calc(31% - 16px) !important;
  min-width: 300px !important;
  scroll-snap-align: start !important;
  background: #FFFFFF !important;
  border-radius: 16px !important;
  padding: 28px !important;
  border: 1px solid #E2E8F0 !important;
  box-shadow: 0 4px 20px rgba(11, 25, 44, 0.05) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  text-align: left !important;
}

@media (max-width: 1024px) {
  .models-grid.porsche-models-carousel .model-card {
    flex: 0 0 82% !important;
    max-width: 82% !important;
  }
}

.pm-card-meta {
  font-size: 12px !important;
  color: #64748B !important;
  font-weight: 500 !important;
  margin-bottom: 6px !important;
  line-height: 1.35 !important;
}

.pm-card-title {
  font-size: 24px !important;
  font-weight: 800 !important;
  color: #0B192C !important;
  margin: 0 0 6px 0 !important;
  line-height: 1.2 !important;
}

.pm-card-savings {
  margin-bottom: 18px !important;
  line-height: 1.3 !important;
}

.pm-sav-label {
  font-size: 13px !important;
  color: #475569 !important;
  font-weight: 500 !important;
}

.pm-sav-val {
  font-size: 20px !important;
  font-weight: 800 !important;
  color: #007AFF !important;
}

.pm-card-img-wrap {
  width: 100% !important;
  height: 200px !important;
  background: #FFFFFF !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto 22px !important;
  overflow: hidden !important;
  border-radius: 10px !important;
}

.pm-card-img-wrap img.model-img-main {
  width: 100% !important;
  height: 200px !important;
  object-fit: contain !important;
  background: #FFFFFF !important;
  display: block !important;
}

.pm-card-buttons {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 10px !important;
  width: 100% !important;
  margin-bottom: 16px !important;
}

.pm-btn-configure {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 999px !important;
  background: #007AFF !important;
  color: #FFFFFF !important;
  border: 1px solid #007AFF !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  padding: 10px 8px !important;
  white-space: nowrap !important;
  text-align: center !important;
  text-decoration: none !important;
  transition: background 0.2s ease, border-color 0.2s ease !important;
}

.pm-btn-configure:hover {
  background: #0062CC !important;
  border-color: #0062CC !important;
}

.pm-btn-more {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 999px !important;
  background: #FFFFFF !important;
  color: #0B192C !important;
  border: 1px solid #CBD5E1 !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  padding: 10px 8px !important;
  white-space: nowrap !important;
  text-align: center !important;
  cursor: pointer !important;
  transition: background 0.2s ease, border-color 0.2s ease !important;
}

.pm-btn-more:hover {
  background: #F2F2F7 !important;
  border-color: #0B192C !important;
}

.pm-card-tech-line {
  font-size: 11px !important;
  color: #64748B !important;
  line-height: 1.4 !important;
  width: 100% !important;
  margin-top: auto !important;
}

.models-carousel-controls-wrap {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.models-carousel-bar {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 999px;
  background: #E2E8F0;
  padding: 6px;
}

.models-car-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: #FFFFFF;
  color: #0B192C;
  font-size: 15px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(11, 25, 44, 0.10);
  transition: transform 0.2s ease, background 0.2s ease;
}

.models-car-arrow:hover {
  transform: scale(1.06);
}

.models-car-dots {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 4px;
}

.models-car-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: rgba(11, 25, 44, 0.28);
  cursor: pointer;
  transition: width 0.25s ease, background-color 0.25s ease;
}

.models-car-dot.active {
  width: 28px;
  background: #FFFFFF;
  box-shadow: 0 1px 3px rgba(11, 25, 44, 0.12);
}

/* ============================================================
   Footer Redesign (Exclusive Footer Updates)
   ============================================================ */
.porsche-footer-lang-bar {
  display: none !important;
}

.porsche-footer-brand-top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 32px;
}

.porsche-footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #FFFFFF;
}

.porsche-footer-logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  padding: 5px 7px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.global-footer .porsche-footer-logo {
  filter: none !important;
  -webkit-filter: none !important;
  height: 26px !important;
  width: auto !important;
  display: block !important;
}

.porsche-footer-brand-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #FFFFFF;
}

.global-footer .footer-nav-grid.porsche-footer-cols-3 {
  margin-bottom: 36px !important;
}

.global-footer .footer-legal-bar {
  padding: 22px 0 !important;
  margin: 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10) !important;
}

.footer-bottom-notes-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  flex-wrap: wrap;
}

.global-footer .footer-top-notes {
  flex: 1 1 680px;
  font-size: 11px !important;
  line-height: 1.6 !important;
  color: #64748B !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
}

.footer-top-scroll-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none !important;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.footer-top-scroll-btn:hover {
  background: #007AFF;
  border-color: #007AFF;
  transform: translateY(-2px);
}

/* V115: Monochromatic Footer Social Media Icons */
.footer-social-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-social-link {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #94A3B8 !important;
  text-decoration: none !important;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.footer-social-link:hover {
  color: #FFFFFF !important;
  background: rgba(0, 122, 255, 0.22);
  border-color: rgba(56, 189, 248, 0.55);
  transform: translateY(-2px);
}

.footer-social-link svg {
  width: 18px;
  height: 18px;
  display: block;
}

/* ============================================================
   Navbar Dropdown Compact iOS Padding & Clean Right Actions
   ============================================================ */
.global-nav .nav-links .nav-dropdown a.nav-dropdown-link {
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 10px 16px !important;
  border-radius: 9px !important;
  border-bottom: none !important;
  color: #0B192C !important;
}

.global-nav .nav-links .nav-dropdown a.nav-dropdown-link:hover,
.global-nav .nav-links .nav-dropdown a.nav-dropdown-link:focus-visible {
  background: #F2F2F7 !important;
  color: #007AFF !important;
  border-bottom: none !important;
}

.global-nav .nav-actions .lang-switcher-btn {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 6px 8px !important;
  gap: 5px !important;
  height: auto !important;
  border-radius: 8px !important;
  color: #0B192C !important;
}

.global-nav .nav-actions .lang-switcher-btn:hover,
.global-nav .nav-actions .lang-switcher.open .lang-switcher-btn {
  background: rgba(11, 25, 44, 0.05) !important;
  border: none !important;
  box-shadow: none !important;
  color: #007AFF !important;
}

.global-nav .nav-actions .lang-switcher-btn .lang-name {
  display: none !important;
}

.global-nav .nav-actions .lang-switcher-btn .lang-code {
  background: transparent !important;
  padding: 0 !important;
  color: #0B192C !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

.global-nav .nav-actions .btn-primary {
  border-radius: 10px !important;
  padding: 9px 16px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  background: #007AFF !important;
  border-color: #007AFF !important;
  color: #FFFFFF !important;
}

.global-nav .nav-actions .btn-primary:hover {
  background: #0062CC !important;
  border-color: #0062CC !important;
}

/* ============================================================
   Restore Animated Blue Gradient on Direct Phone Number
   ============================================================ */
.contact-phone-display {
  background: linear-gradient(
    110deg,
    #0062cc 0%,
    #0071e3 35%,
    #6ec3ff 50%,
    #0071e3 65%,
    #005bb5 100%
  ) !important;
  background-size: 220% auto !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: #007AFF !important;
  filter: drop-shadow(0 2px 10px rgba(0, 113, 227, 0.22)) !important;
  animation: phoneShineGlow 4.2s ease-in-out infinite !important;
}

.contact-phone-display:hover {
  transform: scale(1.02) !important;
  filter: drop-shadow(0 4px 16px rgba(0, 113, 227, 0.38)) !important;
}

/* ============================================================
   Photo & Card Fixes: #algorytmy-ai, #stavangerPhotoGrid, #profesorowie
   ============================================================ */
#stavangerPhotoGrid .stavanger-card .card-photo-wrapper::after {
  display: none !important;
}

#algorytmy-ai .algo-card .porsche-card-bg,
#stavangerPhotoGrid .stavanger-card .stavanger-img,
#profesorowie .professors-card .professors-photo {
  filter: none !important;
  opacity: 1 !important;
}

#algorytmy-ai .algo-card::before,
#stavangerPhotoGrid .stavanger-card::before,
#profesorowie .professors-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 16, 30, 0.85) 0%, transparent 45%) !important;
  z-index: 1 !important;
  pointer-events: none;
}

#stavangerPhotoGrid .stavanger-card,
#stavangerPhotoGrid .stavanger-card.span-1,
#stavangerPhotoGrid .stavanger-card.span-2 {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
}

#stavangerPhotoGrid .stavanger-card .card-content,
#stavangerPhotoGrid .stavanger-card:hover .card-content {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  top: auto !important;
  z-index: 2 !important;
  padding: 20px 68px 18px 20px !important;
  background: transparent !important;
  text-align: left !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  align-items: flex-start !important;
}

#stavangerPhotoGrid .stavanger-card .card-title {
  color: #FFFFFF !important;
  margin: 0 !important;
}

#profesorowie .professors-card {
  min-height: 430px !important;
}

#profesorowie .professors-card .professors-photo {
  object-fit: cover !important;
  object-position: center 20% !important;
  max-height: none !important;
}

#profesorowie .professor-bio-card {
  background: #F5F7FA !important;
  background-image: none !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 16px !important;
  color: #334155 !important;
  box-shadow: none !important;
}

#profesorowie .professor-bio-card .prof-name {
  color: #0B192C !important;
}

#profesorowie .professor-bio-card .prof-dept {
  color: #475569 !important;
}

#profesorowie .professor-bio-card .prof-desc {
  color: #334155 !important;
}

#profesorowie .professor-bio-card .prof-role-badge {
  background: #E0F2FE !important;
  color: #007AFF !important;
  border: 1px solid rgba(0, 122, 255, 0.22) !important;
}

#profesorowie .professor-bio-card .focus-tag {
  background: #FFFFFF !important;
  color: #334155 !important;
  border: 1px solid #E2E8F0 !important;
}

#profesorowie .professor-bio-card .btn-prof-article {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  color: #0B192C !important;
  border-radius: 12px !important;
}

#profesorowie .professor-bio-card .btn-prof-article:hover {
  background: #FFFFFF !important;
  border-color: #007AFF !important;
}

#profesorowie .professor-bio-card .article-btn-title {
  color: #0B192C !important;
}

#profesorowie .professor-bio-card .article-btn-sub {
  color: #334155 !important;
}

#profesorowie .professor-bio-card .article-micro-meta,
#profesorowie .professor-bio-card .article-micro-meta span {
  color: #64748B !important;
}

#profesorowie .professor-bio-card .article-btn-action {
  background: #007AFF !important;
  border: 1.5px solid #007AFF !important;
  color: #FFFFFF !important;
}

/* ============================================================
   Clean Editorial Headings: Hide Artificial Eyebrow Badges
   ============================================================ */
.section-eyebrow,
.real-house-eyebrow,
.rep-section-tag,
.rep-card-badge-topic,
.trust-bar-label,
.system-diagram-header .bento-tag,
.choice-badge,
.rh-map-eyebrow {
  display: none !important;
}

/* ============================================================
   Apple iOS Card-Row Tables (#repView1 & #repView3) + Clean Summaries
   ============================================================ */
#repView1 .rep-energy-table-wrap,
#repView3 .rep-table-wrap {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
  padding: 4px 0 !important;
}

#repView1 .rep-energy-table,
#repView3 .rep-table {
  display: block !important;
  width: 100% !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

#repView1 .rep-energy-table thead,
#repView3 .rep-table thead {
  display: block !important;
  width: 100% !important;
}

#repView1 .rep-energy-table thead tr {
  display: grid !important;
  grid-template-columns: 1.45fr 0.85fr 1.2fr 1.25fr !important;
  align-items: center !important;
  padding: 0 18px 8px !important;
  border: none !important;
  background: transparent !important;
}

#repView3 .rep-table thead tr {
  display: grid !important;
  grid-template-columns: 1.35fr 0.9fr 1.15fr !important;
  align-items: center !important;
  padding: 0 18px 8px !important;
  border: none !important;
  background: transparent !important;
}

#repView1 .rep-energy-table thead th,
#repView3 .rep-table thead th {
  border: none !important;
  background: transparent !important;
  background-image: none !important;
  color: #64748B !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  padding: 4px 8px !important;
}

#repView1 .rep-energy-table tbody,
#repView3 .rep-table tbody {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  width: 100% !important;
}

#repView1 .rep-energy-table tbody tr {
  display: grid !important;
  grid-template-columns: 1.45fr 0.85fr 1.2fr 1.25fr !important;
  align-items: center !important;
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 12px !important;
  padding: 14px 18px !important;
  box-shadow: 0 2px 6px rgba(11, 25, 44, 0.03) !important;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease !important;
}

#repView3 .rep-table tbody tr {
  display: grid !important;
  grid-template-columns: 1.35fr 0.9fr 1.15fr !important;
  align-items: center !important;
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 12px !important;
  padding: 14px 18px !important;
  box-shadow: 0 2px 6px rgba(11, 25, 44, 0.03) !important;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease !important;
}

#repView1 .rep-energy-table tbody tr:hover,
#repView3 .rep-table tbody tr:hover {
  transform: translateY(-2px) !important;
  border-color: #007AFF !important;
  box-shadow: 0 6px 18px rgba(0, 122, 255, 0.14) !important;
  background: #FFFFFF !important;
}

#repView1 .rep-energy-table tbody tr td,
#repView1 .rep-energy-table tbody tr:hover td,
#repView3 .rep-table tbody tr td,
#repView3 .rep-table tbody tr:hover td {
  background: transparent !important;
  border: none !important;
  padding: 4px 8px !important;
}

#repView1 .rep-et-dot {
  display: none !important;
}

.ios-row-lead {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  text-align: left !important;
}

.ios-row-icon {
  width: 40px !important;
  height: 40px !important;
  border-radius: 10px !important;
  background: #EFF6FF !important;
  color: #007AFF !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.ios-row-title-stack {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
}

#repView1 #kpiHpKwh,
#repView1 #kpiEvKwh,
#repView1 #kpiPvKwh,
#repView1 #kpiImportKwh,
#repView1 #kpiExportKwh,
#repView1 #kpiHpCost,
#repView1 #kpiEvCost,
#repView1 #kpiImportCost,
#repView1 #kpiExportCredit {
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  color: #0B192C !important;
  background: transparent !important;
  background-image: none !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  animation: none !important;
}

#repView3 #tblBuyPrice,
#repView3 #tblNetPrice,
#repView3 #tblG11Price,
#repView3 #tblEvPrice {
  background: #F0F7FF !important;
  background-image: none !important;
  color: #007AFF !important;
  border: 1px solid rgba(0, 122, 255, 0.18) !important;
  border-radius: 8px !important;
  padding: 6px 14px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  display: inline-block !important;
  box-shadow: none !important;
  animation: none !important;
}

#repView3 #tblBuyBasis,
#repView3 #tblNetBasis,
#repView3 #tblG11Basis,
#repView3 #tblEvBasis {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #334155 !important;
  background: transparent !important;
  background-image: none !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
}

#repView3 .rep-savings-hero-card .rep-hero-card-amount,
#repView3 #invSavingsHero.savings-shine-text-light {
  background: transparent !important;
  background-image: none !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 4px 0 !important;
  margin: 4px 0 !important;
  width: auto !important;
  display: block !important;
  font-size: 42px !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  color: #007AFF !important;
  -webkit-text-fill-color: #007AFF !important;
  filter: none !important;
  animation: none !important;
  text-align: left !important;
}

#repView3 .rep-hero-card-amount::after,
#repView3 #invSavingsHero::after {
  display: none !important;
}

#repView0.rep-card-10yr-light .corp-savings-big-banner {
  background: linear-gradient(135deg, #22c55e 0%, #15803d 100%) !important;
}

#repView0.rep-card-10yr-light .corp-savings-big-val,
#repView0 .corp-savings-big-val,
#repView0 #corpBigSavingsVal,
#repView0 .corp-savings-big-val .savings-shine-text {
  background: transparent !important;
  background-image: none !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  font-size: 40px !important;
  font-weight: 800 !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  filter: none !important;
  animation: none !important;
}

@media (max-width: 768px) {
  #repView1 .rep-energy-table thead,
  #repView3 .rep-table thead {
    display: none !important;
  }
  #repView1 .rep-energy-table tbody tr,
  #repView3 .rep-table tbody tr {
    grid-template-columns: 1fr !important;
    gap: 6px !important;
  }
  #repView1 .rep-energy-table td:nth-child(n+2),
  #repView1 .rep-energy-table td:nth-child(n+2) .rep-et-sub,
  #repView3 .rep-table td:nth-child(n+2) {
    text-align: left !important;
  }
  #repView1 .rep-et-pills {
    justify-content: flex-start !important;
  }
}

/* ============================================================
   Full-Width 100vw Models Marquee & Full-Bleed Cards (380x480)
   ============================================================ */
#modele.models-section {
  overflow-x: hidden !important;
}

.models-marquee-viewport {
  width: 100vw !important;
  max-width: 100vw !important;
  position: relative !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  overflow: hidden !important;
  padding: 12px 0 24px !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

.models-marquee-shifter {
  width: max-content !important;
  transform: translate3d(var(--models-manual-offset, 0px), 0, 0) !important;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.models-marquee-shifter.is-marquee-static {
  margin: 0 auto !important;
  transform: none !important;
}

@keyframes modelsMarqueeRTL {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

#modelsCarouselTrack.models-grid.porsche-models-carousel {
  display: flex !important;
  flex-wrap: nowrap !important;
  width: max-content !important;
  overflow: visible !important;
  scroll-snap-type: none !important;
  gap: 24px !important;
  padding: 0 24px 0 0 !important;
  margin: 0 !important;
  animation: modelsMarqueeRTL 35s linear infinite !important;
  will-change: transform !important;
}

#modelsCarouselTrack.models-grid.porsche-models-carousel.is-marquee-static {
  animation: none !important;
  padding: 0 !important;
  justify-content: center !important;
}

.models-marquee-viewport:hover #modelsCarouselTrack.models-grid.porsche-models-carousel,
#modelsCarouselTrack.models-grid.porsche-models-carousel:hover {
  animation-play-state: paused !important;
}

#modelsCarouselTrack.models-grid.porsche-models-carousel .model-card {
  position: relative !important;
  flex: 0 0 380px !important;
  width: 380px !important;
  min-width: 380px !important;
  max-width: 380px !important;
  height: 480px !important;
  min-height: 480px !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  padding: 24px !important;
  background: #08101E !important;
  border: none !important;
  box-shadow: 0 12px 28px rgba(8, 16, 30, 0.16) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  align-items: flex-start !important;
  text-align: left !important;
  box-sizing: border-box !important;
  opacity: 1 !important;
  scroll-snap-align: none !important;
}

@media (max-width: 560px) {
  #modelsCarouselTrack.models-grid.porsche-models-carousel .model-card {
    flex: 0 0 320px !important;
    width: 320px !important;
    min-width: 320px !important;
    max-width: 320px !important;
    height: 440px !important;
    min-height: 440px !important;
    padding: 20px !important;
  }
}

#modelsCarouselTrack.models-grid.porsche-models-carousel .model-card::after {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(to top, rgba(8, 16, 30, 0.92) 0%, rgba(8, 16, 30, 0.55) 45%, transparent 75%) !important;
  z-index: 1 !important;
  pointer-events: none !important;
}

#modelsCarouselTrack.models-grid.porsche-models-carousel .model-card .pm-card-img-wrap {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  z-index: 0 !important;
}

#modelsCarouselTrack.models-grid.porsche-models-carousel .model-card .pm-card-img-wrap img.model-img-main {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  background: transparent !important;
  display: block !important;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

#modelsCarouselTrack.models-grid.porsche-models-carousel .model-card:hover .pm-card-img-wrap img.model-img-main {
  transform: scale(1.04) !important;
}

#modelsCarouselTrack.models-grid.porsche-models-carousel .model-card .pm-card-meta {
  position: relative !important;
  z-index: 2 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: rgba(255, 255, 255, 0.85) !important;
  margin: 0 0 4px 0 !important;
  line-height: 1.35 !important;
}

#modelsCarouselTrack.models-grid.porsche-models-carousel .model-card h3.model-title.pm-card-title,
#modelsCarouselTrack.models-grid.porsche-models-carousel .model-card .pm-card-title {
  position: relative !important;
  z-index: 2 !important;
  font-size: 26px !important;
  font-weight: 800 !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  margin: 0 0 4px 0 !important;
  line-height: 1.15 !important;
}

#modelsCarouselTrack.models-grid.porsche-models-carousel .model-card .pm-card-savings {
  position: relative !important;
  z-index: 2 !important;
  margin: 0 0 14px 0 !important;
  line-height: 1.3 !important;
}

#modelsCarouselTrack.models-grid.porsche-models-carousel .model-card .pm-sav-label {
  color: #FFFFFF !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
}

#modelsCarouselTrack.models-grid.porsche-models-carousel .model-card .pm-sav-val {
  color: #38BDF8 !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  text-shadow: 0 0 16px rgba(56, 189, 248, 0.35) !important;
}

#modelsCarouselTrack.models-grid.porsche-models-carousel .model-card .pm-card-buttons {
  position: relative !important;
  z-index: 2 !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 10px !important;
  width: 100% !important;
  margin: 0 0 12px 0 !important;
}

#modelsCarouselTrack.models-grid.porsche-models-carousel .model-card .pm-btn-configure {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 999px !important;
  background: #007AFF !important;
  color: #FFFFFF !important;
  border: 1px solid #007AFF !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  padding: 10px 10px !important;
  white-space: nowrap !important;
}

#modelsCarouselTrack.models-grid.porsche-models-carousel .model-card .pm-btn-configure:hover {
  background: #0062CC !important;
  border-color: #0062CC !important;
}

#modelsCarouselTrack.models-grid.porsche-models-carousel .model-card .pm-btn-more {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.18) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.85) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  padding: 10px 10px !important;
  white-space: nowrap !important;
}

#modelsCarouselTrack.models-grid.porsche-models-carousel .model-card .pm-btn-more:hover {
  background: rgba(255, 255, 255, 0.28) !important;
  border-color: #FFFFFF !important;
}

#modelsCarouselTrack.models-grid.porsche-models-carousel .model-card .pm-card-tech-line {
  position: relative !important;
  z-index: 2 !important;
  font-size: 11px !important;
  color: rgba(255, 255, 255, 0.75) !important;
  line-height: 1.35 !important;
  margin: 0 !important;
  width: 100% !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

@media (prefers-reduced-motion: reduce) {
  #modelsCarouselTrack.models-grid.porsche-models-carousel {
    animation: none !important;
  }
}

/* ============================================================
   Hero Headline (No Capitalize) & Subhead (max-width: 780px)
   ============================================================ */
#heroIntroHeadline.hero-intro-headline {
  text-transform: none !important;
}

#heroIntroSubhead.hero-intro-subhead {
  max-width: 780px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

#modelsCarouselTrack.models-grid.porsche-models-carousel .model-card.is-filtered-out {
  display: none !important;
}

/* ==========================================================================
   V65: Full-Width Sticky Header Bar + iOS Blue Active/Hover Pills
   ========================================================================== */
html,
body {
  overflow-x: clip !important;
}

html body header.global-nav,
header.global-nav {
  position: sticky !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 64px !important;
  margin: 0 !important;
  padding: 0 !important;
  background: rgba(255, 255, 255, 0.92) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  backdrop-filter: blur(12px) !important;
  border: none !important;
  border-bottom: 1px solid #E2E8F0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: none !important;
  z-index: 1000 !important;
}

html body header.global-nav .nav-container,
header.global-nav .nav-container {
  max-width: 1380px !important;
  width: 100% !important;
  height: 64px !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

header.global-nav .brand-link {
  flex-shrink: 0 !important;
}

header.global-nav .nav-actions {
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

@media (min-width: 1025px) {
  header.global-nav .nav-links {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    gap: 4px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  header.global-nav .nav-links > li {
    margin: 0 2px !important;
    flex-shrink: 0 !important;
  }

  header.global-nav .nav-links > li > a {
    display: inline-flex !important;
    align-items: center !important;
    height: 36px !important;
    padding: 0 14px !important;
    border-radius: 999px !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    color: #0F172A !important;
    background: transparent !important;
    white-space: nowrap !important;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease !important;
  }

  header.global-nav .nav-links > li > a::before {
    display: none !important;
    content: none !important;
  }

  header.global-nav .nav-links > li > a:hover,
  header.global-nav .nav-links > li:hover > a,
  header.global-nav .nav-links > li.open > a,
  header.global-nav .nav-links > li > a.active {
    background: #007AFF !important;
    color: #FFFFFF !important;
    border-radius: 999px !important;
    box-shadow: 0 2px 8px rgba(0, 122, 255, 0.24) !important;
  }
}

.hero-intro-section {
  padding-top: 28px !important;
}

/* ==========================================================================
   V66: Cohesive Navy/Slate/White Palette for Diagram Sector Tabs & 4 Bottom Buttons
   ========================================================================== */

/* 1. Górny przełącznik: "Rozwiązania dla Domu / Rozwiązania dla Firm" */
#systemDiagramCard #diagramSectorTabs.diagram-sector-tabs,
#systemDiagramCard.card-theme-dark #diagramSectorTabs.diagram-sector-tabs {
  background: #F1F5F9 !important;
  border: 1px solid #E2E8F0 !important;
  box-shadow: none !important;
}

#systemDiagramCard #diagramSectorTabs .diagram-sector-tab.active,
#systemDiagramCard.card-theme-dark #diagramSectorTabs .diagram-sector-tab.active,
#systemDiagramCard #diagramSectorTabs .diagram-sector-tab.active:hover {
  background: #0B192C !important;
  background-image: none !important;
  color: #FFFFFF !important;
  border: 1px solid #0B192C !important;
  box-shadow: 0 4px 12px rgba(11, 25, 44, 0.18) !important;
}

#systemDiagramCard #diagramSectorTabs .diagram-sector-tab.active .sector-tab-icon,
#systemDiagramCard #diagramSectorTabs .diagram-sector-tab.active .sector-tab-text,
#systemDiagramCard #diagramSectorTabs .diagram-sector-tab.active svg {
  color: #FFFFFF !important;
}

#systemDiagramCard #diagramSectorTabs .diagram-sector-tab:not(.active),
#systemDiagramCard.card-theme-dark #diagramSectorTabs .diagram-sector-tab:not(.active) {
  background: #F1F5F9 !important;
  background-image: none !important;
  color: #0B192C !important;
  border: 1px solid transparent !important;
  box-shadow: none !important;
}

#systemDiagramCard #diagramSectorTabs .diagram-sector-tab:not(.active):hover,
#systemDiagramCard.card-theme-dark #diagramSectorTabs .diagram-sector-tab:not(.active):hover {
  background: #E2E8F0 !important;
  color: #0B192C !important;
}

#systemDiagramCard #diagramSectorTabs .diagram-sector-tab:not(.active) .sector-tab-icon,
#systemDiagramCard #diagramSectorTabs .diagram-sector-tab:not(.active) .sector-tab-text,
#systemDiagramCard #diagramSectorTabs .diagram-sector-tab:not(.active) svg {
  color: #0B192C !important;
}

/* 2A. Przycisk "Posłuchaj jak działa Mózg AI" (#btnVoiceStory) - główny akcent */
#systemDiagramCard #btnVoiceStory.btn-voice-story,
#systemDiagramCard #btnVoiceStory.btn-voice-story.active,
#systemDiagramCard #btnVoiceStory.btn-voice-story.playing,
#btnVoiceStory.btn-voice-story {
  background: #0B192C !important;
  background-image: none !important;
  color: #FFFFFF !important;
  border: 1px solid #0B192C !important;
  box-shadow: 0 4px 12px rgba(11, 25, 44, 0.20) !important;
}

#systemDiagramCard #btnVoiceStory.btn-voice-story:hover,
#btnVoiceStory.btn-voice-story:hover {
  background: #162B49 !important;
  background-image: none !important;
  color: #FFFFFF !important;
  border-color: #162B49 !important;
  box-shadow: 0 6px 16px rgba(11, 25, 44, 0.26) !important;
}

#systemDiagramCard #btnVoiceStory .btn-voice-text,
#btnVoiceStory .btn-voice-text {
  color: #FFFFFF !important;
}

#systemDiagramCard #btnVoiceStory .btn-voice-icon,
#systemDiagramCard #btnVoiceStory .btn-voice-icon svg,
#systemDiagramCard #btnVoiceStory svg,
#btnVoiceStory .btn-voice-icon,
#btnVoiceStory .btn-voice-icon svg,
#btnVoiceStory svg {
  color: #38BDF8 !important;
  stroke: #38BDF8 !important;
}

#systemDiagramCard #btnVoiceStory .voice-eq-bars span,
#btnVoiceStory .voice-eq-bars span {
  background: #38BDF8 !important;
}

/* 2B. Przyciski "Przenieś system na dom" (#btnTransferSystemToHouse) oraz "Autoodtwarzanie 24h" (#btnTopAutoplay) */
#systemDiagramCard #btnTransferSystemToHouse.btn-transfer-system-house,
#systemDiagramCard #btnTransferSystemToHouse.btn-transfer-system-house.active,
#btnTransferSystemToHouse.btn-transfer-system-house,
#systemDiagramCard #btnTopAutoplay.btn-top-autoplay,
#systemDiagramCard #btnTopAutoplay.btn-top-autoplay.playing,
#btnTopAutoplay.btn-top-autoplay {
  background: #FFFFFF !important;
  background-image: none !important;
  color: #0B192C !important;
  border: 1px solid #CBD5E1 !important;
  box-shadow: 0 2px 6px rgba(11, 25, 44, 0.05) !important;
}

#systemDiagramCard #btnTransferSystemToHouse.btn-transfer-system-house:hover,
#btnTransferSystemToHouse.btn-transfer-system-house:hover,
#systemDiagramCard #btnTopAutoplay.btn-top-autoplay:hover,
#btnTopAutoplay.btn-top-autoplay:hover {
  background: #F8FAFC !important;
  background-image: none !important;
  color: #0B192C !important;
  border-color: #94A3B8 !important;
  box-shadow: 0 4px 10px rgba(11, 25, 44, 0.08) !important;
}

#systemDiagramCard #btnTransferSystemToHouse .btn-house-text,
#systemDiagramCard #btnTransferSystemToHouse .btn-house-icon,
#systemDiagramCard #btnTransferSystemToHouse svg,
#btnTransferSystemToHouse .btn-house-text,
#btnTransferSystemToHouse .btn-house-icon,
#btnTransferSystemToHouse svg,
#systemDiagramCard #btnTopAutoplay .btn-autoplay-text,
#systemDiagramCard #btnTopAutoplay .btn-autoplay-icon,
#systemDiagramCard #btnTopAutoplay svg,
#btnTopAutoplay .btn-autoplay-text,
#btnTopAutoplay .btn-autoplay-icon,
#btnTopAutoplay svg {
  color: #0B192C !important;
}

/* 2C. Przycisk "Wyłącz system" (#btnToggleSystemDetails) */
#systemDiagramCard #btnToggleSystemDetails.btn-toggle-system-details,
#systemDiagramCard #btnToggleSystemDetails.btn-toggle-system-details.active,
#btnToggleSystemDetails.btn-toggle-system-details {
  background: #E2E8F0 !important;
  background-image: none !important;
  color: #334155 !important;
  border: 1px solid #CBD5E1 !important;
  box-shadow: none !important;
}

#systemDiagramCard #btnToggleSystemDetails.btn-toggle-system-details:hover,
#btnToggleSystemDetails.btn-toggle-system-details:hover {
  background: #CBD5E1 !important;
  background-image: none !important;
  color: #1E293B !important;
  border-color: #94A3B8 !important;
  box-shadow: none !important;
}

#systemDiagramCard #btnToggleSystemDetails .btn-toggle-text,
#systemDiagramCard #btnToggleSystemDetails .btn-toggle-icon,
#systemDiagramCard #btnToggleSystemDetails .btn-toggle-chevron,
#systemDiagramCard #btnToggleSystemDetails svg,
#btnToggleSystemDetails .btn-toggle-text,
#btnToggleSystemDetails .btn-toggle-icon,
#btnToggleSystemDetails .btn-toggle-chevron,
#btnToggleSystemDetails svg {
  color: #334155 !important;
}

/* ==========================================================================
   V67: 5 Targeted UI Refinements
   ========================================================================== */

/* 1. Navbar active & hover tabs matched to 10px radius / 10px 18px button */
@media (min-width: 1025px) {
  header.global-nav .nav-links > li > a,
  header.global-nav .nav-links > li > a:hover,
  header.global-nav .nav-links > li:hover > a,
  header.global-nav .nav-links > li.open > a,
  header.global-nav .nav-links > li > a.active {
    border-radius: 10px !important;
    padding: 10px 18px !important;
    height: auto !important;
    line-height: 1.2 !important;
  }
}

header.global-nav .nav-actions .btn-primary {
  border-radius: 10px !important;
  padding: 10px 18px !important;
  height: auto !important;
  line-height: 1.2 !important;
}

/* 2. #algorytmy-ai: stronger bottom gradient, crisp 2-line copy, clickable cards */
#algorytmy-ai .algo-card {
  cursor: pointer !important;
}

#algorytmy-ai .algo-card .porsche-card-arrow {
  cursor: pointer !important;
}

#algorytmy-ai .algo-card::before {
  background: linear-gradient(to top, rgba(8, 16, 30, 0.96) 0%, rgba(8, 16, 30, 0.75) 45%, transparent 75%) !important;
}

#algorytmy-ai .algo-card .algo-title {
  color: #FFFFFF !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45) !important;
}

#algorytmy-ai .algo-card .algo-desc {
  color: #FFFFFF !important;
  font-size: 14.5px !important;
  line-height: 1.45 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45) !important;
}

/* 3. #profesorowie: full-width group photo matching bio cards below + clickable lightbox */
#profesorowie .professors-card {
  width: 100% !important;
  max-width: 100% !important;
  height: 420px !important;
  min-height: 420px !important;
  max-height: 420px !important;
  cursor: pointer !important;
}

#profesorowie .professors-card .professors-photo {
  width: 100% !important;
  height: 420px !important;
  max-height: 420px !important;
  object-fit: cover !important;
  object-position: center 20% !important;
}

/* 4. #modele: Apple iOS Coming Soon card + hide concrete models carousel */
.is-coming-soon-hidden,
#modele-filter-bar.is-coming-soon-hidden,
#modelsMarqueeViewport.is-coming-soon-hidden,
.models-carousel-controls-wrap.is-coming-soon-hidden {
  display: none !important;
}

#modelsComingSoonCard.models-coming-soon-card {
  background: #F8FAFC !important;
  background-image: none !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 20px !important;
  padding: 48px 32px !important;
  max-width: 980px !important;
  width: 100% !important;
  margin: 20px auto 0 !important;
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 16px !important;
  box-shadow: 0 8px 28px rgba(11, 25, 44, 0.04) !important;
  box-sizing: border-box !important;
}

#modelsComingSoonCard .coming-soon-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 6px 16px !important;
  border-radius: 999px !important;
  background: #E0F2FE !important;
  color: #007AFF !important;
  border: 1px solid rgba(0, 122, 255, 0.22) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
}

#modelsComingSoonCard .coming-soon-title {
  font-size: clamp(24px, 2.6vw, 34px) !important;
  font-weight: 800 !important;
  color: #0B192C !important;
  margin: 0 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.02em !important;
}

#modelsComingSoonCard .coming-soon-desc {
  font-size: 16px !important;
  line-height: 1.6 !important;
  color: #475569 !important;
  max-width: 720px !important;
  margin: 0 !important;
}

#modelsComingSoonCard .coming-soon-cta {
  background: #007AFF !important;
  background-image: none !important;
  color: #FFFFFF !important;
  border: 1px solid #007AFF !important;
  border-radius: 10px !important;
  padding: 12px 28px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  margin-top: 6px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(0, 122, 255, 0.22) !important;
}

#modelsComingSoonCard .coming-soon-cta:hover {
  background: #0062CC !important;
  border-color: #0062CC !important;
}

/* 5. Warranty Visual Distinction: Tech Navy (#gwarancja) vs Architectural Light (#gwarancja-domki) */
.warranty-type-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 7px 16px !important;
  border-radius: 999px !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  margin: 0 auto 14px !important;
}

.warranty-type-tech {
  background: #0B192C !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(56, 189, 248, 0.45) !important;
  box-shadow: 0 4px 14px rgba(11, 25, 44, 0.16) !important;
}

.warranty-type-tech svg {
  color: #38BDF8 !important;
  stroke: #38BDF8 !important;
}

.warranty-type-arch {
  background: #FFFBEB !important;
  color: #92400E !important;
  border: 1px solid #F59E0B !important;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.10) !important;
}

.warranty-type-arch svg {
  color: #D97706 !important;
  stroke: #D97706 !important;
}

.warranty-card-icon {
  width: 40px !important;
  height: 40px !important;
  border-radius: 10px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto 14px !important;
}

/* Equipment & AI Warranty (#gwarancja): Deep Technological Navy #0B192C + Sky Blue #38BDF8 */
#gwarancja .guarantee-card {
  background: #0B192C !important;
  background-image: linear-gradient(160deg, #0B192C 0%, #102440 100%) !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
  border-radius: 16px !important;
  color: #FFFFFF !important;
  box-shadow: 0 10px 26px rgba(11, 25, 44, 0.16) !important;
  text-align: center !important;
}

#gwarancja .guarantee-card:hover {
  background: #102440 !important;
  border-color: #38BDF8 !important;
  box-shadow: 0 14px 32px rgba(11, 25, 44, 0.24) !important;
}

#gwarancja .guarantee-card .warranty-card-icon {
  background: rgba(56, 189, 248, 0.14) !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  color: #38BDF8 !important;
}

#gwarancja .guarantee-card .warranty-card-icon svg {
  stroke: #38BDF8 !important;
}

#gwarancja .guarantee-card .guarantee-years {
  color: #38BDF8 !important;
  -webkit-text-fill-color: #38BDF8 !important;
}

#gwarancja .guarantee-card .guarantee-name {
  color: #FFFFFF !important;
}

#gwarancja .guarantee-card .guarantee-desc {
  color: rgba(226, 232, 240, 0.88) !important;
}

#gwarancja .investor-box {
  background: #0B192C !important;
  background-image: linear-gradient(160deg, #0B192C 0%, #0F213B 100%) !important;
  border: 1px solid rgba(56, 189, 248, 0.24) !important;
  color: #FFFFFF !important;
  box-shadow: 0 10px 28px rgba(11, 25, 44, 0.14) !important;
}

#gwarancja .investor-box h4 {
  color: #FFFFFF !important;
}

#gwarancja .investor-box h4 svg {
  stroke: #38BDF8 !important;
}

#gwarancja .investor-box .investor-list li span {
  color: rgba(226, 232, 240, 0.90) !important;
}

#gwarancja .investor-box .investor-list li svg {
  stroke: #38BDF8 !important;
}

/* House Construction Warranty (#gwarancja-domki): Warm Architectural Light #FFFFFF + Slate Border + Amber Accent */
#gwarancja-domki {
  background-color: #FFFFFF !important;
}

#gwarancja-domki .guarantee-card {
  background: #FFFFFF !important;
  background-image: none !important;
  border: 1px solid #CBD5E1 !important;
  border-top: 3px solid #D97706 !important;
  border-radius: 16px !important;
  color: #0B192C !important;
  box-shadow: 0 6px 20px rgba(11, 25, 44, 0.05) !important;
  text-align: center !important;
}

#gwarancja-domki .guarantee-card:hover {
  background: #FFFDF7 !important;
  border-color: #D97706 !important;
  box-shadow: 0 10px 26px rgba(217, 119, 6, 0.12) !important;
}

#gwarancja-domki .guarantee-card .warranty-card-icon {
  background: #FEF3C7 !important;
  border: 1px solid rgba(217, 119, 6, 0.28) !important;
  color: #B45309 !important;
}

#gwarancja-domki .guarantee-card .warranty-card-icon svg {
  stroke: #B45309 !important;
}

#gwarancja-domki .guarantee-card .guarantee-years {
  color: #B45309 !important;
  -webkit-text-fill-color: #B45309 !important;
}

#gwarancja-domki .guarantee-card .guarantee-name {
  color: #0B192C !important;
}

#gwarancja-domki .guarantee-card .guarantee-desc {
  color: #475569 !important;
}

#gwarancja-domki .investor-box {
  background: #FFFFFF !important;
  background-image: none !important;
  border: 1px solid #CBD5E1 !important;
  color: #0B192C !important;
  box-shadow: 0 6px 20px rgba(11, 25, 44, 0.04) !important;
}

#gwarancja-domki .investor-box h4 {
  color: #0B192C !important;
}

#gwarancja-domki .investor-box h4 svg {
  stroke: #B45309 !important;
}

#gwarancja-domki .investor-box .investor-list li span {
  color: #334155 !important;
}

#gwarancja-domki .investor-box .investor-list li svg {
  stroke: #B45309 !important;
}

/* ==========================================================================
   V68: #algorytmy-ai - clean light iOS cards (icon tile + text + link)
   ========================================================================== */
#algorytmy-ai.algorithm-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
}

#algorytmy-ai .algo-card.algo-card-ios {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  min-height: 0 !important;
  padding: 28px !important;
  background: #FFFFFF !important;
  background-image: none !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 16px rgba(11, 25, 44, 0.04) !important;
  text-align: left !important;
  cursor: pointer !important;
  overflow: hidden !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease !important;
}

#algorytmy-ai .algo-card.algo-card-ios::before,
#algorytmy-ai .algo-card.algo-card-ios::after {
  display: none !important;
  content: none !important;
}

#algorytmy-ai .algo-card.algo-card-ios:hover {
  transform: translateY(-4px) !important;
  border-color: #007AFF !important;
  background: #FFFFFF !important;
  box-shadow: 0 10px 26px rgba(0, 122, 255, 0.12) !important;
}

#algorytmy-ai .algo-card.algo-card-ios .algo-icon-tile {
  width: 48px !important;
  height: 48px !important;
  border-radius: 12px !important;
  background: #EFF6FF !important;
  color: #007AFF !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 0 18px 0 !important;
  flex-shrink: 0 !important;
}

#algorytmy-ai .algo-card.algo-card-ios .algo-title {
  color: #0B192C !important;
  font-size: 19px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  margin: 0 0 8px 0 !important;
  text-shadow: none !important;
  position: static !important;
}

#algorytmy-ai .algo-card.algo-card-ios .algo-desc {
  color: #475569 !important;
  font-size: 15px !important;
  line-height: 1.55 !important;
  margin: 0 0 20px 0 !important;
  text-shadow: none !important;
  display: block !important;
  -webkit-line-clamp: unset !important;
  position: static !important;
}

#algorytmy-ai .algo-card.algo-card-ios .algo-link {
  margin-top: auto !important;
  color: #007AFF !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

#algorytmy-ai .algo-card.algo-card-ios .algo-link:hover {
  text-decoration: underline !important;
}

@media (max-width: 900px) {
  #algorytmy-ai.algorithm-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================================
   V69: #profesorowie - restore classic photo-on-top card with white caption below
   ========================================================================== */
#profesorowie .professors-card {
  position: relative !important;
  width: 100% !important;
  max-width: 720px !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 auto !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  background: #FFFFFF !important;
  background-image: none !important;
  border: none !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  box-shadow: 0 8px 28px rgba(11, 25, 44, 0.08) !important;
  text-align: center !important;
  cursor: pointer !important;
}

#profesorowie .professors-card::before,
#profesorowie .professors-card::after {
  display: none !important;
  content: none !important;
}

#profesorowie .professors-card .professors-photo {
  position: static !important;
  inset: auto !important;
  width: 100% !important;
  height: 460px !important;
  max-height: 460px !important;
  object-fit: cover !important;
  object-position: center 22% !important;
  display: block !important;
  z-index: auto !important;
}

#profesorowie .professors-card .professors-caption {
  position: static !important;
  background: #FFFFFF !important;
  padding: 24px 28px !important;
  text-align: center !important;
}

#profesorowie .professors-card .professors-caption h4 {
  color: #0B192C !important;
  font-size: 19px !important;
  font-weight: 700 !important;
  margin: 0 0 6px 0 !important;
}

#profesorowie .professors-card .professors-caption p {
  color: #475569 !important;
  font-size: 14.5px !important;
  margin: 0 !important;
}

#profesorowie .professors-card .prof-affiliations-row {
  display: none !important;
}

/* ==========================================================================
   V70: Professor bio cards - plain university labels (no box)
   ========================================================================== */
#profesorowie .professor-bio-card .prof-role-badge {
  background: transparent !important;
  background-image: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  color: #007AFF !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
}

/* ==========================================================================
   V71: Navbar tab highlight - subtle iOS gray pill (no blue fill) + container spacing
   ========================================================================== */
html body header.global-nav .nav-container,
header.global-nav .nav-container {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  max-width: 1280px !important;
  margin: 0 auto !important;
  padding: 12px 24px !important;
  height: 64px !important;
  box-sizing: border-box !important;
}

@media (min-width: 1025px) {
  header.global-nav .nav-links > li > a {
    background: transparent !important;
    background-color: transparent !important;
    color: #0B192C !important;
    box-shadow: none !important;
    border-radius: 10px !important;
  }

  header.global-nav .nav-links > li > a:hover,
  header.global-nav .nav-links > li:hover > a,
  header.global-nav .nav-links > li.open > a,
  header.global-nav .nav-links > li > a.active {
    background: #F1F5F9 !important;
    background-color: #F1F5F9 !important;
    color: #007AFF !important;
    box-shadow: none !important;
    border-radius: 10px !important;
  }
}

/* V71b: remove leftover underline/border on navbar tabs */
@media (min-width: 1025px) {
  header.global-nav .nav-links > li > a,
  header.global-nav .nav-links > li > a:hover,
  header.global-nav .nav-links > li:hover > a,
  header.global-nav .nav-links > li.open > a,
  header.global-nav .nav-links > li > a.active {
    border: none !important;
    border-bottom: none !important;
    outline: none !important;
  }
}

/* V73: restore plain partners caption above logos */
#partnerzy.hero-trust-bar .trust-bar-label {
  display: block !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 0 22px 0 !important;
  text-align: center !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: #3D5A8A !important;
}

/* ==========================================================================
   V74: Remove bottom spacing on algo-desc & restore "Czytaj artykuł →" pill
   ========================================================================== */
#algorytmy-ai .algo-card.algo-card-ios .algo-desc {
  margin-bottom: 0 !important;
}

#profesorowie .professor-bio-card .article-btn-action {
  width: auto !important;
  height: auto !important;
  padding: 8px 14px !important;
  border-radius: 999px !important;
  background: #FFFFFF !important;
  border: 1px solid #BFDBFE !important;
  color: #007AFF !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  box-shadow: 0 1px 4px rgba(11, 25, 44, 0.05) !important;
  transition: background-color 0.2s ease, border-color 0.2s ease !important;
}

#profesorowie .professor-bio-card .btn-prof-article:hover .article-btn-action {
  background: #EFF6FF !important;
  border-color: #007AFF !important;
}

#profesorowie .professor-bio-card .article-btn-action .btn-action-label {
  display: inline !important;
  color: #007AFF !important;
}

#profesorowie .professor-bio-card .article-btn-action .btn-action-icon {
  display: inline !important;
  color: #007AFF !important;
}

/* ==========================================================================
   V75: Symmetrical 2-Column Footer (Brand Left + Firma i Kontakt Right)
   ========================================================================== */
.global-footer .footer-main-split {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  gap: 48px !important;
  margin-bottom: 36px !important;
  flex-wrap: wrap !important;
}

.global-footer .footer-brand-col {
  max-width: 420px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 14px !important;
}

.global-footer .footer-brand-tagline {
  margin: 0 !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  color: rgba(226, 232, 240, 0.78) !important;
  text-align: left !important;
}

.global-footer .footer-contact-col {
  text-align: left !important;
  min-width: 280px !important;
}

.global-footer .footer-contact-col ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

@media (max-width: 768px) {
  .global-footer .footer-main-split {
    flex-direction: column !important;
    gap: 28px !important;
  }
}

/* ==========================================================================
   V76: Light Apple iOS Cards & Panel for #gwarancja (Equipment Warranty)
   ========================================================================== */
#gwarancja .warranty-type-tech {
  display: none !important;
}

#gwarancja .guarantee-card {
  background: #FFFFFF !important;
  background-image: none !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 16px rgba(11, 25, 44, 0.05) !important;
  color: #0B192C !important;
}

#gwarancja .guarantee-card:hover {
  background: #FFFFFF !important;
  border-color: #007AFF !important;
  box-shadow: 0 10px 26px rgba(0, 122, 255, 0.12) !important;
}

#gwarancja .guarantee-card .warranty-card-icon {
  background: #EFF6FF !important;
  border: 1px solid #DBEAFE !important;
  color: #007AFF !important;
}

#gwarancja .guarantee-card .warranty-card-icon svg {
  color: #007AFF !important;
  stroke: #007AFF !important;
}

#gwarancja .guarantee-card .guarantee-years {
  color: #007AFF !important;
  -webkit-text-fill-color: #007AFF !important;
}

#gwarancja .guarantee-card .guarantee-name {
  color: #0B192C !important;
}

#gwarancja .guarantee-card .guarantee-desc {
  color: #475569 !important;
}

#gwarancja .investor-box {
  background: #F8FAFC !important;
  background-image: none !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 16px !important;
  box-shadow: none !important;
  color: #0B192C !important;
}

#gwarancja .investor-box h4 {
  color: #0B192C !important;
}

#gwarancja .investor-box .investor-list li span {
  color: #334155 !important;
}

#gwarancja .investor-box h4 svg,
#gwarancja .investor-box .investor-list li svg {
  color: #007AFF !important;
  stroke: #007AFF !important;
}

/* V78: Mobile 375px header fit without clipping right CTA button */
@media (max-width: 640px) {
  html body header.global-nav .nav-container,
  header.global-nav .nav-container {
    padding: 8px 12px !important;
    gap: 6px !important;
  }
  header.global-nav .brand-name {
    font-size: 13px !important;
    letter-spacing: 0.04em !important;
  }
  header.global-nav .nav-actions {
    gap: 6px !important;
  }
  header.global-nav .nav-actions .btn-primary {
    padding: 7px 11px !important;
    font-size: 11.5px !important;
  }
}

/* ==========================================================================
   V79: Restore Decorative Norway Flag in Top-Right of Hero (#wstep)
   ========================================================================== */
#wstep.hero-intro-section {
  position: relative !important;
}

#wstep .hero-top-norway-flag {
  display: block !important;
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  width: 135px !important;
  height: auto !important;
  z-index: 1 !important;
  pointer-events: none !important;
}

#wstep .hero-top-norway-flag img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: right top !important;
  display: block !important;
}

@media (max-width: 768px) {
  #wstep .hero-top-norway-flag {
    display: none !important;
  }
}

/* V82: Exact footer background color #0B1329 */
html body footer.global-footer,
footer.global-footer {
  background: #0B1329 !important;
  background-color: #0B1329 !important;
}

/* ==========================================================================
   V83: Global Typography Consistency & Footer Note Contrast on #0B1329
   ========================================================================== */
html, body, button, input, select, textarea {
  font-family: var(--font-sans);
}

.global-footer .footer-top-notes {
  color: #94A3B8 !important;
}

/* ==========================================================================
   Brand Partner Badge (NORD HT & ACTIVE HOME section pills)
   ========================================================================== */
.brand-partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px;
  background: #ffffff;
  border: 1px solid rgba(0, 47, 108, 0.14);
  border-radius: 999px;
  margin-bottom: 18px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.brand-partner-badge img {
  height: 20px;
  width: auto;
  display: block;
}

.brand-partner-badge span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #002f6c;
}
/* ==========================================================================
   V88: Hero Auto-Rotating Clickable Showcase Slider
   ========================================================================== */
.hero-ai-face-anchor.hero-showcase-anchor {
  pointer-events: auto;
  flex-direction: column;
  aspect-ratio: auto;
  width: clamp(290px, 26vw, 360px);
  margin: 0 auto 22px;
}

.hero-showcase-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 10 / 9;
  border-radius: 24%;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(11, 25, 44, 0.16);
  cursor: pointer;
  background: #0b192c;
}

.hero-showcase-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.55s ease, transform 0.55s ease;
  transform: scale(1.03);
  text-decoration: none;
  display: block;
}

.hero-showcase-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
  z-index: 2;
}

.hero-showcase-slide img.hero-showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-showcase-slide[data-slide-idx="0"] img.hero-showcase-img {
  object-position: center 48%;
}

.hero-showcase-slide[data-slide-idx="3"] img.hero-showcase-img {
  object-position: center 22%;
}

.hero-showcase-caption {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  z-index: 4;
  background: rgba(11, 25, 44, 0.84);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
}

.hero-showcase-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.hero-showcase-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: rgba(11, 25, 44, 0.22);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-showcase-dot.is-active {
  width: 24px;
  background: #0071e3;
}
/* ==========================================================================
   V89: Full Hero Section Carousel (Image + Headline + Subhead + 4 Pills)
   ========================================================================== */
.hero-full-carousel {
  position: relative;
  width: 100%;
}

.hero-full-slides {
  position: relative;
  width: 100%;
}

.hero-full-slide {
  display: none;
  cursor: pointer;
  animation: heroSlideFade 0.55s ease;
}

.hero-full-slide.is-active {
  display: block;
}

@keyframes heroSlideFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-full-slide .hero-ai-face-anchor {
  pointer-events: none;
}

.hero-full-slide .hero-slide-photo-wrap {
  width: clamp(290px, 26vw, 360px);
  aspect-ratio: 10 / 9;
  margin: 0 auto 20px;
  border-radius: 26%;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(11, 25, 44, 0.16);
  background: #0b192c;
}

.hero-full-slide .hero-slide-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-full-slide[data-slide-idx="3"] .hero-slide-photo-wrap img {
  object-position: center 20%;
}

.hero-full-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
}

.hero-full-arrow {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(11, 25, 44, 0.14);
  background: rgba(255, 255, 255, 0.9);
  color: #0b192c;
  font-size: 16px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-full-arrow:hover {
  background: #0071e3;
  color: #ffffff;
  border-color: #0071e3;
  transform: translateY(-1px);
}

.hero-full-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-full-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: rgba(11, 25, 44, 0.2);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-full-dot.is-active {
  width: 26px;
  background: #0071e3;
}
/* ==========================================================================
   V90: Full-Bleed Background Photos for Hero Carousel Slides 1-3
   ========================================================================== */
#wstep.hero-intro-section {
  position: relative !important;
  overflow: hidden;
}

.hero-bg-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-bg-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease, transform 6s ease;
  transform: scale(1.04);
}

.hero-bg-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-bg-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.hero-bg-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 18, 36, 0.56) 0%,
    rgba(8, 18, 36, 0.68) 60%,
    rgba(8, 18, 36, 0.78) 100%
  );
}

#wstep .hero-intro-container {
  position: relative;
  z-index: 2;
}

#wstep.has-full-bg .hero-intro-headline {
  color: #ffffff !important;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

#wstep.has-full-bg .hero-intro-subhead {
  color: rgba(255, 255, 255, 0.92) !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

#wstep.has-full-bg .hero-value-pill {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(10px);
  border-color: rgba(255, 255, 255, 0.7) !important;
}

#wstep.has-full-bg .hero-full-arrow {
  background: rgba(255, 255, 255, 0.9);
  color: #0b192c;
}

#wstep.has-full-bg .hero-full-dot {
  background: rgba(255, 255, 255, 0.42);
}

#wstep.has-full-bg .hero-full-dot.is-active {
  background: #ffffff;
}

#wstep.has-full-bg #partnerzy.hero-trust-bar {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  padding: 18px 28px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.hero-full-slide-spacer {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.hero-slide-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
/* ==========================================================================
   V91: Fixed Hero Dimensions (Zero Layout Shift) + Separate Partners Strip
   ========================================================================== */
.hero-full-slides {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}

.hero-full-slide {
  grid-area: 1 / 1;
  display: block !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.55s ease;
  animation: none !important;
}

.hero-full-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

.partners-strip-section {
  background: #ffffff;
  padding: 32px 0 38px;
  border-top: 1px solid rgba(11, 25, 44, 0.06);
  border-bottom: 1px solid rgba(11, 25, 44, 0.06);
}

.partners-strip-section #partnerzy {
  margin-top: 0 !important;
}
/* ==========================================================================
   V92: Side-Aligned White Headlines on Full-Bleed Hero Photos
   ========================================================================== */
.hero-bg-slide::after {
  background: linear-gradient(
    90deg,
    rgba(8, 18, 36, 0.84) 0%,
    rgba(8, 18, 36, 0.46) 46%,
    rgba(8, 18, 36, 0.08) 100%
  ) !important;
}

#wstep .hero-full-slide--photo {
  text-align: left;
  padding: 40px 0 24px;
}

#wstep .hero-full-slide--photo .hero-side-copy {
  max-width: 540px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

#wstep .hero-full-slide--photo .hero-intro-headline {
  color: #ffffff !important;
  text-align: left !important;
  margin: 0 !important;
  font-size: clamp(32px, 4.2vw, 54px) !important;
  line-height: 1.08 !important;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.55);
}

#wstep .hero-full-slide--photo .hero-intro-subhead {
  color: rgba(255, 255, 255, 0.94) !important;
  text-align: left !important;
  margin: 0 !important;
  font-size: clamp(16px, 1.5vw, 20px) !important;
  font-weight: 500;
  line-height: 1.45 !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

#wstep .hero-full-slide--photo .hero-slide-cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  padding: 10px 20px;
  border-radius: 999px;
  background: #0071e3;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(0, 113, 227, 0.35);
}

@media (max-width: 768px) {
  .hero-bg-slide::after {
    background: linear-gradient(
      180deg,
      rgba(8, 18, 36, 0.72) 0%,
      rgba(8, 18, 36, 0.78) 100%
    ) !important;
  }
  #wstep .hero-full-slide--photo .hero-side-copy {
    max-width: 100%;
  }
}
/* ==========================================================================
   V93: Full-Width Split Hero Photo Slides (Pure White Text Left & Right)
   ========================================================================== */
#wstep.has-full-bg .hero-intro-container {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: clamp(20px, 5vw, 72px) !important;
  padding-right: clamp(20px, 5vw, 72px) !important;
}

.hero-bg-slide::after {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.18) 0%,
    rgba(0, 0, 0, 0.28) 55%,
    rgba(0, 0, 0, 0.58) 100%
  ) !important;
}

#wstep .hero-full-slide--photo {
  width: 100%;
  padding: clamp(160px, 22vh, 240px) 0 24px;
}

#wstep .hero-full-slide--photo .hero-side-copy {
  max-width: 100% !important;
  width: 100% !important;
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: flex-end !important;
  gap: clamp(20px, 4vw, 60px) !important;
}

#wstep .hero-full-slide--photo .hero-split-left {
  flex: 1 1 52%;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

#wstep .hero-full-slide--photo .hero-split-right {
  flex: 0 1 420px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 14px;
}

html body #wstep.has-full-bg .hero-full-slide--photo .hero-intro-headline,
html body #wstep .hero-full-slide--photo h2.hero-intro-headline {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: none !important;
  -webkit-background-clip: border-box !important;
  text-align: left !important;
  margin: 0 !important;
  font-size: clamp(28px, 3.8vw, 52px) !important;
  line-height: 1.08 !important;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.65);
}

html body #wstep.has-full-bg .hero-full-slide--photo .hero-intro-subhead,
html body #wstep .hero-full-slide--photo p.hero-intro-subhead {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-align: right !important;
  margin: 0 !important;
  font-size: clamp(15px, 1.35vw, 19px) !important;
  font-weight: 500;
  line-height: 1.45 !important;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.7);
}

@media (max-width: 820px) {
  #wstep .hero-full-slide--photo {
    padding: 90px 0 18px;
  }
  #wstep .hero-full-slide--photo .hero-side-copy {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  #wstep .hero-full-slide--photo .hero-split-right {
    align-items: flex-start !important;
    text-align: left !important;
    flex: 1 1 auto;
  }
  html body #wstep .hero-full-slide--photo p.hero-intro-subhead {
    text-align: left !important;
  }
}
/* ==========================================================================
   V94: Diagonal Hero Corner Layouts
   ========================================================================== */
#wstep .hero-full-slides {
  align-items: stretch !important;
}

#wstep .hero-full-slide--photo {
  height: 100%;
  padding: clamp(20px, 3vh, 36px) 0 clamp(12px, 2vh, 24px) !important;
}

#wstep .hero-full-slide--photo .hero-side-copy {
  height: 100%;
  min-height: clamp(380px, 52vh, 520px);
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  align-items: stretch !important;
  gap: 24px !important;
}

#wstep .hero-full-slide--photo.hero-diag--tl-br .hero-corner-top {
  align-self: flex-start;
  text-align: left;
  align-items: flex-start;
}

#wstep .hero-full-slide--photo.hero-diag--tl-br .hero-corner-bottom {
  align-self: flex-end;
  text-align: right;
  align-items: flex-end;
}

#wstep .hero-full-slide--photo.hero-diag--tr-bl .hero-corner-top {
  align-self: flex-end;
  text-align: right;
  align-items: flex-end;
}

#wstep .hero-full-slide--photo.hero-diag--tr-bl .hero-corner-bottom {
  align-self: flex-start;
  text-align: left;
  align-items: flex-start;
}

#wstep .hero-corner-top {
  max-width: min(600px, 58vw);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#wstep .hero-corner-bottom {
  max-width: min(460px, 46vw);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

html body #wstep .hero-full-slide--photo.hero-diag--tr-bl .hero-corner-top h2.hero-intro-headline {
  text-align: right !important;
}

html body #wstep .hero-full-slide--photo.hero-diag--tr-bl .hero-corner-bottom p.hero-intro-subhead {
  text-align: left !important;
}


@media (max-width: 820px) {
  #wstep .hero-full-slide--photo .hero-side-copy {
    min-height: 360px;
  }
  #wstep .hero-corner-top,
  #wstep .hero-corner-bottom {
    max-width: 100%;
    align-self: flex-start !important;
    text-align: left !important;
    align-items: flex-start !important;
  }
  html body #wstep .hero-full-slide--photo.hero-diag--tr-bl .hero-corner-top h2.hero-intro-headline,
  html body #wstep .hero-full-slide--photo.hero-diag--tr-bl .hero-corner-bottom p.hero-intro-subhead {
    text-align: left !important;
  }
}
/* V95: Keep top-right hero corner clear of Norway flag */
@media (min-width: 769px) {
  #wstep .hero-full-slide--photo.hero-diag--tr-bl .hero-corner-top {
    padding-right: 150px;
    max-width: min(740px, 68vw);
  }
}
/* ==========================================================================
   V96: Bestune-Inspired Sleek Thin Bottom Bars & Crisp Widescreen Hero Ratio
   ========================================================================== */
#wstep.hero-intro-section {
  min-height: clamp(460px, 64vh, 580px) !important;
  padding: 26px 0 18px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

#wstep .hero-full-slide--photo {
  padding: 10px 0 8px !important;
}

#wstep .hero-full-slide--photo .hero-side-copy {
  min-height: clamp(360px, 50vh, 470px) !important;
}

.hero-full-controls {
  margin-top: 14px !important;
  gap: 0 !important;
}

.hero-full-arrow {
  display: none !important;
}

.hero-full-dots {
  gap: 10px !important;
}

.hero-full-dot {
  width: 46px !important;
  height: 3px !important;
  border-radius: 999px !important;
  background: rgba(11, 25, 44, 0.16) !important;
  transition: background 0.25s ease, transform 0.25s ease, opacity 0.25s ease !important;
}

.hero-full-dot:hover {
  background: rgba(11, 25, 44, 0.4) !important;
}

.hero-full-dot.is-active {
  width: 54px !important;
  background: #0071e3 !important;
}

#wstep.has-full-bg .hero-full-dot {
  background: rgba(255, 255, 255, 0.36) !important;
}

#wstep.has-full-bg .hero-full-dot:hover {
  background: rgba(255, 255, 255, 0.65) !important;
}

#wstep.has-full-bg .hero-full-dot.is-active {
  background: #ffffff !important;
}

@media (max-width: 640px) {
  .hero-full-dot {
    width: 28px !important;
  }
  .hero-full-dot.is-active {
    width: 36px !important;
  }
}
/* ==========================================================================
   V102: Hero Bg Positioning After Reordering (Professors = 2)
   ========================================================================== */
.hero-bg-slide[data-bg-idx="2"] img,
.hero-bg-slide img[src*="professors_assadi_olczak"] {
  object-position: center 22% !important;
}

/* V103: Zoom-out (Ken Burns) timed to the 5s slide duration */
.hero-bg-slide {
  transform: scale(1.12);
  transition: opacity 0.7s ease, transform 0s linear 0.7s;
}

.hero-bg-slide.is-active {
  transform: scale(1);
  transition: opacity 0.7s ease, transform 5.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}
/* V104: Slow, visible zoom-out via keyframes (also works on first page load) */
@keyframes heroBgZoomOut {
  from { transform: scale(1.18); }
  to   { transform: scale(1); }
}

.hero-bg-slide {
  transform: scale(1);
  transition: opacity 0.8s ease;
  animation: none;
}

.hero-bg-slide.is-active {
  transform: scale(1);
  transition: opacity 0.8s ease;
  animation: heroBgZoomOut 6s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
/* V105: Slow, constant-speed (linear) zoom-out lasting the whole slide time */
@keyframes heroBgZoomOut {
  from { transform: scale(1.1); }
  to   { transform: scale(1); }
}

.hero-bg-slide.is-active {
  animation: heroBgZoomOut 6s linear both;
}
/* ==========================================================================
   V106: How-it-works, FAQ, grouped guarantees, sticky CTA
   ========================================================================== */
#jak-to-dziala, #faq, #gwarancja, #gwarancja-domki { scroll-margin-top: 72px; }

.how-section, .faq-section { padding: 72px 0; background: #ffffff; }
.faq-section { background: #f5f7fa; }

.how-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0071e3;
  margin-bottom: 10px;
}

.how-steps {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.how-step {
  background: #f5f7fa;
  border: 1px solid rgba(11, 25, 44, 0.08);
  border-radius: 18px;
  padding: 22px 20px;
}

.how-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #0071e3;
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 12px;
}

.how-step h3 { font-size: 17px; margin: 0 0 8px; color: #0b192c; }
.how-step p { font-size: 14px; line-height: 1.55; margin: 0; color: #4b5563; }

.how-cta-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 32px;
}

.how-link { font-weight: 600; color: #0071e3; text-decoration: none; }
.how-link:hover { text-decoration: underline; }

.faq-list { max-width: 860px; margin: 32px auto 0; display: flex; flex-direction: column; gap: 10px; }

.faq-item {
  background: #ffffff;
  border: 1px solid rgba(11, 25, 44, 0.1);
  border-radius: 14px;
  padding: 0 20px;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 600;
  font-size: 16px;
  color: #0b192c;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 22px; color: #0071e3; line-height: 1; }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p { margin: 0 0 16px; font-size: 14.5px; line-height: 1.6; color: #4b5563; }


@media (max-width: 1100px) {
  .how-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .how-section, .faq-section { padding: 48px 0; }
  .how-steps { grid-template-columns: 1fr; }
}
/* ==========================================================================
   V110: Shared Coming Soon Card Styling for #warrantyComingSoonCard
   ========================================================================== */
#warrantyComingSoonCard.models-coming-soon-card {
  background: #FFFFFF !important;
  background-image: none !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 20px !important;
  padding: 48px 32px !important;
  max-width: 980px !important;
  width: 100% !important;
  margin: 28px auto 0 !important;
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 16px !important;
  box-shadow: 0 8px 28px rgba(11, 25, 44, 0.04) !important;
  box-sizing: border-box !important;
}

#warrantyComingSoonCard .coming-soon-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 6px 16px !important;
  border-radius: 999px !important;
  background: #E0F2FE !important;
  color: #007AFF !important;
  border: 1px solid rgba(0, 122, 255, 0.22) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
}

#warrantyComingSoonCard .coming-soon-title {
  font-size: clamp(22px, 2.4vw, 30px) !important;
  font-weight: 800 !important;
  color: #0B192C !important;
  margin: 0 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.02em !important;
}

#warrantyComingSoonCard .coming-soon-desc {
  font-size: 16px !important;
  line-height: 1.6 !important;
  color: #475569 !important;
  max-width: 720px !important;
  margin: 0 !important;
}

#warrantyComingSoonCard .coming-soon-cta {
  background: #007AFF !important;
  background-image: none !important;
  color: #FFFFFF !important;
  border: 1px solid #007AFF !important;
  border-radius: 10px !important;
  padding: 12px 28px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  margin-top: 6px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(0, 122, 255, 0.22) !important;
}

#warrantyComingSoonCard .coming-soon-cta:hover {
  background: #0062CC !important;
  border-color: #0062CC !important;
}
/* ==========================================================================
   V112: Larger Premium Vector AC House Logo in Navbar & Footer
   ========================================================================== */
header.global-nav .brand-link {
  gap: 12px !important;
}

header.global-nav .brand-logo-img {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  max-height: 44px !important;
  object-fit: contain !important;
  display: block !important;
  filter: drop-shadow(0 2px 6px rgba(11, 25, 44, 0.14)) !important;
}

.global-footer .porsche-footer-logo-badge {
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.global-footer .porsche-footer-logo {
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
  max-height: 46px !important;
  object-fit: contain !important;
  display: block !important;
  filter: drop-shadow(0 4px 12px rgba(0, 122, 255, 0.22)) !important;
}

@media (max-width: 640px) {
  header.global-nav .brand-logo-img {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    max-height: 36px !important;
  }
}

/* V113: Prevent navbar right-CTA clipping on 1025px-1280px laptops with 44px shield logo */
@media (min-width: 1025px) and (max-width: 1280px) {
  html body header.global-nav .nav-container,
  header.global-nav .nav-container {
    padding: 0 16px !important;
    gap: 8px !important;
  }
  header.global-nav .brand-link {
    gap: 9px !important;
  }
  header.global-nav .brand-logo-img {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    max-height: 38px !important;
  }
  header.global-nav .nav-links {
    gap: 2px !important;
  }
  header.global-nav .nav-links > li {
    margin: 0 !important;
  }
  header.global-nav .nav-links > li > a {
    padding: 0 10px !important;
    font-size: 13px !important;
  }
  header.global-nav .nav-actions {
    gap: 6px !important;
  }
  header.global-nav .nav-actions .btn-primary {
    padding: 9px 15px !important;
    font-size: 12.5px !important;
  }
}
