﻿:root {
  --color-primary: #2540d9;
  --color-primary-dark: #1a2eb3;
  --color-primary-light: #3b5bff;
  --color-accent: #f5c842;
  --color-accent-hover: #e8b830;
  --color-red: #c41e3a;
  --color-red-dark: #a01830;
  --gradient-primary: linear-gradient(145deg, #2540d9 0%, #1a2eb3 50%, #3b5bff 100%);
  --gradient-accent: linear-gradient(145deg, #ffd54f 0%, #f5c842 40%, #e8b830 100%);
  --gradient-red: linear-gradient(145deg, #d93636 0%, #c41e3a 50%, #a01830 100%);
  --gradient-white: linear-gradient(145deg, #ffffff 0%, #f0f4f8 50%, #e8ecf0 100%);
  --gradient-dark: linear-gradient(145deg, #0f172a 0%, #1e293b 50%, #334155 100%);
  --gradient-card-gold: linear-gradient(135deg, #ffd54f 0%, #f5c842 25%, #e8b830 75%, #d4a520 100%);
  --gradient-card-blue: linear-gradient(135deg, #3b5bff 0%, #2540d9 35%, #1a2eb3 100%);
  --gradient-card-red: linear-gradient(135deg, #d93636 0%, #c41e3a 50%, #a01830 100%);
  --gradient-card-white: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f0f4f8 100%);
  --color-bg-body: #f8fafc;
  --color-bg-surface: #ffffff;
  --color-bg-alt: #f1f5f9;
  --color-text-main: #0f172a;
  --color-text-muted: #475569;
  --color-text-light: #94a3b8;
  --color-text-inverted: #ffffff;
  --color-border: #e2e8f0;
  --font-main: 'Manrope', sans-serif;
  --font-size-base: 16px;
  --font-size-5xl: 3.5rem;
  --font-size-4xl: 2.5rem;
  --font-size-3xl: 2rem;
  --font-size-2xl: 1.5rem;
  --font-size-xl: 1.25rem;
  --font-size-lg: 1.125rem;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --container-width: 1140px;
  --header-height: 100px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-bg-body);
  color: var(--color-text-main);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

@media (max-width: 900px) {
  html {
    font-size: 14.5px;
    /* Reduced further from 15px as requested */
  }
}

html {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

img,
video,
iframe {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-text-main);
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, var(--font-size-5xl));
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.75rem, 4vw, var(--font-size-4xl));
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.25rem, 3vw, var(--font-size-2xl));
}

p {
  margin-bottom: 1.5rem;
  color: var(--color-text-muted);
}

strong {
  color: var(--color-primary);
  font-weight: 700;
}

ul {
  list-style: none;
  margin-bottom: 1.5rem;
}

.container {
  width: min(100% - 3rem, var(--container-width));
  margin-inline: auto;
}

.text-center {
  text-align: center;
}

.mb-0 {
  margin-bottom: 0;
}

.site-header {
  height: var(--header-height);
  background: #fff;
  border-bottom: none;
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
}

.site-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #94a3b8 0%, var(--color-accent) 50%, var(--color-primary) 100%);
  opacity: 0.8;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-height);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.02em;
  transition: all 0.3s ease;
}

.brand:hover {
  transform: scale(1.02);
}

.brand-text {
  background: linear-gradient(135deg, var(--color-red) 0%, var(--color-primary) 50%, var(--color-accent) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: brandGradient 8s ease infinite;
}

@keyframes brandGradient {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.brand-logo {
  height: 61px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
  transition: transform 0.3s ease;
}

.brand:hover .brand-logo {
  transform: rotate(-5deg) scale(1.05);
}

.site-nav {
  display: flex;
  height: 100%;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  height: 100%;
}

.nav-menu a {
  font-weight: 700;
  color: var(--color-text-main);
  font-size: 1rem;
  position: relative;
  padding-block: 0.5rem;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-red), var(--color-accent));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
  border-radius: 2px;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-menu a.active {
  color: var(--color-primary);
}

.nav-menu a:hover {
  color: var(--color-primary);
}

.top-bar {
  background: linear-gradient(158deg, var(--color-red) 30%, var(--color-accent) 49%, var(--color-primary) 98%);
  font-size: 0.85rem;
  position: relative;
  z-index: 1002;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  padding: 0;
  margin-top: 0 !important;
}

.top-bar-inner {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.top-bar-tab {
  background: white;
  color: var(--color-text-main);
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0.5rem 2rem;
  border-radius: 16px 16px 0 0;
  font-weight: 600;
  margin-top: 0;
  transform-origin: top;
  transition: transform 0.3s ease;
}

.top-bar-tab:hover {
  transform: translateY(2px);
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--color-text-main);
  text-decoration: none;
}

.top-bar-item a {
  color: var(--color-text-main);
  transition: color 0.2s;
}

.top-bar-item a:hover {
  color: var(--color-primary);
}

.top-bar-item .icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  background: transparent;
  color: var(--color-primary);
}

.top-bar-item a {
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 600;
}

.top-bar-item a:hover {
  color: var(--color-accent);
}

@media (max-width: 768px) {
  .top-bar {
    padding-block: 0rem;
  }

  .top-bar-inner {
    justify-content: center;
    gap: 0.75rem;
  }

  .top-bar-item {
    padding: 0.25rem 0.5rem;
  }

  .top-bar-item span:not(.icon) {
    font-size: 0.7rem;
  }

  .top-bar-item .icon {
    width: 22px;
    height: 22px;
    font-size: 0.75rem;
  }

  .top-bar-address {
    display: none;
  }
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-primary);
}

.hero {
  position: relative;
  padding-bottom: 13rem;
  padding-top: 6rem;
  color: white;
  margin-bottom: 0;
  overflow: visible;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: url('../images/pompa-ciepla2.webp') center/cover no-repeat;
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: left;
}

.hero-content {
  max-width: 800px;
  padding: 2.5rem;
}

.hero h1 {
  color: white;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero h2 {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.hero-description p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.hero-description strong {
  color: #fff;
}

.hero-teasers {
  position: relative;
  z-index: 10;
  margin-top: -10rem;
  margin-bottom: var(--spacing-lg);
}

.teasers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  box-shadow: var(--shadow-xl);
}

.teaser-card {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.teaser-card:hover {
  transform: translateY(-8px);
  z-index: 5;
}

.teaser-white:hover {
  box-shadow: 0 20px 40px rgba(201, 30, 58, 0.15);
}

.teaser-accent:hover {
  box-shadow: 0 20px 40px rgba(245, 200, 66, 0.3);
}

.teaser-primary:hover {
  box-shadow: 0 20px 40px rgba(37, 64, 217, 0.35);
}

.teaser-card h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.teaser-card p {
  margin-bottom: 2rem;
  opacity: 0.9;
  font-size: 1.05rem;
}

.teaser-link {
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  font-size: 1rem;
}

.teaser-link::after {
  content: '→';
  transition: transform 0.2s;
}

.teaser-card:hover .teaser-link::after {
  transform: translateX(5px);
}

.teaser-white {
  background: var(--gradient-card-white);
  color: var(--color-text-main);
  position: relative;
  overflow: hidden;
}

.teaser-white::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-card-red);
}

.teaser-white::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle at bottom right, rgba(201, 30, 58, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.teaser-white h3 {
  color: var(--color-red);
  background: var(--gradient-red);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.teaser-white .teaser-link {
  color: var(--color-red);
}

.teaser-accent {
  background: var(--gradient-card-gold);
  color: #1a1a1a;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 60px rgba(255, 255, 255, 0.15);
}

.teaser-accent::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3) 0%, transparent 50%);
  pointer-events: none;
}

.teaser-accent h3 {
  color: #1a1a1a;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
}

.teaser-accent p {
  color: #2a2a2a;
}

.teaser-accent .teaser-link {
  color: #1a1a1a;
  font-weight: 800;
}

.teaser-primary {
  background: var(--gradient-card-blue);
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.15);
}

.teaser-primary::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -30%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.teaser-primary::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-accent);
}

.teaser-primary h3 {
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.teaser-primary p {
  color: rgba(255, 255, 255, 0.9);
}

.teaser-primary .teaser-link {
  color: var(--color-accent);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.section {
  padding-block: var(--spacing-lg);
}

.section-bg-alt {
  background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg-body) 100%);
  position: relative;
}

.section-bg-alt::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

.section-text {
  padding: 2rem;
}

.content-block ul li {
  margin-bottom: 0.5rem;
}

.content-block ul li::before {
  color: var(--color-primary);
}

.section-split {
  padding-block: 2rem;
}

.section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.section-media {
  position: relative;
}

.media-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  position: relative;
}

.media-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, var(--color-red), var(--color-accent), var(--color-primary));
  border-radius: calc(var(--radius-md) + 2px);
  z-index: -1;
}

@media (max-width: 900px) {
  .section-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    display: flex;
    flex-direction: column-reverse;
  }
}

.content-block ul {
  padding-left: 1.5rem;
}

.content-block ul li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.75rem;
}

.content-block ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

.feature-grid {
  display: grid;
  gap: 2rem;
}

.feature-card {
  background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--color-primary), var(--color-accent));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  box-shadow: 0 10px 30px rgba(37, 64, 217, 0.1);
  border-color: rgba(37, 64, 217, 0.2);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card-content h3 {
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
}

.feature-card-content h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 1rem;
  line-height: 1.6;
  font-family: var(--font-main);
  opacity: 0.9;
}

.feature-card:hover .feature-card-content h3 {
  background: linear-gradient(90deg, var(--color-primary), var(--color-red));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.feature-card-image {
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card-image img {
  max-height: 100%;
  width: auto;
}

@media (max-width: 900px) {
  .feature-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1rem;
    /* Reduced gap from 2rem */
    padding: 1.25rem;
    /* Reduced padding from desktop 2.5rem */
  }

  .feature-card-image {
    order: -1;
    margin-bottom: 0.5rem;
    /* Reduced margin from 1rem */
    height: 180px;
    /* Slightly compacted height */
  }

  .feature-card-image img {
    max-width: 90%;
    /* Increased width within container to reduce whitespace feel */
  }
}

.stats-full-width {
  width: 100%;
  background: linear-gradient(135deg, #1a2eb3 0%, #2540d9 40%, #3b5bff 100%);
  color: white;
  padding-block: 5rem;
  position: relative;
  overflow: hidden;
}

.stats-full-width::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(201, 30, 58, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(245, 200, 66, 0.1) 0%, transparent 40%);
  pointer-events: none;
}

.stats-grid {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.stat-item {
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-width: 200px;
  padding: 2rem;
  border-radius: var(--radius-md);
  text-align: center;
  transition: all 0.3s ease;
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-number {
  display: block;
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--color-accent) 0%, #ffd54f 50%, #fff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}

.stat-label {
  display: block;
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-red) 0%, #d93636 50%, var(--color-red-dark) 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(196, 30, 58, 0.4);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-secondary {
  background: linear-gradient(135deg, var(--color-primary) 0%, #3b5bff 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(37, 64, 217, 0.25);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(37, 64, 217, 0.35);
}

.btn-accent {
  background: var(--gradient-card-gold);
  color: #1a1a1a;
  box-shadow: 0 4px 15px rgba(245, 200, 66, 0.3);
}

.btn-accent:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(245, 200, 66, 0.45);
}

.site-footer {
  background: linear-gradient(180deg, #1a2eb3 0%, #0f172a 100%);
  color: white;
  padding-top: 4rem;
  padding-bottom: 2rem;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-red), var(--color-accent), var(--color-primary), var(--color-accent), var(--color-red));
}

.site-footer p,
.site-footer h1,
.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer li,
.site-footer span {
  color: white !important;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.9) !important;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand {
  opacity: 1;
}

.footer-brand-link {
  display: inline-flex !important;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.footer-brand-link:hover {
  transform: none;
}

.footer-logo {
  height: 48px;
  width: auto;
  opacity: 0.95;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.footer-brand-text {
  background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.85) 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  font-size: 1.4rem;
}

.footer-description {
  opacity: 0.8;
  max-width: 320px;
  line-height: 1.6;
  font-size: 0.95rem;
}

.footer-contact a {
  display: block;
  margin-bottom: 0.5rem;
  opacity: 0.8;
}

.footer-contact a:hover {
  opacity: 1;
  text-decoration: underline;
}

@media (max-width: 900px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    gap: 1.5rem;
    text-align: center;
    height: auto;
    min-height: 50vh;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
  }

  .site-nav.active .nav-menu {
    display: flex;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    padding-bottom: 4rem;
    padding-top: 4rem;
    text-align: center;
  }

  .hero-inner {
    margin: 0 auto;
    text-align: center;
  }

  .hero-content {
    padding: 0;
  }

  .hero-teasers {
    margin-top: 0;
  }

  .teasers-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .stats-grid {
    flex-direction: column;
  }

  .feature-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .feature-card-image {
    margin-bottom: 1rem;
    justify-content: center;
    order: -1;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-brand-link {
    justify-content: center;
  }

  .footer-description {
    margin-inline: auto;
  }

  .section-text {
    padding: 1rem 0;
    text-align: center;
  }

  .section-text .content-block ul {
    text-align: left;
    display: inline-block;
  }

  .section-text .btn {
    width: 100%;
    justify-content: center;
  }

  .footer-address {
    justify-content: center;
  }

  .social-links {
    justify-content: center;
  }

  .footer-contact-link {
    justify-content: center;
  }

  .hero h1 {
    font-size: 2rem;
    line-height: 1.2;
  }

  .hero h2 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }

  .section-text h2 {
    font-size: 1.5rem;
  }
}

.page-header {
  background: linear-gradient(rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.75)), url('../images/pompa-ciepla2.webp') center/cover no-repeat;
  padding-block: 6rem;
  color: white;
  text-align: center;
  position: relative;
  background-attachment: fixed;
  margin-top: 0;
}

.page-header h1 {
  color: white;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
}

.page-header .lead {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 600px;
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.9);
}

.text-accent {
  color: var(--color-accent);
}

.text-uppercase {
  text-transform: uppercase;
}

.fw-bold {
  font-weight: 700;
}

.ls-1 {
  letter-spacing: 0.05em;
}

.mb-4 {
  margin-bottom: 2rem;
}

.mb-5 {
  margin-bottom: 3rem;
}

.feature-grid.three-col {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.feature-card-vertical {
  background: white;
  padding: 2.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.feature-card-vertical:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-primary-light);
}

.icon-box {
  width: 80px;
  height: 80px;
  background: var(--color-bg-alt);
  border-radius: 50%;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  font-size: 2.5rem;
  transition: all 0.3s ease;
}

.feature-card-vertical:hover .icon-box {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: stretch;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  text-decoration: none;
  color: var(--color-text-main);
}

.info-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateX(5px);
  background: #fff;
}

.icon-box-sm {
  width: 50px;
  height: 50px;
  background: rgba(37, 64, 217, 0.1);
  color: var(--color-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.info-card:hover .icon-box-sm {
  background: var(--color-primary);
  color: white;
}

.contact-map-wrapper {
  height: 100%;
  min-height: 450px;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.site-footer {
  background: var(--gradient-dark);
  color: white;
  padding-block: 5rem 2rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 4rem;
}

.footer-brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
}

.footer-logo {
  filter: brightness(0) invert(1);
  height: 48px;
}

.footer-brand-text {
  background: none;
  -webkit-text-fill-color: initial;
  color: white;
}

.footer-description {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  max-width: 400px;
}

.footer-section-title {
  color: white;
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu-item {
  margin-bottom: 0.75rem;
}

.footer-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--color-accent);
}

.footer-contact-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  text-decoration: none;
}

.footer-contact-link:hover {
  color: white;
}

.footer-address {
  margin-top: 1.5rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  gap: 0.75rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 3rem;
  padding-top: 1.5rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.5rem;
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
}

.gallery-item {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  aspect-ratio: 1;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  background: #f0f0f0;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.gallery-thumb-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}

.gallery-thumb-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(37, 64, 217, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay .icon {
  font-size: 2rem;
  color: white;
  transform: scale(0.8);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gallery-item:hover .gallery-overlay .icon {
  transform: scale(1);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(5px);
}

.lightbox-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox-image-container {
  max-width: 90vw;
  max-height: 90vh;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-image {
  max-width: 100%;
  max-height: 90vh;
  display: block;
  object-fit: contain;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  cursor: pointer;
  z-index: 2002;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--color-accent);
}

.lightbox-close {
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  line-height: 1;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  font-size: 2.5rem;
}

.lightbox-prev {
  left: 1.5rem;
  padding-right: 4px;
}

.lightbox-next {
  right: 1.5rem;
  padding-left: 4px;
}

.lightbox-counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  background: rgba(0, 0, 0, 0.3);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
}

@media (max-width: 768px) {

  .lightbox-prev,
  .lightbox-next {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    background: rgba(0, 0, 0, 0.5);
  }

  .lightbox-prev {
    left: 0.5rem;
  }

  .lightbox-next {
    right: 0.5rem;
  }

  .lightbox-close {
    top: 1rem;
    right: 1rem;
  }
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: inherit;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.site-footer .social-btn {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-color: rgba(255, 255, 255, 0.1);
}

.site-footer .social-btn:hover {
  background: #2540d9;
  color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.contact-text .social-btn {
  background: white;
  color: var(--color-primary);
  border: 1px solid var(--color-primary-light);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.contact-text .social-btn:hover {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(37, 64, 217, 0.25);
}

.social-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

.mt-4 {
  margin-top: 1.5rem;
}

.d-block {
  display: block;
}

.mb-3 {
  margin-bottom: 1rem;
}

/* YouTube Facade */
.video-facade {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  /* min-height: 250px; Removed to fix mobile responsiveness */
  background-color: #000;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.video-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: opacity 0.3s;
}

.video-facade::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  transition: background 0.3s;
}

.video-facade:hover::before {
  background: rgba(0, 0, 0, 0.1);
}

.video-play-btn {
  width: 68px;
  height: 48px;
  background: #ff0000;
  border-radius: 12px;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.video-play-btn::after {
  content: '';
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent white;
}

.video-facade:hover .video-play-btn {
  background: #cc0000;
  transform: scale(1.1);
}